From 6a77ffdbb1ce89b60210e0ce66bff5f5c422a00f Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Sat, 4 May 2024 08:14:45 +0000 Subject: [PATCH] deploy to github pages 43f385627533e273e993c2ada0627c45e1bf15f2 --- ...{index-dwZcqzdv.css => index-FecOfH5y.css} | 2 +- .../{index-DHdvLhS1.js => index-QIBIdYVr.js} | 150 +++++++++--------- index.html | 4 +- 3 files changed, 78 insertions(+), 78 deletions(-) rename assets/{index-dwZcqzdv.css => index-FecOfH5y.css} (62%) rename assets/{index-DHdvLhS1.js => index-QIBIdYVr.js} (52%) diff --git a/assets/index-dwZcqzdv.css b/assets/index-FecOfH5y.css similarity index 62% rename from assets/index-dwZcqzdv.css rename to assets/index-FecOfH5y.css index 8e0596d1..4a3c1f88 100644 --- a/assets/index-dwZcqzdv.css +++ b/assets/index-FecOfH5y.css @@ -1,4 +1,4 @@ -@charset "UTF-8";.message[data-v-5f638602]{max-width:600px}.message+.message[data-v-5f638602]{margin-top:15px}.message-container[data-v-5f638602]{min-width:50px;display:flex;align-items:center;padding:10px;font-size:13px;overflow:hidden;border-radius:2px;box-shadow:0 1px 8px #00000026;background:#fff;pointer-events:all;position:relative}.message-container .icons[data-v-5f638602]{display:flex;align-items:center;margin-right:10px}.message-container .title[data-v-5f638602]{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-container .content[data-v-5f638602]{width:100%}.message-container .description[data-v-5f638602]{line-height:1.5;color:#41464b}.message-container .title+.description[data-v-5f638602]{margin-top:5px}.message-container .control[data-v-5f638602]{position:relative;height:100%;margin-left:10px}.message-container .close-btn[data-v-5f638602]{font-size:15px;color:#666;display:flex;align-items:center;cursor:pointer}.message-container .close-btn[data-v-5f638602]:hover{color:#d14424}.message-fade-enter-active[data-v-5f638602]{animation:message-fade-in-down-5f638602 .3s}.message-fade-leave-active[data-v-5f638602]{animation:message-fade-out-5f638602 .3s}@keyframes message-fade-in-down-5f638602{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes message-fade-out-5f638602{0%{opacity:1;margin-top:0}to{opacity:0;margin-top:-45px}}.hotkey-doc[data-v-0762be00]{height:100%;overflow:auto;font-size:12px;margin:0 -15px;padding:0 15px 15px}.title[data-v-0762be00]{font-size:14px;font-weight:700;border-bottom:1px solid #e5e5e5;padding:25px 0 5px}.title[data-v-0762be00]:first-child{padding-top:0}.hotkey-item[data-v-0762be00]{border-bottom:1px solid #e5e5e5;padding:15px 0 5px;display:flex;align-items:center}.label[data-v-0762be00]{width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input[data-v-1bd53d05]{display:none}.fullscreen-spin[data-v-9856918a]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;justify-content:center;align-items:center;background-color:#f1f1f1b3}.spin[data-v-9856918a]{width:200px;height:200px;position:fixed;top:50%;left:50%;margin-top:-100px;margin-left:-100px;display:flex;flex-direction:column;justify-content:center;align-items:center}.spinner[data-v-9856918a]{width:36px;height:36px;border:3px solid #d14424;border-top-color:transparent;border-radius:50%;animation:spinner-9856918a .8s linear infinite}.text[data-v-9856918a]{margin-top:20px;color:#d14424}@keyframes spinner-9856918a{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.drawer[data-v-46f39759]{height:100%;position:fixed;top:0;bottom:0;z-index:5000;background:#fff;display:flex;flex-direction:column}.drawer.left[data-v-46f39759]{left:0;box-shadow:3px 0 6px -4px #0000001f,9px 0 28px 8px #0000000d}.drawer.right[data-v-46f39759]{right:0;box-shadow:-3px 0 6px -4px #0000001f,-9px 0 28px 8px #0000000d}.header[data-v-46f39759]{height:50px;padding:0 15px;position:relative;display:flex;align-items:center}.header .close-btn[data-v-46f39759]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:15px;right:15px;cursor:pointer}.content[data-v-46f39759]{padding:0 15px;overflow:auto;flex:1}.drawer-slide-right-enter-active[data-v-46f39759]{animation:drawer-slide-right-enter-46f39759 .25s both ease}.drawer-slide-right-leave-active[data-v-46f39759]{animation:drawer-slide-right-leave-46f39759 .25s both ease}.drawer-slide-left-enter-active[data-v-46f39759]{animation:drawer-slide-left-enter-46f39759 .25s both ease}.drawer-slide-left-leave-active[data-v-46f39759]{animation:drawer-slide-left-leave-46f39759 .25s both ease}@keyframes drawer-slide-right-enter-46f39759{0%{transform:translate(100%)}}@keyframes drawer-slide-right-leave-46f39759{to{transform:translate(100%)}}@keyframes drawer-slide-left-enter-46f39759{0%{transform:translate(-100%)}}@keyframes drawer-slide-left-leave-46f39759{to{transform:translate(-100%)}}.input[data-v-08dd2583]{background-color:#fff;border:1px solid #d9d9d9;padding:0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:flex}.input input[data-v-08dd2583]{min-width:0;height:30px;outline:0;border:0;line-height:30px;vertical-align:top;color:#41464b;padding:0 5px;flex:1;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.input input[data-v-08dd2583]::placeholder{color:#bfbfbf}.input[data-v-08dd2583]:not(.disabled):hover,.input.focused[data-v-08dd2583]{border-color:#d14424}.input.disabled[data-v-08dd2583]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.input .prefix[data-v-08dd2583],.input .suffix[data-v-08dd2583]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0}.popover.center[data-v-7277ff01]{display:flex;justify-content:center;align-items:center}.popover-content[data-v-7277ff01]{background-color:#fff;padding:10px;border:1px solid #eee;box-shadow:3px 3px 3px #00000026;border-radius:2px;font-size:13px}.tippy-box[data-theme~=popover]{border:0;outline:0}.popover-menu-item[data-v-1f176c16]{min-width:80px;padding:6px 10px;border-radius:2px;font-size:13px;cursor:pointer}.popover-menu-item.center[data-v-1f176c16]{text-align:center}.popover-menu-item[data-v-1f176c16]:hover{background-color:#f1f1f1}.popover-menu-item+.popover-menu-item[data-v-1f176c16]{margin-top:2px}.editor-header[data-v-89efe6b2]{background-color:#fff;-webkit-user-select:none;user-select:none;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:0 5px}.left[data-v-89efe6b2],.right[data-v-89efe6b2]{display:flex;justify-content:center;align-items:center}.menu-item[data-v-89efe6b2]{height:30px;display:flex;justify-content:center;align-items:center;font-size:14px;padding:0 10px;border-radius:2px;cursor:pointer}.menu-item .icon[data-v-89efe6b2]{font-size:18px;color:#666}.menu-item[data-v-89efe6b2]:hover{background-color:#f1f1f1}.group-menu-item[data-v-89efe6b2]{height:30px;display:flex;margin:0 8px;padding:0 2px;border-radius:2px}.group-menu-item[data-v-89efe6b2]:hover{background-color:#f1f1f1}.group-menu-item .menu-item[data-v-89efe6b2]{padding:0 3px}.group-menu-item .arrow-btn[data-v-89efe6b2]{display:flex;justify-content:center;align-items:center;cursor:pointer}.title[data-v-89efe6b2]{height:32px;margin-left:2px;font-size:13px}.title .title-input[data-v-89efe6b2]{width:200px;height:100%;padding-left:0;padding-right:0}.title .title-text[data-v-89efe6b2]{min-width:20px;max-width:400px;line-height:32px;padding:0 6px;border-radius:2px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.title .title-text[data-v-89efe6b2]:hover{background-color:#f1f1f1}.github-link[data-v-89efe6b2]{display:inline-block;height:30px}svg[data-v-09a0319c]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-19e68d74]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-a036b0a3]{overflow:visible;position:absolute;z-index:2;top:0;left:0}.image-clip-handler[data-v-31b3b0f9]{width:100%;height:100%;position:relative}.image-clip-handler .bottom-img[data-v-31b3b0f9]{top:0;left:0;width:100%;height:100%;opacity:.5}.image-clip-handler img[data-v-31b3b0f9]{width:100%;height:100%}.image-clip-handler .top-image-content[data-v-31b3b0f9]{position:absolute;overflow:hidden}.image-clip-handler .top-image-content img[data-v-31b3b0f9]{position:absolute}.operate[data-v-31b3b0f9]{position:absolute;width:100%;height:100%;top:0;left:0;cursor:move}.clip-point[data-v-31b3b0f9]{position:absolute;width:16px;height:16px}.clip-point svg[data-v-31b3b0f9]{overflow:visible}.clip-point.left-top[data-v-31b3b0f9]{left:0;top:0}.clip-point.right-top[data-v-31b3b0f9]{left:100%;top:0;transform:rotate(90deg);transform-origin:0 0}.clip-point.left-bottom[data-v-31b3b0f9]{left:0;top:100%;transform:rotate(-90deg);transform-origin:0 0}.clip-point.right-bottom[data-v-31b3b0f9]{left:100%;top:100%;transform:rotate(180deg);transform-origin:0 0}.clip-point.top[data-v-31b3b0f9]{left:50%;top:0;margin-left:-8px}.clip-point.bottom[data-v-31b3b0f9]{left:50%;bottom:0;margin-left:-8px;transform:rotate(180deg)}.clip-point.left[data-v-31b3b0f9]{left:0;top:50%;margin-top:-8px;transform:rotate(-90deg)}.clip-point.right[data-v-31b3b0f9]{right:0;top:50%;margin-top:-8px;transform:rotate(90deg)}.clip-point.left-top.rotate-0[data-v-31b3b0f9],.clip-point.right-bottom.rotate-0[data-v-31b3b0f9],.clip-point.left.rotate-45[data-v-31b3b0f9],.clip-point.right.rotate-45[data-v-31b3b0f9],.clip-point.left-bottom.rotate-90[data-v-31b3b0f9],.clip-point.right-top.rotate-90[data-v-31b3b0f9],.clip-point.top.rotate-135[data-v-31b3b0f9],.clip-point.bottom.rotate-135[data-v-31b3b0f9]{cursor:nwse-resize}.clip-point.top.rotate-0[data-v-31b3b0f9],.clip-point.bottom.rotate-0[data-v-31b3b0f9],.clip-point.left-top.rotate-45[data-v-31b3b0f9],.clip-point.right-bottom.rotate-45[data-v-31b3b0f9],.clip-point.left.rotate-90[data-v-31b3b0f9],.clip-point.right.rotate-90[data-v-31b3b0f9],.clip-point.left-bottom.rotate-135[data-v-31b3b0f9],.clip-point.right-top.rotate-135[data-v-31b3b0f9]{cursor:ns-resize}.clip-point.left-bottom.rotate-0[data-v-31b3b0f9],.clip-point.right-top.rotate-0[data-v-31b3b0f9],.clip-point.top.rotate-45[data-v-31b3b0f9],.clip-point.bottom.rotate-45[data-v-31b3b0f9],.clip-point.left-top.rotate-90[data-v-31b3b0f9],.clip-point.right-bottom.rotate-90[data-v-31b3b0f9],.clip-point.left.rotate-135[data-v-31b3b0f9],.clip-point.right.rotate-135[data-v-31b3b0f9]{cursor:nesw-resize}.clip-point.left.rotate-0[data-v-31b3b0f9],.clip-point.right.rotate-0[data-v-31b3b0f9],.clip-point.left-bottom.rotate-45[data-v-31b3b0f9],.clip-point.right-top.rotate-45[data-v-31b3b0f9],.clip-point.top.rotate-90[data-v-31b3b0f9],.clip-point.bottom.rotate-90[data-v-31b3b0f9],.clip-point.left-top.rotate-135[data-v-31b3b0f9],.clip-point.right-bottom.rotate-135[data-v-31b3b0f9]{cursor:ew-resize}.editable-element-image[data-v-d615c21a]{position:absolute}.editable-element-image.lock .element-content[data-v-d615c21a]{cursor:default}.rotate-wrapper[data-v-d615c21a]{width:100%;height:100%}.element-content[data-v-d615c21a]{width:100%;height:100%;position:relative;cursor:move}.element-content .image-content[data-v-d615c21a]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-d615c21a]{position:absolute}.color-mask[data-v-d615c21a]{position:absolute;top:0;bottom:0;left:0;right:0}svg[data-v-e2ef58f5]{overflow:visible;position:absolute;top:0;left:0}.prosemirror-editor[data-v-23fdc807]{cursor:text}.prosemirror-editor.format-painter[data-v-23fdc807]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzUuMDEybC0uMDY2Ljk5OGE1LjI3MSA1LjI3MSAwIDAwLTEuMTg0LjA2IDMuOCAzLjggMCAwMC0uOTMzLjQ3MmMtLjQ0LjM1Ni0uNzgzLjgxMS0uOTk4IDEuMzI0bC4wMTgtLjAzNnY1LjEyaDEuMDR2Ljk4aC0xLjA0bC0uMDAyIDQuMTVjLjE4Ny40MjYuNDYuODEuNzkxIDEuMTE3bC4xNzUuMTUyYy4yOTMuMjA4LjYxNS4zNzMuODkuNDcyLjQxLjA4Mi44My4xMTIgMS4yNDkuMDlsLjA1Ny45OTlhNi4wNjMgNi4wNjMgMCAwMS0xLjU4OC0uMTI5IDQuODM2IDQuODM2IDAgMDEtMS4yNS0uNjQ3IDQuNDYzIDQuNDYzIDAgMDEtLjgzOC0uODgzYy0uMjI0LjMzMi0uNS42NDItLjgyNC45MjdhNC4xMSA0LjExIDAgMDEtMS4zMDUuNjMzQTYuMTI2IDYuMTI2IDAgMDEwIDE1LjkwOWwuMDY4LS45OTdjLjQyNC4wMjYuODUtLjAwMSAxLjIxNy0uMDcuMzM2LS4wOTkuNjUxLS4yNTQuODk0LS40My40My0uMzguNzY1LS44NDcuOTgyLTEuMzY4bC0uMDA1LjAxNFY4LjkzSDIuMTE1di0uOThoMS4wNFYyLjg2MmEzLjc3IDMuNzcgMCAwMC0uNzc0LTEuMTY3bC0uMTY1LS4xNTZhMy4wNjQgMy4wNjQgMCAwMC0uODgtLjQ0OEE1LjA2MiA1LjA2MiAwIDAwLjA2NyAxLjAxTDAgLjAxMmE2LjE0IDYuMTQgMCAwMTEuNTkyLjExYy40NTMuMTM1Ljg3Ny4zNDUgMS4yOS42NS4zLjI2NS41NjUuNTY0Ljc4Ny44OS4yMzMtLjMzMS41Mi0uNjM0Ljg1My0uOTA0YTQuODM1IDQuODM1IDAgMDExLjMtLjY0OEE2LjE1NSA2LjE1NSAwIDAxNy4zNS4wMTJ6IiBmaWxsPSIjMEQwRDBEIi8+PHBhdGggZD0iTTE3LjM1IDE0LjVsNC41LTQuNS02LTZjLTIgMi0zIDItNS41IDIuNS40IDMuMiA0LjgzMyA2LjY2NyA3IDh6bTQuNTg4LTQuNDkzYS4zLjMgMCAwMC40MjQgMGwuNjgtLjY4YTEuNSAxLjUgMCAwMDAtMi4xMjJMMjEuNjkgNS44NTNsMi4wMjUtMS41ODNhMS42MjkgMS42MjkgMCAxMC0yLjI3OS0yLjI5NmwtMS42MDMgMi4wMjItMS4zNTctMS4zNTdhMS41IDEuNSAwIDAwLTIuMTIxIDBsLS42OC42OGEuMy4zIDAgMDAwIC40MjVsNi4yNjMgNi4yNjN6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTE1Ljg5MiAzLjk2MnMtMS4wMyAxLjIwMi0yLjQ5NCAxLjg5Yy0xLjAwNi40NzQtMi4xOC41ODYtMi43MzQuNjI3LS4yLjAxNS0uMzQ0LjIxLS4yNzYuMzk5LjI5Mi44MiAxLjExMiAyLjggMi42NTggNC4zNDYgMi4xMjYgMi4xMjcgMy42NTggMi45NjggNC4xNDIgMy4yMDMuMS4wNDguMjE0LjAzLjI5OC0uMDQyLjM4Ni0uMzI1IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5Mi0uODg5IDIuMTg3LTIuNDQ3IDIuMTg3LTIuNDQ3bS40NzkuMDU1YS4zLjMgMCAwMS0uNDI0IDBsLTYuMjY0LTYuMjYzYS4zLjMgMCAwMTAtLjQyNWwuNjgtLjY4YTEuNSAxLjUgMCAwMTIuMTIyIDBsMS4zNTcgMS4zNTcgMS42MDMtMi4wMjJhMS42MjkgMS42MjkgMCAxMTIuMjggMi4yOTZMMjEuNjkgNS44NTNsMS4zNTIgMS4zNTJhMS41IDEuNSAwIDAxMCAyLjEyMmwtLjY4LjY4eiIgc3Ryb2tlPSIjMzMzIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+) 2 5,default!important}.editable-element-text[data-v-88c920e1]{position:absolute}.editable-element-text.lock .element-content[data-v-88c920e1]{cursor:default}.rotate-wrapper[data-v-88c920e1]{width:100%;height:100%}.element-content[data-v-88c920e1]{position:relative;padding:10px;line-height:1.5;word-break:break-word;cursor:move}.element-content .text[data-v-88c920e1]{position:relative}.element-content[data-v-88c920e1] a{cursor:text}.drag-handler[data-v-88c920e1]{height:10px;position:absolute;left:0;right:0}.drag-handler.top[data-v-88c920e1]{top:0}.drag-handler.bottom[data-v-88c920e1]{bottom:0}.editable-element-shape[data-v-63255815]{position:absolute;pointer-events:none}.editable-element-shape.lock .element-content[data-v-63255815]{cursor:default}.editable-element-shape.format-painter .element-content[data-v-63255815]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNzUgMTMuNzY0VjEuNDIxYS4zLjMgMCAwMS40NDgtLjI2bDEwLjkxIDYuMTk3YS4zLjMgMCAwMS0uMTE2LjU1OWwtNC4xOTYuNDQyIDIuNTgyIDQuNDcyYS4zLjMgMCAwMS0uMTEuNDFsLTMuMTg0IDEuODM4YS4zLjMgMCAwMS0uNDEtLjExbC0yLjU4MS00LjQ3Mi0yLjgxIDMuNDU2YS4zLjMgMCAwMS0uNTMzLS4xODl6IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNMjYgMTQuNWw0LjUtNC41LTYtNmMtMiAyLTMgMi01LjUgMi41LjQgMy4yIDQuODMzIDYuNjY3IDcgOHptNC41ODgtNC40OTRhLjMuMyAwIDAwLjQyNCAwbC42OC0uNjhhMS41IDEuNSAwIDAwMC0yLjEyMUwzMC4zNCA1Ljg1MmwyLjAyNi0xLjU4MmExLjYyOSAxLjYyOSAwIDEwLTIuMjgtMi4yOTZsLTEuNjAzIDIuMDIxLTEuMzU3LTEuMzU2YTEuNSAxLjUgMCAwMC0yLjEyIDBsLS42ODEuNjhhLjMuMyAwIDAwMCAuNDI0bDYuMjYzIDYuMjYzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNC41NDMgMy45NjFzLTEuMDMgMS4yMDItMi40OTQgMS44OTFjLTEuMDA2LjQ3NC0yLjE4MS41ODUtMi43MzQuNjI3LS4yLjAxNC0uMzQ0LjIwOS0uMjc3LjM5OC4yOTMuODIgMS4xMTIgMi44MDEgMi42NTggNC4zNDcgMi4xMjYgMi4xMjYgMy42NTkgMi45NjggNC4xNDIgMy4yMDIuMS4wNDguMjE1LjAzLjI5OS0uMDQxLjM4NS0uMzI2IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5MS0uODkgMi4xODYtMi40NDggMi4xODYtMi40NDhtLjQ4LjA1NWEuMy4zIDAgMDEtLjQyNSAwbC02LjI2My02LjI2M2EuMy4zIDAgMDEwLS40MjRsLjY4LS42OGExLjUgMS41IDAgMDEyLjEyMiAwbDEuMzU2IDEuMzU2IDEuNjA0LTIuMDIxYTEuNjI5IDEuNjI5IDAgMTEyLjI3OSAyLjI5NkwzMC4zNCA1Ljg1MmwxLjM1MyAxLjM1M2ExLjUgMS41IDAgMDEwIDIuMTIxbC0uNjguNjh6IiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=) 2 5,default!important}.rotate-wrapper[data-v-63255815]{width:100%;height:100%}.element-content[data-v-63255815]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-63255815]{transform-origin:0 0;overflow:visible}.element-content .shape-path[data-v-63255815]{pointer-events:all}.shape-text[data-v-63255815]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word;pointer-events:none}.shape-text.editable[data-v-63255815]{pointer-events:all}.shape-text.top[data-v-63255815]{justify-content:flex-start}.shape-text.middle[data-v-63255815]{justify-content:center}.shape-text.bottom[data-v-63255815]{justify-content:flex-end}.editable-element-shape[data-v-7ecafe01]{position:absolute;pointer-events:none}.editable-element-shape.lock .line-path[data-v-7ecafe01],.editable-element-shape.lock .line-point[data-v-7ecafe01]{cursor:default}.element-content[data-v-7ecafe01]{width:100%;height:100%;position:relative}.element-content svg[data-v-7ecafe01]{transform-origin:0 0;overflow:visible}.line-path[data-v-7ecafe01],.line-point[data-v-7ecafe01]{pointer-events:all;cursor:move}.ct-label{fill:#0006;color:#0006;font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left}.ct-label.ct-vertical.ct-start{align-items:flex-end;justify-content:flex-end;text-align:right}.ct-label.ct-vertical.ct-end{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-chart-bar .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:center;text-align:center}.ct-chart-bar .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:center;text-align:center}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{align-items:center;justify-content:flex-end;text-align:right}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{align-items:center;justify-content:flex-start;text-align:left}.ct-grid{stroke:#0003;stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#e6805e}.ct-series-i .ct-area,.ct-series-i .ct-slice-pie{fill:#e6805e}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{content:"";display:table;clear:both}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{content:"";display:table;clear:both}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{content:"";display:table;clear:both}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{content:"";display:table;clear:both}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{content:"";display:table;clear:both}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{content:"";display:table;clear:both}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{content:"";display:table;clear:both}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{content:"";display:table;clear:both}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{content:"";display:table;clear:both}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{content:"";display:table;clear:both}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{content:"";display:table;clear:both}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{content:"";display:table;clear:both}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{content:"";display:table;clear:both}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{content:"";display:table;clear:both}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{content:"";display:table;clear:both}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{content:"";display:table;clear:both}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}.chart[data-v-786c4a79]{display:flex}.chart-content[data-v-786c4a79]{transform-origin:0 0}.chart-content{--theme-color-1: #666;--theme-color-2: #666;--theme-color-3: #666;--theme-color-4: #666;--theme-color-5: #666;--theme-color-6: #666;--theme-color-7: #666;--theme-color-8: #666;--theme-color-9: #666;--theme-color-10: #666;--grid-color: rgba(0, 0, 0, .4)}.chart-content .ct-series-a .ct-line,.chart-content .ct-series-a .ct-point{stroke:var(--theme-color-1)}.chart-content .ct-series-a .ct-area{fill:var(--theme-color-1)}.chart-content .ct-series-a .ct-bar{stroke:var(--theme-color-1)}.chart-content .ct-series-a .ct-slice-pie{fill:var(--theme-color-1)}.chart-content .ct-series-a .ct-slice-donut{stroke:var(--theme-color-1)}.chart-content .ct-series-b .ct-line,.chart-content .ct-series-b .ct-point{stroke:var(--theme-color-2)}.chart-content .ct-series-b .ct-area{fill:var(--theme-color-2)}.chart-content .ct-series-b .ct-bar{stroke:var(--theme-color-2)}.chart-content .ct-series-b .ct-slice-pie{fill:var(--theme-color-2)}.chart-content .ct-series-b .ct-slice-donut{stroke:var(--theme-color-2)}.chart-content .ct-series-c .ct-line,.chart-content .ct-series-c .ct-point{stroke:var(--theme-color-3)}.chart-content .ct-series-c .ct-area{fill:var(--theme-color-3)}.chart-content .ct-series-c .ct-bar{stroke:var(--theme-color-3)}.chart-content .ct-series-c .ct-slice-pie{fill:var(--theme-color-3)}.chart-content .ct-series-c .ct-slice-donut{stroke:var(--theme-color-3)}.chart-content .ct-series-d .ct-line,.chart-content .ct-series-d .ct-point{stroke:var(--theme-color-4)}.chart-content .ct-series-d .ct-area{fill:var(--theme-color-4)}.chart-content .ct-series-d .ct-bar{stroke:var(--theme-color-4)}.chart-content .ct-series-d .ct-slice-pie{fill:var(--theme-color-4)}.chart-content .ct-series-d .ct-slice-donut{stroke:var(--theme-color-4)}.chart-content .ct-series-e .ct-line,.chart-content .ct-series-e .ct-point{stroke:var(--theme-color-5)}.chart-content .ct-series-e .ct-area{fill:var(--theme-color-5)}.chart-content .ct-series-e .ct-bar{stroke:var(--theme-color-5)}.chart-content .ct-series-e .ct-slice-pie{fill:var(--theme-color-5)}.chart-content .ct-series-e .ct-slice-donut{stroke:var(--theme-color-5)}.chart-content .ct-series-f .ct-line,.chart-content .ct-series-f .ct-point{stroke:var(--theme-color-6)}.chart-content .ct-series-f .ct-area{fill:var(--theme-color-6)}.chart-content .ct-series-f .ct-bar{stroke:var(--theme-color-6)}.chart-content .ct-series-f .ct-slice-pie{fill:var(--theme-color-6)}.chart-content .ct-series-f .ct-slice-donut{stroke:var(--theme-color-6)}.chart-content .ct-series-g .ct-line,.chart-content .ct-series-g .ct-point{stroke:var(--theme-color-7)}.chart-content .ct-series-g .ct-area{fill:var(--theme-color-7)}.chart-content .ct-series-g .ct-bar{stroke:var(--theme-color-7)}.chart-content .ct-series-g .ct-slice-pie{fill:var(--theme-color-7)}.chart-content .ct-series-g .ct-slice-donut{stroke:var(--theme-color-7)}.chart-content .ct-series-h .ct-line,.chart-content .ct-series-h .ct-point{stroke:var(--theme-color-8)}.chart-content .ct-series-h .ct-area{fill:var(--theme-color-8)}.chart-content .ct-series-h .ct-bar{stroke:var(--theme-color-8)}.chart-content .ct-series-h .ct-slice-pie{fill:var(--theme-color-8)}.chart-content .ct-series-h .ct-slice-donut{stroke:var(--theme-color-8)}.chart-content .ct-series-i .ct-line,.chart-content .ct-series-i .ct-point{stroke:var(--theme-color-9)}.chart-content .ct-series-i .ct-area{fill:var(--theme-color-9)}.chart-content .ct-series-i .ct-bar{stroke:var(--theme-color-9)}.chart-content .ct-series-i .ct-slice-pie{fill:var(--theme-color-9)}.chart-content .ct-series-i .ct-slice-donut{stroke:var(--theme-color-9)}.chart-content .ct-grid{stroke:var(--grid-color)}.chart-content .ct-label{fill:var(--grid-color);color:var(--grid-color)}.legends{height:20px;display:flex;justify-content:center;align-items:center;font-size:14px}.legend{display:flex;align-items:center}.legend+.legend{margin-left:10px}.legend .block{width:10px;height:10px;margin-right:5px}.editable-element-chart[data-v-e98d2ede]{position:absolute}.editable-element-chart.lock .element-content[data-v-e98d2ede]{cursor:default}.rotate-wrapper[data-v-e98d2ede]{width:100%;height:100%}.element-content[data-v-e98d2ede]{width:100%;height:100%;overflow:hidden;cursor:move}.custom-textarea[data-v-cfadb975]{border:0;outline:0;-webkit-user-modify:read-write-plaintext-only}.editable-table[data-v-d040a5e0]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-d040a5e0]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-d040a5e0]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-d040a5e0]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-d040a5e0]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-d040a5e0]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-d040a5e0]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-d040a5e0]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-d040a5e0]:last-child{background-color:var(--themeColor)}table .cell[data-v-d040a5e0]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;font-size:14px;background-clip:padding-box;cursor:default}table .cell.selected[data-v-d040a5e0]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;background-color:#6666}table .cell-text[data-v-d040a5e0]{padding:5px;line-height:1.5;-webkit-user-select:none;user-select:none;cursor:text}table .cell-text.active[data-v-d040a5e0]{-webkit-user-select:text;user-select:text}.drag-line[data-v-d040a5e0]{position:absolute;top:0;bottom:0;width:3px;background-color:#d14424;margin-left:-1px;opacity:0;z-index:2;cursor:col-resize}.editable-element-table[data-v-7795910a]{position:absolute}.editable-element-table.lock .element-content[data-v-7795910a]{cursor:default}.rotate-wrapper[data-v-7795910a]{width:100%;height:100%}.element-content[data-v-7795910a]{width:100%;height:100%;position:relative;cursor:move}.table-mask[data-v-7795910a]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .2s}.table-mask .mask-tip[data-v-7795910a]{position:absolute;top:5px;left:5px;background-color:#00000080;color:#fff;padding:6px 12px;font-size:12px;transform-origin:0 0}.table-mask[data-v-7795910a]:hover:not(.lock){opacity:.9}.editable-element-latex[data-v-b73586f6]{position:absolute}.editable-element-latex.lock .element-content[data-v-b73586f6]{cursor:default}.rotate-wrapper[data-v-b73586f6]{width:100%;height:100%}.element-content[data-v-b73586f6]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-b73586f6]{transform-origin:0 0;overflow:visible}.video-player[data-v-597c0901]{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0}.video-player.hide-controller[data-v-597c0901]{cursor:none}.video-player.hide-controller .controller-mask[data-v-597c0901],.video-player.hide-controller .controller[data-v-597c0901]{opacity:0;transform:translateY(100%)}.video-wrap[data-v-597c0901]{position:relative;background:#000;font-size:0;width:100%;height:100%}.video-wrap .video[data-v-597c0901]{width:100%;height:100%}.controller-mask[data-v-597c0901]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==) repeat-x bottom;height:98px;width:100%;position:absolute;bottom:0;transition:all .3s ease}.controller[data-v-597c0901]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-597c0901]{padding:5px 0;cursor:pointer;position:absolute;bottom:33px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-597c0901]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-597c0901]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-597c0901]{opacity:0}.controller .bar-wrap .bar[data-v-597c0901]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-597c0901]{height:38px;position:absolute;bottom:0;display:flex;align-items:center}.controller .icons.icons-right[data-v-597c0901]{right:15px}.controller .icons .time[data-v-597c0901]{line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .icons .icon[data-v-597c0901]{width:40px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-597c0901]{font-size:26px}.controller .icons .icon .icon-content[data-v-597c0901]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.loop-icon[data-v-597c0901]{font-size:12px}.controller .icons .icon.loop-icon .icon-content[data-v-597c0901]{opacity:.5}.controller .icons .icon.speed-icon[data-v-597c0901]{font-size:12px;position:relative}.controller .icons .icon .speed-menu[data-v-597c0901]{width:70px;position:absolute;bottom:30px;left:-23px;background-color:#22211b;padding:5px 0;color:#ddd}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]{padding:8px 0;text-align:center}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]:hover{background-color:#393833;color:#fff}.controller .icons .icon .speed-menu .speed-menu-item.active[data-v-597c0901]{font-weight:700;color:#fff}.controller .icons .icon.active .icon-content[data-v-597c0901],.controller .icons .icon:hover .icon-content[data-v-597c0901]{opacity:1}.controller .icons .volume[data-v-597c0901]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-597c0901]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-597c0901]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-597c0901]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons .loop[data-v-597c0901]{display:inline-block;height:100%}.bezel[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:22px;color:#fff;pointer-events:none}.bezel .bezel-icon[data-v-597c0901]{position:absolute;top:50%;left:50%;margin:-26px 0 0 -26px;height:52px;width:52px;padding:12px;display:flex;justify-content:center;align-items:center;background:#00000080;border-radius:50%;opacity:0;pointer-events:none;font-size:40px}.bezel .bezel-icon.bezel-transition[data-v-597c0901]{animation:bezel-hide-597c0901 .5s linear}@keyframes bezel-hide-597c0901{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.load-error[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:15px;color:#fff;pointer-events:none;display:flex;justify-content:center;align-items:center}.editable-element-video[data-v-c50d3bc7]{position:absolute}.editable-element-video.lock .handler-border[data-v-c50d3bc7]{cursor:default}.rotate-wrapper[data-v-c50d3bc7]{width:100%;height:100%}.element-content[data-v-c50d3bc7]{width:100%;height:100%;position:relative}.handler-border[data-v-c50d3bc7]{position:absolute;cursor:move}.handler-border.t[data-v-c50d3bc7]{width:100%;height:20px;top:0;left:0}.handler-border.b[data-v-c50d3bc7]{width:100%;height:5px;bottom:0;left:0}.handler-border.l[data-v-c50d3bc7]{width:10px;height:100%;left:0;top:0}.handler-border.r[data-v-c50d3bc7]{width:10px;height:100%;right:0;top:0}.audio-player[data-v-32038f5c]{width:280px;height:50px;position:relative;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0;background:#000}.controller[data-v-32038f5c]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-32038f5c]{padding:5px 0;cursor:pointer;position:absolute;bottom:35px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-32038f5c]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-32038f5c]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-32038f5c]{opacity:0}.controller .bar-wrap .bar[data-v-32038f5c]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-32038f5c]{height:38px;position:absolute;bottom:0;left:14px;display:flex;align-items:center}.controller .icons .icon[data-v-32038f5c]{width:36px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-32038f5c]{font-size:26px}.controller .icons .icon .icon-content[data-v-32038f5c]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.active .icon-content[data-v-32038f5c],.controller .icons .icon:hover .icon-content[data-v-32038f5c]{opacity:1}.controller .icons .volume[data-v-32038f5c]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-32038f5c]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-32038f5c]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-32038f5c]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .time[data-v-32038f5c]{height:38px;position:absolute;right:20px;bottom:0;display:flex;align-items:center;line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .time .ptime[data-v-32038f5c]{margin-right:2px}.controller .time .dtime[data-v-32038f5c]{margin-left:2px}.editable-element-audio[data-v-5d8373ba]{position:absolute}.editable-element-audio.lock .audio-icon[data-v-5d8373ba]{cursor:default}.rotate-wrapper[data-v-5d8373ba]{width:100%;height:100%}.element-content[data-v-5d8373ba]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-5d8373ba]{cursor:move}.audio-player[data-v-5d8373ba]{position:absolute}.mouse-selection[data-v-053bfa3e]{position:absolute;background-color:#d144241a;border:1px solid #d14424;z-index:200}.mouse-selection.quadrant-1[data-v-053bfa3e]{transform-origin:50% 0;transform:rotate(180deg)}.mouse-selection.quadrant-2[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(180deg)}.mouse-selection.quadrant-3[data-v-053bfa3e]{transform-origin:0 50%;transform:rotate(180deg)}.mouse-selection.quadrant-4[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(0)}.grid-lines[data-v-d6e1ea18]{width:100%;height:100%;overflow:visible;z-index:999;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-background[data-v-203ea8ff]{width:100%;height:100%;background-position:center;position:absolute}.alignment-line[data-v-7cd3d25d]{position:absolute;z-index:100}.alignment-line .line[data-v-7cd3d25d]{width:0;height:0;border:0 dashed #d14424}.alignment-line .line.vertical[data-v-7cd3d25d]{transform:translateY(-.5px);border-left-width:1px}.alignment-line .line.horizontal[data-v-7cd3d25d]{transform:translate(-.5px);border-top-width:1px}.ruler[data-v-b01be305]{font-size:12px}.h[data-v-b01be305]{position:absolute;background-color:#fff;border:1px solid #eee;height:20px;top:5px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.h .ruler-marker-100[data-v-b01be305]{height:100%;width:10%;line-height:20px;text-align:right;flex-shrink:0;padding-right:5px;position:relative}.h .ruler-marker-100.hide span[data-v-b01be305]{display:none}.h .ruler-marker-100.omit[data-v-b01be305]:before{display:none}.h .ruler-marker-100[data-v-b01be305]:not(:last-child):after{content:"";width:.1px;height:12px;position:absolute;right:0;bottom:0;background-color:#999}.h .ruler-marker-100[data-v-b01be305]:before{content:"";width:.1px;height:8px;position:absolute;right:50%;bottom:0;background-color:#999}.v[data-v-b01be305]{position:absolute;background-color:#fff;border:1px solid #eee;width:20px;left:5px;overflow:hidden}.v .ruler-marker-100[data-v-b01be305]{width:100%;line-height:20px;text-align:right;padding-bottom:5px;position:relative;writing-mode:vertical-rl}.v .ruler-marker-100.hide span[data-v-b01be305]{display:none}.v .ruler-marker-100.omit[data-v-b01be305]:before{display:none}.v .ruler-marker-100[data-v-b01be305]:not(:last-child):after{content:"";height:.1px;width:12px;position:absolute;bottom:0;right:0;background-color:#999}.v .ruler-marker-100[data-v-b01be305]:before{content:"";height:.1px;width:8px;position:absolute;bottom:50%;right:0;background-color:#999}.element-create-selection[data-v-7b17a883]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.element-create-selection svg[data-v-7b17a883]{overflow:visible}.selection[data-v-7b17a883]{position:absolute;opacity:.8}.selection[data-v-7b17a883]:not(.line){border:1px solid #d14424}.shape-create-canvas[data-v-8ea8c340]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.shape-create-canvas svg[data-v-8ea8c340]{width:100%;height:100%;overflow:visible}.resize-handler[data-v-bb3f9e62]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:pointer}.resize-handler.left-top.rotate-0[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left.rotate-45[data-v-bb3f9e62],.resize-handler.right.rotate-45[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.right-top.rotate-90[data-v-bb3f9e62],.resize-handler.top.rotate-135[data-v-bb3f9e62],.resize-handler.bottom.rotate-135[data-v-bb3f9e62]{cursor:nwse-resize}.resize-handler.top.rotate-0[data-v-bb3f9e62],.resize-handler.bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left-top.rotate-45[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left.rotate-90[data-v-bb3f9e62],.resize-handler.right.rotate-90[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-135[data-v-bb3f9e62],.resize-handler.right-top.rotate-135[data-v-bb3f9e62]{cursor:ns-resize}.resize-handler.left-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.right-top.rotate-0[data-v-bb3f9e62],.resize-handler.top.rotate-45[data-v-bb3f9e62],.resize-handler.bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left-top.rotate-90[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left.rotate-135[data-v-bb3f9e62],.resize-handler.right.rotate-135[data-v-bb3f9e62]{cursor:nesw-resize}.resize-handler.left.rotate-0[data-v-bb3f9e62],.resize-handler.right.rotate-0[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.right-top.rotate-45[data-v-bb3f9e62],.resize-handler.top.rotate-90[data-v-bb3f9e62],.resize-handler.bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left-top.rotate-135[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-135[data-v-bb3f9e62]{cursor:ew-resize}.border-line[data-v-7114fb45]{position:absolute;width:0;height:0;left:0;top:0;border:0 dashed #d14424}.border-line.top[data-v-7114fb45]{border-top-width:1px}.border-line.bottom[data-v-7114fb45]{border-bottom-width:1px}.border-line.left[data-v-7114fb45]{border-left-width:1px}.border-line.right[data-v-7114fb45]{border-right-width:1px}.border-line.wide[data-v-7114fb45]:before{content:"";position:absolute;background:transparent;cursor:move}.border-line.wide.top[data-v-7114fb45]:before{top:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.bottom[data-v-7114fb45]:before{bottom:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.left[data-v-7114fb45]:before{top:-8px;left:-8px;width:16px;height:calc(100% + 16px)}.border-line.wide.right[data-v-7114fb45]:before{top:-8px;right:-8px;width:16px;height:calc(100% + 16px)}.multi-select-operate[data-v-135c8cb7]{position:absolute;top:0;left:0;z-index:101}.rotate-handler[data-v-9f21fc0f]{position:absolute;width:10px;height:10px;top:-25px;margin-left:-5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:grab}.rotate-handler[data-v-9f21fc0f]:active{cursor:grabbing}.image-element-operate.cliping[data-v-2a1bef4e]{visibility:hidden}.operate-keypoint-handler[data-v-e65e73bd]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#ffe873;border-radius:1px}svg[data-v-32a06240]{position:absolute;left:0;top:0;pointer-events:none;transform-origin:0 0}.anchor-line[data-v-32a06240]{stroke-width:1px;stroke-dasharray:5 5;opacity:.5}.divider.horizontal[data-v-c7c64e0b]{width:100%;margin:24px 0;border-block-start:1px solid rgba(5,5,5,.06)}.divider.vertical[data-v-c7c64e0b]{position:relative;height:1em;display:inline-block;margin:0 8px;border-inline-start:1px solid rgba(5,5,5,.06)}.link-handler[data-v-f8f46f78]{height:30px;position:absolute;left:0;font-size:12px;padding:0 10px;background-color:#fff;box-shadow:3px 3px 3px #00000026;display:flex;align-items:center;color:#d14424}.link[data-v-f8f46f78]{max-width:300px;margin-right:20px;word-break:keep-all;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.btns[data-v-f8f46f78]{display:flex;align-items:center}.btns .btn[data-v-f8f46f78]{word-break:keep-all;cursor:pointer}.operate[data-v-b96daa51]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.operate.multi-select[data-v-b96daa51]{opacity:.2}.animation-index[data-v-b96daa51]{position:absolute;top:0;left:-24px;font-size:12px}.animation-index .index-item[data-v-b96daa51]{width:18px;height:18px;background-color:#fff;color:#d14424;border:1px solid #d14424;display:flex;justify-content:center;align-items:center}.animation-index .index-item+.index-item[data-v-b96daa51]{margin-top:5px}.base-element-image[data-v-71d24108]{position:absolute}.rotate-wrapper[data-v-71d24108]{width:100%;height:100%}.element-content[data-v-71d24108]{width:100%;height:100%;position:relative}.element-content .image-content[data-v-71d24108]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-71d24108]{position:absolute}.color-mask[data-v-71d24108]{position:absolute;top:0;bottom:0;left:0;right:0}.base-element-text[data-v-a3ec163d]{position:absolute}.rotate-wrapper[data-v-a3ec163d]{width:100%;height:100%}.element-content[data-v-a3ec163d]{position:relative;padding:10px;line-height:1.5;word-break:break-word}.element-content .text[data-v-a3ec163d]{position:relative}.element-content .text.thumbnail[data-v-a3ec163d]{pointer-events:none}.base-element-shape[data-v-2d39d3d1]{position:absolute}.rotate-wrapper[data-v-2d39d3d1]{width:100%;height:100%}.element-content[data-v-2d39d3d1]{width:100%;height:100%;position:relative}.element-content svg[data-v-2d39d3d1]{transform-origin:0 0;overflow:visible}.shape-text[data-v-2d39d3d1]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word}.shape-text.top[data-v-2d39d3d1]{justify-content:flex-start}.shape-text.middle[data-v-2d39d3d1]{justify-content:center}.shape-text.bottom[data-v-2d39d3d1]{justify-content:flex-end}.base-element-line[data-v-e7dc2b42]{position:absolute}.element-content[data-v-e7dc2b42]{width:100%;height:100%;position:relative}.element-content svg[data-v-e7dc2b42]{transform-origin:0 0;overflow:visible}.base-element-chart[data-v-37ca5799]{position:absolute}.rotate-wrapper[data-v-37ca5799],.element-content[data-v-37ca5799]{width:100%;height:100%}.static-table[data-v-6d887dcd]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-6d887dcd]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-6d887dcd]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-6d887dcd]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-6d887dcd]:last-child{background-color:var(--themeColor)}table .cell[data-v-6d887dcd]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;background-clip:padding-box}table .cell-text[data-v-6d887dcd]{padding:5px;line-height:1.5}.base-element-table[data-v-77cfa6e4]{position:absolute}.rotate-wrapper[data-v-77cfa6e4]{width:100%;height:100%}.element-content[data-v-77cfa6e4]{width:100%;height:100%;position:relative}.base-element-latex[data-v-93374af9]{position:absolute}.rotate-wrapper[data-v-93374af9]{width:100%;height:100%}.element-content[data-v-93374af9]{width:100%;height:100%;position:relative}.element-content svg[data-v-93374af9]{transform-origin:0 0;overflow:visible}.base-element-video[data-v-2fb0e771]{position:absolute}.rotate-wrapper[data-v-2fb0e771]{width:100%;height:100%}.element-content[data-v-2fb0e771]{width:100%;height:100%;background-color:#000;background-position:center;background-size:contain;background-repeat:no-repeat;display:flex;justify-content:center;align-items:center}.icon[data-v-2fb0e771]{font-size:140px;color:#aaa}.base-element-audio[data-v-b33e6120]{position:absolute}.rotate-wrapper[data-v-b33e6120]{width:100%;height:100%}.element-content[data-v-b33e6120]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-b33e6120]{cursor:move}.thumbnail-slide[data-v-cbd76d0a]{background-color:#fff;overflow:hidden;-webkit-user-select:none;user-select:none}.elements[data-v-cbd76d0a]{transform-origin:0 0}.background[data-v-cbd76d0a]{width:100%;height:100%;background-position:center;position:absolute}.placeholder[data-v-cbd76d0a]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.tabs[data-v-c7f9dce0]{display:flex;-webkit-user-select:none;user-select:none;line-height:1}.tabs[data-v-c7f9dce0]:not(.card){font-size:13px;align-items:center;justify-content:flex-start;border-bottom:1px solid #eee}.tabs:not(.card).space-around[data-v-c7f9dce0]{justify-content:space-around}.tabs:not(.card).space-between[data-v-c7f9dce0]{justify-content:space-between}.tabs:not(.card) .tab[data-v-c7f9dce0]{text-align:center;border-bottom:2px solid transparent;padding:8px 10px;cursor:pointer}.tabs:not(.card) .tab.active[data-v-c7f9dce0]{border-bottom:2px solid var(--color, #d14424)}.tabs.card[data-v-c7f9dce0]{height:40px;font-size:12px;flex-shrink:0}.tabs.card .tab[data-v-c7f9dce0]{flex:1;display:flex;justify-content:center;align-items:center;background-color:#f9f9f9;border-bottom:1px solid #eee;cursor:pointer}.tabs.card .tab.active[data-v-c7f9dce0]{background-color:transparent;border-bottom-color:transparent}.tabs.card .tab+.tab[data-v-c7f9dce0]{border-left:1px solid #eee}.button[data-v-3e3d85be]{height:32px;line-height:32px;outline:0;font-size:13px;padding:0 15px;text-align:center;color:#41464b;border-radius:2px;-webkit-user-select:none;user-select:none;letter-spacing:1px;cursor:pointer}.button.small[data-v-3e3d85be]{height:24px;line-height:24px;padding:0 7px;letter-spacing:0}.button.default[data-v-3e3d85be]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.default[data-v-3e3d85be]:hover{color:#d14424;border-color:#d14424}.button.primary[data-v-3e3d85be]{background-color:#d14424;border:1px solid #d14424;color:#fff}.button.primary[data-v-3e3d85be]:hover{background-color:#de6949;border-color:#de6949}.button.checkbox[data-v-3e3d85be],.button.radio[data-v-3e3d85be]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.checkbox[data-v-3e3d85be]:not(.checked):hover,.button.radio[data-v-3e3d85be]:not(.checked):hover{color:#d14424}.button.checked[data-v-3e3d85be]{color:#fff;background-color:#d14424;border-color:#d14424}.button.checked[data-v-3e3d85be]:hover{background-color:#de6949;border-color:#de6949}.button.disabled[data-v-3e3d85be]{background-color:#f5f5f5;border:1px solid #d9d9d9;color:#b7b7b7;cursor:default}.select[data-v-618af0ca]{width:100%;height:32px;padding-right:32px;border-radius:2px;transition:border-color .25s;font-size:13px;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #d9d9d9;position:relative;cursor:pointer}.select[data-v-618af0ca]:not(.disabled):hover{border-color:#d14424}.select.disabled[data-v-618af0ca]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7;cursor:default}.select .selector[data-v-618af0ca]{min-width:50px;height:30px;line-height:30px;padding-left:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.options[data-v-618af0ca]{max-height:260px;padding:5px;overflow:auto;text-align:left;font-size:13px;-webkit-user-select:none;user-select:none}.option[data-v-618af0ca]{height:32px;line-height:32px;padding:0 5px;border-radius:2px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option.disabled[data-v-618af0ca]{color:#b7b7b7;cursor:default}.option[data-v-618af0ca]:not(.disabled,.selected):hover{background-color:#6666660d}.option.selected[data-v-618af0ca]{background-color:#d144240d}.icon[data-v-618af0ca]{width:32px;height:30px;color:#bfbfbf;position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center}.link-dialog[data-v-de4d9db3]{font-size:13px;line-height:1.675}.input[data-v-de4d9db3]{width:100%;height:32px}.preview[data-v-de4d9db3]{margin-top:12px}.thumbnail[data-v-de4d9db3]{border:1px solid rgba(209,68,36,.15);margin-top:5px}.btns[data-v-de4d9db3]{margin-top:20px;text-align:right}.modal[data-v-4d27bcca],.mask[data-v-4d27bcca]{top:0;left:0;width:100%;height:100%;z-index:5000}.modal[data-v-4d27bcca]{position:fixed;display:flex;justify-content:center;align-items:center;outline:0;border:0}.mask[data-v-4d27bcca]{position:absolute;background:#00000040}.modal-content[data-v-4d27bcca]{z-index:5001;padding:20px;background:#fff;border-radius:2px;overflow:hidden;box-shadow:0 1px 3px #0003;position:relative}.close-btn[data-v-4d27bcca]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:16px;right:16px;cursor:pointer}.modal-fade-enter-active[data-v-4d27bcca]{animation:modal-fade-enter-4d27bcca .25s both ease-in}.modal-fade-leave-active[data-v-4d27bcca]{animation:modal-fade-leave-4d27bcca .25s both ease-out}.modal-zoom-enter-active[data-v-4d27bcca]{animation:modal-zoom-enter-4d27bcca .25s both cubic-bezier(.4,0,0,1.5)}.modal-zoom-leave-active[data-v-4d27bcca]{animation:modal-zoom-leave-4d27bcca .25s both}@keyframes modal-fade-enter-4d27bcca{0%{opacity:0}}@keyframes modal-fade-leave-4d27bcca{to{opacity:0}}@keyframes modal-zoom-enter-4d27bcca{0%{transform:scale3d(.3,.3,.3)}}@keyframes modal-zoom-leave-4d27bcca{to{transform:scale3d(.3,.3,.3)}}.canvas[data-v-47bbcf7b]{height:100%;-webkit-user-select:none;user-select:none;overflow:hidden;background-color:#f9f9f9;position:relative}.drag-mask[data-v-47bbcf7b]{cursor:grab;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-wrapper[data-v-47bbcf7b]{position:absolute;box-shadow:0 0 15px #0000001a}.viewport[data-v-47bbcf7b]{position:absolute;top:0;left:0;transform-origin:0 0}.shape-item-thumbnail[data-v-2896ae03]{position:relative;cursor:pointer}.shape-content[data-v-2896ae03]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center}.shape-content:hover .shape-path[data-v-2896ae03]:not(.outlined){stroke:#d14424}.shape-content:hover .shape-path.outlined[data-v-2896ae03]{fill:#d14424}.shape-content svg[data-v-2896ae03]:not(:root){overflow:visible}.shape-pool[data-v-553b0d02]{width:340px;max-height:520px;overflow:auto;margin-top:-12px;margin-bottom:-12px;margin-right:-12px;padding-right:12px;padding-top:12px}.category-name[data-v-553b0d02]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.shape-list[data-v-553b0d02]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.shape-item[data-v-553b0d02]{width:8%;margin-bottom:calc(20% / 9);height:0;padding-bottom:8%;flex-shrink:0}.shape-item[data-v-553b0d02]:not(:nth-child(10n)){margin-right:calc(20% / 9)}.line-pool[data-v-b07efd40]{width:220px;overflow:auto;margin-bottom:-12px;margin-right:-12px;padding-right:12px}.category-name[data-v-b07efd40]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.line-list[data-v-b07efd40]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.line-item[data-v-b07efd40]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.line-item[data-v-b07efd40]:not(:nth-child(5n)){margin-right:1.25%}.line-content[data-v-b07efd40]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.line-content[data-v-b07efd40]:hover{color:#d14424}.line-content svg[data-v-b07efd40]:not(:root){overflow:visible}.chart-pool[data-v-a4bc3ce2]{width:200px;margin-bottom:-5px;display:flex;flex-wrap:wrap;align-content:flex-start}.chart-item[data-v-a4bc3ce2]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.chart-item[data-v-a4bc3ce2]:not(:nth-child(5n)){margin-right:1.25%}.chart-content[data-v-a4bc3ce2]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.chart-content[data-v-a4bc3ce2]:hover{color:#d14424}.number-input[data-v-246b23f6]{background-color:#fff;border:1px solid #d9d9d9;padding:0 0 0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:inline-flex}.number-input .input-wrap[data-v-246b23f6]{flex:1;color:#41464b;padding:0 0 0 5px;position:relative}.number-input:not(.disabled) .input-wrap:hover .handlers[data-v-246b23f6]{opacity:1}.number-input .handlers[data-v-246b23f6]{width:20px;position:absolute;top:0;bottom:0;right:0;display:flex;flex-direction:column;font-size:6px;color:#999;opacity:0;-webkit-user-select:none;user-select:none;transition:opacity .25s}.number-input .handlers .handler[data-v-246b23f6]{width:100%;height:50%;display:flex;justify-content:center;align-items:center;border-left:1px solid #d9d9d9;cursor:pointer}.number-input .handlers .handler+.handler[data-v-246b23f6]{border-top:1px solid #d9d9d9}.number-input .handlers .handler[data-v-246b23f6]:hover{color:#d14424}.number-input input[data-v-246b23f6]{width:100%;min-width:0;padding:0;height:30px;line-height:30px;outline:0;border:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.number-input input[data-v-246b23f6]::placeholder{color:#bfbfbf}.number-input[data-v-246b23f6]:not(.disabled):hover,.number-input.focused[data-v-246b23f6]{border-color:#d14424}.number-input.disabled[data-v-246b23f6]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.number-input .prefix[data-v-246b23f6],.number-input .suffix[data-v-246b23f6]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.table-generator[data-v-81680e19]{width:100%;margin-top:-12px}.title[data-v-81680e19]{height:28px;line-height:28px;background-color:#ededed;margin:0 -12px 12px;padding:0 14px;font-size:12px;display:flex;justify-content:space-between;-webkit-user-select:none;user-select:none}.title .right[data-v-81680e19]{cursor:pointer}.title .right[data-v-81680e19]:hover{color:#d14424}table[data-v-81680e19]{border-collapse:separate}td[data-v-81680e19]{width:23px;height:23px;line-height:23px;border:2px solid #fff;background-color:#f7f7f7}.cell[data-v-81680e19]{width:100%;height:100%;border:1px solid #dcdcdc}.cell.active[data-v-81680e19]{background-color:#d144241a;border-color:#d14424}.custom[data-v-81680e19]{width:230px}.custom .row[data-v-81680e19]{display:flex;align-items:center}.custom .row+.row[data-v-81680e19]{margin-top:10px}.btns[data-v-81680e19]{margin-top:10px;text-align:right}.btns .btn[data-v-81680e19]{margin-left:10px}.media-input[data-v-999b18ca]{width:480px}.btns[data-v-999b18ca]{margin-top:10px;text-align:right}svg[data-v-fa1b116d]{overflow:hidden}.textarea[data-v-2b83189c]{outline:0;width:100%;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;padding:10px;transition:border-color .25s;box-sizing:border-box;line-height:1.675;resize:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.textarea[data-v-2b83189c]:focus{border-color:#d14424;background-color:#fff}.textarea.resizable[data-v-2b83189c]{resize:vertical}.textarea.disabled[data-v-2b83189c]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.textarea[data-v-2b83189c]::placeholder{color:#bfbfbf}.latex-editor[data-v-44075c46]{height:560px}.container[data-v-44075c46]{height:calc(100% - 50px);display:flex}.left[data-v-44075c46]{width:540px;height:100%;display:flex;flex-direction:column;flex-shrink:0}.input-area[data-v-44075c46]{flex:1}.input-area textarea[data-v-44075c46]{height:100%!important;border-color:#eee!important;padding:10px!important}.input-area textarea[data-v-44075c46]:focus{box-shadow:none!important}.preview[data-v-44075c46]{height:160px;display:flex;justify-content:center;align-items:center;text-align:center;margin-top:20px;border:1px solid #eee;-webkit-user-select:none;user-select:none}.placeholder[data-v-44075c46]{color:#888;font-size:13px}.preview-content[data-v-44075c46]{width:100%;height:100%;padding:10px;display:flex;justify-content:center;align-items:center}.right[data-v-44075c46]{width:280px;height:100%;margin-left:20px;border:solid 1px #eee;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.content[data-v-44075c46]{height:calc(100% - 40px);font-size:13px}.formula[data-v-44075c46]{height:100%;padding:12px;overflow:auto;overflow:overlay}.formula-item+.formula-item[data-v-44075c46]{margin-top:10px}.formula-item .formula-title[data-v-44075c46]{margin-bottom:5px}.formula-item .formula-item-content[data-v-44075c46]{height:60px;padding:5px;display:flex;align-items:center;background-color:#f9f9f9;cursor:pointer}.symbol[data-v-44075c46]{height:100%;display:flex;flex-direction:column}.symbol-pool[data-v-44075c46]{display:flex;flex-wrap:wrap;flex:1;padding:12px;overflow:auto;overflow:overlay}.symbol-item[data-v-44075c46]{display:flex;justify-content:center;align-items:center}.symbol-item[data-v-44075c46]:hover{background-color:#f9f9f9;cursor:pointer}.footer[data-v-44075c46]{height:50px;display:flex;justify-content:flex-end;align-items:flex-end}.footer .btn[data-v-44075c46]{margin-left:10px}.canvas-tool[data-v-f177f23a]{position:relative;border-bottom:1px solid #eee;background-color:#fff;display:flex;justify-content:space-between;padding:0 10px;font-size:13px;-webkit-user-select:none;user-select:none}.left-handler[data-v-f177f23a],.more[data-v-f177f23a]{display:flex;align-items:center}.add-element-handler[data-v-f177f23a]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex}.add-element-handler .handler-item[data-v-f177f23a]{width:32px}.add-element-handler .handler-item[data-v-f177f23a]:not(.group-btn):hover{background-color:#f1f1f1}.add-element-handler .handler-item.active[data-v-f177f23a]{color:#d14424}.add-element-handler .handler-item.group-btn[data-v-f177f23a]{width:auto;margin-right:4px}.add-element-handler .handler-item.group-btn[data-v-f177f23a]:hover{background-color:#f3f3f3}.add-element-handler .handler-item.group-btn .icon[data-v-f177f23a],.add-element-handler .handler-item.group-btn .arrow[data-v-f177f23a]{height:100%;display:flex;justify-content:center;align-items:center}.add-element-handler .handler-item.group-btn .icon[data-v-f177f23a]{width:26px;padding:0 2px}.add-element-handler .handler-item.group-btn .icon[data-v-f177f23a]:hover{background-color:#e9e9e9}.add-element-handler .handler-item.group-btn .icon.active[data-v-f177f23a]{color:#d14424}.add-element-handler .handler-item.group-btn .arrow[data-v-f177f23a]{font-size:12px}.add-element-handler .handler-item.group-btn .arrow[data-v-f177f23a]:hover{background-color:#e9e9e9}.handler-item[data-v-f177f23a]{height:24px;font-size:14px;margin:0 2px;display:flex;justify-content:center;align-items:center;border-radius:2px;overflow:hidden;cursor:pointer}.handler-item.disable[data-v-f177f23a]{opacity:.5}.left-handler .handler-item[data-v-f177f23a],.right-handler .handler-item[data-v-f177f23a]{padding:0 8px}.left-handler .handler-item.active[data-v-f177f23a],.left-handler .handler-item[data-v-f177f23a]:not(.disable):hover,.right-handler .handler-item.active[data-v-f177f23a],.right-handler .handler-item[data-v-f177f23a]:not(.disable):hover{background-color:#f1f1f1}.right-handler[data-v-f177f23a]{display:flex;align-items:center}.right-handler .text[data-v-f177f23a]{display:inline-block;width:40px;text-align:center;cursor:pointer}.right-handler .viewport-size[data-v-f177f23a]{font-size:13px}@media screen and (width <= 1200px){.right-handler .text[data-v-f177f23a],.more[data-v-f177f23a]{display:none}}@media screen and (width <= 1000px){.left-handler[data-v-f177f23a],.right-handler[data-v-f177f23a]{display:none}}.layout-pool[data-v-0166cc70]{width:394px;height:500px;padding:2px 12px 2px 2px;margin-right:-12px;overflow:auto;display:flex;flex-wrap:wrap;align-content:flex-start}.layout-item[data-v-0166cc70]{width:48%;margin-bottom:4%}.layout-item[data-v-0166cc70]:not(:nth-child(2n)){margin-right:4%}.layout-item[data-v-0166cc70]:nth-last-child(2),.layout-item[data-v-0166cc70]:last-child{margin-bottom:0}.layout-item .thumbnail[data-v-0166cc70]{outline:2px solid #eee;transition:outline .2s;cursor:pointer}.layout-item .thumbnail[data-v-0166cc70]:hover{outline-color:#d14424}.thumbnails[data-v-d7a17fcd]{border-right:solid 1px #eee;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.add-slide[data-v-d7a17fcd]{height:40px;font-size:12px;display:flex;flex-shrink:0;border-bottom:1px solid #eee;cursor:pointer}.add-slide .btn[data-v-d7a17fcd]{flex:1;display:flex;justify-content:center;align-items:center}.add-slide .btn[data-v-d7a17fcd]:hover{background-color:#f9f9f9}.add-slide .select-btn[data-v-d7a17fcd]{width:30px;height:100%;display:flex;justify-content:center;align-items:center;border-left:1px solid #eee}.add-slide .select-btn[data-v-d7a17fcd]:hover{background-color:#f9f9f9}.add-slide .icon[data-v-d7a17fcd]{margin-right:3px;font-size:14px}.thumbnail-list[data-v-d7a17fcd]{padding:5px 0;flex:1;overflow:auto}.thumbnail-item[data-v-d7a17fcd]{display:flex;justify-content:center;align-items:center;padding:5px 0}.thumbnail-item .thumbnail[data-v-d7a17fcd]{outline:2px solid rgba(209,68,36,.15)}.thumbnail-item.active .label[data-v-d7a17fcd]{color:#d14424}.thumbnail-item.active .thumbnail[data-v-d7a17fcd],.thumbnail-item.selected .thumbnail[data-v-d7a17fcd]{outline-color:#d14424}.label[data-v-d7a17fcd]{font-size:12px;color:#999;width:20px;cursor:grab}.label.offset-left[data-v-d7a17fcd]{position:relative;left:-4px}.label[data-v-d7a17fcd]:active{cursor:grabbing}.page-number[data-v-d7a17fcd]{height:40px;font-size:12px;border-top:1px solid #eee;line-height:40px;text-align:center;color:#666}.slider[data-v-a7428be4]{width:100%;height:12px;padding:4px 0;-webkit-user-select:none;user-select:none}.slider.disabled .track[data-v-a7428be4]{background-color:#b4b4b4}.slider.disabled .thumb[data-v-a7428be4]{outline:2px solid #b4b4b4}.slider[data-v-a7428be4]:not(.disabled){cursor:pointer}.slider:not(.disabled) .bar[data-v-a7428be4]:hover{background-color:#f0f0f0}.slider:not(.disabled) .track[data-v-a7428be4]:hover{background-color:#de6949}.slider:not(.disabled) .thumb[data-v-a7428be4]:hover,.slider:not(.disabled) .thumb[data-v-a7428be4]:active{outline:4px solid #d14424}.bar[data-v-a7428be4]{width:calc(100% - 10px);margin-left:5px;height:4px;border-radius:2px;position:relative;background-color:#f5f5f5;-webkit-user-select:none;user-select:none;transition:background-color .2s}.track[data-v-a7428be4]{position:absolute;top:0;left:0;height:100%;background-color:#d14424;transition:background-color .2s}.thumb[data-v-a7428be4]{position:absolute;top:50%;left:0;width:10px;height:10px;background-color:#fff;outline:2px solid #d14424;transform:translate(-50%,-50%);border-radius:50%;z-index:100}.thumb[data-v-a7428be4]:hover:before,.thumb[data-v-a7428be4]:hover:after,.thumb[data-v-a7428be4]:active:before,.thumb[data-v-a7428be4]:active:after{display:block}.thumb[data-v-a7428be4]:before{content:attr(data-tooltip);min-width:28px;display:none;position:absolute;left:50%;bottom:24px;transform:translate(-50%);background-color:#262626;text-align:center;color:#fff;border-radius:2px;padding:6px 5px;font-size:12px}.thumb[data-v-a7428be4]:after{content:"";display:none;position:absolute;left:50%;bottom:15px;transform:translate(-50%);border:5px solid transparent;border-top-color:#262626}.row[data-v-c3b27b40]{width:100%;display:flex;align-items:center;margin-bottom:10px}.color-btn[data-v-5e2a7fc5]{width:100%;display:flex!important;align-items:center;justify-content:center;padding:0!important}.color-block[data-v-5e2a7fc5]{height:20px;margin-left:8px;flex:1;outline:1px dashed rgba(102,102,102,.12);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAEBJREFUOE9jfPbs2X8GIoCkpCQRqhgYGEcNxBlOo2GIM2iGQLL5//8/UTnl+fPnxOWUUQNxhtNoGOLOKYM+2QAAh2Nq10DwkukAAAAASUVORK5CYII=)}.content[data-v-5e2a7fc5]{width:100%;height:100%}.color-btn-icon[data-v-5e2a7fc5]{width:32px;font-size:13px;color:#bfbfbf}.checkerboard[data-v-46275348]{background-size:contain;position:absolute;top:0;right:0;bottom:0;left:0}.alpha[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-checkboard-wrap[data-v-429f62d3]{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.alpha-gradient[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-container[data-v-429f62d3]{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.alpha-pointer[data-v-429f62d3]{z-index:2;position:absolute}.alpha-picker[data-v-429f62d3]{cursor:pointer;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}.hue[data-v-21ccc370]{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);position:absolute;top:0;right:0;bottom:0;left:0}.hue-container[data-v-21ccc370]{cursor:pointer;margin:0 2px;position:relative;height:100%}.hue-pointer[data-v-21ccc370]{z-index:2;position:absolute;top:0}.hue-picker[data-v-21ccc370]{cursor:pointer;margin-top:1px;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.saturation[data-v-4a728d90],.saturation-white[data-v-4a728d90],.saturation-black[data-v-4a728d90]{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.saturation-white[data-v-4a728d90]{background:linear-gradient(to right,#fff,#fff0)}.saturation-black[data-v-4a728d90]{background:linear-gradient(to top,#000,#0000)}.saturation-pointer[data-v-4a728d90]{cursor:pointer;position:absolute}.saturation-circle[data-v-4a728d90]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.editable-input[data-v-573b4dde]{width:100%;position:relative;overflow:hidden;text-align:center;font-size:14px}.editable-input[data-v-573b4dde]:after{content:"#";position:absolute;left:0;top:50%;transform:translateY(-50%);color:#999}.input-content[data-v-573b4dde]{width:100%;padding:3px;border:0;border-bottom:1px solid #ddd;outline:none;text-align:center}.input-label[data-v-573b4dde]{text-transform:capitalize}.color-picker[data-v-9ae27223]{position:relative;width:240px;background:#fff;-webkit-user-select:none;user-select:none;margin-bottom:-10px}.picker-saturation-wrap[data-v-9ae27223]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-9ae27223]{display:flex}.picker-sliders[data-v-9ae27223]{padding:4px 0;flex:1}.picker-hue-wrap[data-v-9ae27223]{position:relative;height:10px}.picker-alpha-wrap[data-v-9ae27223]{position:relative;height:10px;margin-top:4px;overflow:hidden}.picker-color-wrap[data-v-9ae27223]{width:24px;height:24px;position:relative;margin-top:4px;margin-right:4px;outline:1px dashed rgba(102,102,102,.12)}.picker-color-wrap .checkerboard[data-v-9ae27223]{background-size:auto}.picker-current-color[data-v-9ae27223]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.picker-field[data-v-9ae27223]{display:flex;margin-bottom:8px}.picker-field .transparent[data-v-9ae27223]{width:24px;height:24px;margin-top:4px;margin-left:8px;position:relative;cursor:pointer}.picker-field .transparent[data-v-9ae27223]:after{content:"";width:26px;height:2px;position:absolute;top:11px;left:-1px;transform:rotate(-45deg);background-color:red}.picker-field .transparent .checkerboard[data-v-9ae27223]{background-size:auto}.picker-field .straw[data-v-9ae27223]{width:24px;height:24px;margin-top:4px;margin-left:8px;display:flex;justify-content:center;align-items:center;font-size:20px;background-color:#f5f5f5;outline:1px solid #f1f1f1;cursor:pointer}.picker-field .input[data-v-9ae27223]{flex:1}.picker-presets[data-v-9ae27223]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-presets-color[data-v-9ae27223]{width:7%;margin-bottom:calc(30% / 9);height:0;padding-bottom:7%;flex-shrink:0;position:relative;cursor:pointer}.picker-presets-color[data-v-9ae27223]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-presets-color.alpha[data-v-9ae27223]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-9ae27223]{position:absolute;top:0;right:0;bottom:0;left:0}.picker-gradient-presets[data-v-9ae27223]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-gradient-col[data-v-9ae27223]{width:7%;margin-bottom:calc(30% / 9);display:flex;flex-direction:column}.picker-gradient-col[data-v-9ae27223]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-gradient-color[data-v-9ae27223]{width:100%;height:16px;position:relative;cursor:pointer}.recent-colors-title[data-v-9ae27223]{font-size:12px;margin-bottom:4px}.switch[data-v-a0d44a99]{height:20px;display:inline-block;cursor:pointer}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]{border-color:#d14424;background-color:#d14424}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]:after{left:100%;margin-left:-17px}.switch.disabled[data-v-a0d44a99]{cursor:default}.switch.disabled .switch-core[data-v-a0d44a99]:after{background-color:#f5f5f5}.switch-core[data-v-a0d44a99]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid #d9d9d9;outline:none;border-radius:10px;box-sizing:border-box;background:#d9d9d9;transition:border-color .3s,background-color .3s;vertical-align:middle}.switch-core[data-v-a0d44a99]:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.row[data-v-fd752d80]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-fd752d80]{text-align:right}.row[data-v-814f50a5]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-814f50a5]{text-align:right}.text-color-btn[data-v-98853be0]{width:100%;display:flex!important;flex-direction:column;justify-content:center;align-items:center;padding:0}.text-color-block[data-v-98853be0]{width:17px;height:4px;margin-top:1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACdJREFUGFdjfPbs2X8GBgYGSUlJEMXAiCHw//9/sIrnz59DVKALAADNxxVfaiODNQAAAABJRU5ErkJggg==)}.text-color-block .text-color-block-content[data-v-98853be0]{width:100%;height:100%}.button-group[data-v-6a640ef5]{display:flex;align-items:center}.button-group[data-v-6a640ef5] button.button{border-radius:0;border-left-width:1px;border-right-width:0;display:inline-block}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover{position:relative}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover{position:relative}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group.passive[data-v-6a640ef5] button.button.first{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group.passive[data-v-6a640ef5] button.button.last{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.select-group[data-v-ed58c719]{display:flex;align-items:center}.select-group[data-v-ed58c719] .select-wrap .select{border-radius:0;border-left-width:0;border-right-width:0}.select-group[data-v-ed58c719] .select-wrap+.select-wrap .select{border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:hover+.select-wrap .select{border-left-color:#d14424}.select-group[data-v-ed58c719] .select-wrap:first-child .select{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:last-child .select{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.rich-text-base[data-v-d5bc509d]{-webkit-user-select:none;user-select:none}.row[data-v-d5bc509d]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-d5bc509d]{padding:0}.link-popover[data-v-d5bc509d]{width:240px}.link-popover .btns[data-v-d5bc509d]{margin-top:10px;text-align:right}.list-wrap[data-v-d5bc509d]{width:176px;color:#666;padding:8px;margin:-12px;display:flex;flex-wrap:wrap;align-content:flex-start}.list[data-v-d5bc509d]{background-color:#f9f9f9;padding:4px 4px 4px 20px;cursor:pointer}.list[data-v-d5bc509d]:not(:nth-child(3n)){margin-right:8px}.list[data-v-d5bc509d]:nth-child(4),.list[data-v-d5bc509d]:nth-child(5),.list[data-v-d5bc509d]:nth-child(6){margin-top:8px}.list[data-v-d5bc509d]:hover{color:#d14424}.list:hover span[data-v-d5bc509d]{background-color:#d14424}.list-item[data-v-d5bc509d]{width:24px;height:12px;position:relative;font-size:12px;top:-5px}.list-item span[data-v-d5bc509d]{width:100%;height:2px;display:inline-block;position:absolute;top:10px;background-color:#666}.popover-btn[data-v-d5bc509d]{padding:0 3px}.text-style-panel[data-v-a643d8fc]{-webkit-user-select:none;user-select:none}.row[data-v-a643d8fc]{width:100%;display:flex;align-items:center;margin-bottom:10px}.preset-style[data-v-a643d8fc]{display:flex;flex-wrap:wrap;margin-bottom:10px}.preset-style-item[data-v-a643d8fc]{width:50%;height:50px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;justify-content:center;align-items:center;position:relative;cursor:pointer;transition:all .2s}.preset-style-item[data-v-a643d8fc]:hover{border-color:#d14424;color:#d14424;z-index:1}.preset-style-item[data-v-a643d8fc]:nth-child(2n){margin-left:-1px}.preset-style-item[data-v-a643d8fc]:nth-child(n+3){margin-top:-1px}.row[data-v-100c8a7c],.row[data-v-44786c09]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-44786c09]{text-align:right}.filter[data-v-44786c09]{font-size:12px}.filter-item[data-v-44786c09]{padding:6px 0;display:flex;justify-content:center;align-items:center}.filter-item .name[data-v-44786c09]{width:60px}.filter-item .filter-slider[data-v-44786c09]{flex:1;margin:0 6px}.row[data-v-d428a4e5]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-d428a4e5]{text-align:right}.row[data-v-0c668b03]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-0c668b03]{text-align:right}.origin-image[data-v-0c668b03]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-0c668b03]{width:100%;margin-bottom:10px}.btn-icon[data-v-0c668b03]{margin-right:3px}.clip[data-v-0c668b03]{width:260px;font-size:12px}.clip .title[data-v-0c668b03]{margin-bottom:5px}.shape-clip[data-v-0c668b03]{margin-bottom:10px;display:flex;flex-wrap:wrap;align-content:flex-start}.shape-clip-item[data-v-0c668b03]{display:flex;justify-content:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-0c668b03]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-0c668b03]{background-color:#ccc}.shape-clip-item .shape[data-v-0c668b03]{width:40px;height:40px;background-color:#e1e1e1}.popover-btn[data-v-0c668b03]{padding:0 3px}.shape-style-panel[data-v-0c7a0fc5]{-webkit-user-select:none;user-select:none}.row[data-v-0c7a0fc5]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-0c7a0fc5]{padding:0}.title[data-v-0c7a0fc5]{display:flex;justify-content:space-between;margin-bottom:10px}.shape-pool[data-v-0c7a0fc5]{width:235px;height:150px;overflow:auto;padding:5px 10px 5px 5px;border:1px solid #eee;margin-bottom:20px}.shape-list[data-v-0c7a0fc5]{display:flex;flex-wrap:wrap;align-content:flex-start}.shape-item[data-v-0c7a0fc5]{width:14%;margin-bottom:3.2%;height:0;padding-bottom:14%;flex-shrink:0}.shape-item[data-v-0c7a0fc5]:not(:nth-child(6n)){margin-right:3.2%}.row[data-v-d5f2e330]{width:100%;display:flex;align-items:center;margin-bottom:10px}.line-btn[data-v-d5f2e330]{display:flex;align-items:center;justify-content:space-between;padding:0!important}.line-btn .line-wrapper[data-v-d5f2e330]{margin-left:8px}.line-wrapper[data-v-d5f2e330]{overflow:visible}.line-btn-icon[data-v-d5f2e330]{width:30px;font-size:12px;margin-top:2px;color:#bfbfbf}.preset-point-style[data-v-d5f2e330]{padding:0 10px}.preset-point-style+.preset-point-style[data-v-d5f2e330]{margin-top:10px}.chart-data-editor[data-v-ac578a4f]{width:600px;position:relative}.editor-content[data-v-ac578a4f]{width:100%;height:360px;position:relative;border-right:1px solid #ccc;border-bottom:1px solid #ccc;overflow:auto;overflow:overlay}.range-box[data-v-ac578a4f]{position:absolute;top:0;left:0;z-index:100;-webkit-user-select:none;user-select:none}.temp-range[data-v-ac578a4f]{width:0;height:0;position:absolute;top:0;left:0;background-color:#8888884d}.range-line[data-v-ac578a4f]{width:0;height:0;position:absolute;left:0;top:0;border:0 solid #d14424}.range-line.t[data-v-ac578a4f]{border-top-width:1px}.range-line.b[data-v-ac578a4f]{border-bottom-width:1px}.range-line.l[data-v-ac578a4f]{border-left-width:1px}.range-line.r[data-v-ac578a4f]{border-right-width:1px}.resizable[data-v-ac578a4f]{position:absolute;width:12px;height:12px;left:0;top:0;margin:-9px 0 0 -9px;cursor:nwse-resize}.resizable[data-v-ac578a4f]:after{content:"";position:absolute;width:4px;height:12px;right:0;top:0;background-color:#d14424}.resizable[data-v-ac578a4f]:before{content:"";position:absolute;width:12px;height:4px;right:0;bottom:0;background-color:#d14424}table[data-v-ac578a4f]{width:100%;height:100%;-webkit-user-select:none;user-select:none;table-layout:fixed}table td[data-v-ac578a4f]{text-align:center;border:1px solid #ccc;vertical-align:middle;width:100px;height:32px}table td.head[data-v-ac578a4f]{background-color:#d144241a}table .item[data-v-ac578a4f]{width:100%;height:100%;border:0;outline:0;font-size:13px;text-align:center;background-color:transparent}table .item.selected[data-v-ac578a4f]{background-color:#d1442405}.btns[data-v-ac578a4f]{margin-top:10px;display:flex;justify-content:space-between}.checkbox[data-v-3d20c849]{height:20px;display:flex;align-items:center;cursor:pointer}.checkbox:not(.disabled).checked .checkbox-input[data-v-3d20c849]{background-color:#d14424;border-color:#d14424}.checkbox:not(.disabled).checked .checkbox-input[data-v-3d20c849]:after{transform:rotate(45deg) scaleY(1)}.checkbox:not(.disabled).checked .checkbox-label[data-v-3d20c849]{color:#d14424}.checkbox.disabled[data-v-3d20c849]{color:#b7b7b7;cursor:default}.checkbox.disabled .checkbox-input[data-v-3d20c849]{background-color:#f5f5f5}.checkbox-input[data-v-3d20c849]{display:inline-block;position:relative;border:1px solid #d9d9d9;border-radius:2px;width:16px;height:16px;background-color:#fff;vertical-align:middle;transition:border-color .15s cubic-bezier(.71,-.46,.29,1.46),background-color .15s cubic-bezier(.71,-.46,.29,1.46);z-index:1}.checkbox-input[data-v-3d20c849]:after{content:"";border:2px solid #fff;border-left:0;border-top:0;height:9px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:6px;transition:transform .15s ease-in .05s;transform-origin:center}.checkbox-original[data-v-3d20c849]{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.checkbox-label[data-v-3d20c849]{margin-left:5px;line-height:20px;font-size:13px;-webkit-user-select:none;user-select:none}.chart-style-panel[data-v-63098034]{-webkit-user-select:none;user-select:none}.row[data-v-63098034]{width:100%;display:flex;align-items:center;margin-bottom:10px}.full-width-btn[data-v-63098034]{width:100%}.btn-icon[data-v-63098034]{margin-right:3px}.color-btn-wrap[data-v-63098034]{position:relative}.delete-color-btn[data-v-63098034]{position:absolute;width:30px;right:2px;top:2px;bottom:2px;display:flex;justify-content:center;align-items:center;background-color:#fff;cursor:pointer}.preset-themes[data-v-63098034]{width:250px;margin-bottom:-10px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-theme[data-v-63098034]{display:flex;cursor:pointer;width:48%;margin-bottom:4%}.preset-theme[data-v-63098034]:not(:nth-child(2n)){margin-right:4%}.preset-theme-color[data-v-63098034]{width:20px;height:20px}.preset-theme-color.select[data-v-63098034]{transform:scale(1.2);transition:transform .1s}.row[data-v-77cc371a]{width:100%;display:flex;align-items:center;margin-bottom:10px}.theme-switch[data-v-77cc371a]{margin-bottom:18px}.switch-wrapper[data-v-77cc371a]{text-align:right}.set-count[data-v-77cc371a]{display:flex;justify-content:center;align-items:center}.set-count .btn[data-v-77cc371a]{padding:0 8px}.set-count .count-text[data-v-77cc371a]{flex:1;text-align:center;margin:0 8px}.row[data-v-6b6e110e],.row[data-v-b289959e]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-b289959e],.background-image-wrapper[data-v-b289959e]{margin-bottom:10px}.background-image[data-v-b289959e]{height:0;padding-bottom:56.25%;border:1px dashed #eee;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-b289959e]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-b289959e]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.switch-row[data-v-b289959e]{height:32px}.switch-wrapper[data-v-b289959e]{text-align:right}.row[data-v-44ce0855]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-row[data-v-44ce0855]{height:32px}.switch-wrapper[data-v-44ce0855]{text-align:right}.row[data-v-3a1eb966]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-3a1eb966]{padding:0}.row[data-v-6bb316f9]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-6bb316f9]{margin-bottom:10px}.label[data-v-6bb316f9]{text-align:center}.btn-icon[data-v-6bb316f9]{margin-right:3px}.icon-btn[data-v-6bb316f9]{cursor:pointer}.icon-btn.active[data-v-6bb316f9]{color:#d14424}.text-btn[data-v-6bb316f9]{height:30px;line-height:30px;text-align:center;cursor:pointer}.text-btn[data-v-6bb316f9]:hover{background-color:#efefef;border-radius:2px}.element-animation-panel[data-v-bf835335]{height:100%;display:flex;flex-direction:column}.element-animation[data-v-bf835335]{height:32px;display:flex;align-items:center}.element-animation-btn[data-v-bf835335]{width:100%}.config-item[data-v-bf835335]{display:flex;align-items:center}.config-item+.config-item[data-v-bf835335]{margin-top:5px}.tip[data-v-bf835335]{height:32px;display:flex;justify-content:center;align-items:center;font-style:italic}.animation-pool[data-v-bf835335]{width:400px;height:500px;overflow-y:auto;overflow-x:hidden;font-size:12px;margin-right:-10px;padding-right:5px;position:relative}.animation-pool .mask[data-v-bf835335]{position:absolute;top:0;right:0;bottom:0;left:0}.animation-pool.in .type-title[data-v-bf835335]{border-left-color:#68a490;background-color:#68a49026}.animation-pool.out .type-title[data-v-bf835335]{border-left-color:#d86344;background-color:#d8634426}.animation-pool.attention .type-title[data-v-bf835335]{border-left-color:#e8b76a;background-color:#e8b76a26}.pool-type[data-v-bf835335]:not(:last-child){margin-bottom:5px}.type-title[data-v-bf835335]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:4px 0 4px 10px}.pool-item-wrapper[data-v-bf835335]{display:flex;flex-wrap:wrap;align-content:flex-start}.pool-item[data-v-bf835335]{width:24%;margin-bottom:calc(4% / 3);margin-bottom:5px;height:40px;line-height:40px;text-align:center;cursor:pointer}.pool-item[data-v-bf835335]:not(:nth-child(4n)){margin-right:calc(4% / 3)}.animation-box[data-v-bf835335]{background-color:#f9f9f9;border-radius:2px}.animation-sequence[data-v-bf835335]{flex:1;padding-right:12px;margin-right:-12px;overflow:auto;overflow:overlay}.sequence-item[data-v-bf835335]{border:1px solid #eee;padding:8px;border-radius:2px;margin-bottom:8px;transition:all .5s}.sequence-item.in.active[data-v-bf835335]{border-color:#68a490}.sequence-item.out.active[data-v-bf835335]{border-color:#d86344}.sequence-item.attention.active[data-v-bf835335]{border-color:#e8b76a}.sequence-item.active[data-v-bf835335]{height:auto}.sequence-item .sequence-content[data-v-bf835335]{display:flex;align-items:center;cursor:grab}.sequence-item .sequence-content[data-v-bf835335]:active{cursor:grabbing}.sequence-item .sequence-content .index[data-v-bf835335]{flex:1}.sequence-item .sequence-content .text[data-v-bf835335]{flex:6}.sequence-item .sequence-content .handler[data-v-bf835335]{flex:2;font-size:15px;text-align:right}.sequence-item .sequence-content .handler-btn[data-v-bf835335]{margin-left:8px;cursor:pointer}.slide-design-panel[data-v-5d6a9c2f]{-webkit-user-select:none;user-select:none}.row[data-v-5d6a9c2f]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-5d6a9c2f]{display:flex;justify-content:space-between;margin-bottom:10px}.title .more[data-v-5d6a9c2f]{cursor:pointer}.title .more .text[data-v-5d6a9c2f]{font-size:12px;margin-right:3px}.background-image-wrapper[data-v-5d6a9c2f]{margin-bottom:10px}.background-image[data-v-5d6a9c2f]{height:0;padding-bottom:56.25%;border:1px dashed #eee;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-5d6a9c2f]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-5d6a9c2f]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-5d6a9c2f]{display:flex;flex-wrap:wrap;align-content:flex-start}.theme-item[data-v-5d6a9c2f]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-5d6a9c2f]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-5d6a9c2f]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;padding:8px;border:1px solid #eee;border-radius:2px}.theme-item .text[data-v-5d6a9c2f]{font-size:16px}.theme-item .colors[data-v-5d6a9c2f]{display:flex}.theme-item .color-block[data-v-5d6a9c2f]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-5d6a9c2f]{opacity:1}.theme-item .btns[data-v-5d6a9c2f]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.theme-item .btn[data-v-5d6a9c2f]{width:72px;padding:5px 0;text-align:center;background-color:#d14424;color:#fff;font-size:12px;border-radius:2px}.theme-item .btn[data-v-5d6a9c2f]:hover{background-color:#de6949}.theme-item .btn+.btn[data-v-5d6a9c2f]{margin-top:5px}.animation-pool[data-v-ae84c3f4]{display:flex;flex-wrap:wrap;margin-bottom:10px}.animation-item[data-v-ae84c3f4]{width:50%;height:100px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 0 15px;position:relative;cursor:pointer}.animation-item.active[data-v-ae84c3f4]{border-color:#d14424;z-index:1}.animation-item[data-v-ae84c3f4]:nth-child(2n){margin-left:-1px}.animation-item[data-v-ae84c3f4]:nth-child(n+3){margin-top:-1px}.animation-block[data-v-ae84c3f4]{width:64px;height:36px;background:#666;position:relative;overflow:hidden}.animation-block.fade[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:fade-ae84c3f4 .3s linear}.animation-block.slideX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX-ae84c3f4 .3s linear}.animation-block.slideY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY-ae84c3f4 .3s linear}.animation-block.slideX3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX3D-ae84c3f4 .3s linear}.animation-block.slideY3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY3D-ae84c3f4 .3s linear}.animation-block.rotate[data-v-ae84c3f4]:hover:after{transform-origin:0 0;content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:rotate-ae84c3f4 .3s linear}.animation-block.scaleY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleY-ae84c3f4 .3s linear}.animation-block.scaleX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleX-ae84c3f4 .3s linear}.animation-block.scale[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scale-ae84c3f4 .3s linear}.animation-block.scaleReverse[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleReverse-ae84c3f4 .3s linear}.animation-text[data-v-ae84c3f4]{font-size:12px;color:#333;text-align:center}@keyframes fade-ae84c3f4{0%{opacity:0}to{opacity:1}}@keyframes slideX-ae84c3f4{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slideY-ae84c3f4{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideX3D-ae84c3f4{0%{transform:translate(100%) scale(.5)}to{transform:translate(0)}}@keyframes slideY3D-ae84c3f4{0%{transform:translateY(100%) scale(.5)}to{transform:translateY(0)}}@keyframes rotate-ae84c3f4{0%{transform:rotate(-90deg)}to{transform:rotate(0)}}@keyframes scaleY-ae84c3f4{0%{transform:scaleY(.1)}to{transform:scaleY(1)}}@keyframes scaleX-ae84c3f4{0%{transform:scaleX(.1)}to{transform:scaleY(1)}}@keyframes scale-ae84c3f4{0%{transform:scale(.25)}to{transform:scale(1)}}@keyframes scaleReverse-ae84c3f4{0%{transform:scale(2)}to{transform:scale(1)}}.row[data-v-d41009b1]{width:100%;display:flex;align-items:center;margin-bottom:10px}.symbol-panel[data-v-0f662bb0]{height:100%;display:flex;flex-direction:column}.symbol-panel .pool[data-v-0f662bb0]{padding:5px 12px;margin:0 -12px;flex:1;font-size:18px;overflow:auto;overflow:overlay;display:flex;flex-wrap:wrap;align-content:flex-start}.symbol-panel .symbol-item[data-v-0f662bb0]{width:18%;margin-bottom:2.5%;height:0;padding-bottom:18%;position:relative;cursor:pointer;border:1px solid #eee}.symbol-panel .symbol-item[data-v-0f662bb0]:not(:nth-child(5n)){margin-right:2.5%}.symbol-panel .symbol-item[data-v-0f662bb0]:hover{color:#d14424}.symbol-panel .symbol-item .symbol[data-v-0f662bb0]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-color:#fff}.toolbar[data-v-83fff59a]{border-left:solid 1px #eee;background-color:#fff;display:flex;flex-direction:column}.content[data-v-83fff59a]{padding:12px;font-size:13px;overflow:auto;overflow:overlay}.editor[data-v-4042a280]{height:100%;overflow:auto}.prosemirror-editor[data-v-4042a280]{height:100%;cursor:text}.prosemirror-editor[data-v-4042a280] .ProseMirror{height:100%;font-size:12px;overflow:auto;padding:8px;line-height:1.5}.prosemirror-editor[data-v-4042a280] .ProseMirror>p[data-placeholder]:before{content:attr(data-placeholder);pointer-events:none;position:absolute;font-size:12px;color:#66666680}.menu[data-v-4042a280]{display:flex;background-color:#fff;padding:6px 4px;border-radius:2px;box-shadow:0 0 20px #00000026}.menu button[data-v-4042a280]{outline:0;border:0;background-color:#fff;padding:3px;border-radius:2px;font-size:16px;margin:0 3px;display:flex;align-items:center;justify-content:center;cursor:pointer}.menu button[data-v-4042a280]:hover,.menu button.active[data-v-4042a280]{background-color:#d14424;color:#fff}.remark[data-v-1c52a472]{position:relative;border-top:1px solid #eee}.resize-handler[data-v-1c52a472]{height:7px;position:absolute;top:-3px;left:0;right:0;cursor:n-resize;z-index:2}.export-img-dialog[data-v-32b43d99]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-32b43d99]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-32b43d99]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.configs[data-v-32b43d99]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-32b43d99]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-32b43d99]{width:100px;position:relative}.configs .title[data-v-32b43d99]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-32b43d99]{flex:1}.btns[data-v-32b43d99]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-32b43d99]{flex:1}.btns .close[data-v-32b43d99]{width:100px;margin-left:10px}.export-json-dialog[data-v-c2d35f76]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.preview[data-v-c2d35f76]{width:100%;height:calc(100% - 100px);background-color:#f9f9f9;color:#0451a5;overflow:auto}pre[data-v-c2d35f76]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.btns[data-v-c2d35f76]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-c2d35f76]{flex:1}.btns .close[data-v-c2d35f76]{width:100px;margin-left:10px}[data-v-c2d35f76]::-webkit-scrollbar{width:10px;height:10px;background-color:#f9f9f9}[data-v-c2d35f76]::-webkit-scrollbar-thumb{background-color:#c1c1c1}.export-pdf-dialog[data-v-d3a30d69]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-d3a30d69]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-d3a30d69]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.thumbnail.break-page[data-v-d3a30d69]{break-after:page}.configs[data-v-d3a30d69]{width:300px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-d3a30d69]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-d3a30d69]{width:100px}.configs .config-item[data-v-d3a30d69]{flex:1}.configs .tip[data-v-d3a30d69]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-d3a30d69]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-d3a30d69]{flex:1}.btns .close[data-v-d3a30d69]{width:100px;margin-left:10px}.export-pptx-dialog[data-v-254b6b07]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-254b6b07]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-254b6b07]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-254b6b07]{width:100px;position:relative}.configs .title[data-v-254b6b07]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-254b6b07]{flex:1}.configs .tip[data-v-254b6b07]{font-size:12px;color:#aaa;line-height:1.8;margin-top:10px}.btns[data-v-254b6b07]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-254b6b07]{flex:1}.btns .close[data-v-254b6b07]{width:100px;margin-left:10px}.export-pptist-dialog[data-v-bc56c9db]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-bc56c9db]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-bc56c9db]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-bc56c9db]{width:100px;position:relative}.configs .title[data-v-bc56c9db]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-bc56c9db]{flex:1}.configs .tip[data-v-bc56c9db]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-bc56c9db]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-bc56c9db]{flex:1}.btns .close[data-v-bc56c9db]{width:100px;margin-left:10px}.export-dialog[data-v-b54f4542]{margin:-20px}.content[data-v-b54f4542]{height:460px;padding:12px;font-size:13px;overflow:auto;overflow:overlay}.moveable-panel[data-v-94a0a962]{position:fixed;background-color:#fff;box-shadow:0 2px 12px #38383826;border:1px solid #eee;border-radius:2px;display:flex;flex-direction:column;z-index:999}.resizer[data-v-94a0a962]{width:10px;height:10px;position:absolute;bottom:0;right:0;cursor:se-resize}.resizer[data-v-94a0a962]:after{content:"";position:absolute;bottom:-4px;right:-4px;transform:rotate(45deg);transform-origin:center;width:0;height:0;border:6px solid transparent;border-left-color:#e1e1e1}.header[data-v-94a0a962]{height:40px;display:flex;align-items:center;border-bottom:1px solid #f0f0f0;cursor:move}.title[data-v-94a0a962]{flex:1;font-size:13px;padding-left:10px}.close-btn[data-v-94a0a962]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;color:#666;font-size:12px;cursor:pointer}.content[data-v-94a0a962]{flex:1;padding:10px;overflow:auto}.select-panel[data-v-8d6111bd]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.handler[data-v-8d6111bd]{height:24px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.handler .icon-btns[data-v-8d6111bd]{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end}.handler .icon-btn[data-v-8d6111bd]{width:16px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.handler .icon-btn[data-v-8d6111bd]:hover{color:#d14424}.element-list[data-v-8d6111bd]{height:calc(100% - 32px);padding-right:10px;margin-right:-10px;overflow:auto}.item[data-v-8d6111bd]{padding:5px;font-size:12px;border-radius:2px;display:flex;align-items:center;cursor:pointer}.item.active[data-v-8d6111bd]{background-color:#d144241a}.item.group-active[data-v-8d6111bd]{background-color:#d1442433}.item[data-v-8d6111bd]:hover{background-color:#d1442440}.item .name[data-v-8d6111bd]{height:18px;line-height:18px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item .icons[data-v-8d6111bd]{width:20px;display:flex;align-items:center;justify-content:center;margin-left:5px}.group-els[data-v-8d6111bd]{padding:5px 0}.group-els .group-title[data-v-8d6111bd]{margin-bottom:5px;padding:0 5px}.group-els .item[data-v-8d6111bd]{margin-left:15px}.input[data-v-8d6111bd]{width:100%;height:16px;border:0;outline:0;padding-left:0;padding-right:0;flex:1;font-size:12px;background-color:transparent}.search-panel[data-v-2536ae51]{font-size:13px}.content[data-v-2536ae51]{display:flex;flex-direction:column;justify-content:space-between}.input[data-v-2536ae51]{margin-top:10px}.count[data-v-2536ae51]{font-size:12px;margin-right:8px;-webkit-user-select:none;user-select:none}.ignore-case[data-v-2536ae51]{font-size:12px;-webkit-user-select:none;user-select:none;cursor:pointer}.ignore-case.active[data-v-2536ae51]{color:#d14424}.next-btn[data-v-2536ae51]{width:22px;height:100%;display:flex;justify-content:center;align-items:center;margin:0!important;-webkit-user-select:none;user-select:none;cursor:pointer}.next-btn[data-v-2536ae51]:hover{color:#d14424}.footer[data-v-2536ae51]{display:flex;justify-content:flex-end;align-items:center;margin-top:10px}.close-btn[data-v-2536ae51]{width:32px;height:32px;position:absolute;top:8px;right:3px;display:flex;justify-content:center;align-items:center;color:#666;font-size:12px;cursor:pointer}.notes-panel[data-v-3d769863]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.container[data-v-3d769863]{height:100%;display:flex;flex-direction:column}.notes[data-v-3d769863]{flex:1;overflow:auto;margin:0 -10px;padding:2px 12px}.empty[data-v-3d769863]{width:100%;height:100%;color:#999;font-style:italic;display:flex;justify-content:center;align-items:center}.note[data-v-3d769863]{border:1px solid #eee;border-radius:4px;padding:10px}.note+.note[data-v-3d769863]{margin-top:10px}.note.active[data-v-3d769863]{background-color:#f7f7f7}.note .header[data-v-3d769863]{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.note .header:hover .btns[data-v-3d769863]{opacity:1}.note .user[data-v-3d769863]{display:flex;align-items:center}.note .user .avatar[data-v-3d769863]{width:30px;height:30px;border-radius:50%;background-color:#42ba97;color:#fff;font-size:18px;display:flex;justify-content:center;align-items:center;margin-right:10px}.note .user .username[data-v-3d769863]{font-size:14px}.note .user .time[data-v-3d769863]{font-size:12px;color:#aaa}.note .btns[data-v-3d769863]{display:flex;align-items:center;opacity:0}.note .btns .btn[data-v-3d769863]{margin-left:5px;cursor:pointer}.note .btns .btn[data-v-3d769863]:hover{text-decoration:underline;color:#d14424}.note .replies[data-v-3d769863]{margin-left:20px;margin-top:15px}.note .replies .reply-item[data-v-3d769863]{margin-top:10px}.note .replies .reply-item .content[data-v-3d769863]{margin-top:5px}.note-reply[data-v-3d769863]{margin-top:15px}.reply-btns[data-v-3d769863]{margin-top:5px;text-align:right}.reply-btns .btn[data-v-3d769863]{margin-left:8px}.send[data-v-3d769863]{height:120px;flex-shrink:0;text-align:right;display:flex;flex-direction:column;justify-content:flex-end}.send .footer[data-v-3d769863]{margin-top:10px;display:flex}.send .footer .btn+.btn[data-v-3d769863]{margin-left:8px;flex-shrink:0}.pptist-editor[data-v-39fd665d]{height:100%}.layout-header[data-v-39fd665d]{height:40px}.layout-content[data-v-39fd665d]{height:calc(100% - 40px);display:flex}.layout-content-left[data-v-39fd665d]{width:160px;height:100%;flex-shrink:0}.layout-content-center[data-v-39fd665d]{width:calc(100% - 420px)}.layout-content-center .center-top[data-v-39fd665d]{height:40px}.layout-content-right[data-v-39fd665d]{width:260px;height:100%}.screen-element-video[data-v-d9f232b0]{position:absolute}.rotate-wrapper[data-v-d9f232b0],.element-content[data-v-d9f232b0]{width:100%;height:100%}.screen-element-audio[data-v-94802f8e]{position:absolute}.rotate-wrapper[data-v-94802f8e]{width:100%;height:100%}.element-content[data-v-94802f8e]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.element-content:hover .audio-player[data-v-94802f8e]{display:block}.audio-icon[data-v-94802f8e]{cursor:pointer}.audio-player[data-v-94802f8e]{position:absolute;display:none}.link[data-v-28b05f52]{cursor:pointer}.screen-slide[data-v-7ee8460e]{position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden}.background[data-v-7ee8460e]{width:100%;height:100%;background-position:center;position:absolute}.screen-slide-list[data-v-21b28464]{background:#1d1d1d;position:relative;width:100%;height:100%}.slide-item[data-v-21b28464]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-21b28464]{z-index:2}.slide-item.hide[data-v-21b28464]{opacity:0}.slide-item.turning-mode-no.before[data-v-21b28464]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-21b28464]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-21b28464]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-21b28464],.slide-item.turning-mode-fade.after[data-v-21b28464]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-21b28464]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-21b28464]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-21b28464]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-21b28464]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-21b28464]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-21b28464]{transform:translateY(100%)}.slide-item.turning-mode-slideX3D[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-slideX3D.before[data-v-21b28464]{transform:translate(-100%) scale(.5)}.slide-item.turning-mode-slideX3D.after[data-v-21b28464]{transform:translate(100%) scale(.5)}.slide-item.turning-mode-slideY3D[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-slideY3D.before[data-v-21b28464]{transform:translateY(-100%) scale(.5)}.slide-item.turning-mode-slideY3D.after[data-v-21b28464]{transform:translateY(100%) scale(.5)}.slide-item.turning-mode-rotate[data-v-21b28464]{transition:transform .5s;transform-origin:0 0}.slide-item.turning-mode-rotate.before[data-v-21b28464]{transform:rotate(90deg)}.slide-item.turning-mode-rotate.after[data-v-21b28464]{transform:rotate(-90deg)}.slide-item.turning-mode-scaleY[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-scaleY.before[data-v-21b28464],.slide-item.turning-mode-scaleY.after[data-v-21b28464]{transform:scaleY(.1)}.slide-item.turning-mode-scaleX[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-scaleX.before[data-v-21b28464],.slide-item.turning-mode-scaleX.after[data-v-21b28464]{transform:scaleX(.1)}.slide-item.turning-mode-scale[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-scale.before[data-v-21b28464],.slide-item.turning-mode-scale.after[data-v-21b28464]{transform:scale(.25)}.slide-item.turning-mode-scaleReverse[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-scaleReverse.before[data-v-21b28464],.slide-item.turning-mode-scaleReverse.after[data-v-21b28464]{transform:scale(2)}.slide-content[data-v-21b28464]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.slide-thumbnails[data-v-09d790f0]{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#1a1a1a;z-index:99}.return-button[data-v-09d790f0]{height:60px;padding:20px 30px 0}.return-button .icon[data-v-09d790f0]{color:#fff;font-size:36px;cursor:pointer}.return-button .icon[data-v-09d790f0]:hover{color:#d14424}.slide-thumbnails-content[data-v-09d790f0]{height:calc(100% - 100px);padding:20px 30px 30px;display:flex;flex-wrap:wrap;align-content:flex-start;overflow:auto;overflow:overlay}.slide-thumbnails-content .thumbnail[data-v-09d790f0]{width:150px;outline:2px solid #aaa;margin-right:12px;margin-bottom:12px}.slide-thumbnails-content .thumbnail[data-v-09d790f0]:hover{outline-color:#d14424}.slide-thumbnails-content .thumbnail.active[data-v-09d790f0]{outline-width:3px;outline-color:#d14424}.writing-board[data-v-55ae5f6c]{z-index:8;cursor:none;position:absolute;top:0;right:0;bottom:0;left:0}.blackboard[data-v-55ae5f6c]{width:100%;height:100%;background-color:#0f392b}.canvas[data-v-55ae5f6c]{position:absolute;top:0;left:0}.eraser[data-v-55ae5f6c],.pen[data-v-55ae5f6c]{pointer-events:none;position:absolute;z-index:9}.eraser .icon[data-v-55ae5f6c],.pen .icon[data-v-55ae5f6c]{filter:drop-shadow(2px 2px 2px #555)}.eraser[data-v-55ae5f6c]{display:flex;justify-content:center;align-items:center;border-radius:50%;border:4px solid rgba(85,85,85,.15);color:#555555bf}.writing-board-tool[data-v-47295ef6]{font-size:12px;z-index:10;position:absolute;top:0;right:0;bottom:0;left:0}.writing-board-tool .writing-board-wrap[data-v-47295ef6]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.writing-board-tool .tools[data-v-47295ef6]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between}.writing-board-tool .tool-content[data-v-47295ef6]{display:flex;align-items:center}.writing-board-tool .btn[data-v-47295ef6]{padding:5px 10px;cursor:pointer}.writing-board-tool .btn[data-v-47295ef6]:hover{color:#d14424}.writing-board-tool .btn.active[data-v-47295ef6]{background-color:#d1442480;color:#fff}.writing-board-tool .icon[data-v-47295ef6]{font-size:20px}.writing-board-tool .colors[data-v-47295ef6]{display:flex;padding:0 10px}.writing-board-tool .color[data-v-47295ef6]{width:16px;height:16px;border-radius:2px;cursor:pointer}.writing-board-tool .color[data-v-47295ef6]:hover{transform:scale(1.15)}.writing-board-tool .color.active[data-v-47295ef6]{transform:scale(1.3)}.writing-board-tool .color+.color[data-v-47295ef6]{margin-left:8px}.size[data-v-47295ef6]{width:200px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;font-size:13px}.size .label[data-v-47295ef6]{width:70px}.size .size-slider[data-v-47295ef6]{flex:1}.countdown-timer[data-v-92c1f9be]{-webkit-user-select:none;user-select:none}.header[data-v-92c1f9be]{height:16px;font-size:13px;margin-bottom:16px;display:flex;align-items:center}.header .text-btn[data-v-92c1f9be]{margin-right:8px;cursor:pointer}.header .text-btn[data-v-92c1f9be]:hover,.header .text-btn.active[data-v-92c1f9be]{color:#d14424}.content[data-v-92c1f9be]{display:flex;justify-content:space-between;padding:0 5px}.timer[data-v-92c1f9be]{width:54px;height:54px;border-radius:50%;background-color:#d144240d;font-size:22px;overflow:hidden}.timer input[data-v-92c1f9be]{width:100%;height:100%;border:0;outline:0;background-color:transparent;text-align:center}.colon[data-v-92c1f9be]{height:54px;line-height:54px;font-size:22px}.icon-btn[data-v-92c1f9be]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.pause[data-v-92c1f9be],.play[data-v-92c1f9be]{font-size:17px}.reset[data-v-92c1f9be]{font-size:12px}.close-btn[data-v-92c1f9be]{position:absolute;top:0;right:0;padding:10px;cursor:pointer}.base-view[data-v-85c13201]{width:100%;height:100%}.base-view.laser-pen[data-v-85c13201]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.tools-left[data-v-85c13201]{position:fixed;bottom:8px;left:8px;font-size:25px;color:#666;z-index:10}.tools-left .tool-btn[data-v-85c13201]{opacity:.35;cursor:pointer}.tools-left .tool-btn[data-v-85c13201]:hover{opacity:.9}.tools-left .tool-btn+.tool-btn[data-v-85c13201]{margin-left:8px}.tools-right[data-v-85c13201]{height:66px;position:fixed;bottom:-66px;right:0;z-index:5;padding:8px;transition:bottom .2s}.tools-right.visible[data-v-85c13201]{bottom:0}.tools-right[data-v-85c13201]:after{content:"";width:100%;height:66px;position:absolute;left:0;top:-66px}.tools-right .content[data-v-85c13201]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:2px;font-size:25px;background-color:#fff;color:#41464b;padding:8px 10px;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed}.tools-right .tool-btn[data-v-85c13201]{cursor:pointer}.tools-right .tool-btn[data-v-85c13201]:hover,.tools-right .tool-btn.active[data-v-85c13201]{color:#d14424}.tools-right .tool-btn+.tool-btn[data-v-85c13201]{margin-left:15px}.tools-right .page-number[data-v-85c13201]{font-size:13px;padding:8px 12px;cursor:pointer}.presenter-view[data-v-691774ef]{width:100%;height:100%;display:flex}.toolbar[data-v-691774ef]{width:70px;height:100%;background-color:#fff;border-right:solid 1px #eee;font-size:12px;margin:20px 0}.toolbar .tool-btn[data-v-691774ef]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer}.toolbar .tool-btn+.tool-btn[data-v-691774ef]{margin-top:22px}.toolbar .tool-btn[data-v-691774ef]:hover,.toolbar .tool-btn.active[data-v-691774ef]{color:#d14424}.toolbar .divider[data-v-691774ef]{width:70%;margin:24px 15%!important}.toolbar .tool-icon[data-v-691774ef]{margin-bottom:8px;font-size:22px}.content[data-v-691774ef]{width:calc(100% - 430px);height:100%;background-color:#1d1d1d}.slide-list-wrap[data-v-691774ef]{height:calc(100% - 190px);margin:20px;overflow:hidden;position:relative}.slide-list-wrap.laser-pen[data-v-691774ef]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.thumbnails[data-v-691774ef]{height:150px;padding:15px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;border-top:solid 1px #3a3a3a}.thumbnail[data-v-691774ef]{display:inline-block;outline:2px solid #aaa}.thumbnail+.thumbnail[data-v-691774ef]{margin-left:10px}.thumbnail[data-v-691774ef]:hover{outline-color:#d14424}.thumbnail.active[data-v-691774ef]{outline-width:3px;outline-color:#d14424}.remark[data-v-691774ef]{width:360px;height:100%;position:relative;background-color:#2a2a2a;border-left:solid 1px #3a3a3a;color:#fff}.remark .header[data-v-691774ef]{height:60px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;font-size:18px;border-bottom:1px solid #3a3a3a}.remark .remark-content[data-v-691774ef]{height:calc(100% - 60px);padding:20px;line-height:1.5;overflow:auto;overflow:overlay}.remark .remark-scale[data-v-691774ef]{position:absolute;right:5px;bottom:5px;font-size:22px;display:flex}.remark .scale-btn[data-v-691774ef]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer}.remark .scale-btn.disable[data-v-691774ef]{color:#666;cursor:no-drop}.remark .scale-btn[data-v-691774ef]:not(.disable):hover{background-color:#333}[data-v-691774ef]::-webkit-scrollbar{width:0;height:0}.pptist-screen[data-v-2f0dc4b8]{width:100%;height:100%}.mobile-operate[data-v-b61bf2dc]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.mobile-thumbnails[data-v-f47af55e]{padding:10px;white-space:nowrap;overflow-x:auto;overflow-y:hidden}.thumbnail-item[data-v-f47af55e]{position:relative;display:inline-block;outline:2px solid #aaa}.thumbnail-item+.thumbnail-item[data-v-f47af55e]{margin-left:10px}.thumbnail-item.active[data-v-f47af55e]{outline-color:#d14424}.thumbnail-item.active .label[data-v-f47af55e]{background-color:#d14424}.thumbnail-item .label[data-v-f47af55e]{min-width:20px;height:14px;line-height:14px;position:absolute;right:-1px;top:-1px;color:#fff;background-color:#aaa;z-index:1;font-size:12px;text-align:center;padding:0 5px}.sortable-chosen[data-v-f47af55e]{top:-5px}[data-v-f47af55e]::-webkit-scrollbar{width:0;height:0}.slide-toolbar[data-v-bceba327]{height:230px;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;position:relative;z-index:2}.remark[data-v-bceba327]{position:relative;flex:1;border-bottom:1px solid #eee;line-height:1.5}.remark textarea[data-v-bceba327]{width:100%;height:100%;overflow-y:auto;resize:none;border:0;outline:0;padding:8px 10px;font-size:12px;box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0}.toolbar[data-v-bceba327]{height:90px;border-bottom:1px solid #eee;padding:10px}.row[data-v-bceba327]{width:100%;display:flex;align-items:center;margin-bottom:5px}.row .icon[data-v-bceba327]{margin-right:3px}.element-toolbar[data-v-65decaff]{width:100%;height:240px;position:absolute;z-index:99;bottom:0;left:0;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;animation:slideInUp-65decaff .15s}@keyframes slideInUp-65decaff{0%{transform:translateY(100%)}to{transform:translateY(0)}}.content[data-v-65decaff]{padding:10px;flex:1;overflow:auto}.row[data-v-65decaff]{width:100%;display:flex;align-items:center;margin-bottom:10px}.row .icon[data-v-65decaff]{margin-right:3px}.row-block[data-v-65decaff]{margin-bottom:10px;background-color:#f9f9f9;border-radius:2px;padding:10px}.label[data-v-65decaff]{font-size:13px;margin-bottom:20px;margin-left:6px}.colors[data-v-65decaff]{display:flex;flex-wrap:wrap;align-content:flex-start}.color[data-v-65decaff]{width:12%;margin-bottom:calc(4% / 7);padding-bottom:5px;display:flex;justify-content:center;align-items:center}.color[data-v-65decaff]:not(:nth-child(8n)){margin-right:calc(4% / 7)}.color .color-block[data-v-65decaff]{width:30px;height:30px;border-radius:50%}.mobile-editor-header[data-v-091403e4]{height:50px;background-color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:13px;box-shadow:0 0 15px #0000001a;position:relative;z-index:2}.history[data-v-091403e4]{display:flex;justify-content:center;align-items:center}.history-item[data-v-091403e4]{margin-right:20px}.history-item.disable[data-v-091403e4]{opacity:.5}.mobile-editor[data-v-8b282f2e]{height:100%;position:relative;background-color:#f9f9f9}.content[data-v-8b282f2e]{height:calc(100% - 280px);display:flex;justify-content:center;align-items:center}.viewport[data-v-8b282f2e]{transform-origin:0 0}.viewport-wrapper[data-v-8b282f2e]{position:relative;box-shadow:0 0 15px #0000001a}.background[data-v-8b282f2e]{width:100%;height:100%;background-position:center;position:absolute}.mobile-player[data-v-c846a018]{transform-origin:0 0;background-color:#1d1d1d;position:relative}.screen-slide-list[data-v-c846a018]{position:relative;width:100%;height:100%}.slide-item[data-v-c846a018]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-c846a018]{z-index:2}.slide-item.hide[data-v-c846a018]{opacity:0}.slide-item.turning-mode-no.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-c846a018]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-c846a018]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-c846a018],.slide-item.turning-mode-fade.after[data-v-c846a018]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-c846a018]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-c846a018]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-c846a018]{transform:translateY(100%)}.slide-content[data-v-c846a018]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.header[data-v-c846a018]{width:100%;height:40px;line-height:40px;padding:0 15px;position:absolute;top:0;left:0;z-index:99;background-color:#1d1d1db3;text-align:right;font-size:13px;color:#fff;animation:slideInDown-c846a018 .15s}.header .back[data-v-c846a018]{height:100%}.thumbnails[data-v-c846a018]{width:100%;position:absolute;bottom:0;left:0;z-index:99;background-color:#1d1d1db3;overflow:auto!important;animation:slideInUp-c846a018 .15s}@keyframes slideInUp-c846a018{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInDown-c846a018{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.mobile-preview[data-v-99aa0ac4]{height:100%;background-color:#f9f9f9}.thumbnail-list[data-v-99aa0ac4]{height:calc(100% - 50px);padding:10px;overflow:auto}.thumbnail-item[data-v-99aa0ac4]{display:flex;justify-content:center;align-items:center;box-shadow:0 0 15px #0000001a}.thumbnail-item+.thumbnail-item[data-v-99aa0ac4]{margin-top:10px}.menu[data-v-99aa0ac4]{height:50px;position:relative;box-shadow:0 -2px 4px #3333330d;background:#fff;display:flex;justify-content:center;align-items:center}.menu .menu-item[data-v-99aa0ac4]{width:50%;height:100%;display:flex;justify-content:center;align-items:center;font-size:13px}.menu .menu-item .icon[data-v-99aa0ac4]{margin-right:8px;font-size:18px}.mobile[data-v-d02011cb],#app{height:100%}.i-icon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.i-icon-spin svg{animation:i-icon-spin 1s infinite linear}.i-icon-rtl{transform:scaleX(-1)}@keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}/*! +@charset "UTF-8";.message[data-v-5f638602]{max-width:600px}.message+.message[data-v-5f638602]{margin-top:15px}.message-container[data-v-5f638602]{min-width:50px;display:flex;align-items:center;padding:10px;font-size:13px;overflow:hidden;border-radius:2px;box-shadow:0 1px 8px #00000026;background:#fff;pointer-events:all;position:relative}.message-container .icons[data-v-5f638602]{display:flex;align-items:center;margin-right:10px}.message-container .title[data-v-5f638602]{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-container .content[data-v-5f638602]{width:100%}.message-container .description[data-v-5f638602]{line-height:1.5;color:#41464b}.message-container .title+.description[data-v-5f638602]{margin-top:5px}.message-container .control[data-v-5f638602]{position:relative;height:100%;margin-left:10px}.message-container .close-btn[data-v-5f638602]{font-size:15px;color:#666;display:flex;align-items:center;cursor:pointer}.message-container .close-btn[data-v-5f638602]:hover{color:#d14424}.message-fade-enter-active[data-v-5f638602]{animation:message-fade-in-down-5f638602 .3s}.message-fade-leave-active[data-v-5f638602]{animation:message-fade-out-5f638602 .3s}@keyframes message-fade-in-down-5f638602{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes message-fade-out-5f638602{0%{opacity:1;margin-top:0}to{opacity:0;margin-top:-45px}}.hotkey-doc[data-v-0762be00]{height:100%;overflow:auto;font-size:12px;margin:0 -15px;padding:0 15px 15px}.title[data-v-0762be00]{font-size:14px;font-weight:700;border-bottom:1px solid #e5e5e5;padding:25px 0 5px}.title[data-v-0762be00]:first-child{padding-top:0}.hotkey-item[data-v-0762be00]{border-bottom:1px solid #e5e5e5;padding:15px 0 5px;display:flex;align-items:center}.label[data-v-0762be00]{width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input[data-v-1bd53d05]{display:none}.fullscreen-spin[data-v-9856918a]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;justify-content:center;align-items:center;background-color:#f1f1f1b3}.spin[data-v-9856918a]{width:200px;height:200px;position:fixed;top:50%;left:50%;margin-top:-100px;margin-left:-100px;display:flex;flex-direction:column;justify-content:center;align-items:center}.spinner[data-v-9856918a]{width:36px;height:36px;border:3px solid #d14424;border-top-color:transparent;border-radius:50%;animation:spinner-9856918a .8s linear infinite}.text[data-v-9856918a]{margin-top:20px;color:#d14424}@keyframes spinner-9856918a{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.drawer[data-v-46f39759]{height:100%;position:fixed;top:0;bottom:0;z-index:5000;background:#fff;display:flex;flex-direction:column}.drawer.left[data-v-46f39759]{left:0;box-shadow:3px 0 6px -4px #0000001f,9px 0 28px 8px #0000000d}.drawer.right[data-v-46f39759]{right:0;box-shadow:-3px 0 6px -4px #0000001f,-9px 0 28px 8px #0000000d}.header[data-v-46f39759]{height:50px;padding:0 15px;position:relative;display:flex;align-items:center}.header .close-btn[data-v-46f39759]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:15px;right:15px;cursor:pointer}.content[data-v-46f39759]{padding:0 15px;overflow:auto;flex:1}.drawer-slide-right-enter-active[data-v-46f39759]{animation:drawer-slide-right-enter-46f39759 .25s both ease}.drawer-slide-right-leave-active[data-v-46f39759]{animation:drawer-slide-right-leave-46f39759 .25s both ease}.drawer-slide-left-enter-active[data-v-46f39759]{animation:drawer-slide-left-enter-46f39759 .25s both ease}.drawer-slide-left-leave-active[data-v-46f39759]{animation:drawer-slide-left-leave-46f39759 .25s both ease}@keyframes drawer-slide-right-enter-46f39759{0%{transform:translate(100%)}}@keyframes drawer-slide-right-leave-46f39759{to{transform:translate(100%)}}@keyframes drawer-slide-left-enter-46f39759{0%{transform:translate(-100%)}}@keyframes drawer-slide-left-leave-46f39759{to{transform:translate(-100%)}}.input[data-v-08dd2583]{background-color:#fff;border:1px solid #d9d9d9;padding:0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:flex}.input input[data-v-08dd2583]{min-width:0;height:30px;outline:0;border:0;line-height:30px;vertical-align:top;color:#41464b;padding:0 5px;flex:1;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.input input[data-v-08dd2583]::placeholder{color:#bfbfbf}.input[data-v-08dd2583]:not(.disabled):hover,.input.focused[data-v-08dd2583]{border-color:#d14424}.input.disabled[data-v-08dd2583]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.input .prefix[data-v-08dd2583],.input .suffix[data-v-08dd2583]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0}.popover.center[data-v-7277ff01]{display:flex;justify-content:center;align-items:center}.popover-content[data-v-7277ff01]{background-color:#fff;padding:10px;border:1px solid #eee;box-shadow:3px 3px 3px #00000026;border-radius:2px;font-size:13px}.tippy-box[data-theme~=popover]{border:0;outline:0}.popover-menu-item[data-v-1f176c16]{min-width:80px;padding:6px 10px;border-radius:2px;font-size:13px;cursor:pointer}.popover-menu-item.center[data-v-1f176c16]{text-align:center}.popover-menu-item[data-v-1f176c16]:hover{background-color:#f1f1f1}.popover-menu-item+.popover-menu-item[data-v-1f176c16]{margin-top:2px}.editor-header[data-v-89efe6b2]{background-color:#fff;-webkit-user-select:none;user-select:none;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:0 5px}.left[data-v-89efe6b2],.right[data-v-89efe6b2]{display:flex;justify-content:center;align-items:center}.menu-item[data-v-89efe6b2]{height:30px;display:flex;justify-content:center;align-items:center;font-size:14px;padding:0 10px;border-radius:2px;cursor:pointer}.menu-item .icon[data-v-89efe6b2]{font-size:18px;color:#666}.menu-item[data-v-89efe6b2]:hover{background-color:#f1f1f1}.group-menu-item[data-v-89efe6b2]{height:30px;display:flex;margin:0 8px;padding:0 2px;border-radius:2px}.group-menu-item[data-v-89efe6b2]:hover{background-color:#f1f1f1}.group-menu-item .menu-item[data-v-89efe6b2]{padding:0 3px}.group-menu-item .arrow-btn[data-v-89efe6b2]{display:flex;justify-content:center;align-items:center;cursor:pointer}.title[data-v-89efe6b2]{height:32px;margin-left:2px;font-size:13px}.title .title-input[data-v-89efe6b2]{width:200px;height:100%;padding-left:0;padding-right:0}.title .title-text[data-v-89efe6b2]{min-width:20px;max-width:400px;line-height:32px;padding:0 6px;border-radius:2px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.title .title-text[data-v-89efe6b2]:hover{background-color:#f1f1f1}.github-link[data-v-89efe6b2]{display:inline-block;height:30px}svg[data-v-09a0319c]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-19e68d74]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-a036b0a3]{overflow:visible;position:absolute;z-index:2;top:0;left:0}.image-clip-handler[data-v-31b3b0f9]{width:100%;height:100%;position:relative}.image-clip-handler .bottom-img[data-v-31b3b0f9]{top:0;left:0;width:100%;height:100%;opacity:.5}.image-clip-handler img[data-v-31b3b0f9]{width:100%;height:100%}.image-clip-handler .top-image-content[data-v-31b3b0f9]{position:absolute;overflow:hidden}.image-clip-handler .top-image-content img[data-v-31b3b0f9]{position:absolute}.operate[data-v-31b3b0f9]{position:absolute;width:100%;height:100%;top:0;left:0;cursor:move}.clip-point[data-v-31b3b0f9]{position:absolute;width:16px;height:16px}.clip-point svg[data-v-31b3b0f9]{overflow:visible}.clip-point.left-top[data-v-31b3b0f9]{left:0;top:0}.clip-point.right-top[data-v-31b3b0f9]{left:100%;top:0;transform:rotate(90deg);transform-origin:0 0}.clip-point.left-bottom[data-v-31b3b0f9]{left:0;top:100%;transform:rotate(-90deg);transform-origin:0 0}.clip-point.right-bottom[data-v-31b3b0f9]{left:100%;top:100%;transform:rotate(180deg);transform-origin:0 0}.clip-point.top[data-v-31b3b0f9]{left:50%;top:0;margin-left:-8px}.clip-point.bottom[data-v-31b3b0f9]{left:50%;bottom:0;margin-left:-8px;transform:rotate(180deg)}.clip-point.left[data-v-31b3b0f9]{left:0;top:50%;margin-top:-8px;transform:rotate(-90deg)}.clip-point.right[data-v-31b3b0f9]{right:0;top:50%;margin-top:-8px;transform:rotate(90deg)}.clip-point.left-top.rotate-0[data-v-31b3b0f9],.clip-point.right-bottom.rotate-0[data-v-31b3b0f9],.clip-point.left.rotate-45[data-v-31b3b0f9],.clip-point.right.rotate-45[data-v-31b3b0f9],.clip-point.left-bottom.rotate-90[data-v-31b3b0f9],.clip-point.right-top.rotate-90[data-v-31b3b0f9],.clip-point.top.rotate-135[data-v-31b3b0f9],.clip-point.bottom.rotate-135[data-v-31b3b0f9]{cursor:nwse-resize}.clip-point.top.rotate-0[data-v-31b3b0f9],.clip-point.bottom.rotate-0[data-v-31b3b0f9],.clip-point.left-top.rotate-45[data-v-31b3b0f9],.clip-point.right-bottom.rotate-45[data-v-31b3b0f9],.clip-point.left.rotate-90[data-v-31b3b0f9],.clip-point.right.rotate-90[data-v-31b3b0f9],.clip-point.left-bottom.rotate-135[data-v-31b3b0f9],.clip-point.right-top.rotate-135[data-v-31b3b0f9]{cursor:ns-resize}.clip-point.left-bottom.rotate-0[data-v-31b3b0f9],.clip-point.right-top.rotate-0[data-v-31b3b0f9],.clip-point.top.rotate-45[data-v-31b3b0f9],.clip-point.bottom.rotate-45[data-v-31b3b0f9],.clip-point.left-top.rotate-90[data-v-31b3b0f9],.clip-point.right-bottom.rotate-90[data-v-31b3b0f9],.clip-point.left.rotate-135[data-v-31b3b0f9],.clip-point.right.rotate-135[data-v-31b3b0f9]{cursor:nesw-resize}.clip-point.left.rotate-0[data-v-31b3b0f9],.clip-point.right.rotate-0[data-v-31b3b0f9],.clip-point.left-bottom.rotate-45[data-v-31b3b0f9],.clip-point.right-top.rotate-45[data-v-31b3b0f9],.clip-point.top.rotate-90[data-v-31b3b0f9],.clip-point.bottom.rotate-90[data-v-31b3b0f9],.clip-point.left-top.rotate-135[data-v-31b3b0f9],.clip-point.right-bottom.rotate-135[data-v-31b3b0f9]{cursor:ew-resize}.editable-element-image[data-v-d615c21a]{position:absolute}.editable-element-image.lock .element-content[data-v-d615c21a]{cursor:default}.rotate-wrapper[data-v-d615c21a]{width:100%;height:100%}.element-content[data-v-d615c21a]{width:100%;height:100%;position:relative;cursor:move}.element-content .image-content[data-v-d615c21a]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-d615c21a]{position:absolute}.color-mask[data-v-d615c21a]{position:absolute;top:0;bottom:0;left:0;right:0}svg[data-v-e2ef58f5]{overflow:visible;position:absolute;top:0;left:0}.prosemirror-editor[data-v-23fdc807]{cursor:text}.prosemirror-editor.format-painter[data-v-23fdc807]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzUuMDEybC0uMDY2Ljk5OGE1LjI3MSA1LjI3MSAwIDAwLTEuMTg0LjA2IDMuOCAzLjggMCAwMC0uOTMzLjQ3MmMtLjQ0LjM1Ni0uNzgzLjgxMS0uOTk4IDEuMzI0bC4wMTgtLjAzNnY1LjEyaDEuMDR2Ljk4aC0xLjA0bC0uMDAyIDQuMTVjLjE4Ny40MjYuNDYuODEuNzkxIDEuMTE3bC4xNzUuMTUyYy4yOTMuMjA4LjYxNS4zNzMuODkuNDcyLjQxLjA4Mi44My4xMTIgMS4yNDkuMDlsLjA1Ny45OTlhNi4wNjMgNi4wNjMgMCAwMS0xLjU4OC0uMTI5IDQuODM2IDQuODM2IDAgMDEtMS4yNS0uNjQ3IDQuNDYzIDQuNDYzIDAgMDEtLjgzOC0uODgzYy0uMjI0LjMzMi0uNS42NDItLjgyNC45MjdhNC4xMSA0LjExIDAgMDEtMS4zMDUuNjMzQTYuMTI2IDYuMTI2IDAgMDEwIDE1LjkwOWwuMDY4LS45OTdjLjQyNC4wMjYuODUtLjAwMSAxLjIxNy0uMDcuMzM2LS4wOTkuNjUxLS4yNTQuODk0LS40My40My0uMzguNzY1LS44NDcuOTgyLTEuMzY4bC0uMDA1LjAxNFY4LjkzSDIuMTE1di0uOThoMS4wNFYyLjg2MmEzLjc3IDMuNzcgMCAwMC0uNzc0LTEuMTY3bC0uMTY1LS4xNTZhMy4wNjQgMy4wNjQgMCAwMC0uODgtLjQ0OEE1LjA2MiA1LjA2MiAwIDAwLjA2NyAxLjAxTDAgLjAxMmE2LjE0IDYuMTQgMCAwMTEuNTkyLjExYy40NTMuMTM1Ljg3Ny4zNDUgMS4yOS42NS4zLjI2NS41NjUuNTY0Ljc4Ny44OS4yMzMtLjMzMS41Mi0uNjM0Ljg1My0uOTA0YTQuODM1IDQuODM1IDAgMDExLjMtLjY0OEE2LjE1NSA2LjE1NSAwIDAxNy4zNS4wMTJ6IiBmaWxsPSIjMEQwRDBEIi8+PHBhdGggZD0iTTE3LjM1IDE0LjVsNC41LTQuNS02LTZjLTIgMi0zIDItNS41IDIuNS40IDMuMiA0LjgzMyA2LjY2NyA3IDh6bTQuNTg4LTQuNDkzYS4zLjMgMCAwMC40MjQgMGwuNjgtLjY4YTEuNSAxLjUgMCAwMDAtMi4xMjJMMjEuNjkgNS44NTNsMi4wMjUtMS41ODNhMS42MjkgMS42MjkgMCAxMC0yLjI3OS0yLjI5NmwtMS42MDMgMi4wMjItMS4zNTctMS4zNTdhMS41IDEuNSAwIDAwLTIuMTIxIDBsLS42OC42OGEuMy4zIDAgMDAwIC40MjVsNi4yNjMgNi4yNjN6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTE1Ljg5MiAzLjk2MnMtMS4wMyAxLjIwMi0yLjQ5NCAxLjg5Yy0xLjAwNi40NzQtMi4xOC41ODYtMi43MzQuNjI3LS4yLjAxNS0uMzQ0LjIxLS4yNzYuMzk5LjI5Mi44MiAxLjExMiAyLjggMi42NTggNC4zNDYgMi4xMjYgMi4xMjcgMy42NTggMi45NjggNC4xNDIgMy4yMDMuMS4wNDguMjE0LjAzLjI5OC0uMDQyLjM4Ni0uMzI1IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5Mi0uODg5IDIuMTg3LTIuNDQ3IDIuMTg3LTIuNDQ3bS40NzkuMDU1YS4zLjMgMCAwMS0uNDI0IDBsLTYuMjY0LTYuMjYzYS4zLjMgMCAwMTAtLjQyNWwuNjgtLjY4YTEuNSAxLjUgMCAwMTIuMTIyIDBsMS4zNTcgMS4zNTcgMS42MDMtMi4wMjJhMS42MjkgMS42MjkgMCAxMTIuMjggMi4yOTZMMjEuNjkgNS44NTNsMS4zNTIgMS4zNTJhMS41IDEuNSAwIDAxMCAyLjEyMmwtLjY4LjY4eiIgc3Ryb2tlPSIjMzMzIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+) 2 5,default!important}.editable-element-text[data-v-88c920e1]{position:absolute}.editable-element-text.lock .element-content[data-v-88c920e1]{cursor:default}.rotate-wrapper[data-v-88c920e1]{width:100%;height:100%}.element-content[data-v-88c920e1]{position:relative;padding:10px;line-height:1.5;word-break:break-word;cursor:move}.element-content .text[data-v-88c920e1]{position:relative}.element-content[data-v-88c920e1] a{cursor:text}.drag-handler[data-v-88c920e1]{height:10px;position:absolute;left:0;right:0}.drag-handler.top[data-v-88c920e1]{top:0}.drag-handler.bottom[data-v-88c920e1]{bottom:0}.editable-element-shape[data-v-63255815]{position:absolute;pointer-events:none}.editable-element-shape.lock .element-content[data-v-63255815]{cursor:default}.editable-element-shape.format-painter .element-content[data-v-63255815]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNzUgMTMuNzY0VjEuNDIxYS4zLjMgMCAwMS40NDgtLjI2bDEwLjkxIDYuMTk3YS4zLjMgMCAwMS0uMTE2LjU1OWwtNC4xOTYuNDQyIDIuNTgyIDQuNDcyYS4zLjMgMCAwMS0uMTEuNDFsLTMuMTg0IDEuODM4YS4zLjMgMCAwMS0uNDEtLjExbC0yLjU4MS00LjQ3Mi0yLjgxIDMuNDU2YS4zLjMgMCAwMS0uNTMzLS4xODl6IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNMjYgMTQuNWw0LjUtNC41LTYtNmMtMiAyLTMgMi01LjUgMi41LjQgMy4yIDQuODMzIDYuNjY3IDcgOHptNC41ODgtNC40OTRhLjMuMyAwIDAwLjQyNCAwbC42OC0uNjhhMS41IDEuNSAwIDAwMC0yLjEyMUwzMC4zNCA1Ljg1MmwyLjAyNi0xLjU4MmExLjYyOSAxLjYyOSAwIDEwLTIuMjgtMi4yOTZsLTEuNjAzIDIuMDIxLTEuMzU3LTEuMzU2YTEuNSAxLjUgMCAwMC0yLjEyIDBsLS42ODEuNjhhLjMuMyAwIDAwMCAuNDI0bDYuMjYzIDYuMjYzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNC41NDMgMy45NjFzLTEuMDMgMS4yMDItMi40OTQgMS44OTFjLTEuMDA2LjQ3NC0yLjE4MS41ODUtMi43MzQuNjI3LS4yLjAxNC0uMzQ0LjIwOS0uMjc3LjM5OC4yOTMuODIgMS4xMTIgMi44MDEgMi42NTggNC4zNDcgMi4xMjYgMi4xMjYgMy42NTkgMi45NjggNC4xNDIgMy4yMDIuMS4wNDguMjE1LjAzLjI5OS0uMDQxLjM4NS0uMzI2IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5MS0uODkgMi4xODYtMi40NDggMi4xODYtMi40NDhtLjQ4LjA1NWEuMy4zIDAgMDEtLjQyNSAwbC02LjI2My02LjI2M2EuMy4zIDAgMDEwLS40MjRsLjY4LS42OGExLjUgMS41IDAgMDEyLjEyMiAwbDEuMzU2IDEuMzU2IDEuNjA0LTIuMDIxYTEuNjI5IDEuNjI5IDAgMTEyLjI3OSAyLjI5NkwzMC4zNCA1Ljg1MmwxLjM1MyAxLjM1M2ExLjUgMS41IDAgMDEwIDIuMTIxbC0uNjguNjh6IiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=) 2 5,default!important}.rotate-wrapper[data-v-63255815]{width:100%;height:100%}.element-content[data-v-63255815]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-63255815]{transform-origin:0 0;overflow:visible}.element-content .shape-path[data-v-63255815]{pointer-events:all}.shape-text[data-v-63255815]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word;pointer-events:none}.shape-text.editable[data-v-63255815]{pointer-events:all}.shape-text.top[data-v-63255815]{justify-content:flex-start}.shape-text.middle[data-v-63255815]{justify-content:center}.shape-text.bottom[data-v-63255815]{justify-content:flex-end}.editable-element-shape[data-v-7ecafe01]{position:absolute;pointer-events:none}.editable-element-shape.lock .line-path[data-v-7ecafe01],.editable-element-shape.lock .line-point[data-v-7ecafe01]{cursor:default}.element-content[data-v-7ecafe01]{width:100%;height:100%;position:relative}.element-content svg[data-v-7ecafe01]{transform-origin:0 0;overflow:visible}.line-path[data-v-7ecafe01],.line-point[data-v-7ecafe01]{pointer-events:all;cursor:move}.ct-label{fill:#0006;color:#0006;font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left}.ct-label.ct-vertical.ct-start{align-items:flex-end;justify-content:flex-end;text-align:right}.ct-label.ct-vertical.ct-end{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-chart-bar .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:center;text-align:center}.ct-chart-bar .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:center;text-align:center}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{align-items:center;justify-content:flex-end;text-align:right}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{align-items:center;justify-content:flex-start;text-align:left}.ct-grid{stroke:#0003;stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#e6805e}.ct-series-i .ct-area,.ct-series-i .ct-slice-pie{fill:#e6805e}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{content:"";display:table;clear:both}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{content:"";display:table;clear:both}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{content:"";display:table;clear:both}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{content:"";display:table;clear:both}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{content:"";display:table;clear:both}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{content:"";display:table;clear:both}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{content:"";display:table;clear:both}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{content:"";display:table;clear:both}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{content:"";display:table;clear:both}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{content:"";display:table;clear:both}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{content:"";display:table;clear:both}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{content:"";display:table;clear:both}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{content:"";display:table;clear:both}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{content:"";display:table;clear:both}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{content:"";display:table;clear:both}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{content:"";display:table;clear:both}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}.chart[data-v-786c4a79]{display:flex}.chart-content[data-v-786c4a79]{transform-origin:0 0}.chart-content{--theme-color-1: #666;--theme-color-2: #666;--theme-color-3: #666;--theme-color-4: #666;--theme-color-5: #666;--theme-color-6: #666;--theme-color-7: #666;--theme-color-8: #666;--theme-color-9: #666;--theme-color-10: #666;--grid-color: rgba(0, 0, 0, .4)}.chart-content .ct-series-a .ct-line,.chart-content .ct-series-a .ct-point{stroke:var(--theme-color-1)}.chart-content .ct-series-a .ct-area{fill:var(--theme-color-1)}.chart-content .ct-series-a .ct-bar{stroke:var(--theme-color-1)}.chart-content .ct-series-a .ct-slice-pie{fill:var(--theme-color-1)}.chart-content .ct-series-a .ct-slice-donut{stroke:var(--theme-color-1)}.chart-content .ct-series-b .ct-line,.chart-content .ct-series-b .ct-point{stroke:var(--theme-color-2)}.chart-content .ct-series-b .ct-area{fill:var(--theme-color-2)}.chart-content .ct-series-b .ct-bar{stroke:var(--theme-color-2)}.chart-content .ct-series-b .ct-slice-pie{fill:var(--theme-color-2)}.chart-content .ct-series-b .ct-slice-donut{stroke:var(--theme-color-2)}.chart-content .ct-series-c .ct-line,.chart-content .ct-series-c .ct-point{stroke:var(--theme-color-3)}.chart-content .ct-series-c .ct-area{fill:var(--theme-color-3)}.chart-content .ct-series-c .ct-bar{stroke:var(--theme-color-3)}.chart-content .ct-series-c .ct-slice-pie{fill:var(--theme-color-3)}.chart-content .ct-series-c .ct-slice-donut{stroke:var(--theme-color-3)}.chart-content .ct-series-d .ct-line,.chart-content .ct-series-d .ct-point{stroke:var(--theme-color-4)}.chart-content .ct-series-d .ct-area{fill:var(--theme-color-4)}.chart-content .ct-series-d .ct-bar{stroke:var(--theme-color-4)}.chart-content .ct-series-d .ct-slice-pie{fill:var(--theme-color-4)}.chart-content .ct-series-d .ct-slice-donut{stroke:var(--theme-color-4)}.chart-content .ct-series-e .ct-line,.chart-content .ct-series-e .ct-point{stroke:var(--theme-color-5)}.chart-content .ct-series-e .ct-area{fill:var(--theme-color-5)}.chart-content .ct-series-e .ct-bar{stroke:var(--theme-color-5)}.chart-content .ct-series-e .ct-slice-pie{fill:var(--theme-color-5)}.chart-content .ct-series-e .ct-slice-donut{stroke:var(--theme-color-5)}.chart-content .ct-series-f .ct-line,.chart-content .ct-series-f .ct-point{stroke:var(--theme-color-6)}.chart-content .ct-series-f .ct-area{fill:var(--theme-color-6)}.chart-content .ct-series-f .ct-bar{stroke:var(--theme-color-6)}.chart-content .ct-series-f .ct-slice-pie{fill:var(--theme-color-6)}.chart-content .ct-series-f .ct-slice-donut{stroke:var(--theme-color-6)}.chart-content .ct-series-g .ct-line,.chart-content .ct-series-g .ct-point{stroke:var(--theme-color-7)}.chart-content .ct-series-g .ct-area{fill:var(--theme-color-7)}.chart-content .ct-series-g .ct-bar{stroke:var(--theme-color-7)}.chart-content .ct-series-g .ct-slice-pie{fill:var(--theme-color-7)}.chart-content .ct-series-g .ct-slice-donut{stroke:var(--theme-color-7)}.chart-content .ct-series-h .ct-line,.chart-content .ct-series-h .ct-point{stroke:var(--theme-color-8)}.chart-content .ct-series-h .ct-area{fill:var(--theme-color-8)}.chart-content .ct-series-h .ct-bar{stroke:var(--theme-color-8)}.chart-content .ct-series-h .ct-slice-pie{fill:var(--theme-color-8)}.chart-content .ct-series-h .ct-slice-donut{stroke:var(--theme-color-8)}.chart-content .ct-series-i .ct-line,.chart-content .ct-series-i .ct-point{stroke:var(--theme-color-9)}.chart-content .ct-series-i .ct-area{fill:var(--theme-color-9)}.chart-content .ct-series-i .ct-bar{stroke:var(--theme-color-9)}.chart-content .ct-series-i .ct-slice-pie{fill:var(--theme-color-9)}.chart-content .ct-series-i .ct-slice-donut{stroke:var(--theme-color-9)}.chart-content .ct-grid{stroke:var(--grid-color)}.chart-content .ct-label{fill:var(--grid-color);color:var(--grid-color)}.legends{height:20px;display:flex;justify-content:center;align-items:center;font-size:14px}.legend{display:flex;align-items:center}.legend+.legend{margin-left:10px}.legend .block{width:10px;height:10px;margin-right:5px}.editable-element-chart[data-v-e98d2ede]{position:absolute}.editable-element-chart.lock .element-content[data-v-e98d2ede]{cursor:default}.rotate-wrapper[data-v-e98d2ede]{width:100%;height:100%}.element-content[data-v-e98d2ede]{width:100%;height:100%;overflow:hidden;cursor:move}.custom-textarea[data-v-cfadb975]{border:0;outline:0;-webkit-user-modify:read-write-plaintext-only}.editable-table[data-v-d040a5e0]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-d040a5e0]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-d040a5e0]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-d040a5e0]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-d040a5e0]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-d040a5e0]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-d040a5e0]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-d040a5e0]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-d040a5e0]:last-child{background-color:var(--themeColor)}table .cell[data-v-d040a5e0]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;font-size:14px;background-clip:padding-box;cursor:default}table .cell.selected[data-v-d040a5e0]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;background-color:#6666}table .cell-text[data-v-d040a5e0]{padding:5px;line-height:1.5;-webkit-user-select:none;user-select:none;cursor:text}table .cell-text.active[data-v-d040a5e0]{-webkit-user-select:text;user-select:text}.drag-line[data-v-d040a5e0]{position:absolute;top:0;bottom:0;width:3px;background-color:#d14424;margin-left:-1px;opacity:0;z-index:2;cursor:col-resize}.editable-element-table[data-v-7795910a]{position:absolute}.editable-element-table.lock .element-content[data-v-7795910a]{cursor:default}.rotate-wrapper[data-v-7795910a]{width:100%;height:100%}.element-content[data-v-7795910a]{width:100%;height:100%;position:relative;cursor:move}.table-mask[data-v-7795910a]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .2s}.table-mask .mask-tip[data-v-7795910a]{position:absolute;top:5px;left:5px;background-color:#00000080;color:#fff;padding:6px 12px;font-size:12px;transform-origin:0 0}.table-mask[data-v-7795910a]:hover:not(.lock){opacity:.9}.editable-element-latex[data-v-b73586f6]{position:absolute}.editable-element-latex.lock .element-content[data-v-b73586f6]{cursor:default}.rotate-wrapper[data-v-b73586f6]{width:100%;height:100%}.element-content[data-v-b73586f6]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-b73586f6]{transform-origin:0 0;overflow:visible}.video-player[data-v-597c0901]{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0}.video-player.hide-controller[data-v-597c0901]{cursor:none}.video-player.hide-controller .controller-mask[data-v-597c0901],.video-player.hide-controller .controller[data-v-597c0901]{opacity:0;transform:translateY(100%)}.video-wrap[data-v-597c0901]{position:relative;background:#000;font-size:0;width:100%;height:100%}.video-wrap .video[data-v-597c0901]{width:100%;height:100%}.controller-mask[data-v-597c0901]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==) repeat-x bottom;height:98px;width:100%;position:absolute;bottom:0;transition:all .3s ease}.controller[data-v-597c0901]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-597c0901]{padding:5px 0;cursor:pointer;position:absolute;bottom:33px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-597c0901]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-597c0901]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-597c0901]{opacity:0}.controller .bar-wrap .bar[data-v-597c0901]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-597c0901]{height:38px;position:absolute;bottom:0;display:flex;align-items:center}.controller .icons.icons-right[data-v-597c0901]{right:15px}.controller .icons .time[data-v-597c0901]{line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .icons .icon[data-v-597c0901]{width:40px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-597c0901]{font-size:26px}.controller .icons .icon .icon-content[data-v-597c0901]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.loop-icon[data-v-597c0901]{font-size:12px}.controller .icons .icon.loop-icon .icon-content[data-v-597c0901]{opacity:.5}.controller .icons .icon.speed-icon[data-v-597c0901]{font-size:12px;position:relative}.controller .icons .icon .speed-menu[data-v-597c0901]{width:70px;position:absolute;bottom:30px;left:-23px;background-color:#22211b;padding:5px 0;color:#ddd}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]{padding:8px 0;text-align:center}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]:hover{background-color:#393833;color:#fff}.controller .icons .icon .speed-menu .speed-menu-item.active[data-v-597c0901]{font-weight:700;color:#fff}.controller .icons .icon.active .icon-content[data-v-597c0901],.controller .icons .icon:hover .icon-content[data-v-597c0901]{opacity:1}.controller .icons .volume[data-v-597c0901]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-597c0901]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-597c0901]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-597c0901]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons .loop[data-v-597c0901]{display:inline-block;height:100%}.bezel[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:22px;color:#fff;pointer-events:none}.bezel .bezel-icon[data-v-597c0901]{position:absolute;top:50%;left:50%;margin:-26px 0 0 -26px;height:52px;width:52px;padding:12px;display:flex;justify-content:center;align-items:center;background:#00000080;border-radius:50%;opacity:0;pointer-events:none;font-size:40px}.bezel .bezel-icon.bezel-transition[data-v-597c0901]{animation:bezel-hide-597c0901 .5s linear}@keyframes bezel-hide-597c0901{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.load-error[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:15px;color:#fff;pointer-events:none;display:flex;justify-content:center;align-items:center}.editable-element-video[data-v-c50d3bc7]{position:absolute}.editable-element-video.lock .handler-border[data-v-c50d3bc7]{cursor:default}.rotate-wrapper[data-v-c50d3bc7]{width:100%;height:100%}.element-content[data-v-c50d3bc7]{width:100%;height:100%;position:relative}.handler-border[data-v-c50d3bc7]{position:absolute;cursor:move}.handler-border.t[data-v-c50d3bc7]{width:100%;height:20px;top:0;left:0}.handler-border.b[data-v-c50d3bc7]{width:100%;height:5px;bottom:0;left:0}.handler-border.l[data-v-c50d3bc7]{width:10px;height:100%;left:0;top:0}.handler-border.r[data-v-c50d3bc7]{width:10px;height:100%;right:0;top:0}.audio-player[data-v-32038f5c]{width:280px;height:50px;position:relative;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0;background:#000}.controller[data-v-32038f5c]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-32038f5c]{padding:5px 0;cursor:pointer;position:absolute;bottom:35px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-32038f5c]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-32038f5c]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-32038f5c]{opacity:0}.controller .bar-wrap .bar[data-v-32038f5c]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-32038f5c]{height:38px;position:absolute;bottom:0;left:14px;display:flex;align-items:center}.controller .icons .icon[data-v-32038f5c]{width:36px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-32038f5c]{font-size:26px}.controller .icons .icon .icon-content[data-v-32038f5c]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.active .icon-content[data-v-32038f5c],.controller .icons .icon:hover .icon-content[data-v-32038f5c]{opacity:1}.controller .icons .volume[data-v-32038f5c]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-32038f5c]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-32038f5c]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-32038f5c]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .time[data-v-32038f5c]{height:38px;position:absolute;right:20px;bottom:0;display:flex;align-items:center;line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .time .ptime[data-v-32038f5c]{margin-right:2px}.controller .time .dtime[data-v-32038f5c]{margin-left:2px}.editable-element-audio[data-v-5d8373ba]{position:absolute}.editable-element-audio.lock .audio-icon[data-v-5d8373ba]{cursor:default}.rotate-wrapper[data-v-5d8373ba]{width:100%;height:100%}.element-content[data-v-5d8373ba]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-5d8373ba]{cursor:move}.audio-player[data-v-5d8373ba]{position:absolute}.mouse-selection[data-v-053bfa3e]{position:absolute;background-color:#d144241a;border:1px solid #d14424;z-index:200}.mouse-selection.quadrant-1[data-v-053bfa3e]{transform-origin:50% 0;transform:rotate(180deg)}.mouse-selection.quadrant-2[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(180deg)}.mouse-selection.quadrant-3[data-v-053bfa3e]{transform-origin:0 50%;transform:rotate(180deg)}.mouse-selection.quadrant-4[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(0)}.grid-lines[data-v-d6e1ea18]{width:100%;height:100%;overflow:visible;z-index:999;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-background[data-v-203ea8ff]{width:100%;height:100%;background-position:center;position:absolute}.alignment-line[data-v-7cd3d25d]{position:absolute;z-index:100}.alignment-line .line[data-v-7cd3d25d]{width:0;height:0;border:0 dashed #d14424}.alignment-line .line.vertical[data-v-7cd3d25d]{transform:translateY(-.5px);border-left-width:1px}.alignment-line .line.horizontal[data-v-7cd3d25d]{transform:translate(-.5px);border-top-width:1px}.ruler[data-v-b01be305]{font-size:12px}.h[data-v-b01be305]{position:absolute;background-color:#fff;border:1px solid #eee;height:20px;top:5px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.h .ruler-marker-100[data-v-b01be305]{height:100%;width:10%;line-height:20px;text-align:right;flex-shrink:0;padding-right:5px;position:relative}.h .ruler-marker-100.hide span[data-v-b01be305]{display:none}.h .ruler-marker-100.omit[data-v-b01be305]:before{display:none}.h .ruler-marker-100[data-v-b01be305]:not(:last-child):after{content:"";width:.1px;height:12px;position:absolute;right:0;bottom:0;background-color:#999}.h .ruler-marker-100[data-v-b01be305]:before{content:"";width:.1px;height:8px;position:absolute;right:50%;bottom:0;background-color:#999}.v[data-v-b01be305]{position:absolute;background-color:#fff;border:1px solid #eee;width:20px;left:5px;overflow:hidden}.v .ruler-marker-100[data-v-b01be305]{width:100%;line-height:20px;text-align:right;padding-bottom:5px;position:relative;writing-mode:vertical-rl}.v .ruler-marker-100.hide span[data-v-b01be305]{display:none}.v .ruler-marker-100.omit[data-v-b01be305]:before{display:none}.v .ruler-marker-100[data-v-b01be305]:not(:last-child):after{content:"";height:.1px;width:12px;position:absolute;bottom:0;right:0;background-color:#999}.v .ruler-marker-100[data-v-b01be305]:before{content:"";height:.1px;width:8px;position:absolute;bottom:50%;right:0;background-color:#999}.element-create-selection[data-v-7b17a883]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.element-create-selection svg[data-v-7b17a883]{overflow:visible}.selection[data-v-7b17a883]{position:absolute;opacity:.8}.selection[data-v-7b17a883]:not(.line){border:1px solid #d14424}.shape-create-canvas[data-v-8ea8c340]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.shape-create-canvas svg[data-v-8ea8c340]{width:100%;height:100%;overflow:visible}.resize-handler[data-v-bb3f9e62]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:pointer}.resize-handler.left-top.rotate-0[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left.rotate-45[data-v-bb3f9e62],.resize-handler.right.rotate-45[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.right-top.rotate-90[data-v-bb3f9e62],.resize-handler.top.rotate-135[data-v-bb3f9e62],.resize-handler.bottom.rotate-135[data-v-bb3f9e62]{cursor:nwse-resize}.resize-handler.top.rotate-0[data-v-bb3f9e62],.resize-handler.bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left-top.rotate-45[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left.rotate-90[data-v-bb3f9e62],.resize-handler.right.rotate-90[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-135[data-v-bb3f9e62],.resize-handler.right-top.rotate-135[data-v-bb3f9e62]{cursor:ns-resize}.resize-handler.left-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.right-top.rotate-0[data-v-bb3f9e62],.resize-handler.top.rotate-45[data-v-bb3f9e62],.resize-handler.bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left-top.rotate-90[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left.rotate-135[data-v-bb3f9e62],.resize-handler.right.rotate-135[data-v-bb3f9e62]{cursor:nesw-resize}.resize-handler.left.rotate-0[data-v-bb3f9e62],.resize-handler.right.rotate-0[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.right-top.rotate-45[data-v-bb3f9e62],.resize-handler.top.rotate-90[data-v-bb3f9e62],.resize-handler.bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left-top.rotate-135[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-135[data-v-bb3f9e62]{cursor:ew-resize}.border-line[data-v-7114fb45]{position:absolute;width:0;height:0;left:0;top:0;border:0 dashed #d14424}.border-line.top[data-v-7114fb45]{border-top-width:1px}.border-line.bottom[data-v-7114fb45]{border-bottom-width:1px}.border-line.left[data-v-7114fb45]{border-left-width:1px}.border-line.right[data-v-7114fb45]{border-right-width:1px}.border-line.wide[data-v-7114fb45]:before{content:"";position:absolute;background:transparent;cursor:move}.border-line.wide.top[data-v-7114fb45]:before{top:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.bottom[data-v-7114fb45]:before{bottom:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.left[data-v-7114fb45]:before{top:-8px;left:-8px;width:16px;height:calc(100% + 16px)}.border-line.wide.right[data-v-7114fb45]:before{top:-8px;right:-8px;width:16px;height:calc(100% + 16px)}.multi-select-operate[data-v-135c8cb7]{position:absolute;top:0;left:0;z-index:101}.rotate-handler[data-v-9f21fc0f]{position:absolute;width:10px;height:10px;top:-25px;margin-left:-5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:grab}.rotate-handler[data-v-9f21fc0f]:active{cursor:grabbing}.image-element-operate.cliping[data-v-2a1bef4e]{visibility:hidden}.operate-keypoint-handler[data-v-e65e73bd]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#ffe873;border-radius:1px}svg[data-v-32a06240]{position:absolute;left:0;top:0;pointer-events:none;transform-origin:0 0}.anchor-line[data-v-32a06240]{stroke-width:1px;stroke-dasharray:5 5;opacity:.5}.divider.horizontal[data-v-c7c64e0b]{width:100%;margin:24px 0;border-block-start:1px solid rgba(5,5,5,.06)}.divider.vertical[data-v-c7c64e0b]{position:relative;height:1em;display:inline-block;margin:0 8px;border-inline-start:1px solid rgba(5,5,5,.06)}.link-handler[data-v-f8f46f78]{height:30px;position:absolute;left:0;font-size:12px;padding:0 10px;background-color:#fff;box-shadow:3px 3px 3px #00000026;display:flex;align-items:center;color:#d14424}.link[data-v-f8f46f78]{max-width:300px;margin-right:20px;word-break:keep-all;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.btns[data-v-f8f46f78]{display:flex;align-items:center}.btns .btn[data-v-f8f46f78]{word-break:keep-all;cursor:pointer}.operate[data-v-b96daa51]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.operate.multi-select[data-v-b96daa51]{opacity:.2}.animation-index[data-v-b96daa51]{position:absolute;top:0;left:-24px;font-size:12px}.animation-index .index-item[data-v-b96daa51]{width:18px;height:18px;background-color:#fff;color:#d14424;border:1px solid #d14424;display:flex;justify-content:center;align-items:center}.animation-index .index-item+.index-item[data-v-b96daa51]{margin-top:5px}.base-element-image[data-v-71d24108]{position:absolute}.rotate-wrapper[data-v-71d24108]{width:100%;height:100%}.element-content[data-v-71d24108]{width:100%;height:100%;position:relative}.element-content .image-content[data-v-71d24108]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-71d24108]{position:absolute}.color-mask[data-v-71d24108]{position:absolute;top:0;bottom:0;left:0;right:0}.base-element-text[data-v-a3ec163d]{position:absolute}.rotate-wrapper[data-v-a3ec163d]{width:100%;height:100%}.element-content[data-v-a3ec163d]{position:relative;padding:10px;line-height:1.5;word-break:break-word}.element-content .text[data-v-a3ec163d]{position:relative}.element-content .text.thumbnail[data-v-a3ec163d]{pointer-events:none}.base-element-shape[data-v-2d39d3d1]{position:absolute}.rotate-wrapper[data-v-2d39d3d1]{width:100%;height:100%}.element-content[data-v-2d39d3d1]{width:100%;height:100%;position:relative}.element-content svg[data-v-2d39d3d1]{transform-origin:0 0;overflow:visible}.shape-text[data-v-2d39d3d1]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word}.shape-text.top[data-v-2d39d3d1]{justify-content:flex-start}.shape-text.middle[data-v-2d39d3d1]{justify-content:center}.shape-text.bottom[data-v-2d39d3d1]{justify-content:flex-end}.base-element-line[data-v-e7dc2b42]{position:absolute}.element-content[data-v-e7dc2b42]{width:100%;height:100%;position:relative}.element-content svg[data-v-e7dc2b42]{transform-origin:0 0;overflow:visible}.base-element-chart[data-v-37ca5799]{position:absolute}.rotate-wrapper[data-v-37ca5799],.element-content[data-v-37ca5799]{width:100%;height:100%}.static-table[data-v-6d887dcd]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-6d887dcd]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-6d887dcd]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-6d887dcd]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-6d887dcd]:last-child{background-color:var(--themeColor)}table .cell[data-v-6d887dcd]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;background-clip:padding-box}table .cell-text[data-v-6d887dcd]{padding:5px;line-height:1.5}.base-element-table[data-v-77cfa6e4]{position:absolute}.rotate-wrapper[data-v-77cfa6e4]{width:100%;height:100%}.element-content[data-v-77cfa6e4]{width:100%;height:100%;position:relative}.base-element-latex[data-v-93374af9]{position:absolute}.rotate-wrapper[data-v-93374af9]{width:100%;height:100%}.element-content[data-v-93374af9]{width:100%;height:100%;position:relative}.element-content svg[data-v-93374af9]{transform-origin:0 0;overflow:visible}.base-element-video[data-v-2fb0e771]{position:absolute}.rotate-wrapper[data-v-2fb0e771]{width:100%;height:100%}.element-content[data-v-2fb0e771]{width:100%;height:100%;background-color:#000;background-position:center;background-size:contain;background-repeat:no-repeat;display:flex;justify-content:center;align-items:center}.icon[data-v-2fb0e771]{font-size:140px;color:#aaa}.base-element-audio[data-v-b33e6120]{position:absolute}.rotate-wrapper[data-v-b33e6120]{width:100%;height:100%}.element-content[data-v-b33e6120]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-b33e6120]{cursor:move}.thumbnail-slide[data-v-cbd76d0a]{background-color:#fff;overflow:hidden;-webkit-user-select:none;user-select:none}.elements[data-v-cbd76d0a]{transform-origin:0 0}.background[data-v-cbd76d0a]{width:100%;height:100%;background-position:center;position:absolute}.placeholder[data-v-cbd76d0a]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.tabs[data-v-c7f9dce0]{display:flex;-webkit-user-select:none;user-select:none;line-height:1}.tabs[data-v-c7f9dce0]:not(.card){font-size:13px;align-items:center;justify-content:flex-start;border-bottom:1px solid #eee}.tabs:not(.card).space-around[data-v-c7f9dce0]{justify-content:space-around}.tabs:not(.card).space-between[data-v-c7f9dce0]{justify-content:space-between}.tabs:not(.card) .tab[data-v-c7f9dce0]{text-align:center;border-bottom:2px solid transparent;padding:8px 10px;cursor:pointer}.tabs:not(.card) .tab.active[data-v-c7f9dce0]{border-bottom:2px solid var(--color, #d14424)}.tabs.card[data-v-c7f9dce0]{height:40px;font-size:12px;flex-shrink:0}.tabs.card .tab[data-v-c7f9dce0]{flex:1;display:flex;justify-content:center;align-items:center;background-color:#f9f9f9;border-bottom:1px solid #eee;cursor:pointer}.tabs.card .tab.active[data-v-c7f9dce0]{background-color:transparent;border-bottom-color:transparent}.tabs.card .tab+.tab[data-v-c7f9dce0]{border-left:1px solid #eee}.button[data-v-3a484f58]{height:32px;line-height:32px;outline:0;font-size:13px;padding:0 15px;text-align:center;color:#41464b;border-radius:2px;-webkit-user-select:none;user-select:none;letter-spacing:1px;cursor:pointer}.button.small[data-v-3a484f58]{height:24px;line-height:24px;padding:0 7px;letter-spacing:0;font-size:12px}.button.default[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.default[data-v-3a484f58]:hover{color:#d14424;border-color:#d14424}.button.primary[data-v-3a484f58]{background-color:#d14424;border:1px solid #d14424;color:#fff}.button.primary[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.checkbox[data-v-3a484f58],.button.radio[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.checkbox[data-v-3a484f58]:not(.checked):hover,.button.radio[data-v-3a484f58]:not(.checked):hover{color:#d14424}.button.checked[data-v-3a484f58]{color:#fff;background-color:#d14424;border-color:#d14424}.button.checked[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.disabled[data-v-3a484f58]{background-color:#f5f5f5;border:1px solid #d9d9d9;color:#b7b7b7;cursor:default}.select[data-v-618af0ca]{width:100%;height:32px;padding-right:32px;border-radius:2px;transition:border-color .25s;font-size:13px;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #d9d9d9;position:relative;cursor:pointer}.select[data-v-618af0ca]:not(.disabled):hover{border-color:#d14424}.select.disabled[data-v-618af0ca]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7;cursor:default}.select .selector[data-v-618af0ca]{min-width:50px;height:30px;line-height:30px;padding-left:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.options[data-v-618af0ca]{max-height:260px;padding:5px;overflow:auto;text-align:left;font-size:13px;-webkit-user-select:none;user-select:none}.option[data-v-618af0ca]{height:32px;line-height:32px;padding:0 5px;border-radius:2px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option.disabled[data-v-618af0ca]{color:#b7b7b7;cursor:default}.option[data-v-618af0ca]:not(.disabled,.selected):hover{background-color:#6666660d}.option.selected[data-v-618af0ca]{background-color:#d144240d}.icon[data-v-618af0ca]{width:32px;height:30px;color:#bfbfbf;position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center}.link-dialog[data-v-de4d9db3]{font-size:13px;line-height:1.675}.input[data-v-de4d9db3]{width:100%;height:32px}.preview[data-v-de4d9db3]{margin-top:12px}.thumbnail[data-v-de4d9db3]{border:1px solid rgba(209,68,36,.15);margin-top:5px}.btns[data-v-de4d9db3]{margin-top:20px;text-align:right}.modal[data-v-4d27bcca],.mask[data-v-4d27bcca]{top:0;left:0;width:100%;height:100%;z-index:5000}.modal[data-v-4d27bcca]{position:fixed;display:flex;justify-content:center;align-items:center;outline:0;border:0}.mask[data-v-4d27bcca]{position:absolute;background:#00000040}.modal-content[data-v-4d27bcca]{z-index:5001;padding:20px;background:#fff;border-radius:2px;overflow:hidden;box-shadow:0 1px 3px #0003;position:relative}.close-btn[data-v-4d27bcca]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:16px;right:16px;cursor:pointer}.modal-fade-enter-active[data-v-4d27bcca]{animation:modal-fade-enter-4d27bcca .25s both ease-in}.modal-fade-leave-active[data-v-4d27bcca]{animation:modal-fade-leave-4d27bcca .25s both ease-out}.modal-zoom-enter-active[data-v-4d27bcca]{animation:modal-zoom-enter-4d27bcca .25s both cubic-bezier(.4,0,0,1.5)}.modal-zoom-leave-active[data-v-4d27bcca]{animation:modal-zoom-leave-4d27bcca .25s both}@keyframes modal-fade-enter-4d27bcca{0%{opacity:0}}@keyframes modal-fade-leave-4d27bcca{to{opacity:0}}@keyframes modal-zoom-enter-4d27bcca{0%{transform:scale3d(.3,.3,.3)}}@keyframes modal-zoom-leave-4d27bcca{to{transform:scale3d(.3,.3,.3)}}.canvas[data-v-47bbcf7b]{height:100%;-webkit-user-select:none;user-select:none;overflow:hidden;background-color:#f9f9f9;position:relative}.drag-mask[data-v-47bbcf7b]{cursor:grab;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-wrapper[data-v-47bbcf7b]{position:absolute;box-shadow:0 0 15px #0000001a}.viewport[data-v-47bbcf7b]{position:absolute;top:0;left:0;transform-origin:0 0}.shape-item-thumbnail[data-v-2896ae03]{position:relative;cursor:pointer}.shape-content[data-v-2896ae03]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center}.shape-content:hover .shape-path[data-v-2896ae03]:not(.outlined){stroke:#d14424}.shape-content:hover .shape-path.outlined[data-v-2896ae03]{fill:#d14424}.shape-content svg[data-v-2896ae03]:not(:root){overflow:visible}.shape-pool[data-v-553b0d02]{width:340px;max-height:520px;overflow:auto;margin-top:-12px;margin-bottom:-12px;margin-right:-12px;padding-right:12px;padding-top:12px}.category-name[data-v-553b0d02]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.shape-list[data-v-553b0d02]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.shape-item[data-v-553b0d02]{width:8%;margin-bottom:calc(20% / 9);height:0;padding-bottom:8%;flex-shrink:0}.shape-item[data-v-553b0d02]:not(:nth-child(10n)){margin-right:calc(20% / 9)}.line-pool[data-v-b07efd40]{width:220px;overflow:auto;margin-bottom:-12px;margin-right:-12px;padding-right:12px}.category-name[data-v-b07efd40]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.line-list[data-v-b07efd40]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.line-item[data-v-b07efd40]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.line-item[data-v-b07efd40]:not(:nth-child(5n)){margin-right:1.25%}.line-content[data-v-b07efd40]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.line-content[data-v-b07efd40]:hover{color:#d14424}.line-content svg[data-v-b07efd40]:not(:root){overflow:visible}.chart-pool[data-v-a4bc3ce2]{width:200px;margin-bottom:-5px;display:flex;flex-wrap:wrap;align-content:flex-start}.chart-item[data-v-a4bc3ce2]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.chart-item[data-v-a4bc3ce2]:not(:nth-child(5n)){margin-right:1.25%}.chart-content[data-v-a4bc3ce2]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.chart-content[data-v-a4bc3ce2]:hover{color:#d14424}.number-input[data-v-246b23f6]{background-color:#fff;border:1px solid #d9d9d9;padding:0 0 0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:inline-flex}.number-input .input-wrap[data-v-246b23f6]{flex:1;color:#41464b;padding:0 0 0 5px;position:relative}.number-input:not(.disabled) .input-wrap:hover .handlers[data-v-246b23f6]{opacity:1}.number-input .handlers[data-v-246b23f6]{width:20px;position:absolute;top:0;bottom:0;right:0;display:flex;flex-direction:column;font-size:6px;color:#999;opacity:0;-webkit-user-select:none;user-select:none;transition:opacity .25s}.number-input .handlers .handler[data-v-246b23f6]{width:100%;height:50%;display:flex;justify-content:center;align-items:center;border-left:1px solid #d9d9d9;cursor:pointer}.number-input .handlers .handler+.handler[data-v-246b23f6]{border-top:1px solid #d9d9d9}.number-input .handlers .handler[data-v-246b23f6]:hover{color:#d14424}.number-input input[data-v-246b23f6]{width:100%;min-width:0;padding:0;height:30px;line-height:30px;outline:0;border:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.number-input input[data-v-246b23f6]::placeholder{color:#bfbfbf}.number-input[data-v-246b23f6]:not(.disabled):hover,.number-input.focused[data-v-246b23f6]{border-color:#d14424}.number-input.disabled[data-v-246b23f6]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.number-input .prefix[data-v-246b23f6],.number-input .suffix[data-v-246b23f6]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.table-generator[data-v-81680e19]{width:100%;margin-top:-12px}.title[data-v-81680e19]{height:28px;line-height:28px;background-color:#ededed;margin:0 -12px 12px;padding:0 14px;font-size:12px;display:flex;justify-content:space-between;-webkit-user-select:none;user-select:none}.title .right[data-v-81680e19]{cursor:pointer}.title .right[data-v-81680e19]:hover{color:#d14424}table[data-v-81680e19]{border-collapse:separate}td[data-v-81680e19]{width:23px;height:23px;line-height:23px;border:2px solid #fff;background-color:#f7f7f7}.cell[data-v-81680e19]{width:100%;height:100%;border:1px solid #dcdcdc}.cell.active[data-v-81680e19]{background-color:#d144241a;border-color:#d14424}.custom[data-v-81680e19]{width:230px}.custom .row[data-v-81680e19]{display:flex;align-items:center}.custom .row+.row[data-v-81680e19]{margin-top:10px}.btns[data-v-81680e19]{margin-top:10px;text-align:right}.btns .btn[data-v-81680e19]{margin-left:10px}.media-input[data-v-999b18ca]{width:480px}.btns[data-v-999b18ca]{margin-top:10px;text-align:right}svg[data-v-fa1b116d]{overflow:hidden}.textarea[data-v-2b83189c]{outline:0;width:100%;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;padding:10px;transition:border-color .25s;box-sizing:border-box;line-height:1.675;resize:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.textarea[data-v-2b83189c]:focus{border-color:#d14424;background-color:#fff}.textarea.resizable[data-v-2b83189c]{resize:vertical}.textarea.disabled[data-v-2b83189c]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.textarea[data-v-2b83189c]::placeholder{color:#bfbfbf}.latex-editor[data-v-44075c46]{height:560px}.container[data-v-44075c46]{height:calc(100% - 50px);display:flex}.left[data-v-44075c46]{width:540px;height:100%;display:flex;flex-direction:column;flex-shrink:0}.input-area[data-v-44075c46]{flex:1}.input-area textarea[data-v-44075c46]{height:100%!important;border-color:#eee!important;padding:10px!important}.input-area textarea[data-v-44075c46]:focus{box-shadow:none!important}.preview[data-v-44075c46]{height:160px;display:flex;justify-content:center;align-items:center;text-align:center;margin-top:20px;border:1px solid #eee;-webkit-user-select:none;user-select:none}.placeholder[data-v-44075c46]{color:#888;font-size:13px}.preview-content[data-v-44075c46]{width:100%;height:100%;padding:10px;display:flex;justify-content:center;align-items:center}.right[data-v-44075c46]{width:280px;height:100%;margin-left:20px;border:solid 1px #eee;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.content[data-v-44075c46]{height:calc(100% - 40px);font-size:13px}.formula[data-v-44075c46]{height:100%;padding:12px;overflow:auto;overflow:overlay}.formula-item+.formula-item[data-v-44075c46]{margin-top:10px}.formula-item .formula-title[data-v-44075c46]{margin-bottom:5px}.formula-item .formula-item-content[data-v-44075c46]{height:60px;padding:5px;display:flex;align-items:center;background-color:#f9f9f9;cursor:pointer}.symbol[data-v-44075c46]{height:100%;display:flex;flex-direction:column}.symbol-pool[data-v-44075c46]{display:flex;flex-wrap:wrap;flex:1;padding:12px;overflow:auto;overflow:overlay}.symbol-item[data-v-44075c46]{display:flex;justify-content:center;align-items:center}.symbol-item[data-v-44075c46]:hover{background-color:#f9f9f9;cursor:pointer}.footer[data-v-44075c46]{height:50px;display:flex;justify-content:flex-end;align-items:flex-end}.footer .btn[data-v-44075c46]{margin-left:10px}.canvas-tool[data-v-f177f23a]{position:relative;border-bottom:1px solid #eee;background-color:#fff;display:flex;justify-content:space-between;padding:0 10px;font-size:13px;-webkit-user-select:none;user-select:none}.left-handler[data-v-f177f23a],.more[data-v-f177f23a]{display:flex;align-items:center}.add-element-handler[data-v-f177f23a]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex}.add-element-handler .handler-item[data-v-f177f23a]{width:32px}.add-element-handler .handler-item[data-v-f177f23a]:not(.group-btn):hover{background-color:#f1f1f1}.add-element-handler .handler-item.active[data-v-f177f23a]{color:#d14424}.add-element-handler .handler-item.group-btn[data-v-f177f23a]{width:auto;margin-right:4px}.add-element-handler .handler-item.group-btn[data-v-f177f23a]:hover{background-color:#f3f3f3}.add-element-handler .handler-item.group-btn .icon[data-v-f177f23a],.add-element-handler .handler-item.group-btn .arrow[data-v-f177f23a]{height:100%;display:flex;justify-content:center;align-items:center}.add-element-handler .handler-item.group-btn .icon[data-v-f177f23a]{width:26px;padding:0 2px}.add-element-handler .handler-item.group-btn .icon[data-v-f177f23a]:hover{background-color:#e9e9e9}.add-element-handler .handler-item.group-btn .icon.active[data-v-f177f23a]{color:#d14424}.add-element-handler .handler-item.group-btn .arrow[data-v-f177f23a]{font-size:12px}.add-element-handler .handler-item.group-btn .arrow[data-v-f177f23a]:hover{background-color:#e9e9e9}.handler-item[data-v-f177f23a]{height:24px;font-size:14px;margin:0 2px;display:flex;justify-content:center;align-items:center;border-radius:2px;overflow:hidden;cursor:pointer}.handler-item.disable[data-v-f177f23a]{opacity:.5}.left-handler .handler-item[data-v-f177f23a],.right-handler .handler-item[data-v-f177f23a]{padding:0 8px}.left-handler .handler-item.active[data-v-f177f23a],.left-handler .handler-item[data-v-f177f23a]:not(.disable):hover,.right-handler .handler-item.active[data-v-f177f23a],.right-handler .handler-item[data-v-f177f23a]:not(.disable):hover{background-color:#f1f1f1}.right-handler[data-v-f177f23a]{display:flex;align-items:center}.right-handler .text[data-v-f177f23a]{display:inline-block;width:40px;text-align:center;cursor:pointer}.right-handler .viewport-size[data-v-f177f23a]{font-size:13px}@media screen and (width <= 1200px){.right-handler .text[data-v-f177f23a],.more[data-v-f177f23a]{display:none}}@media screen and (width <= 1000px){.left-handler[data-v-f177f23a],.right-handler[data-v-f177f23a]{display:none}}.layout-pool[data-v-2149b3ea]{width:382px;height:500px}.header[data-v-2149b3ea]{height:40px;margin:-10px -10px 8px;padding:10px 12px 0;background-color:#f9f9f9;border-bottom:1px solid #eee}.list[data-v-2149b3ea]{height:calc(100% - 40px);padding:2px 10px 2px 2px;margin-right:-10px;overflow:auto;display:flex;flex-wrap:wrap;align-content:flex-start}.layout-item[data-v-2149b3ea]{position:relative;width:48%;margin-bottom:4%}.layout-item[data-v-2149b3ea]:not(:nth-child(2n)){margin-right:4%}.layout-item[data-v-2149b3ea]:nth-last-child(2),.layout-item[data-v-2149b3ea]:last-child{margin-bottom:0}.layout-item:hover .btns[data-v-2149b3ea]{opacity:1}.layout-item:hover .thumbnail[data-v-2149b3ea]{outline-color:#d14424}.layout-item .btns[data-v-2149b3ea]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.layout-item .thumbnail[data-v-2149b3ea]{outline:2px solid #eee;transition:outline .2s;border-radius:2px;cursor:pointer}.thumbnails[data-v-d7a17fcd]{border-right:solid 1px #eee;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.add-slide[data-v-d7a17fcd]{height:40px;font-size:12px;display:flex;flex-shrink:0;border-bottom:1px solid #eee;cursor:pointer}.add-slide .btn[data-v-d7a17fcd]{flex:1;display:flex;justify-content:center;align-items:center}.add-slide .btn[data-v-d7a17fcd]:hover{background-color:#f9f9f9}.add-slide .select-btn[data-v-d7a17fcd]{width:30px;height:100%;display:flex;justify-content:center;align-items:center;border-left:1px solid #eee}.add-slide .select-btn[data-v-d7a17fcd]:hover{background-color:#f9f9f9}.add-slide .icon[data-v-d7a17fcd]{margin-right:3px;font-size:14px}.thumbnail-list[data-v-d7a17fcd]{padding:5px 0;flex:1;overflow:auto}.thumbnail-item[data-v-d7a17fcd]{display:flex;justify-content:center;align-items:center;padding:5px 0}.thumbnail-item .thumbnail[data-v-d7a17fcd]{outline:2px solid rgba(209,68,36,.15)}.thumbnail-item.active .label[data-v-d7a17fcd]{color:#d14424}.thumbnail-item.active .thumbnail[data-v-d7a17fcd],.thumbnail-item.selected .thumbnail[data-v-d7a17fcd]{outline-color:#d14424}.label[data-v-d7a17fcd]{font-size:12px;color:#999;width:20px;cursor:grab}.label.offset-left[data-v-d7a17fcd]{position:relative;left:-4px}.label[data-v-d7a17fcd]:active{cursor:grabbing}.page-number[data-v-d7a17fcd]{height:40px;font-size:12px;border-top:1px solid #eee;line-height:40px;text-align:center;color:#666}.slider[data-v-a7428be4]{width:100%;height:12px;padding:4px 0;-webkit-user-select:none;user-select:none}.slider.disabled .track[data-v-a7428be4]{background-color:#b4b4b4}.slider.disabled .thumb[data-v-a7428be4]{outline:2px solid #b4b4b4}.slider[data-v-a7428be4]:not(.disabled){cursor:pointer}.slider:not(.disabled) .bar[data-v-a7428be4]:hover{background-color:#f0f0f0}.slider:not(.disabled) .track[data-v-a7428be4]:hover{background-color:#de6949}.slider:not(.disabled) .thumb[data-v-a7428be4]:hover,.slider:not(.disabled) .thumb[data-v-a7428be4]:active{outline:4px solid #d14424}.bar[data-v-a7428be4]{width:calc(100% - 10px);margin-left:5px;height:4px;border-radius:2px;position:relative;background-color:#f5f5f5;-webkit-user-select:none;user-select:none;transition:background-color .2s}.track[data-v-a7428be4]{position:absolute;top:0;left:0;height:100%;background-color:#d14424;transition:background-color .2s}.thumb[data-v-a7428be4]{position:absolute;top:50%;left:0;width:10px;height:10px;background-color:#fff;outline:2px solid #d14424;transform:translate(-50%,-50%);border-radius:50%;z-index:100}.thumb[data-v-a7428be4]:hover:before,.thumb[data-v-a7428be4]:hover:after,.thumb[data-v-a7428be4]:active:before,.thumb[data-v-a7428be4]:active:after{display:block}.thumb[data-v-a7428be4]:before{content:attr(data-tooltip);min-width:28px;display:none;position:absolute;left:50%;bottom:24px;transform:translate(-50%);background-color:#262626;text-align:center;color:#fff;border-radius:2px;padding:6px 5px;font-size:12px}.thumb[data-v-a7428be4]:after{content:"";display:none;position:absolute;left:50%;bottom:15px;transform:translate(-50%);border:5px solid transparent;border-top-color:#262626}.row[data-v-c3b27b40]{width:100%;display:flex;align-items:center;margin-bottom:10px}.color-btn[data-v-5e2a7fc5]{width:100%;display:flex!important;align-items:center;justify-content:center;padding:0!important}.color-block[data-v-5e2a7fc5]{height:20px;margin-left:8px;flex:1;outline:1px dashed rgba(102,102,102,.12);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAEBJREFUOE9jfPbs2X8GIoCkpCQRqhgYGEcNxBlOo2GIM2iGQLL5//8/UTnl+fPnxOWUUQNxhtNoGOLOKYM+2QAAh2Nq10DwkukAAAAASUVORK5CYII=)}.content[data-v-5e2a7fc5]{width:100%;height:100%}.color-btn-icon[data-v-5e2a7fc5]{width:32px;font-size:13px;color:#bfbfbf}.checkerboard[data-v-46275348]{background-size:contain;position:absolute;top:0;right:0;bottom:0;left:0}.alpha[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-checkboard-wrap[data-v-429f62d3]{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.alpha-gradient[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-container[data-v-429f62d3]{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.alpha-pointer[data-v-429f62d3]{z-index:2;position:absolute}.alpha-picker[data-v-429f62d3]{cursor:pointer;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}.hue[data-v-21ccc370]{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);position:absolute;top:0;right:0;bottom:0;left:0}.hue-container[data-v-21ccc370]{cursor:pointer;margin:0 2px;position:relative;height:100%}.hue-pointer[data-v-21ccc370]{z-index:2;position:absolute;top:0}.hue-picker[data-v-21ccc370]{cursor:pointer;margin-top:1px;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.saturation[data-v-4a728d90],.saturation-white[data-v-4a728d90],.saturation-black[data-v-4a728d90]{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.saturation-white[data-v-4a728d90]{background:linear-gradient(to right,#fff,#fff0)}.saturation-black[data-v-4a728d90]{background:linear-gradient(to top,#000,#0000)}.saturation-pointer[data-v-4a728d90]{cursor:pointer;position:absolute}.saturation-circle[data-v-4a728d90]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.editable-input[data-v-573b4dde]{width:100%;position:relative;overflow:hidden;text-align:center;font-size:14px}.editable-input[data-v-573b4dde]:after{content:"#";position:absolute;left:0;top:50%;transform:translateY(-50%);color:#999}.input-content[data-v-573b4dde]{width:100%;padding:3px;border:0;border-bottom:1px solid #ddd;outline:none;text-align:center}.input-label[data-v-573b4dde]{text-transform:capitalize}.color-picker[data-v-9ae27223]{position:relative;width:240px;background:#fff;-webkit-user-select:none;user-select:none;margin-bottom:-10px}.picker-saturation-wrap[data-v-9ae27223]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-9ae27223]{display:flex}.picker-sliders[data-v-9ae27223]{padding:4px 0;flex:1}.picker-hue-wrap[data-v-9ae27223]{position:relative;height:10px}.picker-alpha-wrap[data-v-9ae27223]{position:relative;height:10px;margin-top:4px;overflow:hidden}.picker-color-wrap[data-v-9ae27223]{width:24px;height:24px;position:relative;margin-top:4px;margin-right:4px;outline:1px dashed rgba(102,102,102,.12)}.picker-color-wrap .checkerboard[data-v-9ae27223]{background-size:auto}.picker-current-color[data-v-9ae27223]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.picker-field[data-v-9ae27223]{display:flex;margin-bottom:8px}.picker-field .transparent[data-v-9ae27223]{width:24px;height:24px;margin-top:4px;margin-left:8px;position:relative;cursor:pointer}.picker-field .transparent[data-v-9ae27223]:after{content:"";width:26px;height:2px;position:absolute;top:11px;left:-1px;transform:rotate(-45deg);background-color:red}.picker-field .transparent .checkerboard[data-v-9ae27223]{background-size:auto}.picker-field .straw[data-v-9ae27223]{width:24px;height:24px;margin-top:4px;margin-left:8px;display:flex;justify-content:center;align-items:center;font-size:20px;background-color:#f5f5f5;outline:1px solid #f1f1f1;cursor:pointer}.picker-field .input[data-v-9ae27223]{flex:1}.picker-presets[data-v-9ae27223]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-presets-color[data-v-9ae27223]{width:7%;margin-bottom:calc(30% / 9);height:0;padding-bottom:7%;flex-shrink:0;position:relative;cursor:pointer}.picker-presets-color[data-v-9ae27223]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-presets-color.alpha[data-v-9ae27223]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-9ae27223]{position:absolute;top:0;right:0;bottom:0;left:0}.picker-gradient-presets[data-v-9ae27223]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-gradient-col[data-v-9ae27223]{width:7%;margin-bottom:calc(30% / 9);display:flex;flex-direction:column}.picker-gradient-col[data-v-9ae27223]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-gradient-color[data-v-9ae27223]{width:100%;height:16px;position:relative;cursor:pointer}.recent-colors-title[data-v-9ae27223]{font-size:12px;margin-bottom:4px}.switch[data-v-a0d44a99]{height:20px;display:inline-block;cursor:pointer}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]{border-color:#d14424;background-color:#d14424}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]:after{left:100%;margin-left:-17px}.switch.disabled[data-v-a0d44a99]{cursor:default}.switch.disabled .switch-core[data-v-a0d44a99]:after{background-color:#f5f5f5}.switch-core[data-v-a0d44a99]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid #d9d9d9;outline:none;border-radius:10px;box-sizing:border-box;background:#d9d9d9;transition:border-color .3s,background-color .3s;vertical-align:middle}.switch-core[data-v-a0d44a99]:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.row[data-v-fd752d80]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-fd752d80]{text-align:right}.row[data-v-814f50a5]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-814f50a5]{text-align:right}.text-color-btn[data-v-98853be0]{width:100%;display:flex!important;flex-direction:column;justify-content:center;align-items:center;padding:0}.text-color-block[data-v-98853be0]{width:17px;height:4px;margin-top:1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACdJREFUGFdjfPbs2X8GBgYGSUlJEMXAiCHw//9/sIrnz59DVKALAADNxxVfaiODNQAAAABJRU5ErkJggg==)}.text-color-block .text-color-block-content[data-v-98853be0]{width:100%;height:100%}.button-group[data-v-6a640ef5]{display:flex;align-items:center}.button-group[data-v-6a640ef5] button.button{border-radius:0;border-left-width:1px;border-right-width:0;display:inline-block}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover{position:relative}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover{position:relative}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group.passive[data-v-6a640ef5] button.button.first{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group.passive[data-v-6a640ef5] button.button.last{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.select-group[data-v-ed58c719]{display:flex;align-items:center}.select-group[data-v-ed58c719] .select-wrap .select{border-radius:0;border-left-width:0;border-right-width:0}.select-group[data-v-ed58c719] .select-wrap+.select-wrap .select{border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:hover+.select-wrap .select{border-left-color:#d14424}.select-group[data-v-ed58c719] .select-wrap:first-child .select{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:last-child .select{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.rich-text-base[data-v-d5bc509d]{-webkit-user-select:none;user-select:none}.row[data-v-d5bc509d]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-d5bc509d]{padding:0}.link-popover[data-v-d5bc509d]{width:240px}.link-popover .btns[data-v-d5bc509d]{margin-top:10px;text-align:right}.list-wrap[data-v-d5bc509d]{width:176px;color:#666;padding:8px;margin:-12px;display:flex;flex-wrap:wrap;align-content:flex-start}.list[data-v-d5bc509d]{background-color:#f9f9f9;padding:4px 4px 4px 20px;cursor:pointer}.list[data-v-d5bc509d]:not(:nth-child(3n)){margin-right:8px}.list[data-v-d5bc509d]:nth-child(4),.list[data-v-d5bc509d]:nth-child(5),.list[data-v-d5bc509d]:nth-child(6){margin-top:8px}.list[data-v-d5bc509d]:hover{color:#d14424}.list:hover span[data-v-d5bc509d]{background-color:#d14424}.list-item[data-v-d5bc509d]{width:24px;height:12px;position:relative;font-size:12px;top:-5px}.list-item span[data-v-d5bc509d]{width:100%;height:2px;display:inline-block;position:absolute;top:10px;background-color:#666}.popover-btn[data-v-d5bc509d]{padding:0 3px}.text-style-panel[data-v-a643d8fc]{-webkit-user-select:none;user-select:none}.row[data-v-a643d8fc]{width:100%;display:flex;align-items:center;margin-bottom:10px}.preset-style[data-v-a643d8fc]{display:flex;flex-wrap:wrap;margin-bottom:10px}.preset-style-item[data-v-a643d8fc]{width:50%;height:50px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;justify-content:center;align-items:center;position:relative;cursor:pointer;transition:all .2s}.preset-style-item[data-v-a643d8fc]:hover{border-color:#d14424;color:#d14424;z-index:1}.preset-style-item[data-v-a643d8fc]:nth-child(2n){margin-left:-1px}.preset-style-item[data-v-a643d8fc]:nth-child(n+3){margin-top:-1px}.row[data-v-100c8a7c],.row[data-v-44786c09]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-44786c09]{text-align:right}.filter[data-v-44786c09]{font-size:12px}.filter-item[data-v-44786c09]{padding:6px 0;display:flex;justify-content:center;align-items:center}.filter-item .name[data-v-44786c09]{width:60px}.filter-item .filter-slider[data-v-44786c09]{flex:1;margin:0 6px}.row[data-v-d428a4e5]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-d428a4e5]{text-align:right}.row[data-v-0c668b03]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-0c668b03]{text-align:right}.origin-image[data-v-0c668b03]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-0c668b03]{width:100%;margin-bottom:10px}.btn-icon[data-v-0c668b03]{margin-right:3px}.clip[data-v-0c668b03]{width:260px;font-size:12px}.clip .title[data-v-0c668b03]{margin-bottom:5px}.shape-clip[data-v-0c668b03]{margin-bottom:10px;display:flex;flex-wrap:wrap;align-content:flex-start}.shape-clip-item[data-v-0c668b03]{display:flex;justify-content:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-0c668b03]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-0c668b03]{background-color:#ccc}.shape-clip-item .shape[data-v-0c668b03]{width:40px;height:40px;background-color:#e1e1e1}.popover-btn[data-v-0c668b03]{padding:0 3px}.shape-style-panel[data-v-0c7a0fc5]{-webkit-user-select:none;user-select:none}.row[data-v-0c7a0fc5]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-0c7a0fc5]{padding:0}.title[data-v-0c7a0fc5]{display:flex;justify-content:space-between;margin-bottom:10px}.shape-pool[data-v-0c7a0fc5]{width:235px;height:150px;overflow:auto;padding:5px 10px 5px 5px;border:1px solid #eee;margin-bottom:20px}.shape-list[data-v-0c7a0fc5]{display:flex;flex-wrap:wrap;align-content:flex-start}.shape-item[data-v-0c7a0fc5]{width:14%;margin-bottom:3.2%;height:0;padding-bottom:14%;flex-shrink:0}.shape-item[data-v-0c7a0fc5]:not(:nth-child(6n)){margin-right:3.2%}.row[data-v-d5f2e330]{width:100%;display:flex;align-items:center;margin-bottom:10px}.line-btn[data-v-d5f2e330]{display:flex;align-items:center;justify-content:space-between;padding:0!important}.line-btn .line-wrapper[data-v-d5f2e330]{margin-left:8px}.line-wrapper[data-v-d5f2e330]{overflow:visible}.line-btn-icon[data-v-d5f2e330]{width:30px;font-size:12px;margin-top:2px;color:#bfbfbf}.preset-point-style[data-v-d5f2e330]{padding:0 10px}.preset-point-style+.preset-point-style[data-v-d5f2e330]{margin-top:10px}.chart-data-editor[data-v-ac578a4f]{width:600px;position:relative}.editor-content[data-v-ac578a4f]{width:100%;height:360px;position:relative;border-right:1px solid #ccc;border-bottom:1px solid #ccc;overflow:auto;overflow:overlay}.range-box[data-v-ac578a4f]{position:absolute;top:0;left:0;z-index:100;-webkit-user-select:none;user-select:none}.temp-range[data-v-ac578a4f]{width:0;height:0;position:absolute;top:0;left:0;background-color:#8888884d}.range-line[data-v-ac578a4f]{width:0;height:0;position:absolute;left:0;top:0;border:0 solid #d14424}.range-line.t[data-v-ac578a4f]{border-top-width:1px}.range-line.b[data-v-ac578a4f]{border-bottom-width:1px}.range-line.l[data-v-ac578a4f]{border-left-width:1px}.range-line.r[data-v-ac578a4f]{border-right-width:1px}.resizable[data-v-ac578a4f]{position:absolute;width:12px;height:12px;left:0;top:0;margin:-9px 0 0 -9px;cursor:nwse-resize}.resizable[data-v-ac578a4f]:after{content:"";position:absolute;width:4px;height:12px;right:0;top:0;background-color:#d14424}.resizable[data-v-ac578a4f]:before{content:"";position:absolute;width:12px;height:4px;right:0;bottom:0;background-color:#d14424}table[data-v-ac578a4f]{width:100%;height:100%;-webkit-user-select:none;user-select:none;table-layout:fixed}table td[data-v-ac578a4f]{text-align:center;border:1px solid #ccc;vertical-align:middle;width:100px;height:32px}table td.head[data-v-ac578a4f]{background-color:#d144241a}table .item[data-v-ac578a4f]{width:100%;height:100%;border:0;outline:0;font-size:13px;text-align:center;background-color:transparent}table .item.selected[data-v-ac578a4f]{background-color:#d1442405}.btns[data-v-ac578a4f]{margin-top:10px;display:flex;justify-content:space-between}.checkbox[data-v-3d20c849]{height:20px;display:flex;align-items:center;cursor:pointer}.checkbox:not(.disabled).checked .checkbox-input[data-v-3d20c849]{background-color:#d14424;border-color:#d14424}.checkbox:not(.disabled).checked .checkbox-input[data-v-3d20c849]:after{transform:rotate(45deg) scaleY(1)}.checkbox:not(.disabled).checked .checkbox-label[data-v-3d20c849]{color:#d14424}.checkbox.disabled[data-v-3d20c849]{color:#b7b7b7;cursor:default}.checkbox.disabled .checkbox-input[data-v-3d20c849]{background-color:#f5f5f5}.checkbox-input[data-v-3d20c849]{display:inline-block;position:relative;border:1px solid #d9d9d9;border-radius:2px;width:16px;height:16px;background-color:#fff;vertical-align:middle;transition:border-color .15s cubic-bezier(.71,-.46,.29,1.46),background-color .15s cubic-bezier(.71,-.46,.29,1.46);z-index:1}.checkbox-input[data-v-3d20c849]:after{content:"";border:2px solid #fff;border-left:0;border-top:0;height:9px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:6px;transition:transform .15s ease-in .05s;transform-origin:center}.checkbox-original[data-v-3d20c849]{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.checkbox-label[data-v-3d20c849]{margin-left:5px;line-height:20px;font-size:13px;-webkit-user-select:none;user-select:none}.chart-style-panel[data-v-63098034]{-webkit-user-select:none;user-select:none}.row[data-v-63098034]{width:100%;display:flex;align-items:center;margin-bottom:10px}.full-width-btn[data-v-63098034]{width:100%}.btn-icon[data-v-63098034]{margin-right:3px}.color-btn-wrap[data-v-63098034]{position:relative}.delete-color-btn[data-v-63098034]{position:absolute;width:30px;right:2px;top:2px;bottom:2px;display:flex;justify-content:center;align-items:center;background-color:#fff;cursor:pointer}.preset-themes[data-v-63098034]{width:250px;margin-bottom:-10px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-theme[data-v-63098034]{display:flex;cursor:pointer;width:48%;margin-bottom:4%}.preset-theme[data-v-63098034]:not(:nth-child(2n)){margin-right:4%}.preset-theme-color[data-v-63098034]{width:20px;height:20px}.preset-theme-color.select[data-v-63098034]{transform:scale(1.2);transition:transform .1s}.row[data-v-77cc371a]{width:100%;display:flex;align-items:center;margin-bottom:10px}.theme-switch[data-v-77cc371a]{margin-bottom:18px}.switch-wrapper[data-v-77cc371a]{text-align:right}.set-count[data-v-77cc371a]{display:flex;justify-content:center;align-items:center}.set-count .btn[data-v-77cc371a]{padding:0 8px}.set-count .count-text[data-v-77cc371a]{flex:1;text-align:center;margin:0 8px}.row[data-v-6b6e110e],.row[data-v-b289959e]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-b289959e],.background-image-wrapper[data-v-b289959e]{margin-bottom:10px}.background-image[data-v-b289959e]{height:0;padding-bottom:56.25%;border:1px dashed #eee;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-b289959e]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-b289959e]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.switch-row[data-v-b289959e]{height:32px}.switch-wrapper[data-v-b289959e]{text-align:right}.row[data-v-44ce0855]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-row[data-v-44ce0855]{height:32px}.switch-wrapper[data-v-44ce0855]{text-align:right}.row[data-v-3a1eb966]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-3a1eb966]{padding:0}.row[data-v-6bb316f9]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-6bb316f9]{margin-bottom:10px}.label[data-v-6bb316f9]{text-align:center}.btn-icon[data-v-6bb316f9]{margin-right:3px}.icon-btn[data-v-6bb316f9]{cursor:pointer}.icon-btn.active[data-v-6bb316f9]{color:#d14424}.text-btn[data-v-6bb316f9]{height:30px;line-height:30px;text-align:center;cursor:pointer}.text-btn[data-v-6bb316f9]:hover{background-color:#efefef;border-radius:2px}.element-animation-panel[data-v-bf835335]{height:100%;display:flex;flex-direction:column}.element-animation[data-v-bf835335]{height:32px;display:flex;align-items:center}.element-animation-btn[data-v-bf835335]{width:100%}.config-item[data-v-bf835335]{display:flex;align-items:center}.config-item+.config-item[data-v-bf835335]{margin-top:5px}.tip[data-v-bf835335]{height:32px;display:flex;justify-content:center;align-items:center;font-style:italic}.animation-pool[data-v-bf835335]{width:400px;height:500px;overflow-y:auto;overflow-x:hidden;font-size:12px;margin-right:-10px;padding-right:5px;position:relative}.animation-pool .mask[data-v-bf835335]{position:absolute;top:0;right:0;bottom:0;left:0}.animation-pool.in .type-title[data-v-bf835335]{border-left-color:#68a490;background-color:#68a49026}.animation-pool.out .type-title[data-v-bf835335]{border-left-color:#d86344;background-color:#d8634426}.animation-pool.attention .type-title[data-v-bf835335]{border-left-color:#e8b76a;background-color:#e8b76a26}.pool-type[data-v-bf835335]:not(:last-child){margin-bottom:5px}.type-title[data-v-bf835335]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:4px 0 4px 10px}.pool-item-wrapper[data-v-bf835335]{display:flex;flex-wrap:wrap;align-content:flex-start}.pool-item[data-v-bf835335]{width:24%;margin-bottom:calc(4% / 3);margin-bottom:5px;height:40px;line-height:40px;text-align:center;cursor:pointer}.pool-item[data-v-bf835335]:not(:nth-child(4n)){margin-right:calc(4% / 3)}.animation-box[data-v-bf835335]{background-color:#f9f9f9;border-radius:2px}.animation-sequence[data-v-bf835335]{flex:1;padding-right:12px;margin-right:-12px;overflow:auto;overflow:overlay}.sequence-item[data-v-bf835335]{border:1px solid #eee;padding:8px;border-radius:2px;margin-bottom:8px;transition:all .5s}.sequence-item.in.active[data-v-bf835335]{border-color:#68a490}.sequence-item.out.active[data-v-bf835335]{border-color:#d86344}.sequence-item.attention.active[data-v-bf835335]{border-color:#e8b76a}.sequence-item.active[data-v-bf835335]{height:auto}.sequence-item .sequence-content[data-v-bf835335]{display:flex;align-items:center;cursor:grab}.sequence-item .sequence-content[data-v-bf835335]:active{cursor:grabbing}.sequence-item .sequence-content .index[data-v-bf835335]{flex:1}.sequence-item .sequence-content .text[data-v-bf835335]{flex:6}.sequence-item .sequence-content .handler[data-v-bf835335]{flex:2;font-size:15px;text-align:right}.sequence-item .sequence-content .handler-btn[data-v-bf835335]{margin-left:8px;cursor:pointer}.theme-styles-extract[data-v-7437b8cb]{height:500px;display:flex;flex-direction:column}.content[data-v-7437b8cb]{flex:1;overflow:auto;padding-right:20px;margin-right:-20px}.config-item[data-v-7437b8cb]{padding:12px 0 10px;border-bottom:1px dashed #f5f5f5;font-size:13px}.label[data-v-7437b8cb]{margin-bottom:5px}.values .value-wrap[data-v-7437b8cb]{display:flex;align-items:center;justify-content:space-between}.values .value-wrap+.value-wrap[data-v-7437b8cb]{margin-top:3px}.values .handler[data-v-7437b8cb]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-left:10px}.values .handler .state[data-v-7437b8cb]{opacity:0}.values .handler .state.active[data-v-7437b8cb]{opacity:1}.values .handler .config-btn[data-v-7437b8cb]{cursor:pointer}.values .handler .config-btn[data-v-7437b8cb]:hover{color:#d14424}.values .value[data-v-7437b8cb]{width:150px;height:24px;border:1px solid #eee;display:flex;align-items:center;justify-content:center;font-size:12px;padding:5px;border-radius:2px}.btns[data-v-7437b8cb]{margin-top:12px}.btns .btn[data-v-7437b8cb]{width:100%}.slide-design-panel[data-v-ad00c84a]{-webkit-user-select:none;user-select:none}.row[data-v-ad00c84a]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-ad00c84a]{display:flex;justify-content:space-between;margin-bottom:10px}.title .more[data-v-ad00c84a]{cursor:pointer}.title .more .text[data-v-ad00c84a]{font-size:12px;margin-right:3px}.background-image-wrapper[data-v-ad00c84a]{margin-bottom:10px}.background-image[data-v-ad00c84a]{height:0;padding-bottom:56.25%;border:1px dashed #eee;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-ad00c84a]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-ad00c84a]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-ad00c84a]{display:flex;flex-wrap:wrap;align-content:flex-start}.theme-item[data-v-ad00c84a]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-ad00c84a]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-ad00c84a]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;padding:8px;border:1px solid #eee;border-radius:2px}.theme-item .text[data-v-ad00c84a]{font-size:16px}.theme-item .colors[data-v-ad00c84a]{display:flex}.theme-item .color-block[data-v-ad00c84a]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-ad00c84a]{opacity:1}.theme-item .btns[data-v-ad00c84a]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.animation-pool[data-v-ae84c3f4]{display:flex;flex-wrap:wrap;margin-bottom:10px}.animation-item[data-v-ae84c3f4]{width:50%;height:100px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 0 15px;position:relative;cursor:pointer}.animation-item.active[data-v-ae84c3f4]{border-color:#d14424;z-index:1}.animation-item[data-v-ae84c3f4]:nth-child(2n){margin-left:-1px}.animation-item[data-v-ae84c3f4]:nth-child(n+3){margin-top:-1px}.animation-block[data-v-ae84c3f4]{width:64px;height:36px;background:#666;position:relative;overflow:hidden}.animation-block.fade[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:fade-ae84c3f4 .3s linear}.animation-block.slideX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX-ae84c3f4 .3s linear}.animation-block.slideY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY-ae84c3f4 .3s linear}.animation-block.slideX3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX3D-ae84c3f4 .3s linear}.animation-block.slideY3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY3D-ae84c3f4 .3s linear}.animation-block.rotate[data-v-ae84c3f4]:hover:after{transform-origin:0 0;content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:rotate-ae84c3f4 .3s linear}.animation-block.scaleY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleY-ae84c3f4 .3s linear}.animation-block.scaleX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleX-ae84c3f4 .3s linear}.animation-block.scale[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scale-ae84c3f4 .3s linear}.animation-block.scaleReverse[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleReverse-ae84c3f4 .3s linear}.animation-text[data-v-ae84c3f4]{font-size:12px;color:#333;text-align:center}@keyframes fade-ae84c3f4{0%{opacity:0}to{opacity:1}}@keyframes slideX-ae84c3f4{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slideY-ae84c3f4{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideX3D-ae84c3f4{0%{transform:translate(100%) scale(.5)}to{transform:translate(0)}}@keyframes slideY3D-ae84c3f4{0%{transform:translateY(100%) scale(.5)}to{transform:translateY(0)}}@keyframes rotate-ae84c3f4{0%{transform:rotate(-90deg)}to{transform:rotate(0)}}@keyframes scaleY-ae84c3f4{0%{transform:scaleY(.1)}to{transform:scaleY(1)}}@keyframes scaleX-ae84c3f4{0%{transform:scaleX(.1)}to{transform:scaleY(1)}}@keyframes scale-ae84c3f4{0%{transform:scale(.25)}to{transform:scale(1)}}@keyframes scaleReverse-ae84c3f4{0%{transform:scale(2)}to{transform:scale(1)}}.row[data-v-d41009b1]{width:100%;display:flex;align-items:center;margin-bottom:10px}.symbol-panel[data-v-0f662bb0]{height:100%;display:flex;flex-direction:column}.symbol-panel .pool[data-v-0f662bb0]{padding:5px 12px;margin:0 -12px;flex:1;font-size:18px;overflow:auto;overflow:overlay;display:flex;flex-wrap:wrap;align-content:flex-start}.symbol-panel .symbol-item[data-v-0f662bb0]{width:18%;margin-bottom:2.5%;height:0;padding-bottom:18%;position:relative;cursor:pointer;border:1px solid #eee}.symbol-panel .symbol-item[data-v-0f662bb0]:not(:nth-child(5n)){margin-right:2.5%}.symbol-panel .symbol-item[data-v-0f662bb0]:hover{color:#d14424}.symbol-panel .symbol-item .symbol[data-v-0f662bb0]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-color:#fff}.toolbar[data-v-83fff59a]{border-left:solid 1px #eee;background-color:#fff;display:flex;flex-direction:column}.content[data-v-83fff59a]{padding:12px;font-size:13px;overflow:auto;overflow:overlay}.editor[data-v-4042a280]{height:100%;overflow:auto}.prosemirror-editor[data-v-4042a280]{height:100%;cursor:text}.prosemirror-editor[data-v-4042a280] .ProseMirror{height:100%;font-size:12px;overflow:auto;padding:8px;line-height:1.5}.prosemirror-editor[data-v-4042a280] .ProseMirror>p[data-placeholder]:before{content:attr(data-placeholder);pointer-events:none;position:absolute;font-size:12px;color:#66666680}.menu[data-v-4042a280]{display:flex;background-color:#fff;padding:6px 4px;border-radius:2px;box-shadow:0 0 20px #00000026}.menu button[data-v-4042a280]{outline:0;border:0;background-color:#fff;padding:3px;border-radius:2px;font-size:16px;margin:0 3px;display:flex;align-items:center;justify-content:center;cursor:pointer}.menu button[data-v-4042a280]:hover,.menu button.active[data-v-4042a280]{background-color:#d14424;color:#fff}.remark[data-v-1c52a472]{position:relative;border-top:1px solid #eee}.resize-handler[data-v-1c52a472]{height:7px;position:absolute;top:-3px;left:0;right:0;cursor:n-resize;z-index:2}.export-img-dialog[data-v-32b43d99]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-32b43d99]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-32b43d99]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.configs[data-v-32b43d99]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-32b43d99]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-32b43d99]{width:100px;position:relative}.configs .title[data-v-32b43d99]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-32b43d99]{flex:1}.btns[data-v-32b43d99]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-32b43d99]{flex:1}.btns .close[data-v-32b43d99]{width:100px;margin-left:10px}.export-json-dialog[data-v-c2d35f76]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.preview[data-v-c2d35f76]{width:100%;height:calc(100% - 100px);background-color:#f9f9f9;color:#0451a5;overflow:auto}pre[data-v-c2d35f76]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.btns[data-v-c2d35f76]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-c2d35f76]{flex:1}.btns .close[data-v-c2d35f76]{width:100px;margin-left:10px}[data-v-c2d35f76]::-webkit-scrollbar{width:10px;height:10px;background-color:#f9f9f9}[data-v-c2d35f76]::-webkit-scrollbar-thumb{background-color:#c1c1c1}.export-pdf-dialog[data-v-d3a30d69]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-d3a30d69]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-d3a30d69]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.thumbnail.break-page[data-v-d3a30d69]{break-after:page}.configs[data-v-d3a30d69]{width:300px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-d3a30d69]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-d3a30d69]{width:100px}.configs .config-item[data-v-d3a30d69]{flex:1}.configs .tip[data-v-d3a30d69]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-d3a30d69]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-d3a30d69]{flex:1}.btns .close[data-v-d3a30d69]{width:100px;margin-left:10px}.export-pptx-dialog[data-v-254b6b07]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-254b6b07]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-254b6b07]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-254b6b07]{width:100px;position:relative}.configs .title[data-v-254b6b07]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-254b6b07]{flex:1}.configs .tip[data-v-254b6b07]{font-size:12px;color:#aaa;line-height:1.8;margin-top:10px}.btns[data-v-254b6b07]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-254b6b07]{flex:1}.btns .close[data-v-254b6b07]{width:100px;margin-left:10px}.export-pptist-dialog[data-v-bc56c9db]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-bc56c9db]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-bc56c9db]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-bc56c9db]{width:100px;position:relative}.configs .title[data-v-bc56c9db]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-bc56c9db]{flex:1}.configs .tip[data-v-bc56c9db]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-bc56c9db]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-bc56c9db]{flex:1}.btns .close[data-v-bc56c9db]{width:100px;margin-left:10px}.export-dialog[data-v-b54f4542]{margin:-20px}.content[data-v-b54f4542]{height:460px;padding:12px;font-size:13px;overflow:auto;overflow:overlay}.moveable-panel[data-v-52b78a58]{position:fixed;background-color:#fff;box-shadow:0 2px 12px #38383826;border:1px solid #eee;border-radius:2px;display:flex;flex-direction:column;z-index:999}.resizer[data-v-52b78a58]{width:10px;height:10px;position:absolute;bottom:0;right:0;cursor:se-resize}.resizer[data-v-52b78a58]:after{content:"";position:absolute;bottom:-4px;right:-4px;transform:rotate(45deg);transform-origin:center;width:0;height:0;border:6px solid transparent;border-left-color:#e1e1e1}.header[data-v-52b78a58]{height:40px;display:flex;align-items:center;border-bottom:1px solid #f0f0f0;cursor:move}.title[data-v-52b78a58]{flex:1;font-size:13px;padding-left:10px}.close-btn[data-v-52b78a58]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.content[data-v-52b78a58]{flex:1;padding:10px;overflow:auto}.select-panel[data-v-8d6111bd]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.handler[data-v-8d6111bd]{height:24px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.handler .icon-btns[data-v-8d6111bd]{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end}.handler .icon-btn[data-v-8d6111bd]{width:16px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.handler .icon-btn[data-v-8d6111bd]:hover{color:#d14424}.element-list[data-v-8d6111bd]{height:calc(100% - 32px);padding-right:10px;margin-right:-10px;overflow:auto}.item[data-v-8d6111bd]{padding:5px;font-size:12px;border-radius:2px;display:flex;align-items:center;cursor:pointer}.item.active[data-v-8d6111bd]{background-color:#d144241a}.item.group-active[data-v-8d6111bd]{background-color:#d1442433}.item[data-v-8d6111bd]:hover{background-color:#d1442440}.item .name[data-v-8d6111bd]{height:18px;line-height:18px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item .icons[data-v-8d6111bd]{width:20px;display:flex;align-items:center;justify-content:center;margin-left:5px}.group-els[data-v-8d6111bd]{padding:5px 0}.group-els .group-title[data-v-8d6111bd]{margin-bottom:5px;padding:0 5px}.group-els .item[data-v-8d6111bd]{margin-left:15px}.input[data-v-8d6111bd]{width:100%;height:16px;border:0;outline:0;padding-left:0;padding-right:0;flex:1;font-size:12px;background-color:transparent}.search-panel[data-v-c6ed3d92]{font-size:13px}.content[data-v-c6ed3d92]{display:flex;flex-direction:column;justify-content:space-between}.input[data-v-c6ed3d92]{margin-top:10px}.count[data-v-c6ed3d92]{font-size:12px;margin-right:8px;-webkit-user-select:none;user-select:none}.ignore-case[data-v-c6ed3d92]{font-size:12px;-webkit-user-select:none;user-select:none;cursor:pointer}.ignore-case.active[data-v-c6ed3d92]{color:#d14424}.next-btn[data-v-c6ed3d92]{width:22px;height:100%;display:flex;justify-content:center;align-items:center;margin:0!important;-webkit-user-select:none;user-select:none;cursor:pointer}.next-btn[data-v-c6ed3d92]:hover{color:#d14424}.footer[data-v-c6ed3d92]{display:flex;justify-content:flex-end;align-items:center;margin-top:10px}.close-btn[data-v-c6ed3d92]{width:32px;height:32px;position:absolute;top:8px;right:3px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.notes-panel[data-v-1c407bb5]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.container[data-v-1c407bb5]{height:100%;display:flex;flex-direction:column}.notes[data-v-1c407bb5]{flex:1;overflow:auto;margin:0 -10px;padding:2px 12px}.empty[data-v-1c407bb5]{width:100%;height:100%;color:#999;font-style:italic;display:flex;justify-content:center;align-items:center}.note[data-v-1c407bb5]{border:1px solid #eee;border-radius:4px;padding:10px}.note+.note[data-v-1c407bb5]{margin-top:10px}.note.active[data-v-1c407bb5]{background-color:#f7f7f7}.note .header[data-v-1c407bb5]{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.note .header:hover .btns[data-v-1c407bb5]{opacity:1}.note .user[data-v-1c407bb5]{display:flex;align-items:center}.note .user .avatar[data-v-1c407bb5]{width:30px;height:30px;border-radius:50%;background-color:#42ba97;color:#fff;font-size:18px;display:flex;justify-content:center;align-items:center;margin-right:10px}.note .user .username[data-v-1c407bb5]{font-size:14px}.note .user .time[data-v-1c407bb5]{font-size:12px;color:#aaa}.note .btns[data-v-1c407bb5]{display:flex;align-items:center;opacity:0}.note .btns .btn[data-v-1c407bb5]{margin-left:5px;cursor:pointer}.note .btns .btn[data-v-1c407bb5]:hover{text-decoration:underline;color:#d14424}.note .replies[data-v-1c407bb5]{margin-left:20px;margin-top:15px}.note .replies .reply-item[data-v-1c407bb5]{margin-top:10px}.note .replies .reply-item .content[data-v-1c407bb5]{margin-top:5px}.note-reply[data-v-1c407bb5]{margin-top:15px}.reply-btns[data-v-1c407bb5]{margin-top:5px;text-align:right}.reply-btns .btn[data-v-1c407bb5]{margin-left:8px}.send[data-v-1c407bb5]{height:120px;flex-shrink:0;text-align:right;display:flex;flex-direction:column;justify-content:flex-end}.send .footer[data-v-1c407bb5]{margin-top:10px;display:flex}.send .footer .btn[data-v-1c407bb5]{display:flex;justify-content:center;align-items:center}.send .footer .btn.icon[data-v-1c407bb5]{font-size:18px;color:#666;cursor:pointer}.send .footer .btn+.btn[data-v-1c407bb5]{margin-left:8px}.pptist-editor[data-v-39fd665d]{height:100%}.layout-header[data-v-39fd665d]{height:40px}.layout-content[data-v-39fd665d]{height:calc(100% - 40px);display:flex}.layout-content-left[data-v-39fd665d]{width:160px;height:100%;flex-shrink:0}.layout-content-center[data-v-39fd665d]{width:calc(100% - 420px)}.layout-content-center .center-top[data-v-39fd665d]{height:40px}.layout-content-right[data-v-39fd665d]{width:260px;height:100%}.screen-element-video[data-v-d9f232b0]{position:absolute}.rotate-wrapper[data-v-d9f232b0],.element-content[data-v-d9f232b0]{width:100%;height:100%}.screen-element-audio[data-v-94802f8e]{position:absolute}.rotate-wrapper[data-v-94802f8e]{width:100%;height:100%}.element-content[data-v-94802f8e]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.element-content:hover .audio-player[data-v-94802f8e]{display:block}.audio-icon[data-v-94802f8e]{cursor:pointer}.audio-player[data-v-94802f8e]{position:absolute;display:none}.link[data-v-28b05f52]{cursor:pointer}.screen-slide[data-v-7ee8460e]{position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden}.background[data-v-7ee8460e]{width:100%;height:100%;background-position:center;position:absolute}.screen-slide-list[data-v-21b28464]{background:#1d1d1d;position:relative;width:100%;height:100%}.slide-item[data-v-21b28464]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-21b28464]{z-index:2}.slide-item.hide[data-v-21b28464]{opacity:0}.slide-item.turning-mode-no.before[data-v-21b28464]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-21b28464]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-21b28464]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-21b28464],.slide-item.turning-mode-fade.after[data-v-21b28464]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-21b28464]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-21b28464]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-21b28464]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-21b28464]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-21b28464]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-21b28464]{transform:translateY(100%)}.slide-item.turning-mode-slideX3D[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-slideX3D.before[data-v-21b28464]{transform:translate(-100%) scale(.5)}.slide-item.turning-mode-slideX3D.after[data-v-21b28464]{transform:translate(100%) scale(.5)}.slide-item.turning-mode-slideY3D[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-slideY3D.before[data-v-21b28464]{transform:translateY(-100%) scale(.5)}.slide-item.turning-mode-slideY3D.after[data-v-21b28464]{transform:translateY(100%) scale(.5)}.slide-item.turning-mode-rotate[data-v-21b28464]{transition:transform .5s;transform-origin:0 0}.slide-item.turning-mode-rotate.before[data-v-21b28464]{transform:rotate(90deg)}.slide-item.turning-mode-rotate.after[data-v-21b28464]{transform:rotate(-90deg)}.slide-item.turning-mode-scaleY[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-scaleY.before[data-v-21b28464],.slide-item.turning-mode-scaleY.after[data-v-21b28464]{transform:scaleY(.1)}.slide-item.turning-mode-scaleX[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-scaleX.before[data-v-21b28464],.slide-item.turning-mode-scaleX.after[data-v-21b28464]{transform:scaleX(.1)}.slide-item.turning-mode-scale[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-scale.before[data-v-21b28464],.slide-item.turning-mode-scale.after[data-v-21b28464]{transform:scale(.25)}.slide-item.turning-mode-scaleReverse[data-v-21b28464]{transition:transform .5s}.slide-item.turning-mode-scaleReverse.before[data-v-21b28464],.slide-item.turning-mode-scaleReverse.after[data-v-21b28464]{transform:scale(2)}.slide-content[data-v-21b28464]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.slide-thumbnails[data-v-09d790f0]{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#1a1a1a;z-index:99}.return-button[data-v-09d790f0]{height:60px;padding:20px 30px 0}.return-button .icon[data-v-09d790f0]{color:#fff;font-size:36px;cursor:pointer}.return-button .icon[data-v-09d790f0]:hover{color:#d14424}.slide-thumbnails-content[data-v-09d790f0]{height:calc(100% - 100px);padding:20px 30px 30px;display:flex;flex-wrap:wrap;align-content:flex-start;overflow:auto;overflow:overlay}.slide-thumbnails-content .thumbnail[data-v-09d790f0]{width:150px;outline:2px solid #aaa;margin-right:12px;margin-bottom:12px}.slide-thumbnails-content .thumbnail[data-v-09d790f0]:hover{outline-color:#d14424}.slide-thumbnails-content .thumbnail.active[data-v-09d790f0]{outline-width:3px;outline-color:#d14424}.writing-board[data-v-55ae5f6c]{z-index:8;cursor:none;position:absolute;top:0;right:0;bottom:0;left:0}.blackboard[data-v-55ae5f6c]{width:100%;height:100%;background-color:#0f392b}.canvas[data-v-55ae5f6c]{position:absolute;top:0;left:0}.eraser[data-v-55ae5f6c],.pen[data-v-55ae5f6c]{pointer-events:none;position:absolute;z-index:9}.eraser .icon[data-v-55ae5f6c],.pen .icon[data-v-55ae5f6c]{filter:drop-shadow(2px 2px 2px #555)}.eraser[data-v-55ae5f6c]{display:flex;justify-content:center;align-items:center;border-radius:50%;border:4px solid rgba(85,85,85,.15);color:#555555bf}.writing-board-tool[data-v-47295ef6]{font-size:12px;z-index:10;position:absolute;top:0;right:0;bottom:0;left:0}.writing-board-tool .writing-board-wrap[data-v-47295ef6]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.writing-board-tool .tools[data-v-47295ef6]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between}.writing-board-tool .tool-content[data-v-47295ef6]{display:flex;align-items:center}.writing-board-tool .btn[data-v-47295ef6]{padding:5px 10px;cursor:pointer}.writing-board-tool .btn[data-v-47295ef6]:hover{color:#d14424}.writing-board-tool .btn.active[data-v-47295ef6]{background-color:#d1442480;color:#fff}.writing-board-tool .icon[data-v-47295ef6]{font-size:20px}.writing-board-tool .colors[data-v-47295ef6]{display:flex;padding:0 10px}.writing-board-tool .color[data-v-47295ef6]{width:16px;height:16px;border-radius:2px;cursor:pointer}.writing-board-tool .color[data-v-47295ef6]:hover{transform:scale(1.15)}.writing-board-tool .color.active[data-v-47295ef6]{transform:scale(1.3)}.writing-board-tool .color+.color[data-v-47295ef6]{margin-left:8px}.size[data-v-47295ef6]{width:200px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;font-size:13px}.size .label[data-v-47295ef6]{width:70px}.size .size-slider[data-v-47295ef6]{flex:1}.countdown-timer[data-v-92c1f9be]{-webkit-user-select:none;user-select:none}.header[data-v-92c1f9be]{height:16px;font-size:13px;margin-bottom:16px;display:flex;align-items:center}.header .text-btn[data-v-92c1f9be]{margin-right:8px;cursor:pointer}.header .text-btn[data-v-92c1f9be]:hover,.header .text-btn.active[data-v-92c1f9be]{color:#d14424}.content[data-v-92c1f9be]{display:flex;justify-content:space-between;padding:0 5px}.timer[data-v-92c1f9be]{width:54px;height:54px;border-radius:50%;background-color:#d144240d;font-size:22px;overflow:hidden}.timer input[data-v-92c1f9be]{width:100%;height:100%;border:0;outline:0;background-color:transparent;text-align:center}.colon[data-v-92c1f9be]{height:54px;line-height:54px;font-size:22px}.icon-btn[data-v-92c1f9be]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.pause[data-v-92c1f9be],.play[data-v-92c1f9be]{font-size:17px}.reset[data-v-92c1f9be]{font-size:12px}.close-btn[data-v-92c1f9be]{position:absolute;top:0;right:0;padding:10px;cursor:pointer}.base-view[data-v-85c13201]{width:100%;height:100%}.base-view.laser-pen[data-v-85c13201]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.tools-left[data-v-85c13201]{position:fixed;bottom:8px;left:8px;font-size:25px;color:#666;z-index:10}.tools-left .tool-btn[data-v-85c13201]{opacity:.35;cursor:pointer}.tools-left .tool-btn[data-v-85c13201]:hover{opacity:.9}.tools-left .tool-btn+.tool-btn[data-v-85c13201]{margin-left:8px}.tools-right[data-v-85c13201]{height:66px;position:fixed;bottom:-66px;right:0;z-index:5;padding:8px;transition:bottom .2s}.tools-right.visible[data-v-85c13201]{bottom:0}.tools-right[data-v-85c13201]:after{content:"";width:100%;height:66px;position:absolute;left:0;top:-66px}.tools-right .content[data-v-85c13201]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:2px;font-size:25px;background-color:#fff;color:#41464b;padding:8px 10px;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed}.tools-right .tool-btn[data-v-85c13201]{cursor:pointer}.tools-right .tool-btn[data-v-85c13201]:hover,.tools-right .tool-btn.active[data-v-85c13201]{color:#d14424}.tools-right .tool-btn+.tool-btn[data-v-85c13201]{margin-left:15px}.tools-right .page-number[data-v-85c13201]{font-size:13px;padding:8px 12px;cursor:pointer}.presenter-view[data-v-691774ef]{width:100%;height:100%;display:flex}.toolbar[data-v-691774ef]{width:70px;height:100%;background-color:#fff;border-right:solid 1px #eee;font-size:12px;margin:20px 0}.toolbar .tool-btn[data-v-691774ef]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer}.toolbar .tool-btn+.tool-btn[data-v-691774ef]{margin-top:22px}.toolbar .tool-btn[data-v-691774ef]:hover,.toolbar .tool-btn.active[data-v-691774ef]{color:#d14424}.toolbar .divider[data-v-691774ef]{width:70%;margin:24px 15%!important}.toolbar .tool-icon[data-v-691774ef]{margin-bottom:8px;font-size:22px}.content[data-v-691774ef]{width:calc(100% - 430px);height:100%;background-color:#1d1d1d}.slide-list-wrap[data-v-691774ef]{height:calc(100% - 190px);margin:20px;overflow:hidden;position:relative}.slide-list-wrap.laser-pen[data-v-691774ef]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.thumbnails[data-v-691774ef]{height:150px;padding:15px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;border-top:solid 1px #3a3a3a}.thumbnail[data-v-691774ef]{display:inline-block;outline:2px solid #aaa}.thumbnail+.thumbnail[data-v-691774ef]{margin-left:10px}.thumbnail[data-v-691774ef]:hover{outline-color:#d14424}.thumbnail.active[data-v-691774ef]{outline-width:3px;outline-color:#d14424}.remark[data-v-691774ef]{width:360px;height:100%;position:relative;background-color:#2a2a2a;border-left:solid 1px #3a3a3a;color:#fff}.remark .header[data-v-691774ef]{height:60px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;font-size:18px;border-bottom:1px solid #3a3a3a}.remark .remark-content[data-v-691774ef]{height:calc(100% - 60px);padding:20px;line-height:1.5;overflow:auto;overflow:overlay}.remark .remark-scale[data-v-691774ef]{position:absolute;right:5px;bottom:5px;font-size:22px;display:flex}.remark .scale-btn[data-v-691774ef]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer}.remark .scale-btn.disable[data-v-691774ef]{color:#666;cursor:no-drop}.remark .scale-btn[data-v-691774ef]:not(.disable):hover{background-color:#333}[data-v-691774ef]::-webkit-scrollbar{width:0;height:0}.pptist-screen[data-v-2f0dc4b8]{width:100%;height:100%}.mobile-operate[data-v-b61bf2dc]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.mobile-thumbnails[data-v-f47af55e]{padding:10px;white-space:nowrap;overflow-x:auto;overflow-y:hidden}.thumbnail-item[data-v-f47af55e]{position:relative;display:inline-block;outline:2px solid #aaa}.thumbnail-item+.thumbnail-item[data-v-f47af55e]{margin-left:10px}.thumbnail-item.active[data-v-f47af55e]{outline-color:#d14424}.thumbnail-item.active .label[data-v-f47af55e]{background-color:#d14424}.thumbnail-item .label[data-v-f47af55e]{min-width:20px;height:14px;line-height:14px;position:absolute;right:-1px;top:-1px;color:#fff;background-color:#aaa;z-index:1;font-size:12px;text-align:center;padding:0 5px}.sortable-chosen[data-v-f47af55e]{top:-5px}[data-v-f47af55e]::-webkit-scrollbar{width:0;height:0}.slide-toolbar[data-v-bceba327]{height:230px;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;position:relative;z-index:2}.remark[data-v-bceba327]{position:relative;flex:1;border-bottom:1px solid #eee;line-height:1.5}.remark textarea[data-v-bceba327]{width:100%;height:100%;overflow-y:auto;resize:none;border:0;outline:0;padding:8px 10px;font-size:12px;box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0}.toolbar[data-v-bceba327]{height:90px;border-bottom:1px solid #eee;padding:10px}.row[data-v-bceba327]{width:100%;display:flex;align-items:center;margin-bottom:5px}.row .icon[data-v-bceba327]{margin-right:3px}.element-toolbar[data-v-65decaff]{width:100%;height:240px;position:absolute;z-index:99;bottom:0;left:0;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;animation:slideInUp-65decaff .15s}@keyframes slideInUp-65decaff{0%{transform:translateY(100%)}to{transform:translateY(0)}}.content[data-v-65decaff]{padding:10px;flex:1;overflow:auto}.row[data-v-65decaff]{width:100%;display:flex;align-items:center;margin-bottom:10px}.row .icon[data-v-65decaff]{margin-right:3px}.row-block[data-v-65decaff]{margin-bottom:10px;background-color:#f9f9f9;border-radius:2px;padding:10px}.label[data-v-65decaff]{font-size:13px;margin-bottom:20px;margin-left:6px}.colors[data-v-65decaff]{display:flex;flex-wrap:wrap;align-content:flex-start}.color[data-v-65decaff]{width:12%;margin-bottom:calc(4% / 7);padding-bottom:5px;display:flex;justify-content:center;align-items:center}.color[data-v-65decaff]:not(:nth-child(8n)){margin-right:calc(4% / 7)}.color .color-block[data-v-65decaff]{width:30px;height:30px;border-radius:50%}.mobile-editor-header[data-v-091403e4]{height:50px;background-color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:13px;box-shadow:0 0 15px #0000001a;position:relative;z-index:2}.history[data-v-091403e4]{display:flex;justify-content:center;align-items:center}.history-item[data-v-091403e4]{margin-right:20px}.history-item.disable[data-v-091403e4]{opacity:.5}.mobile-editor[data-v-8b282f2e]{height:100%;position:relative;background-color:#f9f9f9}.content[data-v-8b282f2e]{height:calc(100% - 280px);display:flex;justify-content:center;align-items:center}.viewport[data-v-8b282f2e]{transform-origin:0 0}.viewport-wrapper[data-v-8b282f2e]{position:relative;box-shadow:0 0 15px #0000001a}.background[data-v-8b282f2e]{width:100%;height:100%;background-position:center;position:absolute}.mobile-player[data-v-c846a018]{transform-origin:0 0;background-color:#1d1d1d;position:relative}.screen-slide-list[data-v-c846a018]{position:relative;width:100%;height:100%}.slide-item[data-v-c846a018]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-c846a018]{z-index:2}.slide-item.hide[data-v-c846a018]{opacity:0}.slide-item.turning-mode-no.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-c846a018]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-c846a018]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-c846a018],.slide-item.turning-mode-fade.after[data-v-c846a018]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-c846a018]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-c846a018]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-c846a018]{transform:translateY(100%)}.slide-content[data-v-c846a018]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.header[data-v-c846a018]{width:100%;height:40px;line-height:40px;padding:0 15px;position:absolute;top:0;left:0;z-index:99;background-color:#1d1d1db3;text-align:right;font-size:13px;color:#fff;animation:slideInDown-c846a018 .15s}.header .back[data-v-c846a018]{height:100%}.thumbnails[data-v-c846a018]{width:100%;position:absolute;bottom:0;left:0;z-index:99;background-color:#1d1d1db3;overflow:auto!important;animation:slideInUp-c846a018 .15s}@keyframes slideInUp-c846a018{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInDown-c846a018{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.mobile-preview[data-v-99aa0ac4]{height:100%;background-color:#f9f9f9}.thumbnail-list[data-v-99aa0ac4]{height:calc(100% - 50px);padding:10px;overflow:auto}.thumbnail-item[data-v-99aa0ac4]{display:flex;justify-content:center;align-items:center;box-shadow:0 0 15px #0000001a}.thumbnail-item+.thumbnail-item[data-v-99aa0ac4]{margin-top:10px}.menu[data-v-99aa0ac4]{height:50px;position:relative;box-shadow:0 -2px 4px #3333330d;background:#fff;display:flex;justify-content:center;align-items:center}.menu .menu-item[data-v-99aa0ac4]{width:50%;height:100%;display:flex;justify-content:center;align-items:center;font-size:13px}.menu .menu-item .icon[data-v-99aa0ac4]{margin-right:8px;font-size:18px}.mobile[data-v-d02011cb],#app{height:100%}.i-icon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.i-icon-spin svg{animation:i-icon-spin 1s infinite linear}.i-icon-rtl{transform:scaleX(-1)}@keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT diff --git a/assets/index-DHdvLhS1.js b/assets/index-QIBIdYVr.js similarity index 52% rename from assets/index-DHdvLhS1.js rename to assets/index-QIBIdYVr.js index 1435f45a..bc60714d 100644 --- a/assets/index-DHdvLhS1.js +++ b/assets/index-QIBIdYVr.js @@ -1,49 +1,49 @@ -var bZ=Object.defineProperty;var SZ=(e,t,n)=>t in e?bZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var VA=(e,t,n)=>(SZ(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function gg(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Yn={},td=[],Fo=()=>{},MZ=()=>!1,dp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tx=e=>e.startsWith("onUpdate:"),ir=Object.assign,kx=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wZ=Object.prototype.hasOwnProperty,Ln=(e,t)=>wZ.call(e,t),wt=Array.isArray,nd=e=>Ed(e)==="[object Map]",Uu=e=>Ed(e)==="[object Set]",gS=e=>Ed(e)==="[object Date]",LZ=e=>Ed(e)==="[object RegExp]",Kt=e=>typeof e=="function",ar=e=>typeof e=="string",dc=e=>typeof e=="symbol",Qn=e=>e!==null&&typeof e=="object",Nx=e=>(Qn(e)||Kt(e))&&Kt(e.then)&&Kt(e.catch),vk=Object.prototype.toString,Ed=e=>vk.call(e),OZ=e=>Ed(e).slice(8,-1),gk=e=>Ed(e)==="[object Object]",Px=e=>ar(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rh=gg(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ag=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},TZ=/-(\w)/g,_o=Ag(e=>e.replace(TZ,(t,n)=>n?n.toUpperCase():"")),kZ=/\B([A-Z])/g,Hi=Ag(e=>e.replace(kZ,"-$1").toLowerCase()),hp=Ag(e=>e.charAt(0).toUpperCase()+e.slice(1)),oh=Ag(e=>e?`on${hp(e)}`:""),Ca=(e,t)=>!Object.is(e,t),rd=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},fv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},dv=e=>{const t=ar(e)?Number(e):NaN;return isNaN(t)?e:t};let AS;const Ak=()=>AS||(AS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),NZ="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",PZ=gg(NZ);function we(e){if(wt(e)){const t={};for(let n=0;n{if(n){const r=n.split(IZ);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Je(e){let t="";if(ar(e))t=e;else if(wt(e))for(let n=0;nhc(n,t))}const gt=e=>ar(e)?e:e==null?"":wt(e)||Qn(e)&&(e.toString===vk||!Kt(e.toString))?JSON.stringify(e,yk,2):String(e),yk=(e,t)=>t&&t.__v_isRef?yk(e,t.value):nd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[UA(r,i)+" =>"]=o,n),{})}:Uu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>UA(n))}:dc(t)?UA(t):Qn(t)&&!wt(t)&&!gk(t)?String(t):t,UA=(e,t="")=>{var n;return dc(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let yi;class Cx{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yi,!t&&yi&&(this.index=(yi.scopes||(yi.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yi;try{return yi=this,t()}finally{yi=n}}}on(){yi=this}off(){yi=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=2))break;Qu(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ic,n=lu;try{return ic=!0,lu=this,this._runnings++,RS(this),this.fn()}finally{yS(this),this._runnings--,lu=n,ic=t}}stop(){var t;this.active&&(RS(this),yS(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function UZ(e){return e.value}function RS(e){e._trackId++,e._depsLength=0}function yS(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(ir(n,t),t.scope&&xk(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function QZ(e){e.effect.stop()}let ic=!0,R4=0;const Mk=[];function Yu(){Mk.push(ic),ic=!1}function Qu(){const e=Mk.pop();ic=e===void 0?!0:e}function _x(){R4++}function Ex(){for(R4--;!R4&&y4.length;)y4.shift()()}function wk(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Sk(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const y4=[];function Lk(e,t,n){_x();for(const r of e.keys())if(!(!r.allowRecurse&&r._runnings)&&r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},hv=new WeakMap,cu=Symbol(""),x4=Symbol("");function oi(e,t,n){if(ic&&lu){let r=hv.get(e);r||hv.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Ok(()=>r.delete(n))),wk(lu,o)}}function el(e,t,n,r,o,i){const a=hv.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&wt(e)){const c=Number(r);a.forEach((l,u)=>{(u==="length"||!dc(u)&&u>=c)&&s.push(l)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":wt(e)?Px(n)&&s.push(a.get("length")):(s.push(a.get(cu)),nd(e)&&s.push(a.get(x4)));break;case"delete":wt(e)||(s.push(a.get(cu)),nd(e)&&s.push(a.get(x4)));break;case"set":nd(e)&&s.push(a.get(cu));break}_x();for(const c of s)c&&Lk(c,3);Ex()}function ZZ(e,t){var n;return(n=hv.get(e))==null?void 0:n.get(t)}const BZ=gg("__proto__,__v_isRef,__isVue"),Tk=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dc)),xS=DZ();function DZ(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=mn(this);for(let i=0,a=this.length;i{e[t]=function(...n){Yu(),_x();const r=mn(this)[t].apply(this,n);return Ex(),Qu(),r}}),e}function KZ(e){const t=mn(this);return oi(t,"has",e),t.hasOwnProperty(e)}class kk{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const o=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?_k:Fk:i?Ik:Ck).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=wt(t);if(!o){if(a&&Ln(xS,n))return Reflect.get(xS,n,r);if(n==="hasOwnProperty")return KZ}const s=Reflect.get(t,n,r);return(dc(n)?Tk.has(n):BZ(n))||(o||oi(t,"get",n),i)?s:sr(s)?a&&Px(n)?s:s.value:Qn(s)?o?Wx(s):pp(s):s}}class Nk extends kk{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._shallow){const c=Su(i);if(!eu(r)&&!Su(r)&&(i=mn(i),r=mn(r)),!wt(t)&&sr(i)&&!sr(r))return c?!1:(i.value=r,!0)}const a=wt(t)&&Px(n)?Number(n)e,yg=e=>Reflect.getPrototypeOf(e);function U1(e,t,n=!1,r=!1){e=e.__v_raw;const o=mn(e),i=mn(t);n||(Ca(t,i)&&oi(o,"get",t),oi(o,"get",i));const{has:a}=yg(o),s=r?Xx:n?Ux:Eh;if(a.call(o,t))return s(e.get(t));if(a.call(o,i))return s(e.get(i));e!==o&&e.get(t)}function Y1(e,t=!1){const n=this.__v_raw,r=mn(n),o=mn(e);return t||(Ca(e,o)&&oi(r,"has",e),oi(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Q1(e,t=!1){return e=e.__v_raw,!t&&oi(mn(e),"iterate",cu),Reflect.get(e,"size",e)}function bS(e){e=mn(e);const t=mn(this);return yg(t).has.call(t,e)||(t.add(e),el(t,"add",e,e)),this}function SS(e,t){t=mn(t);const n=mn(this),{has:r,get:o}=yg(n);let i=r.call(n,e);i||(e=mn(e),i=r.call(n,e));const a=o.call(n,e);return n.set(e,t),i?Ca(t,a)&&el(n,"set",e,t):el(n,"add",e,t),this}function MS(e){const t=mn(this),{has:n,get:r}=yg(t);let o=n.call(t,e);o||(e=mn(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&el(t,"delete",e,void 0),i}function wS(){const e=mn(this),t=e.size!==0,n=e.clear();return t&&el(e,"clear",void 0,void 0),n}function Z1(e,t){return function(r,o){const i=this,a=i.__v_raw,s=mn(a),c=t?Xx:e?Ux:Eh;return!e&&oi(s,"iterate",cu),a.forEach((l,u)=>r.call(o,c(l),c(u),i))}}function B1(e,t,n){return function(...r){const o=this.__v_raw,i=mn(o),a=nd(i),s=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,l=o[e](...r),u=n?Xx:t?Ux:Eh;return!t&&oi(i,"iterate",c?x4:cu),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function bl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $Z(){const e={get(i){return U1(this,i)},get size(){return Q1(this)},has:Y1,add:bS,set:SS,delete:MS,clear:wS,forEach:Z1(!1,!1)},t={get(i){return U1(this,i,!1,!0)},get size(){return Q1(this)},has:Y1,add:bS,set:SS,delete:MS,clear:wS,forEach:Z1(!1,!0)},n={get(i){return U1(this,i,!0)},get size(){return Q1(this,!0)},has(i){return Y1.call(this,i,!0)},add:bl("add"),set:bl("set"),delete:bl("delete"),clear:bl("clear"),forEach:Z1(!0,!1)},r={get(i){return U1(this,i,!0,!0)},get size(){return Q1(this,!0)},has(i){return Y1.call(this,i,!0)},add:bl("add"),set:bl("set"),delete:bl("delete"),clear:bl("clear"),forEach:Z1(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=B1(i,!1,!1),n[i]=B1(i,!0,!1),t[i]=B1(i,!1,!0),r[i]=B1(i,!0,!0)}),[e,n,t,r]}const[jZ,qZ,eB,tB]=$Z();function xg(e,t){const n=t?e?tB:eB:e?qZ:jZ;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ln(n,o)&&o in r?n:r,o,i)}const nB={get:xg(!1,!1)},rB={get:xg(!1,!0)},oB={get:xg(!0,!1)},iB={get:xg(!0,!0)},Ck=new WeakMap,Ik=new WeakMap,Fk=new WeakMap,_k=new WeakMap;function aB(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sB(e){return e.__v_skip||!Object.isExtensible(e)?0:aB(OZ(e))}function pp(e){return Su(e)?e:bg(e,!1,HZ,nB,Ck)}function Ek(e){return bg(e,!1,JZ,rB,Ik)}function Wx(e){return bg(e,!0,GZ,oB,Fk)}function lB(e){return bg(e,!0,zZ,iB,_k)}function bg(e,t,n,r,o){if(!Qn(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=sB(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return o.set(e,s),s}function ss(e){return Su(e)?ss(e.__v_raw):!!(e&&e.__v_isReactive)}function Su(e){return!!(e&&e.__v_isReadonly)}function eu(e){return!!(e&&e.__v_isShallow)}function Vx(e){return ss(e)||Su(e)}function mn(e){const t=e&&e.__v_raw;return t?mn(t):e}function mp(e){return uv(e,"__v_skip",!0),e}const Eh=e=>Qn(e)?pp(e):e,Ux=e=>Qn(e)?Wx(e):e;class Xk{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new vd(()=>t(this._value),()=>Xh(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=mn(this);return Yx(t),(!t._cacheable||t.effect.dirty)&&Ca(t._value,t._value=t.effect.run())&&Xh(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function cB(e,t,n=!1){let r,o;const i=Kt(e);return i?(r=e,o=Fo):(r=e.get,o=e.set),new Xk(r,o,i||!o,n)}function Yx(e){ic&&lu&&(e=mn(e),wk(lu,e.dep||(e.dep=Ok(()=>e.dep=void 0,e instanceof Xk?e:void 0))))}function Xh(e,t=3,n){e=mn(e);const r=e.dep;r&&Lk(r,t)}function sr(e){return!!(e&&e.__v_isRef===!0)}function he(e){return Wk(e,!1)}function uB(e){return Wk(e,!0)}function Wk(e,t){return sr(e)?e:new fB(e,t)}class fB{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:mn(t),this._value=n?t:Eh(t)}get value(){return Yx(this),this._value}set value(t){const n=this.__v_isShallow||eu(t)||Su(t);t=n?t:mn(t),Ca(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Eh(t),Xh(this,3))}}function dB(e){Xh(e,3)}function G(e){return sr(e)?e.value:e}function hB(e){return Kt(e)?e():G(e)}const pB={get:(e,t,n)=>G(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return sr(o)&&!sr(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Qx(e){return ss(e)?e:new Proxy(e,pB)}class mB{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Yx(this),()=>Xh(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Vk(e){return new mB(e)}function Uk(e){const t=wt(e)?new Array(e.length):{};for(const n in e)t[n]=Yk(e,n);return t}class vB{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ZZ(mn(this._object),this._key)}}class gB{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xd(e,t,n){return sr(e)?e:Kt(e)?new gB(e):Qn(e)&&arguments.length>1?Yk(e,t,n):he(e)}function Yk(e,t,n){const r=e[t];return sr(r)?r:new vB(e,t,n)}const AB={GET:"get",HAS:"has",ITERATE:"iterate"},RB={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};function yB(e,t){}const xB={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},bB={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function tl(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){Zu(i,t,n)}return o}function Ni(e,t,n,r){if(Kt(e)){const i=tl(e,t,n,r);return i&&Nx(i)&&i.catch(a=>{Zu(a,t,n)}),i}const o=[];for(let i=0;i>>1,o=fo[r],i=Vh(o);iqa&&fo.splice(t,1)}function pv(e){wt(e)?od.push(...e):(!Qs||!Qs.includes(e,e.allowRecurse?zc+1:zc))&&od.push(e),Zk()}function LS(e,t,n=Wh?qa+1:0){for(;nVh(n)-Vh(r)),zc=0;zce.id==null?1/0:e.id,LB=(e,t)=>{const n=Vh(e)-Vh(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Bk(e){b4=!1,Wh=!0,fo.sort(LB);try{for(qa=0;qaar(h)?h.trim():h)),f&&(o=n.map(fv))}let s,c=r[s=oh(t)]||r[s=oh(_o(t))];!c&&i&&(c=r[s=oh(Hi(t))]),c&&Ni(c,e,6,o);const l=r[s+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Ni(l,e,6,o)}}function Dk(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},s=!1;if(!Kt(e)){const c=l=>{const u=Dk(l,t,!0);u&&(s=!0,ir(a,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!s?(Qn(e)&&r.set(e,null),null):(wt(i)?i.forEach(c=>a[c]=null):ir(a,i),Qn(e)&&r.set(e,a),a)}function Mg(e,t){return!e||!dp(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ln(e,t[0].toLowerCase()+t.slice(1))||Ln(e,Hi(t))||Ln(e,t))}let Yr=null,wg=null;function Uh(e){const t=Yr;return Yr=e,wg=e&&e.type.__scopeId||null,t}function rn(e){wg=e}function on(){wg=null}const TB=e=>ie;function ie(e,t=Yr,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&k4(-1);const i=Uh(t);let a;try{a=e(...o)}finally{Uh(i),r._d&&k4(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Pm(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e;let A,x;const y=Uh(e);try{if(n.shapeFlag&4){const g=o||r,b=g;A=Si(u.call(b,g,f,i,h,d,p)),x=c}else{const g=t;A=Si(g.length>1?g(i,{attrs:c,slots:s,emit:l}):g(i,null)),x=t.props?c:NB(c)}}catch(g){sh.length=0,Zu(g,e,1),A=L(vo)}let R=A;if(x&&m!==!1){const g=Object.keys(x),{shapeFlag:b}=R;g.length&&b&7&&(a&&g.some(Tx)&&(x=PB(x,a)),R=hs(R,x))}return n.dirs&&(R=hs(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),A=R,Uh(y),A}function kB(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||dp(n))&&((t||(t={}))[n]=e[n]);return t},PB=(e,t)=>{const n={};for(const r in e)(!Tx(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function CB(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:c}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?OS(r,a,l):!!a;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;let kS=0;const FB={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,a,s,c,l){e==null?EB(t,n,r,o,i,a,s,c,l):XB(e,t,n,r,o,a,s,c,l)},hydrate:WB,create:Hx,normalize:VB},_B=FB;function Yh(e,t){const n=e.props&&e.props[t];Kt(n)&&n()}function EB(e,t,n,r,o,i,a,s,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=Hx(e,o,r,t,f,n,i,a,s,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,i,a),d.deps>0?(Yh(e,"onPending"),Yh(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,i,a),id(d,e.ssFallback)):d.resolve(!1,!0)}function XB(e,t,n,r,o,i,a,s,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:A,isHydrating:x}=f;if(m)f.pendingBranch=d,La(d,m)?(c(m,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():A&&(x||(c(p,h,n,r,o,null,i,a,s),id(f,h)))):(f.pendingId=kS++,x?(f.isHydrating=!1,f.activeBranch=m):l(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),A?(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():(c(p,h,n,r,o,null,i,a,s),id(f,h))):p&&La(d,p)?(c(p,d,n,r,o,f,i,a,s),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0&&f.resolve()));else if(p&&La(d,p))c(p,d,n,r,o,f,i,a,s),id(f,d);else if(Yh(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=kS++,c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:R}=f;y>0?setTimeout(()=>{f.pendingId===R&&f.fallback(h)},y):y===0&&f.fallback(h)}}function Hx(e,t,n,r,o,i,a,s,c,l,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:m,remove:A}}=l;let x;const y=UB(e);y&&t!=null&&t.pendingBranch&&(x=t.pendingId,t.deps++);const R=e.props?dv(e.props.timeout):void 0,g={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:typeof R=="number"?R:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(b=!1,w=!1){const{vnode:T,activeBranch:M,pendingBranch:O,pendingId:k,effects:F,parentComponent:N,container:E}=g;let C=!1;if(g.isHydrating)g.isHydrating=!1;else if(!b){C=M&&O.transition&&O.transition.mode==="out-in",C&&(M.transition.afterLeave=()=>{k===g.pendingId&&(d(O,E,p(M),0),pv(F))});let{anchor:W}=g;M&&(W=p(M),h(M,N,g,!0)),C||d(O,E,W,0)}id(g,O),g.pendingBranch=null,g.isInFallback=!1;let _=g.parent,I=!1;for(;_;){if(_.pendingBranch){_.effects.push(...F),I=!0;break}_=_.parent}!I&&!C&&pv(F),g.effects=[],y&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),Yh(T,"onResolve")},fallback(b){if(!g.pendingBranch)return;const{vnode:w,activeBranch:T,parentComponent:M,container:O,namespace:k}=g;Yh(w,"onFallback");const F=p(T),N=()=>{g.isInFallback&&(f(null,b,O,F,M,null,k,s,c),id(g,b))},E=b.transition&&b.transition.mode==="out-in";E&&(T.transition.afterLeave=N),g.isInFallback=!0,h(T,M,null,!0),E||N()},move(b,w,T){g.activeBranch&&d(g.activeBranch,b,w,T),g.container=b},next(){return g.activeBranch&&p(g.activeBranch)},registerDep(b,w){const T=!!g.pendingBranch;T&&g.deps++;const M=b.vnode.el;b.asyncDep.catch(O=>{Zu(O,b,0)}).then(O=>{if(b.isUnmounted||g.isUnmounted||g.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:k}=b;P4(b,O,!1),M&&(k.el=M);const F=!M&&b.subTree.el;w(b,k,m(M||b.subTree.el),M?null:p(b.subTree),g,a,c),F&&A(F),Bx(b,k.el),T&&--g.deps===0&&g.resolve()})},unmount(b,w){g.isUnmounted=!0,g.activeBranch&&h(g.activeBranch,n,b,w),g.pendingBranch&&h(g.pendingBranch,n,b,w)}};return g}function WB(e,t,n,r,o,i,a,s,c){const l=t.suspense=Hx(t,r,n,e.parentNode,document.createElement("div"),null,o,i,a,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,i,a);return l.deps===0&&l.resolve(!1,!0),u}function VB(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=NS(r?n.default:n),e.ssFallback=r?NS(n.fallback):L(vo)}function NS(e){let t;if(Kt(e)){const n=Lu&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=$o,L7())}return wt(e)&&(e=kB(e)),e=Si(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Gk(e,t){t&&t.pendingBranch?wt(e)?t.effects.push(...e):t.effects.push(e):pv(e)}function id(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Bx(r,o))}function UB(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const Jk=Symbol.for("v-scx"),zk=()=>jo(Jk);function Lg(e,t){return vp(e,null,t)}function $k(e,t){return vp(e,null,{flush:"post"})}function jk(e,t){return vp(e,null,{flush:"sync"})}const D1={};function Tt(e,t,n){return vp(e,t,n)}function vp(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:a,onTrigger:s}=Yn){var c;if(t&&i){const b=t;t=(...w)=>{b(...w),g()}}const l=Fx()===((c=Pr)==null?void 0:c.scope)?Pr:null;let u,f=!1,d=!1;if(sr(e)?(u=()=>e.value,f=eu(e)):ss(e)?(u=eu(e)||r===!1?()=>Js(e,1):()=>Js(e),f=!0):wt(e)?(d=!0,f=e.some(b=>ss(b)||eu(b)),u=()=>e.map(b=>{if(sr(b))return b.value;if(ss(b))return Js(b,eu(b)||r===!1?1:void 0);if(Kt(b))return tl(b,l,2)})):Kt(e)?t?u=()=>tl(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return h&&h(),Ni(e,l,3,[p])}:u=Fo,t&&r){const b=u;u=()=>Js(b())}let h,p=b=>{h=R.onStop=()=>{tl(b,l,4),h=R.onStop=void 0}},m;if(Ap)if(p=Fo,t?n&&Ni(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const b=zk();m=b.__watcherHandles||(b.__watcherHandles=[])}else return Fo;let A=d?new Array(e.length).fill(D1):D1;const x=()=>{if(!(!R.active||!R.dirty))if(t){const b=R.run();(r||f||(d?b.some((w,T)=>Ca(w,A[T])):Ca(b,A)))&&(h&&h(),Ni(t,l,3,[b,A===D1?void 0:d&&A[0]===D1?[]:A,p]),A=b)}else R.run()};x.allowRecurse=!!t;let y;o==="sync"?y=x:o==="post"?y=()=>$r(x,l&&l.suspense):(x.pre=!0,l&&(x.id=l.uid),y=()=>Sg(x));const R=new vd(u,Fo,y),g=()=>{R.stop(),l&&l.scope&&kx(l.scope.effects,R)};return t?n?x():A=R.run():o==="post"?$r(R.run.bind(R),l&&l.suspense):R.run(),m&&m.push(g),g}function YB(e,t,n){const r=this.proxy,o=ar(e)?e.includes(".")?qk(r,e):()=>r[e]:e.bind(r,r);let i;Kt(t)?i=t:(i=t.handler,n=t);const a=Pr;mc(this);const s=vp(o,i.bind(r),n);return a?mc(a):ac(),s}function qk(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),sr(e))Js(e.value,t,n,r);else if(wt(e))for(let o=0;o{Js(o,t,n,r)});else if(gk(e))for(const o in e)Js(e[o],t,n,r);return e}function Ke(e,t){const n=Yr;if(n===null)return e;const r=Pg(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),Wd(()=>{e.isUnmounting=!0}),e}const Qi=[Function,Array],Jx={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Qi,onEnter:Qi,onAfterEnter:Qi,onEnterCancelled:Qi,onBeforeLeave:Qi,onLeave:Qi,onAfterLeave:Qi,onLeaveCancelled:Qi,onBeforeAppear:Qi,onAppear:Qi,onAfterAppear:Qi,onAppearCancelled:Qi},QB={name:"BaseTransition",props:Jx,setup(e,{slots:t}){const n=cl(),r=Gx();let o;return()=>{const i=t.default&&Og(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const m of i)if(m.type!==vo){a=m;break}}const s=mn(e),{mode:c}=s;if(r.isLeaving)return YA(a);const l=PS(a);if(!l)return YA(a);const u=gd(l,s,r,n);Mu(l,u);const f=n.subTree,d=f&&PS(f);let h=!1;const{getTransitionKey:p}=l.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,h=!0)}if(d&&d.type!==vo&&(!La(l,d)||h)){const m=gd(d,s,r,n);if(Mu(d,m),c==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},YA(a);c==="in-out"&&l.type!==vo&&(m.delayLeave=(A,x,y)=>{const R=t7(r,d);R[String(d.key)]=d,A[Vl]=()=>{x(),A[Vl]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return a}}},e7=QB;function t7(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function gd(e,t,n,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:m,onAppear:A,onAfterAppear:x,onAppearCancelled:y}=t,R=String(e.key),g=t7(n,e),b=(M,O)=>{M&&Ni(M,r,9,O)},w=(M,O)=>{const k=O[1];b(M,O),wt(M)?M.every(F=>F.length<=1)&&k():M.length<=1&&k()},T={mode:i,persisted:a,beforeEnter(M){let O=s;if(!n.isMounted)if(o)O=m||s;else return;M[Vl]&&M[Vl](!0);const k=g[R];k&&La(e,k)&&k.el[Vl]&&k.el[Vl](),b(O,[M])},enter(M){let O=c,k=l,F=u;if(!n.isMounted)if(o)O=A||c,k=x||l,F=y||u;else return;let N=!1;const E=M[K1]=C=>{N||(N=!0,C?b(F,[M]):b(k,[M]),T.delayedLeave&&T.delayedLeave(),M[K1]=void 0)};O?w(O,[M,E]):E()},leave(M,O){const k=String(e.key);if(M[K1]&&M[K1](!0),n.isUnmounting)return O();b(f,[M]);let F=!1;const N=M[Vl]=E=>{F||(F=!0,O(),E?b(p,[M]):b(h,[M]),M[Vl]=void 0,g[k]===e&&delete g[k])};g[k]=e,d?w(d,[M,N]):N()},clone(M){return gd(M,t,n,r)}};return T}function YA(e){if(gp(e))return e=hs(e),e.children=null,e}function PS(e){return gp(e)?e.children?e.children[0]:void 0:e}function Mu(e,t){e.shapeFlag&6&&e.component?Mu(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Og(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ZB(e){Kt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let h;return c||(h=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((m,A)=>{s(p,()=>m(f()),()=>A(p),u+1)});throw p}).then(p=>h!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),l=p,p)))};return Ie({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=Pr;if(l)return()=>QA(l,h);const p=y=>{c=null,Zu(y,h,13,!r)};if(a&&h.suspense||Ap)return d().then(y=>()=>QA(y,h)).catch(y=>(p(y),()=>r?L(r,{error:y}):null));const m=he(!1),A=he(),x=he(!!o);return o&&setTimeout(()=>{x.value=!1},o),i!=null&&setTimeout(()=>{if(!m.value&&!A.value){const y=new Error(`Async component timed out after ${i}ms.`);p(y),A.value=y}},i),d().then(()=>{m.value=!0,h.parent&&gp(h.parent.vnode)&&(h.parent.effect.dirty=!0,Sg(h.parent.update))}).catch(y=>{p(y),A.value=y}),()=>{if(m.value&&l)return QA(l,h);if(A.value&&r)return L(r,{error:A.value});if(n&&!x.value)return L(n)}}})}function QA(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=L(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const gp=e=>e.type.__isKeepAlive,BB={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=cl(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,i=new Set;let a=null;const s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(y,R,g,b,w)=>{const T=y.component;l(y,R,g,0,s),c(T.vnode,y,R,g,T,s,b,y.slotScopeIds,w),$r(()=>{T.isDeactivated=!1,T.a&&rd(T.a);const M=y.props&&y.props.onVnodeMounted;M&&Ho(M,T.parent,y)},s)},r.deactivate=y=>{const R=y.component;l(y,d,null,1,s),$r(()=>{R.da&&rd(R.da);const g=y.props&&y.props.onVnodeUnmounted;g&&Ho(g,R.parent,y),R.isDeactivated=!0},s)};function h(y){ZA(y),u(y,n,s,!0)}function p(y){o.forEach((R,g)=>{const b=I4(R.type);b&&(!y||!y(b))&&m(g)})}function m(y){const R=o.get(y);!a||!La(R,a)?h(R):a&&ZA(a),o.delete(y),i.delete(y)}Tt(()=>[e.include,e.exclude],([y,R])=>{y&&p(g=>T0(y,g)),R&&p(g=>!T0(R,g))},{flush:"post",deep:!0});let A=null;const x=()=>{A!=null&&o.set(A,BA(n.subTree))};return Gt(x),kg(x),Wd(()=>{o.forEach(y=>{const{subTree:R,suspense:g}=n,b=BA(R);if(y.type===b.type&&y.key===b.key){ZA(b);const w=b.component.da;w&&$r(w,g);return}h(y)})}),()=>{if(A=null,!t.default)return null;const y=t.default(),R=y[0];if(y.length>1)return a=null,y;if(!pc(R)||!(R.shapeFlag&4)&&!(R.shapeFlag&128))return a=null,R;let g=BA(R);const b=g.type,w=I4(uu(g)?g.type.__asyncResolved||{}:b),{include:T,exclude:M,max:O}=e;if(T&&(!w||!T0(T,w))||M&&w&&T0(M,w))return a=g,R;const k=g.key==null?b:g.key,F=o.get(k);return g.el&&(g=hs(g),R.shapeFlag&128&&(R.ssContent=g)),A=k,F?(g.el=F.el,g.component=F.component,g.transition&&Mu(g,g.transition),g.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),O&&i.size>parseInt(O,10)&&m(i.values().next().value)),g.shapeFlag|=256,a=g,Hk(R.type)?R:g}}},DB=BB;function T0(e,t){return wt(e)?e.some(n=>T0(n,t)):ar(e)?e.split(",").includes(t):LZ(e)?e.test(t):!1}function n7(e,t){o7(e,"a",t)}function r7(e,t){o7(e,"da",t)}function o7(e,t,n=Pr){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Tg(t,r,n),n){let o=n.parent;for(;o&&o.parent;)gp(o.parent.vnode)&&KB(r,t,n,o),o=o.parent}}function KB(e,t,n,r){const o=Tg(t,e,r,!0);wn(()=>{kx(r[t],o)},n)}function ZA(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function BA(e){return e.shapeFlag&128?e.ssContent:e}function Tg(e,t,n=Pr,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Yu(),mc(n);const s=Ni(t,n,e,a);return ac(),Qu(),s});return r?o.unshift(i):o.push(i),i}}const ll=e=>(t,n=Pr)=>(!Ap||e==="sp")&&Tg(e,(...r)=>t(...r),n),zx=ll("bm"),Gt=ll("m"),i7=ll("bu"),kg=ll("u"),Wd=ll("bum"),wn=ll("um"),a7=ll("sp"),s7=ll("rtg"),l7=ll("rtc");function c7(e,t=Pr){Tg("ec",e,t)}function ot(e,t,n,r){let o;const i=n&&n[r];if(wt(e)||ar(e)){o=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);o=new Array(a.length);for(let s=0,c=a.length;s{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function lr(e,t,n={},r,o){if(Yr.isCE||Yr.parent&&uu(Yr.parent)&&Yr.parent.isCE)return t!=="default"&&(n.name=t),L("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Y();const a=i&&u7(i(n)),s=Te(We,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function u7(e){return e.some(t=>pc(t)?!(t.type===vo||t.type===We&&!u7(t.children)):!0)?e:null}function GB(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:oh(r)]=e[r];return n}const S4=e=>e?C7(e)?Pg(e)||e.proxy:S4(e.parent):null,ih=ir(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>S4(e.parent),$root:e=>S4(e.root),$emit:e=>e.emit,$options:e=>$x(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Sg(e.update)}),$nextTick:e=>e.n||(e.n=Wr.bind(e.proxy)),$watch:e=>YB.bind(e)}),DA=(e,t)=>e!==Yn&&!e.__isScriptSetup&&Ln(e,t),M4={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:c}=e;let l;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(DA(r,t))return a[t]=1,r[t];if(o!==Yn&&Ln(o,t))return a[t]=2,o[t];if((l=e.propsOptions[0])&&Ln(l,t))return a[t]=3,i[t];if(n!==Yn&&Ln(n,t))return a[t]=4,n[t];w4&&(a[t]=0)}}const u=ih[t];let f,d;if(u)return t==="$attrs"&&oi(e,"get",t),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Yn&&Ln(n,t))return a[t]=4,n[t];if(d=c.config.globalProperties,Ln(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return DA(o,t)?(o[t]=n,!0):r!==Yn&&Ln(r,t)?(r[t]=n,!0):Ln(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||e!==Yn&&Ln(e,a)||DA(t,a)||(s=i[0])&&Ln(s,a)||Ln(r,a)||Ln(ih,a)||Ln(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ln(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},JB=ir({},M4,{get(e,t){if(t!==Symbol.unscopables)return M4.get(e,t,e)},has(e,t){return t[0]!=="_"&&!PZ(t)}});function zB(){return null}function $B(){return null}function jB(e){}function qB(e){}function eD(){return null}function tD(){}function nD(e,t){return null}function rD(){return f7().slots}function oD(){return f7().attrs}function iD(e,t,n=Yn){const r=cl(),o=_o(t),i=Vk((s,c)=>{let l;return jk(()=>{const u=e[t];Ca(l,u)&&(l=u,c())}),{get(){return s(),n.get?n.get(l):l},set(u){const f=r.vnode.props;!(f&&(t in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${o}`in f))&&Ca(u,l)&&(l=u,c()),r.emit(`update:${t}`,n.set?n.set(u):u)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return i[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function f7(){const e=cl();return e.setupContext||(e.setupContext=_7(e))}function Qh(e){return wt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function aD(e,t){const n=Qh(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?wt(o)||Kt(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function sD(e,t){return!e||!t?e||t:wt(e)&&wt(t)?e.concat(t):ir({},Qh(e),Qh(t))}function lD(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function cD(e){const t=cl();let n=e();return ac(),Nx(n)&&(n=n.catch(r=>{throw mc(t),r})),[n,()=>mc(t)]}let w4=!0;function uD(e){const t=$x(e),n=e.proxy,r=e.ctx;w4=!1,t.beforeCreate&&CS(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:A,beforeDestroy:x,beforeUnmount:y,destroyed:R,unmounted:g,render:b,renderTracked:w,renderTriggered:T,errorCaptured:M,serverPrefetch:O,expose:k,inheritAttrs:F,components:N,directives:E,filters:C}=t;if(l&&fD(l,r,null),a)for(const W in a){const Z=a[W];Kt(Z)&&(r[W]=Z.bind(n))}if(o){const W=o.call(n,n);Qn(W)&&(e.data=pp(W))}if(w4=!0,i)for(const W in i){const Z=i[W],J=Kt(Z)?Z.bind(n,n):Kt(Z.get)?Z.get.bind(n,n):Fo,le=!Kt(Z)&&Kt(Z.set)?Z.set.bind(n):Fo,D=Me({get:J,set:le});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>D.value,set:Q=>D.value=Q})}if(s)for(const W in s)d7(s[W],r,n,W);if(c){const W=Kt(c)?c.call(n):c;Reflect.ownKeys(W).forEach(Z=>{Bu(Z,W[Z])})}u&&CS(u,e,"c");function I(W,Z){wt(Z)?Z.forEach(J=>W(J.bind(n))):Z&&W(Z.bind(n))}if(I(zx,f),I(Gt,d),I(i7,h),I(kg,p),I(n7,m),I(r7,A),I(c7,M),I(l7,w),I(s7,T),I(Wd,y),I(wn,g),I(a7,O),wt(k))if(k.length){const W=e.exposed||(e.exposed={});k.forEach(Z=>{Object.defineProperty(W,Z,{get:()=>n[Z],set:J=>n[Z]=J})})}else e.exposed||(e.exposed={});b&&e.render===Fo&&(e.render=b),F!=null&&(e.inheritAttrs=F),N&&(e.components=N),E&&(e.directives=E)}function fD(e,t,n=Fo){wt(e)&&(e=L4(e));for(const r in e){const o=e[r];let i;Qn(o)?"default"in o?i=jo(o.from||r,o.default,!0):i=jo(o.from||r):i=jo(o),sr(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function CS(e,t,n){Ni(wt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function d7(e,t,n,r){const o=r.includes(".")?qk(n,r):()=>n[r];if(ar(e)){const i=t[e];Kt(i)&&Tt(o,i)}else if(Kt(e))Tt(o,e.bind(n));else if(Qn(e))if(wt(e))e.forEach(i=>d7(i,t,n,r));else{const i=Kt(e.handler)?e.handler.bind(n):t[e.handler];Kt(i)&&Tt(o,i,e)}}function $x(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let c;return s?c=s:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>vv(c,l,a,!0)),vv(c,t,a)),Qn(t)&&i.set(t,c),c}function vv(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&vv(e,i,n,!0),o&&o.forEach(a=>vv(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=dD[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const dD={data:IS,props:FS,emits:FS,methods:k0,computed:k0,beforeCreate:Mo,created:Mo,beforeMount:Mo,mounted:Mo,beforeUpdate:Mo,updated:Mo,beforeDestroy:Mo,beforeUnmount:Mo,destroyed:Mo,unmounted:Mo,activated:Mo,deactivated:Mo,errorCaptured:Mo,serverPrefetch:Mo,components:k0,directives:k0,watch:pD,provide:IS,inject:hD};function IS(e,t){return t?e?function(){return ir(Kt(e)?e.call(this,this):e,Kt(t)?t.call(this,this):t)}:t:e}function hD(e,t){return k0(L4(e),L4(t))}function L4(e){if(wt(e)){const t={};for(let n=0;n1)return n&&Kt(t)?t.call(r&&r.proxy):t}}function p7(){return!!(Pr||Yr||Zh)}function gD(e,t,n,r=!1){const o={},i={};uv(i,Ng,1),e.propsDefaults=Object.create(null),m7(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Ek(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function AD(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=mn(o),[c]=e.propsOptions;let l=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,h]=v7(f,t,!0);ir(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return Qn(e)&&r.set(e,td),td;if(wt(i))for(let u=0;u-1,h[1]=m<0||p-1||Ln(h,"default"))&&s.push(f)}}}const l=[a,s];return Qn(e)&&r.set(e,l),l}function _S(e){return e[0]!=="$"}function ES(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function XS(e,t){return ES(e)===ES(t)}function WS(e,t){return wt(t)?t.findIndex(n=>XS(n,e)):Kt(t)&&XS(t,e)?0:-1}const g7=e=>e[0]==="_"||e==="$stable",jx=e=>wt(e)?e.map(Si):[Si(e)],RD=(e,t,n)=>{if(t._n)return t;const r=ie((...o)=>jx(t(...o)),n);return r._c=!1,r},A7=(e,t,n)=>{const r=e._ctx;for(const o in e){if(g7(o))continue;const i=e[o];if(Kt(i))t[o]=RD(o,i,r);else if(i!=null){const a=jx(i);t[o]=()=>a}}},R7=(e,t)=>{const n=jx(t);e.slots.default=()=>n},yD=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=mn(t),uv(t,"_",n)):A7(t,e.slots={})}else e.slots={},t&&R7(e,t);uv(e.slots,Ng,1)},xD=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=Yn;if(r.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(ir(o,t),!n&&s===1&&delete o._):(i=!t.$stable,A7(t,o)),a=t}else t&&(R7(e,t),a={default:1});if(i)for(const s in o)!g7(s)&&a[s]==null&&delete o[s]};function gv(e,t,n,r,o=!1){if(wt(e)){e.forEach((d,h)=>gv(d,t&&(wt(t)?t[h]:t),n,r,o));return}if(uu(r)&&!o)return;const i=r.shapeFlag&4?Pg(r.component)||r.component.proxy:r.el,a=o?null:i,{i:s,r:c}=e,l=t&&t.r,u=s.refs===Yn?s.refs={}:s.refs,f=s.setupState;if(l!=null&&l!==c&&(ar(l)?(u[l]=null,Ln(f,l)&&(f[l]=null)):sr(l)&&(l.value=null)),Kt(c))tl(c,s,12,[a,u]);else{const d=ar(c),h=sr(c);if(d||h){const p=()=>{if(e.f){const m=d?Ln(f,c)?f[c]:u[c]:c.value;o?wt(m)&&kx(m,i):wt(m)?m.includes(i)||m.push(i):d?(u[c]=[i],Ln(f,c)&&(f[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else d?(u[c]=a,Ln(f,c)&&(f[c]=a)):h&&(c.value=a,e.k&&(u[e.k]=a))};a?(p.id=-1,$r(p,n)):p()}}}let Sl=!1;const bD=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",SD=e=>e.namespaceURI.includes("MathML"),H1=e=>{if(bD(e))return"svg";if(SD(e))return"mathml"},G1=e=>e.nodeType===8;function MD(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:s,insert:c,createComment:l}}=e,u=(R,g)=>{if(!g.hasChildNodes()){n(null,R,g),mv(),g._vnode=R;return}Sl=!1,f(g.firstChild,R,null,null,null),mv(),g._vnode=R,Sl&&console.error("Hydration completed but contains mismatches.")},f=(R,g,b,w,T,M=!1)=>{const O=G1(R)&&R.data==="[",k=()=>m(R,g,b,w,T,O),{type:F,ref:N,shapeFlag:E,patchFlag:C}=g;let _=R.nodeType;g.el=R,C===-2&&(M=!1,g.dynamicChildren=null);let I=null;switch(F){case wu:_!==3?g.children===""?(c(g.el=o(""),a(R),R),I=R):I=k():(R.data!==g.children&&(Sl=!0,R.data=g.children),I=i(R));break;case vo:y(R)?(I=i(R),x(g.el=R.content.firstChild,R,b)):_!==8||O?I=k():I=i(R);break;case fu:if(O&&(R=i(R),_=R.nodeType),_===1||_===3){I=R;const W=!g.children.length;for(let Z=0;Z{M=M||!!g.dynamicChildren;const{type:O,props:k,patchFlag:F,shapeFlag:N,dirs:E,transition:C}=g,_=O==="input"||O==="option";if(_||F!==-1){E&&Ja(g,null,b,"created");let I=!1;if(y(R)){I=S7(w,C)&&b&&b.vnode.props&&b.vnode.props.appear;const Z=R.content.firstChild;I&&C.beforeEnter(Z),x(Z,R,b),g.el=R=Z}if(N&16&&!(k&&(k.innerHTML||k.textContent))){let Z=h(R.firstChild,g,R,b,w,T,M);for(;Z;){Sl=!0;const J=Z;Z=Z.nextSibling,s(J)}}else N&8&&R.textContent!==g.children&&(Sl=!0,R.textContent=g.children);if(k)if(_||!M||F&48)for(const Z in k)(_&&(Z.endsWith("value")||Z==="indeterminate")||dp(Z)&&!rh(Z)||Z[0]===".")&&r(R,Z,null,k[Z],void 0,void 0,b);else k.onClick&&r(R,"onClick",null,k.onClick,void 0,void 0,b);let W;(W=k&&k.onVnodeBeforeMount)&&Ho(W,b,g),E&&Ja(g,null,b,"beforeMount"),((W=k&&k.onVnodeMounted)||E||I)&&Gk(()=>{W&&Ho(W,b,g),I&&C.enter(R),E&&Ja(g,null,b,"mounted")},w)}return R.nextSibling},h=(R,g,b,w,T,M,O)=>{O=O||!!g.dynamicChildren;const k=g.children,F=k.length;for(let N=0;N{const{slotScopeIds:O}=g;O&&(T=T?T.concat(O):O);const k=a(R),F=h(i(R),g,k,b,w,T,M);return F&&G1(F)&&F.data==="]"?i(g.anchor=F):(Sl=!0,c(g.anchor=l("]"),k,F),F)},m=(R,g,b,w,T,M)=>{if(Sl=!0,g.el=null,M){const F=A(R);for(;;){const N=i(R);if(N&&N!==F)s(N);else break}}const O=i(R),k=a(R);return s(R),n(null,g,k,O,b,w,H1(k),T),O},A=(R,g="[",b="]")=>{let w=0;for(;R;)if(R=i(R),R&&G1(R)&&(R.data===g&&w++,R.data===b)){if(w===0)return i(R);w--}return R},x=(R,g,b)=>{const w=g.parentNode;w&&w.replaceChild(R,g);let T=b;for(;T;)T.vnode.el===g&&(T.vnode.el=T.subTree.el=R),T=T.parent},y=R=>R.nodeType===1&&R.tagName.toLowerCase()==="template";return[u,f]}const $r=Gk;function y7(e){return b7(e)}function x7(e){return b7(e,MD)}function b7(e,t){const n=Ak();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Fo,insertStaticContent:p}=e,m=($,ue,X,ne=null,se=null,j=null,q=void 0,ae=null,ge=!!ue.dynamicChildren)=>{if($===ue)return;$&&!La($,ue)&&(ne=z($),Q($,se,j,!0),$=null),ue.patchFlag===-2&&(ge=!1,ue.dynamicChildren=null);const{type:ce,ref:ve,shapeFlag:ye}=ue;switch(ce){case wu:A($,ue,X,ne);break;case vo:x($,ue,X,ne);break;case fu:$==null&&y(ue,X,ne,q);break;case We:N($,ue,X,ne,se,j,q,ae,ge);break;default:ye&1?b($,ue,X,ne,se,j,q,ae,ge):ye&6?E($,ue,X,ne,se,j,q,ae,ge):(ye&64||ye&128)&&ce.process($,ue,X,ne,se,j,q,ae,ge,pe)}ve!=null&&se&&gv(ve,$&&$.ref,j,ue||$,!ue)},A=($,ue,X,ne)=>{if($==null)r(ue.el=s(ue.children),X,ne);else{const se=ue.el=$.el;ue.children!==$.children&&l(se,ue.children)}},x=($,ue,X,ne)=>{$==null?r(ue.el=c(ue.children||""),X,ne):ue.el=$.el},y=($,ue,X,ne)=>{[$.el,$.anchor]=p($.children,ue,X,ne,$.el,$.anchor)},R=({el:$,anchor:ue},X,ne)=>{let se;for(;$&&$!==ue;)se=d($),r($,X,ne),$=se;r(ue,X,ne)},g=({el:$,anchor:ue})=>{let X;for(;$&&$!==ue;)X=d($),o($),$=X;o(ue)},b=($,ue,X,ne,se,j,q,ae,ge)=>{ue.type==="svg"?q="svg":ue.type==="math"&&(q="mathml"),$==null?w(ue,X,ne,se,j,q,ae,ge):O($,ue,se,j,q,ae,ge)},w=($,ue,X,ne,se,j,q,ae)=>{let ge,ce;const{props:ve,shapeFlag:ye,transition:_e,dirs:Se}=$;if(ge=$.el=a($.type,j,ve&&ve.is,ve),ye&8?u(ge,$.children):ye&16&&M($.children,ge,null,ne,se,KA($,j),q,ae),Se&&Ja($,null,ne,"created"),T(ge,$,$.scopeId,q,ne),ve){for(const ut in ve)ut!=="value"&&!rh(ut)&&i(ge,ut,null,ve[ut],j,$.children,ne,se,te);"value"in ve&&i(ge,"value",null,ve.value,j),(ce=ve.onVnodeBeforeMount)&&Ho(ce,ne,$)}Se&&Ja($,null,ne,"beforeMount");const xe=S7(se,_e);xe&&_e.beforeEnter(ge),r(ge,ue,X),((ce=ve&&ve.onVnodeMounted)||xe||Se)&&$r(()=>{ce&&Ho(ce,ne,$),xe&&_e.enter(ge),Se&&Ja($,null,ne,"mounted")},se)},T=($,ue,X,ne,se)=>{if(X&&h($,X),ne)for(let j=0;j{for(let ce=ge;ce<$.length;ce++){const ve=$[ce]=ae?Ul($[ce]):Si($[ce]);m(null,ve,ue,X,ne,se,j,q,ae)}},O=($,ue,X,ne,se,j,q)=>{const ae=ue.el=$.el;let{patchFlag:ge,dynamicChildren:ce,dirs:ve}=ue;ge|=$.patchFlag&16;const ye=$.props||Yn,_e=ue.props||Yn;let Se;if(X&&Wc(X,!1),(Se=_e.onVnodeBeforeUpdate)&&Ho(Se,X,ue,$),ve&&Ja(ue,$,X,"beforeUpdate"),X&&Wc(X,!0),ce?k($.dynamicChildren,ce,ae,X,ne,KA(ue,se),j):q||Z($,ue,ae,null,X,ne,KA(ue,se),j,!1),ge>0){if(ge&16)F(ae,ue,ye,_e,X,ne,se);else if(ge&2&&ye.class!==_e.class&&i(ae,"class",null,_e.class,se),ge&4&&i(ae,"style",ye.style,_e.style,se),ge&8){const xe=ue.dynamicProps;for(let ut=0;ut{Se&&Ho(Se,X,ue,$),ve&&Ja(ue,$,X,"updated")},ne)},k=($,ue,X,ne,se,j,q)=>{for(let ae=0;ae{if(X!==ne){if(X!==Yn)for(const ae in X)!rh(ae)&&!(ae in ne)&&i($,ae,X[ae],null,q,ue.children,se,j,te);for(const ae in ne){if(rh(ae))continue;const ge=ne[ae],ce=X[ae];ge!==ce&&ae!=="value"&&i($,ae,ce,ge,q,ue.children,se,j,te)}"value"in ne&&i($,"value",X.value,ne.value,q)}},N=($,ue,X,ne,se,j,q,ae,ge)=>{const ce=ue.el=$?$.el:s(""),ve=ue.anchor=$?$.anchor:s("");let{patchFlag:ye,dynamicChildren:_e,slotScopeIds:Se}=ue;Se&&(ae=ae?ae.concat(Se):Se),$==null?(r(ce,X,ne),r(ve,X,ne),M(ue.children,X,ve,se,j,q,ae,ge)):ye>0&&ye&64&&_e&&$.dynamicChildren?(k($.dynamicChildren,_e,X,se,j,q,ae),(ue.key!=null||se&&ue===se.subTree)&&qx($,ue,!0)):Z($,ue,X,ve,se,j,q,ae,ge)},E=($,ue,X,ne,se,j,q,ae,ge)=>{ue.slotScopeIds=ae,$==null?ue.shapeFlag&512?se.ctx.activate(ue,X,ne,q,ge):C(ue,X,ne,se,j,q,ge):_($,ue,ge)},C=($,ue,X,ne,se,j,q)=>{const ae=$.component=P7($,ne,se);if(gp($)&&(ae.ctx.renderer=pe),I7(ae),ae.asyncDep){if(se&&se.registerDep(ae,I),!$.el){const ge=ae.subTree=L(vo);x(null,ge,ue,X)}}else I(ae,$,ue,X,se,j,q)},_=($,ue,X)=>{const ne=ue.component=$.component;if(CB($,ue,X))if(ne.asyncDep&&!ne.asyncResolved){W(ne,ue,X);return}else ne.next=ue,wB(ne.update),ne.effect.dirty=!0,ne.update();else ue.el=$.el,ne.vnode=ue},I=($,ue,X,ne,se,j,q)=>{const ae=()=>{if($.isMounted){let{next:ve,bu:ye,u:_e,parent:Se,vnode:xe}=$;{const Fe=M7($);if(Fe){ve&&(ve.el=xe.el,W($,ve,q)),Fe.asyncDep.then(()=>{$.isUnmounted||ae()});return}}let ut=ve,tt;Wc($,!1),ve?(ve.el=xe.el,W($,ve,q)):ve=xe,ye&&rd(ye),(tt=ve.props&&ve.props.onVnodeBeforeUpdate)&&Ho(tt,Se,ve,xe),Wc($,!0);const Oe=Pm($),Ne=$.subTree;$.subTree=Oe,m(Ne,Oe,f(Ne.el),z(Ne),$,se,j),ve.el=Oe.el,ut===null&&Bx($,Oe.el),_e&&$r(_e,se),(tt=ve.props&&ve.props.onVnodeUpdated)&&$r(()=>Ho(tt,Se,ve,xe),se)}else{let ve;const{el:ye,props:_e}=ue,{bm:Se,m:xe,parent:ut}=$,tt=uu(ue);if(Wc($,!1),Se&&rd(Se),!tt&&(ve=_e&&_e.onVnodeBeforeMount)&&Ho(ve,ut,ue),Wc($,!0),ye&&me){const Oe=()=>{$.subTree=Pm($),me(ye,$.subTree,$,se,null)};tt?ue.type.__asyncLoader().then(()=>!$.isUnmounted&&Oe()):Oe()}else{const Oe=$.subTree=Pm($);m(null,Oe,X,ne,$,se,j),ue.el=Oe.el}if(xe&&$r(xe,se),!tt&&(ve=_e&&_e.onVnodeMounted)){const Oe=ue;$r(()=>Ho(ve,ut,Oe),se)}(ue.shapeFlag&256||ut&&uu(ut.vnode)&&ut.vnode.shapeFlag&256)&&$.a&&$r($.a,se),$.isMounted=!0,ue=X=ne=null}},ge=$.effect=new vd(ae,Fo,()=>Sg(ce),$.scope),ce=$.update=()=>{ge.dirty&&ge.run()};ce.id=$.uid,Wc($,!0),ce()},W=($,ue,X)=>{ue.component=$;const ne=$.vnode.props;$.vnode=ue,$.next=null,AD($,ue.props,ne,X),xD($,ue.children,X),Yu(),LS($),Qu()},Z=($,ue,X,ne,se,j,q,ae,ge=!1)=>{const ce=$&&$.children,ve=$?$.shapeFlag:0,ye=ue.children,{patchFlag:_e,shapeFlag:Se}=ue;if(_e>0){if(_e&128){le(ce,ye,X,ne,se,j,q,ae,ge);return}else if(_e&256){J(ce,ye,X,ne,se,j,q,ae,ge);return}}Se&8?(ve&16&&te(ce,se,j),ye!==ce&&u(X,ye)):ve&16?Se&16?le(ce,ye,X,ne,se,j,q,ae,ge):te(ce,se,j,!0):(ve&8&&u(X,""),Se&16&&M(ye,X,ne,se,j,q,ae,ge))},J=($,ue,X,ne,se,j,q,ae,ge)=>{$=$||td,ue=ue||td;const ce=$.length,ve=ue.length,ye=Math.min(ce,ve);let _e;for(_e=0;_eve?te($,se,j,!0,!1,ye):M(ue,X,ne,se,j,q,ae,ge,ye)},le=($,ue,X,ne,se,j,q,ae,ge)=>{let ce=0;const ve=ue.length;let ye=$.length-1,_e=ve-1;for(;ce<=ye&&ce<=_e;){const Se=$[ce],xe=ue[ce]=ge?Ul(ue[ce]):Si(ue[ce]);if(La(Se,xe))m(Se,xe,X,null,se,j,q,ae,ge);else break;ce++}for(;ce<=ye&&ce<=_e;){const Se=$[ye],xe=ue[_e]=ge?Ul(ue[_e]):Si(ue[_e]);if(La(Se,xe))m(Se,xe,X,null,se,j,q,ae,ge);else break;ye--,_e--}if(ce>ye){if(ce<=_e){const Se=_e+1,xe=Se_e)for(;ce<=ye;)Q($[ce],se,j,!0),ce++;else{const Se=ce,xe=ce,ut=new Map;for(ce=xe;ce<=_e;ce++){const Qe=ue[ce]=ge?Ul(ue[ce]):Si(ue[ce]);Qe.key!=null&&ut.set(Qe.key,ce)}let tt,Oe=0;const Ne=_e-xe+1;let Fe=!1,Be=0;const je=new Array(Ne);for(ce=0;ce=Ne){Q(Qe,se,j,!0);continue}let qe;if(Qe.key!=null)qe=ut.get(Qe.key);else for(tt=xe;tt<=_e;tt++)if(je[tt-xe]===0&&La(Qe,ue[tt])){qe=tt;break}qe===void 0?Q(Qe,se,j,!0):(je[qe-xe]=ce+1,qe>=Be?Be=qe:Fe=!0,m(Qe,ue[qe],X,null,se,j,q,ae,ge),Oe++)}const ke=Fe?wD(je):td;for(tt=ke.length-1,ce=Ne-1;ce>=0;ce--){const Qe=xe+ce,qe=ue[Qe],xt=Qe+1{const{el:j,type:q,transition:ae,children:ge,shapeFlag:ce}=$;if(ce&6){D($.component.subTree,ue,X,ne);return}if(ce&128){$.suspense.move(ue,X,ne);return}if(ce&64){q.move($,ue,X,pe);return}if(q===We){r(j,ue,X);for(let ye=0;yeae.enter(j),se);else{const{leave:ye,delayLeave:_e,afterLeave:Se}=ae,xe=()=>r(j,ue,X),ut=()=>{ye(j,()=>{xe(),Se&&Se()})};_e?_e(j,xe,ut):ut()}else r(j,ue,X)},Q=($,ue,X,ne=!1,se=!1)=>{const{type:j,props:q,ref:ae,children:ge,dynamicChildren:ce,shapeFlag:ve,patchFlag:ye,dirs:_e}=$;if(ae!=null&&gv(ae,null,X,$,!0),ve&256){ue.ctx.deactivate($);return}const Se=ve&1&&_e,xe=!uu($);let ut;if(xe&&(ut=q&&q.onVnodeBeforeUnmount)&&Ho(ut,ue,$),ve&6)U($.component,X,ne);else{if(ve&128){$.suspense.unmount(X,ne);return}Se&&Ja($,null,ue,"beforeUnmount"),ve&64?$.type.remove($,ue,X,se,pe,ne):ce&&(j!==We||ye>0&&ye&64)?te(ce,ue,X,!1,!0):(j===We&&ye&384||!se&&ve&16)&&te(ge,ue,X),ne&&B($)}(xe&&(ut=q&&q.onVnodeUnmounted)||Se)&&$r(()=>{ut&&Ho(ut,ue,$),Se&&Ja($,null,ue,"unmounted")},X)},B=$=>{const{type:ue,el:X,anchor:ne,transition:se}=$;if(ue===We){H(X,ne);return}if(ue===fu){g($);return}const j=()=>{o(X),se&&!se.persisted&&se.afterLeave&&se.afterLeave()};if($.shapeFlag&1&&se&&!se.persisted){const{leave:q,delayLeave:ae}=se,ge=()=>q(X,j);ae?ae($.el,j,ge):ge()}else j()},H=($,ue)=>{let X;for(;$!==ue;)X=d($),o($),$=X;o(ue)},U=($,ue,X)=>{const{bum:ne,scope:se,update:j,subTree:q,um:ae}=$;ne&&rd(ne),se.stop(),j&&(j.active=!1,Q(q,$,ue,X)),ae&&$r(ae,ue),$r(()=>{$.isUnmounted=!0},ue),ue&&ue.pendingBranch&&!ue.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===ue.pendingId&&(ue.deps--,ue.deps===0&&ue.resolve())},te=($,ue,X,ne=!1,se=!1,j=0)=>{for(let q=j;q<$.length;q++)Q($[q],ue,X,ne,se)},z=$=>$.shapeFlag&6?z($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),oe=($,ue,X)=>{$==null?ue._vnode&&Q(ue._vnode,null,null,!0):m(ue._vnode||null,$,ue,null,null,null,X),LS(),mv(),ue._vnode=$},pe={p:m,um:Q,m:D,r:B,mt:C,mc:M,pc:Z,pbc:k,n:z,o:e};let Ae,me;return t&&([Ae,me]=t(pe)),{render:oe,hydrate:Ae,createApp:vD(oe,Ae)}}function KA({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Wc({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function S7(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qx(e,t,n=!1){const r=e.children,o=t.children;if(wt(r)&&wt(o))for(let i=0;i>1,e[n[s]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function M7(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:M7(t)}const LD=e=>e.__isTeleport,ah=e=>e&&(e.disabled||e.disabled===""),VS=e=>typeof SVGElement<"u"&&e instanceof SVGElement,US=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,T4=(e,t)=>{const n=e&&e.to;return ar(n)?t?t(n):null:n},OD={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,s,c,l){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:A}}=l,x=ah(t.props);let{shapeFlag:y,children:R,dynamicChildren:g}=t;if(e==null){const b=t.el=m(""),w=t.anchor=m("");h(b,n,r),h(w,n,r);const T=t.target=T4(t.props,p),M=t.targetAnchor=m("");T&&(h(M,T),a==="svg"||VS(T)?a="svg":(a==="mathml"||US(T))&&(a="mathml"));const O=(k,F)=>{y&16&&u(R,k,F,o,i,a,s,c)};x?O(n,w):T&&O(T,M)}else{t.el=e.el;const b=t.anchor=e.anchor,w=t.target=e.target,T=t.targetAnchor=e.targetAnchor,M=ah(e.props),O=M?n:w,k=M?b:T;if(a==="svg"||VS(w)?a="svg":(a==="mathml"||US(w))&&(a="mathml"),g?(d(e.dynamicChildren,g,O,o,i,a,s),qx(e,t,!0)):c||f(e,t,O,k,o,i,a,s,!1),x)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):J1(t,n,b,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const F=t.target=T4(t.props,p);F&&J1(t,F,null,l,0)}else M&&J1(t,w,T,l,1)}w7(t)},remove(e,t,n,r,{um:o,o:{remove:i}},a){const{shapeFlag:s,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&i(u),a&&i(l),s&16){const h=a||!ah(d);for(let p=0;p0?$o||td:null,L7(),Lu>0&&$o&&$o.push(e),e}function ee(e,t,n,r,o,i){return O7(V(e,t,n,r,o,i,!0))}function Te(e,t,n,r,o){return O7(L(e,t,n,r,o,!0))}function pc(e){return e?e.__v_isVNode===!0:!1}function La(e,t){return e.type===t.type&&e.key===t.key}function kD(e){}const Ng="__vInternal",T7=({key:e})=>e??null,Cm=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ar(e)||sr(e)||Kt(e)?{i:Yr,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,r=0,o=null,i=e===We?0:1,a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&T7(t),ref:t&&Cm(t),scopeId:wg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Yr};return s?(tb(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ar(n)?8:16),Lu>0&&!a&&$o&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&$o.push(c),c}const L=ND;function ND(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Kk)&&(e=vo),pc(e)){const s=hs(e,t,!0);return n&&tb(s,n),Lu>0&&!i&&$o&&(s.shapeFlag&6?$o[$o.indexOf(e)]=s:$o.push(s)),s.patchFlag|=-2,s}if(WD(e)&&(e=e.__vccOpts),t){t=k7(t);let{class:s,style:c}=t;s&&!ar(s)&&(t.class=Je(s)),Qn(c)&&(Vx(c)&&!wt(c)&&(c=ir({},c)),t.style=we(c))}const a=ar(e)?1:Hk(e)?128:LD(e)?64:Qn(e)?4:Kt(e)?2:0;return V(e,t,n,r,o,a,i,!0)}function k7(e){return e?Vx(e)||Ng in e?ir({},e):e:null}function hs(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=e,s=t?N7(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&T7(s),ref:t&&t.ref?n&&o?wt(o)?o.concat(Cm(t)):[o,Cm(t)]:Cm(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hs(e.ssContent),ssFallback:e.ssFallback&&hs(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ve(e=" ",t=0){return L(wu,null,e,t)}function PD(e,t){const n=L(fu,null,e);return n.staticCount=t,n}function Ze(e="",t=!1){return t?(Y(),Te(vo,null,e)):L(vo,null,e)}function Si(e){return e==null||typeof e=="boolean"?L(vo):wt(e)?L(We,null,e.slice()):typeof e=="object"?Ul(e):L(wu,null,String(e))}function Ul(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:hs(e)}function tb(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(wt(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),tb(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Ng in t)?t._ctx=Yr:o===3&&Yr&&(Yr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Kt(t)?(t={default:t,_ctx:Yr},n=32):(t=String(t),r&64?(n=16,t=[Ve(t)]):n=8);e.children=t,e.shapeFlag|=n}function N7(...e){const t={};for(let n=0;nPr||Yr;let nb,N4;{const e=Ak(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};nb=t("__VUE_INSTANCE_SETTERS__",n=>Pr=n),N4=t("__VUE_SSR_SETTERS__",n=>Ap=n)}const mc=e=>{nb(e),e.scope.on()},ac=()=>{Pr&&Pr.scope.off(),nb(null)};function C7(e){return e.vnode.shapeFlag&4}let Ap=!1;function I7(e,t=!1){t&&N4(t);const{props:n,children:r}=e.vnode,o=C7(e);gD(e,n,o,t),yD(e,r);const i=o?FD(e,t):void 0;return t&&N4(!1),i}function FD(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=mp(new Proxy(e.ctx,M4));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?_7(e):null;mc(e),Yu();const i=tl(r,e,0,[e.props,o]);if(Qu(),ac(),Nx(i)){if(i.then(ac,ac),t)return i.then(a=>{P4(e,a,t)}).catch(a=>{Zu(a,e,0)});e.asyncDep=i}else P4(e,i,t)}else F7(e,t)}function P4(e,t,n){Kt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Qn(t)&&(e.setupState=Qx(t)),F7(e,n)}let Av,C4;function _D(e){Av=e,C4=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,JB))}}const ED=()=>!Av;function F7(e,t,n){const r=e.type;if(!e.render){if(!t&&Av&&!r.render){const o=r.template||$x(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:c}=r,l=ir(ir({isCustomElement:i,delimiters:s},a),c);r.render=Av(o,l)}}e.render=r.render||Fo,C4&&C4(e)}{mc(e),Yu();try{uD(e)}finally{Qu(),ac()}}}function XD(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return oi(e,"get","$attrs"),t[n]}}))}function _7(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return XD(e)},slots:e.slots,emit:e.emit,expose:t}}function Pg(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Qx(mp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ih)return ih[n](e)},has(t,n){return n in t||n in ih}}))}function I4(e,t=!0){return Kt(e)?e.displayName||e.name:e.name||t&&e.__name}function WD(e){return Kt(e)&&"__vccOpts"in e}const Me=(e,t)=>cB(e,t,Ap);function E7(e,t,n){const r=arguments.length;return r===2?Qn(t)&&!wt(t)?pc(t)?L(e,null,[t]):L(e,t):L(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&pc(n)&&(n=[n]),L(e,t,n))}function VD(){}function UD(e,t,n,r){const o=n[r];if(o&&X7(o,e))return o;const i=t();return i.memo=e.slice(),n[r]=i}function X7(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&$o&&$o.push(e),!0}const W7="3.4.3",YD=Fo,QD=bB,ZD=void 0,BD=Fo,DD={createComponentInstance:P7,setupComponent:I7,renderComponentRoot:Pm,setCurrentRenderingInstance:Uh,isVNode:pc,normalizeVNode:Si},KD=DD,HD=null,GD=null,JD=null,zD="http://www.w3.org/2000/svg",$D="http://www.w3.org/1998/Math/MathML",Yl=typeof document<"u"?document:null,YS=Yl&&Yl.createElement("template"),jD={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Yl.createElementNS(zD,e):t==="mathml"?Yl.createElementNS($D,e):Yl.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Yl.createTextNode(e),createComment:e=>Yl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{YS.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const s=YS.content;if(r==="svg"||r==="mathml"){const c=s.firstChild;for(;c.firstChild;)s.appendChild(c.firstChild);s.removeChild(c)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ml="transition",f0="animation",Ad=Symbol("_vtc"),Ou=(e,{slots:t})=>E7(e7,U7(e),t);Ou.displayName="Transition";const V7={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},qD=Ou.props=ir({},Jx,V7),Vc=(e,t=[])=>{wt(e)?e.forEach(n=>n(...t)):e&&e(...t)},QS=e=>e?wt(e)?e.some(t=>t.length>1):e.length>1:!1;function U7(e){const t={};for(const N in e)N in V7||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:l=a,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=eK(o),m=p&&p[0],A=p&&p[1],{onBeforeEnter:x,onEnter:y,onEnterCancelled:R,onLeave:g,onLeaveCancelled:b,onBeforeAppear:w=x,onAppear:T=y,onAppearCancelled:M=R}=t,O=(N,E,C)=>{Nl(N,E?u:s),Nl(N,E?l:a),C&&C()},k=(N,E)=>{N._isLeaving=!1,Nl(N,f),Nl(N,h),Nl(N,d),E&&E()},F=N=>(E,C)=>{const _=N?T:y,I=()=>O(E,N,C);Vc(_,[E,I]),ZS(()=>{Nl(E,N?c:i),Us(E,N?u:s),QS(_)||BS(E,r,m,I)})};return ir(t,{onBeforeEnter(N){Vc(x,[N]),Us(N,i),Us(N,a)},onBeforeAppear(N){Vc(w,[N]),Us(N,c),Us(N,l)},onEnter:F(!1),onAppear:F(!0),onLeave(N,E){N._isLeaving=!0;const C=()=>k(N,E);Us(N,f),Q7(),Us(N,d),ZS(()=>{N._isLeaving&&(Nl(N,f),Us(N,h),QS(g)||BS(N,r,A,C))}),Vc(g,[N,C])},onEnterCancelled(N){O(N,!1),Vc(R,[N])},onAppearCancelled(N){O(N,!0),Vc(M,[N])},onLeaveCancelled(N){k(N),Vc(b,[N])}})}function eK(e){if(e==null)return null;if(Qn(e))return[HA(e.enter),HA(e.leave)];{const t=HA(e);return[t,t]}}function HA(e){return dv(e)}function Us(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ad]||(e[Ad]=new Set)).add(t)}function Nl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ad];n&&(n.delete(t),n.size||(e[Ad]=void 0))}function ZS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tK=0;function BS(e,t,n,r){const o=e._endId=++tK,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:c}=Y7(e,t);if(!a)return r();const l=a+"end";let u=0;const f=()=>{e.removeEventListener(l,d),i()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[p]||"").split(", "),o=r(`${Ml}Delay`),i=r(`${Ml}Duration`),a=DS(o,i),s=r(`${f0}Delay`),c=r(`${f0}Duration`),l=DS(s,c);let u=null,f=0,d=0;t===Ml?a>0&&(u=Ml,f=a,d=i.length):t===f0?l>0&&(u=f0,f=l,d=c.length):(f=Math.max(a,l),u=f>0?a>l?Ml:f0:null,d=u?u===Ml?i.length:c.length:0);const h=u===Ml&&/\b(transform|all)(,|$)/.test(r(`${Ml}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function DS(e,t){for(;e.lengthKS(n)+KS(e[r])))}function KS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Q7(){return document.body.offsetHeight}function nK(e,t,n){const r=e[Ad];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const rb=Symbol("_vod"),il={beforeMount(e,{value:t},{transition:n}){e[rb]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):d0(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),d0(e,!0),r.enter(e)):r.leave(e,()=>{d0(e,!1)}):d0(e,t))},beforeUnmount(e,{value:t}){d0(e,t)}};function d0(e,t){e.style.display=t?e[rb]:"none"}function rK(){il.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Z7=Symbol("");function oK(e){const t=cl();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>_4(i,o))},r=()=>{const o=e(t.proxy);F4(t.subTree,o),n(o)};$k(r),Gt(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),wn(()=>o.disconnect())})}function F4(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{F4(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)_4(e.el,t);else if(e.type===We)e.children.forEach(n=>F4(n,t));else if(e.type===fu){let{el:n,anchor:r}=e;for(;n&&(_4(n,t),n!==r);)n=n.nextSibling}}function _4(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Z7]=r}}function iK(e,t,n){const r=e.style,o=ar(n);if(n&&!o){if(t&&!ar(t))for(const i in t)n[i]==null&&E4(r,i,"");for(const i in n)E4(r,i,n[i])}else{const i=r.display;if(o){if(t!==n){const a=r[Z7];a&&(n+=";"+a),r.cssText=n}}else t&&e.removeAttribute("style");rb in e&&(r.display=i)}}const HS=/\s*!important$/;function E4(e,t,n){if(wt(n))n.forEach(r=>E4(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=aK(e,t);HS.test(n)?e.setProperty(Hi(r),n.replace(HS,""),"important"):e[r]=n}}const GS=["Webkit","Moz","ms"],GA={};function aK(e,t){const n=GA[t];if(n)return n;let r=_o(t);if(r!=="filter"&&r in e)return GA[t]=r;r=hp(r);for(let o=0;oJA||(dK.then(()=>JA=0),JA=Date.now());function pK(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ni(mK(r,n.value),t,5,[r])};return n.value=e,n.attached=hK(),n}function mK(e,t){if(wt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const jS=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,vK=(e,t,n,r,o,i,a,s,c)=>{const l=o==="svg";t==="class"?nK(e,r,l):t==="style"?iK(e,n,r):dp(t)?Tx(t)||uK(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gK(e,t,r,l))?lK(e,t,r,i,a,s,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),sK(e,t,r,l))};function gK(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&jS(t)&&Kt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return jS(t)&&ar(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function B7(e,t){const n=Ie(e);class r extends Cg{constructor(i){super(n,i,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const AK=e=>B7(e,tN),RK=typeof HTMLElement<"u"?HTMLElement:class{};class Cg extends RK{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Wr(()=>{this._connected||(yd(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:i,styles:a}=r;let s;if(i&&!wt(i))for(const c in i){const l=i[c];(l===Number||l&&l.type===Number)&&(c in this._props&&(this._props[c]=dv(this._props[c])),(s||(s=Object.create(null)))[_o(c)]=!0)}this._numberProps=s,o&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=wt(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(_o))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i)}})}_setAttr(t){let n=this.getAttribute(t);const r=_o(t);this._numberProps&&this._numberProps[r]&&(n=dv(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Hi(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Hi(t),n+""):n||this.removeAttribute(Hi(t))))}_update(){yd(this._createVNode(),this.shadowRoot)}_createVNode(){const t=L(this._def,ir({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(i,a)=>{this.dispatchEvent(new CustomEvent(i,{detail:a}))};n.emit=(i,...a)=>{r(i,a),Hi(i)!==i&&r(Hi(i),a)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Cg){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function yK(e="$style"){{const t=cl();if(!t)return Yn;const n=t.type.__cssModules;if(!n)return Yn;const r=n[e];return r||Yn}}const D7=new WeakMap,K7=new WeakMap,Rv=Symbol("_moveCb"),qS=Symbol("_enterCb"),H7={name:"TransitionGroup",props:ir({},qD,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cl(),r=Gx();let o,i;return kg(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!LK(o[0].el,n.vnode.el,a))return;o.forEach(SK),o.forEach(MK);const s=o.filter(wK);Q7(),s.forEach(c=>{const l=c.el,u=l.style;Us(l,a),u.transform=u.webkitTransform=u.transitionDuration="";const f=l[Rv]=d=>{d&&d.target!==l||(!d||/transform$/.test(d.propertyName))&&(l.removeEventListener("transitionend",f),l[Rv]=null,Nl(l,a))};l.addEventListener("transitionend",f)})}),()=>{const a=mn(e),s=U7(a);let c=a.tag||We;o=i,i=t.default?Og(t.default()):[];for(let l=0;ldelete e.mode;H7.props;const bK=H7;function SK(e){const t=e.el;t[Rv]&&t[Rv](),t[qS]&&t[qS]()}function MK(e){K7.set(e,e.el.getBoundingClientRect())}function wK(e){const t=D7.get(e),n=K7.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function LK(e,t,n){const r=e.cloneNode(),o=e[Ad];o&&o.forEach(s=>{s.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=Y7(r);return i.removeChild(r),a}const vc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return wt(t)?n=>rd(t,n):t};function OK(e){e.target.composing=!0}function eM(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zi=Symbol("_assign"),Bh={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[zi]=vc(o);const i=r||o.props&&o.props.type==="number";Ks(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=fv(s)),e[zi](s)}),n&&Ks(e,"change",()=>{e.value=e.value.trim()}),t||(Ks(e,"compositionstart",OK),Ks(e,"compositionend",eM),Ks(e,"change",eM))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},i){if(e[zi]=vc(i),e.composing)return;const a=o||e.type==="number"?fv(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===s)||(e.value=s))}},ob={deep:!0,created(e,t,n){e[zi]=vc(n),Ks(e,"change",()=>{const r=e._modelValue,o=Rd(e),i=e.checked,a=e[zi];if(wt(r)){const s=Rg(r,o),c=s!==-1;if(i&&!c)a(r.concat(o));else if(!i&&c){const l=[...r];l.splice(s,1),a(l)}}else if(Uu(r)){const s=new Set(r);i?s.add(o):s.delete(o),a(s)}else a(J7(e,i))})},mounted:tM,beforeUpdate(e,t,n){e[zi]=vc(n),tM(e,t,n)}};function tM(e,{value:t,oldValue:n},r){e._modelValue=t,wt(t)?e.checked=Rg(t,r.props.value)>-1:Uu(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=hc(t,J7(e,!0)))}const ib={created(e,{value:t},n){e.checked=hc(t,n.props.value),e[zi]=vc(n),Ks(e,"change",()=>{e[zi](Rd(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[zi]=vc(r),t!==n&&(e.checked=hc(t,r.props.value))}},G7={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Uu(t);Ks(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?fv(Rd(a)):Rd(a));e[zi](e.multiple?o?new Set(i):i:i[0])}),e[zi]=vc(r)},mounted(e,{value:t}){nM(e,t)},beforeUpdate(e,t,n){e[zi]=vc(n)},updated(e,{value:t}){nM(e,t)}};function nM(e,t){const n=e.multiple;if(!(n&&!wt(t)&&!Uu(t))){for(let r=0,o=e.options.length;r-1:i.selected=t.has(a);else if(hc(Rd(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Rd(e){return"_value"in e?e._value:e.value}function J7(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const z7={created(e,t,n){z1(e,t,n,null,"created")},mounted(e,t,n){z1(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){z1(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){z1(e,t,n,r,"updated")}};function $7(e,t){switch(e){case"SELECT":return G7;case"TEXTAREA":return Bh;default:switch(t){case"checkbox":return ob;case"radio":return ib;default:return Bh}}}function z1(e,t,n,r,o){const a=$7(e.tagName,n.props&&n.props.type)[o];a&&a(e,t,n,r)}function TK(){Bh.getSSRProps=({value:e})=>({value:e}),ib.getSSRProps=({value:e},t)=>{if(t.props&&hc(t.props.value,e))return{checked:!0}},ob.getSSRProps=({value:e},t)=>{if(wt(e)){if(t.props&&Rg(e,t.props.value)>-1)return{checked:!0}}else if(Uu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},z7.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=$7(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const kK=["ctrl","shift","alt","meta"],NK={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>kK.some(n=>e[`${n}Key`]&&!t.includes(n))},Wt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Hi(o.key);if(t.some(a=>a===i||PK[a]===i))return e(o)})},j7=ir({patchProp:vK},jD);let lh,rM=!1;function q7(){return lh||(lh=y7(j7))}function eN(){return lh=rM?lh:x7(j7),rM=!0,lh}const yd=(...e)=>{q7().render(...e)},tN=(...e)=>{eN().hydrate(...e)},nN=(...e)=>{const t=q7().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=oN(r);if(!o)return;const i=t._component;!Kt(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,rN(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t},CK=(...e)=>{const t=eN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=oN(r);if(o)return n(o,!0,rN(o))},t};function rN(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function oN(e){return ar(e)?document.querySelector(e):e}let oM=!1;const IK=()=>{oM||(oM=!0,TK(),rK())},FK=()=>{},_K=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:e7,BaseTransitionPropsValidators:Jx,Comment:vo,DeprecationTypes:JD,EffectScope:Cx,ErrorCodes:xB,ErrorTypeStrings:QD,Fragment:We,KeepAlive:DB,ReactiveEffect:vd,Static:fu,Suspense:_B,Teleport:eb,Text:wu,TrackOpTypes:AB,Transition:Ou,TransitionGroup:bK,TriggerOpTypes:RB,VueElement:Cg,assertNumber:yB,callWithAsyncErrorHandling:Ni,callWithErrorHandling:tl,camelize:_o,capitalize:hp,cloneVNode:hs,compatUtils:GD,compile:FK,computed:Me,createApp:nN,createBlock:Te,createCommentVNode:Ze,createElementBlock:ee,createElementVNode:V,createHydrationRenderer:x7,createPropsRestProxy:lD,createRenderer:y7,createSSRApp:CK,createSlots:HB,createStaticVNode:PD,createTextVNode:Ve,createVNode:L,customRef:Vk,defineAsyncComponent:ZB,defineComponent:Ie,defineCustomElement:B7,defineEmits:$B,defineExpose:jB,defineModel:tD,defineOptions:qB,defineProps:zB,defineSSRCustomElement:AK,defineSlots:eD,devtools:ZD,effect:YZ,effectScope:Ix,getCurrentInstance:cl,getCurrentScope:Fx,getTransitionRawChildren:Og,guardReactiveProps:k7,h:E7,handleError:Zu,hasInjectionContext:p7,hydrate:tN,initCustomFormatter:VD,initDirectivesForSSR:IK,inject:jo,isMemoSame:X7,isProxy:Vx,isReactive:ss,isReadonly:Su,isRef:sr,isRuntimeOnly:ED,isShallow:eu,isVNode:pc,markRaw:mp,mergeDefaults:aD,mergeModels:sD,mergeProps:N7,nextTick:Wr,normalizeClass:Je,normalizeProps:EZ,normalizeStyle:we,onActivated:n7,onBeforeMount:zx,onBeforeUnmount:Wd,onBeforeUpdate:i7,onDeactivated:r7,onErrorCaptured:c7,onMounted:Gt,onRenderTracked:l7,onRenderTriggered:s7,onScopeDispose:bk,onServerPrefetch:a7,onUnmounted:wn,onUpdated:kg,openBlock:Y,popScopeId:on,provide:Bu,proxyRefs:Qx,pushScopeId:rn,queuePostFlushCb:pv,reactive:pp,readonly:Wx,ref:he,registerRuntimeCompiler:_D,render:yd,renderList:ot,renderSlot:lr,resolveComponent:be,resolveDirective:Sn,resolveDynamicComponent:xs,resolveFilter:HD,resolveTransitionHooks:gd,setBlockTracking:k4,setDevtoolsHook:BD,setTransitionHooks:Mu,shallowReactive:Ek,shallowReadonly:lB,shallowRef:uB,ssrContextKey:Jk,ssrUtils:KD,stop:QZ,toDisplayString:gt,toHandlerKey:oh,toHandlers:GB,toRaw:mn,toRef:Xd,toRefs:Uk,toValue:hB,transformVNodeArgs:kD,triggerRef:dB,unref:G,useAttrs:oD,useCssModule:yK,useCssVars:oK,useModel:iD,useSSRContext:zk,useSlots:rD,useTransitionState:Gx,vModelCheckbox:ob,vModelDynamic:z7,vModelRadio:ib,vModelSelect:G7,vModelText:Bh,vShow:il,version:W7,warn:YD,watch:Tt,watchEffect:Lg,watchPostEffect:$k,watchSyncEffect:jk,withAsyncContext:cD,withCtx:ie,withDefaults:nD,withDirectives:Ke,withKeys:gc,withMemo:UD,withModifiers:Wt,withScopeId:TB},Symbol.toStringTag,{value:"Module"}));var EK=!1;/*! +var MZ=Object.defineProperty;var wZ=(e,t,n)=>t in e?MZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var UA=(e,t,n)=>(wZ(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Ag(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Yn={},td=[],Fo=()=>{},LZ=()=>!1,hp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nb=e=>e.startsWith("onUpdate:"),ir=Object.assign,Pb=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},OZ=Object.prototype.hasOwnProperty,Ln=(e,t)=>OZ.call(e,t),wt=Array.isArray,nd=e=>Ed(e)==="[object Map]",Uu=e=>Ed(e)==="[object Set]",RS=e=>Ed(e)==="[object Date]",TZ=e=>Ed(e)==="[object RegExp]",Kt=e=>typeof e=="function",ar=e=>typeof e=="string",dc=e=>typeof e=="symbol",Qn=e=>e!==null&&typeof e=="object",Cb=e=>(Qn(e)||Kt(e))&&Kt(e.then)&&Kt(e.catch),gk=Object.prototype.toString,Ed=e=>gk.call(e),kZ=e=>Ed(e).slice(8,-1),Ak=e=>Ed(e)==="[object Object]",Ib=e=>ar(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,oh=Ag(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rg=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},NZ=/-(\w)/g,_o=Rg(e=>e.replace(NZ,(t,n)=>n?n.toUpperCase():"")),PZ=/\B([A-Z])/g,Hi=Rg(e=>e.replace(PZ,"-$1").toLowerCase()),pp=Rg(e=>e.charAt(0).toUpperCase()+e.slice(1)),ih=Rg(e=>e?`on${pp(e)}`:""),Ca=(e,t)=>!Object.is(e,t),rd=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},dv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hv=e=>{const t=ar(e)?Number(e):NaN;return isNaN(t)?e:t};let yS;const Rk=()=>yS||(yS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),CZ="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",IZ=Ag(CZ);function we(e){if(wt(e)){const t={};for(let n=0;n{if(n){const r=n.split(_Z);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ge(e){let t="";if(ar(e))t=e;else if(wt(e))for(let n=0;nhc(n,t))}const gt=e=>ar(e)?e:e==null?"":wt(e)||Qn(e)&&(e.toString===gk||!Kt(e.toString))?JSON.stringify(e,bk,2):String(e),bk=(e,t)=>t&&t.__v_isRef?bk(e,t.value):nd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[YA(r,i)+" =>"]=o,n),{})}:Uu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>YA(n))}:dc(t)?YA(t):Qn(t)&&!wt(t)&&!Ak(t)?String(t):t,YA=(e,t="")=>{var n;return dc(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let yi;class Fb{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yi,!t&&yi&&(this.index=(yi.scopes||(yi.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yi;try{return yi=this,t()}finally{yi=n}}}on(){yi=this}off(){yi=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=2))break;Qu(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ic,n=lu;try{return ic=!0,lu=this,this._runnings++,bS(this),this.fn()}finally{xS(this),this._runnings--,lu=n,ic=t}}stop(){var t;this.active&&(bS(this),xS(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function QZ(e){return e.value}function bS(e){e._trackId++,e._depsLength=0}function xS(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(ir(n,t),t.scope&&xk(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function BZ(e){e.effect.stop()}let ic=!0,y4=0;const wk=[];function Yu(){wk.push(ic),ic=!1}function Qu(){const e=wk.pop();ic=e===void 0?!0:e}function Xb(){y4++}function Wb(){for(y4--;!y4&&b4.length;)b4.shift()()}function Lk(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Mk(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const b4=[];function Ok(e,t,n){Xb();for(const r of e.keys())if(!(!r.allowRecurse&&r._runnings)&&r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},pv=new WeakMap,cu=Symbol(""),x4=Symbol("");function oi(e,t,n){if(ic&&lu){let r=pv.get(e);r||pv.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Tk(()=>r.delete(n))),Lk(lu,o)}}function el(e,t,n,r,o,i){const a=pv.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&wt(e)){const c=Number(r);a.forEach((l,u)=>{(u==="length"||!dc(u)&&u>=c)&&s.push(l)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":wt(e)?Ib(n)&&s.push(a.get("length")):(s.push(a.get(cu)),nd(e)&&s.push(a.get(x4)));break;case"delete":wt(e)||(s.push(a.get(cu)),nd(e)&&s.push(a.get(x4)));break;case"set":nd(e)&&s.push(a.get(cu));break}Xb();for(const c of s)c&&Ok(c,3);Wb()}function DZ(e,t){var n;return(n=pv.get(e))==null?void 0:n.get(t)}const KZ=Ag("__proto__,__v_isRef,__isVue"),kk=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dc)),SS=HZ();function HZ(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=mn(this);for(let i=0,a=this.length;i{e[t]=function(...n){Yu(),Xb();const r=mn(this)[t].apply(this,n);return Wb(),Qu(),r}}),e}function GZ(e){const t=mn(this);return oi(t,"has",e),t.hasOwnProperty(e)}class Nk{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const o=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Ek:_k:i?Fk:Ik).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=wt(t);if(!o){if(a&&Ln(SS,n))return Reflect.get(SS,n,r);if(n==="hasOwnProperty")return GZ}const s=Reflect.get(t,n,r);return(dc(n)?kk.has(n):KZ(n))||(o||oi(t,"get",n),i)?s:sr(s)?a&&Ib(n)?s:s.value:Qn(s)?o?Ub(s):mp(s):s}}class Pk extends Nk{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._shallow){const c=Su(i);if(!eu(r)&&!Su(r)&&(i=mn(i),r=mn(r)),!wt(t)&&sr(i)&&!sr(r))return c?!1:(i.value=r,!0)}const a=wt(t)&&Ib(n)?Number(n)e,bg=e=>Reflect.getPrototypeOf(e);function Y1(e,t,n=!1,r=!1){e=e.__v_raw;const o=mn(e),i=mn(t);n||(Ca(t,i)&&oi(o,"get",t),oi(o,"get",i));const{has:a}=bg(o),s=r?Vb:n?Qb:Xh;if(a.call(o,t))return s(e.get(t));if(a.call(o,i))return s(e.get(i));e!==o&&e.get(t)}function Q1(e,t=!1){const n=this.__v_raw,r=mn(n),o=mn(e);return t||(Ca(e,o)&&oi(r,"has",e),oi(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Z1(e,t=!1){return e=e.__v_raw,!t&&oi(mn(e),"iterate",cu),Reflect.get(e,"size",e)}function MS(e){e=mn(e);const t=mn(this);return bg(t).has.call(t,e)||(t.add(e),el(t,"add",e,e)),this}function wS(e,t){t=mn(t);const n=mn(this),{has:r,get:o}=bg(n);let i=r.call(n,e);i||(e=mn(e),i=r.call(n,e));const a=o.call(n,e);return n.set(e,t),i?Ca(t,a)&&el(n,"set",e,t):el(n,"add",e,t),this}function LS(e){const t=mn(this),{has:n,get:r}=bg(t);let o=n.call(t,e);o||(e=mn(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&el(t,"delete",e,void 0),i}function OS(){const e=mn(this),t=e.size!==0,n=e.clear();return t&&el(e,"clear",void 0,void 0),n}function B1(e,t){return function(r,o){const i=this,a=i.__v_raw,s=mn(a),c=t?Vb:e?Qb:Xh;return!e&&oi(s,"iterate",cu),a.forEach((l,u)=>r.call(o,c(l),c(u),i))}}function D1(e,t,n){return function(...r){const o=this.__v_raw,i=mn(o),a=nd(i),s=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,l=o[e](...r),u=n?Vb:t?Qb:Xh;return!t&&oi(i,"iterate",c?x4:cu),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function xl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qZ(){const e={get(i){return Y1(this,i)},get size(){return Z1(this)},has:Q1,add:MS,set:wS,delete:LS,clear:OS,forEach:B1(!1,!1)},t={get(i){return Y1(this,i,!1,!0)},get size(){return Z1(this)},has:Q1,add:MS,set:wS,delete:LS,clear:OS,forEach:B1(!1,!0)},n={get(i){return Y1(this,i,!0)},get size(){return Z1(this,!0)},has(i){return Q1.call(this,i,!0)},add:xl("add"),set:xl("set"),delete:xl("delete"),clear:xl("clear"),forEach:B1(!0,!1)},r={get(i){return Y1(this,i,!0,!0)},get size(){return Z1(this,!0)},has(i){return Q1.call(this,i,!0)},add:xl("add"),set:xl("set"),delete:xl("delete"),clear:xl("clear"),forEach:B1(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=D1(i,!1,!1),n[i]=D1(i,!0,!1),t[i]=D1(i,!1,!0),r[i]=D1(i,!0,!0)}),[e,n,t,r]}const[eB,tB,nB,rB]=qZ();function xg(e,t){const n=t?e?rB:nB:e?tB:eB;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ln(n,o)&&o in r?n:r,o,i)}const oB={get:xg(!1,!1)},iB={get:xg(!1,!0)},aB={get:xg(!0,!1)},sB={get:xg(!0,!0)},Ik=new WeakMap,Fk=new WeakMap,_k=new WeakMap,Ek=new WeakMap;function lB(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cB(e){return e.__v_skip||!Object.isExtensible(e)?0:lB(kZ(e))}function mp(e){return Su(e)?e:Sg(e,!1,JZ,oB,Ik)}function Xk(e){return Sg(e,!1,$Z,iB,Fk)}function Ub(e){return Sg(e,!0,zZ,aB,_k)}function uB(e){return Sg(e,!0,jZ,sB,Ek)}function Sg(e,t,n,r,o){if(!Qn(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=cB(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return o.set(e,s),s}function ls(e){return Su(e)?ls(e.__v_raw):!!(e&&e.__v_isReactive)}function Su(e){return!!(e&&e.__v_isReadonly)}function eu(e){return!!(e&&e.__v_isShallow)}function Yb(e){return ls(e)||Su(e)}function mn(e){const t=e&&e.__v_raw;return t?mn(t):e}function vp(e){return fv(e,"__v_skip",!0),e}const Xh=e=>Qn(e)?mp(e):e,Qb=e=>Qn(e)?Ub(e):e;class Wk{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new vd(()=>t(this._value),()=>Wh(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=mn(this);return Zb(t),(!t._cacheable||t.effect.dirty)&&Ca(t._value,t._value=t.effect.run())&&Wh(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function fB(e,t,n=!1){let r,o;const i=Kt(e);return i?(r=e,o=Fo):(r=e.get,o=e.set),new Wk(r,o,i||!o,n)}function Zb(e){ic&&lu&&(e=mn(e),Lk(lu,e.dep||(e.dep=Tk(()=>e.dep=void 0,e instanceof Wk?e:void 0))))}function Wh(e,t=3,n){e=mn(e);const r=e.dep;r&&Ok(r,t)}function sr(e){return!!(e&&e.__v_isRef===!0)}function he(e){return Vk(e,!1)}function dB(e){return Vk(e,!0)}function Vk(e,t){return sr(e)?e:new hB(e,t)}class hB{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:mn(t),this._value=n?t:Xh(t)}get value(){return Zb(this),this._value}set value(t){const n=this.__v_isShallow||eu(t)||Su(t);t=n?t:mn(t),Ca(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Xh(t),Wh(this,3))}}function pB(e){Wh(e,3)}function G(e){return sr(e)?e.value:e}function mB(e){return Kt(e)?e():G(e)}const vB={get:(e,t,n)=>G(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return sr(o)&&!sr(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Bb(e){return ls(e)?e:new Proxy(e,vB)}class gB{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Zb(this),()=>Wh(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Uk(e){return new gB(e)}function Yk(e){const t=wt(e)?new Array(e.length):{};for(const n in e)t[n]=Qk(e,n);return t}class AB{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return DZ(mn(this._object),this._key)}}class RB{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xd(e,t,n){return sr(e)?e:Kt(e)?new RB(e):Qn(e)&&arguments.length>1?Qk(e,t,n):he(e)}function Qk(e,t,n){const r=e[t];return sr(r)?r:new AB(e,t,n)}const yB={GET:"get",HAS:"has",ITERATE:"iterate"},bB={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};function xB(e,t){}const SB={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},MB={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function tl(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){Zu(i,t,n)}return o}function Ni(e,t,n,r){if(Kt(e)){const i=tl(e,t,n,r);return i&&Cb(i)&&i.catch(a=>{Zu(a,t,n)}),i}const o=[];for(let i=0;i>>1,o=fo[r],i=Uh(o);ies&&fo.splice(t,1)}function mv(e){wt(e)?od.push(...e):(!Qs||!Qs.includes(e,e.allowRecurse?zc+1:zc))&&od.push(e),Bk()}function TS(e,t,n=Vh?es+1:0){for(;nUh(n)-Uh(r)),zc=0;zce.id==null?1/0:e.id,TB=(e,t)=>{const n=Uh(e)-Uh(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Dk(e){S4=!1,Vh=!0,fo.sort(TB);try{for(es=0;esar(h)?h.trim():h)),f&&(o=n.map(dv))}let s,c=r[s=ih(t)]||r[s=ih(_o(t))];!c&&i&&(c=r[s=ih(Hi(t))]),c&&Ni(c,e,6,o);const l=r[s+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Ni(l,e,6,o)}}function Kk(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},s=!1;if(!Kt(e)){const c=l=>{const u=Kk(l,t,!0);u&&(s=!0,ir(a,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!s?(Qn(e)&&r.set(e,null),null):(wt(i)?i.forEach(c=>a[c]=null):ir(a,i),Qn(e)&&r.set(e,a),a)}function wg(e,t){return!e||!hp(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ln(e,t[0].toLowerCase()+t.slice(1))||Ln(e,Hi(t))||Ln(e,t))}let Yr=null,Lg=null;function Yh(e){const t=Yr;return Yr=e,Lg=e&&e.type.__scopeId||null,t}function qt(e){Lg=e}function en(){Lg=null}const NB=e=>ie;function ie(e,t=Yr,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&N4(-1);const i=Yh(t);let a;try{a=e(...o)}finally{Yh(i),r._d&&N4(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Cm(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e;let A,x;const y=Yh(e);try{if(n.shapeFlag&4){const g=o||r,b=g;A=Si(u.call(b,g,f,i,h,d,p)),x=c}else{const g=t;A=Si(g.length>1?g(i,{attrs:c,slots:s,emit:l}):g(i,null)),x=t.props?c:CB(c)}}catch(g){lh.length=0,Zu(g,e,1),A=O(vo)}let R=A;if(x&&m!==!1){const g=Object.keys(x),{shapeFlag:b}=R;g.length&&b&7&&(a&&g.some(Nb)&&(x=IB(x,a)),R=ps(R,x))}return n.dirs&&(R=ps(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),A=R,Yh(y),A}function PB(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||hp(n))&&((t||(t={}))[n]=e[n]);return t},IB=(e,t)=>{const n={};for(const r in e)(!Nb(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function FB(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:c}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?kS(r,a,l):!!a;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;let PS=0;const EB={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,a,s,c,l){e==null?WB(t,n,r,o,i,a,s,c,l):VB(e,t,n,r,o,a,s,c,l)},hydrate:UB,create:Jb,normalize:YB},XB=EB;function Qh(e,t){const n=e.props&&e.props[t];Kt(n)&&n()}function WB(e,t,n,r,o,i,a,s,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=Jb(e,o,r,t,f,n,i,a,s,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,i,a),d.deps>0?(Qh(e,"onPending"),Qh(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,i,a),id(d,e.ssFallback)):d.resolve(!1,!0)}function VB(e,t,n,r,o,i,a,s,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:A,isHydrating:x}=f;if(m)f.pendingBranch=d,La(d,m)?(c(m,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():A&&(x||(c(p,h,n,r,o,null,i,a,s),id(f,h)))):(f.pendingId=PS++,x?(f.isHydrating=!1,f.activeBranch=m):l(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),A?(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():(c(p,h,n,r,o,null,i,a,s),id(f,h))):p&&La(d,p)?(c(p,d,n,r,o,f,i,a,s),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0&&f.resolve()));else if(p&&La(d,p))c(p,d,n,r,o,f,i,a,s),id(f,d);else if(Qh(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=PS++,c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:R}=f;y>0?setTimeout(()=>{f.pendingId===R&&f.fallback(h)},y):y===0&&f.fallback(h)}}function Jb(e,t,n,r,o,i,a,s,c,l,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:m,remove:A}}=l;let x;const y=QB(e);y&&t!=null&&t.pendingBranch&&(x=t.pendingId,t.deps++);const R=e.props?hv(e.props.timeout):void 0,g={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:typeof R=="number"?R:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(b=!1,L=!1){const{vnode:T,activeBranch:M,pendingBranch:w,pendingId:k,effects:_,parentComponent:P,container:E}=g;let I=!1;if(g.isHydrating)g.isHydrating=!1;else if(!b){I=M&&w.transition&&w.transition.mode==="out-in",I&&(M.transition.afterLeave=()=>{k===g.pendingId&&(d(w,E,p(M),0),mv(_))});let{anchor:V}=g;M&&(V=p(M),h(M,P,g,!0)),I||d(w,E,V,0)}id(g,w),g.pendingBranch=null,g.isInFallback=!1;let F=g.parent,N=!1;for(;F;){if(F.pendingBranch){F.effects.push(..._),N=!0;break}F=F.parent}!N&&!I&&mv(_),g.effects=[],y&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Qh(T,"onResolve")},fallback(b){if(!g.pendingBranch)return;const{vnode:L,activeBranch:T,parentComponent:M,container:w,namespace:k}=g;Qh(L,"onFallback");const _=p(T),P=()=>{g.isInFallback&&(f(null,b,w,_,M,null,k,s,c),id(g,b))},E=b.transition&&b.transition.mode==="out-in";E&&(T.transition.afterLeave=P),g.isInFallback=!0,h(T,M,null,!0),E||P()},move(b,L,T){g.activeBranch&&d(g.activeBranch,b,L,T),g.container=b},next(){return g.activeBranch&&p(g.activeBranch)},registerDep(b,L){const T=!!g.pendingBranch;T&&g.deps++;const M=b.vnode.el;b.asyncDep.catch(w=>{Zu(w,b,0)}).then(w=>{if(b.isUnmounted||g.isUnmounted||g.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:k}=b;C4(b,w,!1),M&&(k.el=M);const _=!M&&b.subTree.el;L(b,k,m(M||b.subTree.el),M?null:p(b.subTree),g,a,c),_&&A(_),Kb(b,k.el),T&&--g.deps===0&&g.resolve()})},unmount(b,L){g.isUnmounted=!0,g.activeBranch&&h(g.activeBranch,n,b,L),g.pendingBranch&&h(g.pendingBranch,n,b,L)}};return g}function UB(e,t,n,r,o,i,a,s,c){const l=t.suspense=Jb(t,r,n,e.parentNode,document.createElement("div"),null,o,i,a,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,i,a);return l.deps===0&&l.resolve(!1,!0),u}function YB(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=CS(r?n.default:n),e.ssFallback=r?CS(n.fallback):O(vo)}function CS(e){let t;if(Kt(e)){const n=Lu&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=$o,O7())}return wt(e)&&(e=PB(e)),e=Si(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Jk(e,t){t&&t.pendingBranch?wt(e)?t.effects.push(...e):t.effects.push(e):mv(e)}function id(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Kb(r,o))}function QB(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const zk=Symbol.for("v-scx"),$k=()=>jo(zk);function Og(e,t){return gp(e,null,t)}function jk(e,t){return gp(e,null,{flush:"post"})}function qk(e,t){return gp(e,null,{flush:"sync"})}const K1={};function Tt(e,t,n){return gp(e,t,n)}function gp(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:a,onTrigger:s}=Yn){var c;if(t&&i){const b=t;t=(...L)=>{b(...L),g()}}const l=Eb()===((c=Pr)==null?void 0:c.scope)?Pr:null;let u,f=!1,d=!1;if(sr(e)?(u=()=>e.value,f=eu(e)):ls(e)?(u=eu(e)||r===!1?()=>Js(e,1):()=>Js(e),f=!0):wt(e)?(d=!0,f=e.some(b=>ls(b)||eu(b)),u=()=>e.map(b=>{if(sr(b))return b.value;if(ls(b))return Js(b,eu(b)||r===!1?1:void 0);if(Kt(b))return tl(b,l,2)})):Kt(e)?t?u=()=>tl(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return h&&h(),Ni(e,l,3,[p])}:u=Fo,t&&r){const b=u;u=()=>Js(b())}let h,p=b=>{h=R.onStop=()=>{tl(b,l,4),h=R.onStop=void 0}},m;if(Rp)if(p=Fo,t?n&&Ni(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const b=$k();m=b.__watcherHandles||(b.__watcherHandles=[])}else return Fo;let A=d?new Array(e.length).fill(K1):K1;const x=()=>{if(!(!R.active||!R.dirty))if(t){const b=R.run();(r||f||(d?b.some((L,T)=>Ca(L,A[T])):Ca(b,A)))&&(h&&h(),Ni(t,l,3,[b,A===K1?void 0:d&&A[0]===K1?[]:A,p]),A=b)}else R.run()};x.allowRecurse=!!t;let y;o==="sync"?y=x:o==="post"?y=()=>$r(x,l&&l.suspense):(x.pre=!0,l&&(x.id=l.uid),y=()=>Mg(x));const R=new vd(u,Fo,y),g=()=>{R.stop(),l&&l.scope&&Pb(l.scope.effects,R)};return t?n?x():A=R.run():o==="post"?$r(R.run.bind(R),l&&l.suspense):R.run(),m&&m.push(g),g}function ZB(e,t,n){const r=this.proxy,o=ar(e)?e.includes(".")?e7(r,e):()=>r[e]:e.bind(r,r);let i;Kt(t)?i=t:(i=t.handler,n=t);const a=Pr;mc(this);const s=gp(o,i.bind(r),n);return a?mc(a):ac(),s}function e7(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),sr(e))Js(e.value,t,n,r);else if(wt(e))for(let o=0;o{Js(o,t,n,r)});else if(Ak(e))for(const o in e)Js(e[o],t,n,r);return e}function Ke(e,t){const n=Yr;if(n===null)return e;const r=Cg(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),Wd(()=>{e.isUnmounting=!0}),e}const Qi=[Function,Array],$b={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Qi,onEnter:Qi,onAfterEnter:Qi,onEnterCancelled:Qi,onBeforeLeave:Qi,onLeave:Qi,onAfterLeave:Qi,onLeaveCancelled:Qi,onBeforeAppear:Qi,onAppear:Qi,onAfterAppear:Qi,onAppearCancelled:Qi},BB={name:"BaseTransition",props:$b,setup(e,{slots:t}){const n=cl(),r=zb();let o;return()=>{const i=t.default&&Tg(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const m of i)if(m.type!==vo){a=m;break}}const s=mn(e),{mode:c}=s;if(r.isLeaving)return QA(a);const l=IS(a);if(!l)return QA(a);const u=gd(l,s,r,n);Mu(l,u);const f=n.subTree,d=f&&IS(f);let h=!1;const{getTransitionKey:p}=l.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,h=!0)}if(d&&d.type!==vo&&(!La(l,d)||h)){const m=gd(d,s,r,n);if(Mu(d,m),c==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},QA(a);c==="in-out"&&l.type!==vo&&(m.delayLeave=(A,x,y)=>{const R=n7(r,d);R[String(d.key)]=d,A[Vl]=()=>{x(),A[Vl]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return a}}},t7=BB;function n7(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function gd(e,t,n,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:m,onAppear:A,onAfterAppear:x,onAppearCancelled:y}=t,R=String(e.key),g=n7(n,e),b=(M,w)=>{M&&Ni(M,r,9,w)},L=(M,w)=>{const k=w[1];b(M,w),wt(M)?M.every(_=>_.length<=1)&&k():M.length<=1&&k()},T={mode:i,persisted:a,beforeEnter(M){let w=s;if(!n.isMounted)if(o)w=m||s;else return;M[Vl]&&M[Vl](!0);const k=g[R];k&&La(e,k)&&k.el[Vl]&&k.el[Vl](),b(w,[M])},enter(M){let w=c,k=l,_=u;if(!n.isMounted)if(o)w=A||c,k=x||l,_=y||u;else return;let P=!1;const E=M[H1]=I=>{P||(P=!0,I?b(_,[M]):b(k,[M]),T.delayedLeave&&T.delayedLeave(),M[H1]=void 0)};w?L(w,[M,E]):E()},leave(M,w){const k=String(e.key);if(M[H1]&&M[H1](!0),n.isUnmounting)return w();b(f,[M]);let _=!1;const P=M[Vl]=E=>{_||(_=!0,w(),E?b(p,[M]):b(h,[M]),M[Vl]=void 0,g[k]===e&&delete g[k])};g[k]=e,d?L(d,[M,P]):P()},clone(M){return gd(M,t,n,r)}};return T}function QA(e){if(Ap(e))return e=ps(e),e.children=null,e}function IS(e){return Ap(e)?e.children?e.children[0]:void 0:e}function Mu(e,t){e.shapeFlag&6&&e.component?Mu(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Tg(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function DB(e){Kt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let h;return c||(h=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((m,A)=>{s(p,()=>m(f()),()=>A(p),u+1)});throw p}).then(p=>h!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),l=p,p)))};return Ie({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=Pr;if(l)return()=>ZA(l,h);const p=y=>{c=null,Zu(y,h,13,!r)};if(a&&h.suspense||Rp)return d().then(y=>()=>ZA(y,h)).catch(y=>(p(y),()=>r?O(r,{error:y}):null));const m=he(!1),A=he(),x=he(!!o);return o&&setTimeout(()=>{x.value=!1},o),i!=null&&setTimeout(()=>{if(!m.value&&!A.value){const y=new Error(`Async component timed out after ${i}ms.`);p(y),A.value=y}},i),d().then(()=>{m.value=!0,h.parent&&Ap(h.parent.vnode)&&(h.parent.effect.dirty=!0,Mg(h.parent.update))}).catch(y=>{p(y),A.value=y}),()=>{if(m.value&&l)return ZA(l,h);if(A.value&&r)return O(r,{error:A.value});if(n&&!x.value)return O(n)}}})}function ZA(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,a=O(e,r,o);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const Ap=e=>e.type.__isKeepAlive,KB={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=cl(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,i=new Set;let a=null;const s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(y,R,g,b,L)=>{const T=y.component;l(y,R,g,0,s),c(T.vnode,y,R,g,T,s,b,y.slotScopeIds,L),$r(()=>{T.isDeactivated=!1,T.a&&rd(T.a);const M=y.props&&y.props.onVnodeMounted;M&&Ho(M,T.parent,y)},s)},r.deactivate=y=>{const R=y.component;l(y,d,null,1,s),$r(()=>{R.da&&rd(R.da);const g=y.props&&y.props.onVnodeUnmounted;g&&Ho(g,R.parent,y),R.isDeactivated=!0},s)};function h(y){BA(y),u(y,n,s,!0)}function p(y){o.forEach((R,g)=>{const b=F4(R.type);b&&(!y||!y(b))&&m(g)})}function m(y){const R=o.get(y);!a||!La(R,a)?h(R):a&&BA(a),o.delete(y),i.delete(y)}Tt(()=>[e.include,e.exclude],([y,R])=>{y&&p(g=>k0(y,g)),R&&p(g=>!k0(R,g))},{flush:"post",deep:!0});let A=null;const x=()=>{A!=null&&o.set(A,DA(n.subTree))};return Ht(x),Ng(x),Wd(()=>{o.forEach(y=>{const{subTree:R,suspense:g}=n,b=DA(R);if(y.type===b.type&&y.key===b.key){BA(b);const L=b.component.da;L&&$r(L,g);return}h(y)})}),()=>{if(A=null,!t.default)return null;const y=t.default(),R=y[0];if(y.length>1)return a=null,y;if(!pc(R)||!(R.shapeFlag&4)&&!(R.shapeFlag&128))return a=null,R;let g=DA(R);const b=g.type,L=F4(uu(g)?g.type.__asyncResolved||{}:b),{include:T,exclude:M,max:w}=e;if(T&&(!L||!k0(T,L))||M&&L&&k0(M,L))return a=g,R;const k=g.key==null?b:g.key,_=o.get(k);return g.el&&(g=ps(g),R.shapeFlag&128&&(R.ssContent=g)),A=k,_?(g.el=_.el,g.component=_.component,g.transition&&Mu(g,g.transition),g.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),w&&i.size>parseInt(w,10)&&m(i.values().next().value)),g.shapeFlag|=256,a=g,Gk(R.type)?R:g}}},HB=KB;function k0(e,t){return wt(e)?e.some(n=>k0(n,t)):ar(e)?e.split(",").includes(t):TZ(e)?e.test(t):!1}function r7(e,t){i7(e,"a",t)}function o7(e,t){i7(e,"da",t)}function i7(e,t,n=Pr){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(kg(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ap(o.parent.vnode)&&GB(r,t,n,o),o=o.parent}}function GB(e,t,n,r){const o=kg(t,e,r,!0);wn(()=>{Pb(r[t],o)},n)}function BA(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function DA(e){return e.shapeFlag&128?e.ssContent:e}function kg(e,t,n=Pr,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Yu(),mc(n);const s=Ni(t,n,e,a);return ac(),Qu(),s});return r?o.unshift(i):o.push(i),i}}const ll=e=>(t,n=Pr)=>(!Rp||e==="sp")&&kg(e,(...r)=>t(...r),n),jb=ll("bm"),Ht=ll("m"),a7=ll("bu"),Ng=ll("u"),Wd=ll("bum"),wn=ll("um"),s7=ll("sp"),l7=ll("rtg"),c7=ll("rtc");function u7(e,t=Pr){kg("ec",e,t)}function ot(e,t,n,r){let o;const i=n&&n[r];if(wt(e)||ar(e)){o=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);o=new Array(a.length);for(let s=0,c=a.length;s{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function lr(e,t,n={},r,o){if(Yr.isCE||Yr.parent&&uu(Yr.parent)&&Yr.parent.isCE)return t!=="default"&&(n.name=t),O("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Y();const a=i&&f7(i(n)),s=Te(Xe,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function f7(e){return e.some(t=>pc(t)?!(t.type===vo||t.type===Xe&&!f7(t.children)):!0)?e:null}function zB(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ih(r)]=e[r];return n}const M4=e=>e?I7(e)?Cg(e)||e.proxy:M4(e.parent):null,ah=ir(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>M4(e.parent),$root:e=>M4(e.root),$emit:e=>e.emit,$options:e=>qb(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Mg(e.update)}),$nextTick:e=>e.n||(e.n=Wr.bind(e.proxy)),$watch:e=>ZB.bind(e)}),KA=(e,t)=>e!==Yn&&!e.__isScriptSetup&&Ln(e,t),w4={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:c}=e;let l;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(KA(r,t))return a[t]=1,r[t];if(o!==Yn&&Ln(o,t))return a[t]=2,o[t];if((l=e.propsOptions[0])&&Ln(l,t))return a[t]=3,i[t];if(n!==Yn&&Ln(n,t))return a[t]=4,n[t];L4&&(a[t]=0)}}const u=ah[t];let f,d;if(u)return t==="$attrs"&&oi(e,"get",t),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Yn&&Ln(n,t))return a[t]=4,n[t];if(d=c.config.globalProperties,Ln(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return KA(o,t)?(o[t]=n,!0):r!==Yn&&Ln(r,t)?(r[t]=n,!0):Ln(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||e!==Yn&&Ln(e,a)||KA(t,a)||(s=i[0])&&Ln(s,a)||Ln(r,a)||Ln(ah,a)||Ln(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ln(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},$B=ir({},w4,{get(e,t){if(t!==Symbol.unscopables)return w4.get(e,t,e)},has(e,t){return t[0]!=="_"&&!IZ(t)}});function jB(){return null}function qB(){return null}function eD(e){}function tD(e){}function nD(){return null}function rD(){}function oD(e,t){return null}function iD(){return d7().slots}function aD(){return d7().attrs}function sD(e,t,n=Yn){const r=cl(),o=_o(t),i=Uk((s,c)=>{let l;return qk(()=>{const u=e[t];Ca(l,u)&&(l=u,c())}),{get(){return s(),n.get?n.get(l):l},set(u){const f=r.vnode.props;!(f&&(t in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${o}`in f))&&Ca(u,l)&&(l=u,c()),r.emit(`update:${t}`,n.set?n.set(u):u)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return i[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function d7(){const e=cl();return e.setupContext||(e.setupContext=E7(e))}function Zh(e){return wt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function lD(e,t){const n=Zh(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?wt(o)||Kt(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function cD(e,t){return!e||!t?e||t:wt(e)&&wt(t)?e.concat(t):ir({},Zh(e),Zh(t))}function uD(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function fD(e){const t=cl();let n=e();return ac(),Cb(n)&&(n=n.catch(r=>{throw mc(t),r})),[n,()=>mc(t)]}let L4=!0;function dD(e){const t=qb(e),n=e.proxy,r=e.ctx;L4=!1,t.beforeCreate&&FS(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:A,beforeDestroy:x,beforeUnmount:y,destroyed:R,unmounted:g,render:b,renderTracked:L,renderTriggered:T,errorCaptured:M,serverPrefetch:w,expose:k,inheritAttrs:_,components:P,directives:E,filters:I}=t;if(l&&hD(l,r,null),a)for(const V in a){const Z=a[V];Kt(Z)&&(r[V]=Z.bind(n))}if(o){const V=o.call(n,n);Qn(V)&&(e.data=mp(V))}if(L4=!0,i)for(const V in i){const Z=i[V],J=Kt(Z)?Z.bind(n,n):Kt(Z.get)?Z.get.bind(n,n):Fo,se=!Kt(Z)&&Kt(Z.set)?Z.set.bind(n):Fo,D=Me({get:J,set:se});Object.defineProperty(r,V,{enumerable:!0,configurable:!0,get:()=>D.value,set:Q=>D.value=Q})}if(s)for(const V in s)h7(s[V],r,n,V);if(c){const V=Kt(c)?c.call(n):c;Reflect.ownKeys(V).forEach(Z=>{Bu(Z,V[Z])})}u&&FS(u,e,"c");function N(V,Z){wt(Z)?Z.forEach(J=>V(J.bind(n))):Z&&V(Z.bind(n))}if(N(jb,f),N(Ht,d),N(a7,h),N(Ng,p),N(r7,m),N(o7,A),N(u7,M),N(c7,L),N(l7,T),N(Wd,y),N(wn,g),N(s7,w),wt(k))if(k.length){const V=e.exposed||(e.exposed={});k.forEach(Z=>{Object.defineProperty(V,Z,{get:()=>n[Z],set:J=>n[Z]=J})})}else e.exposed||(e.exposed={});b&&e.render===Fo&&(e.render=b),_!=null&&(e.inheritAttrs=_),P&&(e.components=P),E&&(e.directives=E)}function hD(e,t,n=Fo){wt(e)&&(e=O4(e));for(const r in e){const o=e[r];let i;Qn(o)?"default"in o?i=jo(o.from||r,o.default,!0):i=jo(o.from||r):i=jo(o),sr(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function FS(e,t,n){Ni(wt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function h7(e,t,n,r){const o=r.includes(".")?e7(n,r):()=>n[r];if(ar(e)){const i=t[e];Kt(i)&&Tt(o,i)}else if(Kt(e))Tt(o,e.bind(n));else if(Qn(e))if(wt(e))e.forEach(i=>h7(i,t,n,r));else{const i=Kt(e.handler)?e.handler.bind(n):t[e.handler];Kt(i)&&Tt(o,i,e)}}function qb(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let c;return s?c=s:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>gv(c,l,a,!0)),gv(c,t,a)),Qn(t)&&i.set(t,c),c}function gv(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&gv(e,i,n,!0),o&&o.forEach(a=>gv(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=pD[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const pD={data:_S,props:ES,emits:ES,methods:N0,computed:N0,beforeCreate:Mo,created:Mo,beforeMount:Mo,mounted:Mo,beforeUpdate:Mo,updated:Mo,beforeDestroy:Mo,beforeUnmount:Mo,destroyed:Mo,unmounted:Mo,activated:Mo,deactivated:Mo,errorCaptured:Mo,serverPrefetch:Mo,components:N0,directives:N0,watch:vD,provide:_S,inject:mD};function _S(e,t){return t?e?function(){return ir(Kt(e)?e.call(this,this):e,Kt(t)?t.call(this,this):t)}:t:e}function mD(e,t){return N0(O4(e),O4(t))}function O4(e){if(wt(e)){const t={};for(let n=0;n1)return n&&Kt(t)?t.call(r&&r.proxy):t}}function m7(){return!!(Pr||Yr||Bh)}function RD(e,t,n,r=!1){const o={},i={};fv(i,Pg,1),e.propsDefaults=Object.create(null),v7(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Xk(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function yD(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=mn(o),[c]=e.propsOptions;let l=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,h]=g7(f,t,!0);ir(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return Qn(e)&&r.set(e,td),td;if(wt(i))for(let u=0;u-1,h[1]=m<0||p-1||Ln(h,"default"))&&s.push(f)}}}const l=[a,s];return Qn(e)&&r.set(e,l),l}function XS(e){return e[0]!=="$"}function WS(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function VS(e,t){return WS(e)===WS(t)}function US(e,t){return wt(t)?t.findIndex(n=>VS(n,e)):Kt(t)&&VS(t,e)?0:-1}const A7=e=>e[0]==="_"||e==="$stable",ex=e=>wt(e)?e.map(Si):[Si(e)],bD=(e,t,n)=>{if(t._n)return t;const r=ie((...o)=>ex(t(...o)),n);return r._c=!1,r},R7=(e,t,n)=>{const r=e._ctx;for(const o in e){if(A7(o))continue;const i=e[o];if(Kt(i))t[o]=bD(o,i,r);else if(i!=null){const a=ex(i);t[o]=()=>a}}},y7=(e,t)=>{const n=ex(t);e.slots.default=()=>n},xD=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=mn(t),fv(t,"_",n)):R7(t,e.slots={})}else e.slots={},t&&y7(e,t);fv(e.slots,Pg,1)},SD=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=Yn;if(r.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(ir(o,t),!n&&s===1&&delete o._):(i=!t.$stable,R7(t,o)),a=t}else t&&(y7(e,t),a={default:1});if(i)for(const s in o)!A7(s)&&a[s]==null&&delete o[s]};function Av(e,t,n,r,o=!1){if(wt(e)){e.forEach((d,h)=>Av(d,t&&(wt(t)?t[h]:t),n,r,o));return}if(uu(r)&&!o)return;const i=r.shapeFlag&4?Cg(r.component)||r.component.proxy:r.el,a=o?null:i,{i:s,r:c}=e,l=t&&t.r,u=s.refs===Yn?s.refs={}:s.refs,f=s.setupState;if(l!=null&&l!==c&&(ar(l)?(u[l]=null,Ln(f,l)&&(f[l]=null)):sr(l)&&(l.value=null)),Kt(c))tl(c,s,12,[a,u]);else{const d=ar(c),h=sr(c);if(d||h){const p=()=>{if(e.f){const m=d?Ln(f,c)?f[c]:u[c]:c.value;o?wt(m)&&Pb(m,i):wt(m)?m.includes(i)||m.push(i):d?(u[c]=[i],Ln(f,c)&&(f[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else d?(u[c]=a,Ln(f,c)&&(f[c]=a)):h&&(c.value=a,e.k&&(u[e.k]=a))};a?(p.id=-1,$r(p,n)):p()}}}let Sl=!1;const MD=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",wD=e=>e.namespaceURI.includes("MathML"),G1=e=>{if(MD(e))return"svg";if(wD(e))return"mathml"},J1=e=>e.nodeType===8;function LD(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:s,insert:c,createComment:l}}=e,u=(R,g)=>{if(!g.hasChildNodes()){n(null,R,g),vv(),g._vnode=R;return}Sl=!1,f(g.firstChild,R,null,null,null),vv(),g._vnode=R,Sl&&console.error("Hydration completed but contains mismatches.")},f=(R,g,b,L,T,M=!1)=>{const w=J1(R)&&R.data==="[",k=()=>m(R,g,b,L,T,w),{type:_,ref:P,shapeFlag:E,patchFlag:I}=g;let F=R.nodeType;g.el=R,I===-2&&(M=!1,g.dynamicChildren=null);let N=null;switch(_){case wu:F!==3?g.children===""?(c(g.el=o(""),a(R),R),N=R):N=k():(R.data!==g.children&&(Sl=!0,R.data=g.children),N=i(R));break;case vo:y(R)?(N=i(R),x(g.el=R.content.firstChild,R,b)):F!==8||w?N=k():N=i(R);break;case fu:if(w&&(R=i(R),F=R.nodeType),F===1||F===3){N=R;const V=!g.children.length;for(let Z=0;Z{M=M||!!g.dynamicChildren;const{type:w,props:k,patchFlag:_,shapeFlag:P,dirs:E,transition:I}=g,F=w==="input"||w==="option";if(F||_!==-1){E&&za(g,null,b,"created");let N=!1;if(y(R)){N=M7(L,I)&&b&&b.vnode.props&&b.vnode.props.appear;const Z=R.content.firstChild;N&&I.beforeEnter(Z),x(Z,R,b),g.el=R=Z}if(P&16&&!(k&&(k.innerHTML||k.textContent))){let Z=h(R.firstChild,g,R,b,L,T,M);for(;Z;){Sl=!0;const J=Z;Z=Z.nextSibling,s(J)}}else P&8&&R.textContent!==g.children&&(Sl=!0,R.textContent=g.children);if(k)if(F||!M||_&48)for(const Z in k)(F&&(Z.endsWith("value")||Z==="indeterminate")||hp(Z)&&!oh(Z)||Z[0]===".")&&r(R,Z,null,k[Z],void 0,void 0,b);else k.onClick&&r(R,"onClick",null,k.onClick,void 0,void 0,b);let V;(V=k&&k.onVnodeBeforeMount)&&Ho(V,b,g),E&&za(g,null,b,"beforeMount"),((V=k&&k.onVnodeMounted)||E||N)&&Jk(()=>{V&&Ho(V,b,g),N&&I.enter(R),E&&za(g,null,b,"mounted")},L)}return R.nextSibling},h=(R,g,b,L,T,M,w)=>{w=w||!!g.dynamicChildren;const k=g.children,_=k.length;for(let P=0;P<_;P++){const E=w?k[P]:k[P]=Si(k[P]);if(R)R=f(R,E,L,T,M,w);else{if(E.type===wu&&!E.children)continue;Sl=!0,n(null,E,b,null,L,T,G1(b),M)}}return R},p=(R,g,b,L,T,M)=>{const{slotScopeIds:w}=g;w&&(T=T?T.concat(w):w);const k=a(R),_=h(i(R),g,k,b,L,T,M);return _&&J1(_)&&_.data==="]"?i(g.anchor=_):(Sl=!0,c(g.anchor=l("]"),k,_),_)},m=(R,g,b,L,T,M)=>{if(Sl=!0,g.el=null,M){const _=A(R);for(;;){const P=i(R);if(P&&P!==_)s(P);else break}}const w=i(R),k=a(R);return s(R),n(null,g,k,w,b,L,G1(k),T),w},A=(R,g="[",b="]")=>{let L=0;for(;R;)if(R=i(R),R&&J1(R)&&(R.data===g&&L++,R.data===b)){if(L===0)return i(R);L--}return R},x=(R,g,b)=>{const L=g.parentNode;L&&L.replaceChild(R,g);let T=b;for(;T;)T.vnode.el===g&&(T.vnode.el=T.subTree.el=R),T=T.parent},y=R=>R.nodeType===1&&R.tagName.toLowerCase()==="template";return[u,f]}const $r=Jk;function b7(e){return S7(e)}function x7(e){return S7(e,LD)}function S7(e,t){const n=Rk();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Fo,insertStaticContent:p}=e,m=($,ue,X,ne=null,le=null,j=null,ee=void 0,ae=null,ge=!!ue.dynamicChildren)=>{if($===ue)return;$&&!La($,ue)&&(ne=z($),Q($,le,j,!0),$=null),ue.patchFlag===-2&&(ge=!1,ue.dynamicChildren=null);const{type:ce,ref:ve,shapeFlag:ye}=ue;switch(ce){case wu:A($,ue,X,ne);break;case vo:x($,ue,X,ne);break;case fu:$==null&&y(ue,X,ne,ee);break;case Xe:P($,ue,X,ne,le,j,ee,ae,ge);break;default:ye&1?b($,ue,X,ne,le,j,ee,ae,ge):ye&6?E($,ue,X,ne,le,j,ee,ae,ge):(ye&64||ye&128)&&ce.process($,ue,X,ne,le,j,ee,ae,ge,pe)}ve!=null&&le&&Av(ve,$&&$.ref,j,ue||$,!ue)},A=($,ue,X,ne)=>{if($==null)r(ue.el=s(ue.children),X,ne);else{const le=ue.el=$.el;ue.children!==$.children&&l(le,ue.children)}},x=($,ue,X,ne)=>{$==null?r(ue.el=c(ue.children||""),X,ne):ue.el=$.el},y=($,ue,X,ne)=>{[$.el,$.anchor]=p($.children,ue,X,ne,$.el,$.anchor)},R=({el:$,anchor:ue},X,ne)=>{let le;for(;$&&$!==ue;)le=d($),r($,X,ne),$=le;r(ue,X,ne)},g=({el:$,anchor:ue})=>{let X;for(;$&&$!==ue;)X=d($),o($),$=X;o(ue)},b=($,ue,X,ne,le,j,ee,ae,ge)=>{ue.type==="svg"?ee="svg":ue.type==="math"&&(ee="mathml"),$==null?L(ue,X,ne,le,j,ee,ae,ge):w($,ue,le,j,ee,ae,ge)},L=($,ue,X,ne,le,j,ee,ae)=>{let ge,ce;const{props:ve,shapeFlag:ye,transition:_e,dirs:Se}=$;if(ge=$.el=a($.type,j,ve&&ve.is,ve),ye&8?u(ge,$.children):ye&16&&M($.children,ge,null,ne,le,HA($,j),ee,ae),Se&&za($,null,ne,"created"),T(ge,$,$.scopeId,ee,ne),ve){for(const ut in ve)ut!=="value"&&!oh(ut)&&i(ge,ut,null,ve[ut],j,$.children,ne,le,te);"value"in ve&&i(ge,"value",null,ve.value,j),(ce=ve.onVnodeBeforeMount)&&Ho(ce,ne,$)}Se&&za($,null,ne,"beforeMount");const be=M7(le,_e);be&&_e.beforeEnter(ge),r(ge,ue,X),((ce=ve&&ve.onVnodeMounted)||be||Se)&&$r(()=>{ce&&Ho(ce,ne,$),be&&_e.enter(ge),Se&&za($,null,ne,"mounted")},le)},T=($,ue,X,ne,le)=>{if(X&&h($,X),ne)for(let j=0;j{for(let ce=ge;ce<$.length;ce++){const ve=$[ce]=ae?Ul($[ce]):Si($[ce]);m(null,ve,ue,X,ne,le,j,ee,ae)}},w=($,ue,X,ne,le,j,ee)=>{const ae=ue.el=$.el;let{patchFlag:ge,dynamicChildren:ce,dirs:ve}=ue;ge|=$.patchFlag&16;const ye=$.props||Yn,_e=ue.props||Yn;let Se;if(X&&Wc(X,!1),(Se=_e.onVnodeBeforeUpdate)&&Ho(Se,X,ue,$),ve&&za(ue,$,X,"beforeUpdate"),X&&Wc(X,!0),ce?k($.dynamicChildren,ce,ae,X,ne,HA(ue,le),j):ee||Z($,ue,ae,null,X,ne,HA(ue,le),j,!1),ge>0){if(ge&16)_(ae,ue,ye,_e,X,ne,le);else if(ge&2&&ye.class!==_e.class&&i(ae,"class",null,_e.class,le),ge&4&&i(ae,"style",ye.style,_e.style,le),ge&8){const be=ue.dynamicProps;for(let ut=0;ut{Se&&Ho(Se,X,ue,$),ve&&za(ue,$,X,"updated")},ne)},k=($,ue,X,ne,le,j,ee)=>{for(let ae=0;ae{if(X!==ne){if(X!==Yn)for(const ae in X)!oh(ae)&&!(ae in ne)&&i($,ae,X[ae],null,ee,ue.children,le,j,te);for(const ae in ne){if(oh(ae))continue;const ge=ne[ae],ce=X[ae];ge!==ce&&ae!=="value"&&i($,ae,ce,ge,ee,ue.children,le,j,te)}"value"in ne&&i($,"value",X.value,ne.value,ee)}},P=($,ue,X,ne,le,j,ee,ae,ge)=>{const ce=ue.el=$?$.el:s(""),ve=ue.anchor=$?$.anchor:s("");let{patchFlag:ye,dynamicChildren:_e,slotScopeIds:Se}=ue;Se&&(ae=ae?ae.concat(Se):Se),$==null?(r(ce,X,ne),r(ve,X,ne),M(ue.children,X,ve,le,j,ee,ae,ge)):ye>0&&ye&64&&_e&&$.dynamicChildren?(k($.dynamicChildren,_e,X,le,j,ee,ae),(ue.key!=null||le&&ue===le.subTree)&&tx($,ue,!0)):Z($,ue,X,ve,le,j,ee,ae,ge)},E=($,ue,X,ne,le,j,ee,ae,ge)=>{ue.slotScopeIds=ae,$==null?ue.shapeFlag&512?le.ctx.activate(ue,X,ne,ee,ge):I(ue,X,ne,le,j,ee,ge):F($,ue,ge)},I=($,ue,X,ne,le,j,ee)=>{const ae=$.component=C7($,ne,le);if(Ap($)&&(ae.ctx.renderer=pe),F7(ae),ae.asyncDep){if(le&&le.registerDep(ae,N),!$.el){const ge=ae.subTree=O(vo);x(null,ge,ue,X)}}else N(ae,$,ue,X,le,j,ee)},F=($,ue,X)=>{const ne=ue.component=$.component;if(FB($,ue,X))if(ne.asyncDep&&!ne.asyncResolved){V(ne,ue,X);return}else ne.next=ue,OB(ne.update),ne.effect.dirty=!0,ne.update();else ue.el=$.el,ne.vnode=ue},N=($,ue,X,ne,le,j,ee)=>{const ae=()=>{if($.isMounted){let{next:ve,bu:ye,u:_e,parent:Se,vnode:be}=$;{const Fe=w7($);if(Fe){ve&&(ve.el=be.el,V($,ve,ee)),Fe.asyncDep.then(()=>{$.isUnmounted||ae()});return}}let ut=ve,tt;Wc($,!1),ve?(ve.el=be.el,V($,ve,ee)):ve=be,ye&&rd(ye),(tt=ve.props&&ve.props.onVnodeBeforeUpdate)&&Ho(tt,Se,ve,be),Wc($,!0);const Oe=Cm($),Ne=$.subTree;$.subTree=Oe,m(Ne,Oe,f(Ne.el),z(Ne),$,le,j),ve.el=Oe.el,ut===null&&Kb($,Oe.el),_e&&$r(_e,le),(tt=ve.props&&ve.props.onVnodeUpdated)&&$r(()=>Ho(tt,Se,ve,be),le)}else{let ve;const{el:ye,props:_e}=ue,{bm:Se,m:be,parent:ut}=$,tt=uu(ue);if(Wc($,!1),Se&&rd(Se),!tt&&(ve=_e&&_e.onVnodeBeforeMount)&&Ho(ve,ut,ue),Wc($,!0),ye&&me){const Oe=()=>{$.subTree=Cm($),me(ye,$.subTree,$,le,null)};tt?ue.type.__asyncLoader().then(()=>!$.isUnmounted&&Oe()):Oe()}else{const Oe=$.subTree=Cm($);m(null,Oe,X,ne,$,le,j),ue.el=Oe.el}if(be&&$r(be,le),!tt&&(ve=_e&&_e.onVnodeMounted)){const Oe=ue;$r(()=>Ho(ve,ut,Oe),le)}(ue.shapeFlag&256||ut&&uu(ut.vnode)&&ut.vnode.shapeFlag&256)&&$.a&&$r($.a,le),$.isMounted=!0,ue=X=ne=null}},ge=$.effect=new vd(ae,Fo,()=>Mg(ce),$.scope),ce=$.update=()=>{ge.dirty&&ge.run()};ce.id=$.uid,Wc($,!0),ce()},V=($,ue,X)=>{ue.component=$;const ne=$.vnode.props;$.vnode=ue,$.next=null,yD($,ue.props,ne,X),SD($,ue.children,X),Yu(),TS($),Qu()},Z=($,ue,X,ne,le,j,ee,ae,ge=!1)=>{const ce=$&&$.children,ve=$?$.shapeFlag:0,ye=ue.children,{patchFlag:_e,shapeFlag:Se}=ue;if(_e>0){if(_e&128){se(ce,ye,X,ne,le,j,ee,ae,ge);return}else if(_e&256){J(ce,ye,X,ne,le,j,ee,ae,ge);return}}Se&8?(ve&16&&te(ce,le,j),ye!==ce&&u(X,ye)):ve&16?Se&16?se(ce,ye,X,ne,le,j,ee,ae,ge):te(ce,le,j,!0):(ve&8&&u(X,""),Se&16&&M(ye,X,ne,le,j,ee,ae,ge))},J=($,ue,X,ne,le,j,ee,ae,ge)=>{$=$||td,ue=ue||td;const ce=$.length,ve=ue.length,ye=Math.min(ce,ve);let _e;for(_e=0;_eve?te($,le,j,!0,!1,ye):M(ue,X,ne,le,j,ee,ae,ge,ye)},se=($,ue,X,ne,le,j,ee,ae,ge)=>{let ce=0;const ve=ue.length;let ye=$.length-1,_e=ve-1;for(;ce<=ye&&ce<=_e;){const Se=$[ce],be=ue[ce]=ge?Ul(ue[ce]):Si(ue[ce]);if(La(Se,be))m(Se,be,X,null,le,j,ee,ae,ge);else break;ce++}for(;ce<=ye&&ce<=_e;){const Se=$[ye],be=ue[_e]=ge?Ul(ue[_e]):Si(ue[_e]);if(La(Se,be))m(Se,be,X,null,le,j,ee,ae,ge);else break;ye--,_e--}if(ce>ye){if(ce<=_e){const Se=_e+1,be=Se_e)for(;ce<=ye;)Q($[ce],le,j,!0),ce++;else{const Se=ce,be=ce,ut=new Map;for(ce=be;ce<=_e;ce++){const Qe=ue[ce]=ge?Ul(ue[ce]):Si(ue[ce]);Qe.key!=null&&ut.set(Qe.key,ce)}let tt,Oe=0;const Ne=_e-be+1;let Fe=!1,Be=0;const qe=new Array(Ne);for(ce=0;ce=Ne){Q(Qe,le,j,!0);continue}let et;if(Qe.key!=null)et=ut.get(Qe.key);else for(tt=be;tt<=_e;tt++)if(qe[tt-be]===0&&La(Qe,ue[tt])){et=tt;break}et===void 0?Q(Qe,le,j,!0):(qe[et-be]=ce+1,et>=Be?Be=et:Fe=!0,m(Qe,ue[et],X,null,le,j,ee,ae,ge),Oe++)}const ke=Fe?OD(qe):td;for(tt=ke.length-1,ce=Ne-1;ce>=0;ce--){const Qe=be+ce,et=ue[Qe],bt=Qe+1{const{el:j,type:ee,transition:ae,children:ge,shapeFlag:ce}=$;if(ce&6){D($.component.subTree,ue,X,ne);return}if(ce&128){$.suspense.move(ue,X,ne);return}if(ce&64){ee.move($,ue,X,pe);return}if(ee===Xe){r(j,ue,X);for(let ye=0;yeae.enter(j),le);else{const{leave:ye,delayLeave:_e,afterLeave:Se}=ae,be=()=>r(j,ue,X),ut=()=>{ye(j,()=>{be(),Se&&Se()})};_e?_e(j,be,ut):ut()}else r(j,ue,X)},Q=($,ue,X,ne=!1,le=!1)=>{const{type:j,props:ee,ref:ae,children:ge,dynamicChildren:ce,shapeFlag:ve,patchFlag:ye,dirs:_e}=$;if(ae!=null&&Av(ae,null,X,$,!0),ve&256){ue.ctx.deactivate($);return}const Se=ve&1&&_e,be=!uu($);let ut;if(be&&(ut=ee&&ee.onVnodeBeforeUnmount)&&Ho(ut,ue,$),ve&6)U($.component,X,ne);else{if(ve&128){$.suspense.unmount(X,ne);return}Se&&za($,null,ue,"beforeUnmount"),ve&64?$.type.remove($,ue,X,le,pe,ne):ce&&(j!==Xe||ye>0&&ye&64)?te(ce,ue,X,!1,!0):(j===Xe&&ye&384||!le&&ve&16)&&te(ge,ue,X),ne&&B($)}(be&&(ut=ee&&ee.onVnodeUnmounted)||Se)&&$r(()=>{ut&&Ho(ut,ue,$),Se&&za($,null,ue,"unmounted")},X)},B=$=>{const{type:ue,el:X,anchor:ne,transition:le}=$;if(ue===Xe){H(X,ne);return}if(ue===fu){g($);return}const j=()=>{o(X),le&&!le.persisted&&le.afterLeave&&le.afterLeave()};if($.shapeFlag&1&&le&&!le.persisted){const{leave:ee,delayLeave:ae}=le,ge=()=>ee(X,j);ae?ae($.el,j,ge):ge()}else j()},H=($,ue)=>{let X;for(;$!==ue;)X=d($),o($),$=X;o(ue)},U=($,ue,X)=>{const{bum:ne,scope:le,update:j,subTree:ee,um:ae}=$;ne&&rd(ne),le.stop(),j&&(j.active=!1,Q(ee,$,ue,X)),ae&&$r(ae,ue),$r(()=>{$.isUnmounted=!0},ue),ue&&ue.pendingBranch&&!ue.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===ue.pendingId&&(ue.deps--,ue.deps===0&&ue.resolve())},te=($,ue,X,ne=!1,le=!1,j=0)=>{for(let ee=j;ee<$.length;ee++)Q($[ee],ue,X,ne,le)},z=$=>$.shapeFlag&6?z($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),oe=($,ue,X)=>{$==null?ue._vnode&&Q(ue._vnode,null,null,!0):m(ue._vnode||null,$,ue,null,null,null,X),TS(),vv(),ue._vnode=$},pe={p:m,um:Q,m:D,r:B,mt:I,mc:M,pc:Z,pbc:k,n:z,o:e};let Ae,me;return t&&([Ae,me]=t(pe)),{render:oe,hydrate:Ae,createApp:AD(oe,Ae)}}function HA({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Wc({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function M7(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function tx(e,t,n=!1){const r=e.children,o=t.children;if(wt(r)&&wt(o))for(let i=0;i>1,e[n[s]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function w7(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:w7(t)}const TD=e=>e.__isTeleport,sh=e=>e&&(e.disabled||e.disabled===""),YS=e=>typeof SVGElement<"u"&&e instanceof SVGElement,QS=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,k4=(e,t)=>{const n=e&&e.to;return ar(n)?t?t(n):null:n},kD={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,s,c,l){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:A}}=l,x=sh(t.props);let{shapeFlag:y,children:R,dynamicChildren:g}=t;if(e==null){const b=t.el=m(""),L=t.anchor=m("");h(b,n,r),h(L,n,r);const T=t.target=k4(t.props,p),M=t.targetAnchor=m("");T&&(h(M,T),a==="svg"||YS(T)?a="svg":(a==="mathml"||QS(T))&&(a="mathml"));const w=(k,_)=>{y&16&&u(R,k,_,o,i,a,s,c)};x?w(n,L):T&&w(T,M)}else{t.el=e.el;const b=t.anchor=e.anchor,L=t.target=e.target,T=t.targetAnchor=e.targetAnchor,M=sh(e.props),w=M?n:L,k=M?b:T;if(a==="svg"||YS(L)?a="svg":(a==="mathml"||QS(L))&&(a="mathml"),g?(d(e.dynamicChildren,g,w,o,i,a,s),tx(e,t,!0)):c||f(e,t,w,k,o,i,a,s,!1),x)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):z1(t,n,b,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const _=t.target=k4(t.props,p);_&&z1(t,_,null,l,0)}else M&&z1(t,L,T,l,1)}L7(t)},remove(e,t,n,r,{um:o,o:{remove:i}},a){const{shapeFlag:s,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&i(u),a&&i(l),s&16){const h=a||!sh(d);for(let p=0;p0?$o||td:null,O7(),Lu>0&&$o&&$o.push(e),e}function q(e,t,n,r,o,i){return T7(W(e,t,n,r,o,i,!0))}function Te(e,t,n,r,o){return T7(O(e,t,n,r,o,!0))}function pc(e){return e?e.__v_isVNode===!0:!1}function La(e,t){return e.type===t.type&&e.key===t.key}function PD(e){}const Pg="__vInternal",k7=({key:e})=>e??null,Im=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ar(e)||sr(e)||Kt(e)?{i:Yr,r:e,k:t,f:!!n}:e:null);function W(e,t=null,n=null,r=0,o=null,i=e===Xe?0:1,a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&k7(t),ref:t&&Im(t),scopeId:Lg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Yr};return s?(rx(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ar(n)?8:16),Lu>0&&!a&&$o&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&$o.push(c),c}const O=CD;function CD(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Hk)&&(e=vo),pc(e)){const s=ps(e,t,!0);return n&&rx(s,n),Lu>0&&!i&&$o&&(s.shapeFlag&6?$o[$o.indexOf(e)]=s:$o.push(s)),s.patchFlag|=-2,s}if(UD(e)&&(e=e.__vccOpts),t){t=N7(t);let{class:s,style:c}=t;s&&!ar(s)&&(t.class=Ge(s)),Qn(c)&&(Yb(c)&&!wt(c)&&(c=ir({},c)),t.style=we(c))}const a=ar(e)?1:Gk(e)?128:TD(e)?64:Qn(e)?4:Kt(e)?2:0;return W(e,t,n,r,o,a,i,!0)}function N7(e){return e?Yb(e)||Pg in e?ir({},e):e:null}function ps(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=e,s=t?P7(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&k7(s),ref:t&&t.ref?n&&o?wt(o)?o.concat(Im(t)):[o,Im(t)]:Im(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Xe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ps(e.ssContent),ssFallback:e.ssFallback&&ps(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function We(e=" ",t=0){return O(wu,null,e,t)}function ID(e,t){const n=O(fu,null,e);return n.staticCount=t,n}function Ze(e="",t=!1){return t?(Y(),Te(vo,null,e)):O(vo,null,e)}function Si(e){return e==null||typeof e=="boolean"?O(vo):wt(e)?O(Xe,null,e.slice()):typeof e=="object"?Ul(e):O(wu,null,String(e))}function Ul(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ps(e)}function rx(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(wt(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),rx(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Pg in t)?t._ctx=Yr:o===3&&Yr&&(Yr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Kt(t)?(t={default:t,_ctx:Yr},n=32):(t=String(t),r&64?(n=16,t=[We(t)]):n=8);e.children=t,e.shapeFlag|=n}function P7(...e){const t={};for(let n=0;nPr||Yr;let ox,P4;{const e=Rk(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};ox=t("__VUE_INSTANCE_SETTERS__",n=>Pr=n),P4=t("__VUE_SSR_SETTERS__",n=>Rp=n)}const mc=e=>{ox(e),e.scope.on()},ac=()=>{Pr&&Pr.scope.off(),ox(null)};function I7(e){return e.vnode.shapeFlag&4}let Rp=!1;function F7(e,t=!1){t&&P4(t);const{props:n,children:r}=e.vnode,o=I7(e);RD(e,n,o,t),xD(e,r);const i=o?ED(e,t):void 0;return t&&P4(!1),i}function ED(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=vp(new Proxy(e.ctx,w4));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?E7(e):null;mc(e),Yu();const i=tl(r,e,0,[e.props,o]);if(Qu(),ac(),Cb(i)){if(i.then(ac,ac),t)return i.then(a=>{C4(e,a,t)}).catch(a=>{Zu(a,e,0)});e.asyncDep=i}else C4(e,i,t)}else _7(e,t)}function C4(e,t,n){Kt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Qn(t)&&(e.setupState=Bb(t)),_7(e,n)}let Rv,I4;function XD(e){Rv=e,I4=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,$B))}}const WD=()=>!Rv;function _7(e,t,n){const r=e.type;if(!e.render){if(!t&&Rv&&!r.render){const o=r.template||qb(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:c}=r,l=ir(ir({isCustomElement:i,delimiters:s},a),c);r.render=Rv(o,l)}}e.render=r.render||Fo,I4&&I4(e)}{mc(e),Yu();try{dD(e)}finally{Qu(),ac()}}}function VD(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return oi(e,"get","$attrs"),t[n]}}))}function E7(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return VD(e)},slots:e.slots,emit:e.emit,expose:t}}function Cg(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bb(vp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ah)return ah[n](e)},has(t,n){return n in t||n in ah}}))}function F4(e,t=!0){return Kt(e)?e.displayName||e.name:e.name||t&&e.__name}function UD(e){return Kt(e)&&"__vccOpts"in e}const Me=(e,t)=>fB(e,t,Rp);function X7(e,t,n){const r=arguments.length;return r===2?Qn(t)&&!wt(t)?pc(t)?O(e,null,[t]):O(e,t):O(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&pc(n)&&(n=[n]),O(e,t,n))}function YD(){}function QD(e,t,n,r){const o=n[r];if(o&&W7(o,e))return o;const i=t();return i.memo=e.slice(),n[r]=i}function W7(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&$o&&$o.push(e),!0}const V7="3.4.3",ZD=Fo,BD=MB,DD=void 0,KD=Fo,HD={createComponentInstance:C7,setupComponent:F7,renderComponentRoot:Cm,setCurrentRenderingInstance:Yh,isVNode:pc,normalizeVNode:Si},GD=HD,JD=null,zD=null,$D=null,jD="http://www.w3.org/2000/svg",qD="http://www.w3.org/1998/Math/MathML",Yl=typeof document<"u"?document:null,ZS=Yl&&Yl.createElement("template"),eK={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Yl.createElementNS(jD,e):t==="mathml"?Yl.createElementNS(qD,e):Yl.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Yl.createTextNode(e),createComment:e=>Yl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ZS.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const s=ZS.content;if(r==="svg"||r==="mathml"){const c=s.firstChild;for(;c.firstChild;)s.appendChild(c.firstChild);s.removeChild(c)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ml="transition",d0="animation",Ad=Symbol("_vtc"),Ou=(e,{slots:t})=>X7(t7,Y7(e),t);Ou.displayName="Transition";const U7={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},tK=Ou.props=ir({},$b,U7),Vc=(e,t=[])=>{wt(e)?e.forEach(n=>n(...t)):e&&e(...t)},BS=e=>e?wt(e)?e.some(t=>t.length>1):e.length>1:!1;function Y7(e){const t={};for(const P in e)P in U7||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:l=a,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=nK(o),m=p&&p[0],A=p&&p[1],{onBeforeEnter:x,onEnter:y,onEnterCancelled:R,onLeave:g,onLeaveCancelled:b,onBeforeAppear:L=x,onAppear:T=y,onAppearCancelled:M=R}=t,w=(P,E,I)=>{Nl(P,E?u:s),Nl(P,E?l:a),I&&I()},k=(P,E)=>{P._isLeaving=!1,Nl(P,f),Nl(P,h),Nl(P,d),E&&E()},_=P=>(E,I)=>{const F=P?T:y,N=()=>w(E,P,I);Vc(F,[E,N]),DS(()=>{Nl(E,P?c:i),Us(E,P?u:s),BS(F)||KS(E,r,m,N)})};return ir(t,{onBeforeEnter(P){Vc(x,[P]),Us(P,i),Us(P,a)},onBeforeAppear(P){Vc(L,[P]),Us(P,c),Us(P,l)},onEnter:_(!1),onAppear:_(!0),onLeave(P,E){P._isLeaving=!0;const I=()=>k(P,E);Us(P,f),Z7(),Us(P,d),DS(()=>{P._isLeaving&&(Nl(P,f),Us(P,h),BS(g)||KS(P,r,A,I))}),Vc(g,[P,I])},onEnterCancelled(P){w(P,!1),Vc(R,[P])},onAppearCancelled(P){w(P,!0),Vc(M,[P])},onLeaveCancelled(P){k(P),Vc(b,[P])}})}function nK(e){if(e==null)return null;if(Qn(e))return[GA(e.enter),GA(e.leave)];{const t=GA(e);return[t,t]}}function GA(e){return hv(e)}function Us(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ad]||(e[Ad]=new Set)).add(t)}function Nl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ad];n&&(n.delete(t),n.size||(e[Ad]=void 0))}function DS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rK=0;function KS(e,t,n,r){const o=e._endId=++rK,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:c}=Q7(e,t);if(!a)return r();const l=a+"end";let u=0;const f=()=>{e.removeEventListener(l,d),i()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[p]||"").split(", "),o=r(`${Ml}Delay`),i=r(`${Ml}Duration`),a=HS(o,i),s=r(`${d0}Delay`),c=r(`${d0}Duration`),l=HS(s,c);let u=null,f=0,d=0;t===Ml?a>0&&(u=Ml,f=a,d=i.length):t===d0?l>0&&(u=d0,f=l,d=c.length):(f=Math.max(a,l),u=f>0?a>l?Ml:d0:null,d=u?u===Ml?i.length:c.length:0);const h=u===Ml&&/\b(transform|all)(,|$)/.test(r(`${Ml}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function HS(e,t){for(;e.lengthGS(n)+GS(e[r])))}function GS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Z7(){return document.body.offsetHeight}function oK(e,t,n){const r=e[Ad];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ix=Symbol("_vod"),il={beforeMount(e,{value:t},{transition:n}){e[ix]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):h0(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),h0(e,!0),r.enter(e)):r.leave(e,()=>{h0(e,!1)}):h0(e,t))},beforeUnmount(e,{value:t}){h0(e,t)}};function h0(e,t){e.style.display=t?e[ix]:"none"}function iK(){il.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const B7=Symbol("");function aK(e){const t=cl();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>E4(i,o))},r=()=>{const o=e(t.proxy);_4(t.subTree,o),n(o)};jk(r),Ht(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),wn(()=>o.disconnect())})}function _4(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{_4(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)E4(e.el,t);else if(e.type===Xe)e.children.forEach(n=>_4(n,t));else if(e.type===fu){let{el:n,anchor:r}=e;for(;n&&(E4(n,t),n!==r);)n=n.nextSibling}}function E4(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[B7]=r}}function sK(e,t,n){const r=e.style,o=ar(n);if(n&&!o){if(t&&!ar(t))for(const i in t)n[i]==null&&X4(r,i,"");for(const i in n)X4(r,i,n[i])}else{const i=r.display;if(o){if(t!==n){const a=r[B7];a&&(n+=";"+a),r.cssText=n}}else t&&e.removeAttribute("style");ix in e&&(r.display=i)}}const JS=/\s*!important$/;function X4(e,t,n){if(wt(n))n.forEach(r=>X4(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=lK(e,t);JS.test(n)?e.setProperty(Hi(r),n.replace(JS,""),"important"):e[r]=n}}const zS=["Webkit","Moz","ms"],JA={};function lK(e,t){const n=JA[t];if(n)return n;let r=_o(t);if(r!=="filter"&&r in e)return JA[t]=r;r=pp(r);for(let o=0;ozA||(pK.then(()=>zA=0),zA=Date.now());function vK(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ni(gK(r,n.value),t,5,[r])};return n.value=e,n.attached=mK(),n}function gK(e,t){if(wt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const eM=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,AK=(e,t,n,r,o,i,a,s,c)=>{const l=o==="svg";t==="class"?oK(e,r,l):t==="style"?sK(e,n,r):hp(t)?Nb(t)||dK(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):RK(e,t,r,l))?uK(e,t,r,i,a,s,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),cK(e,t,r,l))};function RK(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&eM(t)&&Kt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return eM(t)&&ar(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function D7(e,t){const n=Ie(e);class r extends Ig{constructor(i){super(n,i,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const yK=e=>D7(e,nN),bK=typeof HTMLElement<"u"?HTMLElement:class{};class Ig extends bK{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Wr(()=>{this._connected||(yd(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:i,styles:a}=r;let s;if(i&&!wt(i))for(const c in i){const l=i[c];(l===Number||l&&l.type===Number)&&(c in this._props&&(this._props[c]=hv(this._props[c])),(s||(s=Object.create(null)))[_o(c)]=!0)}this._numberProps=s,o&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=wt(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(_o))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i)}})}_setAttr(t){let n=this.getAttribute(t);const r=_o(t);this._numberProps&&this._numberProps[r]&&(n=hv(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Hi(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Hi(t),n+""):n||this.removeAttribute(Hi(t))))}_update(){yd(this._createVNode(),this.shadowRoot)}_createVNode(){const t=O(this._def,ir({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(i,a)=>{this.dispatchEvent(new CustomEvent(i,{detail:a}))};n.emit=(i,...a)=>{r(i,a),Hi(i)!==i&&r(Hi(i),a)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Ig){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function xK(e="$style"){{const t=cl();if(!t)return Yn;const n=t.type.__cssModules;if(!n)return Yn;const r=n[e];return r||Yn}}const K7=new WeakMap,H7=new WeakMap,yv=Symbol("_moveCb"),tM=Symbol("_enterCb"),G7={name:"TransitionGroup",props:ir({},tK,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cl(),r=zb();let o,i;return Ng(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!TK(o[0].el,n.vnode.el,a))return;o.forEach(wK),o.forEach(LK);const s=o.filter(OK);Z7(),s.forEach(c=>{const l=c.el,u=l.style;Us(l,a),u.transform=u.webkitTransform=u.transitionDuration="";const f=l[yv]=d=>{d&&d.target!==l||(!d||/transform$/.test(d.propertyName))&&(l.removeEventListener("transitionend",f),l[yv]=null,Nl(l,a))};l.addEventListener("transitionend",f)})}),()=>{const a=mn(e),s=Y7(a);let c=a.tag||Xe;o=i,i=t.default?Tg(t.default()):[];for(let l=0;ldelete e.mode;G7.props;const MK=G7;function wK(e){const t=e.el;t[yv]&&t[yv](),t[tM]&&t[tM]()}function LK(e){H7.set(e,e.el.getBoundingClientRect())}function OK(e){const t=K7.get(e),n=H7.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function TK(e,t,n){const r=e.cloneNode(),o=e[Ad];o&&o.forEach(s=>{s.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=Q7(r);return i.removeChild(r),a}const vc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return wt(t)?n=>rd(t,n):t};function kK(e){e.target.composing=!0}function nM(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zi=Symbol("_assign"),Dh={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[zi]=vc(o);const i=r||o.props&&o.props.type==="number";Ks(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=dv(s)),e[zi](s)}),n&&Ks(e,"change",()=>{e.value=e.value.trim()}),t||(Ks(e,"compositionstart",kK),Ks(e,"compositionend",nM),Ks(e,"change",nM))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},i){if(e[zi]=vc(i),e.composing)return;const a=o||e.type==="number"?dv(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===s)||(e.value=s))}},ax={deep:!0,created(e,t,n){e[zi]=vc(n),Ks(e,"change",()=>{const r=e._modelValue,o=Rd(e),i=e.checked,a=e[zi];if(wt(r)){const s=yg(r,o),c=s!==-1;if(i&&!c)a(r.concat(o));else if(!i&&c){const l=[...r];l.splice(s,1),a(l)}}else if(Uu(r)){const s=new Set(r);i?s.add(o):s.delete(o),a(s)}else a(z7(e,i))})},mounted:rM,beforeUpdate(e,t,n){e[zi]=vc(n),rM(e,t,n)}};function rM(e,{value:t,oldValue:n},r){e._modelValue=t,wt(t)?e.checked=yg(t,r.props.value)>-1:Uu(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=hc(t,z7(e,!0)))}const sx={created(e,{value:t},n){e.checked=hc(t,n.props.value),e[zi]=vc(n),Ks(e,"change",()=>{e[zi](Rd(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[zi]=vc(r),t!==n&&(e.checked=hc(t,r.props.value))}},J7={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Uu(t);Ks(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?dv(Rd(a)):Rd(a));e[zi](e.multiple?o?new Set(i):i:i[0])}),e[zi]=vc(r)},mounted(e,{value:t}){oM(e,t)},beforeUpdate(e,t,n){e[zi]=vc(n)},updated(e,{value:t}){oM(e,t)}};function oM(e,t){const n=e.multiple;if(!(n&&!wt(t)&&!Uu(t))){for(let r=0,o=e.options.length;r-1:i.selected=t.has(a);else if(hc(Rd(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Rd(e){return"_value"in e?e._value:e.value}function z7(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const $7={created(e,t,n){$1(e,t,n,null,"created")},mounted(e,t,n){$1(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){$1(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){$1(e,t,n,r,"updated")}};function j7(e,t){switch(e){case"SELECT":return J7;case"TEXTAREA":return Dh;default:switch(t){case"checkbox":return ax;case"radio":return sx;default:return Dh}}}function $1(e,t,n,r,o){const a=j7(e.tagName,n.props&&n.props.type)[o];a&&a(e,t,n,r)}function NK(){Dh.getSSRProps=({value:e})=>({value:e}),sx.getSSRProps=({value:e},t)=>{if(t.props&&hc(t.props.value,e))return{checked:!0}},ax.getSSRProps=({value:e},t)=>{if(wt(e)){if(t.props&&yg(e,t.props.value)>-1)return{checked:!0}}else if(Uu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},$7.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=j7(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const PK=["ctrl","shift","alt","meta"],CK={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>PK.some(n=>e[`${n}Key`]&&!t.includes(n))},Wt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Hi(o.key);if(t.some(a=>a===i||IK[a]===i))return e(o)})},q7=ir({patchProp:AK},eK);let ch,iM=!1;function eN(){return ch||(ch=b7(q7))}function tN(){return ch=iM?ch:x7(q7),iM=!0,ch}const yd=(...e)=>{eN().render(...e)},nN=(...e)=>{tN().hydrate(...e)},rN=(...e)=>{const t=eN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=iN(r);if(!o)return;const i=t._component;!Kt(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,oN(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t},FK=(...e)=>{const t=tN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=iN(r);if(o)return n(o,!0,oN(o))},t};function oN(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function iN(e){return ar(e)?document.querySelector(e):e}let aM=!1;const _K=()=>{aM||(aM=!0,NK(),iK())},EK=()=>{},XK=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:t7,BaseTransitionPropsValidators:$b,Comment:vo,DeprecationTypes:$D,EffectScope:Fb,ErrorCodes:SB,ErrorTypeStrings:BD,Fragment:Xe,KeepAlive:HB,ReactiveEffect:vd,Static:fu,Suspense:XB,Teleport:nx,Text:wu,TrackOpTypes:yB,Transition:Ou,TransitionGroup:MK,TriggerOpTypes:bB,VueElement:Ig,assertNumber:xB,callWithAsyncErrorHandling:Ni,callWithErrorHandling:tl,camelize:_o,capitalize:pp,cloneVNode:ps,compatUtils:zD,compile:EK,computed:Me,createApp:rN,createBlock:Te,createCommentVNode:Ze,createElementBlock:q,createElementVNode:W,createHydrationRenderer:x7,createPropsRestProxy:uD,createRenderer:b7,createSSRApp:FK,createSlots:JB,createStaticVNode:ID,createTextVNode:We,createVNode:O,customRef:Uk,defineAsyncComponent:DB,defineComponent:Ie,defineCustomElement:D7,defineEmits:qB,defineExpose:eD,defineModel:rD,defineOptions:tD,defineProps:jB,defineSSRCustomElement:yK,defineSlots:nD,devtools:DD,effect:ZZ,effectScope:_b,getCurrentInstance:cl,getCurrentScope:Eb,getTransitionRawChildren:Tg,guardReactiveProps:N7,h:X7,handleError:Zu,hasInjectionContext:m7,hydrate:nN,initCustomFormatter:YD,initDirectivesForSSR:_K,inject:jo,isMemoSame:W7,isProxy:Yb,isReactive:ls,isReadonly:Su,isRef:sr,isRuntimeOnly:WD,isShallow:eu,isVNode:pc,markRaw:vp,mergeDefaults:lD,mergeModels:cD,mergeProps:P7,nextTick:Wr,normalizeClass:Ge,normalizeProps:WZ,normalizeStyle:we,onActivated:r7,onBeforeMount:jb,onBeforeUnmount:Wd,onBeforeUpdate:a7,onDeactivated:o7,onErrorCaptured:u7,onMounted:Ht,onRenderTracked:c7,onRenderTriggered:l7,onScopeDispose:Sk,onServerPrefetch:s7,onUnmounted:wn,onUpdated:Ng,openBlock:Y,popScopeId:en,provide:Bu,proxyRefs:Bb,pushScopeId:qt,queuePostFlushCb:mv,reactive:mp,readonly:Ub,ref:he,registerRuntimeCompiler:XD,render:yd,renderList:ot,renderSlot:lr,resolveComponent:xe,resolveDirective:Sn,resolveDynamicComponent:bs,resolveFilter:JD,resolveTransitionHooks:gd,setBlockTracking:N4,setDevtoolsHook:KD,setTransitionHooks:Mu,shallowReactive:Xk,shallowReadonly:uB,shallowRef:dB,ssrContextKey:zk,ssrUtils:GD,stop:BZ,toDisplayString:gt,toHandlerKey:ih,toHandlers:zB,toRaw:mn,toRef:Xd,toRefs:Yk,toValue:mB,transformVNodeArgs:PD,triggerRef:pB,unref:G,useAttrs:aD,useCssModule:xK,useCssVars:aK,useModel:sD,useSSRContext:$k,useSlots:iD,useTransitionState:zb,vModelCheckbox:ax,vModelDynamic:$7,vModelRadio:sx,vModelSelect:J7,vModelText:Dh,vShow:il,version:V7,warn:ZD,watch:Tt,watchEffect:Og,watchPostEffect:jk,watchSyncEffect:qk,withAsyncContext:fD,withCtx:ie,withDefaults:oD,withDirectives:Ke,withKeys:gc,withMemo:QD,withModifiers:Wt,withScopeId:NB},Symbol.toStringTag,{value:"Module"}));var WK=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let iN;const Ig=e=>iN=e,aN=Symbol();function X4(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ch;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ch||(ch={}));function XK(){const e=Ix(!0),t=e.run(()=>he({}));let n=[],r=[];const o=mp({install(i){Ig(o),o._a=i,i.provide(aN,o),i.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(i){return!this._a&&!EK?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const sN=()=>{};function iM(e,t,n,r=sN){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Fx()&&bk(o),o}function Rf(e,...t){e.slice().forEach(n=>{n(...t)})}const WK=e=>e();function W4(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];X4(o)&&X4(r)&&e.hasOwnProperty(n)&&!sr(r)&&!ss(r)?e[n]=W4(o,r):e[n]=r}return e}const VK=Symbol();function UK(e){return!X4(e)||!e.hasOwnProperty(VK)}const{assign:Pl}=Object;function YK(e){return!!(sr(e)&&e.effect)}function QK(e,t,n,r){const{state:o,actions:i,getters:a}=t,s=n.state.value[e];let c;function l(){s||(n.state.value[e]=o?o():{});const u=Uk(n.state.value[e]);return Pl(u,i,Object.keys(a||{}).reduce((f,d)=>(f[d]=mp(Me(()=>{Ig(n);const h=n._s.get(e);return a[d].call(h,h)})),f),{}))}return c=lN(e,l,t,n,r,!0),c}function lN(e,t,n={},r,o,i){let a;const s=Pl({actions:{}},n),c={deep:!0};let l,u,f=[],d=[],h;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={}),he({});let m;function A(M){let O;l=u=!1,typeof M=="function"?(M(r.state.value[e]),O={type:ch.patchFunction,storeId:e,events:h}):(W4(r.state.value[e],M),O={type:ch.patchObject,payload:M,storeId:e,events:h});const k=m=Symbol();Wr().then(()=>{m===k&&(l=!0)}),u=!0,Rf(f,O,r.state.value[e])}const x=i?function(){const{state:O}=n,k=O?O():{};this.$patch(F=>{Pl(F,k)})}:sN;function y(){a.stop(),f=[],d=[],r._s.delete(e)}function R(M,O){return function(){Ig(r);const k=Array.from(arguments),F=[],N=[];function E(I){F.push(I)}function C(I){N.push(I)}Rf(d,{args:k,name:M,store:b,after:E,onError:C});let _;try{_=O.apply(this&&this.$id===e?this:b,k)}catch(I){throw Rf(N,I),I}return _ instanceof Promise?_.then(I=>(Rf(F,I),I)).catch(I=>(Rf(N,I),Promise.reject(I))):(Rf(F,_),_)}}const g={_p:r,$id:e,$onAction:iM.bind(null,d),$patch:A,$reset:x,$subscribe(M,O={}){const k=iM(f,M,O.detached,()=>F()),F=a.run(()=>Tt(()=>r.state.value[e],N=>{(O.flush==="sync"?u:l)&&M({storeId:e,type:ch.direct,events:h},N)},Pl({},c,O)));return k},$dispose:y},b=pp(g);r._s.set(e,b);const T=(r._a&&r._a.runWithContext||WK)(()=>r._e.run(()=>(a=Ix()).run(t)));for(const M in T){const O=T[M];if(sr(O)&&!YK(O)||ss(O))i||(p&&UK(O)&&(sr(O)?O.value=p[M]:W4(O,p[M])),r.state.value[e][M]=O);else if(typeof O=="function"){const k=R(M,O);T[M]=k,s.actions[M]=O}}return Pl(b,T),Pl(mn(b),T),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:M=>{A(O=>{Pl(O,M)})}}),r._p.forEach(M=>{Pl(b,a.run(()=>M({store:b,app:r._a,pinia:r,options:s})))}),p&&i&&n.hydrate&&n.hydrate(b.$state,p),l=!0,u=!0,b}function Rp(e,t,n){let r,o;const i=typeof t=="function";typeof e=="string"?(r=e,o=i?n:t):(o=e,r=e.id);function a(s,c){const l=p7();return s=s||(l?jo(aN,null):null),s&&Ig(s),s=iN,s._s.has(r)||(i?lN(r,t,o,s):QK(r,o,s)),s._s.get(r)}return a.$id=r,a}function Ee(e){{e=mn(e);const t={};for(const n in e){const r=e[n];(sr(r)||ss(r))&&(t[n]=Xd(e,n))}return t}}let ZK=e=>crypto.getRandomValues(new Uint8Array(e)),BK=(e,t,n)=>{let r=(2<{let a="";for(;;){let s=n(o),c=o;for(;c--;)if(a+=e[s[c]&r]||"",a.length===i)return a}}},DK=(e,t=21)=>BK(e,t,ZK),pn=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");var Sr=(e=>(e.SYMBOL="symbol",e.EL_ANIMATION="elAnimation",e.EL_STYLE="elStyle",e.EL_POSITION="elPosition",e.SLIDE_DESIGN="slideDesign",e.SLIDE_ANIMATION="slideAnimation",e.MULTI_POSITION="multiPosition",e))(Sr||{});function zr(e){this.content=e}zr.prototype={constructor:zr,find:function(e){for(var t=0;t>1}};zr.from=function(e){if(e instanceof zr)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new zr(t)};function cN(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(r),i=t.child(r);if(o==i){n+=o.nodeSize;continue}if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(let a=0;o.text[a]==i.text[a];a++)n++;return n}if(o.content.size||i.content.size){let a=cN(o.content,i.content,n+1);if(a!=null)return a}n+=o.nodeSize}}function uN(e,t,n,r){for(let o=e.childCount,i=t.childCount;;){if(o==0||i==0)return o==i?null:{a:n,b:r};let a=e.child(--o),s=t.child(--i),c=a.nodeSize;if(a==s){n-=c,r-=c;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let l=0,u=Math.min(a.text.length,s.text.length);for(;lt&&r(c,o+s,i||null,a)!==!1&&c.content.size){let u=s+1;c.nodesBetween(Math.max(0,t-u),Math.min(c.content.size,n-u),r,o+u)}s=l}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,o){let i="",a=!0;return this.nodesBetween(t,n,(s,c)=>{let l=s.isText?s.text.slice(Math.max(t,c)-c,n-c):s.isLeaf?o?typeof o=="function"?o(s):o:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&l||s.isTextblock)&&r&&(a?a=!1:i+=r),i+=l},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,o=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(o[o.length-1]=n.withText(n.text+r.text),i=1);it)for(let i=0,a=0;at&&((an)&&(s.isText?s=s.cut(Math.max(0,t-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,t-a-1),Math.min(s.content.size,n-a-1))),r.push(s),o+=s.nodeSize),a=c}return new st(r,o)}cutByIndex(t,n){return t==n?st.empty:t==0&&n==this.content.length?this:new st(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let o=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return o[t]=n,new st(o,i)}addToStart(t){return new st([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new st(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;nthis.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let r=0,o=0;;r++){let i=this.child(r),a=o+i.nodeSize;if(a>=t)return a==t||n>0?$1(r+1,a):$1(r,o);o=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return st.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new st(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return st.empty;let n,r=0;for(let o=0;othis.type.rank&&(n||(n=t.slice(0,o)),n.push(this),r=!0),n&&n.push(i)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;nr.type.rank-o.type.rank),n}}In.none=[];class xv extends Error{}class Rt{constructor(t,n,r){this.content=t,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=dN(this.content,t+this.openStart,n);return r&&new Rt(r,this.openStart,this.openEnd)}removeBetween(t,n){return new Rt(fN(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return Rt.empty;let r=n.openStart||0,o=n.openEnd||0;if(typeof r!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Rt(st.fromJSON(t,n.content),r,o)}static maxOpen(t,n=!0){let r=0,o=0;for(let i=t.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=t.lastChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.lastChild)o++;return new Rt(t,r,o)}}Rt.empty=new Rt(st.empty,0,0);function fN(e,t,n){let{index:r,offset:o}=e.findIndex(t),i=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(o==t||i.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,i.copy(fN(i.content,t-o-1,n-o-1)))}function dN(e,t,n,r){let{index:o,offset:i}=e.findIndex(t),a=e.maybeChild(o);if(i==t||a.isText)return r&&!r.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=dN(a.content,t-i-1,n);return s&&e.replaceChild(o,a.copy(s))}function KK(e,t,n){if(n.openStart>e.depth)throw new xv("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new xv("Inconsistent open depths");return hN(e,t,n,0)}function hN(e,t,n,r){let o=e.index(r),i=e.node(r);if(o==t.index(r)&&r=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function uh(e,t,n,r){let o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(du(e.nodeAfter,r),i++));for(let s=i;so&&V4(e,t,o+1),a=r.depth>o&&V4(n,r,o+1),s=[];return uh(null,e,o,s),i&&a&&t.index(o)==n.index(o)?(pN(i,a),du(hu(i,mN(e,t,n,r,o+1)),s)):(i&&du(hu(i,bv(e,t,o+1)),s),uh(t,n,o,s),a&&du(hu(a,bv(n,r,o+1)),s)),uh(r,null,o,s),new st(s)}function bv(e,t,n){let r=[];if(uh(null,e,n,r),e.depth>n){let o=V4(e,t,n+1);du(hu(o,bv(e,t,n+1)),r)}return uh(t,null,n,r),new st(r)}function HK(e,t){let n=t.depth-e.openStart,o=t.node(n).copy(e.content);for(let i=n-1;i>=0;i--)o=t.node(i).copy(st.from(o));return{start:o.resolveNoCache(e.openStart+n),end:o.resolveNoCache(o.content.size-e.openEnd-n)}}class Dh{constructor(t,n,r){this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let r=this.pos-this.path[this.path.length-1],o=t.child(n);return r?t.child(n).cut(r):o}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let r=this.path[n*3],o=n==0?0:this.path[n*3-1]+1;for(let i=0;i0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos=0;r--)if(t.pos<=this.end(r)&&(!n||n(this.node(r))))return new Sv(this,t,r);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],o=0,i=n;for(let a=t;;){let{index:s,offset:c}=a.content.findIndex(i),l=i-c;if(r.push(a,s,o+c),!l||(a=a.child(s),a.isText))break;i=l-1,o+=c+1}return new Dh(n,r,i)}static resolveCached(t,n){for(let o=0;o<$A.length;o++){let i=$A[o];if(i.pos==n&&i.doc==t)return i}let r=$A[jA]=Dh.resolve(t,n);return jA=(jA+1)%GK,r}}let $A=[],jA=0,GK=12;class Sv{constructor(t,n,r){this.$from=t,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const JK=Object.create(null);class ls{constructor(t,n,r,o=In.none){this.type=t,this.attrs=n,this.marks=o,this.content=r||st.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,n,r,o=0){this.content.nodesBetween(t,n,r,o,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,n,r,o){return this.content.textBetween(t,n,r,o)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,n,r){return this.type==t&&yv(this.attrs,n||t.defaultAttrs||JK)&&In.sameSet(this.marks,r||In.none)}copy(t=null){return t==this.content?this:new ls(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new ls(this.type,this.attrs,this.content,t)}cut(t,n=this.content.size){return t==0&&n==this.content.size?this:this.copy(this.content.cut(t,n))}slice(t,n=this.content.size,r=!1){if(t==n)return Rt.empty;let o=this.resolve(t),i=this.resolve(n),a=r?0:o.sharedDepth(n),s=o.start(a),l=o.node(a).content.cut(o.pos-s,i.pos-s);return new Rt(l,o.depth-a,i.depth-a)}replace(t,n,r){return KK(this.resolve(t),this.resolve(n),r)}nodeAt(t){for(let n=this;;){let{index:r,offset:o}=n.content.findIndex(t);if(n=n.maybeChild(r),!n)return null;if(o==t||n.isText)return n;t-=o+1}}childAfter(t){let{index:n,offset:r}=this.content.findIndex(t);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(t);if(rt&&this.nodesBetween(t,n,i=>(r.isInSet(i.marks)&&(o=!0),!o)),o}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),vN(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,r=st.empty,o=0,i=r.childCount){let a=this.contentMatchAt(t).matchFragment(r,o,i),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let c=o;cn.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r=null;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,r)}let o=st.fromJSON(t,n.content);return t.nodeType(n.type).create(n.attrs,o,r)}}ls.prototype.text=void 0;class Mv extends ls{constructor(t,n,r,o){if(super(t,n,null,o),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):vN(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new Mv(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new Mv(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function vN(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Tu{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new zK(t,n);if(r.next==null)return Tu.empty;let o=gN(r);r.next&&r.err("Unexpected trailing text");let i=rH(nH(o));return oH(i,r),i}matchType(t){for(let n=0;nl.createAndFill()));for(let l=0;l=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(r){t.push(r);for(let o=0;o{let i=o+(r.validEnd?"*":" ")+" ";for(let a=0;a"+t.indexOf(r.next[a].next);return i}).join(` -`)}}Tu.empty=new Tu(!0);class zK{constructor(t,n){this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function gN(e){let t=[];do t.push($K(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function $K(e){let t=[];do t.push(jK(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function jK(e){let t=tH(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=qK(e,t);else break;return t}function aM(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function qK(e,t){let n=aM(e),r=n;return e.eat(",")&&(e.next!="}"?r=aM(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function eH(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let o=[];for(let i in n){let a=n[i];a.groups.indexOf(t)>-1&&o.push(a)}return o.length==0&&e.err("No node type or group '"+t+"' found"),o}function tH(e){if(e.eat("(")){let t=gN(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=eH(e,e.next).map(n=>(e.inline==null?e.inline=n.isInline:e.inline!=n.isInline&&e.err("Mixing inline and block content"),{type:"name",value:n}));return e.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function nH(e){let t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(a,s,c){let l={term:c,to:s};return t[a].push(l),l}function o(a,s){a.forEach(c=>c.to=s)}function i(a,s){if(a.type=="choice")return a.exprs.reduce((c,l)=>c.concat(i(l,s)),[]);if(a.type=="seq")for(let c=0;;c++){let l=i(a.exprs[c],s);if(c==a.exprs.length-1)return l;o(l,s=n())}else if(a.type=="star"){let c=n();return r(s,c),o(i(a.expr,c),c),[r(c)]}else if(a.type=="plus"){let c=n();return o(i(a.expr,s),c),o(i(a.expr,c),c),[r(c)]}else{if(a.type=="opt")return[r(s)].concat(i(a.expr,s));if(a.type=="range"){let c=s;for(let l=0;l{e[a].forEach(({term:s,to:c})=>{if(!s)return;let l;for(let u=0;u{l||o.push([s,l=[]]),l.indexOf(u)==-1&&l.push(u)})})});let i=t[r.join(",")]=new Tu(r.indexOf(e.length-1)>-1);for(let a=0;a-1}allowsMarks(t){if(this.markSet==null)return!0;for(let n=0;nr[i]=new bN(i,n,a));let o=n.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class iH{constructor(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}get isRequired(){return!this.hasDefault}}class Fg{constructor(t,n,r,o){this.name=t,this.rank=n,this.schema=r,this.spec=o,this.attrs=xN(o.attrs),this.excluded=null;let i=RN(this.attrs);this.instance=i?new In(this,i):null}create(t=null){return!t&&this.instance?this.instance:new In(this,yN(this.attrs,t))}static compile(t,n){let r=Object.create(null),o=0;return t.forEach((i,a)=>r[i]=new Fg(i,o++,n,a)),r}removeFromSet(t){for(var n=0;n-1}}class SN{constructor(t){this.cached=Object.create(null);let n=this.spec={};for(let o in t)n[o]=t[o];n.nodes=zr.from(t.nodes),n.marks=zr.from(t.marks||{}),this.nodes=lM.compile(this.spec.nodes,this),this.marks=Fg.compile(this.spec.marks,this);let r=Object.create(null);for(let o in this.nodes){if(o in this.marks)throw new RangeError(o+" can not be both a node and a mark");let i=this.nodes[o],a=i.spec.content||"",s=i.spec.marks;i.contentMatch=r[a]||(r[a]=Tu.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet=s=="_"?null:s?cM(this,s.split(" ")):s==""||!i.inlineContent?[]:null}for(let o in this.marks){let i=this.marks[o],a=i.spec.excludes;i.excluded=a==null?[i]:a==""?[]:cM(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,n=null,r,o){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof lM){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(n,r,o)}text(t,n){let r=this.nodes.text;return new Mv(r,r.defaultAttrs,t,In.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeFromJSON(t){return ls.fromJSON(this,t)}markFromJSON(t){return In.fromJSON(this,t)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}}function cM(e,t){let n=[];for(let r=0;r-1)&&n.push(a=c)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}class xd{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[],n.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let o=t.nodes[r.node];return o.contentMatch.matchType(o)})}parse(t,n={}){let r=new fM(this,n,!1);return r.addAll(t,n.from,n.to),r.finish()}parseSlice(t,n={}){let r=new fM(this,n,!0);return r.addAll(t,n.from,n.to),Rt.maxOpen(r.finish())}matchTag(t,n,r){for(let o=r?this.tags.indexOf(r)+1:0;ot.length&&(s.charCodeAt(t.length)!=61||s.slice(t.length+1)!=n))){if(a.getAttrs){let c=a.getAttrs(n);if(c===!1)continue;a.attrs=c||void 0}return a}}}static schemaRules(t){let n=[];function r(o){let i=o.priority==null?50:o.priority,a=0;for(;a{r(a=dM(a)),a.mark||a.ignore||a.clearMark||(a.mark=o)})}for(let o in t.nodes){let i=t.nodes[o].spec.parseDOM;i&&i.forEach(a=>{r(a=dM(a)),a.node||a.ignore||a.mark||(a.node=o)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new xd(t,xd.schemaRules(t)))}}const MN={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},aH={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},wN={ol:!0,ul:!0},wv=1,Lv=2,fh=4;function uM(e,t,n){return t!=null?(t?wv:0)|(t==="full"?Lv:0):e&&e.whitespace=="pre"?wv|Lv:n&~fh}class j1{constructor(t,n,r,o,i,a,s){this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=o,this.solid=i,this.options=s,this.content=[],this.activeMarks=In.none,this.stashMarks=[],this.match=a||(s&fh?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(st.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,o;return(o=r.findWrapping(t.type))?(this.match=r,o):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&wv)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-o[0].length))}}let n=st.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(st.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}popFromStashMark(t){for(let n=this.stashMarks.length-1;n>=0;n--)if(t.eq(this.stashMarks[n]))return this.stashMarks.splice(n,1)[0]}applyPending(t){for(let n=0,r=this.pendingMarks;nthis.addAll(t)),a&&this.sync(s),this.needsBlock=c}else this.withStyleRules(t,()=>{this.addElementByRule(t,i,i.consuming===!1?o:void 0)})}leafFallback(t){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(` -`))}ignoreFallback(t){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(t){let n=In.none,r=In.none;for(let o=0;o{a.clearMark(s)&&(r=s.addToSet(r))}):n=this.parser.schema.marks[a.mark].create(a.attrs).addToSet(n),a.consuming===!1)i=a;else break}return[n,r]}addElementByRule(t,n,r){let o,i,a;n.node?(i=this.parser.schema.nodes[n.node],i.isLeaf?this.insertNode(i.create(n.attrs))||this.leafFallback(t):o=this.enter(i,n.attrs||null,n.preserveWhitespace)):(a=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(a));let s=this.top;if(i&&i.isLeaf)this.findInside(t);else if(r)this.addElement(t,r);else if(n.getContent)this.findInside(t),n.getContent(t,this.parser.schema).forEach(c=>this.insertNode(c));else{let c=t;typeof n.contentElement=="string"?c=t.querySelector(n.contentElement):typeof n.contentElement=="function"?c=n.contentElement(t):n.contentElement&&(c=n.contentElement),this.findAround(t,c,!0),this.addAll(c)}o&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(t,n,r){let o=n||0;for(let i=n?t.childNodes[n]:t.firstChild,a=r==null?null:t.childNodes[r];i!=a;i=i.nextSibling,++o)this.findAtPoint(t,o),this.addDOM(i);this.findAtPoint(t,o)}findPlace(t){let n,r;for(let o=this.open;o>=0;o--){let i=this.nodes[o],a=i.findWrapping(t);if(a&&(!n||n.length>a.length)&&(n=a,r=i,!a.length)||i.solid)break}if(!n)return!1;this.sync(r);for(let o=0;othis.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let n=this.open;n>=0;n--)if(this.nodes[n]==t)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let o=r.length-1;o>=0;o--)t+=r[o].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let r=0;r-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let n=t.split("/"),r=this.options.context,o=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(o?0:1),a=(s,c)=>{for(;s>=0;s--){let l=n[s];if(l==""){if(s==n.length-1||s==0)continue;for(;c>=i;c--)if(a(s-1,c))return!0;return!1}else{let u=c>0||c==0&&o?this.nodes[c].type:r&&c>=i?r.node(c-i).type:null;if(!u||u.name!=l&&u.groups.indexOf(l)==-1)return!1;c--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(t){let n=fH(t,this.top.pendingMarks);n&&this.top.stashMarks.push(n),this.top.pendingMarks=t.addToSet(this.top.pendingMarks)}removePendingMark(t,n){for(let r=this.open;r>=0;r--){let o=this.nodes[r];if(o.pendingMarks.lastIndexOf(t)>-1)o.pendingMarks=t.removeFromSet(o.pendingMarks);else{o.activeMarks=t.removeFromSet(o.activeMarks);let a=o.popFromStashMark(t);a&&o.type&&o.type.allowsMarkType(a.type)&&(o.activeMarks=a.addToSet(o.activeMarks))}if(o==n)break}}}function sH(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&wN.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function lH(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function cH(e){let t=/\s*([\w-]+)\s*:\s*([^;]+)/g,n,r=[];for(;n=t.exec(e);)r.push(n[1],n[2].trim());return r}function dM(e){let t={};for(let n in e)t[n]=e[n];return t}function uH(e,t){let n=t.schema.nodes;for(let r in n){let o=n[r];if(!o.allowsMarkType(e))continue;let i=[],a=s=>{i.push(s);for(let c=0;c{if(i.length||a.marks.length){let s=0,c=0;for(;s=0;o--){let i=this.serializeMark(t.marks[o],t.isInline,n);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(t,n,r={}){let o=this.marks[t.type.name];return o&&zs.renderSpec(qA(r),o(t,n))}static renderSpec(t,n,r=null){if(typeof n=="string")return{dom:t.createTextNode(n)};if(n.nodeType!=null)return{dom:n};if(n.dom&&n.dom.nodeType!=null)return n;let o=n[0],i=o.indexOf(" ");i>0&&(r=o.slice(0,i),o=o.slice(i+1));let a,s=r?t.createElementNS(r,o):t.createElement(o),c=n[1],l=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){l=2;for(let u in c)if(c[u]!=null){let f=u.indexOf(" ");f>0?s.setAttributeNS(u.slice(0,f),u.slice(f+1),c[u]):s.setAttribute(u,c[u])}}for(let u=l;ul)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}else{let{dom:d,contentDOM:h}=zs.renderSpec(t,f,r);if(s.appendChild(d),h){if(a)throw new RangeError("Multiple content holes");a=h}}}return{dom:s,contentDOM:a}}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new zs(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=hM(t.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(t){return hM(t.marks)}}function hM(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function qA(e){return e.document||window.document}const LN=65535,ON=Math.pow(2,16);function dH(e,t){return e+t*ON}function pM(e){return e&LN}function hH(e){return(e-(e&LN))/ON}const TN=1,kN=2,Im=4,NN=8;class U4{constructor(t,n,r){this.pos=t,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&NN)>0}get deletedBefore(){return(this.delInfo&(TN|Im))>0}get deletedAfter(){return(this.delInfo&(kN|Im))>0}get deletedAcross(){return(this.delInfo&Im)>0}}class wi{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&wi.empty)return wi.empty}recover(t){let n=0,r=pM(t);if(!this.inverted)for(let o=0;ot)break;let l=this.ranges[s+i],u=this.ranges[s+a],f=c+l;if(t<=f){let d=l?t==c?-1:t==f?1:n:n,h=c+o+(d<0?0:u);if(r)return h;let p=t==(n<0?c:f)?null:dH(s/3,t-c),m=t==c?kN:t==f?TN:Im;return(n<0?t!=c:t!=f)&&(m|=NN),new U4(h,m,p)}o+=u-l}return r?t+o:new U4(t+o,0,null)}touches(t,n){let r=0,o=pM(n),i=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;st)break;let l=this.ranges[s+i],u=c+l;if(t<=u&&s==o*3)return!0;r+=this.ranges[s+a]-l}return!1}forEach(t){let n=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,i=0;o=0;n--){let o=t.getMirror(n);this.appendMap(t.maps[n].invert(),o!=null&&o>n?r-o-1:void 0)}}invert(){let t=new ad;return t.appendMappingInverted(this),t}map(t,n=1){if(this.mirror)return this._map(t,n,!0);for(let r=this.from;ri&&c!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),o),n.openStart,n.openEnd);return Cr.fromReplace(t,this.from,this.to,i)}invert(){return new is(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new jl(n.pos,r.pos,this.mark)}merge(t){return t instanceof jl&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new jl(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new jl(n.from,n.to,t.markFromJSON(n.mark))}}Ao.jsonID("addMark",jl);class is extends Ao{constructor(t,n,r){super(),this.from=t,this.to=n,this.mark=r}apply(t){let n=t.slice(this.from,this.to),r=new Rt(ab(n.content,o=>o.mark(this.mark.removeFromSet(o.marks)),t),n.openStart,n.openEnd);return Cr.fromReplace(t,this.from,this.to,r)}invert(){return new jl(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new is(n.pos,r.pos,this.mark)}merge(t){return t instanceof is&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new is(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new is(n.from,n.to,t.markFromJSON(n.mark))}}Ao.jsonID("removeMark",is);class ql extends Ao{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return Cr.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Cr.fromReplace(t,this.pos,this.pos+1,new Rt(st.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let o=0;or.pos?null:new ro(n.pos,r.pos,o,i,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new ro(n.from,n.to,n.gapFrom,n.gapTo,Rt.fromJSON(t,n.slice),n.insert,!!n.structure)}}Ao.jsonID("replaceAround",ro);function Y4(e,t,n){let r=e.resolve(t),o=n-t,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let a=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,o--}}return!1}function pH(e,t,n,r){let o=[],i=[],a,s;e.doc.nodesBetween(t,n,(c,l,u)=>{if(!c.isInline)return;let f=c.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){let d=Math.max(l,t),h=Math.min(l+c.nodeSize,n),p=r.addToSet(f);for(let m=0;me.step(c)),i.forEach(c=>e.step(c))}function mH(e,t,n,r){let o=[],i=0;e.doc.nodesBetween(t,n,(a,s)=>{if(!a.isInline)return;i++;let c=null;if(r instanceof Fg){let l=a.marks,u;for(;u=r.isInSet(l);)(c||(c=[])).push(u),l=u.removeFromSet(l)}else r?r.isInSet(a.marks)&&(c=[r]):c=a.marks;if(c&&c.length){let l=Math.min(s+a.nodeSize,n);for(let u=0;ue.step(new is(a.from,a.to,a.style)))}function vH(e,t,n,r=n.contentMatch){let o=e.doc.nodeAt(t),i=[],a=t+1;for(let s=0;s=0;s--)e.step(i[s])}function gH(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function yp(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth;;--r){let o=e.$from.node(r),i=e.$from.index(r),a=e.$to.indexAfter(r);if(rn;p--)m||r.index(p)>0?(m=!0,u=st.from(r.node(p).copy(u)),f++):c--;let d=st.empty,h=0;for(let p=i,m=!1;p>n;p--)m||o.after(p+1)=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=st.from(n[a].type.create(n[a].attrs,r))}let o=t.start,i=t.end;e.step(new ro(o,i,o,i,new Rt(r,0,0),n.length,!0))}function bH(e,t,n,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=e.steps.length;e.doc.nodesBetween(t,n,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(r,o)&&SH(e.doc,e.mapping.slice(i).map(s),r)){e.clearIncompatible(e.mapping.slice(i).map(s,1),r);let c=e.mapping.slice(i),l=c.map(s,1),u=c.map(s+a.nodeSize,1);return e.step(new ro(l,u,l+1,u-1,new Rt(st.from(r.create(o,null,a.marks)),0,0),1,!0)),!1}})}function SH(e,t,n){let r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}function MH(e,t,n,r,o){let i=e.doc.nodeAt(t);if(!i)throw new RangeError("No node at given position");n||(n=i.type);let a=n.create(r,null,o||i.marks);if(i.isLeaf)return e.replaceWith(t,t+i.nodeSize,a);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new ro(t,t+i.nodeSize,t+1,t+i.nodeSize-1,new Rt(st.from(a),0,0),1,!0))}function sd(e,t,n=1,r){let o=e.resolve(t),i=o.depth-n,a=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!a.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let l=o.depth-1,u=n-2;l>i;l--,u--){let f=o.node(l),d=o.index(l);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(d,f.childCount),p=r&&r[u+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let m=r&&r[u]||f;if(!f.canReplace(d+1,f.childCount)||!m.type.validContent(h))return!1}let s=o.indexAfter(i),c=r&&r[0];return o.node(i).canReplaceWith(s,s,c?c.type:o.node(i+1).type)}function wH(e,t,n=1,r){let o=e.doc.resolve(t),i=st.empty,a=st.empty;for(let s=o.depth,c=o.depth-n,l=n-1;s>c;s--,l--){i=st.from(o.node(s).copy(i));let u=r&&r[l];a=st.from(u?u.type.create(u.attrs,a):o.node(s).copy(a))}e.step(new uo(t,t,new Rt(i.append(a),n,n),!0))}function Vd(e,t){let n=e.resolve(t),r=n.index();return PN(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function PN(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function CN(e,t,n=-1){let r=e.resolve(t);for(let o=r.depth;;o--){let i,a,s=r.index(o);if(o==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(o+1),s++,a=r.node(o).maybeChild(s)):(i=r.node(o).maybeChild(s-1),a=r.node(o+1)),i&&!i.isTextblock&&PN(i,a)&&r.node(o).canReplace(s,s+1))return t;if(o==0)break;t=n<0?r.before(o):r.after(o)}}function LH(e,t,n){let r=new uo(t-n,t+n,Rt.empty,!0);e.step(r)}function OH(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let o=r.depth-1;o>=0;o--){let i=r.index(o);if(r.node(o).canReplaceWith(i,i,n))return r.before(o+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let i=r.indexAfter(o);if(r.node(o).canReplaceWith(i,i,n))return r.after(o+1);if(i=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,c=r.index(a)+(s>0?1:0),l=r.node(a),u=!1;if(i==1)u=l.canReplace(c,c,o);else{let f=l.contentMatchAt(c).findWrapping(o.firstChild.type);u=f&&l.canReplaceWith(c,c,f[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function lb(e,t,n=t,r=Rt.empty){if(t==n&&!r.size)return null;let o=e.resolve(t),i=e.resolve(n);return FN(o,i,r)?new uo(t,n,r):new TH(o,i,r).fit()}function FN(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}class TH{constructor(t,n,r){this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=st.empty;for(let o=0;o<=t.depth;o++){let i=t.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(t.indexAfter(o))})}for(let o=t.depth;o>0;o--)this.placed=st.from(t.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let l=this.findFittable();l?this.placeNodes(l):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,o=this.close(t<0?this.$to:r.doc.resolve(t));if(!o)return null;let i=this.placed,a=r.depth,s=o.depth;for(;a&&s&&i.childCount==1;)i=i.firstChild.content,a--,s--;let c=new Rt(i,a,s);return t>-1?new ro(r.pos,t,this.$to.pos,this.$to.end(),c,n):c.size||r.pos!=this.$to.pos?new uo(r.pos,o.pos,c):null}findFittable(){let t=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,o=this.unplaced.openEnd;r1&&(o=0),i.type.spec.isolating&&o<=r){t=r;break}n=i.content}for(let n=1;n<=2;n++)for(let r=n==1?t:this.unplaced.openStart;r>=0;r--){let o,i=null;r?(i=tR(this.unplaced.content,r-1).firstChild,o=i.content):o=this.unplaced.content;let a=o.firstChild;for(let s=this.depth;s>=0;s--){let{type:c,match:l}=this.frontier[s],u,f=null;if(n==1&&(a?l.matchType(a.type)||(f=l.fillBefore(st.from(a),!1)):i&&c.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:s,parent:i,inject:f};if(n==2&&a&&(u=l.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:i,wrap:u};if(i&&l.matchType(i.type))break}}}openMore(){let{content:t,openStart:n,openEnd:r}=this.unplaced,o=tR(t,n);return!o.childCount||o.firstChild.isLeaf?!1:(this.unplaced=new Rt(t,n+1,Math.max(r,o.size+n>=t.size-r?n+1:0)),!0)}dropNode(){let{content:t,openStart:n,openEnd:r}=this.unplaced,o=tR(t,n);if(o.childCount<=1&&n>0){let i=t.size-n<=n+o.size;this.unplaced=new Rt(N0(t,n-1,1),n-1,i?n-1:r)}else this.unplaced=new Rt(N0(t,n,1),n,r)}placeNodes({sliceDepth:t,frontierDepth:n,parent:r,inject:o,wrap:i}){for(;this.depth>n;)this.closeFrontierNode();if(i)for(let m=0;m1||c==0||m.content.size)&&(f=A,u.push(_N(m.mark(d.allowedMarks(m.marks)),l==1?c:0,l==s.childCount?h:-1)))}let p=l==s.childCount;p||(h=-1),this.placed=P0(this.placed,n,st.from(u)),this.frontier[n].match=f,p&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,A=s;m1&&o==this.$to.end(--r);)++o;return o}findCloseLevel(t){e:for(let n=Math.min(this.depth,t.depth);n>=0;n--){let{match:r,type:o}=this.frontier[n],i=n=0;s--){let{match:c,type:l}=this.frontier[s],u=nR(t,s,l,c,!0);if(!u||u.childCount)continue e}return{depth:n,fit:a,move:i?t.doc.resolve(t.after(n+1)):t}}}}close(t){let n=this.findCloseLevel(t);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=P0(this.placed,n.depth,n.fit)),t=n.move;for(let r=n.depth+1;r<=t.depth;r++){let o=t.node(r),i=o.type.contentMatch.fillBefore(o.content,!0,t.index(r));this.openFrontierNode(o.type,o.attrs,i)}return t}openFrontierNode(t,n=null,r){let o=this.frontier[this.depth];o.match=o.match.matchType(t),this.placed=P0(this.placed,this.depth,st.from(t.create(n,r))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(st.empty,!0);n.childCount&&(this.placed=P0(this.placed,this.frontier.length,n))}}function N0(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(N0(e.firstChild.content,t-1,n)))}function P0(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(P0(e.lastChild.content,t-1,n)))}function tR(e,t){for(let n=0;n1&&(r=r.replaceChild(0,_N(r.firstChild,t-1,r.childCount==1?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(st.empty,!0)))),e.copy(r)}function nR(e,t,n,r,o){let i=e.node(t),a=o?e.indexAfter(t):e.index(t);if(a==i.childCount&&!n.compatibleContent(i.type))return null;let s=r.fillBefore(i.content,!0,a);return s&&!kH(n,i.content,a)?s:null}function kH(e,t,n){for(let r=n;r0;d--,h--){let p=o.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(d)>-1?s=d:o.before(d)==h&&a.splice(1,0,-d)}let c=a.indexOf(s),l=[],u=r.openStart;for(let d=r.content,h=0;;h++){let p=d.firstChild;if(l.push(p),h==r.openStart)break;d=p.content}for(let d=u-1;d>=0;d--){let h=l[d],p=NH(h.type);if(p&&!h.sameMarkup(o.node(Math.abs(s)-1)))u=d;else if(p||!h.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let h=(d+u+1)%(r.openStart+1),p=l[h];if(p)for(let m=0;m=0&&(e.replace(t,n,r),!(e.steps.length>f));d--){let h=a[d];h<0||(t=o.before(h),n=i.after(h))}}function EN(e,t,n,r,o){if(tr){let i=o.contentMatchAt(0),a=i.fillBefore(e).append(e);e=a.append(i.matchFragment(a).fillBefore(st.empty,!0))}return e}function CH(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let o=OH(e.doc,t,r.type);o!=null&&(t=n=o)}e.replaceRange(t,n,new Rt(st.from(r),0,0))}function IH(e,t,n){let r=e.doc.resolve(t),o=e.doc.resolve(n),i=XN(r,o);for(let a=0;a0&&(c||r.node(s-1).canReplace(r.index(s-1),o.indexAfter(s-1))))return e.delete(r.before(s),o.after(s))}for(let a=1;a<=r.depth&&a<=o.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&o.end(a)-n!=o.depth-a)return e.delete(r.before(a),n);e.delete(t,n)}function XN(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let o=r;o>=0;o--){let i=e.start(o);if(it.pos+(t.depth-o)||e.node(o).type.spec.isolating||t.node(o).type.spec.isolating)break;(i==t.start(o)||o==e.depth&&o==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&o&&t.start(o-1)==i-1)&&n.push(o)}return n}class ld extends Ao{constructor(t,n,r){super(),this.pos=t,this.attr=n,this.value=r}apply(t){let n=t.nodeAt(this.pos);if(!n)return Cr.fail("No node at attribute step's position");let r=Object.create(null);for(let i in n.attrs)r[i]=n.attrs[i];r[this.attr]=this.value;let o=n.type.create(r,null,n.marks);return Cr.fromReplace(t,this.pos,this.pos+1,new Rt(st.from(o),0,n.isLeaf?0:1))}getMap(){return wi.empty}invert(t){return new ld(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new ld(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new ld(n.pos,n.attr,n.value)}}Ao.jsonID("attr",ld);class Kh extends Ao{constructor(t,n){super(),this.attr=t,this.value=n}apply(t){let n=Object.create(null);for(let o in t.attrs)n[o]=t.attrs[o];n[this.attr]=this.value;let r=t.type.create(n,t.content,t.marks);return Cr.ok(r)}getMap(){return wi.empty}invert(t){return new Kh(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Kh(n.attr,n.value)}}Ao.jsonID("docAttr",Kh);let Sd=class extends Error{};Sd=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n};Sd.prototype=Object.create(Error.prototype);Sd.prototype.constructor=Sd;Sd.prototype.name="TransformError";let FH=class{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new ad}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let n=this.maybeStep(t);if(n.failed)throw new Sd(n.failed);return this}maybeStep(t){let n=t.apply(this.doc);return n.failed||this.addStep(t,n.doc),n}get docChanged(){return this.steps.length>0}addStep(t,n){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=n}replace(t,n=t,r=Rt.empty){let o=lb(this.doc,t,n,r);return o&&this.step(o),this}replaceWith(t,n,r){return this.replace(t,n,new Rt(st.from(r),0,0))}delete(t,n){return this.replace(t,n,Rt.empty)}insert(t,n){return this.replaceWith(t,t,n)}replaceRange(t,n,r){return PH(this,t,n,r),this}replaceRangeWith(t,n,r){return CH(this,t,n,r),this}deleteRange(t,n){return IH(this,t,n),this}lift(t,n){return AH(this,t,n),this}join(t,n=1){return LH(this,t,n),this}wrap(t,n){return xH(this,t,n),this}setBlockType(t,n=t,r,o=null){return bH(this,t,n,r,o),this}setNodeMarkup(t,n,r=null,o){return MH(this,t,n,r,o),this}setNodeAttribute(t,n,r){return this.step(new ld(t,n,r)),this}setDocAttribute(t,n){return this.step(new Kh(t,n)),this}addNodeMark(t,n){return this.step(new ql(t,n)),this}removeNodeMark(t,n){if(!(n instanceof In)){let r=this.doc.nodeAt(t);if(!r)throw new RangeError("No node at position "+t);if(n=n.isInSet(r.marks),!n)return this}return this.step(new bd(t,n)),this}split(t,n=1,r){return wH(this,t,n,r),this}addMark(t,n,r){return pH(this,t,n,r),this}removeMark(t,n,r){return mH(this,t,n,r),this}clearIncompatible(t,n,r){return vH(this,t,n,r),this}};const rR=Object.create(null);class xn{constructor(t,n,r){this.$anchor=t,this.$head=n,this.ranges=r||[new _H(t.min(n),t.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let n=0;n=0;i--){let a=n<0?Cf(t.node(0),t.node(i),t.before(i+1),t.index(i),n,r):Cf(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,n,r);if(a)return a}return null}static near(t,n=1){return this.findFrom(t,n)||this.findFrom(t,-n)||new qo(t.node(0))}static atStart(t){return Cf(t,t,0,0,1)||new qo(t)}static atEnd(t){return Cf(t,t,t.content.size,t.childCount,-1)||new qo(t)}static fromJSON(t,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=rR[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(t,n)}static jsonID(t,n){if(t in rR)throw new RangeError("Duplicate use of selection JSON ID "+t);return rR[t]=n,n.prototype.jsonID=t,n}getBookmark(){return Xn.between(this.$anchor,this.$head).getBookmark()}}xn.prototype.visible=!0;class _H{constructor(t,n){this.$from=t,this.$to=n}}let vM=!1;function gM(e){!vM&&!e.parent.inlineContent&&(vM=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class Xn extends xn{constructor(t,n=t){gM(t),gM(n),super(t,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return xn.near(r);let o=t.resolve(n.map(this.anchor));return new Xn(o.parent.inlineContent?o:r,r)}replace(t,n=Rt.empty){if(super.replace(t,n),n==Rt.empty){let r=this.$from.marksAcross(this.$to);r&&t.ensureMarks(r)}}eq(t){return t instanceof Xn&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new _g(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Xn(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){let o=t.resolve(n);return new this(o,r==n?o:t.resolve(r))}static between(t,n,r){let o=t.pos-n.pos;if((!r||o)&&(r=o>=0?1:-1),!n.parent.inlineContent){let i=xn.findFrom(n,r,!0)||xn.findFrom(n,-r,!0);if(i)n=i.$head;else return xn.near(n,r)}return t.parent.inlineContent||(o==0?t=n:(t=(xn.findFrom(t,-r,!0)||xn.findFrom(t,r,!0)).$anchor,t.pos0?0:1);o>0?a=0;a+=o){let s=t.child(a);if(s.isAtom){if(!i&&Yt.isSelectable(s))return Yt.create(e,n-(o<0?s.nodeSize:0))}else{let c=Cf(e,s,n+o,o<0?s.childCount:0,o,i);if(c)return c}n+=s.nodeSize*o}return null}function AM(e,t,n){let r=e.steps.length-1;if(r{a==null&&(a=u)}),e.setSelection(xn.near(e.doc.resolve(a),n))}const RM=1,q1=2,yM=4;let XH=class extends FH{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=q1,this}ensureMarks(t){return In.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&q1)>0}addStep(t,n){super.addStep(t,n),this.updated=this.updated&~q1,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,n=!0){let r=this.selection;return n&&(t=t.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||In.none))),r.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,n,r){let o=this.doc.type.schema;if(n==null)return t?this.replaceSelectionWith(o.text(t),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!t)return this.deleteRange(n,r);let i=this.storedMarks;if(!i){let a=this.doc.resolve(n);i=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,o.text(t,i)),this.selection.empty||this.setSelection(xn.near(this.selection.$to)),this}}setMeta(t,n){return this.meta[typeof t=="string"?t:t.key]=n,this}getMeta(t){return this.meta[typeof t=="string"?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=yM,this}get scrolledIntoView(){return(this.updated&yM)>0}};function xM(e,t){return!t||!e?e:e.bind(t)}class C0{constructor(t,n,r){this.name=t,this.init=xM(n.init,r),this.apply=xM(n.apply,r)}}const WH=[new C0("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new C0("selection",{init(e,t){return e.selection||xn.atStart(t.doc)},apply(e){return e.selection}}),new C0("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new C0("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class oR{constructor(t,n){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=WH.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new C0(r.key,r.spec.state,r))})}}class Bf{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,n=-1){for(let r=0;rr.toJSON())),t&&typeof t=="object")for(let r in t){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let o=t[r],i=o.spec.state;i&&i.toJSON&&(n[r]=i.toJSON.call(o,this[o.key]))}return n}static fromJSON(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let o=new oR(t.schema,t.plugins),i=new Bf(o);return o.fields.forEach(a=>{if(a.name=="doc")i.doc=ls.fromJSON(t.schema,n.doc);else if(a.name=="selection")i.selection=xn.fromJSON(i.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(i.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let s in r){let c=r[s],l=c.spec.state;if(c.key==a.name&&l&&l.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){i[a.name]=l.fromJSON.call(c,t,n[s],i);return}}i[a.name]=a.init(t,i)}}),i}}function WN(e,t,n){for(let r in e){let o=e[r];o instanceof Function?o=o.bind(t):r=="handleDOMEvents"&&(o=WN(o,t,{})),n[r]=o}return n}class Ud{constructor(t){this.spec=t,this.props={},t.props&&WN(t.props,this,this.props),this.key=t.key?t.key.key:VN("plugin")}getState(t){return t[this.key]}}const iR=Object.create(null);function VN(e){return e in iR?e+"$"+ ++iR[e]:(iR[e]=0,e+"$")}class UN{constructor(t="key"){this.key=VN(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const YN=(e,t)=>e.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function VH(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const UH=(e,t,n)=>{let r=VH(e,n);if(!r)return!1;let o=QN(r);if(!o){let a=r.blockRange(),s=a&&yp(a);return s==null?!1:(t&&t(e.tr.lift(a,s).scrollIntoView()),!0)}let i=o.nodeBefore;if(!i.type.spec.isolating&&JN(e,o,t))return!0;if(r.parent.content.size==0&&(Md(i,"end")||Yt.isSelectable(i))){let a=lb(e.doc,r.before(),r.after(),Rt.empty);if(a&&a.slice.size{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;i=QN(r)}let a=i&&i.nodeBefore;return!a||!Yt.isSelectable(a)?!1:(t&&t(e.tr.setSelection(Yt.create(e.doc,i.pos-a.nodeSize)).scrollIntoView()),!0)};function QN(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function QH(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset{let r=QH(e,n);if(!r)return!1;let o=ZN(r);if(!o)return!1;let i=o.nodeAfter;if(JN(e,o,t))return!0;if(r.parent.content.size==0&&(Md(i,"start")||Yt.isSelectable(i))){let a=lb(e.doc,r.before(),r.after(),Rt.empty);if(a&&a.slice.size{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset=0;t--){let n=e.node(t);if(e.index(t)+1{let n=e.selection,r=n instanceof Yt,o;if(r){if(n.node.isTextblock||!Vd(e.doc,n.from))return!1;o=n.from}else if(o=CN(e.doc,n.from,-1),o==null)return!1;if(t){let i=e.tr.join(o);r&&i.setSelection(Yt.create(i.doc,o-e.doc.resolve(o).nodeBefore.nodeSize)),t(i.scrollIntoView())}return!0},KH=(e,t)=>{let n=e.selection,r;if(n instanceof Yt){if(n.node.isTextblock||!Vd(e.doc,n.to))return!1;r=n.to}else if(r=CN(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},HH=(e,t)=>{let{$from:n,$to:r}=e.selection,o=n.blockRange(r),i=o&&yp(o);return i==null?!1:(t&&t(e.tr.lift(o,i).scrollIntoView()),!0)},BN=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(` -`).scrollIntoView()),!0)};function ub(e){for(let t=0;t{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let o=n.node(-1),i=n.indexAfter(-1),a=ub(o.contentMatchAt(i));if(!a||!o.canReplaceWith(i,i,a))return!1;if(t){let s=n.after(),c=e.tr.replaceWith(s,s,a.createAndFill());c.setSelection(xn.near(c.doc.resolve(s),1)),t(c.scrollIntoView())}return!0},DN=(e,t)=>{let n=e.selection,{$from:r,$to:o}=n;if(n instanceof qo||r.parent.inlineContent||o.parent.inlineContent)return!1;let i=ub(o.parent.contentMatchAt(o.indexAfter()));if(!i||!i.isTextblock)return!1;if(t){let a=(!r.parentOffset&&o.index(){let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if(sd(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let r=n.blockRange(),o=r&&yp(r);return o==null?!1:(t&&t(e.tr.lift(r,o).scrollIntoView()),!0)};function JH(e){return(t,n)=>{let{$from:r,$to:o}=t.selection;if(t.selection instanceof Yt&&t.selection.node.isBlock)return!r.parentOffset||!sd(t.doc,r.pos)?!1:(n&&n(t.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let i=o.parentOffset==o.parent.content.size,a=t.tr;(t.selection instanceof Xn||t.selection instanceof qo)&&a.deleteSelection();let s=r.depth==0?null:ub(r.node(-1).contentMatchAt(r.indexAfter(-1))),c=e&&e(o.parent,i),l=c?[c]:i&&s?[{type:s}]:void 0,u=sd(a.doc,a.mapping.map(r.pos),1,l);if(!l&&!u&&sd(a.doc,a.mapping.map(r.pos),1,s?[{type:s}]:void 0)&&(s&&(l=[{type:s}]),u=!0),u&&(a.split(a.mapping.map(r.pos),1,l),!i&&!r.parentOffset&&r.parent.type!=s)){let f=a.mapping.map(r.before()),d=a.doc.resolve(f);s&&r.node(-1).canReplaceWith(d.index(),d.index()+1,s)&&a.setNodeMarkup(a.mapping.map(r.before()),s)}n(a.scrollIntoView())}return!0}}const HN=JH(),zH=(e,t)=>HN(e,t&&(n=>{let r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();r&&n.ensureMarks(r),t(n)})),$H=(e,t)=>{let{$from:n,to:r}=e.selection,o,i=n.sharedDepth(r);return i==0?!1:(o=n.before(i),t&&t(e.tr.setSelection(Yt.create(e.doc,o))),!0)},GN=(e,t)=>(t&&t(e.tr.setSelection(new qo(e.doc))),!0);function jH(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i=t.index();return!r||!o||!r.type.compatibleContent(o.type)?!1:!r.content.size&&t.parent.canReplace(i-1,i)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(i,i+1)||!(o.isTextblock||Vd(e.doc,t.pos))?!1:(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),!0)}function JN(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i,a;if(r.type.spec.isolating||o.type.spec.isolating)return!1;if(jH(e,t,n))return!0;let s=t.parent.canReplace(t.index(),t.index()+1);if(s&&(i=(a=r.contentMatchAt(r.childCount)).findWrapping(o.type))&&a.matchType(i[0]||o.type).validEnd){if(n){let f=t.pos+o.nodeSize,d=st.empty;for(let m=i.length-1;m>=0;m--)d=st.from(i[m].create(null,d));d=st.from(r.copy(d));let h=e.tr.step(new ro(t.pos-1,f,t.pos,f,new Rt(d,1,0),i.length,!0)),p=f+2*i.length;Vd(h.doc,p)&&h.join(p),n(h.scrollIntoView())}return!0}let c=xn.findFrom(t,1),l=c&&c.$from.blockRange(c.$to),u=l&&yp(l);if(u!=null&&u>=t.depth)return n&&n(e.tr.lift(l,u).scrollIntoView()),!0;if(s&&Md(o,"start",!0)&&Md(r,"end")){let f=r,d=[];for(;d.push(f),!f.isTextblock;)f=f.lastChild;let h=o,p=1;for(;!h.isTextblock;h=h.firstChild)p++;if(f.canReplace(f.childCount,f.childCount,h.content)){if(n){let m=st.empty;for(let x=d.length-1;x>=0;x--)m=st.from(d[x].copy(m));let A=e.tr.step(new ro(t.pos-d.length,t.pos+o.nodeSize,t.pos+p,t.pos+o.nodeSize-p,new Rt(m,d.length,0),0,!0));n(A.scrollIntoView())}return!0}}return!1}function zN(e){return function(t,n){let r=t.selection,o=e<0?r.$from:r.$to,i=o.depth;for(;o.node(i).isInline;){if(!i)return!1;i--}return o.node(i).isTextblock?(n&&n(t.tr.setSelection(Xn.create(t.doc,e<0?o.start(i):o.end(i)))),!0):!1}}const qH=zN(-1),eG=zN(1);function tG(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=a&&sb(a,e,t);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function nG(e,t,n){for(let r=0;r{if(a)return!1;a=s.inlineContent&&s.type.allowsMarkType(n)}),a)return!0}return!1}function kr(e,t=null){return function(n,r){let{empty:o,$cursor:i,ranges:a}=n.selection;if(o&&!i||!nG(n.doc,a,e))return!1;if(r)if(i)e.isInSet(n.storedMarks||i.marks())?r(n.tr.removeStoredMark(e)):r(n.tr.addStoredMark(e.create(t)));else{let s=!1,c=n.tr;for(let l=0;!s&&le.type===t.nodes.bullet_list||e.type===t.nodes.ordered_list,Er=e=>{const{empty:t}=e.state.selection;t&&GN(e.state,e.dispatch)},Da=(e,t,n)=>{if(n)e.dispatch(e.state.tr.addMark(n.from,n.to,t));else{const{$from:r,$to:o}=e.state.selection;e.dispatch(e.state.tr.addMark(r.pos,o.pos,t))}},iG=(e,t,n,r)=>{let o=t;const i=d=>d.type===r;let a=null,s=null,c=null;for(;o<=n;){const d=e.nodeAt(o);if(!d||!d.marks)return null;const h=d.marks.find(i);if(!h||a&&h!==a)return null;s=s||d,a=a||h,c=d,o++}let l=t,u=n,f=0;for(o=t-1;o>f;){const d=e.nodeAt(o),h=d&&d.marks.find(i);if(!h||h!==a)break;l=o,s=d,o--}for(o=n+1,f=e.nodeSize-2;oArray.isArray(e)&&e.indexOf(t.type)>-1||t.type===e,sG=(e,t)=>{for(let n=e.depth;n>0;n--){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}},jN=e=>t=>sG(t.$from,e),lG=e=>t=>jN(n=>aG(e,n))(t),Fm=(e,t)=>{const n=t.schema.nodes[e];return!!lG(n)(t.selection)},qN=e=>e?e.type.name==="text"?e:e.lastChild?qN(e.lastChild):null:null,eP=e=>{const{selection:t,doc:n}=e.state,{from:r}=t;let o=n.nodeAt(r)||n.nodeAt(r-1);return o=qN(o),(o==null?void 0:o.marks)||[]},If=(e,t,n)=>{for(const r of e)if(r.type.name===t&&r.attrs[n])return r.attrs[n];return null},Uc=(e,t)=>{for(const n of e)if(n.type.name===t)return!0;return!1},cG=(e,t)=>{const{from:n,$from:r,to:o,empty:i}=e.selection;return i?t.isInSet(e.storedMarks||r.marks()):e.doc.rangeHasMark(n,o,t)},uG=(e,t)=>{const{selection:n,doc:r}=e.state,{from:o,to:i}=n;let a=!0,s="";return r.nodesBetween(o,i,c=>(a&&c.attrs[t]&&(a=!1,s=c.attrs[t]),a)),s},tP={color:"#000",backcolor:"",fontsize:"20px",fontname:"微软雅黑",align:"left"},Q4=(e,t={})=>{const n={...tP,...t},r=eP(e),o=Uc(r,"strong"),i=Uc(r,"em"),a=Uc(r,"underline"),s=Uc(r,"strikethrough"),c=Uc(r,"superscript"),l=Uc(r,"subscript"),u=Uc(r,"code"),f=If(r,"forecolor","color")||n.color,d=If(r,"backcolor","backcolor")||n.backcolor,h=If(r,"fontsize","fontsize")||n.fontsize,p=If(r,"fontname","fontname")||n.fontname,m=If(r,"link","href")||"",A=uG(e,"align")||n.align,x=Fm("bullet_list",e.state),y=Fm("ordered_list",e.state),R=Fm("blockquote",e.state);return{bold:o,em:i,underline:a,strikethrough:s,superscript:c,subscript:l,code:u,color:f,backcolor:d,fontsize:h,fontname:p,link:m,align:A,bulletList:x,orderedList:y,blockquote:R}},SM=e=>{const t=eP(e),n=If(t,"fontsize","fontsize")||tP.fontsize;return parseInt(n)},fG={bold:!1,em:!1,underline:!1,strikethrough:!1,superscript:!1,subscript:!1,code:!1,color:"#000",backcolor:"",fontsize:"20px",fontname:"微软雅黑",link:"",align:"left",bulletList:!1,orderedList:!1,blockquote:!1},MM=[{label:"Arial",value:"Arial"},{label:"微软雅黑",value:"Microsoft Yahei"},{label:"宋体",value:"SimSun"},{label:"黑体",value:"SimHei"},{label:"楷体",value:"KaiTi"},{label:"新宋体",value:"NSimSun"},{label:"仿宋",value:"FangSong"},{label:"苹方",value:"PingFang SC"},{label:"华文黑体",value:"STHeiti"},{label:"华文楷体",value:"STKaiti"},{label:"华文宋体",value:"STSong"},{label:"华文仿宋",value:"STFangSong"},{label:"华文中宋",value:"STZhongSong"},{label:"华文琥珀",value:"STHupo"},{label:"华文新魏",value:"STXinwei"},{label:"华文隶书",value:"STLiti"},{label:"华文行楷",value:"STXingkai"},{label:"冬青黑体",value:"Hiragino Sans GB"},{label:"兰亭黑",value:"Lantinghei SC"},{label:"偏偏体",value:"Hanzipen SC"},{label:"手札体",value:"Hannotate SC"},{label:"宋体",value:"Songti SC"},{label:"娃娃体",value:"Wawati SC"},{label:"行楷",value:"Xingkai SC"},{label:"圆体",value:"Yuanti SC"},{label:"华文细黑",value:"STXihei"},{label:"幼圆",value:"YouYuan"},{label:"隶书",value:"LiSu"}],Xg=[{label:"得意黑",value:"得意黑"},{label:"仓耳小丸子",value:"仓耳小丸子"},{label:"优设标题黑",value:"优设标题黑"},{label:"峰广明锐体",value:"峰广明锐体"},{label:"摄图摩登小方体",value:"摄图摩登小方体"},{label:"站酷快乐体",value:"站酷快乐体"},{label:"字制区喜脉体",value:"字制区喜脉体"},{label:"素材集市康康体",value:"素材集市康康体"},{label:"素材集市酷方体",value:"素材集市酷方体"},{label:"途牛类圆体",value:"途牛类圆体"},{label:"锐字真言体",value:"锐字真言体"}],dG=e=>{if(typeof e!="string")return!1;const t="Arial";if(e.toLowerCase()===t.toLowerCase())return!0;const n=100,r=100,o=100,i="a",a=document.createElement("canvas"),s=a.getContext("2d",{willReadFrequently:!0});if(!s)return!1;a.width=r,a.height=o,s.textAlign="center",s.fillStyle="black",s.textBaseline="middle";const c=l=>{s.clearRect(0,0,r,o),s.font=`${n}px ${l}, ${t}`,s.fillText(i,r/2,o/2);const u=s.getImageData(0,0,r,o).data;return[].slice.call(u).filter(f=>f!==0)};return c(t).join("")!==c(e).join("")};function Tv(e){"@babel/helpers - typeof";return Tv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tv(e)}var hG=/^\s+/,pG=/\s+$/;function rt(e,t){if(e=e||"",t=t||{},e instanceof rt)return e;if(!(this instanceof rt))return new rt(e,t);var n=mG(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}rt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,o,i,a,s;return n=t.r/255,r=t.g/255,o=t.b/255,n<=.03928?i=n/12.92:i=Math.pow((n+.055)/1.055,2.4),r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),o<=.03928?s=o/12.92:s=Math.pow((o+.055)/1.055,2.4),.2126*i+.7152*a+.0722*s},setAlpha:function(t){return this._a=nP(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=LM(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=LM(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+o+"%)":"hsva("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=wM(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=wM(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+o+"%)":"hsla("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return OM(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return RG(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(tr(this._r,255)*100)+"%",g:Math.round(tr(this._g,255)*100)+"%",b:Math.round(tr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(tr(this._r,255)*100)+"%, "+Math.round(tr(this._g,255)*100)+"%, "+Math.round(tr(this._b,255)*100)+"%)":"rgba("+Math.round(tr(this._r,255)*100)+"%, "+Math.round(tr(this._g,255)*100)+"%, "+Math.round(tr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:PG[OM(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+TM(this._r,this._g,this._b,this._a),r=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var i=rt(t);r="#"+TM(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,o=this._a<1&&this._a>=0,i=!n&&o&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return i?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return rt(this.toString())},_applyModification:function(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(SG,arguments)},brighten:function(){return this._applyModification(MG,arguments)},darken:function(){return this._applyModification(wG,arguments)},desaturate:function(){return this._applyModification(yG,arguments)},saturate:function(){return this._applyModification(xG,arguments)},greyscale:function(){return this._applyModification(bG,arguments)},spin:function(){return this._applyModification(LG,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(kG,arguments)},complement:function(){return this._applyCombination(OG,arguments)},monochromatic:function(){return this._applyCombination(NG,arguments)},splitcomplement:function(){return this._applyCombination(TG,arguments)},triad:function(){return this._applyCombination(kM,[3])},tetrad:function(){return this._applyCombination(kM,[4])}};rt.fromRatio=function(e,t){if(Tv(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=I0(e[r]));e=n}return rt(e,t)};function mG(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=_G(e)),Tv(e)=="object"&&(Fs(e.r)&&Fs(e.g)&&Fs(e.b)?(t=vG(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Fs(e.h)&&Fs(e.s)&&Fs(e.v)?(r=I0(e.s),o=I0(e.v),t=AG(e.h,r,o),a=!0,s="hsv"):Fs(e.h)&&Fs(e.s)&&Fs(e.l)&&(r=I0(e.s),i=I0(e.l),t=gG(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=nP(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function vG(e,t,n){return{r:tr(e,255)*255,g:tr(t,255)*255,b:tr(n,255)*255}}function wM(e,t,n){e=tr(e,255),t=tr(t,255),n=tr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,a,s=(r+o)/2;if(r==o)i=a=0;else{var c=r-o;switch(a=s>.5?c/(2-r-o):c/(r+o),r){case e:i=(t-n)/c+(t1&&(f-=1),f<1/6?l+(u-l)*6*f:f<1/2?u:f<2/3?l+(u-l)*(2/3-f)*6:l}if(t===0)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function LM(e,t,n){e=tr(e,255),t=tr(t,255),n=tr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,a,s=r,c=r-o;if(a=r===0?0:c/r,r==o)i=0;else{switch(r){case e:i=(t-n)/c+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(rt(r));return i}function NG(e,t){t=t||6;for(var n=rt(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(rt({h:r,s:o,v:i})),i=(i+s)%1;return a}rt.mix=function(e,t,n){n=n===0?0:n||50;var r=rt(e).toRgb(),o=rt(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return rt(a)};rt.readability=function(e,t){var n=rt(e),r=rt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};rt.isReadable=function(e,t,n){var r=rt.readability(e,t),o,i;switch(i=!1,o=EG(n),o.level+o.size){case"AAsmall":case"AAAlarge":i=r>=4.5;break;case"AAlarge":i=r>=3;break;case"AAAsmall":i=r>=7;break}return i};rt.mostReadable=function(e,t,n){var r=null,o=0,i,a,s,c;n=n||{},a=n.includeFallbackColors,s=n.level,c=n.size;for(var l=0;lo&&(o=i,r=rt(t[l]));return rt.isReadable(e,r,{level:s,size:c})||!a?r:(n.includeFallbackColors=!1,rt.mostReadable(e,["#fff","#000"],n))};var Z4=rt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},PG=rt.hexNames=CG(Z4);function CG(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function nP(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function tr(e,t){IG(e)&&(e="100%");var n=FG(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Wg(e){return Math.min(1,Math.max(0,e))}function hi(e){return parseInt(e,16)}function IG(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function FG(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Ta(e){return e.length==1?"0"+e:""+e}function I0(e){return e<=1&&(e=e*100+"%"),e}function rP(e){return Math.round(parseFloat(e)*255).toString(16)}function NM(e){return hi(e)/255}var ma=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Fs(e){return!!ma.CSS_UNIT.exec(e)}function _G(e){e=e.replace(hG,"").replace(pG,"").toLowerCase();var t=!1;if(Z4[e])e=Z4[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=ma.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=ma.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=ma.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=ma.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=ma.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=ma.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=ma.hex8.exec(e))?{r:hi(n[1]),g:hi(n[2]),b:hi(n[3]),a:NM(n[4]),format:t?"name":"hex8"}:(n=ma.hex6.exec(e))?{r:hi(n[1]),g:hi(n[2]),b:hi(n[3]),format:t?"name":"hex"}:(n=ma.hex4.exec(e))?{r:hi(n[1]+""+n[1]),g:hi(n[2]+""+n[2]),b:hi(n[3]+""+n[3]),a:NM(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=ma.hex3.exec(e))?{r:hi(n[1]+""+n[1]),g:hi(n[2]+""+n[2]),b:hi(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function EG(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var Nt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function fb(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var kv={exports:{}};/** + */let aN;const Fg=e=>aN=e,sN=Symbol();function W4(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var uh;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(uh||(uh={}));function VK(){const e=_b(!0),t=e.run(()=>he({}));let n=[],r=[];const o=vp({install(i){Fg(o),o._a=i,i.provide(sN,o),i.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(i){return!this._a&&!WK?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const lN=()=>{};function sM(e,t,n,r=lN){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Eb()&&Sk(o),o}function Rf(e,...t){e.slice().forEach(n=>{n(...t)})}const UK=e=>e();function V4(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];W4(o)&&W4(r)&&e.hasOwnProperty(n)&&!sr(r)&&!ls(r)?e[n]=V4(o,r):e[n]=r}return e}const YK=Symbol();function QK(e){return!W4(e)||!e.hasOwnProperty(YK)}const{assign:Pl}=Object;function ZK(e){return!!(sr(e)&&e.effect)}function BK(e,t,n,r){const{state:o,actions:i,getters:a}=t,s=n.state.value[e];let c;function l(){s||(n.state.value[e]=o?o():{});const u=Yk(n.state.value[e]);return Pl(u,i,Object.keys(a||{}).reduce((f,d)=>(f[d]=vp(Me(()=>{Fg(n);const h=n._s.get(e);return a[d].call(h,h)})),f),{}))}return c=cN(e,l,t,n,r,!0),c}function cN(e,t,n={},r,o,i){let a;const s=Pl({actions:{}},n),c={deep:!0};let l,u,f=[],d=[],h;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={}),he({});let m;function A(M){let w;l=u=!1,typeof M=="function"?(M(r.state.value[e]),w={type:uh.patchFunction,storeId:e,events:h}):(V4(r.state.value[e],M),w={type:uh.patchObject,payload:M,storeId:e,events:h});const k=m=Symbol();Wr().then(()=>{m===k&&(l=!0)}),u=!0,Rf(f,w,r.state.value[e])}const x=i?function(){const{state:w}=n,k=w?w():{};this.$patch(_=>{Pl(_,k)})}:lN;function y(){a.stop(),f=[],d=[],r._s.delete(e)}function R(M,w){return function(){Fg(r);const k=Array.from(arguments),_=[],P=[];function E(N){_.push(N)}function I(N){P.push(N)}Rf(d,{args:k,name:M,store:b,after:E,onError:I});let F;try{F=w.apply(this&&this.$id===e?this:b,k)}catch(N){throw Rf(P,N),N}return F instanceof Promise?F.then(N=>(Rf(_,N),N)).catch(N=>(Rf(P,N),Promise.reject(N))):(Rf(_,F),F)}}const g={_p:r,$id:e,$onAction:sM.bind(null,d),$patch:A,$reset:x,$subscribe(M,w={}){const k=sM(f,M,w.detached,()=>_()),_=a.run(()=>Tt(()=>r.state.value[e],P=>{(w.flush==="sync"?u:l)&&M({storeId:e,type:uh.direct,events:h},P)},Pl({},c,w)));return k},$dispose:y},b=mp(g);r._s.set(e,b);const T=(r._a&&r._a.runWithContext||UK)(()=>r._e.run(()=>(a=_b()).run(t)));for(const M in T){const w=T[M];if(sr(w)&&!ZK(w)||ls(w))i||(p&&QK(w)&&(sr(w)?w.value=p[M]:V4(w,p[M])),r.state.value[e][M]=w);else if(typeof w=="function"){const k=R(M,w);T[M]=k,s.actions[M]=w}}return Pl(b,T),Pl(mn(b),T),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:M=>{A(w=>{Pl(w,M)})}}),r._p.forEach(M=>{Pl(b,a.run(()=>M({store:b,app:r._a,pinia:r,options:s})))}),p&&i&&n.hydrate&&n.hydrate(b.$state,p),l=!0,u=!0,b}function yp(e,t,n){let r,o;const i=typeof t=="function";typeof e=="string"?(r=e,o=i?n:t):(o=e,r=e.id);function a(s,c){const l=m7();return s=s||(l?jo(sN,null):null),s&&Fg(s),s=aN,s._s.has(r)||(i?cN(r,t,o,s):BK(r,o,s)),s._s.get(r)}return a.$id=r,a}function Ee(e){{e=mn(e);const t={};for(const n in e){const r=e[n];(sr(r)||ls(r))&&(t[n]=Xd(e,n))}return t}}let DK=e=>crypto.getRandomValues(new Uint8Array(e)),KK=(e,t,n)=>{let r=(2<{let a="";for(;;){let s=n(o),c=o;for(;c--;)if(a+=e[s[c]&r]||"",a.length===i)return a}}},HK=(e,t=21)=>KK(e,t,DK),pn=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");var Sr=(e=>(e.SYMBOL="symbol",e.EL_ANIMATION="elAnimation",e.EL_STYLE="elStyle",e.EL_POSITION="elPosition",e.SLIDE_DESIGN="slideDesign",e.SLIDE_ANIMATION="slideAnimation",e.MULTI_POSITION="multiPosition",e))(Sr||{});function zr(e){this.content=e}zr.prototype={constructor:zr,find:function(e){for(var t=0;t>1}};zr.from=function(e){if(e instanceof zr)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new zr(t)};function uN(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(r),i=t.child(r);if(o==i){n+=o.nodeSize;continue}if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(let a=0;o.text[a]==i.text[a];a++)n++;return n}if(o.content.size||i.content.size){let a=uN(o.content,i.content,n+1);if(a!=null)return a}n+=o.nodeSize}}function fN(e,t,n,r){for(let o=e.childCount,i=t.childCount;;){if(o==0||i==0)return o==i?null:{a:n,b:r};let a=e.child(--o),s=t.child(--i),c=a.nodeSize;if(a==s){n-=c,r-=c;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let l=0,u=Math.min(a.text.length,s.text.length);for(;lt&&r(c,o+s,i||null,a)!==!1&&c.content.size){let u=s+1;c.nodesBetween(Math.max(0,t-u),Math.min(c.content.size,n-u),r,o+u)}s=l}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,o){let i="",a=!0;return this.nodesBetween(t,n,(s,c)=>{let l=s.isText?s.text.slice(Math.max(t,c)-c,n-c):s.isLeaf?o?typeof o=="function"?o(s):o:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&l||s.isTextblock)&&r&&(a?a=!1:i+=r),i+=l},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,o=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(o[o.length-1]=n.withText(n.text+r.text),i=1);it)for(let i=0,a=0;at&&((an)&&(s.isText?s=s.cut(Math.max(0,t-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,t-a-1),Math.min(s.content.size,n-a-1))),r.push(s),o+=s.nodeSize),a=c}return new lt(r,o)}cutByIndex(t,n){return t==n?lt.empty:t==0&&n==this.content.length?this:new lt(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let o=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return o[t]=n,new lt(o,i)}addToStart(t){return new lt([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new lt(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;nthis.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let r=0,o=0;;r++){let i=this.child(r),a=o+i.nodeSize;if(a>=t)return a==t||n>0?j1(r+1,a):j1(r,o);o=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return lt.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new lt(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return lt.empty;let n,r=0;for(let o=0;othis.type.rank&&(n||(n=t.slice(0,o)),n.push(this),r=!0),n&&n.push(i)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;nr.type.rank-o.type.rank),n}}In.none=[];class xv extends Error{}class Rt{constructor(t,n,r){this.content=t,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=hN(this.content,t+this.openStart,n);return r&&new Rt(r,this.openStart,this.openEnd)}removeBetween(t,n){return new Rt(dN(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return Rt.empty;let r=n.openStart||0,o=n.openEnd||0;if(typeof r!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Rt(lt.fromJSON(t,n.content),r,o)}static maxOpen(t,n=!0){let r=0,o=0;for(let i=t.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=t.lastChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.lastChild)o++;return new Rt(t,r,o)}}Rt.empty=new Rt(lt.empty,0,0);function dN(e,t,n){let{index:r,offset:o}=e.findIndex(t),i=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(o==t||i.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,i.copy(dN(i.content,t-o-1,n-o-1)))}function hN(e,t,n,r){let{index:o,offset:i}=e.findIndex(t),a=e.maybeChild(o);if(i==t||a.isText)return r&&!r.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=hN(a.content,t-i-1,n);return s&&e.replaceChild(o,a.copy(s))}function GK(e,t,n){if(n.openStart>e.depth)throw new xv("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new xv("Inconsistent open depths");return pN(e,t,n,0)}function pN(e,t,n,r){let o=e.index(r),i=e.node(r);if(o==t.index(r)&&r=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function fh(e,t,n,r){let o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(du(e.nodeAfter,r),i++));for(let s=i;so&&U4(e,t,o+1),a=r.depth>o&&U4(n,r,o+1),s=[];return fh(null,e,o,s),i&&a&&t.index(o)==n.index(o)?(mN(i,a),du(hu(i,vN(e,t,n,r,o+1)),s)):(i&&du(hu(i,Sv(e,t,o+1)),s),fh(t,n,o,s),a&&du(hu(a,Sv(n,r,o+1)),s)),fh(r,null,o,s),new lt(s)}function Sv(e,t,n){let r=[];if(fh(null,e,n,r),e.depth>n){let o=U4(e,t,n+1);du(hu(o,Sv(e,t,n+1)),r)}return fh(t,null,n,r),new lt(r)}function JK(e,t){let n=t.depth-e.openStart,o=t.node(n).copy(e.content);for(let i=n-1;i>=0;i--)o=t.node(i).copy(lt.from(o));return{start:o.resolveNoCache(e.openStart+n),end:o.resolveNoCache(o.content.size-e.openEnd-n)}}class Kh{constructor(t,n,r){this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let r=this.pos-this.path[this.path.length-1],o=t.child(n);return r?t.child(n).cut(r):o}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let r=this.path[n*3],o=n==0?0:this.path[n*3-1]+1;for(let i=0;i0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos=0;r--)if(t.pos<=this.end(r)&&(!n||n(this.node(r))))return new Mv(this,t,r);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],o=0,i=n;for(let a=t;;){let{index:s,offset:c}=a.content.findIndex(i),l=i-c;if(r.push(a,s,o+c),!l||(a=a.child(s),a.isText))break;i=l-1,o+=c+1}return new Kh(n,r,i)}static resolveCached(t,n){for(let o=0;ot&&this.nodesBetween(t,n,i=>(r.isInSet(i.marks)&&(o=!0),!o)),o}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),gN(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,r=lt.empty,o=0,i=r.childCount){let a=this.contentMatchAt(t).matchFragment(r,o,i),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let c=o;cn.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r=null;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,r)}let o=lt.fromJSON(t,n.content);return t.nodeType(n.type).create(n.attrs,o,r)}}cs.prototype.text=void 0;class wv extends cs{constructor(t,n,r,o){if(super(t,n,null,o),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):gN(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new wv(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new wv(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function gN(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Tu{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new jK(t,n);if(r.next==null)return Tu.empty;let o=AN(r);r.next&&r.err("Unexpected trailing text");let i=iH(oH(o));return aH(i,r),i}matchType(t){for(let n=0;nl.createAndFill()));for(let l=0;l=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(r){t.push(r);for(let o=0;o{let i=o+(r.validEnd?"*":" ")+" ";for(let a=0;a"+t.indexOf(r.next[a].next);return i}).join(` +`)}}Tu.empty=new Tu(!0);class jK{constructor(t,n){this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function AN(e){let t=[];do t.push(qK(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function qK(e){let t=[];do t.push(eH(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function eH(e){let t=rH(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=tH(e,t);else break;return t}function lM(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function tH(e,t){let n=lM(e),r=n;return e.eat(",")&&(e.next!="}"?r=lM(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function nH(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let o=[];for(let i in n){let a=n[i];a.groups.indexOf(t)>-1&&o.push(a)}return o.length==0&&e.err("No node type or group '"+t+"' found"),o}function rH(e){if(e.eat("(")){let t=AN(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=nH(e,e.next).map(n=>(e.inline==null?e.inline=n.isInline:e.inline!=n.isInline&&e.err("Mixing inline and block content"),{type:"name",value:n}));return e.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function oH(e){let t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(a,s,c){let l={term:c,to:s};return t[a].push(l),l}function o(a,s){a.forEach(c=>c.to=s)}function i(a,s){if(a.type=="choice")return a.exprs.reduce((c,l)=>c.concat(i(l,s)),[]);if(a.type=="seq")for(let c=0;;c++){let l=i(a.exprs[c],s);if(c==a.exprs.length-1)return l;o(l,s=n())}else if(a.type=="star"){let c=n();return r(s,c),o(i(a.expr,c),c),[r(c)]}else if(a.type=="plus"){let c=n();return o(i(a.expr,s),c),o(i(a.expr,c),c),[r(c)]}else{if(a.type=="opt")return[r(s)].concat(i(a.expr,s));if(a.type=="range"){let c=s;for(let l=0;l{e[a].forEach(({term:s,to:c})=>{if(!s)return;let l;for(let u=0;u{l||o.push([s,l=[]]),l.indexOf(u)==-1&&l.push(u)})})});let i=t[r.join(",")]=new Tu(r.indexOf(e.length-1)>-1);for(let a=0;a-1}allowsMarks(t){if(this.markSet==null)return!0;for(let n=0;nr[i]=new SN(i,n,a));let o=n.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class sH{constructor(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}get isRequired(){return!this.hasDefault}}class _g{constructor(t,n,r,o){this.name=t,this.rank=n,this.schema=r,this.spec=o,this.attrs=xN(o.attrs),this.excluded=null;let i=yN(this.attrs);this.instance=i?new In(this,i):null}create(t=null){return!t&&this.instance?this.instance:new In(this,bN(this.attrs,t))}static compile(t,n){let r=Object.create(null),o=0;return t.forEach((i,a)=>r[i]=new _g(i,o++,n,a)),r}removeFromSet(t){for(var n=0;n-1}}class MN{constructor(t){this.cached=Object.create(null);let n=this.spec={};for(let o in t)n[o]=t[o];n.nodes=zr.from(t.nodes),n.marks=zr.from(t.marks||{}),this.nodes=uM.compile(this.spec.nodes,this),this.marks=_g.compile(this.spec.marks,this);let r=Object.create(null);for(let o in this.nodes){if(o in this.marks)throw new RangeError(o+" can not be both a node and a mark");let i=this.nodes[o],a=i.spec.content||"",s=i.spec.marks;i.contentMatch=r[a]||(r[a]=Tu.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet=s=="_"?null:s?fM(this,s.split(" ")):s==""||!i.inlineContent?[]:null}for(let o in this.marks){let i=this.marks[o],a=i.spec.excludes;i.excluded=a==null?[i]:a==""?[]:fM(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,n=null,r,o){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof uM){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(n,r,o)}text(t,n){let r=this.nodes.text;return new wv(r,r.defaultAttrs,t,In.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeFromJSON(t){return cs.fromJSON(this,t)}markFromJSON(t){return In.fromJSON(this,t)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}}function fM(e,t){let n=[];for(let r=0;r-1)&&n.push(a=c)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}class bd{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[],n.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let o=t.nodes[r.node];return o.contentMatch.matchType(o)})}parse(t,n={}){let r=new hM(this,n,!1);return r.addAll(t,n.from,n.to),r.finish()}parseSlice(t,n={}){let r=new hM(this,n,!0);return r.addAll(t,n.from,n.to),Rt.maxOpen(r.finish())}matchTag(t,n,r){for(let o=r?this.tags.indexOf(r)+1:0;ot.length&&(s.charCodeAt(t.length)!=61||s.slice(t.length+1)!=n))){if(a.getAttrs){let c=a.getAttrs(n);if(c===!1)continue;a.attrs=c||void 0}return a}}}static schemaRules(t){let n=[];function r(o){let i=o.priority==null?50:o.priority,a=0;for(;a{r(a=pM(a)),a.mark||a.ignore||a.clearMark||(a.mark=o)})}for(let o in t.nodes){let i=t.nodes[o].spec.parseDOM;i&&i.forEach(a=>{r(a=pM(a)),a.node||a.ignore||a.mark||(a.node=o)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new bd(t,bd.schemaRules(t)))}}const wN={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},lH={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},LN={ol:!0,ul:!0},Lv=1,Ov=2,dh=4;function dM(e,t,n){return t!=null?(t?Lv:0)|(t==="full"?Ov:0):e&&e.whitespace=="pre"?Lv|Ov:n&~dh}class q1{constructor(t,n,r,o,i,a,s){this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=o,this.solid=i,this.options=s,this.content=[],this.activeMarks=In.none,this.stashMarks=[],this.match=a||(s&dh?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(lt.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,o;return(o=r.findWrapping(t.type))?(this.match=r,o):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&Lv)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-o[0].length))}}let n=lt.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(lt.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}popFromStashMark(t){for(let n=this.stashMarks.length-1;n>=0;n--)if(t.eq(this.stashMarks[n]))return this.stashMarks.splice(n,1)[0]}applyPending(t){for(let n=0,r=this.pendingMarks;nthis.addAll(t)),a&&this.sync(s),this.needsBlock=c}else this.withStyleRules(t,()=>{this.addElementByRule(t,i,i.consuming===!1?o:void 0)})}leafFallback(t){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(` +`))}ignoreFallback(t){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(t){let n=In.none,r=In.none;for(let o=0;o{a.clearMark(s)&&(r=s.addToSet(r))}):n=this.parser.schema.marks[a.mark].create(a.attrs).addToSet(n),a.consuming===!1)i=a;else break}return[n,r]}addElementByRule(t,n,r){let o,i,a;n.node?(i=this.parser.schema.nodes[n.node],i.isLeaf?this.insertNode(i.create(n.attrs))||this.leafFallback(t):o=this.enter(i,n.attrs||null,n.preserveWhitespace)):(a=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(a));let s=this.top;if(i&&i.isLeaf)this.findInside(t);else if(r)this.addElement(t,r);else if(n.getContent)this.findInside(t),n.getContent(t,this.parser.schema).forEach(c=>this.insertNode(c));else{let c=t;typeof n.contentElement=="string"?c=t.querySelector(n.contentElement):typeof n.contentElement=="function"?c=n.contentElement(t):n.contentElement&&(c=n.contentElement),this.findAround(t,c,!0),this.addAll(c)}o&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(t,n,r){let o=n||0;for(let i=n?t.childNodes[n]:t.firstChild,a=r==null?null:t.childNodes[r];i!=a;i=i.nextSibling,++o)this.findAtPoint(t,o),this.addDOM(i);this.findAtPoint(t,o)}findPlace(t){let n,r;for(let o=this.open;o>=0;o--){let i=this.nodes[o],a=i.findWrapping(t);if(a&&(!n||n.length>a.length)&&(n=a,r=i,!a.length)||i.solid)break}if(!n)return!1;this.sync(r);for(let o=0;othis.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let n=this.open;n>=0;n--)if(this.nodes[n]==t)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let o=r.length-1;o>=0;o--)t+=r[o].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let r=0;r-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let n=t.split("/"),r=this.options.context,o=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(o?0:1),a=(s,c)=>{for(;s>=0;s--){let l=n[s];if(l==""){if(s==n.length-1||s==0)continue;for(;c>=i;c--)if(a(s-1,c))return!0;return!1}else{let u=c>0||c==0&&o?this.nodes[c].type:r&&c>=i?r.node(c-i).type:null;if(!u||u.name!=l&&u.groups.indexOf(l)==-1)return!1;c--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(t){let n=hH(t,this.top.pendingMarks);n&&this.top.stashMarks.push(n),this.top.pendingMarks=t.addToSet(this.top.pendingMarks)}removePendingMark(t,n){for(let r=this.open;r>=0;r--){let o=this.nodes[r];if(o.pendingMarks.lastIndexOf(t)>-1)o.pendingMarks=t.removeFromSet(o.pendingMarks);else{o.activeMarks=t.removeFromSet(o.activeMarks);let a=o.popFromStashMark(t);a&&o.type&&o.type.allowsMarkType(a.type)&&(o.activeMarks=a.addToSet(o.activeMarks))}if(o==n)break}}}function cH(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&LN.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function uH(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function fH(e){let t=/\s*([\w-]+)\s*:\s*([^;]+)/g,n,r=[];for(;n=t.exec(e);)r.push(n[1],n[2].trim());return r}function pM(e){let t={};for(let n in e)t[n]=e[n];return t}function dH(e,t){let n=t.schema.nodes;for(let r in n){let o=n[r];if(!o.allowsMarkType(e))continue;let i=[],a=s=>{i.push(s);for(let c=0;c{if(i.length||a.marks.length){let s=0,c=0;for(;s=0;o--){let i=this.serializeMark(t.marks[o],t.isInline,n);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(t,n,r={}){let o=this.marks[t.type.name];return o&&zs.renderSpec(eR(r),o(t,n))}static renderSpec(t,n,r=null){if(typeof n=="string")return{dom:t.createTextNode(n)};if(n.nodeType!=null)return{dom:n};if(n.dom&&n.dom.nodeType!=null)return n;let o=n[0],i=o.indexOf(" ");i>0&&(r=o.slice(0,i),o=o.slice(i+1));let a,s=r?t.createElementNS(r,o):t.createElement(o),c=n[1],l=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){l=2;for(let u in c)if(c[u]!=null){let f=u.indexOf(" ");f>0?s.setAttributeNS(u.slice(0,f),u.slice(f+1),c[u]):s.setAttribute(u,c[u])}}for(let u=l;ul)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}else{let{dom:d,contentDOM:h}=zs.renderSpec(t,f,r);if(s.appendChild(d),h){if(a)throw new RangeError("Multiple content holes");a=h}}}return{dom:s,contentDOM:a}}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new zs(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=mM(t.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(t){return mM(t.marks)}}function mM(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function eR(e){return e.document||window.document}const ON=65535,TN=Math.pow(2,16);function pH(e,t){return e+t*TN}function vM(e){return e&ON}function mH(e){return(e-(e&ON))/TN}const kN=1,NN=2,Fm=4,PN=8;class Y4{constructor(t,n,r){this.pos=t,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&PN)>0}get deletedBefore(){return(this.delInfo&(kN|Fm))>0}get deletedAfter(){return(this.delInfo&(NN|Fm))>0}get deletedAcross(){return(this.delInfo&Fm)>0}}class wi{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&wi.empty)return wi.empty}recover(t){let n=0,r=vM(t);if(!this.inverted)for(let o=0;ot)break;let l=this.ranges[s+i],u=this.ranges[s+a],f=c+l;if(t<=f){let d=l?t==c?-1:t==f?1:n:n,h=c+o+(d<0?0:u);if(r)return h;let p=t==(n<0?c:f)?null:pH(s/3,t-c),m=t==c?NN:t==f?kN:Fm;return(n<0?t!=c:t!=f)&&(m|=PN),new Y4(h,m,p)}o+=u-l}return r?t+o:new Y4(t+o,0,null)}touches(t,n){let r=0,o=vM(n),i=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;st)break;let l=this.ranges[s+i],u=c+l;if(t<=u&&s==o*3)return!0;r+=this.ranges[s+a]-l}return!1}forEach(t){let n=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,i=0;o=0;n--){let o=t.getMirror(n);this.appendMap(t.maps[n].invert(),o!=null&&o>n?r-o-1:void 0)}}invert(){let t=new ad;return t.appendMappingInverted(this),t}map(t,n=1){if(this.mirror)return this._map(t,n,!0);for(let r=this.from;ri&&c!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),o),n.openStart,n.openEnd);return Cr.fromReplace(t,this.from,this.to,i)}invert(){return new as(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new jl(n.pos,r.pos,this.mark)}merge(t){return t instanceof jl&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new jl(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new jl(n.from,n.to,t.markFromJSON(n.mark))}}Ao.jsonID("addMark",jl);class as extends Ao{constructor(t,n,r){super(),this.from=t,this.to=n,this.mark=r}apply(t){let n=t.slice(this.from,this.to),r=new Rt(lx(n.content,o=>o.mark(this.mark.removeFromSet(o.marks)),t),n.openStart,n.openEnd);return Cr.fromReplace(t,this.from,this.to,r)}invert(){return new jl(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new as(n.pos,r.pos,this.mark)}merge(t){return t instanceof as&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new as(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new as(n.from,n.to,t.markFromJSON(n.mark))}}Ao.jsonID("removeMark",as);class ql extends Ao{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return Cr.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Cr.fromReplace(t,this.pos,this.pos+1,new Rt(lt.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let o=0;or.pos?null:new ro(n.pos,r.pos,o,i,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new ro(n.from,n.to,n.gapFrom,n.gapTo,Rt.fromJSON(t,n.slice),n.insert,!!n.structure)}}Ao.jsonID("replaceAround",ro);function Q4(e,t,n){let r=e.resolve(t),o=n-t,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let a=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,o--}}return!1}function vH(e,t,n,r){let o=[],i=[],a,s;e.doc.nodesBetween(t,n,(c,l,u)=>{if(!c.isInline)return;let f=c.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){let d=Math.max(l,t),h=Math.min(l+c.nodeSize,n),p=r.addToSet(f);for(let m=0;me.step(c)),i.forEach(c=>e.step(c))}function gH(e,t,n,r){let o=[],i=0;e.doc.nodesBetween(t,n,(a,s)=>{if(!a.isInline)return;i++;let c=null;if(r instanceof _g){let l=a.marks,u;for(;u=r.isInSet(l);)(c||(c=[])).push(u),l=u.removeFromSet(l)}else r?r.isInSet(a.marks)&&(c=[r]):c=a.marks;if(c&&c.length){let l=Math.min(s+a.nodeSize,n);for(let u=0;ue.step(new as(a.from,a.to,a.style)))}function AH(e,t,n,r=n.contentMatch){let o=e.doc.nodeAt(t),i=[],a=t+1;for(let s=0;s=0;s--)e.step(i[s])}function RH(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function bp(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth;;--r){let o=e.$from.node(r),i=e.$from.index(r),a=e.$to.indexAfter(r);if(rn;p--)m||r.index(p)>0?(m=!0,u=lt.from(r.node(p).copy(u)),f++):c--;let d=lt.empty,h=0;for(let p=i,m=!1;p>n;p--)m||o.after(p+1)=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=lt.from(n[a].type.create(n[a].attrs,r))}let o=t.start,i=t.end;e.step(new ro(o,i,o,i,new Rt(r,0,0),n.length,!0))}function MH(e,t,n,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=e.steps.length;e.doc.nodesBetween(t,n,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(r,o)&&wH(e.doc,e.mapping.slice(i).map(s),r)){e.clearIncompatible(e.mapping.slice(i).map(s,1),r);let c=e.mapping.slice(i),l=c.map(s,1),u=c.map(s+a.nodeSize,1);return e.step(new ro(l,u,l+1,u-1,new Rt(lt.from(r.create(o,null,a.marks)),0,0),1,!0)),!1}})}function wH(e,t,n){let r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}function LH(e,t,n,r,o){let i=e.doc.nodeAt(t);if(!i)throw new RangeError("No node at given position");n||(n=i.type);let a=n.create(r,null,o||i.marks);if(i.isLeaf)return e.replaceWith(t,t+i.nodeSize,a);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new ro(t,t+i.nodeSize,t+1,t+i.nodeSize-1,new Rt(lt.from(a),0,0),1,!0))}function sd(e,t,n=1,r){let o=e.resolve(t),i=o.depth-n,a=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!a.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let l=o.depth-1,u=n-2;l>i;l--,u--){let f=o.node(l),d=o.index(l);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(d,f.childCount),p=r&&r[u+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let m=r&&r[u]||f;if(!f.canReplace(d+1,f.childCount)||!m.type.validContent(h))return!1}let s=o.indexAfter(i),c=r&&r[0];return o.node(i).canReplaceWith(s,s,c?c.type:o.node(i+1).type)}function OH(e,t,n=1,r){let o=e.doc.resolve(t),i=lt.empty,a=lt.empty;for(let s=o.depth,c=o.depth-n,l=n-1;s>c;s--,l--){i=lt.from(o.node(s).copy(i));let u=r&&r[l];a=lt.from(u?u.type.create(u.attrs,a):o.node(s).copy(a))}e.step(new uo(t,t,new Rt(i.append(a),n,n),!0))}function Vd(e,t){let n=e.resolve(t),r=n.index();return CN(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function CN(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function IN(e,t,n=-1){let r=e.resolve(t);for(let o=r.depth;;o--){let i,a,s=r.index(o);if(o==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(o+1),s++,a=r.node(o).maybeChild(s)):(i=r.node(o).maybeChild(s-1),a=r.node(o+1)),i&&!i.isTextblock&&CN(i,a)&&r.node(o).canReplace(s,s+1))return t;if(o==0)break;t=n<0?r.before(o):r.after(o)}}function TH(e,t,n){let r=new uo(t-n,t+n,Rt.empty,!0);e.step(r)}function kH(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let o=r.depth-1;o>=0;o--){let i=r.index(o);if(r.node(o).canReplaceWith(i,i,n))return r.before(o+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let i=r.indexAfter(o);if(r.node(o).canReplaceWith(i,i,n))return r.after(o+1);if(i=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,c=r.index(a)+(s>0?1:0),l=r.node(a),u=!1;if(i==1)u=l.canReplace(c,c,o);else{let f=l.contentMatchAt(c).findWrapping(o.firstChild.type);u=f&&l.canReplaceWith(c,c,f[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function ux(e,t,n=t,r=Rt.empty){if(t==n&&!r.size)return null;let o=e.resolve(t),i=e.resolve(n);return _N(o,i,r)?new uo(t,n,r):new NH(o,i,r).fit()}function _N(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}class NH{constructor(t,n,r){this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=lt.empty;for(let o=0;o<=t.depth;o++){let i=t.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(t.indexAfter(o))})}for(let o=t.depth;o>0;o--)this.placed=lt.from(t.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let l=this.findFittable();l?this.placeNodes(l):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,o=this.close(t<0?this.$to:r.doc.resolve(t));if(!o)return null;let i=this.placed,a=r.depth,s=o.depth;for(;a&&s&&i.childCount==1;)i=i.firstChild.content,a--,s--;let c=new Rt(i,a,s);return t>-1?new ro(r.pos,t,this.$to.pos,this.$to.end(),c,n):c.size||r.pos!=this.$to.pos?new uo(r.pos,o.pos,c):null}findFittable(){let t=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,o=this.unplaced.openEnd;r1&&(o=0),i.type.spec.isolating&&o<=r){t=r;break}n=i.content}for(let n=1;n<=2;n++)for(let r=n==1?t:this.unplaced.openStart;r>=0;r--){let o,i=null;r?(i=nR(this.unplaced.content,r-1).firstChild,o=i.content):o=this.unplaced.content;let a=o.firstChild;for(let s=this.depth;s>=0;s--){let{type:c,match:l}=this.frontier[s],u,f=null;if(n==1&&(a?l.matchType(a.type)||(f=l.fillBefore(lt.from(a),!1)):i&&c.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:s,parent:i,inject:f};if(n==2&&a&&(u=l.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:i,wrap:u};if(i&&l.matchType(i.type))break}}}openMore(){let{content:t,openStart:n,openEnd:r}=this.unplaced,o=nR(t,n);return!o.childCount||o.firstChild.isLeaf?!1:(this.unplaced=new Rt(t,n+1,Math.max(r,o.size+n>=t.size-r?n+1:0)),!0)}dropNode(){let{content:t,openStart:n,openEnd:r}=this.unplaced,o=nR(t,n);if(o.childCount<=1&&n>0){let i=t.size-n<=n+o.size;this.unplaced=new Rt(P0(t,n-1,1),n-1,i?n-1:r)}else this.unplaced=new Rt(P0(t,n,1),n,r)}placeNodes({sliceDepth:t,frontierDepth:n,parent:r,inject:o,wrap:i}){for(;this.depth>n;)this.closeFrontierNode();if(i)for(let m=0;m1||c==0||m.content.size)&&(f=A,u.push(EN(m.mark(d.allowedMarks(m.marks)),l==1?c:0,l==s.childCount?h:-1)))}let p=l==s.childCount;p||(h=-1),this.placed=C0(this.placed,n,lt.from(u)),this.frontier[n].match=f,p&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,A=s;m1&&o==this.$to.end(--r);)++o;return o}findCloseLevel(t){e:for(let n=Math.min(this.depth,t.depth);n>=0;n--){let{match:r,type:o}=this.frontier[n],i=n=0;s--){let{match:c,type:l}=this.frontier[s],u=rR(t,s,l,c,!0);if(!u||u.childCount)continue e}return{depth:n,fit:a,move:i?t.doc.resolve(t.after(n+1)):t}}}}close(t){let n=this.findCloseLevel(t);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=C0(this.placed,n.depth,n.fit)),t=n.move;for(let r=n.depth+1;r<=t.depth;r++){let o=t.node(r),i=o.type.contentMatch.fillBefore(o.content,!0,t.index(r));this.openFrontierNode(o.type,o.attrs,i)}return t}openFrontierNode(t,n=null,r){let o=this.frontier[this.depth];o.match=o.match.matchType(t),this.placed=C0(this.placed,this.depth,lt.from(t.create(n,r))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(lt.empty,!0);n.childCount&&(this.placed=C0(this.placed,this.frontier.length,n))}}function P0(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(P0(e.firstChild.content,t-1,n)))}function C0(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(C0(e.lastChild.content,t-1,n)))}function nR(e,t){for(let n=0;n1&&(r=r.replaceChild(0,EN(r.firstChild,t-1,r.childCount==1?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(lt.empty,!0)))),e.copy(r)}function rR(e,t,n,r,o){let i=e.node(t),a=o?e.indexAfter(t):e.index(t);if(a==i.childCount&&!n.compatibleContent(i.type))return null;let s=r.fillBefore(i.content,!0,a);return s&&!PH(n,i.content,a)?s:null}function PH(e,t,n){for(let r=n;r0;d--,h--){let p=o.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(d)>-1?s=d:o.before(d)==h&&a.splice(1,0,-d)}let c=a.indexOf(s),l=[],u=r.openStart;for(let d=r.content,h=0;;h++){let p=d.firstChild;if(l.push(p),h==r.openStart)break;d=p.content}for(let d=u-1;d>=0;d--){let h=l[d],p=CH(h.type);if(p&&!h.sameMarkup(o.node(Math.abs(s)-1)))u=d;else if(p||!h.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let h=(d+u+1)%(r.openStart+1),p=l[h];if(p)for(let m=0;m=0&&(e.replace(t,n,r),!(e.steps.length>f));d--){let h=a[d];h<0||(t=o.before(h),n=i.after(h))}}function XN(e,t,n,r,o){if(tr){let i=o.contentMatchAt(0),a=i.fillBefore(e).append(e);e=a.append(i.matchFragment(a).fillBefore(lt.empty,!0))}return e}function FH(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let o=kH(e.doc,t,r.type);o!=null&&(t=n=o)}e.replaceRange(t,n,new Rt(lt.from(r),0,0))}function _H(e,t,n){let r=e.doc.resolve(t),o=e.doc.resolve(n),i=WN(r,o);for(let a=0;a0&&(c||r.node(s-1).canReplace(r.index(s-1),o.indexAfter(s-1))))return e.delete(r.before(s),o.after(s))}for(let a=1;a<=r.depth&&a<=o.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&o.end(a)-n!=o.depth-a)return e.delete(r.before(a),n);e.delete(t,n)}function WN(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let o=r;o>=0;o--){let i=e.start(o);if(it.pos+(t.depth-o)||e.node(o).type.spec.isolating||t.node(o).type.spec.isolating)break;(i==t.start(o)||o==e.depth&&o==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&o&&t.start(o-1)==i-1)&&n.push(o)}return n}class ld extends Ao{constructor(t,n,r){super(),this.pos=t,this.attr=n,this.value=r}apply(t){let n=t.nodeAt(this.pos);if(!n)return Cr.fail("No node at attribute step's position");let r=Object.create(null);for(let i in n.attrs)r[i]=n.attrs[i];r[this.attr]=this.value;let o=n.type.create(r,null,n.marks);return Cr.fromReplace(t,this.pos,this.pos+1,new Rt(lt.from(o),0,n.isLeaf?0:1))}getMap(){return wi.empty}invert(t){return new ld(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new ld(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new ld(n.pos,n.attr,n.value)}}Ao.jsonID("attr",ld);class Hh extends Ao{constructor(t,n){super(),this.attr=t,this.value=n}apply(t){let n=Object.create(null);for(let o in t.attrs)n[o]=t.attrs[o];n[this.attr]=this.value;let r=t.type.create(n,t.content,t.marks);return Cr.ok(r)}getMap(){return wi.empty}invert(t){return new Hh(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Hh(n.attr,n.value)}}Ao.jsonID("docAttr",Hh);let Sd=class extends Error{};Sd=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n};Sd.prototype=Object.create(Error.prototype);Sd.prototype.constructor=Sd;Sd.prototype.name="TransformError";let EH=class{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new ad}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let n=this.maybeStep(t);if(n.failed)throw new Sd(n.failed);return this}maybeStep(t){let n=t.apply(this.doc);return n.failed||this.addStep(t,n.doc),n}get docChanged(){return this.steps.length>0}addStep(t,n){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=n}replace(t,n=t,r=Rt.empty){let o=ux(this.doc,t,n,r);return o&&this.step(o),this}replaceWith(t,n,r){return this.replace(t,n,new Rt(lt.from(r),0,0))}delete(t,n){return this.replace(t,n,Rt.empty)}insert(t,n){return this.replaceWith(t,t,n)}replaceRange(t,n,r){return IH(this,t,n,r),this}replaceRangeWith(t,n,r){return FH(this,t,n,r),this}deleteRange(t,n){return _H(this,t,n),this}lift(t,n){return yH(this,t,n),this}join(t,n=1){return TH(this,t,n),this}wrap(t,n){return SH(this,t,n),this}setBlockType(t,n=t,r,o=null){return MH(this,t,n,r,o),this}setNodeMarkup(t,n,r=null,o){return LH(this,t,n,r,o),this}setNodeAttribute(t,n,r){return this.step(new ld(t,n,r)),this}setDocAttribute(t,n){return this.step(new Hh(t,n)),this}addNodeMark(t,n){return this.step(new ql(t,n)),this}removeNodeMark(t,n){if(!(n instanceof In)){let r=this.doc.nodeAt(t);if(!r)throw new RangeError("No node at position "+t);if(n=n.isInSet(r.marks),!n)return this}return this.step(new xd(t,n)),this}split(t,n=1,r){return OH(this,t,n,r),this}addMark(t,n,r){return vH(this,t,n,r),this}removeMark(t,n,r){return gH(this,t,n,r),this}clearIncompatible(t,n,r){return AH(this,t,n,r),this}};const oR=Object.create(null);class bn{constructor(t,n,r){this.$anchor=t,this.$head=n,this.ranges=r||[new XH(t.min(n),t.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let n=0;n=0;i--){let a=n<0?Cf(t.node(0),t.node(i),t.before(i+1),t.index(i),n,r):Cf(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,n,r);if(a)return a}return null}static near(t,n=1){return this.findFrom(t,n)||this.findFrom(t,-n)||new qo(t.node(0))}static atStart(t){return Cf(t,t,0,0,1)||new qo(t)}static atEnd(t){return Cf(t,t,t.content.size,t.childCount,-1)||new qo(t)}static fromJSON(t,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=oR[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(t,n)}static jsonID(t,n){if(t in oR)throw new RangeError("Duplicate use of selection JSON ID "+t);return oR[t]=n,n.prototype.jsonID=t,n}getBookmark(){return Xn.between(this.$anchor,this.$head).getBookmark()}}bn.prototype.visible=!0;class XH{constructor(t,n){this.$from=t,this.$to=n}}let AM=!1;function RM(e){!AM&&!e.parent.inlineContent&&(AM=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class Xn extends bn{constructor(t,n=t){RM(t),RM(n),super(t,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return bn.near(r);let o=t.resolve(n.map(this.anchor));return new Xn(o.parent.inlineContent?o:r,r)}replace(t,n=Rt.empty){if(super.replace(t,n),n==Rt.empty){let r=this.$from.marksAcross(this.$to);r&&t.ensureMarks(r)}}eq(t){return t instanceof Xn&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new Eg(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Xn(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){let o=t.resolve(n);return new this(o,r==n?o:t.resolve(r))}static between(t,n,r){let o=t.pos-n.pos;if((!r||o)&&(r=o>=0?1:-1),!n.parent.inlineContent){let i=bn.findFrom(n,r,!0)||bn.findFrom(n,-r,!0);if(i)n=i.$head;else return bn.near(n,r)}return t.parent.inlineContent||(o==0?t=n:(t=(bn.findFrom(t,-r,!0)||bn.findFrom(t,r,!0)).$anchor,t.pos0?0:1);o>0?a=0;a+=o){let s=t.child(a);if(s.isAtom){if(!i&&Yt.isSelectable(s))return Yt.create(e,n-(o<0?s.nodeSize:0))}else{let c=Cf(e,s,n+o,o<0?s.childCount:0,o,i);if(c)return c}n+=s.nodeSize*o}return null}function yM(e,t,n){let r=e.steps.length-1;if(r{a==null&&(a=u)}),e.setSelection(bn.near(e.doc.resolve(a),n))}const bM=1,em=2,xM=4;let VH=class extends EH{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=em,this}ensureMarks(t){return In.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&em)>0}addStep(t,n){super.addStep(t,n),this.updated=this.updated&~em,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,n=!0){let r=this.selection;return n&&(t=t.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||In.none))),r.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,n,r){let o=this.doc.type.schema;if(n==null)return t?this.replaceSelectionWith(o.text(t),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!t)return this.deleteRange(n,r);let i=this.storedMarks;if(!i){let a=this.doc.resolve(n);i=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,o.text(t,i)),this.selection.empty||this.setSelection(bn.near(this.selection.$to)),this}}setMeta(t,n){return this.meta[typeof t=="string"?t:t.key]=n,this}getMeta(t){return this.meta[typeof t=="string"?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=xM,this}get scrolledIntoView(){return(this.updated&xM)>0}};function SM(e,t){return!t||!e?e:e.bind(t)}class I0{constructor(t,n,r){this.name=t,this.init=SM(n.init,r),this.apply=SM(n.apply,r)}}const UH=[new I0("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new I0("selection",{init(e,t){return e.selection||bn.atStart(t.doc)},apply(e){return e.selection}}),new I0("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new I0("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class iR{constructor(t,n){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=UH.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new I0(r.key,r.spec.state,r))})}}class Bf{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,n=-1){for(let r=0;rr.toJSON())),t&&typeof t=="object")for(let r in t){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let o=t[r],i=o.spec.state;i&&i.toJSON&&(n[r]=i.toJSON.call(o,this[o.key]))}return n}static fromJSON(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let o=new iR(t.schema,t.plugins),i=new Bf(o);return o.fields.forEach(a=>{if(a.name=="doc")i.doc=cs.fromJSON(t.schema,n.doc);else if(a.name=="selection")i.selection=bn.fromJSON(i.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(i.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let s in r){let c=r[s],l=c.spec.state;if(c.key==a.name&&l&&l.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){i[a.name]=l.fromJSON.call(c,t,n[s],i);return}}i[a.name]=a.init(t,i)}}),i}}function VN(e,t,n){for(let r in e){let o=e[r];o instanceof Function?o=o.bind(t):r=="handleDOMEvents"&&(o=VN(o,t,{})),n[r]=o}return n}class Ud{constructor(t){this.spec=t,this.props={},t.props&&VN(t.props,this,this.props),this.key=t.key?t.key.key:UN("plugin")}getState(t){return t[this.key]}}const aR=Object.create(null);function UN(e){return e in aR?e+"$"+ ++aR[e]:(aR[e]=0,e+"$")}class YN{constructor(t="key"){this.key=UN(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const QN=(e,t)=>e.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function YH(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const QH=(e,t,n)=>{let r=YH(e,n);if(!r)return!1;let o=ZN(r);if(!o){let a=r.blockRange(),s=a&&bp(a);return s==null?!1:(t&&t(e.tr.lift(a,s).scrollIntoView()),!0)}let i=o.nodeBefore;if(!i.type.spec.isolating&&zN(e,o,t))return!0;if(r.parent.content.size==0&&(Md(i,"end")||Yt.isSelectable(i))){let a=ux(e.doc,r.before(),r.after(),Rt.empty);if(a&&a.slice.size{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;i=ZN(r)}let a=i&&i.nodeBefore;return!a||!Yt.isSelectable(a)?!1:(t&&t(e.tr.setSelection(Yt.create(e.doc,i.pos-a.nodeSize)).scrollIntoView()),!0)};function ZN(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function BH(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset{let r=BH(e,n);if(!r)return!1;let o=BN(r);if(!o)return!1;let i=o.nodeAfter;if(zN(e,o,t))return!0;if(r.parent.content.size==0&&(Md(i,"start")||Yt.isSelectable(i))){let a=ux(e.doc,r.before(),r.after(),Rt.empty);if(a&&a.slice.size{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset=0;t--){let n=e.node(t);if(e.index(t)+1{let n=e.selection,r=n instanceof Yt,o;if(r){if(n.node.isTextblock||!Vd(e.doc,n.from))return!1;o=n.from}else if(o=IN(e.doc,n.from,-1),o==null)return!1;if(t){let i=e.tr.join(o);r&&i.setSelection(Yt.create(i.doc,o-e.doc.resolve(o).nodeBefore.nodeSize)),t(i.scrollIntoView())}return!0},GH=(e,t)=>{let n=e.selection,r;if(n instanceof Yt){if(n.node.isTextblock||!Vd(e.doc,n.to))return!1;r=n.to}else if(r=IN(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},JH=(e,t)=>{let{$from:n,$to:r}=e.selection,o=n.blockRange(r),i=o&&bp(o);return i==null?!1:(t&&t(e.tr.lift(o,i).scrollIntoView()),!0)},DN=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(` +`).scrollIntoView()),!0)};function dx(e){for(let t=0;t{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let o=n.node(-1),i=n.indexAfter(-1),a=dx(o.contentMatchAt(i));if(!a||!o.canReplaceWith(i,i,a))return!1;if(t){let s=n.after(),c=e.tr.replaceWith(s,s,a.createAndFill());c.setSelection(bn.near(c.doc.resolve(s),1)),t(c.scrollIntoView())}return!0},KN=(e,t)=>{let n=e.selection,{$from:r,$to:o}=n;if(n instanceof qo||r.parent.inlineContent||o.parent.inlineContent)return!1;let i=dx(o.parent.contentMatchAt(o.indexAfter()));if(!i||!i.isTextblock)return!1;if(t){let a=(!r.parentOffset&&o.index(){let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if(sd(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let r=n.blockRange(),o=r&&bp(r);return o==null?!1:(t&&t(e.tr.lift(r,o).scrollIntoView()),!0)};function $H(e){return(t,n)=>{let{$from:r,$to:o}=t.selection;if(t.selection instanceof Yt&&t.selection.node.isBlock)return!r.parentOffset||!sd(t.doc,r.pos)?!1:(n&&n(t.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let i=o.parentOffset==o.parent.content.size,a=t.tr;(t.selection instanceof Xn||t.selection instanceof qo)&&a.deleteSelection();let s=r.depth==0?null:dx(r.node(-1).contentMatchAt(r.indexAfter(-1))),c=e&&e(o.parent,i),l=c?[c]:i&&s?[{type:s}]:void 0,u=sd(a.doc,a.mapping.map(r.pos),1,l);if(!l&&!u&&sd(a.doc,a.mapping.map(r.pos),1,s?[{type:s}]:void 0)&&(s&&(l=[{type:s}]),u=!0),u&&(a.split(a.mapping.map(r.pos),1,l),!i&&!r.parentOffset&&r.parent.type!=s)){let f=a.mapping.map(r.before()),d=a.doc.resolve(f);s&&r.node(-1).canReplaceWith(d.index(),d.index()+1,s)&&a.setNodeMarkup(a.mapping.map(r.before()),s)}n(a.scrollIntoView())}return!0}}const GN=$H(),jH=(e,t)=>GN(e,t&&(n=>{let r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();r&&n.ensureMarks(r),t(n)})),qH=(e,t)=>{let{$from:n,to:r}=e.selection,o,i=n.sharedDepth(r);return i==0?!1:(o=n.before(i),t&&t(e.tr.setSelection(Yt.create(e.doc,o))),!0)},JN=(e,t)=>(t&&t(e.tr.setSelection(new qo(e.doc))),!0);function eG(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i=t.index();return!r||!o||!r.type.compatibleContent(o.type)?!1:!r.content.size&&t.parent.canReplace(i-1,i)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(i,i+1)||!(o.isTextblock||Vd(e.doc,t.pos))?!1:(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),!0)}function zN(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i,a;if(r.type.spec.isolating||o.type.spec.isolating)return!1;if(eG(e,t,n))return!0;let s=t.parent.canReplace(t.index(),t.index()+1);if(s&&(i=(a=r.contentMatchAt(r.childCount)).findWrapping(o.type))&&a.matchType(i[0]||o.type).validEnd){if(n){let f=t.pos+o.nodeSize,d=lt.empty;for(let m=i.length-1;m>=0;m--)d=lt.from(i[m].create(null,d));d=lt.from(r.copy(d));let h=e.tr.step(new ro(t.pos-1,f,t.pos,f,new Rt(d,1,0),i.length,!0)),p=f+2*i.length;Vd(h.doc,p)&&h.join(p),n(h.scrollIntoView())}return!0}let c=bn.findFrom(t,1),l=c&&c.$from.blockRange(c.$to),u=l&&bp(l);if(u!=null&&u>=t.depth)return n&&n(e.tr.lift(l,u).scrollIntoView()),!0;if(s&&Md(o,"start",!0)&&Md(r,"end")){let f=r,d=[];for(;d.push(f),!f.isTextblock;)f=f.lastChild;let h=o,p=1;for(;!h.isTextblock;h=h.firstChild)p++;if(f.canReplace(f.childCount,f.childCount,h.content)){if(n){let m=lt.empty;for(let x=d.length-1;x>=0;x--)m=lt.from(d[x].copy(m));let A=e.tr.step(new ro(t.pos-d.length,t.pos+o.nodeSize,t.pos+p,t.pos+o.nodeSize-p,new Rt(m,d.length,0),0,!0));n(A.scrollIntoView())}return!0}}return!1}function $N(e){return function(t,n){let r=t.selection,o=e<0?r.$from:r.$to,i=o.depth;for(;o.node(i).isInline;){if(!i)return!1;i--}return o.node(i).isTextblock?(n&&n(t.tr.setSelection(Xn.create(t.doc,e<0?o.start(i):o.end(i)))),!0):!1}}const tG=$N(-1),nG=$N(1);function rG(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=a&&cx(a,e,t);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function oG(e,t,n){for(let r=0;r{if(a)return!1;a=s.inlineContent&&s.type.allowsMarkType(n)}),a)return!0}return!1}function kr(e,t=null){return function(n,r){let{empty:o,$cursor:i,ranges:a}=n.selection;if(o&&!i||!oG(n.doc,a,e))return!1;if(r)if(i)e.isInSet(n.storedMarks||i.marks())?r(n.tr.removeStoredMark(e)):r(n.tr.addStoredMark(e.create(t)));else{let s=!1,c=n.tr;for(let l=0;!s&&le.type===t.nodes.bullet_list||e.type===t.nodes.ordered_list,Er=e=>{const{empty:t}=e.state.selection;t&&JN(e.state,e.dispatch)},Ka=(e,t,n)=>{if(n)e.dispatch(e.state.tr.addMark(n.from,n.to,t));else{const{$from:r,$to:o}=e.state.selection;e.dispatch(e.state.tr.addMark(r.pos,o.pos,t))}},sG=(e,t,n,r)=>{let o=t;const i=d=>d.type===r;let a=null,s=null,c=null;for(;o<=n;){const d=e.nodeAt(o);if(!d||!d.marks)return null;const h=d.marks.find(i);if(!h||a&&h!==a)return null;s=s||d,a=a||h,c=d,o++}let l=t,u=n,f=0;for(o=t-1;o>f;){const d=e.nodeAt(o),h=d&&d.marks.find(i);if(!h||h!==a)break;l=o,s=d,o--}for(o=n+1,f=e.nodeSize-2;oArray.isArray(e)&&e.indexOf(t.type)>-1||t.type===e,cG=(e,t)=>{for(let n=e.depth;n>0;n--){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}},qN=e=>t=>cG(t.$from,e),uG=e=>t=>qN(n=>lG(e,n))(t),_m=(e,t)=>{const n=t.schema.nodes[e];return!!uG(n)(t.selection)},eP=e=>e?e.type.name==="text"?e:e.lastChild?eP(e.lastChild):null:null,tP=e=>{const{selection:t,doc:n}=e.state,{from:r}=t;let o=n.nodeAt(r)||n.nodeAt(r-1);return o=eP(o),(o==null?void 0:o.marks)||[]},If=(e,t,n)=>{for(const r of e)if(r.type.name===t&&r.attrs[n])return r.attrs[n];return null},Uc=(e,t)=>{for(const n of e)if(n.type.name===t)return!0;return!1},fG=(e,t)=>{const{from:n,$from:r,to:o,empty:i}=e.selection;return i?t.isInSet(e.storedMarks||r.marks()):e.doc.rangeHasMark(n,o,t)},dG=(e,t)=>{const{selection:n,doc:r}=e.state,{from:o,to:i}=n;let a=!0,s="";return r.nodesBetween(o,i,c=>(a&&c.attrs[t]&&(a=!1,s=c.attrs[t]),a)),s},nP={color:"#000",backcolor:"",fontsize:"20px",fontname:"微软雅黑",align:"left"},Z4=(e,t={})=>{const n={...nP,...t},r=tP(e),o=Uc(r,"strong"),i=Uc(r,"em"),a=Uc(r,"underline"),s=Uc(r,"strikethrough"),c=Uc(r,"superscript"),l=Uc(r,"subscript"),u=Uc(r,"code"),f=If(r,"forecolor","color")||n.color,d=If(r,"backcolor","backcolor")||n.backcolor,h=If(r,"fontsize","fontsize")||n.fontsize,p=If(r,"fontname","fontname")||n.fontname,m=If(r,"link","href")||"",A=dG(e,"align")||n.align,x=_m("bullet_list",e.state),y=_m("ordered_list",e.state),R=_m("blockquote",e.state);return{bold:o,em:i,underline:a,strikethrough:s,superscript:c,subscript:l,code:u,color:f,backcolor:d,fontsize:h,fontname:p,link:m,align:A,bulletList:x,orderedList:y,blockquote:R}},wM=e=>{const t=tP(e),n=If(t,"fontsize","fontsize")||nP.fontsize;return parseInt(n)},hG={bold:!1,em:!1,underline:!1,strikethrough:!1,superscript:!1,subscript:!1,code:!1,color:"#000",backcolor:"",fontsize:"20px",fontname:"微软雅黑",link:"",align:"left",bulletList:!1,orderedList:!1,blockquote:!1},B4=[{label:"Arial",value:"Arial"},{label:"微软雅黑",value:"Microsoft Yahei"},{label:"宋体",value:"SimSun"},{label:"黑体",value:"SimHei"},{label:"楷体",value:"KaiTi"},{label:"新宋体",value:"NSimSun"},{label:"仿宋",value:"FangSong"},{label:"苹方",value:"PingFang SC"},{label:"华文黑体",value:"STHeiti"},{label:"华文楷体",value:"STKaiti"},{label:"华文宋体",value:"STSong"},{label:"华文仿宋",value:"STFangSong"},{label:"华文中宋",value:"STZhongSong"},{label:"华文琥珀",value:"STHupo"},{label:"华文新魏",value:"STXinwei"},{label:"华文隶书",value:"STLiti"},{label:"华文行楷",value:"STXingkai"},{label:"冬青黑体",value:"Hiragino Sans GB"},{label:"兰亭黑",value:"Lantinghei SC"},{label:"偏偏体",value:"Hanzipen SC"},{label:"手札体",value:"Hannotate SC"},{label:"宋体",value:"Songti SC"},{label:"娃娃体",value:"Wawati SC"},{label:"行楷",value:"Xingkai SC"},{label:"圆体",value:"Yuanti SC"},{label:"华文细黑",value:"STXihei"},{label:"幼圆",value:"YouYuan"},{label:"隶书",value:"LiSu"}],xp=[{label:"得意黑",value:"得意黑"},{label:"仓耳小丸子",value:"仓耳小丸子"},{label:"优设标题黑",value:"优设标题黑"},{label:"峰广明锐体",value:"峰广明锐体"},{label:"摄图摩登小方体",value:"摄图摩登小方体"},{label:"站酷快乐体",value:"站酷快乐体"},{label:"字制区喜脉体",value:"字制区喜脉体"},{label:"素材集市康康体",value:"素材集市康康体"},{label:"素材集市酷方体",value:"素材集市酷方体"},{label:"途牛类圆体",value:"途牛类圆体"},{label:"锐字真言体",value:"锐字真言体"}],pG=e=>{if(typeof e!="string")return!1;const t="Arial";if(e.toLowerCase()===t.toLowerCase())return!0;const n=100,r=100,o=100,i="a",a=document.createElement("canvas"),s=a.getContext("2d",{willReadFrequently:!0});if(!s)return!1;a.width=r,a.height=o,s.textAlign="center",s.fillStyle="black",s.textBaseline="middle";const c=l=>{s.clearRect(0,0,r,o),s.font=`${n}px ${l}, ${t}`,s.fillText(i,r/2,o/2);const u=s.getImageData(0,0,r,o).data;return[].slice.call(u).filter(f=>f!==0)};return c(t).join("")!==c(e).join("")};function kv(e){"@babel/helpers - typeof";return kv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kv(e)}var mG=/^\s+/,vG=/\s+$/;function rt(e,t){if(e=e||"",t=t||{},e instanceof rt)return e;if(!(this instanceof rt))return new rt(e,t);var n=gG(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}rt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),n,r,o,i,a,s;return n=t.r/255,r=t.g/255,o=t.b/255,n<=.03928?i=n/12.92:i=Math.pow((n+.055)/1.055,2.4),r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),o<=.03928?s=o/12.92:s=Math.pow((o+.055)/1.055,2.4),.2126*i+.7152*a+.0722*s},setAlpha:function(t){return this._a=rP(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=OM(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=OM(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+o+"%)":"hsva("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=LM(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=LM(this._r,this._g,this._b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+o+"%)":"hsla("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return TM(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return bG(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(tr(this._r,255)*100)+"%",g:Math.round(tr(this._g,255)*100)+"%",b:Math.round(tr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(tr(this._r,255)*100)+"%, "+Math.round(tr(this._g,255)*100)+"%, "+Math.round(tr(this._b,255)*100)+"%)":"rgba("+Math.round(tr(this._r,255)*100)+"%, "+Math.round(tr(this._g,255)*100)+"%, "+Math.round(tr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:IG[TM(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+kM(this._r,this._g,this._b,this._a),r=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var i=rt(t);r="#"+kM(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+r+")"},toString:function(t){var n=!!t;t=t||this._format;var r=!1,o=this._a<1&&this._a>=0,i=!n&&o&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return i?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return rt(this.toString())},_applyModification:function(t,n){var r=t.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(wG,arguments)},brighten:function(){return this._applyModification(LG,arguments)},darken:function(){return this._applyModification(OG,arguments)},desaturate:function(){return this._applyModification(xG,arguments)},saturate:function(){return this._applyModification(SG,arguments)},greyscale:function(){return this._applyModification(MG,arguments)},spin:function(){return this._applyModification(TG,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(PG,arguments)},complement:function(){return this._applyCombination(kG,arguments)},monochromatic:function(){return this._applyCombination(CG,arguments)},splitcomplement:function(){return this._applyCombination(NG,arguments)},triad:function(){return this._applyCombination(NM,[3])},tetrad:function(){return this._applyCombination(NM,[4])}};rt.fromRatio=function(e,t){if(kv(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=F0(e[r]));e=n}return rt(e,t)};function gG(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=XG(e)),kv(e)=="object"&&(Fs(e.r)&&Fs(e.g)&&Fs(e.b)?(t=AG(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Fs(e.h)&&Fs(e.s)&&Fs(e.v)?(r=F0(e.s),o=F0(e.v),t=yG(e.h,r,o),a=!0,s="hsv"):Fs(e.h)&&Fs(e.s)&&Fs(e.l)&&(r=F0(e.s),i=F0(e.l),t=RG(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=rP(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function AG(e,t,n){return{r:tr(e,255)*255,g:tr(t,255)*255,b:tr(n,255)*255}}function LM(e,t,n){e=tr(e,255),t=tr(t,255),n=tr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,a,s=(r+o)/2;if(r==o)i=a=0;else{var c=r-o;switch(a=s>.5?c/(2-r-o):c/(r+o),r){case e:i=(t-n)/c+(t1&&(f-=1),f<1/6?l+(u-l)*6*f:f<1/2?u:f<2/3?l+(u-l)*(2/3-f)*6:l}if(t===0)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function OM(e,t,n){e=tr(e,255),t=tr(t,255),n=tr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,a,s=r,c=r-o;if(a=r===0?0:c/r,r==o)i=0;else{switch(r){case e:i=(t-n)/c+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(rt(r));return i}function CG(e,t){t=t||6;for(var n=rt(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(rt({h:r,s:o,v:i})),i=(i+s)%1;return a}rt.mix=function(e,t,n){n=n===0?0:n||50;var r=rt(e).toRgb(),o=rt(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return rt(a)};rt.readability=function(e,t){var n=rt(e),r=rt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};rt.isReadable=function(e,t,n){var r=rt.readability(e,t),o,i;switch(i=!1,o=WG(n),o.level+o.size){case"AAsmall":case"AAAlarge":i=r>=4.5;break;case"AAlarge":i=r>=3;break;case"AAAsmall":i=r>=7;break}return i};rt.mostReadable=function(e,t,n){var r=null,o=0,i,a,s,c;n=n||{},a=n.includeFallbackColors,s=n.level,c=n.size;for(var l=0;lo&&(o=i,r=rt(t[l]));return rt.isReadable(e,r,{level:s,size:c})||!a?r:(n.includeFallbackColors=!1,rt.mostReadable(e,["#fff","#000"],n))};var D4=rt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},IG=rt.hexNames=FG(D4);function FG(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function rP(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function tr(e,t){_G(e)&&(e="100%");var n=EG(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Wg(e){return Math.min(1,Math.max(0,e))}function hi(e){return parseInt(e,16)}function _G(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function EG(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Ta(e){return e.length==1?"0"+e:""+e}function F0(e){return e<=1&&(e=e*100+"%"),e}function oP(e){return Math.round(parseFloat(e)*255).toString(16)}function PM(e){return hi(e)/255}var ma=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Fs(e){return!!ma.CSS_UNIT.exec(e)}function XG(e){e=e.replace(mG,"").replace(vG,"").toLowerCase();var t=!1;if(D4[e])e=D4[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=ma.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=ma.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=ma.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=ma.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=ma.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=ma.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=ma.hex8.exec(e))?{r:hi(n[1]),g:hi(n[2]),b:hi(n[3]),a:PM(n[4]),format:t?"name":"hex8"}:(n=ma.hex6.exec(e))?{r:hi(n[1]),g:hi(n[2]),b:hi(n[3]),format:t?"name":"hex"}:(n=ma.hex4.exec(e))?{r:hi(n[1]+""+n[1]),g:hi(n[2]+""+n[2]),b:hi(n[3]+""+n[3]),a:PM(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=ma.hex3.exec(e))?{r:hi(n[1]+""+n[1]),g:hi(n[2]+""+n[2]),b:hi(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function WG(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var Nt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hx(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Nv={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */kv.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",l=500,u="__lodash_placeholder__",f=1,d=2,h=4,p=1,m=2,A=1,x=2,y=4,R=8,g=16,b=32,w=64,T=128,M=256,O=512,k=30,F="...",N=800,E=16,C=1,_=2,I=3,W=1/0,Z=9007199254740991,J=17976931348623157e292,le=NaN,D=4294967295,Q=D-1,B=D>>>1,H=[["ary",T],["bind",A],["bindKey",x],["curry",R],["curryRight",g],["flip",O],["partial",b],["partialRight",w],["rearg",M]],U="[object Arguments]",te="[object Array]",z="[object AsyncFunction]",oe="[object Boolean]",pe="[object Date]",Ae="[object DOMException]",me="[object Error]",$="[object Function]",ue="[object GeneratorFunction]",X="[object Map]",ne="[object Number]",se="[object Null]",j="[object Object]",q="[object Promise]",ae="[object Proxy]",ge="[object RegExp]",ce="[object Set]",ve="[object String]",ye="[object Symbol]",_e="[object Undefined]",Se="[object WeakMap]",xe="[object WeakSet]",ut="[object ArrayBuffer]",tt="[object DataView]",Oe="[object Float32Array]",Ne="[object Float64Array]",Fe="[object Int8Array]",Be="[object Int16Array]",je="[object Int32Array]",ke="[object Uint8Array]",Qe="[object Uint8ClampedArray]",qe="[object Uint16Array]",xt="[object Uint32Array]",ct=/\b__p \+= '';/g,ht=/\b(__p \+=) '' \+/g,At=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ft=/&(?:amp|lt|gt|quot|#39);/g,Qt=/[&<>"']/g,Nn=RegExp(Ft.source),aa=RegExp(Qt.source),_a=/<%-([\s\S]+?)%>/g,io=/<%([\s\S]+?)%>/g,nf=/<%=([\s\S]+?)%>/g,Tc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ms=/^\w*$/,O2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rf=/[\\^$.*+?()[\]{}|]/g,Ro=RegExp(rf.source),Ii=/^\s+/,$p=/\s/,T2=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nE=/\{\n\/\* \[wrapped with (.+)\] \*/,rE=/,? & /,oE=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,iE=/[()=,{}\[\]\/\s]/,aE=/\\(\\)?/g,sE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,D5=/\w*$/,lE=/^[-+]0x[0-9a-f]+$/i,cE=/^0b[01]+$/i,uE=/^\[object .+?Constructor\]$/,fE=/^0o[0-7]+$/i,dE=/^(?:0|[1-9]\d*)$/,hE=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jp=/($^)/,pE=/['\n\r\u2028\u2029\\]/g,qp="\\ud800-\\udfff",mE="\\u0300-\\u036f",vE="\\ufe20-\\ufe2f",gE="\\u20d0-\\u20ff",K5=mE+vE+gE,H5="\\u2700-\\u27bf",G5="a-z\\xdf-\\xf6\\xf8-\\xff",AE="\\xac\\xb1\\xd7\\xf7",RE="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",yE="\\u2000-\\u206f",xE=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",J5="A-Z\\xc0-\\xd6\\xd8-\\xde",z5="\\ufe0e\\ufe0f",$5=AE+RE+yE+xE,k2="['’]",bE="["+qp+"]",j5="["+$5+"]",e1="["+K5+"]",q5="\\d+",SE="["+H5+"]",e8="["+G5+"]",t8="[^"+qp+$5+q5+H5+G5+J5+"]",N2="\\ud83c[\\udffb-\\udfff]",ME="(?:"+e1+"|"+N2+")",n8="[^"+qp+"]",P2="(?:\\ud83c[\\udde6-\\uddff]){2}",C2="[\\ud800-\\udbff][\\udc00-\\udfff]",of="["+J5+"]",r8="\\u200d",o8="(?:"+e8+"|"+t8+")",wE="(?:"+of+"|"+t8+")",i8="(?:"+k2+"(?:d|ll|m|re|s|t|ve))?",a8="(?:"+k2+"(?:D|LL|M|RE|S|T|VE))?",s8=ME+"?",l8="["+z5+"]?",LE="(?:"+r8+"(?:"+[n8,P2,C2].join("|")+")"+l8+s8+")*",OE="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",TE="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",c8=l8+s8+LE,kE="(?:"+[SE,P2,C2].join("|")+")"+c8,NE="(?:"+[n8+e1+"?",e1,P2,C2,bE].join("|")+")",PE=RegExp(k2,"g"),CE=RegExp(e1,"g"),I2=RegExp(N2+"(?="+N2+")|"+NE+c8,"g"),IE=RegExp([of+"?"+e8+"+"+i8+"(?="+[j5,of,"$"].join("|")+")",wE+"+"+a8+"(?="+[j5,of+o8,"$"].join("|")+")",of+"?"+o8+"+"+i8,of+"+"+a8,TE,OE,q5,kE].join("|"),"g"),FE=RegExp("["+r8+qp+K5+z5+"]"),_E=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,EE=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],XE=-1,$n={};$n[Oe]=$n[Ne]=$n[Fe]=$n[Be]=$n[je]=$n[ke]=$n[Qe]=$n[qe]=$n[xt]=!0,$n[U]=$n[te]=$n[ut]=$n[oe]=$n[tt]=$n[pe]=$n[me]=$n[$]=$n[X]=$n[ne]=$n[j]=$n[ge]=$n[ce]=$n[ve]=$n[Se]=!1;var Bn={};Bn[U]=Bn[te]=Bn[ut]=Bn[tt]=Bn[oe]=Bn[pe]=Bn[Oe]=Bn[Ne]=Bn[Fe]=Bn[Be]=Bn[je]=Bn[X]=Bn[ne]=Bn[j]=Bn[ge]=Bn[ce]=Bn[ve]=Bn[ye]=Bn[ke]=Bn[Qe]=Bn[qe]=Bn[xt]=!0,Bn[me]=Bn[$]=Bn[Se]=!1;var WE={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},VE={"&":"&","<":"<",">":">",'"':""","'":"'"},UE={"&":"&","<":"<",">":">",""":'"',"'":"'"},YE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},QE=parseFloat,ZE=parseInt,u8=typeof Nt=="object"&&Nt&&Nt.Object===Object&&Nt,BE=typeof self=="object"&&self&&self.Object===Object&&self,Kr=u8||BE||Function("return this")(),F2=t&&!t.nodeType&&t,kc=F2&&!0&&e&&!e.nodeType&&e,f8=kc&&kc.exports===F2,_2=f8&&u8.process,Fi=function(){try{var Pe=kc&&kc.require&&kc.require("util").types;return Pe||_2&&_2.binding&&_2.binding("util")}catch{}}(),d8=Fi&&Fi.isArrayBuffer,h8=Fi&&Fi.isDate,p8=Fi&&Fi.isMap,m8=Fi&&Fi.isRegExp,v8=Fi&&Fi.isSet,g8=Fi&&Fi.isTypedArray;function ai(Pe,De,Ye){switch(Ye.length){case 0:return Pe.call(De);case 1:return Pe.call(De,Ye[0]);case 2:return Pe.call(De,Ye[0],Ye[1]);case 3:return Pe.call(De,Ye[0],Ye[1],Ye[2])}return Pe.apply(De,Ye)}function DE(Pe,De,Ye,bt){for(var $t=-1,Pn=Pe==null?0:Pe.length;++$t-1}function E2(Pe,De,Ye){for(var bt=-1,$t=Pe==null?0:Pe.length;++bt<$t;)if(Ye(De,Pe[bt]))return!0;return!1}function qn(Pe,De){for(var Ye=-1,bt=Pe==null?0:Pe.length,$t=Array(bt);++Ye-1;);return Ye}function w8(Pe,De){for(var Ye=Pe.length;Ye--&&af(De,Pe[Ye],0)>-1;);return Ye}function eX(Pe,De){for(var Ye=Pe.length,bt=0;Ye--;)Pe[Ye]===De&&++bt;return bt}var tX=U2(WE),nX=U2(VE);function rX(Pe){return"\\"+YE[Pe]}function oX(Pe,De){return Pe==null?n:Pe[De]}function sf(Pe){return FE.test(Pe)}function iX(Pe){return _E.test(Pe)}function aX(Pe){for(var De,Ye=[];!(De=Pe.next()).done;)Ye.push(De.value);return Ye}function B2(Pe){var De=-1,Ye=Array(Pe.size);return Pe.forEach(function(bt,$t){Ye[++De]=[$t,bt]}),Ye}function L8(Pe,De){return function(Ye){return Pe(De(Ye))}}function ml(Pe,De){for(var Ye=-1,bt=Pe.length,$t=0,Pn=[];++Ye-1}function HX(v,S){var P=this.__data__,K=A1(P,v);return K<0?(++this.size,P.push([v,S])):P[K][1]=S,this}ws.prototype.clear=ZX,ws.prototype.delete=BX,ws.prototype.get=DX,ws.prototype.has=KX,ws.prototype.set=HX;function Ls(v){var S=-1,P=v==null?0:v.length;for(this.clear();++S=S?v:S)),v}function Wi(v,S,P,K,re,de){var Re,Le=S&f,Ce=S&d,ze=S&h;if(P&&(Re=re?P(v,K,re,de):P(v)),Re!==n)return Re;if(!cr(v))return v;var $e=qt(v);if($e){if(Re=$W(v),!Le)return Vo(v,Re)}else{var nt=so(v),vt=nt==$||nt==ue;if(xl(v))return l6(v,Le);if(nt==j||nt==U||vt&&!re){if(Re=Ce||vt?{}:O6(v),!Le)return Ce?UW(v,cW(Re,v)):VW(v,W8(Re,v))}else{if(!Bn[nt])return re?v:{};Re=jW(v,nt,Le)}}de||(de=new la);var Ot=de.get(v);if(Ot)return Ot;de.set(v,Re),nS(v)?v.forEach(function(Et){Re.add(Wi(Et,S,P,Et,v,de))}):eS(v)&&v.forEach(function(Et,fn){Re.set(fn,Wi(Et,S,P,fn,v,de))});var _t=ze?Ce?vA:mA:Ce?Yo:Vr,sn=$e?n:_t(v);return _i(sn||v,function(Et,fn){sn&&(fn=Et,Et=v[fn]),n0(Re,fn,Wi(Et,S,P,fn,v,de))}),Re}function uW(v){var S=Vr(v);return function(P){return V8(P,v,S)}}function V8(v,S,P){var K=P.length;if(v==null)return!K;for(v=Zn(v);K--;){var re=P[K],de=S[re],Re=v[re];if(Re===n&&!(re in v)||!de(Re))return!1}return!0}function U8(v,S,P){if(typeof v!="function")throw new Ei(a);return c0(function(){v.apply(n,P)},S)}function r0(v,S,P,K){var re=-1,de=t1,Re=!0,Le=v.length,Ce=[],ze=S.length;if(!Le)return Ce;P&&(S=qn(S,si(P))),K?(de=E2,Re=!1):S.length>=o&&(de=zd,Re=!1,S=new Cc(S));e:for(;++rere?0:re+P),K=K===n||K>re?re:an(K),K<0&&(K+=re),K=P>K?0:oS(K);P0&&P(Le)?S>1?Hr(Le,S-1,P,K,re):pl(re,Le):K||(re[re.length]=Le)}return re}var $2=p6(),Z8=p6(!0);function Ea(v,S){return v&&$2(v,S,Vr)}function j2(v,S){return v&&Z8(v,S,Vr)}function y1(v,S){return hl(S,function(P){return Ps(v[P])})}function Fc(v,S){S=Rl(S,v);for(var P=0,K=S.length;v!=null&&PS}function hW(v,S){return v!=null&&Vn.call(v,S)}function pW(v,S){return v!=null&&S in Zn(v)}function mW(v,S,P){return v>=ao(S,P)&&v<_r(S,P)}function eA(v,S,P){for(var K=P?E2:t1,re=v[0].length,de=v.length,Re=de,Le=Ye(de),Ce=1/0,ze=[];Re--;){var $e=v[Re];Re&&S&&($e=qn($e,si(S))),Ce=ao($e.length,Ce),Le[Re]=!P&&(S||re>=120&&$e.length>=120)?new Cc(Re&&$e):n}$e=v[0];var nt=-1,vt=Le[0];e:for(;++nt-1;)Le!==v&&f1.call(Le,Ce,1),f1.call(v,Ce,1);return v}function e6(v,S){for(var P=v?S.length:0,K=P-1;P--;){var re=S[P];if(P==K||re!==de){var de=re;Ns(re)?f1.call(v,re,1):lA(v,re)}}return v}function iA(v,S){return v+p1(F8()*(S-v+1))}function TW(v,S,P,K){for(var re=-1,de=_r(h1((S-v)/(P||1)),0),Re=Ye(de);de--;)Re[K?de:++re]=v,v+=P;return Re}function aA(v,S){var P="";if(!v||S<1||S>Z)return P;do S%2&&(P+=v),S=p1(S/2),S&&(v+=v);while(S);return P}function ln(v,S){return SA(N6(v,S,Qo),v+"")}function kW(v){return X8(Af(v))}function NW(v,S){var P=Af(v);return P1(P,Ic(S,0,P.length))}function a0(v,S,P,K){if(!cr(v))return v;S=Rl(S,v);for(var re=-1,de=S.length,Re=de-1,Le=v;Le!=null&&++rere?0:re+S),P=P>re?re:P,P<0&&(P+=re),re=S>P?0:P-S>>>0,S>>>=0;for(var de=Ye(re);++K>>1,Re=v[de];Re!==null&&!ci(Re)&&(P?Re<=S:Re=o){var ze=S?null:BW(v);if(ze)return r1(ze);Re=!1,re=zd,Ce=new Cc}else Ce=S?[]:Le;e:for(;++K=K?v:Vi(v,S,P)}var s6=xX||function(v){return Kr.clearTimeout(v)};function l6(v,S){if(S)return v.slice();var P=v.length,K=k8?k8(P):new v.constructor(P);return v.copy(K),K}function dA(v){var S=new v.constructor(v.byteLength);return new c1(S).set(new c1(v)),S}function _W(v,S){var P=S?dA(v.buffer):v.buffer;return new v.constructor(P,v.byteOffset,v.byteLength)}function EW(v){var S=new v.constructor(v.source,D5.exec(v));return S.lastIndex=v.lastIndex,S}function XW(v){return t0?Zn(t0.call(v)):{}}function c6(v,S){var P=S?dA(v.buffer):v.buffer;return new v.constructor(P,v.byteOffset,v.length)}function u6(v,S){if(v!==S){var P=v!==n,K=v===null,re=v===v,de=ci(v),Re=S!==n,Le=S===null,Ce=S===S,ze=ci(S);if(!Le&&!ze&&!de&&v>S||de&&Re&&Ce&&!Le&&!ze||K&&Re&&Ce||!P&&Ce||!re)return 1;if(!K&&!de&&!ze&&v=Le)return Ce;var ze=P[K];return Ce*(ze=="desc"?-1:1)}}return v.index-S.index}function f6(v,S,P,K){for(var re=-1,de=v.length,Re=P.length,Le=-1,Ce=S.length,ze=_r(de-Re,0),$e=Ye(Ce+ze),nt=!K;++Le1?P[re-1]:n,Re=re>2?P[2]:n;for(de=v.length>3&&typeof de=="function"?(re--,de):n,Re&&xo(P[0],P[1],Re)&&(de=re<3?n:de,re=1),S=Zn(S);++K-1?re[de?S[Re]:Re]:n}}function g6(v){return ks(function(S){var P=S.length,K=P,re=Xi.prototype.thru;for(v&&S.reverse();K--;){var de=S[K];if(typeof de!="function")throw new Ei(a);if(re&&!Re&&k1(de)=="wrapper")var Re=new Xi([],!0)}for(K=Re?K:P;++K1&&Rn.reverse(),$e&&CeLe))return!1;var ze=de.get(v),$e=de.get(S);if(ze&&$e)return ze==S&&$e==v;var nt=-1,vt=!0,Ot=P&m?new Cc:n;for(de.set(v,S),de.set(S,v);++nt1?"& ":"")+S[K],S=S.join(P>2?", ":" "),v.replace(T2,`{ + */Nv.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",l=500,u="__lodash_placeholder__",f=1,d=2,h=4,p=1,m=2,A=1,x=2,y=4,R=8,g=16,b=32,L=64,T=128,M=256,w=512,k=30,_="...",P=800,E=16,I=1,F=2,N=3,V=1/0,Z=9007199254740991,J=17976931348623157e292,se=NaN,D=4294967295,Q=D-1,B=D>>>1,H=[["ary",T],["bind",A],["bindKey",x],["curry",R],["curryRight",g],["flip",w],["partial",b],["partialRight",L],["rearg",M]],U="[object Arguments]",te="[object Array]",z="[object AsyncFunction]",oe="[object Boolean]",pe="[object Date]",Ae="[object DOMException]",me="[object Error]",$="[object Function]",ue="[object GeneratorFunction]",X="[object Map]",ne="[object Number]",le="[object Null]",j="[object Object]",ee="[object Promise]",ae="[object Proxy]",ge="[object RegExp]",ce="[object Set]",ve="[object String]",ye="[object Symbol]",_e="[object Undefined]",Se="[object WeakMap]",be="[object WeakSet]",ut="[object ArrayBuffer]",tt="[object DataView]",Oe="[object Float32Array]",Ne="[object Float64Array]",Fe="[object Int8Array]",Be="[object Int16Array]",qe="[object Int32Array]",ke="[object Uint8Array]",Qe="[object Uint8ClampedArray]",et="[object Uint16Array]",bt="[object Uint32Array]",ct=/\b__p \+= '';/g,ht=/\b(__p \+=) '' \+/g,At=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ft=/&(?:amp|lt|gt|quot|#39);/g,Qt=/[&<>"']/g,Nn=RegExp(Ft.source),aa=RegExp(Qt.source),Ea=/<%-([\s\S]+?)%>/g,io=/<%([\s\S]+?)%>/g,nf=/<%=([\s\S]+?)%>/g,Tc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ms=/^\w*$/,T2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rf=/[\\^$.*+?()[\]{}|]/g,Ro=RegExp(rf.source),Ii=/^\s+/,jp=/\s/,k2=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oE=/\{\n\/\* \[wrapped with (.+)\] \*/,iE=/,? & /,aE=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,sE=/[()=,{}\[\]\/\s]/,lE=/\\(\\)?/g,cE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,H5=/\w*$/,uE=/^[-+]0x[0-9a-f]+$/i,fE=/^0b[01]+$/i,dE=/^\[object .+?Constructor\]$/,hE=/^0o[0-7]+$/i,pE=/^(?:0|[1-9]\d*)$/,mE=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qp=/($^)/,vE=/['\n\r\u2028\u2029\\]/g,e1="\\ud800-\\udfff",gE="\\u0300-\\u036f",AE="\\ufe20-\\ufe2f",RE="\\u20d0-\\u20ff",G5=gE+AE+RE,J5="\\u2700-\\u27bf",z5="a-z\\xdf-\\xf6\\xf8-\\xff",yE="\\xac\\xb1\\xd7\\xf7",bE="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xE="\\u2000-\\u206f",SE=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",$5="A-Z\\xc0-\\xd6\\xd8-\\xde",j5="\\ufe0e\\ufe0f",q5=yE+bE+xE+SE,N2="['’]",ME="["+e1+"]",e8="["+q5+"]",t1="["+G5+"]",t8="\\d+",wE="["+J5+"]",n8="["+z5+"]",r8="[^"+e1+q5+t8+J5+z5+$5+"]",P2="\\ud83c[\\udffb-\\udfff]",LE="(?:"+t1+"|"+P2+")",o8="[^"+e1+"]",C2="(?:\\ud83c[\\udde6-\\uddff]){2}",I2="[\\ud800-\\udbff][\\udc00-\\udfff]",of="["+$5+"]",i8="\\u200d",a8="(?:"+n8+"|"+r8+")",OE="(?:"+of+"|"+r8+")",s8="(?:"+N2+"(?:d|ll|m|re|s|t|ve))?",l8="(?:"+N2+"(?:D|LL|M|RE|S|T|VE))?",c8=LE+"?",u8="["+j5+"]?",TE="(?:"+i8+"(?:"+[o8,C2,I2].join("|")+")"+u8+c8+")*",kE="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",NE="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",f8=u8+c8+TE,PE="(?:"+[wE,C2,I2].join("|")+")"+f8,CE="(?:"+[o8+t1+"?",t1,C2,I2,ME].join("|")+")",IE=RegExp(N2,"g"),FE=RegExp(t1,"g"),F2=RegExp(P2+"(?="+P2+")|"+CE+f8,"g"),_E=RegExp([of+"?"+n8+"+"+s8+"(?="+[e8,of,"$"].join("|")+")",OE+"+"+l8+"(?="+[e8,of+a8,"$"].join("|")+")",of+"?"+a8+"+"+s8,of+"+"+l8,NE,kE,t8,PE].join("|"),"g"),EE=RegExp("["+i8+e1+G5+j5+"]"),XE=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,WE=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],VE=-1,$n={};$n[Oe]=$n[Ne]=$n[Fe]=$n[Be]=$n[qe]=$n[ke]=$n[Qe]=$n[et]=$n[bt]=!0,$n[U]=$n[te]=$n[ut]=$n[oe]=$n[tt]=$n[pe]=$n[me]=$n[$]=$n[X]=$n[ne]=$n[j]=$n[ge]=$n[ce]=$n[ve]=$n[Se]=!1;var Bn={};Bn[U]=Bn[te]=Bn[ut]=Bn[tt]=Bn[oe]=Bn[pe]=Bn[Oe]=Bn[Ne]=Bn[Fe]=Bn[Be]=Bn[qe]=Bn[X]=Bn[ne]=Bn[j]=Bn[ge]=Bn[ce]=Bn[ve]=Bn[ye]=Bn[ke]=Bn[Qe]=Bn[et]=Bn[bt]=!0,Bn[me]=Bn[$]=Bn[Se]=!1;var UE={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},YE={"&":"&","<":"<",">":">",'"':""","'":"'"},QE={"&":"&","<":"<",">":">",""":'"',"'":"'"},ZE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},BE=parseFloat,DE=parseInt,d8=typeof Nt=="object"&&Nt&&Nt.Object===Object&&Nt,KE=typeof self=="object"&&self&&self.Object===Object&&self,Kr=d8||KE||Function("return this")(),_2=t&&!t.nodeType&&t,kc=_2&&!0&&e&&!e.nodeType&&e,h8=kc&&kc.exports===_2,E2=h8&&d8.process,Fi=function(){try{var Pe=kc&&kc.require&&kc.require("util").types;return Pe||E2&&E2.binding&&E2.binding("util")}catch{}}(),p8=Fi&&Fi.isArrayBuffer,m8=Fi&&Fi.isDate,v8=Fi&&Fi.isMap,g8=Fi&&Fi.isRegExp,A8=Fi&&Fi.isSet,R8=Fi&&Fi.isTypedArray;function ai(Pe,De,Ye){switch(Ye.length){case 0:return Pe.call(De);case 1:return Pe.call(De,Ye[0]);case 2:return Pe.call(De,Ye[0],Ye[1]);case 3:return Pe.call(De,Ye[0],Ye[1],Ye[2])}return Pe.apply(De,Ye)}function HE(Pe,De,Ye,xt){for(var $t=-1,Pn=Pe==null?0:Pe.length;++$t-1}function X2(Pe,De,Ye){for(var xt=-1,$t=Pe==null?0:Pe.length;++xt<$t;)if(Ye(De,Pe[xt]))return!0;return!1}function qn(Pe,De){for(var Ye=-1,xt=Pe==null?0:Pe.length,$t=Array(xt);++Ye-1;);return Ye}function O8(Pe,De){for(var Ye=Pe.length;Ye--&&af(De,Pe[Ye],0)>-1;);return Ye}function nX(Pe,De){for(var Ye=Pe.length,xt=0;Ye--;)Pe[Ye]===De&&++xt;return xt}var rX=Y2(UE),oX=Y2(YE);function iX(Pe){return"\\"+ZE[Pe]}function aX(Pe,De){return Pe==null?n:Pe[De]}function sf(Pe){return EE.test(Pe)}function sX(Pe){return XE.test(Pe)}function lX(Pe){for(var De,Ye=[];!(De=Pe.next()).done;)Ye.push(De.value);return Ye}function D2(Pe){var De=-1,Ye=Array(Pe.size);return Pe.forEach(function(xt,$t){Ye[++De]=[$t,xt]}),Ye}function T8(Pe,De){return function(Ye){return Pe(De(Ye))}}function ml(Pe,De){for(var Ye=-1,xt=Pe.length,$t=0,Pn=[];++Ye-1}function JX(v,S){var C=this.__data__,K=R1(C,v);return K<0?(++this.size,C.push([v,S])):C[K][1]=S,this}ws.prototype.clear=DX,ws.prototype.delete=KX,ws.prototype.get=HX,ws.prototype.has=GX,ws.prototype.set=JX;function Ls(v){var S=-1,C=v==null?0:v.length;for(this.clear();++S=S?v:S)),v}function Wi(v,S,C,K,re,de){var Re,Le=S&f,Ce=S&d,ze=S&h;if(C&&(Re=re?C(v,K,re,de):C(v)),Re!==n)return Re;if(!cr(v))return v;var je=tn(v);if(je){if(Re=qW(v),!Le)return Vo(v,Re)}else{var nt=so(v),vt=nt==$||nt==ue;if(bl(v))return u6(v,Le);if(nt==j||nt==U||vt&&!re){if(Re=Ce||vt?{}:k6(v),!Le)return Ce?QW(v,fW(Re,v)):YW(v,U8(Re,v))}else{if(!Bn[nt])return re?v:{};Re=eV(v,nt,Le)}}de||(de=new la);var Ot=de.get(v);if(Ot)return Ot;de.set(v,Re),oS(v)?v.forEach(function(Et){Re.add(Wi(Et,S,C,Et,v,de))}):nS(v)&&v.forEach(function(Et,fn){Re.set(fn,Wi(Et,S,C,fn,v,de))});var _t=ze?Ce?gA:vA:Ce?Yo:Vr,sn=je?n:_t(v);return _i(sn||v,function(Et,fn){sn&&(fn=Et,Et=v[fn]),r0(Re,fn,Wi(Et,S,C,fn,v,de))}),Re}function dW(v){var S=Vr(v);return function(C){return Y8(C,v,S)}}function Y8(v,S,C){var K=C.length;if(v==null)return!K;for(v=Zn(v);K--;){var re=C[K],de=S[re],Re=v[re];if(Re===n&&!(re in v)||!de(Re))return!1}return!0}function Q8(v,S,C){if(typeof v!="function")throw new Ei(a);return u0(function(){v.apply(n,C)},S)}function o0(v,S,C,K){var re=-1,de=n1,Re=!0,Le=v.length,Ce=[],ze=S.length;if(!Le)return Ce;C&&(S=qn(S,si(C))),K?(de=X2,Re=!1):S.length>=o&&(de=$d,Re=!1,S=new Cc(S));e:for(;++rere?0:re+C),K=K===n||K>re?re:an(K),K<0&&(K+=re),K=C>K?0:aS(K);C0&&C(Le)?S>1?Hr(Le,S-1,C,K,re):pl(re,Le):K||(re[re.length]=Le)}return re}var j2=v6(),D8=v6(!0);function Xa(v,S){return v&&j2(v,S,Vr)}function q2(v,S){return v&&D8(v,S,Vr)}function b1(v,S){return hl(S,function(C){return Ps(v[C])})}function Fc(v,S){S=Rl(S,v);for(var C=0,K=S.length;v!=null&&CS}function mW(v,S){return v!=null&&Vn.call(v,S)}function vW(v,S){return v!=null&&S in Zn(v)}function gW(v,S,C){return v>=ao(S,C)&&v<_r(S,C)}function tA(v,S,C){for(var K=C?X2:n1,re=v[0].length,de=v.length,Re=de,Le=Ye(de),Ce=1/0,ze=[];Re--;){var je=v[Re];Re&&S&&(je=qn(je,si(S))),Ce=ao(je.length,Ce),Le[Re]=!C&&(S||re>=120&&je.length>=120)?new Cc(Re&&je):n}je=v[0];var nt=-1,vt=Le[0];e:for(;++nt-1;)Le!==v&&d1.call(Le,Ce,1),d1.call(v,Ce,1);return v}function n6(v,S){for(var C=v?S.length:0,K=C-1;C--;){var re=S[C];if(C==K||re!==de){var de=re;Ns(re)?d1.call(v,re,1):cA(v,re)}}return v}function aA(v,S){return v+m1(E8()*(S-v+1))}function NW(v,S,C,K){for(var re=-1,de=_r(p1((S-v)/(C||1)),0),Re=Ye(de);de--;)Re[K?de:++re]=v,v+=C;return Re}function sA(v,S){var C="";if(!v||S<1||S>Z)return C;do S%2&&(C+=v),S=m1(S/2),S&&(v+=v);while(S);return C}function ln(v,S){return MA(C6(v,S,Qo),v+"")}function PW(v){return V8(Af(v))}function CW(v,S){var C=Af(v);return C1(C,Ic(S,0,C.length))}function s0(v,S,C,K){if(!cr(v))return v;S=Rl(S,v);for(var re=-1,de=S.length,Re=de-1,Le=v;Le!=null&&++rere?0:re+S),C=C>re?re:C,C<0&&(C+=re),re=S>C?0:C-S>>>0,S>>>=0;for(var de=Ye(re);++K>>1,Re=v[de];Re!==null&&!ci(Re)&&(C?Re<=S:Re=o){var ze=S?null:KW(v);if(ze)return o1(ze);Re=!1,re=$d,Ce=new Cc}else Ce=S?[]:Le;e:for(;++K=K?v:Vi(v,S,C)}var c6=SX||function(v){return Kr.clearTimeout(v)};function u6(v,S){if(S)return v.slice();var C=v.length,K=P8?P8(C):new v.constructor(C);return v.copy(K),K}function hA(v){var S=new v.constructor(v.byteLength);return new u1(S).set(new u1(v)),S}function XW(v,S){var C=S?hA(v.buffer):v.buffer;return new v.constructor(C,v.byteOffset,v.byteLength)}function WW(v){var S=new v.constructor(v.source,H5.exec(v));return S.lastIndex=v.lastIndex,S}function VW(v){return n0?Zn(n0.call(v)):{}}function f6(v,S){var C=S?hA(v.buffer):v.buffer;return new v.constructor(C,v.byteOffset,v.length)}function d6(v,S){if(v!==S){var C=v!==n,K=v===null,re=v===v,de=ci(v),Re=S!==n,Le=S===null,Ce=S===S,ze=ci(S);if(!Le&&!ze&&!de&&v>S||de&&Re&&Ce&&!Le&&!ze||K&&Re&&Ce||!C&&Ce||!re)return 1;if(!K&&!de&&!ze&&v=Le)return Ce;var ze=C[K];return Ce*(ze=="desc"?-1:1)}}return v.index-S.index}function h6(v,S,C,K){for(var re=-1,de=v.length,Re=C.length,Le=-1,Ce=S.length,ze=_r(de-Re,0),je=Ye(Ce+ze),nt=!K;++Le1?C[re-1]:n,Re=re>2?C[2]:n;for(de=v.length>3&&typeof de=="function"?(re--,de):n,Re&&bo(C[0],C[1],Re)&&(de=re<3?n:de,re=1),S=Zn(S);++K-1?re[de?S[Re]:Re]:n}}function R6(v){return ks(function(S){var C=S.length,K=C,re=Xi.prototype.thru;for(v&&S.reverse();K--;){var de=S[K];if(typeof de!="function")throw new Ei(a);if(re&&!Re&&N1(de)=="wrapper")var Re=new Xi([],!0)}for(K=Re?K:C;++K1&&Rn.reverse(),je&&CeLe))return!1;var ze=de.get(v),je=de.get(S);if(ze&&je)return ze==S&&je==v;var nt=-1,vt=!0,Ot=C&m?new Cc:n;for(de.set(v,S),de.set(S,v);++nt1?"& ":"")+S[K],S=S.join(C>2?", ":" "),v.replace(k2,`{ /* [wrapped with `+S+`] */ -`)}function eV(v){return qt(v)||Xc(v)||!!(C8&&v&&v[C8])}function Ns(v,S){var P=typeof v;return S=S??Z,!!S&&(P=="number"||P!="symbol"&&dE.test(v))&&v>-1&&v%1==0&&v0){if(++S>=N)return arguments[0]}else S=0;return v.apply(n,arguments)}}function P1(v,S){var P=-1,K=v.length,re=K-1;for(S=S===n?K:S;++P1?v[S-1]:n;return P=typeof P=="function"?(v.pop(),P):n,Q6(v,P)});function Z6(v){var S=fe(v);return S.__chain__=!0,S}function fU(v,S){return S(v),v}function C1(v,S){return S(v)}var dU=ks(function(v){var S=v.length,P=S?v[0]:0,K=this.__wrapped__,re=function(de){return z2(de,v)};return S>1||this.__actions__.length||!(K instanceof vn)||!Ns(P)?this.thru(re):(K=K.slice(P,+P+(S?1:0)),K.__actions__.push({func:C1,args:[re],thisArg:n}),new Xi(K,this.__chain__).thru(function(de){return S&&!de.length&&de.push(n),de}))});function hU(){return Z6(this)}function pU(){return new Xi(this.value(),this.__chain__)}function mU(){this.__values__===n&&(this.__values__=rS(this.value()));var v=this.__index__>=this.__values__.length,S=v?n:this.__values__[this.__index__++];return{done:v,value:S}}function vU(){return this}function gU(v){for(var S,P=this;P instanceof g1;){var K=E6(P);K.__index__=0,K.__values__=n,S?re.__wrapped__=K:S=K;var re=K;P=P.__wrapped__}return re.__wrapped__=v,S}function AU(){var v=this.__wrapped__;if(v instanceof vn){var S=v;return this.__actions__.length&&(S=new vn(this)),S=S.reverse(),S.__actions__.push({func:C1,args:[MA],thisArg:n}),new Xi(S,this.__chain__)}return this.thru(MA)}function RU(){return i6(this.__wrapped__,this.__actions__)}var yU=M1(function(v,S,P){Vn.call(v,P)?++v[P]:Os(v,P,1)});function xU(v,S,P){var K=qt(v)?A8:fW;return P&&xo(v,S,P)&&(S=n),K(v,It(S,3))}function bU(v,S){var P=qt(v)?hl:Q8;return P(v,It(S,3))}var SU=v6(X6),MU=v6(W6);function wU(v,S){return Hr(I1(v,S),1)}function LU(v,S){return Hr(I1(v,S),W)}function OU(v,S,P){return P=P===n?1:an(P),Hr(I1(v,S),P)}function B6(v,S){var P=qt(v)?_i:gl;return P(v,It(S,3))}function D6(v,S){var P=qt(v)?KE:Y8;return P(v,It(S,3))}var TU=M1(function(v,S,P){Vn.call(v,P)?v[P].push(S):Os(v,P,[S])});function kU(v,S,P,K){v=Uo(v)?v:Af(v),P=P&&!K?an(P):0;var re=v.length;return P<0&&(P=_r(re+P,0)),W1(v)?P<=re&&v.indexOf(S,P)>-1:!!re&&af(v,S,P)>-1}var NU=ln(function(v,S,P){var K=-1,re=typeof S=="function",de=Uo(v)?Ye(v.length):[];return gl(v,function(Re){de[++K]=re?ai(S,Re,P):o0(Re,S,P)}),de}),PU=M1(function(v,S,P){Os(v,P,S)});function I1(v,S){var P=qt(v)?qn:G8;return P(v,It(S,3))}function CU(v,S,P,K){return v==null?[]:(qt(S)||(S=S==null?[]:[S]),P=K?n:P,qt(P)||(P=P==null?[]:[P]),j8(v,S,P))}var IU=M1(function(v,S,P){v[P?0:1].push(S)},function(){return[[],[]]});function FU(v,S,P){var K=qt(v)?X2:b8,re=arguments.length<3;return K(v,It(S,4),P,re,gl)}function _U(v,S,P){var K=qt(v)?HE:b8,re=arguments.length<3;return K(v,It(S,4),P,re,Y8)}function EU(v,S){var P=qt(v)?hl:Q8;return P(v,E1(It(S,3)))}function XU(v){var S=qt(v)?X8:kW;return S(v)}function WU(v,S,P){(P?xo(v,S,P):S===n)?S=1:S=an(S);var K=qt(v)?aW:NW;return K(v,S)}function VU(v){var S=qt(v)?sW:CW;return S(v)}function UU(v){if(v==null)return 0;if(Uo(v))return W1(v)?lf(v):v.length;var S=so(v);return S==X||S==ce?v.size:nA(v).length}function YU(v,S,P){var K=qt(v)?W2:IW;return P&&xo(v,S,P)&&(S=n),K(v,It(S,3))}var QU=ln(function(v,S){if(v==null)return[];var P=S.length;return P>1&&xo(v,S[0],S[1])?S=[]:P>2&&xo(S[0],S[1],S[2])&&(S=[S[0]]),j8(v,Hr(S,1),[])}),F1=bX||function(){return Kr.Date.now()};function ZU(v,S){if(typeof S!="function")throw new Ei(a);return v=an(v),function(){if(--v<1)return S.apply(this,arguments)}}function K6(v,S,P){return S=P?n:S,S=v&&S==null?v.length:S,Ts(v,T,n,n,n,n,S)}function H6(v,S){var P;if(typeof S!="function")throw new Ei(a);return v=an(v),function(){return--v>0&&(P=S.apply(this,arguments)),v<=1&&(S=n),P}}var LA=ln(function(v,S,P){var K=A;if(P.length){var re=ml(P,vf(LA));K|=b}return Ts(v,K,S,P,re)}),G6=ln(function(v,S,P){var K=A|x;if(P.length){var re=ml(P,vf(G6));K|=b}return Ts(S,K,v,P,re)});function J6(v,S,P){S=P?n:S;var K=Ts(v,R,n,n,n,n,n,S);return K.placeholder=J6.placeholder,K}function z6(v,S,P){S=P?n:S;var K=Ts(v,g,n,n,n,n,n,S);return K.placeholder=z6.placeholder,K}function $6(v,S,P){var K,re,de,Re,Le,Ce,ze=0,$e=!1,nt=!1,vt=!0;if(typeof v!="function")throw new Ei(a);S=Yi(S)||0,cr(P)&&($e=!!P.leading,nt="maxWait"in P,de=nt?_r(Yi(P.maxWait)||0,S):de,vt="trailing"in P?!!P.trailing:vt);function Ot(br){var ua=K,Is=re;return K=re=n,ze=br,Re=v.apply(Is,ua),Re}function _t(br){return ze=br,Le=c0(fn,S),$e?Ot(br):Re}function sn(br){var ua=br-Ce,Is=br-ze,vS=S-ua;return nt?ao(vS,de-Is):vS}function Et(br){var ua=br-Ce,Is=br-ze;return Ce===n||ua>=S||ua<0||nt&&Is>=de}function fn(){var br=F1();if(Et(br))return Rn(br);Le=c0(fn,sn(br))}function Rn(br){return Le=n,vt&&K?Ot(br):(K=re=n,Re)}function ui(){Le!==n&&s6(Le),ze=0,K=Ce=re=Le=n}function bo(){return Le===n?Re:Rn(F1())}function fi(){var br=F1(),ua=Et(br);if(K=arguments,re=this,Ce=br,ua){if(Le===n)return _t(Ce);if(nt)return s6(Le),Le=c0(fn,S),Ot(Ce)}return Le===n&&(Le=c0(fn,S)),Re}return fi.cancel=ui,fi.flush=bo,fi}var BU=ln(function(v,S){return U8(v,1,S)}),DU=ln(function(v,S,P){return U8(v,Yi(S)||0,P)});function KU(v){return Ts(v,O)}function _1(v,S){if(typeof v!="function"||S!=null&&typeof S!="function")throw new Ei(a);var P=function(){var K=arguments,re=S?S.apply(this,K):K[0],de=P.cache;if(de.has(re))return de.get(re);var Re=v.apply(this,K);return P.cache=de.set(re,Re)||de,Re};return P.cache=new(_1.Cache||Ls),P}_1.Cache=Ls;function E1(v){if(typeof v!="function")throw new Ei(a);return function(){var S=arguments;switch(S.length){case 0:return!v.call(this);case 1:return!v.call(this,S[0]);case 2:return!v.call(this,S[0],S[1]);case 3:return!v.call(this,S[0],S[1],S[2])}return!v.apply(this,S)}}function HU(v){return H6(2,v)}var GU=FW(function(v,S){S=S.length==1&&qt(S[0])?qn(S[0],si(It())):qn(Hr(S,1),si(It()));var P=S.length;return ln(function(K){for(var re=-1,de=ao(K.length,P);++re=S}),Xc=D8(function(){return arguments}())?D8:function(v){return pr(v)&&Vn.call(v,"callee")&&!P8.call(v,"callee")},qt=Ye.isArray,cY=d8?si(d8):gW;function Uo(v){return v!=null&&X1(v.length)&&!Ps(v)}function xr(v){return pr(v)&&Uo(v)}function uY(v){return v===!0||v===!1||pr(v)&&yo(v)==oe}var xl=MX||WA,fY=h8?si(h8):AW;function dY(v){return pr(v)&&v.nodeType===1&&!u0(v)}function hY(v){if(v==null)return!0;if(Uo(v)&&(qt(v)||typeof v=="string"||typeof v.splice=="function"||xl(v)||gf(v)||Xc(v)))return!v.length;var S=so(v);if(S==X||S==ce)return!v.size;if(l0(v))return!nA(v).length;for(var P in v)if(Vn.call(v,P))return!1;return!0}function pY(v,S){return i0(v,S)}function mY(v,S,P){P=typeof P=="function"?P:n;var K=P?P(v,S):n;return K===n?i0(v,S,n,P):!!K}function TA(v){if(!pr(v))return!1;var S=yo(v);return S==me||S==Ae||typeof v.message=="string"&&typeof v.name=="string"&&!u0(v)}function vY(v){return typeof v=="number"&&I8(v)}function Ps(v){if(!cr(v))return!1;var S=yo(v);return S==$||S==ue||S==z||S==ae}function q6(v){return typeof v=="number"&&v==an(v)}function X1(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=Z}function cr(v){var S=typeof v;return v!=null&&(S=="object"||S=="function")}function pr(v){return v!=null&&typeof v=="object"}var eS=p8?si(p8):yW;function gY(v,S){return v===S||tA(v,S,AA(S))}function AY(v,S,P){return P=typeof P=="function"?P:n,tA(v,S,AA(S),P)}function RY(v){return tS(v)&&v!=+v}function yY(v){if(rV(v))throw new $t(i);return K8(v)}function xY(v){return v===null}function bY(v){return v==null}function tS(v){return typeof v=="number"||pr(v)&&yo(v)==ne}function u0(v){if(!pr(v)||yo(v)!=j)return!1;var S=u1(v);if(S===null)return!0;var P=Vn.call(S,"constructor")&&S.constructor;return typeof P=="function"&&P instanceof P&&a1.call(P)==AX}var kA=m8?si(m8):xW;function SY(v){return q6(v)&&v>=-Z&&v<=Z}var nS=v8?si(v8):bW;function W1(v){return typeof v=="string"||!qt(v)&&pr(v)&&yo(v)==ve}function ci(v){return typeof v=="symbol"||pr(v)&&yo(v)==ye}var gf=g8?si(g8):SW;function MY(v){return v===n}function wY(v){return pr(v)&&so(v)==Se}function LY(v){return pr(v)&&yo(v)==xe}var OY=T1(rA),TY=T1(function(v,S){return v<=S});function rS(v){if(!v)return[];if(Uo(v))return W1(v)?sa(v):Vo(v);if($d&&v[$d])return aX(v[$d]());var S=so(v),P=S==X?B2:S==ce?r1:Af;return P(v)}function Cs(v){if(!v)return v===0?v:0;if(v=Yi(v),v===W||v===-W){var S=v<0?-1:1;return S*J}return v===v?v:0}function an(v){var S=Cs(v),P=S%1;return S===S?P?S-P:S:0}function oS(v){return v?Ic(an(v),0,D):0}function Yi(v){if(typeof v=="number")return v;if(ci(v))return le;if(cr(v)){var S=typeof v.valueOf=="function"?v.valueOf():v;v=cr(S)?S+"":S}if(typeof v!="string")return v===0?v:+v;v=S8(v);var P=cE.test(v);return P||fE.test(v)?ZE(v.slice(2),P?2:8):lE.test(v)?le:+v}function iS(v){return Xa(v,Yo(v))}function kY(v){return v?Ic(an(v),-Z,Z):v===0?v:0}function En(v){return v==null?"":li(v)}var NY=pf(function(v,S){if(l0(S)||Uo(S)){Xa(S,Vr(S),v);return}for(var P in S)Vn.call(S,P)&&n0(v,P,S[P])}),aS=pf(function(v,S){Xa(S,Yo(S),v)}),V1=pf(function(v,S,P,K){Xa(S,Yo(S),v,K)}),PY=pf(function(v,S,P,K){Xa(S,Vr(S),v,K)}),CY=ks(z2);function IY(v,S){var P=hf(v);return S==null?P:W8(P,S)}var FY=ln(function(v,S){v=Zn(v);var P=-1,K=S.length,re=K>2?S[2]:n;for(re&&xo(S[0],S[1],re)&&(K=1);++P1),de}),Xa(v,vA(v),P),K&&(P=Wi(P,f|d|h,DW));for(var re=S.length;re--;)lA(P,S[re]);return P});function jY(v,S){return lS(v,E1(It(S)))}var qY=ks(function(v,S){return v==null?{}:LW(v,S)});function lS(v,S){if(v==null)return{};var P=qn(vA(v),function(K){return[K]});return S=It(S),q8(v,P,function(K,re){return S(K,re[0])})}function eQ(v,S,P){S=Rl(S,v);var K=-1,re=S.length;for(re||(re=1,v=n);++KS){var K=v;v=S,S=K}if(P||v%1||S%1){var re=F8();return ao(v+re*(S-v+QE("1e-"+((re+"").length-1))),S)}return iA(v,S)}var fQ=mf(function(v,S,P){return S=S.toLowerCase(),v+(P?fS(S):S)});function fS(v){return CA(En(v).toLowerCase())}function dS(v){return v=En(v),v&&v.replace(hE,tX).replace(CE,"")}function dQ(v,S,P){v=En(v),S=li(S);var K=v.length;P=P===n?K:Ic(an(P),0,K);var re=P;return P-=S.length,P>=0&&v.slice(P,re)==S}function hQ(v){return v=En(v),v&&aa.test(v)?v.replace(Qt,nX):v}function pQ(v){return v=En(v),v&&Ro.test(v)?v.replace(rf,"\\$&"):v}var mQ=mf(function(v,S,P){return v+(P?"-":"")+S.toLowerCase()}),vQ=mf(function(v,S,P){return v+(P?" ":"")+S.toLowerCase()}),gQ=m6("toLowerCase");function AQ(v,S,P){v=En(v),S=an(S);var K=S?lf(v):0;if(!S||K>=S)return v;var re=(S-K)/2;return O1(p1(re),P)+v+O1(h1(re),P)}function RQ(v,S,P){v=En(v),S=an(S);var K=S?lf(v):0;return S&&K>>0,P?(v=En(v),v&&(typeof S=="string"||S!=null&&!kA(S))&&(S=li(S),!S&&sf(v))?yl(sa(v),0,P):v.split(S,P)):[]}var LQ=mf(function(v,S,P){return v+(P?" ":"")+CA(S)});function OQ(v,S,P){return v=En(v),P=P==null?0:Ic(an(P),0,v.length),S=li(S),v.slice(P,P+S.length)==S}function TQ(v,S,P){var K=fe.templateSettings;P&&xo(v,S,P)&&(S=n),v=En(v),S=V1({},S,K,b6);var re=V1({},S.imports,K.imports,b6),de=Vr(re),Re=Z2(re,de),Le,Ce,ze=0,$e=S.interpolate||jp,nt="__p += '",vt=D2((S.escape||jp).source+"|"+$e.source+"|"+($e===nf?sE:jp).source+"|"+(S.evaluate||jp).source+"|$","g"),Ot="//# sourceURL="+(Vn.call(S,"sourceURL")?(S.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++XE+"]")+` -`;v.replace(vt,function(Et,fn,Rn,ui,bo,fi){return Rn||(Rn=ui),nt+=v.slice(ze,fi).replace(pE,rX),fn&&(Le=!0,nt+=`' + +`)}function nV(v){return tn(v)||Xc(v)||!!(F8&&v&&v[F8])}function Ns(v,S){var C=typeof v;return S=S??Z,!!S&&(C=="number"||C!="symbol"&&pE.test(v))&&v>-1&&v%1==0&&v0){if(++S>=P)return arguments[0]}else S=0;return v.apply(n,arguments)}}function C1(v,S){var C=-1,K=v.length,re=K-1;for(S=S===n?K:S;++C1?v[S-1]:n;return C=typeof C=="function"?(v.pop(),C):n,B6(v,C)});function D6(v){var S=fe(v);return S.__chain__=!0,S}function hU(v,S){return S(v),v}function I1(v,S){return S(v)}var pU=ks(function(v){var S=v.length,C=S?v[0]:0,K=this.__wrapped__,re=function(de){return $2(de,v)};return S>1||this.__actions__.length||!(K instanceof vn)||!Ns(C)?this.thru(re):(K=K.slice(C,+C+(S?1:0)),K.__actions__.push({func:I1,args:[re],thisArg:n}),new Xi(K,this.__chain__).thru(function(de){return S&&!de.length&&de.push(n),de}))});function mU(){return D6(this)}function vU(){return new Xi(this.value(),this.__chain__)}function gU(){this.__values__===n&&(this.__values__=iS(this.value()));var v=this.__index__>=this.__values__.length,S=v?n:this.__values__[this.__index__++];return{done:v,value:S}}function AU(){return this}function RU(v){for(var S,C=this;C instanceof A1;){var K=W6(C);K.__index__=0,K.__values__=n,S?re.__wrapped__=K:S=K;var re=K;C=C.__wrapped__}return re.__wrapped__=v,S}function yU(){var v=this.__wrapped__;if(v instanceof vn){var S=v;return this.__actions__.length&&(S=new vn(this)),S=S.reverse(),S.__actions__.push({func:I1,args:[wA],thisArg:n}),new Xi(S,this.__chain__)}return this.thru(wA)}function bU(){return s6(this.__wrapped__,this.__actions__)}var xU=w1(function(v,S,C){Vn.call(v,C)?++v[C]:Os(v,C,1)});function SU(v,S,C){var K=tn(v)?y8:hW;return C&&bo(v,S,C)&&(S=n),K(v,It(S,3))}function MU(v,S){var C=tn(v)?hl:B8;return C(v,It(S,3))}var wU=A6(V6),LU=A6(U6);function OU(v,S){return Hr(F1(v,S),1)}function TU(v,S){return Hr(F1(v,S),V)}function kU(v,S,C){return C=C===n?1:an(C),Hr(F1(v,S),C)}function K6(v,S){var C=tn(v)?_i:gl;return C(v,It(S,3))}function H6(v,S){var C=tn(v)?GE:Z8;return C(v,It(S,3))}var NU=w1(function(v,S,C){Vn.call(v,C)?v[C].push(S):Os(v,C,[S])});function PU(v,S,C,K){v=Uo(v)?v:Af(v),C=C&&!K?an(C):0;var re=v.length;return C<0&&(C=_r(re+C,0)),V1(v)?C<=re&&v.indexOf(S,C)>-1:!!re&&af(v,S,C)>-1}var CU=ln(function(v,S,C){var K=-1,re=typeof S=="function",de=Uo(v)?Ye(v.length):[];return gl(v,function(Re){de[++K]=re?ai(S,Re,C):i0(Re,S,C)}),de}),IU=w1(function(v,S,C){Os(v,C,S)});function F1(v,S){var C=tn(v)?qn:z8;return C(v,It(S,3))}function FU(v,S,C,K){return v==null?[]:(tn(S)||(S=S==null?[]:[S]),C=K?n:C,tn(C)||(C=C==null?[]:[C]),e6(v,S,C))}var _U=w1(function(v,S,C){v[C?0:1].push(S)},function(){return[[],[]]});function EU(v,S,C){var K=tn(v)?W2:M8,re=arguments.length<3;return K(v,It(S,4),C,re,gl)}function XU(v,S,C){var K=tn(v)?JE:M8,re=arguments.length<3;return K(v,It(S,4),C,re,Z8)}function WU(v,S){var C=tn(v)?hl:B8;return C(v,X1(It(S,3)))}function VU(v){var S=tn(v)?V8:PW;return S(v)}function UU(v,S,C){(C?bo(v,S,C):S===n)?S=1:S=an(S);var K=tn(v)?lW:CW;return K(v,S)}function YU(v){var S=tn(v)?cW:FW;return S(v)}function QU(v){if(v==null)return 0;if(Uo(v))return V1(v)?lf(v):v.length;var S=so(v);return S==X||S==ce?v.size:rA(v).length}function ZU(v,S,C){var K=tn(v)?V2:_W;return C&&bo(v,S,C)&&(S=n),K(v,It(S,3))}var BU=ln(function(v,S){if(v==null)return[];var C=S.length;return C>1&&bo(v,S[0],S[1])?S=[]:C>2&&bo(S[0],S[1],S[2])&&(S=[S[0]]),e6(v,Hr(S,1),[])}),_1=MX||function(){return Kr.Date.now()};function DU(v,S){if(typeof S!="function")throw new Ei(a);return v=an(v),function(){if(--v<1)return S.apply(this,arguments)}}function G6(v,S,C){return S=C?n:S,S=v&&S==null?v.length:S,Ts(v,T,n,n,n,n,S)}function J6(v,S){var C;if(typeof S!="function")throw new Ei(a);return v=an(v),function(){return--v>0&&(C=S.apply(this,arguments)),v<=1&&(S=n),C}}var OA=ln(function(v,S,C){var K=A;if(C.length){var re=ml(C,vf(OA));K|=b}return Ts(v,K,S,C,re)}),z6=ln(function(v,S,C){var K=A|x;if(C.length){var re=ml(C,vf(z6));K|=b}return Ts(S,K,v,C,re)});function $6(v,S,C){S=C?n:S;var K=Ts(v,R,n,n,n,n,n,S);return K.placeholder=$6.placeholder,K}function j6(v,S,C){S=C?n:S;var K=Ts(v,g,n,n,n,n,n,S);return K.placeholder=j6.placeholder,K}function q6(v,S,C){var K,re,de,Re,Le,Ce,ze=0,je=!1,nt=!1,vt=!0;if(typeof v!="function")throw new Ei(a);S=Yi(S)||0,cr(C)&&(je=!!C.leading,nt="maxWait"in C,de=nt?_r(Yi(C.maxWait)||0,S):de,vt="trailing"in C?!!C.trailing:vt);function Ot(xr){var ua=K,Is=re;return K=re=n,ze=xr,Re=v.apply(Is,ua),Re}function _t(xr){return ze=xr,Le=u0(fn,S),je?Ot(xr):Re}function sn(xr){var ua=xr-Ce,Is=xr-ze,AS=S-ua;return nt?ao(AS,de-Is):AS}function Et(xr){var ua=xr-Ce,Is=xr-ze;return Ce===n||ua>=S||ua<0||nt&&Is>=de}function fn(){var xr=_1();if(Et(xr))return Rn(xr);Le=u0(fn,sn(xr))}function Rn(xr){return Le=n,vt&&K?Ot(xr):(K=re=n,Re)}function ui(){Le!==n&&c6(Le),ze=0,K=Ce=re=Le=n}function xo(){return Le===n?Re:Rn(_1())}function fi(){var xr=_1(),ua=Et(xr);if(K=arguments,re=this,Ce=xr,ua){if(Le===n)return _t(Ce);if(nt)return c6(Le),Le=u0(fn,S),Ot(Ce)}return Le===n&&(Le=u0(fn,S)),Re}return fi.cancel=ui,fi.flush=xo,fi}var KU=ln(function(v,S){return Q8(v,1,S)}),HU=ln(function(v,S,C){return Q8(v,Yi(S)||0,C)});function GU(v){return Ts(v,w)}function E1(v,S){if(typeof v!="function"||S!=null&&typeof S!="function")throw new Ei(a);var C=function(){var K=arguments,re=S?S.apply(this,K):K[0],de=C.cache;if(de.has(re))return de.get(re);var Re=v.apply(this,K);return C.cache=de.set(re,Re)||de,Re};return C.cache=new(E1.Cache||Ls),C}E1.Cache=Ls;function X1(v){if(typeof v!="function")throw new Ei(a);return function(){var S=arguments;switch(S.length){case 0:return!v.call(this);case 1:return!v.call(this,S[0]);case 2:return!v.call(this,S[0],S[1]);case 3:return!v.call(this,S[0],S[1],S[2])}return!v.apply(this,S)}}function JU(v){return J6(2,v)}var zU=EW(function(v,S){S=S.length==1&&tn(S[0])?qn(S[0],si(It())):qn(Hr(S,1),si(It()));var C=S.length;return ln(function(K){for(var re=-1,de=ao(K.length,C);++re=S}),Xc=H8(function(){return arguments}())?H8:function(v){return pr(v)&&Vn.call(v,"callee")&&!I8.call(v,"callee")},tn=Ye.isArray,fY=p8?si(p8):RW;function Uo(v){return v!=null&&W1(v.length)&&!Ps(v)}function br(v){return pr(v)&&Uo(v)}function dY(v){return v===!0||v===!1||pr(v)&&yo(v)==oe}var bl=LX||VA,hY=m8?si(m8):yW;function pY(v){return pr(v)&&v.nodeType===1&&!f0(v)}function mY(v){if(v==null)return!0;if(Uo(v)&&(tn(v)||typeof v=="string"||typeof v.splice=="function"||bl(v)||gf(v)||Xc(v)))return!v.length;var S=so(v);if(S==X||S==ce)return!v.size;if(c0(v))return!rA(v).length;for(var C in v)if(Vn.call(v,C))return!1;return!0}function vY(v,S){return a0(v,S)}function gY(v,S,C){C=typeof C=="function"?C:n;var K=C?C(v,S):n;return K===n?a0(v,S,n,C):!!K}function kA(v){if(!pr(v))return!1;var S=yo(v);return S==me||S==Ae||typeof v.message=="string"&&typeof v.name=="string"&&!f0(v)}function AY(v){return typeof v=="number"&&_8(v)}function Ps(v){if(!cr(v))return!1;var S=yo(v);return S==$||S==ue||S==z||S==ae}function tS(v){return typeof v=="number"&&v==an(v)}function W1(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=Z}function cr(v){var S=typeof v;return v!=null&&(S=="object"||S=="function")}function pr(v){return v!=null&&typeof v=="object"}var nS=v8?si(v8):xW;function RY(v,S){return v===S||nA(v,S,RA(S))}function yY(v,S,C){return C=typeof C=="function"?C:n,nA(v,S,RA(S),C)}function bY(v){return rS(v)&&v!=+v}function xY(v){if(iV(v))throw new $t(i);return G8(v)}function SY(v){return v===null}function MY(v){return v==null}function rS(v){return typeof v=="number"||pr(v)&&yo(v)==ne}function f0(v){if(!pr(v)||yo(v)!=j)return!1;var S=f1(v);if(S===null)return!0;var C=Vn.call(S,"constructor")&&S.constructor;return typeof C=="function"&&C instanceof C&&s1.call(C)==yX}var NA=g8?si(g8):SW;function wY(v){return tS(v)&&v>=-Z&&v<=Z}var oS=A8?si(A8):MW;function V1(v){return typeof v=="string"||!tn(v)&&pr(v)&&yo(v)==ve}function ci(v){return typeof v=="symbol"||pr(v)&&yo(v)==ye}var gf=R8?si(R8):wW;function LY(v){return v===n}function OY(v){return pr(v)&&so(v)==Se}function TY(v){return pr(v)&&yo(v)==be}var kY=k1(oA),NY=k1(function(v,S){return v<=S});function iS(v){if(!v)return[];if(Uo(v))return V1(v)?sa(v):Vo(v);if(jd&&v[jd])return lX(v[jd]());var S=so(v),C=S==X?D2:S==ce?o1:Af;return C(v)}function Cs(v){if(!v)return v===0?v:0;if(v=Yi(v),v===V||v===-V){var S=v<0?-1:1;return S*J}return v===v?v:0}function an(v){var S=Cs(v),C=S%1;return S===S?C?S-C:S:0}function aS(v){return v?Ic(an(v),0,D):0}function Yi(v){if(typeof v=="number")return v;if(ci(v))return se;if(cr(v)){var S=typeof v.valueOf=="function"?v.valueOf():v;v=cr(S)?S+"":S}if(typeof v!="string")return v===0?v:+v;v=w8(v);var C=fE.test(v);return C||hE.test(v)?DE(v.slice(2),C?2:8):uE.test(v)?se:+v}function sS(v){return Wa(v,Yo(v))}function PY(v){return v?Ic(an(v),-Z,Z):v===0?v:0}function En(v){return v==null?"":li(v)}var CY=pf(function(v,S){if(c0(S)||Uo(S)){Wa(S,Vr(S),v);return}for(var C in S)Vn.call(S,C)&&r0(v,C,S[C])}),lS=pf(function(v,S){Wa(S,Yo(S),v)}),U1=pf(function(v,S,C,K){Wa(S,Yo(S),v,K)}),IY=pf(function(v,S,C,K){Wa(S,Vr(S),v,K)}),FY=ks($2);function _Y(v,S){var C=hf(v);return S==null?C:U8(C,S)}var EY=ln(function(v,S){v=Zn(v);var C=-1,K=S.length,re=K>2?S[2]:n;for(re&&bo(S[0],S[1],re)&&(K=1);++C1),de}),Wa(v,gA(v),C),K&&(C=Wi(C,f|d|h,HW));for(var re=S.length;re--;)cA(C,S[re]);return C});function eQ(v,S){return uS(v,X1(It(S)))}var tQ=ks(function(v,S){return v==null?{}:TW(v,S)});function uS(v,S){if(v==null)return{};var C=qn(gA(v),function(K){return[K]});return S=It(S),t6(v,C,function(K,re){return S(K,re[0])})}function nQ(v,S,C){S=Rl(S,v);var K=-1,re=S.length;for(re||(re=1,v=n);++KS){var K=v;v=S,S=K}if(C||v%1||S%1){var re=E8();return ao(v+re*(S-v+BE("1e-"+((re+"").length-1))),S)}return aA(v,S)}var hQ=mf(function(v,S,C){return S=S.toLowerCase(),v+(C?hS(S):S)});function hS(v){return IA(En(v).toLowerCase())}function pS(v){return v=En(v),v&&v.replace(mE,rX).replace(FE,"")}function pQ(v,S,C){v=En(v),S=li(S);var K=v.length;C=C===n?K:Ic(an(C),0,K);var re=C;return C-=S.length,C>=0&&v.slice(C,re)==S}function mQ(v){return v=En(v),v&&aa.test(v)?v.replace(Qt,oX):v}function vQ(v){return v=En(v),v&&Ro.test(v)?v.replace(rf,"\\$&"):v}var gQ=mf(function(v,S,C){return v+(C?"-":"")+S.toLowerCase()}),AQ=mf(function(v,S,C){return v+(C?" ":"")+S.toLowerCase()}),RQ=g6("toLowerCase");function yQ(v,S,C){v=En(v),S=an(S);var K=S?lf(v):0;if(!S||K>=S)return v;var re=(S-K)/2;return T1(m1(re),C)+v+T1(p1(re),C)}function bQ(v,S,C){v=En(v),S=an(S);var K=S?lf(v):0;return S&&K>>0,C?(v=En(v),v&&(typeof S=="string"||S!=null&&!NA(S))&&(S=li(S),!S&&sf(v))?yl(sa(v),0,C):v.split(S,C)):[]}var TQ=mf(function(v,S,C){return v+(C?" ":"")+IA(S)});function kQ(v,S,C){return v=En(v),C=C==null?0:Ic(an(C),0,v.length),S=li(S),v.slice(C,C+S.length)==S}function NQ(v,S,C){var K=fe.templateSettings;C&&bo(v,S,C)&&(S=n),v=En(v),S=U1({},S,K,M6);var re=U1({},S.imports,K.imports,M6),de=Vr(re),Re=B2(re,de),Le,Ce,ze=0,je=S.interpolate||qp,nt="__p += '",vt=K2((S.escape||qp).source+"|"+je.source+"|"+(je===nf?cE:qp).source+"|"+(S.evaluate||qp).source+"|$","g"),Ot="//# sourceURL="+(Vn.call(S,"sourceURL")?(S.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++VE+"]")+` +`;v.replace(vt,function(Et,fn,Rn,ui,xo,fi){return Rn||(Rn=ui),nt+=v.slice(ze,fi).replace(vE,iX),fn&&(Le=!0,nt+=`' + __e(`+fn+`) + -'`),bo&&(Ce=!0,nt+=`'; -`+bo+`; +'`),xo&&(Ce=!0,nt+=`'; +`+xo+`; __p += '`),Rn&&(nt+=`' + ((__t = (`+Rn+`)) == null ? '' : __t) + '`),ze=fi+Et.length,Et}),nt+=`'; `;var _t=Vn.call(S,"variable")&&S.variable;if(!_t)nt=`with (obj) { `+nt+` } -`;else if(iE.test(_t))throw new $t(s);nt=(Ce?nt.replace(ct,""):nt).replace(ht,"$1").replace(At,"$1;"),nt="function("+(_t||"obj")+`) { +`;else if(sE.test(_t))throw new $t(s);nt=(Ce?nt.replace(ct,""):nt).replace(ht,"$1").replace(At,"$1;"),nt="function("+(_t||"obj")+`) { `+(_t?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(Le?", __e = _.escape":"")+(Ce?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+nt+`return __p -}`;var sn=pS(function(){return Pn(de,Ot+"return "+nt).apply(n,Re)});if(sn.source=nt,TA(sn))throw sn;return sn}function kQ(v){return En(v).toLowerCase()}function NQ(v){return En(v).toUpperCase()}function PQ(v,S,P){if(v=En(v),v&&(P||S===n))return S8(v);if(!v||!(S=li(S)))return v;var K=sa(v),re=sa(S),de=M8(K,re),Re=w8(K,re)+1;return yl(K,de,Re).join("")}function CQ(v,S,P){if(v=En(v),v&&(P||S===n))return v.slice(0,O8(v)+1);if(!v||!(S=li(S)))return v;var K=sa(v),re=w8(K,sa(S))+1;return yl(K,0,re).join("")}function IQ(v,S,P){if(v=En(v),v&&(P||S===n))return v.replace(Ii,"");if(!v||!(S=li(S)))return v;var K=sa(v),re=M8(K,sa(S));return yl(K,re).join("")}function FQ(v,S){var P=k,K=F;if(cr(S)){var re="separator"in S?S.separator:re;P="length"in S?an(S.length):P,K="omission"in S?li(S.omission):K}v=En(v);var de=v.length;if(sf(v)){var Re=sa(v);de=Re.length}if(P>=de)return v;var Le=P-lf(K);if(Le<1)return K;var Ce=Re?yl(Re,0,Le).join(""):v.slice(0,Le);if(re===n)return Ce+K;if(Re&&(Le+=Ce.length-Le),kA(re)){if(v.slice(Le).search(re)){var ze,$e=Ce;for(re.global||(re=D2(re.source,En(D5.exec(re))+"g")),re.lastIndex=0;ze=re.exec($e);)var nt=ze.index;Ce=Ce.slice(0,nt===n?Le:nt)}}else if(v.indexOf(li(re),Le)!=Le){var vt=Ce.lastIndexOf(re);vt>-1&&(Ce=Ce.slice(0,vt))}return Ce+K}function _Q(v){return v=En(v),v&&Nn.test(v)?v.replace(Ft,uX):v}var EQ=mf(function(v,S,P){return v+(P?" ":"")+S.toUpperCase()}),CA=m6("toUpperCase");function hS(v,S,P){return v=En(v),S=P?n:S,S===n?iX(v)?hX(v):zE(v):v.match(S)||[]}var pS=ln(function(v,S){try{return ai(v,n,S)}catch(P){return TA(P)?P:new $t(P)}}),XQ=ks(function(v,S){return _i(S,function(P){P=Wa(P),Os(v,P,LA(v[P],v))}),v});function WQ(v){var S=v==null?0:v.length,P=It();return v=S?qn(v,function(K){if(typeof K[1]!="function")throw new Ei(a);return[P(K[0]),K[1]]}):[],ln(function(K){for(var re=-1;++reZ)return[];var P=D,K=ao(v,D);S=It(S),v-=D;for(var re=Q2(K,S);++P0||S<0)?new vn(P):(v<0?P=P.takeRight(-v):v&&(P=P.drop(v)),S!==n&&(S=an(S),P=S<0?P.dropRight(-S):P.take(S-v)),P)},vn.prototype.takeRightWhile=function(v){return this.reverse().takeWhile(v).reverse()},vn.prototype.toArray=function(){return this.take(D)},Ea(vn.prototype,function(v,S){var P=/^(?:filter|find|map|reject)|While$/.test(S),K=/^(?:head|last)$/.test(S),re=fe[K?"take"+(S=="last"?"Right":""):S],de=K||/^find/.test(S);re&&(fe.prototype[S]=function(){var Re=this.__wrapped__,Le=K?[1]:arguments,Ce=Re instanceof vn,ze=Le[0],$e=Ce||qt(Re),nt=function(fn){var Rn=re.apply(fe,pl([fn],Le));return K&&vt?Rn[0]:Rn};$e&&P&&typeof ze=="function"&&ze.length!=1&&(Ce=$e=!1);var vt=this.__chain__,Ot=!!this.__actions__.length,_t=de&&!vt,sn=Ce&&!Ot;if(!de&&$e){Re=sn?Re:new vn(this);var Et=v.apply(Re,Le);return Et.__actions__.push({func:C1,args:[nt],thisArg:n}),new Xi(Et,vt)}return _t&&sn?v.apply(this,Le):(Et=this.thru(nt),_t?K?Et.value()[0]:Et.value():Et)})}),_i(["pop","push","shift","sort","splice","unshift"],function(v){var S=o1[v],P=/^(?:push|sort|unshift)$/.test(v)?"tap":"thru",K=/^(?:pop|shift)$/.test(v);fe.prototype[v]=function(){var re=arguments;if(K&&!this.__chain__){var de=this.value();return S.apply(qt(de)?de:[],re)}return this[P](function(Re){return S.apply(qt(Re)?Re:[],re)})}}),Ea(vn.prototype,function(v,S){var P=fe[S];if(P){var K=P.name+"";Vn.call(df,K)||(df[K]=[]),df[K].push({name:S,func:P})}}),df[w1(n,x).name]=[{name:"wrapper",func:n}],vn.prototype.clone=_X,vn.prototype.reverse=EX,vn.prototype.value=XX,fe.prototype.at=dU,fe.prototype.chain=hU,fe.prototype.commit=pU,fe.prototype.next=mU,fe.prototype.plant=gU,fe.prototype.reverse=AU,fe.prototype.toJSON=fe.prototype.valueOf=fe.prototype.value=RU,fe.prototype.first=fe.prototype.head,$d&&(fe.prototype[$d]=vU),fe},cf=pX();kc?((kc.exports=cf)._=cf,F2._=cf):Kr._=cf}).call(Nt)})(kv,kv.exports);var Fn=kv.exports;const XG=[{id:"test-slide-1",elements:[{type:"shape",id:"4cbRxp",left:0,top:200,width:546,height:362.5,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"#5b9bd5",fixedRatio:!1,opacity:.7,rotate:0},{type:"shape",id:"ookHrf",left:0,top:0,width:300,height:320,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"#5b9bd5",fixedRatio:!1,flipV:!0,rotate:0},{type:"text",id:"idn7Mx",left:355,top:65.25,width:585,height:188,lineHeight:1.2,content:"

PPTIST

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"text",id:"7stmVP",left:355,top:253.25,width:585,height:56,content:"

基于 Vue 3.x + TypeScript 的在线演示文稿应用

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"line",id:"FnpZs4",left:361,top:238,start:[0,0],end:[549,0],points:["",""],color:"#5b9bd5",style:"solid",width:2}],background:{type:"solid",color:"#ffffff"}},{id:"test-slide-2",elements:[{type:"text",id:"ptNnUJ",left:145,top:148,width:711,height:77,lineHeight:1.2,content:"

在此处添加标题

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"text",id:"mRHvQN",left:207.50000000000003,top:249.84259259259264,width:585,height:56,content:"

在此处添加副标题

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"line",id:"7CQDwc",left:323.09259259259267,top:238.33333333333334,start:[0,0],end:[354.8148148148148,0],points:["",""],color:"#5b9bd5",style:"solid",width:4},{type:"shape",id:"09wqWw",left:-27.648148148148138,top:432.73148148148147,width:1056.2962962962963,height:162.96296296296296,viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"#fff"}},{id:"test-slide-3",elements:[{type:"shape",id:"vSheCJ",left:183.5185185185185,top:175.5092592592593,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0},{type:"shape",id:"Mpwv7x",left:211.29629629629628,top:201.80555555555557,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0,opacity:.7},{type:"text",id:"WQOTAp",left:304.9074074074074,top:198.10185185185182,width:417.9629629629629,height:140,content:"

感谢观看

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333",wordSpace:5}],background:{type:"solid",color:"#fff"}}],WG={themeColor:"#5b9bd5",fontColor:"#333",fontName:"Microsoft Yahei",backgroundColor:"#fff",shadow:{h:3,v:3,blur:2,color:"#808080"},outline:{width:2,color:"#525252",style:"solid"}},VG=[{id:"template",elements:[{type:"shape",id:"4cbRxp",left:0,top:200,width:546,height:362.5,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"{{themeColor}}",fixedRatio:!1,opacity:.7,rotate:0},{type:"shape",id:"ookHrf",left:0,top:0,width:300,height:320,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"{{themeColor}}",fixedRatio:!1,flipV:!0,rotate:0},{type:"text",id:"AkIh3E",left:355,top:95.11111111111111,width:585,height:116,lineHeight:1.2,content:"

输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:6},{type:"text",id:"7stmVP",left:355,top:253.25,width:585,height:56,content:"

请在此处输入副标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"line",id:"FnpZs4",left:361,top:238,start:[0,0],end:[549,0],points:["",""],color:"{{themeColor}}",style:"solid",width:2}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"ptNnUJ",left:145,top:148,width:711,height:77,lineHeight:1.2,content:"

在此处添加标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"mRHvQN",left:207.50000000000003,top:249.84259259259264,width:585,height:56,content:"

在此处添加副标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"line",id:"7CQDwc",left:323.09259259259267,top:238.33333333333334,start:[0,0],end:[354.8148148148148,0],points:["",""],color:"{{themeColor}}",style:"solid",width:4},{type:"shape",id:"09wqWw",left:-27.648148148148138,top:432.73148148148147,width:1056.2962962962963,height:162.96296296296296,viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"vSheCJ",left:183.5185185185185,top:175.5092592592593,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0},{type:"shape",id:"Mpwv7x",left:211.29629629629628,top:201.80555555555557,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,opacity:.7},{type:"text",id:"WQOTAp",left:304.9074074074074,top:198.10185185185182,width:417.9629629629629,height:140,content:"

感谢观看

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:5}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"MZVO1kkj",elements:[{type:"shape",id:"cql0h8",left:0,top:0,width:352.59259259259255,height:562.5,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0},{type:"shape",id:"_RTaF4",left:171.4814814814814,top:100.13888888888887,width:362.22222222222223,height:362.22222222222223,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"rgba(255,255,255,0)",fixedRatio:!1,rotate:0,outline:{width:10,color:"{{backgroundColor}}",style:"solid"}},{type:"shape",id:"UZfo8N",left:216.66666666666663,top:145.32407407407408,width:271.85185185185185,height:271.85185185185185,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0,text:{content:"

01

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"ysqtBg",left:561.4814814814814,top:100.1388888888889,width:359.25925925925924,height:80,content:"

在此处输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"lXsoHa",left:572.5925925925925,top:202.3611111111111,width:257.77777777777777,height:260,content:"
  1. 在此处输入内容

  2. 在此处输入内容

  3. 在此处输入内容

  4. 在此处输入内容

  5. 在此处输入内容

  6. 在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",lineHeight:2,fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"EBBnTr",left:360.5996472663139,top:141.8496472663139,width:278.80070546737215,height:278.80070546737215,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:0,color:"{{backgroundColor}}",style:"solid"}},{type:"shape",id:"gDIWDH",left:456.4373897707231,top:98.287037037037,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"

1

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"DUWT7E",left:317.037037037037,top:237.68738977072314,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"

4

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"pbhn38",left:456.43738977072303,top:377.08774250440916,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"

3

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"CvMKrO",left:595.8377425044091,top:237.6873897707231,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"

2

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"adudHB",left:402.962962962963,top:39.39814814814815,width:194.07407407407408,height:50,content:"

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"9UpDwg",left:402.962962962963,top:473.1018518518518,width:194.07407407407408,height:50,content:"

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"GERdpB",left:111.48148148148151,top:256.25,width:194.07407407407408,height:50,content:"

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"G5qoho",left:691.1111111111111,top:256.25,width:194.07407407407408,height:50,content:"

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"shape",id:"vdZcI6",left:415.18518518518516,top:196.4351851851852,width:169.62962962962962,height:169.62962962962962,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"tYUmrx",left:156.66666666666683,top:149.02777777777771,width:264.4444444444445,height:264.4444444444445,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

01

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"0GVHf8",left:342.2222222222223,top:217.17592592592587,width:128.14814814814812,height:128.14814814814812,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0},{type:"text",id:"BO33Sv",left:378.8888888888889,top:235.24999999999994,width:464.4444444444444,height:92,content:"

在此处添加标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"Hj7ttp",left:69.35185185185185,top:49.21759259259262,width:420,height:63,lineHeight:1.2,content:"

1.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"FmKMNB",left:69.35185185185185,top:129.28240740740745,width:420,height:384,content:"

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"rI7ZeO",left:510.64814814814815,top:49.21759259259262,width:420,height:63,lineHeight:1.2,content:"

2.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"KspwGc",left:510.64814814814815,top:129.28240740740745,width:420,height:384,content:"

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"Rx63Jo",left:69.35185185185179,top:51.71759259259262,width:420,height:58,lineHeight:1.2,content:"

1.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"ulyuzE",left:69.35185185185179,top:131.78240740740745,width:420,height:129,content:"

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"kr35Ca",left:510.6481481481481,top:51.71759259259262,width:420,height:58,lineHeight:1.2,content:"

2.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"BNQSpC",left:510.6481481481481,top:131.78240740740745,width:420,height:129,content:"

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"Vr38Nu",left:69.35185185185185,top:301.71759259259255,width:420,height:58,lineHeight:1.2,content:"

3.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"IwKRSu",left:69.35185185185185,top:381.7824074074074,width:420,height:129,content:"

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"0Opr1v",left:510.64814814814815,top:301.71759259259255,width:420,height:58,lineHeight:1.2,content:"

4.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"4L9Uzz",left:510.64814814814815,top:381.7824074074074,width:420,height:129,content:"

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"GdEGxg",left:134.53703703703704,top:127.25,width:152.77777777777777,height:308,lineHeight:1.8,content:"

请在此处输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:8,fill:"{{themeColor}}"},{type:"text",id:"y5sAfw",left:332.8703703703704,top:127.25,width:532.5925925925926,height:50,content:"

请在此处输入内容1

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"VeuocM",left:332.8703703703704,top:212.0648148148148,width:532.5925925925926,height:50,content:"

请在此处输入内容2

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"RyFWQe",left:332.8703703703704,top:296.8796296296296,width:532.5925925925926,height:50,content:"

请在此处输入内容3

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"Q56viI",left:332.8703703703704,top:381.69444444444446,width:532.5925925925926,height:50,content:"

请在此处输入内容4

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"SUWirT",left:73.8888888888889,top:64.21296296296302,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

1

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"YjzN1M",left:148.70370370370372,top:64.21296296296302,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"fS09I7",left:527.5925925925926,top:64.21296296296302,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

2

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"qCnfB1",left:602.4074074074074,top:64.21296296296302,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"difAAT",left:73.8888888888889,top:221.25000000000003,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

3

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"EUlvMo",left:148.70370370370372,top:221.25000000000003,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"US_9jB",left:527.5925925925926,top:221.25000000000003,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

4

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"243MnQ",left:602.4074074074074,top:221.25000000000003,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"Y_KUj0",left:73.8888888888889,top:378.287037037037,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

5

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"9GglMe",left:148.70370370370372,top:378.287037037037,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"eSInje",left:527.5925925925926,top:378.287037037037,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

6

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"0S3yUg",left:602.4074074074074,top:378.287037037037,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}}],lt=Rp("slides",{state:()=>({title:"未命名演示文稿",theme:WG,slides:XG,slideIndex:0,viewportRatio:.5625}),getters:{currentSlide(e){return e.slides[e.slideIndex]},currentSlideAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(o=>o.id);return t.animations.filter(o=>r.includes(o.elId))},formatedAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(a=>a.id),o=t.animations.filter(a=>r.includes(a.elId)),i=[];for(const a of o)if(a.trigger==="click"||!i.length)i.push({animations:[a],autoNext:!1});else if(a.trigger==="meantime"){const s=i[i.length-1];s.animations=s.animations.filter(c=>c.elId!==a.elId),s.animations.push(a),i[i.length-1]=s}else if(a.trigger==="auto"){const s=i[i.length-1];s.autoNext=!0,i[i.length-1]=s,i.push({animations:[a],autoNext:!1})}return i},layouts(e){const{themeColor:t,fontColor:n,fontName:r,backgroundColor:o}=e.theme,i=rt(n).isDark()?"rgba(230, 230, 230, 0.5)":"rgba(180, 180, 180, 0.5)",a=JSON.stringify(VG).replace(/{{themeColor}}/g,t).replace(/{{fontColor}}/g,n).replace(/{{fontName}}/g,r).replace(/{{backgroundColor}}/g,o).replace(/{{subColor}}/g,i);return JSON.parse(a)}},actions:{setTitle(e){e?this.title=e:this.title="未命名演示文稿"},setTheme(e){this.theme={...this.theme,...e}},setViewportRatio(e){this.viewportRatio=e},setSlides(e){this.slides=e},addSlide(e){const t=Array.isArray(e)?e:[e],n=this.slideIndex+1;this.slides.splice(n,0,...t),this.slideIndex=n},updateSlide(e){const t=this.slideIndex;this.slides[t]={...this.slides[t],...e}},deleteSlide(e){const t=Array.isArray(e)?e:[e],n=[];for(let i=0;is.id===t[i]);n.push(a)}let r=Math.min(...n);const o=this.slides.length-t.length-1;r>o&&(r=o),this.slideIndex=r,this.slides=this.slides.filter(i=>!t.includes(i.id))},updateSlideIndex(e){this.slideIndex=e},addElement(e){const t=Array.isArray(e)?e:[e],r=[...this.slides[this.slideIndex].elements,...t];this.slides[this.slideIndex].elements=r},deleteElement(e){const t=Array.isArray(e)?e:[e],r=this.slides[this.slideIndex].elements.filter(o=>!t.includes(o.id));this.slides[this.slideIndex].elements=r},updateElement(e){const{id:t,props:n,slideId:r}=e,o=typeof t=="string"?[t]:t,i=r?this.slides.findIndex(c=>c.id===r):this.slideIndex,s=this.slides[i].elements.map(c=>o.includes(c.id)?{...c,...n}:c);this.slides[i].elements=s},removeElementProps(e){const{id:t,propName:n}=e,r=typeof n=="string"?[n]:n,o=this.slideIndex,a=this.slides[o].elements.map(s=>s.id===t?Fn.omit(s,r):s);this.slides[o].elements=a}}}),UG=DK("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),oP=UG(10),ft=Rp("main",{state:()=>({activeElementIdList:[],handleElementId:"",activeGroupElementId:"",hiddenElementIdList:[],canvasPercentage:90,canvasScale:1,canvasDragged:!1,thumbnailsFocus:!1,editorAreaFocus:!1,disableHotkeys:!1,gridLineSize:0,showRuler:!1,creatingElement:null,creatingCustomShape:!1,availableFonts:MM,toolbarState:Sr.SLIDE_DESIGN,clipingImageElementId:"",richTextAttrs:fG,selectedTableCells:[],isScaling:!1,selectedSlidesIndex:[],dialogForExport:"",databaseId:oP,textFormatPainter:null,shapeFormatPainter:null,showSelectPanel:!1,showSearchPanel:!1,showNotesPanel:!1}),getters:{activeElementList(e){const n=lt().currentSlide;return!n||!n.elements?[]:n.elements.filter(r=>e.activeElementIdList.includes(r.id))},handleElement(e){const n=lt().currentSlide;return!n||!n.elements?null:n.elements.find(r=>e.handleElementId===r.id)||null}},actions:{setActiveElementIdList(e){e.length===1?this.handleElementId=e[0]:this.handleElementId="",this.activeElementIdList=e},setHandleElementId(e){this.handleElementId=e},setActiveGroupElementId(e){this.activeGroupElementId=e},setHiddenElementIdList(e){this.hiddenElementIdList=e},setCanvasPercentage(e){this.canvasPercentage=e},setCanvasScale(e){this.canvasScale=e},setCanvasDragged(e){this.canvasDragged=e},setThumbnailsFocus(e){this.thumbnailsFocus=e},setEditorareaFocus(e){this.editorAreaFocus=e},setDisableHotkeysState(e){this.disableHotkeys=e},setGridLineSize(e){this.gridLineSize=e},setRulerState(e){this.showRuler=e},setCreatingElement(e){this.creatingElement=e},setCreatingCustomShapeState(e){this.creatingCustomShape=e},setAvailableFonts(){this.availableFonts=MM.filter(e=>dG(e.value))},setToolbarState(e){this.toolbarState=e},setClipingImageElementId(e){this.clipingImageElementId=e},setRichtextAttrs(e){this.richTextAttrs=e},setSelectedTableCells(e){this.selectedTableCells=e},setScalingState(e){this.isScaling=e},updateSelectedSlidesIndex(e){this.selectedSlidesIndex=e},setDialogForExport(e){this.dialogForExport=e},setTextFormatPainter(e){this.textFormatPainter=e},setShapeFormatPainter(e){this.shapeFormatPainter=e},setSelectPanelState(e){this.showSelectPanel=e},setSearchPanelState(e){this.showSearchPanel=e},setNotesPanelState(e){this.showNotesPanel=e}}});var Hn=function(){return Hn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0)t=e;else{t=e.constructor?Object.create(e.constructor.prototype):{};for(var o in e)ea(e,o)&&(t[o]=Gh(e[o]))}return t}var GG={}.toString;function D4(e){return GG.call(e).slice(8,-1)}var K4=function(e,t){return t==="Array"?""+e.map(function(n){return K4(n,D4(n))}):t==="ArrayBuffer"?""+new Uint8Array(e):t==="Date"?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function hb(e,t,n,r){return n=n||{},r=r||"",oo(e).forEach(function(o){if(!ea(t,o))n[r+o]=void 0;else{var i=e[o],a=t[o];if(typeof i=="object"&&typeof a=="object"&&i&&a){var s=D4(i),c=D4(a);s===c?HG[s]?K4(i,s)!==K4(a,c)&&(n[r+o]=t[o]):hb(i,a,n,r+o+"."):n[r+o]=t[o]}else i!==a&&(n[r+o]=t[o])}}),oo(t).forEach(function(o){ea(e,o)||(n[r+o]=t[o])}),n}var PM=typeof Symbol<"u"&&Symbol.iterator,JG=PM?function(e){var t;return e!=null&&(t=e[PM])&&t.apply(e)}:function(){return null},Ff={};function Hs(e){var t,n,r,o;if(arguments.length===1){if(Io(e))return e.slice();if(this===Ff&&typeof e=="string")return[e];if(o=JG(e)){for(n=[];r=o.next(),!r.done;)n.push(r.value);return n}if(e==null)return[e];if(t=e.length,typeof t=="number"){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var pP=typeof Symbol<"u"?function(e){return e[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},bs=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function mP(e,t){bs=e,vP=t}var vP=function(){return!0},zG=!new Error("").stack;function Qd(){if(zG)try{throw new Error}catch(e){return e}return new Error}function H4(e,t){var n=e.stack;return n?(t=t||0,n.indexOf(e.name)===0&&(t+=(e.name+e.message).split(` +}`;var sn=vS(function(){return Pn(de,Ot+"return "+nt).apply(n,Re)});if(sn.source=nt,kA(sn))throw sn;return sn}function PQ(v){return En(v).toLowerCase()}function CQ(v){return En(v).toUpperCase()}function IQ(v,S,C){if(v=En(v),v&&(C||S===n))return w8(v);if(!v||!(S=li(S)))return v;var K=sa(v),re=sa(S),de=L8(K,re),Re=O8(K,re)+1;return yl(K,de,Re).join("")}function FQ(v,S,C){if(v=En(v),v&&(C||S===n))return v.slice(0,k8(v)+1);if(!v||!(S=li(S)))return v;var K=sa(v),re=O8(K,sa(S))+1;return yl(K,0,re).join("")}function _Q(v,S,C){if(v=En(v),v&&(C||S===n))return v.replace(Ii,"");if(!v||!(S=li(S)))return v;var K=sa(v),re=L8(K,sa(S));return yl(K,re).join("")}function EQ(v,S){var C=k,K=_;if(cr(S)){var re="separator"in S?S.separator:re;C="length"in S?an(S.length):C,K="omission"in S?li(S.omission):K}v=En(v);var de=v.length;if(sf(v)){var Re=sa(v);de=Re.length}if(C>=de)return v;var Le=C-lf(K);if(Le<1)return K;var Ce=Re?yl(Re,0,Le).join(""):v.slice(0,Le);if(re===n)return Ce+K;if(Re&&(Le+=Ce.length-Le),NA(re)){if(v.slice(Le).search(re)){var ze,je=Ce;for(re.global||(re=K2(re.source,En(H5.exec(re))+"g")),re.lastIndex=0;ze=re.exec(je);)var nt=ze.index;Ce=Ce.slice(0,nt===n?Le:nt)}}else if(v.indexOf(li(re),Le)!=Le){var vt=Ce.lastIndexOf(re);vt>-1&&(Ce=Ce.slice(0,vt))}return Ce+K}function XQ(v){return v=En(v),v&&Nn.test(v)?v.replace(Ft,dX):v}var WQ=mf(function(v,S,C){return v+(C?" ":"")+S.toUpperCase()}),IA=g6("toUpperCase");function mS(v,S,C){return v=En(v),S=C?n:S,S===n?sX(v)?mX(v):jE(v):v.match(S)||[]}var vS=ln(function(v,S){try{return ai(v,n,S)}catch(C){return kA(C)?C:new $t(C)}}),VQ=ks(function(v,S){return _i(S,function(C){C=Va(C),Os(v,C,OA(v[C],v))}),v});function UQ(v){var S=v==null?0:v.length,C=It();return v=S?qn(v,function(K){if(typeof K[1]!="function")throw new Ei(a);return[C(K[0]),K[1]]}):[],ln(function(K){for(var re=-1;++reZ)return[];var C=D,K=ao(v,D);S=It(S),v-=D;for(var re=Z2(K,S);++C0||S<0)?new vn(C):(v<0?C=C.takeRight(-v):v&&(C=C.drop(v)),S!==n&&(S=an(S),C=S<0?C.dropRight(-S):C.take(S-v)),C)},vn.prototype.takeRightWhile=function(v){return this.reverse().takeWhile(v).reverse()},vn.prototype.toArray=function(){return this.take(D)},Xa(vn.prototype,function(v,S){var C=/^(?:filter|find|map|reject)|While$/.test(S),K=/^(?:head|last)$/.test(S),re=fe[K?"take"+(S=="last"?"Right":""):S],de=K||/^find/.test(S);re&&(fe.prototype[S]=function(){var Re=this.__wrapped__,Le=K?[1]:arguments,Ce=Re instanceof vn,ze=Le[0],je=Ce||tn(Re),nt=function(fn){var Rn=re.apply(fe,pl([fn],Le));return K&&vt?Rn[0]:Rn};je&&C&&typeof ze=="function"&&ze.length!=1&&(Ce=je=!1);var vt=this.__chain__,Ot=!!this.__actions__.length,_t=de&&!vt,sn=Ce&&!Ot;if(!de&&je){Re=sn?Re:new vn(this);var Et=v.apply(Re,Le);return Et.__actions__.push({func:I1,args:[nt],thisArg:n}),new Xi(Et,vt)}return _t&&sn?v.apply(this,Le):(Et=this.thru(nt),_t?K?Et.value()[0]:Et.value():Et)})}),_i(["pop","push","shift","sort","splice","unshift"],function(v){var S=i1[v],C=/^(?:push|sort|unshift)$/.test(v)?"tap":"thru",K=/^(?:pop|shift)$/.test(v);fe.prototype[v]=function(){var re=arguments;if(K&&!this.__chain__){var de=this.value();return S.apply(tn(de)?de:[],re)}return this[C](function(Re){return S.apply(tn(Re)?Re:[],re)})}}),Xa(vn.prototype,function(v,S){var C=fe[S];if(C){var K=C.name+"";Vn.call(df,K)||(df[K]=[]),df[K].push({name:S,func:C})}}),df[L1(n,x).name]=[{name:"wrapper",func:n}],vn.prototype.clone=XX,vn.prototype.reverse=WX,vn.prototype.value=VX,fe.prototype.at=pU,fe.prototype.chain=mU,fe.prototype.commit=vU,fe.prototype.next=gU,fe.prototype.plant=RU,fe.prototype.reverse=yU,fe.prototype.toJSON=fe.prototype.valueOf=fe.prototype.value=bU,fe.prototype.first=fe.prototype.head,jd&&(fe.prototype[jd]=AU),fe},cf=vX();kc?((kc.exports=cf)._=cf,_2._=cf):Kr._=cf}).call(Nt)})(Nv,Nv.exports);var Fn=Nv.exports;const VG=[{id:"test-slide-1",elements:[{type:"shape",id:"4cbRxp",left:0,top:200,width:546,height:362.5,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"#5b9bd5",fixedRatio:!1,opacity:.7,rotate:0},{type:"shape",id:"ookHrf",left:0,top:0,width:300,height:320,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"#5b9bd5",fixedRatio:!1,flipV:!0,rotate:0},{type:"text",id:"idn7Mx",left:355,top:65.25,width:585,height:188,lineHeight:1.2,content:"

PPTIST

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"text",id:"7stmVP",left:355,top:253.25,width:585,height:56,content:"

基于 Vue 3.x + TypeScript 的在线演示文稿应用

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"line",id:"FnpZs4",left:361,top:238,start:[0,0],end:[549,0],points:["",""],color:"#5b9bd5",style:"solid",width:2}],background:{type:"solid",color:"#ffffff"}},{id:"test-slide-2",elements:[{type:"text",id:"ptNnUJ",left:145,top:148,width:711,height:77,lineHeight:1.2,content:"

在此处添加标题

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"text",id:"mRHvQN",left:207.50000000000003,top:249.84259259259264,width:585,height:56,content:"

在此处添加副标题

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333"},{type:"line",id:"7CQDwc",left:323.09259259259267,top:238.33333333333334,start:[0,0],end:[354.8148148148148,0],points:["",""],color:"#5b9bd5",style:"solid",width:4},{type:"shape",id:"09wqWw",left:-27.648148148148138,top:432.73148148148147,width:1056.2962962962963,height:162.96296296296296,viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"#fff"}},{id:"test-slide-3",elements:[{type:"shape",id:"vSheCJ",left:183.5185185185185,top:175.5092592592593,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0},{type:"shape",id:"Mpwv7x",left:211.29629629629628,top:201.80555555555557,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"#5b9bd5",fixedRatio:!1,rotate:0,opacity:.7},{type:"text",id:"WQOTAp",left:304.9074074074074,top:198.10185185185182,width:417.9629629629629,height:140,content:"

感谢观看

",rotate:0,defaultFontName:"Microsoft Yahei",defaultColor:"#333",wordSpace:5}],background:{type:"solid",color:"#fff"}}],UG={themeColor:"#5b9bd5",fontColor:"#333",fontName:"Microsoft Yahei",backgroundColor:"#fff",shadow:{h:3,v:3,blur:2,color:"#808080"},outline:{width:2,color:"#525252",style:"solid"}},YG=[{id:"template",elements:[{type:"shape",id:"4cbRxp",left:0,top:200,width:546,height:362.5,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"{{themeColor}}",fixedRatio:!1,opacity:.7,rotate:0},{type:"shape",id:"ookHrf",left:0,top:0,width:300,height:320,viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z",fill:"{{themeColor}}",fixedRatio:!1,flipV:!0,rotate:0},{type:"text",id:"AkIh3E",left:355,top:95.11111111111111,width:585,height:116,lineHeight:1.2,content:"

输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:6},{type:"text",id:"7stmVP",left:355,top:253.25,width:585,height:56,content:"

请在此处输入副标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"line",id:"FnpZs4",left:361,top:238,start:[0,0],end:[549,0],points:["",""],color:"{{themeColor}}",style:"solid",width:2}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"ptNnUJ",left:145,top:148,width:711,height:77,lineHeight:1.2,content:"

在此处添加标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"mRHvQN",left:207.50000000000003,top:249.84259259259264,width:585,height:56,content:"

在此处添加副标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"line",id:"7CQDwc",left:323.09259259259267,top:238.33333333333334,start:[0,0],end:[354.8148148148148,0],points:["",""],color:"{{themeColor}}",style:"solid",width:4},{type:"shape",id:"09wqWw",left:-27.648148148148138,top:432.73148148148147,width:1056.2962962962963,height:162.96296296296296,viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"vSheCJ",left:183.5185185185185,top:175.5092592592593,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0},{type:"shape",id:"Mpwv7x",left:211.29629629629628,top:201.80555555555557,width:605.1851851851851,height:185.18518518518516,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,opacity:.7},{type:"text",id:"WQOTAp",left:304.9074074074074,top:198.10185185185182,width:417.9629629629629,height:140,content:"

感谢观看

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:5}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"MZVO1kkj",elements:[{type:"shape",id:"cql0h8",left:0,top:0,width:352.59259259259255,height:562.5,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0},{type:"shape",id:"_RTaF4",left:171.4814814814814,top:100.13888888888887,width:362.22222222222223,height:362.22222222222223,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"rgba(255,255,255,0)",fixedRatio:!1,rotate:0,outline:{width:10,color:"{{backgroundColor}}",style:"solid"}},{type:"shape",id:"UZfo8N",left:216.66666666666663,top:145.32407407407408,width:271.85185185185185,height:271.85185185185185,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0,text:{content:"

01

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"ysqtBg",left:561.4814814814814,top:100.1388888888889,width:359.25925925925924,height:80,content:"

在此处输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"lXsoHa",left:572.5925925925925,top:202.3611111111111,width:257.77777777777777,height:260,content:"
  1. 在此处输入内容

  2. 在此处输入内容

  3. 在此处输入内容

  4. 在此处输入内容

  5. 在此处输入内容

  6. 在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",lineHeight:2,fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"EBBnTr",left:360.5996472663139,top:141.8496472663139,width:278.80070546737215,height:278.80070546737215,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:0,color:"{{backgroundColor}}",style:"solid"}},{type:"shape",id:"gDIWDH",left:456.4373897707231,top:98.287037037037,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"

1

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"DUWT7E",left:317.037037037037,top:237.68738977072314,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"

4

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"pbhn38",left:456.43738977072303,top:377.08774250440916,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"

3

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"CvMKrO",left:595.8377425044091,top:237.6873897707231,width:87.12522045855381,height:87.12522045855381,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!0,rotate:0,outline:{width:4,color:"{{backgroundColor}}",style:"solid"},text:{content:"

2

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"adudHB",left:402.962962962963,top:39.39814814814815,width:194.07407407407408,height:50,content:"

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"9UpDwg",left:402.962962962963,top:473.1018518518518,width:194.07407407407408,height:50,content:"

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"GERdpB",left:111.48148148148151,top:256.25,width:194.07407407407408,height:50,content:"

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"text",id:"G5qoho",left:691.1111111111111,top:256.25,width:194.07407407407408,height:50,content:"

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"},{type:"shape",id:"vdZcI6",left:415.18518518518516,top:196.4351851851852,width:169.62962962962962,height:169.62962962962962,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"tYUmrx",left:156.66666666666683,top:149.02777777777771,width:264.4444444444445,height:264.4444444444445,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

01

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"shape",id:"0GVHf8",left:342.2222222222223,top:217.17592592592587,width:128.14814814814812,height:128.14814814814812,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{backgroundColor}}",fixedRatio:!1,rotate:0},{type:"text",id:"BO33Sv",left:378.8888888888889,top:235.24999999999994,width:464.4444444444444,height:92,content:"

在此处添加标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"Hj7ttp",left:69.35185185185185,top:49.21759259259262,width:420,height:63,lineHeight:1.2,content:"

1.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"FmKMNB",left:69.35185185185185,top:129.28240740740745,width:420,height:384,content:"

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"rI7ZeO",left:510.64814814814815,top:49.21759259259262,width:420,height:63,lineHeight:1.2,content:"

2.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"KspwGc",left:510.64814814814815,top:129.28240740740745,width:420,height:384,content:"

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"Rx63Jo",left:69.35185185185179,top:51.71759259259262,width:420,height:58,lineHeight:1.2,content:"

1.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"ulyuzE",left:69.35185185185179,top:131.78240740740745,width:420,height:129,content:"

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"kr35Ca",left:510.6481481481481,top:51.71759259259262,width:420,height:58,lineHeight:1.2,content:"

2.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"BNQSpC",left:510.6481481481481,top:131.78240740740745,width:420,height:129,content:"

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"Vr38Nu",left:69.35185185185185,top:301.71759259259255,width:420,height:58,lineHeight:1.2,content:"

3.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"IwKRSu",left:69.35185185185185,top:381.7824074074074,width:420,height:129,content:"

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"0Opr1v",left:510.64814814814815,top:301.71759259259255,width:420,height:58,lineHeight:1.2,content:"

4.请输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{themeColor}}"},{type:"text",id:"4L9Uzz",left:510.64814814814815,top:381.7824074074074,width:420,height:129,content:"

在此处输入内容

在此处输入内容

在此处输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"text",id:"GdEGxg",left:134.53703703703704,top:127.25,width:152.77777777777777,height:308,lineHeight:1.8,content:"

请在此处输入标题

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",wordSpace:8,fill:"{{themeColor}}"},{type:"text",id:"y5sAfw",left:332.8703703703704,top:127.25,width:532.5925925925926,height:50,content:"

请在此处输入内容1

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"VeuocM",left:332.8703703703704,top:212.0648148148148,width:532.5925925925926,height:50,content:"

请在此处输入内容2

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"RyFWQe",left:332.8703703703704,top:296.8796296296296,width:532.5925925925926,height:50,content:"

请在此处输入内容3

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"text",id:"Q56viI",left:332.8703703703704,top:381.69444444444446,width:532.5925925925926,height:50,content:"

请在此处输入内容4

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}},{id:"template",elements:[{type:"shape",id:"SUWirT",left:73.8888888888889,top:64.21296296296302,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

1

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"YjzN1M",left:148.70370370370372,top:64.21296296296302,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"fS09I7",left:527.5925925925926,top:64.21296296296302,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

2

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"qCnfB1",left:602.4074074074074,top:64.21296296296302,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"difAAT",left:73.8888888888889,top:221.25000000000003,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

3

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"EUlvMo",left:148.70370370370372,top:221.25000000000003,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"US_9jB",left:527.5925925925926,top:221.25000000000003,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

4

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"243MnQ",left:602.4074074074074,top:221.25000000000003,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"Y_KUj0",left:73.8888888888889,top:378.287037037037,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

5

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"9GglMe",left:148.70370370370372,top:378.287037037037,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"},{type:"shape",id:"eSInje",left:527.5925925925926,top:378.287037037037,width:49.629629629629626,height:49.629629629629626,viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",fill:"{{themeColor}}",fixedRatio:!1,rotate:0,text:{content:"

6

",defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",align:"middle"}},{type:"text",id:"0S3yUg",left:602.4074074074074,top:378.287037037037,width:323.7037037037037,height:120,content:"

在此输入内容

在此输入内容

在此输入内容

",rotate:0,defaultFontName:"{{fontName}}",defaultColor:"{{fontColor}}",fill:"{{subColor}}"}],background:{type:"solid",color:"{{backgroundColor}}"}}],st=yp("slides",{state:()=>({title:"未命名演示文稿",theme:UG,slides:VG,slideIndex:0,viewportRatio:.5625}),getters:{currentSlide(e){return e.slides[e.slideIndex]},currentSlideAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(o=>o.id);return t.animations.filter(o=>r.includes(o.elId))},formatedAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(a=>a.id),o=t.animations.filter(a=>r.includes(a.elId)),i=[];for(const a of o)if(a.trigger==="click"||!i.length)i.push({animations:[a],autoNext:!1});else if(a.trigger==="meantime"){const s=i[i.length-1];s.animations=s.animations.filter(c=>c.elId!==a.elId),s.animations.push(a),i[i.length-1]=s}else if(a.trigger==="auto"){const s=i[i.length-1];s.autoNext=!0,i[i.length-1]=s,i.push({animations:[a],autoNext:!1})}return i},layouts(e){const{themeColor:t,fontColor:n,fontName:r,backgroundColor:o}=e.theme,i=rt(n).isDark()?"rgba(230, 230, 230, 0.5)":"rgba(180, 180, 180, 0.5)",a=JSON.stringify(YG).replace(/{{themeColor}}/g,t).replace(/{{fontColor}}/g,n).replace(/{{fontName}}/g,r).replace(/{{backgroundColor}}/g,o).replace(/{{subColor}}/g,i);return JSON.parse(a)}},actions:{setTitle(e){e?this.title=e:this.title="未命名演示文稿"},setTheme(e){this.theme={...this.theme,...e}},setViewportRatio(e){this.viewportRatio=e},setSlides(e){this.slides=e},addSlide(e){const t=Array.isArray(e)?e:[e],n=this.slideIndex+1;this.slides.splice(n,0,...t),this.slideIndex=n},updateSlide(e){const t=this.slideIndex;this.slides[t]={...this.slides[t],...e}},deleteSlide(e){const t=Array.isArray(e)?e:[e],n=[];for(let i=0;is.id===t[i]);n.push(a)}let r=Math.min(...n);const o=this.slides.length-t.length-1;r>o&&(r=o),this.slideIndex=r,this.slides=this.slides.filter(i=>!t.includes(i.id))},updateSlideIndex(e){this.slideIndex=e},addElement(e){const t=Array.isArray(e)?e:[e],r=[...this.slides[this.slideIndex].elements,...t];this.slides[this.slideIndex].elements=r},deleteElement(e){const t=Array.isArray(e)?e:[e],r=this.slides[this.slideIndex].elements.filter(o=>!t.includes(o.id));this.slides[this.slideIndex].elements=r},updateElement(e){const{id:t,props:n,slideId:r}=e,o=typeof t=="string"?[t]:t,i=r?this.slides.findIndex(c=>c.id===r):this.slideIndex,s=this.slides[i].elements.map(c=>o.includes(c.id)?{...c,...n}:c);this.slides[i].elements=s},removeElementProps(e){const{id:t,propName:n}=e,r=typeof n=="string"?[n]:n,o=this.slideIndex,a=this.slides[o].elements.map(s=>s.id===t?Fn.omit(s,r):s);this.slides[o].elements=a}}}),QG=HK("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),iP=QG(10),ft=yp("main",{state:()=>({activeElementIdList:[],handleElementId:"",activeGroupElementId:"",hiddenElementIdList:[],canvasPercentage:90,canvasScale:1,canvasDragged:!1,thumbnailsFocus:!1,editorAreaFocus:!1,disableHotkeys:!1,gridLineSize:0,showRuler:!1,creatingElement:null,creatingCustomShape:!1,availableFonts:B4,toolbarState:Sr.SLIDE_DESIGN,clipingImageElementId:"",richTextAttrs:hG,selectedTableCells:[],isScaling:!1,selectedSlidesIndex:[],dialogForExport:"",databaseId:iP,textFormatPainter:null,shapeFormatPainter:null,showSelectPanel:!1,showSearchPanel:!1,showNotesPanel:!1}),getters:{activeElementList(e){const n=st().currentSlide;return!n||!n.elements?[]:n.elements.filter(r=>e.activeElementIdList.includes(r.id))},handleElement(e){const n=st().currentSlide;return!n||!n.elements?null:n.elements.find(r=>e.handleElementId===r.id)||null}},actions:{setActiveElementIdList(e){e.length===1?this.handleElementId=e[0]:this.handleElementId="",this.activeElementIdList=e},setHandleElementId(e){this.handleElementId=e},setActiveGroupElementId(e){this.activeGroupElementId=e},setHiddenElementIdList(e){this.hiddenElementIdList=e},setCanvasPercentage(e){this.canvasPercentage=e},setCanvasScale(e){this.canvasScale=e},setCanvasDragged(e){this.canvasDragged=e},setThumbnailsFocus(e){this.thumbnailsFocus=e},setEditorareaFocus(e){this.editorAreaFocus=e},setDisableHotkeysState(e){this.disableHotkeys=e},setGridLineSize(e){this.gridLineSize=e},setRulerState(e){this.showRuler=e},setCreatingElement(e){this.creatingElement=e},setCreatingCustomShapeState(e){this.creatingCustomShape=e},setAvailableFonts(){this.availableFonts=B4.filter(e=>pG(e.value))},setToolbarState(e){this.toolbarState=e},setClipingImageElementId(e){this.clipingImageElementId=e},setRichtextAttrs(e){this.richTextAttrs=e},setSelectedTableCells(e){this.selectedTableCells=e},setScalingState(e){this.isScaling=e},updateSelectedSlidesIndex(e){this.selectedSlidesIndex=e},setDialogForExport(e){this.dialogForExport=e},setTextFormatPainter(e){this.textFormatPainter=e},setShapeFormatPainter(e){this.shapeFormatPainter=e},setSelectPanelState(e){this.showSelectPanel=e},setSearchPanelState(e){this.showSearchPanel=e},setNotesPanelState(e){this.showNotesPanel=e}}});var Hn=function(){return Hn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0)t=e;else{t=e.constructor?Object.create(e.constructor.prototype):{};for(var o in e)ea(e,o)&&(t[o]=Jh(e[o]))}return t}var zG={}.toString;function H4(e){return zG.call(e).slice(8,-1)}var G4=function(e,t){return t==="Array"?""+e.map(function(n){return G4(n,H4(n))}):t==="ArrayBuffer"?""+new Uint8Array(e):t==="Date"?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function mx(e,t,n,r){return n=n||{},r=r||"",oo(e).forEach(function(o){if(!ea(t,o))n[r+o]=void 0;else{var i=e[o],a=t[o];if(typeof i=="object"&&typeof a=="object"&&i&&a){var s=H4(i),c=H4(a);s===c?JG[s]?G4(i,s)!==G4(a,c)&&(n[r+o]=t[o]):mx(i,a,n,r+o+"."):n[r+o]=t[o]}else i!==a&&(n[r+o]=t[o])}}),oo(t).forEach(function(o){ea(e,o)||(n[r+o]=t[o])}),n}var CM=typeof Symbol<"u"&&Symbol.iterator,$G=CM?function(e){var t;return e!=null&&(t=e[CM])&&t.apply(e)}:function(){return null},Ff={};function Hs(e){var t,n,r,o;if(arguments.length===1){if(Io(e))return e.slice();if(this===Ff&&typeof e=="string")return[e];if(o=$G(e)){for(n=[];r=o.next(),!r.done;)n.push(r.value);return n}if(e==null)return[e];if(t=e.length,typeof t=="number"){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var mP=typeof Symbol<"u"?function(e){return e[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},xs=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function vP(e,t){xs=e,gP=t}var gP=function(){return!0},jG=!new Error("").stack;function Qd(){if(jG)try{throw new Error}catch(e){return e}return new Error}function J4(e,t){var n=e.stack;return n?(t=t||0,n.indexOf(e.name)===0&&(t+=(e.name+e.message).split(` `).length),n.split(` -`).slice(t).filter(vP).map(function(r){return` -`+r}).join("")):""}var $G=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],gP=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],pb=$G.concat(gP),jG={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function Zd(e,t){this._e=Qd(),this.name=e,this.message=t}Yd(Zd).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+H4(this._e,2))}},toString:function(){return this.name+": "+this.message}});function AP(e,t){return e+". Errors: "+Object.keys(t).map(function(n){return t[n].toString()}).filter(function(n,r,o){return o.indexOf(n)===r}).join(` -`)}function Nv(e,t,n,r){this._e=Qd(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=AP(e,t)}Yd(Nv).from(Zd);function dh(e,t){this._e=Qd(),this.name="BulkError",this.failures=t,this.message=AP(e,t)}Yd(dh).from(Zd);var qG=pb.reduce(function(e,t){return e[t]=t+"Error",e},{}),eJ=Zd,zt=pb.reduce(function(e,t){var n=t+"Error";function r(o,i){this._e=Qd(),this.name=n,o?typeof o=="string"?(this.message=""+o+(i?` - `+i:""),this.inner=i||null):typeof o=="object"&&(this.message=o.name+" "+o.message,this.inner=o):(this.message=jG[t]||n,this.inner=null)}return Yd(r).from(eJ),e[t]=r,e},{});zt.Syntax=SyntaxError;zt.Type=TypeError;zt.Range=RangeError;var CM=gP.reduce(function(e,t){return e[t+"Error"]=zt[t],e},{});function tJ(e,t){if(!e||e instanceof Zd||e instanceof TypeError||e instanceof SyntaxError||!e.name||!CM[e.name])return e;var n=new CM[e.name](t||e.message,e);return"stack"in e&&al(n,"stack",{get:function(){return this.inner.stack}}),n}var Yg=pb.reduce(function(e,t){return["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=zt[t]),e},{});Yg.ModifyError=Nv;Yg.DexieError=Zd;Yg.BulkError=dh;function Jn(){}function xp(e){return e}function nJ(e,t){return e==null||e===xp?t:function(n){return t(e(n))}}function ku(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function rJ(e,t){return e===Jn?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?ku(r,this.onsuccess):r),o&&(this.onerror=this.onerror?ku(o,this.onerror):o),i!==void 0?i:n}}function oJ(e,t){return e===Jn?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?ku(n,this.onsuccess):n),r&&(this.onerror=this.onerror?ku(r,this.onerror):r)}}function iJ(e,t){return e===Jn?t:function(n){var r=e.apply(this,arguments);qi(n,r);var o=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return o&&(this.onsuccess=this.onsuccess?ku(o,this.onsuccess):o),i&&(this.onerror=this.onerror?ku(i,this.onerror):i),r===void 0?a===void 0?void 0:a:qi(r,a)}}function aJ(e,t){return e===Jn?t:function(){return t.apply(this,arguments)===!1?!1:e.apply(this,arguments)}}function RP(e,t){return e===Jn?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then=="function"){for(var r=this,o=arguments.length,i=new Array(o);o--;)i[o]=arguments[o];return n.then(function(){return t.apply(r,i)})}return t.apply(this,arguments)}}var Jh={},sJ=100,lJ=20,yP=100,mb=typeof Promise>"u"?[]:function(){var e=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[e,e.__proto__,e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,t.__proto__,e]}(),G4=mb[0],Pv=mb[1],J4=mb[2],xP=Pv&&Pv.then,_m=G4&&G4.constructor,vb=!!J4,z4=!1,cJ=J4?function(){J4.then(em)}:jn.setImmediate?setImmediate.bind(null,em):jn.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){em(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(em,0)},zh=function(e,t){_0.push([e,t]),Cv&&(cJ(),Cv=!1)},$4=!0,Cv=!0,pu=[],Em=[],j4=null,q4=xp,cd={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:_M,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{_M(e[0],e[1])}catch{}})}},Xt=cd,_0=[],mu=0,Xm=[];function Mt(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Jn,this._lib=!1;var t=this._PSD=Xt;if(bs&&(this._stackHolder=Qd(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==Jh)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&t3(this,this._value);return}this._state=null,this._value=null,++t.ref,SP(this,e)}var e3={get:function(){var e=Xt,t=Iv;function n(r,o){var i=this,a=!e.global&&(e!==Xt||t!==Iv),s=a&&!Pu(),c=new Mt(function(l,u){gb(i,new bP(_v(r,e,a,s),_v(o,e,a,s),l,u,e))});return bs&&LP(c,this),c}return n.prototype=Jh,n},set:function(e){al(this,"then",e&&e.prototype===Jh?e3:{get:function(){return e},set:e3.set})}};Hh(Mt.prototype,{then:e3,_then:function(e,t){gb(this,new bP(null,null,e,t,Xt))},catch:function(e){if(arguments.length===1)return this.then(null,e);var t=arguments[0],n=arguments[1];return typeof t=="function"?this.then(null,function(r){return r instanceof t?n(r):Wm(r)}):this.then(null,function(r){return r&&r.name===t?n(r):Wm(r)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),Wm(t)})},stack:{get:function(){if(this._stack)return this._stack;try{z4=!0;var e=wP(this,[],lJ),t=e.join(` -From previous: `);return this._state!==null&&(this._stack=t),t}finally{z4=!1}}},timeout:function(e,t){var n=this;return e<1/0?new Mt(function(r,o){var i=setTimeout(function(){return o(new zt.Timeout(t))},e);n.then(r,o).finally(clearTimeout.bind(null,i))}):this}});typeof Symbol<"u"&&Symbol.toStringTag&&al(Mt.prototype,Symbol.toStringTag,"Dexie.Promise");cd.env=OP();function bP(e,t,n,r,o){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=o}Hh(Mt,{all:function(){var e=Hs.apply(null,arguments).map(Fv);return new Mt(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(o,i){return Mt.resolve(o).then(function(a){e[i]=a,--r||t(e)},n)})})},resolve:function(e){if(e instanceof Mt)return e;if(e&&typeof e.then=="function")return new Mt(function(n,r){e.then(n,r)});var t=new Mt(Jh,!0,e);return LP(t,j4),t},reject:Wm,race:function(){var e=Hs.apply(null,arguments).map(Fv);return new Mt(function(t,n){e.map(function(r){return Mt.resolve(r).then(t,n)})})},PSD:{get:function(){return Xt},set:function(e){return Xt=e}},totalEchoes:{get:function(){return Iv}},newPSD:Nu,usePSD:wp,scheduler:{get:function(){return zh},set:function(e){zh=e}},rejectionMapper:{get:function(){return q4},set:function(e){q4=e}},follow:function(e,t){return new Mt(function(n,r){return Nu(function(o,i){var a=Xt;a.unhandleds=[],a.onunhandled=i,a.finalize=ku(function(){var s=this;fJ(function(){s.unhandleds.length===0?o():i(s.unhandleds[0])})},a.finalize),e()},t,n,r)})}});_m&&(_m.allSettled&&al(Mt,"allSettled",function(){var e=Hs.apply(null,arguments).map(Fv);return new Mt(function(t){e.length===0&&t([]);var n=e.length,r=new Array(n);e.forEach(function(o,i){return Mt.resolve(o).then(function(a){return r[i]={status:"fulfilled",value:a}},function(a){return r[i]={status:"rejected",reason:a}}).then(function(){return--n||t(r)})})})}),_m.any&&typeof AggregateError<"u"&&al(Mt,"any",function(){var e=Hs.apply(null,arguments).map(Fv);return new Mt(function(t,n){e.length===0&&n(new AggregateError([]));var r=e.length,o=new Array(r);e.forEach(function(i,a){return Mt.resolve(i).then(function(s){return t(s)},function(s){o[a]=s,--r||n(new AggregateError(o))})})})}));function SP(e,t){try{t(function(n){if(e._state===null){if(n===e)throw new TypeError("A promise cannot be resolved with itself.");var r=e._lib&&bp();n&&typeof n.then=="function"?SP(e,function(o,i){n instanceof Mt?n._then(o,i):n.then(o,i)}):(e._state=!0,e._value=n,MP(e)),r&&Sp()}},t3.bind(null,e))}catch(n){t3(e,n)}}function t3(e,t){if(Em.push(t),e._state===null){var n=e._lib&&bp();t=q4(t),e._state=!1,e._value=t,bs&&t!==null&&typeof t=="object"&&!t._promise&&BG(function(){var r=db(t,"stack");t._promise=e,al(t,"stack",{get:function(){return z4?r&&(r.get?r.get.apply(t):r.value):e.stack}})}),dJ(e),MP(e),n&&Sp()}}function MP(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(e=_0,_0=[],n=e.length,t=0;t0);$4=!0,Cv=!0}function Ab(){var e=pu;pu=[],e.forEach(function(r){r._PSD.onunhandled.call(null,r._value,r)});for(var t=Xm.slice(0),n=t.length;n;)t[--n]()}function fJ(e){function t(){e(),Xm.splice(Xm.indexOf(t),1)}Xm.push(t),++mu,zh(function(){--mu===0&&Ab()},[])}function dJ(e){pu.some(function(t){return t._value===e._value})||pu.push(e)}function hJ(e){for(var t=pu.length;t;)if(pu[--t]._value===e._value){pu.splice(t,1);return}}function Wm(e){return new Mt(Jh,!1,e)}function dr(e,t){var n=Xt;return function(){var r=bp(),o=Xt;try{return Ac(n,!0),e.apply(this,arguments)}catch(i){t&&t(i)}finally{Ac(o,!1),r&&Sp()}}}var ho={awaits:0,echoes:0,id:0},pJ=0,Vm=[],sR=0,Iv=0,mJ=0;function Nu(e,t,n,r){var o=Xt,i=Object.create(o);i.parent=o,i.ref=0,i.global=!1,i.id=++mJ;var a=cd.env;i.env=vb?{Promise:Mt,PromiseProp:{value:Mt,configurable:!0,writable:!0},all:Mt.all,race:Mt.race,allSettled:Mt.allSettled,any:Mt.any,resolve:Mt.resolve,reject:Mt.reject,nthen:IM(a.nthen,i),gthen:IM(a.gthen,i)}:{},t&&qi(i,t),++o.ref,i.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=wp(i,e,n,r);return i.ref===0&&i.finalize(),s}function Mp(){return ho.id||(ho.id=++pJ),++ho.awaits,ho.echoes+=yP,ho.id}function Pu(){return ho.awaits?(--ho.awaits===0&&(ho.id=0),ho.echoes=ho.awaits*yP,!0):!1}(""+xP).indexOf("[native code]")===-1&&(Mp=Pu=Jn);function Fv(e){return ho.echoes&&e&&e.constructor===_m?(Mp(),e.then(function(t){return Pu(),t},function(t){return Pu(),go(t)})):e}function vJ(e){++Iv,(!ho.echoes||--ho.echoes===0)&&(ho.echoes=ho.id=0),Vm.push(Xt),Ac(e,!0)}function gJ(){var e=Vm[Vm.length-1];Vm.pop(),Ac(e,!1)}function Ac(e,t){var n=Xt;if((t?ho.echoes&&(!sR++||e!==Xt):sR&&(!--sR||e!==Xt))&&TP(t?vJ.bind(null,e):gJ),e!==Xt&&(Xt=e,n===cd&&(cd.env=OP()),vb)){var r=cd.env.Promise,o=e.env;Pv.then=o.nthen,r.prototype.then=o.gthen,(n.global||e.global)&&(Object.defineProperty(jn,"Promise",o.PromiseProp),r.all=o.all,r.race=o.race,r.resolve=o.resolve,r.reject=o.reject,o.allSettled&&(r.allSettled=o.allSettled),o.any&&(r.any=o.any))}}function OP(){var e=jn.Promise;return vb?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(jn,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:Pv.then,gthen:e.prototype.then}:{}}function wp(e,t,n,r,o){var i=Xt;try{return Ac(e,!0),t(n,r,o)}finally{Ac(i,!1)}}function TP(e){xP.call(G4,e)}function _v(e,t,n,r){return typeof e!="function"?e:function(){var o=Xt;n&&Mp(),Ac(t,!0);try{return e.apply(this,arguments)}finally{Ac(o,!1),r&&TP(Pu)}}}function IM(e,t){return function(n,r){return e.call(this,_v(n,t),_v(r,t))}}var FM="unhandledrejection";function _M(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,o={promise:t,reason:e};if(jn.document&&document.createEvent?(r=document.createEvent("Event"),r.initEvent(FM,!0,!0),qi(r,o)):jn.CustomEvent&&(r=new CustomEvent(FM,{detail:o}),qi(r,o)),r&&jn.dispatchEvent&&(dispatchEvent(r),!jn.PromiseRejectionEvent&&jn.onunhandledrejection))try{jn.onunhandledrejection(r)}catch{}bs&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch{}}var go=Mt.reject;function kP(e,t,n,r){if(!e._state.openComplete&&!Xt.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return go(new zt.DatabaseClosed);e.open().catch(Jn)}return e._state.dbReadyPromise.then(function(){return kP(e,t,n,r)})}else{var o=e._createTransaction(t,n,e._dbSchema);try{o.create()}catch(i){return go(i)}return o._promise(t,function(i,a){return Nu(function(){return Xt.trans=o,r(i,a,o)})}).then(function(i){return o._completion.then(function(){return i})})}}var EM="3.0.3",Df="￿",n3=-1/0,_s="Invalid key provided. Keys must be of type string, number, Date or Array.",NP="String expected.",hh=[],Rb=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),AJ=Rb,RJ=Rb,PP=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},tm="__dbnames",lR="readonly",cR="readwrite";function Cu(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var CP={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function nm(e){return function(t){return cs(t,e)===void 0&&(t=Gh(t),uP(t,e)),t}}var yJ=function(){function e(){}return e.prototype._trans=function(t,n,r){var o=this._tx||Xt.trans,i=this.name;function a(c,l,u){if(!u.schema[i])throw new zt.NotFound("Table "+i+" not part of transaction");return n(u.idbtrans,u)}var s=bp();try{return o&&o.db===this.db?o===Xt.trans?o._promise(t,a,r):Nu(function(){return o._promise(t,a,r)},{trans:o,transless:Xt.transless||Xt}):kP(this.db,t,[this.name],a)}finally{s&&Sp()}},e.prototype.get=function(t,n){var r=this;return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",function(o){return r.core.get({trans:o,key:t}).then(function(i){return r.hook.reading.fire(i)})}).then(n)},e.prototype.where=function(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(Io(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var n=oo(t);if(n.length===1)return this.where(n[0]).equals(t[n[0]]);var r=this.schema.indexes.concat(this.schema.primKey).filter(function(u){return u.compound&&n.every(function(f){return u.keyPath.indexOf(f)>=0})&&u.keyPath.every(function(f){return n.indexOf(f)>=0})})[0];if(r&&this.db._maxKey!==Df)return this.where(r.name).equals(r.keyPath.map(function(u){return t[u]}));!r&&bs&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var o=this.schema.idxByName,i=this.db._deps.indexedDB;function a(u,f){try{return i.cmp(u,f)===0}catch{return!1}}var s=n.reduce(function(u,f){var d=u[0],h=u[1],p=o[f],m=t[f];return[d||p,d||!p?Cu(h,p&&p.multi?function(A){var x=cs(A,f);return Io(x)&&x.some(function(y){return a(m,y)})}:function(A){return a(m,cs(A,f))}):h]},[null,null]),c=s[0],l=s[1];return c?this.where(c.name).equals(t[c.keyPath]).filter(l):r?this.filter(l):this.where(n).equals("")},e.prototype.filter=function(t){return this.toCollection().and(t)},e.prototype.count=function(t){return this.toCollection().count(t)},e.prototype.offset=function(t){return this.toCollection().offset(t)},e.prototype.limit=function(t){return this.toCollection().limit(t)},e.prototype.each=function(t){return this.toCollection().each(t)},e.prototype.toArray=function(t){return this.toCollection().toArray(t)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(t){return new this.db.Collection(new this.db.WhereClause(this,Io(t)?"["+t.join("+")+"]":t))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(t){this.schema.mappedClass=t;var n=function(r){if(!r)return r;var o=Object.create(t.prototype);for(var i in r)if(ea(r,i))try{o[i]=r[i]}catch{}return o};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=n,this.hook("reading",n),t},e.prototype.defineClass=function(){function t(n){qi(this,n)}return this.mapToClass(t)},e.prototype.add=function(t,n){var r=this,o=this.schema.primKey,i=o.auto,a=o.keyPath,s=t;return a&&i&&(s=nm(a)(t)),this._trans("readwrite",function(c){return r.core.mutate({trans:c,type:"add",keys:n!=null?[n]:null,values:[s]})}).then(function(c){return c.numFailures?Mt.reject(c.failures[0]):c.lastResult}).then(function(c){if(a)try{Pa(t,a,c)}catch{}return c})},e.prototype.update=function(t,n){if(typeof n!="object"||Io(n))throw new zt.InvalidArgument("Modifications must be an object.");if(typeof t=="object"&&!Io(t)){oo(n).forEach(function(o){Pa(t,o,n[o])});var r=cs(t,this.schema.primKey.keyPath);return r===void 0?go(new zt.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(r).modify(n)}else return this.where(":id").equals(t).modify(n)},e.prototype.put=function(t,n){var r=this,o=this.schema.primKey,i=o.auto,a=o.keyPath,s=t;return a&&i&&(s=nm(a)(t)),this._trans("readwrite",function(c){return r.core.mutate({trans:c,type:"put",values:[s],keys:n!=null?[n]:null})}).then(function(c){return c.numFailures?Mt.reject(c.failures[0]):c.lastResult}).then(function(c){if(a)try{Pa(t,a,c)}catch{}return c})},e.prototype.delete=function(t){var n=this;return this._trans("readwrite",function(r){return n.core.mutate({trans:r,type:"delete",keys:[t]})}).then(function(r){return r.numFailures?Mt.reject(r.failures[0]):void 0})},e.prototype.clear=function(){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"deleteRange",range:CP})}).then(function(n){return n.numFailures?Mt.reject(n.failures[0]):void 0})},e.prototype.bulkGet=function(t){var n=this;return this._trans("readonly",function(r){return n.core.getMany({keys:t,trans:r}).then(function(o){return o.map(function(i){return n.hook.reading.fire(i)})})})},e.prototype.bulkAdd=function(t,n,r){var o=this,i=Array.isArray(n)?n:void 0;r=r||(i?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var c=o.schema.primKey,l=c.auto,u=c.keyPath;if(u&&i)throw new zt.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new zt.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=u&&l?t.map(nm(u)):t;return o.core.mutate({trans:s,type:"add",keys:i,values:d,wantResults:a}).then(function(h){var p=h.numFailures,m=h.results,A=h.lastResult,x=h.failures,y=a?m:A;if(p===0)return y;throw new dh(o.name+".bulkAdd(): "+p+" of "+f+" operations failed",Object.keys(x).map(function(R){return x[R]}))})})},e.prototype.bulkPut=function(t,n,r){var o=this,i=Array.isArray(n)?n:void 0;r=r||(i?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var c=o.schema.primKey,l=c.auto,u=c.keyPath;if(u&&i)throw new zt.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new zt.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=u&&l?t.map(nm(u)):t;return o.core.mutate({trans:s,type:"put",keys:i,values:d,wantResults:a}).then(function(h){var p=h.numFailures,m=h.results,A=h.lastResult,x=h.failures,y=a?m:A;if(p===0)return y;throw new dh(o.name+".bulkPut(): "+p+" of "+f+" operations failed",Object.keys(x).map(function(R){return x[R]}))})})},e.prototype.bulkDelete=function(t){var n=this,r=t.length;return this._trans("readwrite",function(o){return n.core.mutate({trans:o,type:"delete",keys:t})}).then(function(o){var i=o.numFailures,a=o.lastResult,s=o.failures;if(i===0)return a;throw new dh(n.name+".bulkDelete(): "+i+" of "+r+" operations failed",s)})},e}();function Qg(e){var t={},n=function(s,c){if(c){for(var l=arguments.length,u=new Array(l-1);--l;)u[l-1]=arguments[l];return t[s].subscribe.apply(null,u),e}else if(typeof s=="string")return t[s]};n.addEventType=i;for(var r=1,o=arguments.length;rd?s:0}return this.toArray(function(l){return l.sort(c)}).then(n)},e.prototype.toArray=function(t){var n=this;return this._read(function(r){var o=n._ctx;if(o.dir==="next"&&h0(o,!0)&&o.limit>0){var i=o.valueMapper,a=Um(o,o.table.core.schema);return o.table.core.query({trans:r,limit:o.limit,values:!0,query:{index:a,range:o.range}}).then(function(c){var l=c.result;return i?l.map(i):l})}else{var s=[];return rm(o,function(c){return s.push(c)},r,o.table.core).then(function(){return s})}},t)},e.prototype.offset=function(t){var n=this._ctx;return t<=0?this:(n.offset+=t,h0(n)?fR(n,function(){var r=t;return function(o,i){return r===0?!0:r===1?(--r,!1):(i(function(){o.advance(r),r=0}),!1)}}):fR(n,function(){var r=t;return function(){return--r<0}}),this)},e.prototype.limit=function(t){return this._ctx.limit=Math.min(this._ctx.limit,t),fR(this._ctx,function(){var n=t;return function(r,o,i){return--n<=0&&o(i),n>=0}},!0),this},e.prototype.until=function(t,n){return uR(this._ctx,function(r,o,i){return t(r.value)?(o(i),n):!0}),this},e.prototype.first=function(t){return this.limit(1).toArray(function(n){return n[0]}).then(t)},e.prototype.last=function(t){return this.reverse().first(t)},e.prototype.filter=function(t){return uR(this._ctx,function(n){return t(n.value)}),bJ(this._ctx,t),this},e.prototype.and=function(t){return this.filter(t)},e.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},e.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,o){t(o.key,o)})},e.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},e.prototype.eachPrimaryKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,o){t(o.primaryKey,o)})},e.prototype.keys=function(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(o,i){r.push(i.key)}).then(function(){return r}).then(t)},e.prototype.primaryKeys=function(t){var n=this._ctx;if(n.dir==="next"&&h0(n,!0)&&n.limit>0)return this._read(function(o){var i=Um(n,n.table.core.schema);return n.table.core.query({trans:o,values:!1,limit:n.limit,query:{index:i,range:n.range}})}).then(function(o){var i=o.result;return i}).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(o,i){r.push(i.primaryKey)}).then(function(){return r}).then(t)},e.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},e.prototype.firstKey=function(t){return this.limit(1).keys(function(n){return n[0]}).then(t)},e.prototype.lastKey=function(t){return this.reverse().firstKey(t)},e.prototype.distinct=function(){var t=this._ctx,n=t.index&&t.table.schema.idxByName[t.index];if(!n||!n.multi)return this;var r={};return uR(this._ctx,function(o){var i=o.primaryKey.toString(),a=ea(r,i);return r[i]=!0,!a}),this},e.prototype.modify=function(t){var n=this,r=this._ctx;return this._write(function(o){var i;if(typeof t=="function")i=t;else{var a=oo(t),s=a.length;i=function(y){for(var R=!1,g=0;g0&&c.mutate({trans:o,type:"add",values:T}).then(function(C){for(var _ in C.failures)k.splice(parseInt(_),1);x(T.length,C)})).then(function(C){return M.length>0&&c.mutate({trans:o,type:"put",keys:O,values:M}).then(function(_){return x(M.length,_)})}).then(function(){return k.length>0&&c.mutate({trans:o,type:"delete",keys:k}).then(function(C){return x(k.length,C)})}).then(function(){return y.length>g+b&&R(g+d)})})};return R(0).then(function(){if(p.length>0)throw new Nv("Error modifying one or more objects",p,m,A);return y.length})})})},e.prototype.delete=function(){var t=this._ctx,n=t.range;return h0(t)&&(t.isPrimKey&&!RJ||n.type===3)?this._write(function(r){var o=t.table.core.schema.primaryKey,i=n;return t.table.core.count({trans:r,query:{index:o,range:i}}).then(function(a){return t.table.core.mutate({trans:r,type:"deleteRange",range:i}).then(function(s){var c=s.failures;s.lastResult,s.results;var l=s.numFailures;if(l)throw new Nv("Could not delete some values",Object.keys(c).map(function(u){return c[u]}),a-l);return a-l})})}):this.modify(function(r,o){return o.value=null})},e}();function MJ(e){return Lp(SJ.prototype,function(n,r){this.db=e;var o=CP,i=null;if(r)try{o=r()}catch(l){i=l}var a=n._ctx,s=a.table,c=s.hook.reading.fire;this._ctx={table:s,index:a.index,isPrimKey:!a.index||s.schema.primKey.keyPath&&a.index===s.schema.primKey.name,range:o,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:a.or,valueMapper:c!==xp?c:null}})}function wJ(e,t){return et?-1:e===t?0:1}function pi(e,t,n){var r=e instanceof FP?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function yf(e){return new e.Collection(e,function(){return IP("")}).limit(0)}function OJ(e){return e==="next"?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function TJ(e){return e==="next"?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function kJ(e,t,n,r,o,i){for(var a=Math.min(e.length,r.length),s=-1,c=0;c=0?e.substr(0,s)+t[s]+n.substr(s+1):null;o(e[c],l)<0&&(s=c)}return a0)&&(g=w)}return A(g!==null?function(){m.continue(g+u)}:x),!1}),h}function Cl(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function IP(e){return{type:1,lower:e,upper:e}}var FP=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(t,n,r,o){r=r!==!1,o=o===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||o)&&!(r&&o)?yf(this):new this.Collection(this,function(){return Cl(t,n,!r,!o)})}catch{return pi(this,_s)}},e.prototype.equals=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return IP(t)})},e.prototype.above=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(t,void 0,!0)})},e.prototype.aboveOrEqual=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(t,void 0,!1)})},e.prototype.below=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(void 0,t,!1,!0)})},e.prototype.belowOrEqual=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(void 0,t)})},e.prototype.startsWith=function(t){return typeof t!="string"?pi(this,NP):this.between(t,t+Df,!0,!0)},e.prototype.startsWithIgnoreCase=function(t){return t===""?this.startsWith(t):om(this,function(n,r){return n.indexOf(r[0])===0},[t],Df)},e.prototype.equalsIgnoreCase=function(t){return om(this,function(n,r){return n===r[0]},[t],"")},e.prototype.anyOfIgnoreCase=function(){var t=Hs.apply(Ff,arguments);return t.length===0?yf(this):om(this,function(n,r){return r.indexOf(n)!==-1},t,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var t=Hs.apply(Ff,arguments);return t.length===0?yf(this):om(this,function(n,r){return r.some(function(o){return n.indexOf(o)===0})},t,Df)},e.prototype.anyOf=function(){var t=this,n=Hs.apply(Ff,arguments),r=this._cmp;try{n.sort(r)}catch{return pi(this,_s)}if(n.length===0)return yf(this);var o=new this.Collection(this,function(){return Cl(n[0],n[n.length-1])});o._ondirectionchange=function(a){r=a==="next"?t._ascending:t._descending,n.sort(r)};var i=0;return o._addAlgorithm(function(a,s,c){for(var l=a.key;r(l,n[i])>0;)if(++i,i===n.length)return s(c),!1;return r(l,n[i])===0?!0:(s(function(){a.continue(n[i])}),!1)}),o},e.prototype.notEqual=function(t){return this.inAnyRange([[n3,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var t=Hs.apply(Ff,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return pi(this,_s)}var n=t.reduce(function(r,o){return r?r.concat([[r[r.length-1][1],o]]):[[n3,o]]},null);return n.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(t,n){var r=this,o=this._cmp,i=this._ascending,a=this._descending,s=this._min,c=this._max;if(t.length===0)return yf(this);if(!t.every(function(b){return b[0]!==void 0&&b[1]!==void 0&&i(b[0],b[1])<=0}))return pi(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",zt.InvalidArgument);var l=!n||n.includeLowers!==!1,u=n&&n.includeUppers===!0;function f(b,w){for(var T=0,M=b.length;T0){O[0]=s(O[0],w[0]),O[1]=c(O[1],w[1]);break}}return T===M&&b.push(w),b}var d=i;function h(b,w){return d(b[0],w[0])}var p;try{p=t.reduce(f,[]),p.sort(h)}catch{return pi(this,_s)}var m=0,A=u?function(b){return i(b,p[m][1])>0}:function(b){return i(b,p[m][1])>=0},x=l?function(b){return a(b,p[m][0])>0}:function(b){return a(b,p[m][0])>=0};function y(b){return!A(b)&&!x(b)}var R=A,g=new this.Collection(this,function(){return Cl(p[0][0],p[p.length-1][1],!l,!u)});return g._ondirectionchange=function(b){b==="next"?(R=A,d=i):(R=x,d=a),p.sort(h)},g._addAlgorithm(function(b,w,T){for(var M=b.key;R(M);)if(++m,m===p.length)return w(T),!1;return y(M)?!0:(r._cmp(M,p[m][1])===0||r._cmp(M,p[m][0])===0||w(function(){d===i?b.continue(p[m][0]):b.continue(p[m][1])}),!1)}),g},e.prototype.startsWithAnyOf=function(){var t=Hs.apply(Ff,arguments);return t.every(function(n){return typeof n=="string"})?t.length===0?yf(this):this.inAnyRange(t.map(function(n){return[n,n+Df]})):pi(this,"startsWithAnyOf() only works with strings")},e}();function NJ(e){return Lp(FP.prototype,function(n,r,o){this.db=e,this._ctx={table:n,index:r===":id"?null:r,or:o};var i=e._deps.indexedDB;if(!i)throw new zt.MissingAPI("indexedDB API missing");this._cmp=this._ascending=i.cmp.bind(i),this._descending=function(a,s){return i.cmp(s,a)},this._max=function(a,s){return i.cmp(a,s)>0?a:s},this._min=function(a,s){return i.cmp(a,s)<0?a:s},this._IDBKeyRange=e._deps.IDBKeyRange})}function _P(e){return e.length===1?e[0]:e}function yb(e){try{return e.only([[]]),[[]]}catch{return Df}}function za(e){return dr(function(t){return $h(t),e(t.target.error),!1})}function $h(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var PJ=function(){function e(){}return e.prototype._lock=function(){return F0(!Xt.global),++this._reculock,this._reculock===1&&!Xt.global&&(Xt.lockOwnerFor=this),this},e.prototype._unlock=function(){if(F0(!Xt.global),--this._reculock===0)for(Xt.global||(Xt.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{wp(t[1],t[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&Xt.lockOwnerFor!==this},e.prototype.create=function(t){var n=this;if(!this.mode)return this;var r=this.db.idbdb,o=this.db._state.dbOpenError;if(F0(!this.idbtrans),!t&&!r)switch(o&&o.name){case"DatabaseClosedError":throw new zt.DatabaseClosed(o);case"MissingAPIError":throw new zt.MissingAPI(o.message,o);default:throw new zt.OpenFailed(o)}if(!this.active)throw new zt.TransactionInactive;return F0(this._completion._state===null),t=this.idbtrans=t||r.transaction(_P(this.storeNames),this.mode),t.onerror=dr(function(i){$h(i),n._reject(t.error)}),t.onabort=dr(function(i){$h(i),n.active&&n._reject(new zt.Abort(t.error)),n.active=!1,n.on("abort").fire(i)}),t.oncomplete=dr(function(){n.active=!1,n._resolve()}),this},e.prototype._promise=function(t,n,r){var o=this;if(t==="readwrite"&&this.mode!=="readwrite")return go(new zt.ReadOnly("Transaction is readonly"));if(!this.active)return go(new zt.TransactionInactive);if(this._locked())return new Mt(function(a,s){o._blockedFuncs.push([function(){o._promise(t,n,r).then(a,s)},Xt])});if(r)return Nu(function(){var a=new Mt(function(s,c){o._lock();var l=n(s,c,o);l&&l.then&&l.then(s,c)});return a.finally(function(){return o._unlock()}),a._lib=!0,a});var i=new Mt(function(a,s){var c=n(a,s,o);c&&c.then&&c.then(a,s)});return i._lib=!0,i},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(t){var n=this._root(),r=Mt.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return r});else{n._waitingFor=r,n._waitingQueue=[];var o=n.idbtrans.objectStore(n.storeNames[0]);(function a(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(o.get(-1/0).onsuccess=a)})()}var i=n._waitingFor;return new Mt(function(a,s){r.then(function(c){return n._waitingQueue.push(dr(a.bind(null,c)))},function(c){return n._waitingQueue.push(dr(s.bind(null,c)))}).finally(function(){n._waitingFor===i&&(n._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new zt.Abort),this.active=!1},e.prototype.table=function(t){var n=this._memoizedTables||(this._memoizedTables={});if(ea(n,t))return n[t];var r=this.schema[t];if(!r)throw new zt.NotFound("Table "+t+" not part of transaction");var o=new this.db.Table(t,r,this);return o.core=this.db.core.table(t),n[t]=o,o},e}();function CJ(e){return Lp(PJ.prototype,function(n,r,o,i){var a=this;this.db=e,this.mode=n,this.storeNames=r,this.schema=o,this.idbtrans=null,this.on=Qg(this,"complete","error","abort"),this.parent=i||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new Mt(function(s,c){a._resolve=s,a._reject=c}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(s){var c=a.active;return a.active=!1,a.on.error.fire(s),a.parent?a.parent._reject(s):c&&a.idbtrans&&a.idbtrans.abort(),go(s)})})}function r3(e,t,n,r,o,i,a){return{name:e,keyPath:t,unique:n,multi:r,auto:o,compound:i,src:(n&&!a?"&":"")+(r?"*":"")+(o?"++":"")+EP(t)}}function EP(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function XP(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:cP(n,function(r){return[r.name,r]})}}function o3(e){return e==null?function(){}:typeof e=="string"?IJ(e):function(t){return cs(t,e)}}function IJ(e){var t=e.split(".");return t.length===1?function(n){return n[e]}:function(n){return cs(n,e)}}function WP(e,t){return t.type==="delete"?t.keys:t.keys||t.values.map(e.extractKey)}function FJ(e,t,n){return t.type==="add"?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function VM(e){return[].slice.call(e)}var _J=0;function ph(e){return e==null?":id":typeof e=="string"?e:"["+e.join("+")+"]"}function EJ(e,t,n,r){var o=t.cmp.bind(t);function i(h,p){var m=VM(h.objectStoreNames);return{schema:{name:h.name,tables:m.map(function(A){return p.objectStore(A)}).map(function(A){var x=A.keyPath,y=A.autoIncrement,R=Io(x),g=x==null,b={},w={name:A.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:g,compound:R,keyPath:x,autoIncrement:y,unique:!0,extractKey:o3(x)},indexes:VM(A.indexNames).map(function(T){return A.index(T)}).map(function(T){var M=T.name,O=T.unique,k=T.multiEntry,F=T.keyPath,N=Io(F),E={name:M,compound:N,keyPath:F,unique:O,multiEntry:k,extractKey:o3(F)};return b[ph(F)]=E,E}),getIndexByKeyPath:function(T){return b[ph(T)]}};return b[":id"]=w.primaryKey,x!=null&&(b[ph(x)]=w.primaryKey),w})},hasGetAll:m.length>0&&"getAll"in p.objectStore(m[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function a(h){if(h.type===3)return null;if(h.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var p=h.lower,m=h.upper,A=h.lowerOpen,x=h.upperOpen,y=p===void 0?m===void 0?null:n.upperBound(m,!!x):m===void 0?n.lowerBound(p,!!A):n.bound(p,m,!!A,!!x);return y}function s(h){var p=h.name;function m(y){var R=y.trans,g=y.type,b=y.keys,w=y.values,T=y.range,M=y.wantResults;return new Promise(function(O,k){O=dr(O);var F=R.objectStore(p),N=F.keyPath==null,E=g==="put"||g==="add";if(!E&&g!=="delete"&&g!=="deleteRange")throw new Error("Invalid operation type: "+g);var C=(b||w||{length:1}).length;if(b&&w&&b.length!==w.length)throw new Error("Given keys array must have same length as given values array.");if(C===0)return O({numFailures:0,failures:{},results:[],lastResult:void 0});var _=M&&B4(b||WP(h.primaryKey,{type:g,keys:b,values:w})),I,W=[],Z=0,J=function(te){++Z,$h(te),_&&(_[te.target._reqno]=void 0),W[te.target._reqno]=te.target.error},le=function(te){var z=te.target;_[z._reqno]=z.result};if(g==="deleteRange"){if(T.type===4)return O({numFailures:Z,failures:W,results:_,lastResult:void 0});T.type===3?I=F.clear():I=F.delete(a(T))}else{var D=E?N?[w,b]:[w,null]:[b,null],Q=D[0],B=D[1];if(E)for(var H=0;H=t});c.forEach(function(u){o.push(function(){var f=a,d=u._cfg.dbschema;s3(e,f,r),s3(e,d,r),a=e._dbSchema=d;var h=VP(f,d);h.add.forEach(function(R){bb(r,R[0],R[1].primKey,R[1].indexes)}),h.change.forEach(function(R){if(R.recreate)throw new zt.Upgrade("Not yet support for changing primary key");var g=r.objectStore(R.name);R.add.forEach(function(b){return a3(g,b)}),R.change.forEach(function(b){g.deleteIndex(b.name),a3(g,b)}),R.del.forEach(function(b){return g.deleteIndex(b)})});var p=u._cfg.contentUpgrade;if(p&&u._cfg.version>t){xb(e,r),n._memoizedTables={},s=!0;var m=fP(d);h.del.forEach(function(R){m[R]=f[R]}),i3(e,[e.Transaction.prototype]),Ev(e,[e.Transaction.prototype],oo(m),m),n.schema=m;var A=pP(p);A&&Mp();var x,y=Mt.follow(function(){if(x=p(n),x&&A){var R=Pu.bind(null,null);x.then(R,R)}});return x&&typeof x.then=="function"?Mt.resolve(x):y.then(function(){return x})}}),o.push(function(f){if(!s||!AJ){var d=u._cfg.dbschema;ZJ(d,f)}i3(e,[e.Transaction.prototype]),Ev(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})});function l(){return o.length?Mt.resolve(o.shift()(n.idbtrans)).then(l):Mt.resolve()}return l().then(function(){QJ(a,r)})}function VP(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var o=e[r],i=t[r];if(!o)n.add.push([r,i]);else{var a={name:r,def:i,recreate:!1,del:[],add:[],change:[]};if(""+(o.primKey.keyPath||"")!=""+(i.primKey.keyPath||"")||o.primKey.auto!==i.primKey.auto&&!Rb)a.recreate=!0,n.change.push(a);else{var s=o.idxByName,c=i.idxByName,l=void 0;for(l in s)c[l]||a.del.push(l);for(l in c){var u=s[l],f=c[l];u?u.src!==f.src&&a.change.push(f):a.add.push(f)}(a.del.length>0||a.add.length>0||a.change.length>0)&&n.change.push(a)}}}return n}function bb(e,t,n,r){var o=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(i){return a3(o,i)}),o}function QJ(e,t){oo(e).forEach(function(n){t.db.objectStoreNames.contains(n)||bb(t,n,e[n].primKey,e[n].indexes)})}function ZJ(e,t){for(var n=0;nMath.pow(2,62)?0:l.oldVersion;e.idbdb=c.result,UJ(e,f/10,o,a)}},a),c.onsuccess=dr(function(){o=null;var l=e.idbdb=c.result,u=Ug(l.objectStoreNames);if(u.length>0)try{var f=l.transaction(_P(u),"readonly");t.autoSchema?BJ(e,l,f):(s3(e,e._dbSchema,f),DJ(e,f)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),xb(e,f)}catch{}hh.push(e),l.onversionchange=dr(function(d){t.vcFired=!0,e.on("versionchange").fire(d)}),jh.add(s),i()},a)})]).then(function(){return t.onReadyBeingFired=[],Mt.resolve(l3(e.on.ready.fire)).then(function i(){if(t.onReadyBeingFired.length>0){var a=t.onReadyBeingFired.reduce(RP,Jn);return t.onReadyBeingFired=[],Mt.resolve(l3(a)).then(i)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(i){try{o&&o.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=i,go(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function c3(e){var t=function(a){return e.next(a)},n=function(a){return e.throw(a)},r=i(t),o=i(n);function i(a){return function(s){var c=a(s),l=c.value;return c.done?l:!l||typeof l.then!="function"?Io(l)?Promise.all(l).then(r,o):r(l):l.then(r,o)}}return i(t)()}function jJ(e,t,n){var r=arguments.length;if(r<2)throw new zt.InvalidArgument("Too few arguments");for(var o=new Array(r-1);--r;)o[r-1]=arguments[r];n=o.pop();var i=dP(o);return[e,i,n]}function qJ(e,t,n,r,o){return Mt.resolve().then(function(){var i=Xt.transless||Xt,a=e._createTransaction(t,n,e._dbSchema,r),s={trans:a,transless:i};r?a.idbtrans=r.idbtrans:a.create();var c=pP(o);c&&Mp();var l,u=Mt.follow(function(){if(l=o.call(a,a),l)if(c){var f=Pu.bind(null,null);l.then(f,f)}else typeof l.next=="function"&&typeof l.throw=="function"&&(l=c3(l))},s);return(l&&typeof l.then=="function"?Mt.resolve(l).then(function(f){return a.active?f:go(new zt.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):u.then(function(){return l})).then(function(f){return r&&a._resolve(),a._completion.then(function(){return f})}).catch(function(f){return a._reject(f),go(f)})})}function p0(e,t,n){for(var r=Io(e)?e.slice():[e],o=0;o0,w=Hn(Hn({},x),{isVirtual:b,isPrimaryKey:!b&&x.isPrimaryKey,keyTail:A,keyLength:g,extractKey:o3(m),unique:!b&&x.unique});if(R.push(w),w.isPrimaryKey||i.push(w),g>1){var T=g===2?m[0]:m.slice(0,g-1);a(T,A+1,x)}return R.sort(function(M,O){return M.keyTail-O.keyTail}),w}var s=a(r.primaryKey.keyPath,0,r.primaryKey);o[":id"]=[s];for(var c=0,l=r.indexes;c0?Promise.reject(R.failures[0]):y.length0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()}),this.on("blocked",function(s){!s.newVersion||s.newVersion=0&&hh.splice(t,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,n.dbOpenError=new zt.DatabaseClosed,n.isBeingOpened&&n.cancelOpen(n.dbOpenError),n.dbReadyPromise=new Mt(function(r){n.dbReadyResolve=r}),n.openCanceller=new Mt(function(r,o){n.cancelOpen=o})},e.prototype.delete=function(){var t=this,n=arguments.length>0,r=this._state;return new Mt(function(o,i){var a=function(){t.close();var s=t._deps.indexedDB.deleteDatabase(t.name);s.onsuccess=dr(function(){jh.remove(t.name),o()}),s.onerror=za(i),s.onblocked=t._fireOnBlocked};if(n)throw new zt.InvalidArgument("Arguments not allowed in db.delete()");r.isBeingOpened?r.dbReadyPromise.then(a):a()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return this.idbdb!==null},e.prototype.hasBeenClosed=function(){var t=this._state.dbOpenError;return t&&t.name==="DatabaseClosed"},e.prototype.hasFailed=function(){return this._state.dbOpenError!==null},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var t=this;return oo(this._allTables).map(function(n){return t._allTables[n]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var t=jJ.apply(this,arguments);return this._transaction.apply(this,t)},e.prototype._transaction=function(t,n,r){var o=this,i=Xt.trans;(!i||i.db!==this||t.indexOf("!")!==-1)&&(i=null);var a=t.indexOf("?")!==-1;t=t.replace("!","").replace("?","");var s,c;try{if(c=n.map(function(u){var f=u instanceof o.Table?u.name:u;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t===lR)s=lR;else if(t=="rw"||t==cR)s=cR;else throw new zt.InvalidArgument("Invalid transaction mode: "+t);if(i){if(i.mode===lR&&s===cR)if(a)i=null;else throw new zt.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i&&c.forEach(function(u){if(i&&i.storeNames.indexOf(u)===-1)if(a)i=null;else throw new zt.SubTransaction("Table "+u+" not included in parent transaction.")}),a&&i&&!i.active&&(i=null)}}catch(u){return i?i._promise(null,function(f,d){d(u)}):go(u)}var l=qJ.bind(null,this,s,c,i,r);return i?i._promise(s,l,"lock"):Xt.trans?wp(Xt.transless,function(){return o._whenReady(l)}):this._whenReady(l)},e.prototype.table=function(t){if(!ea(this._allTables,t))throw new zt.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},e}(),Ql=Iu;Hh(Ql,Hn(Hn({},Yg),{delete:function(e){var t=new Ql(e);return t.delete()},exists:function(e){return new Ql(e,{addons:[]}).open().then(function(t){return t.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return jh?jh.getDatabaseNames().then(e):Mt.resolve([])},defineClass:function(){function e(t){qi(this,t)}return e},ignoreTransaction:function(e){return Xt.trans?wp(Xt.transless,e):e()},vip:l3,async:function(e){return function(){try{var t=c3(e.apply(this,arguments));return!t||typeof t.then!="function"?Mt.resolve(t):t}catch(n){return go(n)}}},spawn:function(e,t,n){try{var r=c3(e.apply(n,t||[]));return!r||typeof r.then!="function"?Mt.resolve(r):r}catch(o){return go(o)}},currentTransaction:{get:function(){return Xt.trans||null}},waitFor:function(e,t){var n=Mt.resolve(typeof e=="function"?Ql.ignoreTransaction(e):e).timeout(t||6e4);return Xt.trans?Xt.trans.waitFor(n):n},Promise:Mt,debug:{get:function(){return bs},set:function(e){mP(e,e==="dexie"?function(){return!0}:PP)}},derive:Yd,extend:qi,props:Hh,override:sP,Events:Qg,getByKeyPath:cs,setByKeyPath:Pa,delByKeyPath:uP,shallowClone:fP,deepClone:Gh,getObjectDiff:hb,asap:lP,minKey:n3,addons:[],connections:hh,errnames:qG,dependencies:function(){try{return{indexedDB:jn.indexedDB||jn.mozIndexedDB||jn.webkitIndexedDB||jn.msIndexedDB,IDBKeyRange:jn.IDBKeyRange||jn.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}}(),semVer:EM,version:EM.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,n*2)}),default:Ql,Dexie:Ql}));Ql.maxKey=yb(Ql.dependencies.IDBKeyRange);zJ(Iu.dependencies.indexedDB);Mt.rejectionMapper=tJ;mP(bs,PP);const Xv="PPTIST_DISCARDED_DB",u3="PPTist",rz=async()=>{const e=new Date().getTime(),t=localStorage.getItem(Xv),n=t?JSON.parse(t):[],o=(await Iu.getDatabaseNames()).filter(i=>{if(i.indexOf(u3)===-1)return!1;const[a,s,c]=i.split("_");return!!(a!==u3||!s||!c||n.includes(s)||e-+c>=1e3*60*60*12)});for(const i of o)Iu.delete(i);localStorage.removeItem(Xv)};class oz extends Iu{constructor(){super(`${u3}_${oP}_${new Date().getTime()}`);VA(this,"snapshots");VA(this,"writingBoardImgs");this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}}const xa=new oz,Zg=Rp("snapshot",{state:()=>({snapshotCursor:-1,snapshotLength:0}),getters:{canUndo(e){return e.snapshotCursor>0},canRedo(e){return e.snapshotCursor=0&&this.snapshotCursor20&&(n.push(t[0]),o--),o>=2&&xa.snapshots.update(t[o-2],{index:e.slideIndex}),await xa.snapshots.bulkDelete(n),this.setSnapshotCursor(o-1),this.setSnapshotLength(o)},async unDo(){if(this.snapshotCursor<=0)return;const e=lt(),t=ft(),n=this.snapshotCursor-1,o=(await xa.snapshots.orderBy("id").toArray())[n],{index:i,slides:a}=o,s=i>a.length-1?a.length-1:i;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])},async reDo(){if(this.snapshotCursor>=this.snapshotLength-1)return;const e=lt(),t=ft(),n=this.snapshotCursor+1,o=(await xa.snapshots.orderBy("id").toArray())[n],{index:i,slides:a}=o,s=i>a.length-1?a.length-1:i;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])}}}),Ss=Rp("keyboard",{state:()=>({ctrlKeyState:!1,shiftKeyState:!1,spaceKeyState:!1}),getters:{ctrlOrShiftKeyActive(e){return e.ctrlKeyState||e.shiftKeyState}},actions:{setCtrlKeyState(e){this.ctrlKeyState=e},setShiftKeyState(e){this.shiftKeyState=e},setSpaceKeyState(e){this.spaceKeyState=e}}}),UP=Rp("screen",{state:()=>({screening:!1}),actions:{setScreening(e){this.screening=e}}}),E0=(e,t)=>Fn.padStart(""+e,t,"0"),iz=()=>!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|Mobile|BlackBerry|Symbian|Windows Phone)/i);var hr=(e=>(e.UP="up",e.DOWN="down",e.TOP="top",e.BOTTOM="bottom",e))(hr||{}),nn=(e=>(e.TOP="top",e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.CENTER="center",e))(nn||{}),X0=(e=>(e.T="top",e.B="bottom",e.L="left",e.R="right",e))(X0||{}),mt=(e=>(e.LEFT_TOP="left-top",e.TOP="top",e.RIGHT_TOP="right-top",e.LEFT="left",e.RIGHT="right",e.LEFT_BOTTOM="left-bottom",e.BOTTOM="bottom",e.RIGHT_BOTTOM="right-bottom",e))(mt||{}),Go=(e=>(e.START="start",e.END="end",e.C="ctrl",e.C1="ctrl1",e.C2="ctrl2",e))(Go||{}),yt=(e=>(e.C="C",e.X="X",e.Z="Z",e.Y="Y",e.A="A",e.G="G",e.L="L",e.F="F",e.D="D",e.B="B",e.P="P",e.MINUS="-",e.EQUAL="=",e.DIGIT_0="0",e.DELETE="DELETE",e.UP="ARROWUP",e.DOWN="ARROWDOWN",e.LEFT="ARROWLEFT",e.RIGHT="ARROWRIGHT",e.ENTER="ENTER",e.SPACE=" ",e.TAB="TAB",e.BACKSPACE="BACKSPACE",e.ESC="ESCAPE",e.PAGEUP="PAGEUP",e.PAGEDOWN="PAGEDOWN",e.F5="F5",e))(yt||{});const az=[{type:"通用",children:[{label:"剪切",value:"Ctrl + X"},{label:"复制",value:"Ctrl + C"},{label:"粘贴",value:"Ctrl + V"},{label:"粘贴为纯文本",value:"Ctrl + Shift + V"},{label:"快速复制粘贴",value:"Ctrl + D"},{label:"全选",value:"Ctrl + A"},{label:"撤销",value:"Ctrl + Z"},{label:"恢复",value:"Ctrl + Y"},{label:"删除",value:"Delete / Backspace"},{label:"多选",value:"按住 Ctrl 或 Shift"},{label:"打开搜索替换",value:"Ctrl + F"},{label:"打印",value:"Ctrl + P"},{label:"关闭弹窗",value:"ESC"}]},{type:"幻灯片放映",children:[{label:"从头开始放映幻灯片",value:"F5"},{label:"从当前开始放映幻灯片",value:"Shift + F5"},{label:"切换上一页",value:"↑ / ← / PgUp"},{label:"切换下一页",value:"↓ / → / PgDown"},{label:"切换下一页",value:"Enter / Space"},{label:"退出放映",value:"ESC"}]},{type:"幻灯片编辑",children:[{label:"新建幻灯片",value:"Enter"},{label:"移动画布",value:"Space + 鼠标拖拽"},{label:"缩放画布",value:"Ctrl + 鼠标滚轮"},{label:"放大画布",value:"Ctrl + ="},{label:"缩小画布",value:"Ctrl + -"},{label:"使画布适应当前屏幕",value:"Ctrl + 0"},{label:"上一页(未选中元素)",value:"↑ / ←"},{label:"下一页(未选中元素)",value:"↓ / →"},{label:"上一页",value:"鼠标上滚 / PgUp"},{label:"下一页",value:"鼠标下滚 / PgDown"}]},{type:"元素操作",children:[{label:"移动",value:"↑ / ← / ↓ / →"},{label:"锁定",value:"Ctrl + L"},{label:"组合",value:"Ctrl + G"},{label:"取消组合",value:"Ctrl + Shift + G"},{label:"置顶层",value:"Alt + F"},{label:"置底层",value:"Alt + B"},{label:"锁定宽高比例",value:"按住 Ctrl 或 Shift"},{label:"创建水平 / 垂直线条",value:"按住 Ctrl 或 Shift"},{label:"切换焦点元素",value:"Tab"},{label:"确认图片裁剪",value:"Enter"},{label:"完成自定义形状绘制",value:"Enter"}]},{type:"表格编辑",children:[{label:"聚焦到下一个单元格",value:"Tab"},{label:"在上方插入一行",value:"Ctrl + ↑"},{label:"在下方插入一行",value:"Ctrl + ↓"},{label:"在左侧插入一列",value:"Ctrl + ←"},{label:"在右侧插入一列",value:"Ctrl + →"}]},{type:"图表数据编辑",children:[{label:"聚焦到下一行",value:"Enter"}]},{type:"文本编辑",children:[{label:"加粗",value:"Ctrl + B"},{label:"斜体",value:"Ctrl + I"},{label:"下划线",value:"Ctrl + U"},{label:"行内代码",value:"Ctrl + E"},{label:"上角标",value:"Ctrl + ;"},{label:"下角标",value:"Ctrl + '"},{label:"选中段落",value:"ESC"}]}];var YP={exports:{}};/*! +`).slice(t).filter(gP).map(function(r){return` +`+r}).join("")):""}var qG=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],AP=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],vx=qG.concat(AP),eJ={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function Zd(e,t){this._e=Qd(),this.name=e,this.message=t}Yd(Zd).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+J4(this._e,2))}},toString:function(){return this.name+": "+this.message}});function RP(e,t){return e+". Errors: "+Object.keys(t).map(function(n){return t[n].toString()}).filter(function(n,r,o){return o.indexOf(n)===r}).join(` +`)}function Pv(e,t,n,r){this._e=Qd(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=RP(e,t)}Yd(Pv).from(Zd);function hh(e,t){this._e=Qd(),this.name="BulkError",this.failures=t,this.message=RP(e,t)}Yd(hh).from(Zd);var tJ=vx.reduce(function(e,t){return e[t]=t+"Error",e},{}),nJ=Zd,zt=vx.reduce(function(e,t){var n=t+"Error";function r(o,i){this._e=Qd(),this.name=n,o?typeof o=="string"?(this.message=""+o+(i?` + `+i:""),this.inner=i||null):typeof o=="object"&&(this.message=o.name+" "+o.message,this.inner=o):(this.message=eJ[t]||n,this.inner=null)}return Yd(r).from(nJ),e[t]=r,e},{});zt.Syntax=SyntaxError;zt.Type=TypeError;zt.Range=RangeError;var IM=AP.reduce(function(e,t){return e[t+"Error"]=zt[t],e},{});function rJ(e,t){if(!e||e instanceof Zd||e instanceof TypeError||e instanceof SyntaxError||!e.name||!IM[e.name])return e;var n=new IM[e.name](t||e.message,e);return"stack"in e&&al(n,"stack",{get:function(){return this.inner.stack}}),n}var Yg=vx.reduce(function(e,t){return["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=zt[t]),e},{});Yg.ModifyError=Pv;Yg.DexieError=Zd;Yg.BulkError=hh;function Jn(){}function Sp(e){return e}function oJ(e,t){return e==null||e===Sp?t:function(n){return t(e(n))}}function ku(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function iJ(e,t){return e===Jn?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?ku(r,this.onsuccess):r),o&&(this.onerror=this.onerror?ku(o,this.onerror):o),i!==void 0?i:n}}function aJ(e,t){return e===Jn?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?ku(n,this.onsuccess):n),r&&(this.onerror=this.onerror?ku(r,this.onerror):r)}}function sJ(e,t){return e===Jn?t:function(n){var r=e.apply(this,arguments);qi(n,r);var o=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return o&&(this.onsuccess=this.onsuccess?ku(o,this.onsuccess):o),i&&(this.onerror=this.onerror?ku(i,this.onerror):i),r===void 0?a===void 0?void 0:a:qi(r,a)}}function lJ(e,t){return e===Jn?t:function(){return t.apply(this,arguments)===!1?!1:e.apply(this,arguments)}}function yP(e,t){return e===Jn?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then=="function"){for(var r=this,o=arguments.length,i=new Array(o);o--;)i[o]=arguments[o];return n.then(function(){return t.apply(r,i)})}return t.apply(this,arguments)}}var zh={},cJ=100,uJ=20,bP=100,gx=typeof Promise>"u"?[]:function(){var e=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[e,e.__proto__,e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,t.__proto__,e]}(),z4=gx[0],Cv=gx[1],$4=gx[2],xP=Cv&&Cv.then,Em=z4&&z4.constructor,Ax=!!$4,j4=!1,fJ=$4?function(){$4.then(tm)}:jn.setImmediate?setImmediate.bind(null,tm):jn.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){tm(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(tm,0)},$h=function(e,t){E0.push([e,t]),Iv&&(fJ(),Iv=!1)},q4=!0,Iv=!0,pu=[],Xm=[],e3=null,t3=Sp,cd={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:EM,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{EM(e[0],e[1])}catch{}})}},Xt=cd,E0=[],mu=0,Wm=[];function Mt(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Jn,this._lib=!1;var t=this._PSD=Xt;if(xs&&(this._stackHolder=Qd(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==zh)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&r3(this,this._value);return}this._state=null,this._value=null,++t.ref,MP(this,e)}var n3={get:function(){var e=Xt,t=Fv;function n(r,o){var i=this,a=!e.global&&(e!==Xt||t!==Fv),s=a&&!Pu(),c=new Mt(function(l,u){Rx(i,new SP(Ev(r,e,a,s),Ev(o,e,a,s),l,u,e))});return xs&&OP(c,this),c}return n.prototype=zh,n},set:function(e){al(this,"then",e&&e.prototype===zh?n3:{get:function(){return e},set:n3.set})}};Gh(Mt.prototype,{then:n3,_then:function(e,t){Rx(this,new SP(null,null,e,t,Xt))},catch:function(e){if(arguments.length===1)return this.then(null,e);var t=arguments[0],n=arguments[1];return typeof t=="function"?this.then(null,function(r){return r instanceof t?n(r):Vm(r)}):this.then(null,function(r){return r&&r.name===t?n(r):Vm(r)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),Vm(t)})},stack:{get:function(){if(this._stack)return this._stack;try{j4=!0;var e=LP(this,[],uJ),t=e.join(` +From previous: `);return this._state!==null&&(this._stack=t),t}finally{j4=!1}}},timeout:function(e,t){var n=this;return e<1/0?new Mt(function(r,o){var i=setTimeout(function(){return o(new zt.Timeout(t))},e);n.then(r,o).finally(clearTimeout.bind(null,i))}):this}});typeof Symbol<"u"&&Symbol.toStringTag&&al(Mt.prototype,Symbol.toStringTag,"Dexie.Promise");cd.env=TP();function SP(e,t,n,r,o){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=o}Gh(Mt,{all:function(){var e=Hs.apply(null,arguments).map(_v);return new Mt(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(o,i){return Mt.resolve(o).then(function(a){e[i]=a,--r||t(e)},n)})})},resolve:function(e){if(e instanceof Mt)return e;if(e&&typeof e.then=="function")return new Mt(function(n,r){e.then(n,r)});var t=new Mt(zh,!0,e);return OP(t,e3),t},reject:Vm,race:function(){var e=Hs.apply(null,arguments).map(_v);return new Mt(function(t,n){e.map(function(r){return Mt.resolve(r).then(t,n)})})},PSD:{get:function(){return Xt},set:function(e){return Xt=e}},totalEchoes:{get:function(){return Fv}},newPSD:Nu,usePSD:Op,scheduler:{get:function(){return $h},set:function(e){$h=e}},rejectionMapper:{get:function(){return t3},set:function(e){t3=e}},follow:function(e,t){return new Mt(function(n,r){return Nu(function(o,i){var a=Xt;a.unhandleds=[],a.onunhandled=i,a.finalize=ku(function(){var s=this;hJ(function(){s.unhandleds.length===0?o():i(s.unhandleds[0])})},a.finalize),e()},t,n,r)})}});Em&&(Em.allSettled&&al(Mt,"allSettled",function(){var e=Hs.apply(null,arguments).map(_v);return new Mt(function(t){e.length===0&&t([]);var n=e.length,r=new Array(n);e.forEach(function(o,i){return Mt.resolve(o).then(function(a){return r[i]={status:"fulfilled",value:a}},function(a){return r[i]={status:"rejected",reason:a}}).then(function(){return--n||t(r)})})})}),Em.any&&typeof AggregateError<"u"&&al(Mt,"any",function(){var e=Hs.apply(null,arguments).map(_v);return new Mt(function(t,n){e.length===0&&n(new AggregateError([]));var r=e.length,o=new Array(r);e.forEach(function(i,a){return Mt.resolve(i).then(function(s){return t(s)},function(s){o[a]=s,--r||n(new AggregateError(o))})})})}));function MP(e,t){try{t(function(n){if(e._state===null){if(n===e)throw new TypeError("A promise cannot be resolved with itself.");var r=e._lib&&Mp();n&&typeof n.then=="function"?MP(e,function(o,i){n instanceof Mt?n._then(o,i):n.then(o,i)}):(e._state=!0,e._value=n,wP(e)),r&&wp()}},r3.bind(null,e))}catch(n){r3(e,n)}}function r3(e,t){if(Xm.push(t),e._state===null){var n=e._lib&&Mp();t=t3(t),e._state=!1,e._value=t,xs&&t!==null&&typeof t=="object"&&!t._promise&&KG(function(){var r=px(t,"stack");t._promise=e,al(t,"stack",{get:function(){return j4?r&&(r.get?r.get.apply(t):r.value):e.stack}})}),pJ(e),wP(e),n&&wp()}}function wP(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(e=E0,E0=[],n=e.length,t=0;t0);q4=!0,Iv=!0}function yx(){var e=pu;pu=[],e.forEach(function(r){r._PSD.onunhandled.call(null,r._value,r)});for(var t=Wm.slice(0),n=t.length;n;)t[--n]()}function hJ(e){function t(){e(),Wm.splice(Wm.indexOf(t),1)}Wm.push(t),++mu,$h(function(){--mu===0&&yx()},[])}function pJ(e){pu.some(function(t){return t._value===e._value})||pu.push(e)}function mJ(e){for(var t=pu.length;t;)if(pu[--t]._value===e._value){pu.splice(t,1);return}}function Vm(e){return new Mt(zh,!1,e)}function dr(e,t){var n=Xt;return function(){var r=Mp(),o=Xt;try{return Ac(n,!0),e.apply(this,arguments)}catch(i){t&&t(i)}finally{Ac(o,!1),r&&wp()}}}var ho={awaits:0,echoes:0,id:0},vJ=0,Um=[],lR=0,Fv=0,gJ=0;function Nu(e,t,n,r){var o=Xt,i=Object.create(o);i.parent=o,i.ref=0,i.global=!1,i.id=++gJ;var a=cd.env;i.env=Ax?{Promise:Mt,PromiseProp:{value:Mt,configurable:!0,writable:!0},all:Mt.all,race:Mt.race,allSettled:Mt.allSettled,any:Mt.any,resolve:Mt.resolve,reject:Mt.reject,nthen:FM(a.nthen,i),gthen:FM(a.gthen,i)}:{},t&&qi(i,t),++o.ref,i.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=Op(i,e,n,r);return i.ref===0&&i.finalize(),s}function Lp(){return ho.id||(ho.id=++vJ),++ho.awaits,ho.echoes+=bP,ho.id}function Pu(){return ho.awaits?(--ho.awaits===0&&(ho.id=0),ho.echoes=ho.awaits*bP,!0):!1}(""+xP).indexOf("[native code]")===-1&&(Lp=Pu=Jn);function _v(e){return ho.echoes&&e&&e.constructor===Em?(Lp(),e.then(function(t){return Pu(),t},function(t){return Pu(),go(t)})):e}function AJ(e){++Fv,(!ho.echoes||--ho.echoes===0)&&(ho.echoes=ho.id=0),Um.push(Xt),Ac(e,!0)}function RJ(){var e=Um[Um.length-1];Um.pop(),Ac(e,!1)}function Ac(e,t){var n=Xt;if((t?ho.echoes&&(!lR++||e!==Xt):lR&&(!--lR||e!==Xt))&&kP(t?AJ.bind(null,e):RJ),e!==Xt&&(Xt=e,n===cd&&(cd.env=TP()),Ax)){var r=cd.env.Promise,o=e.env;Cv.then=o.nthen,r.prototype.then=o.gthen,(n.global||e.global)&&(Object.defineProperty(jn,"Promise",o.PromiseProp),r.all=o.all,r.race=o.race,r.resolve=o.resolve,r.reject=o.reject,o.allSettled&&(r.allSettled=o.allSettled),o.any&&(r.any=o.any))}}function TP(){var e=jn.Promise;return Ax?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(jn,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:Cv.then,gthen:e.prototype.then}:{}}function Op(e,t,n,r,o){var i=Xt;try{return Ac(e,!0),t(n,r,o)}finally{Ac(i,!1)}}function kP(e){xP.call(z4,e)}function Ev(e,t,n,r){return typeof e!="function"?e:function(){var o=Xt;n&&Lp(),Ac(t,!0);try{return e.apply(this,arguments)}finally{Ac(o,!1),r&&kP(Pu)}}}function FM(e,t){return function(n,r){return e.call(this,Ev(n,t),Ev(r,t))}}var _M="unhandledrejection";function EM(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,o={promise:t,reason:e};if(jn.document&&document.createEvent?(r=document.createEvent("Event"),r.initEvent(_M,!0,!0),qi(r,o)):jn.CustomEvent&&(r=new CustomEvent(_M,{detail:o}),qi(r,o)),r&&jn.dispatchEvent&&(dispatchEvent(r),!jn.PromiseRejectionEvent&&jn.onunhandledrejection))try{jn.onunhandledrejection(r)}catch{}xs&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch{}}var go=Mt.reject;function NP(e,t,n,r){if(!e._state.openComplete&&!Xt.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return go(new zt.DatabaseClosed);e.open().catch(Jn)}return e._state.dbReadyPromise.then(function(){return NP(e,t,n,r)})}else{var o=e._createTransaction(t,n,e._dbSchema);try{o.create()}catch(i){return go(i)}return o._promise(t,function(i,a){return Nu(function(){return Xt.trans=o,r(i,a,o)})}).then(function(i){return o._completion.then(function(){return i})})}}var XM="3.0.3",Df="￿",o3=-1/0,_s="Invalid key provided. Keys must be of type string, number, Date or Array.",PP="String expected.",ph=[],bx=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),yJ=bx,bJ=bx,CP=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},nm="__dbnames",cR="readonly",uR="readwrite";function Cu(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var IP={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function rm(e){return function(t){return us(t,e)===void 0&&(t=Jh(t),fP(t,e)),t}}var xJ=function(){function e(){}return e.prototype._trans=function(t,n,r){var o=this._tx||Xt.trans,i=this.name;function a(c,l,u){if(!u.schema[i])throw new zt.NotFound("Table "+i+" not part of transaction");return n(u.idbtrans,u)}var s=Mp();try{return o&&o.db===this.db?o===Xt.trans?o._promise(t,a,r):Nu(function(){return o._promise(t,a,r)},{trans:o,transless:Xt.transless||Xt}):NP(this.db,t,[this.name],a)}finally{s&&wp()}},e.prototype.get=function(t,n){var r=this;return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",function(o){return r.core.get({trans:o,key:t}).then(function(i){return r.hook.reading.fire(i)})}).then(n)},e.prototype.where=function(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(Io(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var n=oo(t);if(n.length===1)return this.where(n[0]).equals(t[n[0]]);var r=this.schema.indexes.concat(this.schema.primKey).filter(function(u){return u.compound&&n.every(function(f){return u.keyPath.indexOf(f)>=0})&&u.keyPath.every(function(f){return n.indexOf(f)>=0})})[0];if(r&&this.db._maxKey!==Df)return this.where(r.name).equals(r.keyPath.map(function(u){return t[u]}));!r&&xs&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var o=this.schema.idxByName,i=this.db._deps.indexedDB;function a(u,f){try{return i.cmp(u,f)===0}catch{return!1}}var s=n.reduce(function(u,f){var d=u[0],h=u[1],p=o[f],m=t[f];return[d||p,d||!p?Cu(h,p&&p.multi?function(A){var x=us(A,f);return Io(x)&&x.some(function(y){return a(m,y)})}:function(A){return a(m,us(A,f))}):h]},[null,null]),c=s[0],l=s[1];return c?this.where(c.name).equals(t[c.keyPath]).filter(l):r?this.filter(l):this.where(n).equals("")},e.prototype.filter=function(t){return this.toCollection().and(t)},e.prototype.count=function(t){return this.toCollection().count(t)},e.prototype.offset=function(t){return this.toCollection().offset(t)},e.prototype.limit=function(t){return this.toCollection().limit(t)},e.prototype.each=function(t){return this.toCollection().each(t)},e.prototype.toArray=function(t){return this.toCollection().toArray(t)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(t){return new this.db.Collection(new this.db.WhereClause(this,Io(t)?"["+t.join("+")+"]":t))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(t){this.schema.mappedClass=t;var n=function(r){if(!r)return r;var o=Object.create(t.prototype);for(var i in r)if(ea(r,i))try{o[i]=r[i]}catch{}return o};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=n,this.hook("reading",n),t},e.prototype.defineClass=function(){function t(n){qi(this,n)}return this.mapToClass(t)},e.prototype.add=function(t,n){var r=this,o=this.schema.primKey,i=o.auto,a=o.keyPath,s=t;return a&&i&&(s=rm(a)(t)),this._trans("readwrite",function(c){return r.core.mutate({trans:c,type:"add",keys:n!=null?[n]:null,values:[s]})}).then(function(c){return c.numFailures?Mt.reject(c.failures[0]):c.lastResult}).then(function(c){if(a)try{Pa(t,a,c)}catch{}return c})},e.prototype.update=function(t,n){if(typeof n!="object"||Io(n))throw new zt.InvalidArgument("Modifications must be an object.");if(typeof t=="object"&&!Io(t)){oo(n).forEach(function(o){Pa(t,o,n[o])});var r=us(t,this.schema.primKey.keyPath);return r===void 0?go(new zt.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(r).modify(n)}else return this.where(":id").equals(t).modify(n)},e.prototype.put=function(t,n){var r=this,o=this.schema.primKey,i=o.auto,a=o.keyPath,s=t;return a&&i&&(s=rm(a)(t)),this._trans("readwrite",function(c){return r.core.mutate({trans:c,type:"put",values:[s],keys:n!=null?[n]:null})}).then(function(c){return c.numFailures?Mt.reject(c.failures[0]):c.lastResult}).then(function(c){if(a)try{Pa(t,a,c)}catch{}return c})},e.prototype.delete=function(t){var n=this;return this._trans("readwrite",function(r){return n.core.mutate({trans:r,type:"delete",keys:[t]})}).then(function(r){return r.numFailures?Mt.reject(r.failures[0]):void 0})},e.prototype.clear=function(){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"deleteRange",range:IP})}).then(function(n){return n.numFailures?Mt.reject(n.failures[0]):void 0})},e.prototype.bulkGet=function(t){var n=this;return this._trans("readonly",function(r){return n.core.getMany({keys:t,trans:r}).then(function(o){return o.map(function(i){return n.hook.reading.fire(i)})})})},e.prototype.bulkAdd=function(t,n,r){var o=this,i=Array.isArray(n)?n:void 0;r=r||(i?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var c=o.schema.primKey,l=c.auto,u=c.keyPath;if(u&&i)throw new zt.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new zt.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=u&&l?t.map(rm(u)):t;return o.core.mutate({trans:s,type:"add",keys:i,values:d,wantResults:a}).then(function(h){var p=h.numFailures,m=h.results,A=h.lastResult,x=h.failures,y=a?m:A;if(p===0)return y;throw new hh(o.name+".bulkAdd(): "+p+" of "+f+" operations failed",Object.keys(x).map(function(R){return x[R]}))})})},e.prototype.bulkPut=function(t,n,r){var o=this,i=Array.isArray(n)?n:void 0;r=r||(i?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var c=o.schema.primKey,l=c.auto,u=c.keyPath;if(u&&i)throw new zt.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new zt.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=u&&l?t.map(rm(u)):t;return o.core.mutate({trans:s,type:"put",keys:i,values:d,wantResults:a}).then(function(h){var p=h.numFailures,m=h.results,A=h.lastResult,x=h.failures,y=a?m:A;if(p===0)return y;throw new hh(o.name+".bulkPut(): "+p+" of "+f+" operations failed",Object.keys(x).map(function(R){return x[R]}))})})},e.prototype.bulkDelete=function(t){var n=this,r=t.length;return this._trans("readwrite",function(o){return n.core.mutate({trans:o,type:"delete",keys:t})}).then(function(o){var i=o.numFailures,a=o.lastResult,s=o.failures;if(i===0)return a;throw new hh(n.name+".bulkDelete(): "+i+" of "+r+" operations failed",s)})},e}();function Qg(e){var t={},n=function(s,c){if(c){for(var l=arguments.length,u=new Array(l-1);--l;)u[l-1]=arguments[l];return t[s].subscribe.apply(null,u),e}else if(typeof s=="string")return t[s]};n.addEventType=i;for(var r=1,o=arguments.length;rd?s:0}return this.toArray(function(l){return l.sort(c)}).then(n)},e.prototype.toArray=function(t){var n=this;return this._read(function(r){var o=n._ctx;if(o.dir==="next"&&p0(o,!0)&&o.limit>0){var i=o.valueMapper,a=Ym(o,o.table.core.schema);return o.table.core.query({trans:r,limit:o.limit,values:!0,query:{index:a,range:o.range}}).then(function(c){var l=c.result;return i?l.map(i):l})}else{var s=[];return om(o,function(c){return s.push(c)},r,o.table.core).then(function(){return s})}},t)},e.prototype.offset=function(t){var n=this._ctx;return t<=0?this:(n.offset+=t,p0(n)?dR(n,function(){var r=t;return function(o,i){return r===0?!0:r===1?(--r,!1):(i(function(){o.advance(r),r=0}),!1)}}):dR(n,function(){var r=t;return function(){return--r<0}}),this)},e.prototype.limit=function(t){return this._ctx.limit=Math.min(this._ctx.limit,t),dR(this._ctx,function(){var n=t;return function(r,o,i){return--n<=0&&o(i),n>=0}},!0),this},e.prototype.until=function(t,n){return fR(this._ctx,function(r,o,i){return t(r.value)?(o(i),n):!0}),this},e.prototype.first=function(t){return this.limit(1).toArray(function(n){return n[0]}).then(t)},e.prototype.last=function(t){return this.reverse().first(t)},e.prototype.filter=function(t){return fR(this._ctx,function(n){return t(n.value)}),MJ(this._ctx,t),this},e.prototype.and=function(t){return this.filter(t)},e.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},e.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,o){t(o.key,o)})},e.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},e.prototype.eachPrimaryKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,o){t(o.primaryKey,o)})},e.prototype.keys=function(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(o,i){r.push(i.key)}).then(function(){return r}).then(t)},e.prototype.primaryKeys=function(t){var n=this._ctx;if(n.dir==="next"&&p0(n,!0)&&n.limit>0)return this._read(function(o){var i=Ym(n,n.table.core.schema);return n.table.core.query({trans:o,values:!1,limit:n.limit,query:{index:i,range:n.range}})}).then(function(o){var i=o.result;return i}).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(o,i){r.push(i.primaryKey)}).then(function(){return r}).then(t)},e.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},e.prototype.firstKey=function(t){return this.limit(1).keys(function(n){return n[0]}).then(t)},e.prototype.lastKey=function(t){return this.reverse().firstKey(t)},e.prototype.distinct=function(){var t=this._ctx,n=t.index&&t.table.schema.idxByName[t.index];if(!n||!n.multi)return this;var r={};return fR(this._ctx,function(o){var i=o.primaryKey.toString(),a=ea(r,i);return r[i]=!0,!a}),this},e.prototype.modify=function(t){var n=this,r=this._ctx;return this._write(function(o){var i;if(typeof t=="function")i=t;else{var a=oo(t),s=a.length;i=function(y){for(var R=!1,g=0;g0&&c.mutate({trans:o,type:"add",values:T}).then(function(I){for(var F in I.failures)k.splice(parseInt(F),1);x(T.length,I)})).then(function(I){return M.length>0&&c.mutate({trans:o,type:"put",keys:w,values:M}).then(function(F){return x(M.length,F)})}).then(function(){return k.length>0&&c.mutate({trans:o,type:"delete",keys:k}).then(function(I){return x(k.length,I)})}).then(function(){return y.length>g+b&&R(g+d)})})};return R(0).then(function(){if(p.length>0)throw new Pv("Error modifying one or more objects",p,m,A);return y.length})})})},e.prototype.delete=function(){var t=this._ctx,n=t.range;return p0(t)&&(t.isPrimKey&&!bJ||n.type===3)?this._write(function(r){var o=t.table.core.schema.primaryKey,i=n;return t.table.core.count({trans:r,query:{index:o,range:i}}).then(function(a){return t.table.core.mutate({trans:r,type:"deleteRange",range:i}).then(function(s){var c=s.failures;s.lastResult,s.results;var l=s.numFailures;if(l)throw new Pv("Could not delete some values",Object.keys(c).map(function(u){return c[u]}),a-l);return a-l})})}):this.modify(function(r,o){return o.value=null})},e}();function LJ(e){return Tp(wJ.prototype,function(n,r){this.db=e;var o=IP,i=null;if(r)try{o=r()}catch(l){i=l}var a=n._ctx,s=a.table,c=s.hook.reading.fire;this._ctx={table:s,index:a.index,isPrimKey:!a.index||s.schema.primKey.keyPath&&a.index===s.schema.primKey.name,range:o,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:a.or,valueMapper:c!==Sp?c:null}})}function OJ(e,t){return et?-1:e===t?0:1}function pi(e,t,n){var r=e instanceof _P?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function yf(e){return new e.Collection(e,function(){return FP("")}).limit(0)}function kJ(e){return e==="next"?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function NJ(e){return e==="next"?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function PJ(e,t,n,r,o,i){for(var a=Math.min(e.length,r.length),s=-1,c=0;c=0?e.substr(0,s)+t[s]+n.substr(s+1):null;o(e[c],l)<0&&(s=c)}return a0)&&(g=L)}return A(g!==null?function(){m.continue(g+u)}:x),!1}),h}function Cl(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function FP(e){return{type:1,lower:e,upper:e}}var _P=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(t,n,r,o){r=r!==!1,o=o===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||o)&&!(r&&o)?yf(this):new this.Collection(this,function(){return Cl(t,n,!r,!o)})}catch{return pi(this,_s)}},e.prototype.equals=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return FP(t)})},e.prototype.above=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(t,void 0,!0)})},e.prototype.aboveOrEqual=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(t,void 0,!1)})},e.prototype.below=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(void 0,t,!1,!0)})},e.prototype.belowOrEqual=function(t){return t==null?pi(this,_s):new this.Collection(this,function(){return Cl(void 0,t)})},e.prototype.startsWith=function(t){return typeof t!="string"?pi(this,PP):this.between(t,t+Df,!0,!0)},e.prototype.startsWithIgnoreCase=function(t){return t===""?this.startsWith(t):im(this,function(n,r){return n.indexOf(r[0])===0},[t],Df)},e.prototype.equalsIgnoreCase=function(t){return im(this,function(n,r){return n===r[0]},[t],"")},e.prototype.anyOfIgnoreCase=function(){var t=Hs.apply(Ff,arguments);return t.length===0?yf(this):im(this,function(n,r){return r.indexOf(n)!==-1},t,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var t=Hs.apply(Ff,arguments);return t.length===0?yf(this):im(this,function(n,r){return r.some(function(o){return n.indexOf(o)===0})},t,Df)},e.prototype.anyOf=function(){var t=this,n=Hs.apply(Ff,arguments),r=this._cmp;try{n.sort(r)}catch{return pi(this,_s)}if(n.length===0)return yf(this);var o=new this.Collection(this,function(){return Cl(n[0],n[n.length-1])});o._ondirectionchange=function(a){r=a==="next"?t._ascending:t._descending,n.sort(r)};var i=0;return o._addAlgorithm(function(a,s,c){for(var l=a.key;r(l,n[i])>0;)if(++i,i===n.length)return s(c),!1;return r(l,n[i])===0?!0:(s(function(){a.continue(n[i])}),!1)}),o},e.prototype.notEqual=function(t){return this.inAnyRange([[o3,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var t=Hs.apply(Ff,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return pi(this,_s)}var n=t.reduce(function(r,o){return r?r.concat([[r[r.length-1][1],o]]):[[o3,o]]},null);return n.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(t,n){var r=this,o=this._cmp,i=this._ascending,a=this._descending,s=this._min,c=this._max;if(t.length===0)return yf(this);if(!t.every(function(b){return b[0]!==void 0&&b[1]!==void 0&&i(b[0],b[1])<=0}))return pi(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",zt.InvalidArgument);var l=!n||n.includeLowers!==!1,u=n&&n.includeUppers===!0;function f(b,L){for(var T=0,M=b.length;T0){w[0]=s(w[0],L[0]),w[1]=c(w[1],L[1]);break}}return T===M&&b.push(L),b}var d=i;function h(b,L){return d(b[0],L[0])}var p;try{p=t.reduce(f,[]),p.sort(h)}catch{return pi(this,_s)}var m=0,A=u?function(b){return i(b,p[m][1])>0}:function(b){return i(b,p[m][1])>=0},x=l?function(b){return a(b,p[m][0])>0}:function(b){return a(b,p[m][0])>=0};function y(b){return!A(b)&&!x(b)}var R=A,g=new this.Collection(this,function(){return Cl(p[0][0],p[p.length-1][1],!l,!u)});return g._ondirectionchange=function(b){b==="next"?(R=A,d=i):(R=x,d=a),p.sort(h)},g._addAlgorithm(function(b,L,T){for(var M=b.key;R(M);)if(++m,m===p.length)return L(T),!1;return y(M)?!0:(r._cmp(M,p[m][1])===0||r._cmp(M,p[m][0])===0||L(function(){d===i?b.continue(p[m][0]):b.continue(p[m][1])}),!1)}),g},e.prototype.startsWithAnyOf=function(){var t=Hs.apply(Ff,arguments);return t.every(function(n){return typeof n=="string"})?t.length===0?yf(this):this.inAnyRange(t.map(function(n){return[n,n+Df]})):pi(this,"startsWithAnyOf() only works with strings")},e}();function CJ(e){return Tp(_P.prototype,function(n,r,o){this.db=e,this._ctx={table:n,index:r===":id"?null:r,or:o};var i=e._deps.indexedDB;if(!i)throw new zt.MissingAPI("indexedDB API missing");this._cmp=this._ascending=i.cmp.bind(i),this._descending=function(a,s){return i.cmp(s,a)},this._max=function(a,s){return i.cmp(a,s)>0?a:s},this._min=function(a,s){return i.cmp(a,s)<0?a:s},this._IDBKeyRange=e._deps.IDBKeyRange})}function EP(e){return e.length===1?e[0]:e}function xx(e){try{return e.only([[]]),[[]]}catch{return Df}}function $a(e){return dr(function(t){return jh(t),e(t.target.error),!1})}function jh(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var IJ=function(){function e(){}return e.prototype._lock=function(){return _0(!Xt.global),++this._reculock,this._reculock===1&&!Xt.global&&(Xt.lockOwnerFor=this),this},e.prototype._unlock=function(){if(_0(!Xt.global),--this._reculock===0)for(Xt.global||(Xt.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{Op(t[1],t[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&Xt.lockOwnerFor!==this},e.prototype.create=function(t){var n=this;if(!this.mode)return this;var r=this.db.idbdb,o=this.db._state.dbOpenError;if(_0(!this.idbtrans),!t&&!r)switch(o&&o.name){case"DatabaseClosedError":throw new zt.DatabaseClosed(o);case"MissingAPIError":throw new zt.MissingAPI(o.message,o);default:throw new zt.OpenFailed(o)}if(!this.active)throw new zt.TransactionInactive;return _0(this._completion._state===null),t=this.idbtrans=t||r.transaction(EP(this.storeNames),this.mode),t.onerror=dr(function(i){jh(i),n._reject(t.error)}),t.onabort=dr(function(i){jh(i),n.active&&n._reject(new zt.Abort(t.error)),n.active=!1,n.on("abort").fire(i)}),t.oncomplete=dr(function(){n.active=!1,n._resolve()}),this},e.prototype._promise=function(t,n,r){var o=this;if(t==="readwrite"&&this.mode!=="readwrite")return go(new zt.ReadOnly("Transaction is readonly"));if(!this.active)return go(new zt.TransactionInactive);if(this._locked())return new Mt(function(a,s){o._blockedFuncs.push([function(){o._promise(t,n,r).then(a,s)},Xt])});if(r)return Nu(function(){var a=new Mt(function(s,c){o._lock();var l=n(s,c,o);l&&l.then&&l.then(s,c)});return a.finally(function(){return o._unlock()}),a._lib=!0,a});var i=new Mt(function(a,s){var c=n(a,s,o);c&&c.then&&c.then(a,s)});return i._lib=!0,i},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(t){var n=this._root(),r=Mt.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return r});else{n._waitingFor=r,n._waitingQueue=[];var o=n.idbtrans.objectStore(n.storeNames[0]);(function a(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(o.get(-1/0).onsuccess=a)})()}var i=n._waitingFor;return new Mt(function(a,s){r.then(function(c){return n._waitingQueue.push(dr(a.bind(null,c)))},function(c){return n._waitingQueue.push(dr(s.bind(null,c)))}).finally(function(){n._waitingFor===i&&(n._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new zt.Abort),this.active=!1},e.prototype.table=function(t){var n=this._memoizedTables||(this._memoizedTables={});if(ea(n,t))return n[t];var r=this.schema[t];if(!r)throw new zt.NotFound("Table "+t+" not part of transaction");var o=new this.db.Table(t,r,this);return o.core=this.db.core.table(t),n[t]=o,o},e}();function FJ(e){return Tp(IJ.prototype,function(n,r,o,i){var a=this;this.db=e,this.mode=n,this.storeNames=r,this.schema=o,this.idbtrans=null,this.on=Qg(this,"complete","error","abort"),this.parent=i||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new Mt(function(s,c){a._resolve=s,a._reject=c}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(s){var c=a.active;return a.active=!1,a.on.error.fire(s),a.parent?a.parent._reject(s):c&&a.idbtrans&&a.idbtrans.abort(),go(s)})})}function i3(e,t,n,r,o,i,a){return{name:e,keyPath:t,unique:n,multi:r,auto:o,compound:i,src:(n&&!a?"&":"")+(r?"*":"")+(o?"++":"")+XP(t)}}function XP(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function WP(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:uP(n,function(r){return[r.name,r]})}}function a3(e){return e==null?function(){}:typeof e=="string"?_J(e):function(t){return us(t,e)}}function _J(e){var t=e.split(".");return t.length===1?function(n){return n[e]}:function(n){return us(n,e)}}function VP(e,t){return t.type==="delete"?t.keys:t.keys||t.values.map(e.extractKey)}function EJ(e,t,n){return t.type==="add"?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function UM(e){return[].slice.call(e)}var XJ=0;function mh(e){return e==null?":id":typeof e=="string"?e:"["+e.join("+")+"]"}function WJ(e,t,n,r){var o=t.cmp.bind(t);function i(h,p){var m=UM(h.objectStoreNames);return{schema:{name:h.name,tables:m.map(function(A){return p.objectStore(A)}).map(function(A){var x=A.keyPath,y=A.autoIncrement,R=Io(x),g=x==null,b={},L={name:A.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:g,compound:R,keyPath:x,autoIncrement:y,unique:!0,extractKey:a3(x)},indexes:UM(A.indexNames).map(function(T){return A.index(T)}).map(function(T){var M=T.name,w=T.unique,k=T.multiEntry,_=T.keyPath,P=Io(_),E={name:M,compound:P,keyPath:_,unique:w,multiEntry:k,extractKey:a3(_)};return b[mh(_)]=E,E}),getIndexByKeyPath:function(T){return b[mh(T)]}};return b[":id"]=L.primaryKey,x!=null&&(b[mh(x)]=L.primaryKey),L})},hasGetAll:m.length>0&&"getAll"in p.objectStore(m[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function a(h){if(h.type===3)return null;if(h.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var p=h.lower,m=h.upper,A=h.lowerOpen,x=h.upperOpen,y=p===void 0?m===void 0?null:n.upperBound(m,!!x):m===void 0?n.lowerBound(p,!!A):n.bound(p,m,!!A,!!x);return y}function s(h){var p=h.name;function m(y){var R=y.trans,g=y.type,b=y.keys,L=y.values,T=y.range,M=y.wantResults;return new Promise(function(w,k){w=dr(w);var _=R.objectStore(p),P=_.keyPath==null,E=g==="put"||g==="add";if(!E&&g!=="delete"&&g!=="deleteRange")throw new Error("Invalid operation type: "+g);var I=(b||L||{length:1}).length;if(b&&L&&b.length!==L.length)throw new Error("Given keys array must have same length as given values array.");if(I===0)return w({numFailures:0,failures:{},results:[],lastResult:void 0});var F=M&&K4(b||VP(h.primaryKey,{type:g,keys:b,values:L})),N,V=[],Z=0,J=function(te){++Z,jh(te),F&&(F[te.target._reqno]=void 0),V[te.target._reqno]=te.target.error},se=function(te){var z=te.target;F[z._reqno]=z.result};if(g==="deleteRange"){if(T.type===4)return w({numFailures:Z,failures:V,results:F,lastResult:void 0});T.type===3?N=_.clear():N=_.delete(a(T))}else{var D=E?P?[L,b]:[L,null]:[b,null],Q=D[0],B=D[1];if(E)for(var H=0;H=t});c.forEach(function(u){o.push(function(){var f=a,d=u._cfg.dbschema;c3(e,f,r),c3(e,d,r),a=e._dbSchema=d;var h=UP(f,d);h.add.forEach(function(R){Mx(r,R[0],R[1].primKey,R[1].indexes)}),h.change.forEach(function(R){if(R.recreate)throw new zt.Upgrade("Not yet support for changing primary key");var g=r.objectStore(R.name);R.add.forEach(function(b){return l3(g,b)}),R.change.forEach(function(b){g.deleteIndex(b.name),l3(g,b)}),R.del.forEach(function(b){return g.deleteIndex(b)})});var p=u._cfg.contentUpgrade;if(p&&u._cfg.version>t){Sx(e,r),n._memoizedTables={},s=!0;var m=dP(d);h.del.forEach(function(R){m[R]=f[R]}),s3(e,[e.Transaction.prototype]),Xv(e,[e.Transaction.prototype],oo(m),m),n.schema=m;var A=mP(p);A&&Lp();var x,y=Mt.follow(function(){if(x=p(n),x&&A){var R=Pu.bind(null,null);x.then(R,R)}});return x&&typeof x.then=="function"?Mt.resolve(x):y.then(function(){return x})}}),o.push(function(f){if(!s||!yJ){var d=u._cfg.dbschema;DJ(d,f)}s3(e,[e.Transaction.prototype]),Xv(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})});function l(){return o.length?Mt.resolve(o.shift()(n.idbtrans)).then(l):Mt.resolve()}return l().then(function(){BJ(a,r)})}function UP(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var o=e[r],i=t[r];if(!o)n.add.push([r,i]);else{var a={name:r,def:i,recreate:!1,del:[],add:[],change:[]};if(""+(o.primKey.keyPath||"")!=""+(i.primKey.keyPath||"")||o.primKey.auto!==i.primKey.auto&&!bx)a.recreate=!0,n.change.push(a);else{var s=o.idxByName,c=i.idxByName,l=void 0;for(l in s)c[l]||a.del.push(l);for(l in c){var u=s[l],f=c[l];u?u.src!==f.src&&a.change.push(f):a.add.push(f)}(a.del.length>0||a.add.length>0||a.change.length>0)&&n.change.push(a)}}}return n}function Mx(e,t,n,r){var o=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(i){return l3(o,i)}),o}function BJ(e,t){oo(e).forEach(function(n){t.db.objectStoreNames.contains(n)||Mx(t,n,e[n].primKey,e[n].indexes)})}function DJ(e,t){for(var n=0;nMath.pow(2,62)?0:l.oldVersion;e.idbdb=c.result,QJ(e,f/10,o,a)}},a),c.onsuccess=dr(function(){o=null;var l=e.idbdb=c.result,u=Ug(l.objectStoreNames);if(u.length>0)try{var f=l.transaction(EP(u),"readonly");t.autoSchema?KJ(e,l,f):(c3(e,e._dbSchema,f),HJ(e,f)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),Sx(e,f)}catch{}ph.push(e),l.onversionchange=dr(function(d){t.vcFired=!0,e.on("versionchange").fire(d)}),qh.add(s),i()},a)})]).then(function(){return t.onReadyBeingFired=[],Mt.resolve(u3(e.on.ready.fire)).then(function i(){if(t.onReadyBeingFired.length>0){var a=t.onReadyBeingFired.reduce(yP,Jn);return t.onReadyBeingFired=[],Mt.resolve(u3(a)).then(i)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(i){try{o&&o.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=i,go(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function f3(e){var t=function(a){return e.next(a)},n=function(a){return e.throw(a)},r=i(t),o=i(n);function i(a){return function(s){var c=a(s),l=c.value;return c.done?l:!l||typeof l.then!="function"?Io(l)?Promise.all(l).then(r,o):r(l):l.then(r,o)}}return i(t)()}function ez(e,t,n){var r=arguments.length;if(r<2)throw new zt.InvalidArgument("Too few arguments");for(var o=new Array(r-1);--r;)o[r-1]=arguments[r];n=o.pop();var i=hP(o);return[e,i,n]}function tz(e,t,n,r,o){return Mt.resolve().then(function(){var i=Xt.transless||Xt,a=e._createTransaction(t,n,e._dbSchema,r),s={trans:a,transless:i};r?a.idbtrans=r.idbtrans:a.create();var c=mP(o);c&&Lp();var l,u=Mt.follow(function(){if(l=o.call(a,a),l)if(c){var f=Pu.bind(null,null);l.then(f,f)}else typeof l.next=="function"&&typeof l.throw=="function"&&(l=f3(l))},s);return(l&&typeof l.then=="function"?Mt.resolve(l).then(function(f){return a.active?f:go(new zt.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):u.then(function(){return l})).then(function(f){return r&&a._resolve(),a._completion.then(function(){return f})}).catch(function(f){return a._reject(f),go(f)})})}function m0(e,t,n){for(var r=Io(e)?e.slice():[e],o=0;o0,L=Hn(Hn({},x),{isVirtual:b,isPrimaryKey:!b&&x.isPrimaryKey,keyTail:A,keyLength:g,extractKey:a3(m),unique:!b&&x.unique});if(R.push(L),L.isPrimaryKey||i.push(L),g>1){var T=g===2?m[0]:m.slice(0,g-1);a(T,A+1,x)}return R.sort(function(M,w){return M.keyTail-w.keyTail}),L}var s=a(r.primaryKey.keyPath,0,r.primaryKey);o[":id"]=[s];for(var c=0,l=r.indexes;c0?Promise.reject(R.failures[0]):y.length0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()}),this.on("blocked",function(s){!s.newVersion||s.newVersion=0&&ph.splice(t,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,n.dbOpenError=new zt.DatabaseClosed,n.isBeingOpened&&n.cancelOpen(n.dbOpenError),n.dbReadyPromise=new Mt(function(r){n.dbReadyResolve=r}),n.openCanceller=new Mt(function(r,o){n.cancelOpen=o})},e.prototype.delete=function(){var t=this,n=arguments.length>0,r=this._state;return new Mt(function(o,i){var a=function(){t.close();var s=t._deps.indexedDB.deleteDatabase(t.name);s.onsuccess=dr(function(){qh.remove(t.name),o()}),s.onerror=$a(i),s.onblocked=t._fireOnBlocked};if(n)throw new zt.InvalidArgument("Arguments not allowed in db.delete()");r.isBeingOpened?r.dbReadyPromise.then(a):a()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return this.idbdb!==null},e.prototype.hasBeenClosed=function(){var t=this._state.dbOpenError;return t&&t.name==="DatabaseClosed"},e.prototype.hasFailed=function(){return this._state.dbOpenError!==null},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var t=this;return oo(this._allTables).map(function(n){return t._allTables[n]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var t=ez.apply(this,arguments);return this._transaction.apply(this,t)},e.prototype._transaction=function(t,n,r){var o=this,i=Xt.trans;(!i||i.db!==this||t.indexOf("!")!==-1)&&(i=null);var a=t.indexOf("?")!==-1;t=t.replace("!","").replace("?","");var s,c;try{if(c=n.map(function(u){var f=u instanceof o.Table?u.name:u;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t===cR)s=cR;else if(t=="rw"||t==uR)s=uR;else throw new zt.InvalidArgument("Invalid transaction mode: "+t);if(i){if(i.mode===cR&&s===uR)if(a)i=null;else throw new zt.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i&&c.forEach(function(u){if(i&&i.storeNames.indexOf(u)===-1)if(a)i=null;else throw new zt.SubTransaction("Table "+u+" not included in parent transaction.")}),a&&i&&!i.active&&(i=null)}}catch(u){return i?i._promise(null,function(f,d){d(u)}):go(u)}var l=tz.bind(null,this,s,c,i,r);return i?i._promise(s,l,"lock"):Xt.trans?Op(Xt.transless,function(){return o._whenReady(l)}):this._whenReady(l)},e.prototype.table=function(t){if(!ea(this._allTables,t))throw new zt.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},e}(),Ql=Iu;Gh(Ql,Hn(Hn({},Yg),{delete:function(e){var t=new Ql(e);return t.delete()},exists:function(e){return new Ql(e,{addons:[]}).open().then(function(t){return t.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return qh?qh.getDatabaseNames().then(e):Mt.resolve([])},defineClass:function(){function e(t){qi(this,t)}return e},ignoreTransaction:function(e){return Xt.trans?Op(Xt.transless,e):e()},vip:u3,async:function(e){return function(){try{var t=f3(e.apply(this,arguments));return!t||typeof t.then!="function"?Mt.resolve(t):t}catch(n){return go(n)}}},spawn:function(e,t,n){try{var r=f3(e.apply(n,t||[]));return!r||typeof r.then!="function"?Mt.resolve(r):r}catch(o){return go(o)}},currentTransaction:{get:function(){return Xt.trans||null}},waitFor:function(e,t){var n=Mt.resolve(typeof e=="function"?Ql.ignoreTransaction(e):e).timeout(t||6e4);return Xt.trans?Xt.trans.waitFor(n):n},Promise:Mt,debug:{get:function(){return xs},set:function(e){vP(e,e==="dexie"?function(){return!0}:CP)}},derive:Yd,extend:qi,props:Gh,override:lP,Events:Qg,getByKeyPath:us,setByKeyPath:Pa,delByKeyPath:fP,shallowClone:dP,deepClone:Jh,getObjectDiff:mx,asap:cP,minKey:o3,addons:[],connections:ph,errnames:tJ,dependencies:function(){try{return{indexedDB:jn.indexedDB||jn.mozIndexedDB||jn.webkitIndexedDB||jn.msIndexedDB,IDBKeyRange:jn.IDBKeyRange||jn.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}}(),semVer:XM,version:XM.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,n*2)}),default:Ql,Dexie:Ql}));Ql.maxKey=xx(Ql.dependencies.IDBKeyRange);jJ(Iu.dependencies.indexedDB);Mt.rejectionMapper=rJ;vP(xs,CP);const Wv="PPTIST_DISCARDED_DB",d3="PPTist",iz=async()=>{const e=new Date().getTime(),t=localStorage.getItem(Wv),n=t?JSON.parse(t):[],o=(await Iu.getDatabaseNames()).filter(i=>{if(i.indexOf(d3)===-1)return!1;const[a,s,c]=i.split("_");return!!(a!==d3||!s||!c||n.includes(s)||e-+c>=1e3*60*60*12)});for(const i of o)Iu.delete(i);localStorage.removeItem(Wv)};class az extends Iu{constructor(){super(`${d3}_${iP}_${new Date().getTime()}`);UA(this,"snapshots");UA(this,"writingBoardImgs");this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}}const ba=new az,Zg=yp("snapshot",{state:()=>({snapshotCursor:-1,snapshotLength:0}),getters:{canUndo(e){return e.snapshotCursor>0},canRedo(e){return e.snapshotCursor=0&&this.snapshotCursor20&&(n.push(t[0]),o--),o>=2&&ba.snapshots.update(t[o-2],{index:e.slideIndex}),await ba.snapshots.bulkDelete(n),this.setSnapshotCursor(o-1),this.setSnapshotLength(o)},async unDo(){if(this.snapshotCursor<=0)return;const e=st(),t=ft(),n=this.snapshotCursor-1,o=(await ba.snapshots.orderBy("id").toArray())[n],{index:i,slides:a}=o,s=i>a.length-1?a.length-1:i;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])},async reDo(){if(this.snapshotCursor>=this.snapshotLength-1)return;const e=st(),t=ft(),n=this.snapshotCursor+1,o=(await ba.snapshots.orderBy("id").toArray())[n],{index:i,slides:a}=o,s=i>a.length-1?a.length-1:i;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])}}}),Ss=yp("keyboard",{state:()=>({ctrlKeyState:!1,shiftKeyState:!1,spaceKeyState:!1}),getters:{ctrlOrShiftKeyActive(e){return e.ctrlKeyState||e.shiftKeyState}},actions:{setCtrlKeyState(e){this.ctrlKeyState=e},setShiftKeyState(e){this.shiftKeyState=e},setSpaceKeyState(e){this.spaceKeyState=e}}}),YP=yp("screen",{state:()=>({screening:!1}),actions:{setScreening(e){this.screening=e}}}),X0=(e,t)=>Fn.padStart(""+e,t,"0"),sz=()=>!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|Mobile|BlackBerry|Symbian|Windows Phone)/i);var hr=(e=>(e.UP="up",e.DOWN="down",e.TOP="top",e.BOTTOM="bottom",e))(hr||{}),on=(e=>(e.TOP="top",e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.CENTER="center",e))(on||{}),W0=(e=>(e.T="top",e.B="bottom",e.L="left",e.R="right",e))(W0||{}),mt=(e=>(e.LEFT_TOP="left-top",e.TOP="top",e.RIGHT_TOP="right-top",e.LEFT="left",e.RIGHT="right",e.LEFT_BOTTOM="left-bottom",e.BOTTOM="bottom",e.RIGHT_BOTTOM="right-bottom",e))(mt||{}),Go=(e=>(e.START="start",e.END="end",e.C="ctrl",e.C1="ctrl1",e.C2="ctrl2",e))(Go||{}),yt=(e=>(e.C="C",e.X="X",e.Z="Z",e.Y="Y",e.A="A",e.G="G",e.L="L",e.F="F",e.D="D",e.B="B",e.P="P",e.MINUS="-",e.EQUAL="=",e.DIGIT_0="0",e.DELETE="DELETE",e.UP="ARROWUP",e.DOWN="ARROWDOWN",e.LEFT="ARROWLEFT",e.RIGHT="ARROWRIGHT",e.ENTER="ENTER",e.SPACE=" ",e.TAB="TAB",e.BACKSPACE="BACKSPACE",e.ESC="ESCAPE",e.PAGEUP="PAGEUP",e.PAGEDOWN="PAGEDOWN",e.F5="F5",e))(yt||{});const lz=[{type:"通用",children:[{label:"剪切",value:"Ctrl + X"},{label:"复制",value:"Ctrl + C"},{label:"粘贴",value:"Ctrl + V"},{label:"粘贴为纯文本",value:"Ctrl + Shift + V"},{label:"快速复制粘贴",value:"Ctrl + D"},{label:"全选",value:"Ctrl + A"},{label:"撤销",value:"Ctrl + Z"},{label:"恢复",value:"Ctrl + Y"},{label:"删除",value:"Delete / Backspace"},{label:"多选",value:"按住 Ctrl 或 Shift"},{label:"打开搜索替换",value:"Ctrl + F"},{label:"打印",value:"Ctrl + P"},{label:"关闭弹窗",value:"ESC"}]},{type:"幻灯片放映",children:[{label:"从头开始放映幻灯片",value:"F5"},{label:"从当前开始放映幻灯片",value:"Shift + F5"},{label:"切换上一页",value:"↑ / ← / PgUp"},{label:"切换下一页",value:"↓ / → / PgDown"},{label:"切换下一页",value:"Enter / Space"},{label:"退出放映",value:"ESC"}]},{type:"幻灯片编辑",children:[{label:"新建幻灯片",value:"Enter"},{label:"移动画布",value:"Space + 鼠标拖拽"},{label:"缩放画布",value:"Ctrl + 鼠标滚轮"},{label:"放大画布",value:"Ctrl + ="},{label:"缩小画布",value:"Ctrl + -"},{label:"使画布适应当前屏幕",value:"Ctrl + 0"},{label:"上一页(未选中元素)",value:"↑ / ←"},{label:"下一页(未选中元素)",value:"↓ / →"},{label:"上一页",value:"鼠标上滚 / PgUp"},{label:"下一页",value:"鼠标下滚 / PgDown"}]},{type:"元素操作",children:[{label:"移动",value:"↑ / ← / ↓ / →"},{label:"锁定",value:"Ctrl + L"},{label:"组合",value:"Ctrl + G"},{label:"取消组合",value:"Ctrl + Shift + G"},{label:"置顶层",value:"Alt + F"},{label:"置底层",value:"Alt + B"},{label:"锁定宽高比例",value:"按住 Ctrl 或 Shift"},{label:"创建水平 / 垂直线条",value:"按住 Ctrl 或 Shift"},{label:"切换焦点元素",value:"Tab"},{label:"确认图片裁剪",value:"Enter"},{label:"完成自定义形状绘制",value:"Enter"}]},{type:"表格编辑",children:[{label:"聚焦到下一个单元格",value:"Tab"},{label:"在上方插入一行",value:"Ctrl + ↑"},{label:"在下方插入一行",value:"Ctrl + ↓"},{label:"在左侧插入一列",value:"Ctrl + ←"},{label:"在右侧插入一列",value:"Ctrl + →"}]},{type:"图表数据编辑",children:[{label:"聚焦到下一行",value:"Enter"}]},{type:"文本编辑",children:[{label:"加粗",value:"Ctrl + B"},{label:"斜体",value:"Ctrl + I"},{label:"下划线",value:"Ctrl + U"},{label:"行内代码",value:"Ctrl + E"},{label:"上角标",value:"Ctrl + ;"},{label:"下角标",value:"Ctrl + '"},{label:"选中段落",value:"ESC"}]}];var QP={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha - */(function(e,t){(function(r,o){e.exports=o()})(Nt,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return D}});var c=s(279),l=s.n(c),u=s(370),f=s.n(u),d=s(817),h=s.n(d);function p(Q){try{return document.execCommand(Q)}catch{return!1}}var m=function(B){var H=h()(B);return p("cut"),H},A=m;function x(Q){var B=document.documentElement.getAttribute("dir")==="rtl",H=document.createElement("textarea");H.style.fontSize="12pt",H.style.border="0",H.style.padding="0",H.style.margin="0",H.style.position="absolute",H.style[B?"right":"left"]="-9999px";var U=window.pageYOffset||document.documentElement.scrollTop;return H.style.top="".concat(U,"px"),H.setAttribute("readonly",""),H.value=Q,H}var y=function(B,H){var U=x(B);H.container.appendChild(U);var te=h()(U);return p("copy"),U.remove(),te},R=function(B){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},U="";return typeof B=="string"?U=y(B,H):B instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(B==null?void 0:B.type)?U=y(B.value,H):(U=h()(B),p("copy")),U},g=R;function b(Q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(H){return typeof H}:b=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},b(Q)}var w=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=B.action,U=H===void 0?"copy":H,te=B.container,z=B.target,oe=B.text;if(U!=="copy"&&U!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(z!==void 0)if(z&&b(z)==="object"&&z.nodeType===1){if(U==="copy"&&z.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(U==="cut"&&(z.hasAttribute("readonly")||z.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(oe)return g(oe,{container:te});if(z)return U==="cut"?A(z):g(z,{container:te})},T=w;function M(Q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(H){return typeof H}:M=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},M(Q)}function O(Q,B){if(!(Q instanceof B))throw new TypeError("Cannot call a class as a function")}function k(Q,B){for(var H=0;H"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Z(Q){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},Z(Q)}function J(Q,B){var H="data-clipboard-".concat(Q);if(B.hasAttribute(H))return B.getAttribute(H)}var le=function(Q){N(H,Q);var B=C(H);function H(U,te){var z;return O(this,H),z=B.call(this),z.resolveOptions(te),z.listenClick(U),z}return F(H,[{key:"resolveOptions",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof te.action=="function"?te.action:this.defaultAction,this.target=typeof te.target=="function"?te.target:this.defaultTarget,this.text=typeof te.text=="function"?te.text:this.defaultText,this.container=M(te.container)==="object"?te.container:document.body}},{key:"listenClick",value:function(te){var z=this;this.listener=f()(te,"click",function(oe){return z.onClick(oe)})}},{key:"onClick",value:function(te){var z=te.delegateTarget||te.currentTarget,oe=this.action(z)||"copy",pe=T({action:oe,container:this.container,target:this.target(z),text:this.text(z)});this.emit(pe?"success":"error",{action:oe,text:pe,trigger:z,clearSelection:function(){z&&z.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(te){return J("action",te)}},{key:"defaultTarget",value:function(te){var z=J("target",te);if(z)return document.querySelector(z)}},{key:"defaultText",value:function(te){return J("text",te)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(te){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return g(te,z)}},{key:"cut",value:function(te){return A(te)}},{key:"isSupported",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],z=typeof te=="string"?[te]:te,oe=!!document.queryCommandSupported;return z.forEach(function(pe){oe=oe&&!!document.queryCommandSupported(pe)}),oe}}]),H}(l()),D=le},828:function(i){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function c(l,u){for(;l&&l.nodeType!==a;){if(typeof l.matches=="function"&&l.matches(u))return l;l=l.parentNode}}i.exports=c},438:function(i,a,s){var c=s(828);function l(d,h,p,m,A){var x=f.apply(this,arguments);return d.addEventListener(p,x,A),{destroy:function(){d.removeEventListener(p,x,A)}}}function u(d,h,p,m,A){return typeof d.addEventListener=="function"?l.apply(null,arguments):typeof p=="function"?l.bind(null,document).apply(null,arguments):(typeof d=="string"&&(d=document.querySelectorAll(d)),Array.prototype.map.call(d,function(x){return l(x,h,p,m,A)}))}function f(d,h,p,m){return function(A){A.delegateTarget=c(A.target,h),A.delegateTarget&&m.call(d,A)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var c=Object.prototype.toString.call(s);return s!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var c=Object.prototype.toString.call(s);return c==="[object Function]"}},370:function(i,a,s){var c=s(879),l=s(438);function u(p,m,A){if(!p&&!m&&!A)throw new Error("Missing required arguments");if(!c.string(m))throw new TypeError("Second argument must be a String");if(!c.fn(A))throw new TypeError("Third argument must be a Function");if(c.node(p))return f(p,m,A);if(c.nodeList(p))return d(p,m,A);if(c.string(p))return h(p,m,A);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(p,m,A){return p.addEventListener(m,A),{destroy:function(){p.removeEventListener(m,A)}}}function d(p,m,A){return Array.prototype.forEach.call(p,function(x){x.addEventListener(m,A)}),{destroy:function(){Array.prototype.forEach.call(p,function(x){x.removeEventListener(m,A)})}}}function h(p,m,A){return l(document.body,p,m,A)}i.exports=u},817:function(i){function a(s){var c;if(s.nodeName==="SELECT")s.focus(),c=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var l=s.hasAttribute("readonly");l||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),l||s.removeAttribute("readonly"),c=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),f=document.createRange();f.selectNodeContents(s),u.removeAllRanges(),u.addRange(f),c=u.toString()}return c}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,c,l){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:c,ctx:l}),this},once:function(s,c,l){var u=this;function f(){u.off(s,f),c.apply(l,arguments)}return f._=c,this.on(s,f,l)},emit:function(s){var c=[].slice.call(arguments,1),l=((this.e||(this.e={}))[s]||[]).slice(),u=0,f=l.length;for(u;u>>2]>>>24-T%4*8&255;R[b+T>>>2]|=M<<24-(b+T)%4*8}else for(var O=0;O>>2]=g[O>>>2];return this.sigBytes+=w,this},clamp:function(){var y=this.words,R=this.sigBytes;y[R>>>2]&=4294967295<<32-R%4*8,y.length=r.ceil(R/4)},clone:function(){var y=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var R=[],g=0;g>>2]>>>24-w%4*8&255;b.push((T>>>4).toString(16)),b.push((T&15).toString(16))}return b.join("")},parse:function(y){for(var R=y.length,g=[],b=0;b>>3]|=parseInt(y.substr(b,2),16)<<24-b%8*4;return new f.init(g,R/2)}},p=d.Latin1={stringify:function(y){for(var R=y.words,g=y.sigBytes,b=[],w=0;w>>2]>>>24-w%4*8&255;b.push(String.fromCharCode(T))}return b.join("")},parse:function(y){for(var R=y.length,g=[],b=0;b>>2]|=(y.charCodeAt(b)&255)<<24-b%4*8;return new f.init(g,R)}},m=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},A=l.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=m.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var R,g=this._data,b=g.words,w=g.sigBytes,T=this.blockSize,M=T*4,O=w/M;y?O=r.ceil(O):O=r.max((O|0)-this._minBufferSize,0);var k=O*T,F=r.min(k*4,w);if(k){for(var N=0;N>>2]|=c[f]<<24-f%4*8;a.call(this,u,l)}else a.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(pR)),pR.exports}var mR={exports:{}},ZM;function hz(){return ZM||(ZM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Utf16=a.Utf16BE={stringify:function(c){for(var l=c.words,u=c.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(h))}return f.join("")},parse:function(c){for(var l=c.length,u=[],f=0;f>>1]|=c.charCodeAt(f)<<16-f%2*16;return i.create(u,l*2)}},a.Utf16LE={stringify:function(c){for(var l=c.words,u=c.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(h))}return f.join("")},parse:function(c){for(var l=c.length,u=[],f=0;f>>1]|=s(c.charCodeAt(f)<<16-f%2*16);return i.create(u,l*2)}};function s(c){return c<<8&4278255360|c>>>8&16711935}}(),n.enc.Utf16})}(mR)),mR.exports}var vR={exports:{}},BM;function Du(){return BM||(BM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Base64={stringify:function(c){var l=c.words,u=c.sigBytes,f=this._map;c.clamp();for(var d=[],h=0;h>>2]>>>24-h%4*8&255,m=l[h+1>>>2]>>>24-(h+1)%4*8&255,A=l[h+2>>>2]>>>24-(h+2)%4*8&255,x=p<<16|m<<8|A,y=0;y<4&&h+y*.75>>6*(3-y)&63));var R=f.charAt(64);if(R)for(;d.length%4;)d.push(R);return d.join("")},parse:function(c){var l=c.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-h%4*2,A=p|m;f[d>>>2]|=A<<24-d%4*8,d++}return i.create(f,d)}}(),n.enc.Base64})}(vR)),vR.exports}var gR={exports:{}},DM;function pz(){return DM||(DM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Base64url={stringify:function(c,l){l===void 0&&(l=!0);var u=c.words,f=c.sigBytes,d=l?this._safe_map:this._map;c.clamp();for(var h=[],p=0;p>>2]>>>24-p%4*8&255,A=u[p+1>>>2]>>>24-(p+1)%4*8&255,x=u[p+2>>>2]>>>24-(p+2)%4*8&255,y=m<<16|A<<8|x,R=0;R<4&&p+R*.75>>6*(3-R)&63));var g=d.charAt(64);if(g)for(;h.length%4;)h.push(g);return h.join("")},parse:function(c,l){l===void 0&&(l=!0);var u=c.length,f=l?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h>>6-h%4*2,A=p|m;f[d>>>2]|=A<<24-d%4*8,d++}return i.create(f,d)}}(),n.enc.Base64url})}(gR)),gR.exports}var AR={exports:{}},KM;function Ku(){return KM||(KM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.algo,l=[];(function(){for(var m=0;m<64;m++)l[m]=r.abs(r.sin(m+1))*4294967296|0})();var u=c.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,A){for(var x=0;x<16;x++){var y=A+x,R=m[y];m[y]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}var g=this._hash.words,b=m[A+0],w=m[A+1],T=m[A+2],M=m[A+3],O=m[A+4],k=m[A+5],F=m[A+6],N=m[A+7],E=m[A+8],C=m[A+9],_=m[A+10],I=m[A+11],W=m[A+12],Z=m[A+13],J=m[A+14],le=m[A+15],D=g[0],Q=g[1],B=g[2],H=g[3];D=f(D,Q,B,H,b,7,l[0]),H=f(H,D,Q,B,w,12,l[1]),B=f(B,H,D,Q,T,17,l[2]),Q=f(Q,B,H,D,M,22,l[3]),D=f(D,Q,B,H,O,7,l[4]),H=f(H,D,Q,B,k,12,l[5]),B=f(B,H,D,Q,F,17,l[6]),Q=f(Q,B,H,D,N,22,l[7]),D=f(D,Q,B,H,E,7,l[8]),H=f(H,D,Q,B,C,12,l[9]),B=f(B,H,D,Q,_,17,l[10]),Q=f(Q,B,H,D,I,22,l[11]),D=f(D,Q,B,H,W,7,l[12]),H=f(H,D,Q,B,Z,12,l[13]),B=f(B,H,D,Q,J,17,l[14]),Q=f(Q,B,H,D,le,22,l[15]),D=d(D,Q,B,H,w,5,l[16]),H=d(H,D,Q,B,F,9,l[17]),B=d(B,H,D,Q,I,14,l[18]),Q=d(Q,B,H,D,b,20,l[19]),D=d(D,Q,B,H,k,5,l[20]),H=d(H,D,Q,B,_,9,l[21]),B=d(B,H,D,Q,le,14,l[22]),Q=d(Q,B,H,D,O,20,l[23]),D=d(D,Q,B,H,C,5,l[24]),H=d(H,D,Q,B,J,9,l[25]),B=d(B,H,D,Q,M,14,l[26]),Q=d(Q,B,H,D,E,20,l[27]),D=d(D,Q,B,H,Z,5,l[28]),H=d(H,D,Q,B,T,9,l[29]),B=d(B,H,D,Q,N,14,l[30]),Q=d(Q,B,H,D,W,20,l[31]),D=h(D,Q,B,H,k,4,l[32]),H=h(H,D,Q,B,E,11,l[33]),B=h(B,H,D,Q,I,16,l[34]),Q=h(Q,B,H,D,J,23,l[35]),D=h(D,Q,B,H,w,4,l[36]),H=h(H,D,Q,B,O,11,l[37]),B=h(B,H,D,Q,N,16,l[38]),Q=h(Q,B,H,D,_,23,l[39]),D=h(D,Q,B,H,Z,4,l[40]),H=h(H,D,Q,B,b,11,l[41]),B=h(B,H,D,Q,M,16,l[42]),Q=h(Q,B,H,D,F,23,l[43]),D=h(D,Q,B,H,C,4,l[44]),H=h(H,D,Q,B,W,11,l[45]),B=h(B,H,D,Q,le,16,l[46]),Q=h(Q,B,H,D,T,23,l[47]),D=p(D,Q,B,H,b,6,l[48]),H=p(H,D,Q,B,N,10,l[49]),B=p(B,H,D,Q,J,15,l[50]),Q=p(Q,B,H,D,k,21,l[51]),D=p(D,Q,B,H,W,6,l[52]),H=p(H,D,Q,B,M,10,l[53]),B=p(B,H,D,Q,_,15,l[54]),Q=p(Q,B,H,D,w,21,l[55]),D=p(D,Q,B,H,E,6,l[56]),H=p(H,D,Q,B,le,10,l[57]),B=p(B,H,D,Q,F,15,l[58]),Q=p(Q,B,H,D,Z,21,l[59]),D=p(D,Q,B,H,O,6,l[60]),H=p(H,D,Q,B,I,10,l[61]),B=p(B,H,D,Q,T,15,l[62]),Q=p(Q,B,H,D,C,21,l[63]),g[0]=g[0]+D|0,g[1]=g[1]+Q|0,g[2]=g[2]+B|0,g[3]=g[3]+H|0},_doFinalize:function(){var m=this._data,A=m.words,x=this._nDataBytes*8,y=m.sigBytes*8;A[y>>>5]|=128<<24-y%32;var R=r.floor(x/4294967296),g=x;A[(y+64>>>9<<4)+15]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,A[(y+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,m.sigBytes=(A.length+1)*4,this._process();for(var b=this._hash,w=b.words,T=0;T<4;T++){var M=w[T];w[T]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return b},clone:function(){var m=s.clone.call(this);return m._hash=this._hash.clone(),m}});function f(m,A,x,y,R,g,b){var w=m+(A&x|~A&y)+R+b;return(w<>>32-g)+A}function d(m,A,x,y,R,g,b){var w=m+(A&y|x&~y)+R+b;return(w<>>32-g)+A}function h(m,A,x,y,R,g,b){var w=m+(A^x^y)+R+b;return(w<>>32-g)+A}function p(m,A,x,y,R,g,b){var w=m+(x^(A|~y))+R+b;return(w<>>32-g)+A}o.MD5=s._createHelper(u),o.HmacMD5=s._createHmacHelper(u)}(Math),n.MD5})}(AR)),AR.exports}var RR={exports:{}},HM;function ZP(){return HM||(HM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=o.Hasher,s=r.algo,c=[],l=s.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,h=d[0],p=d[1],m=d[2],A=d[3],x=d[4],y=0;y<80;y++){if(y<16)c[y]=u[f+y]|0;else{var R=c[y-3]^c[y-8]^c[y-14]^c[y-16];c[y]=R<<1|R>>>31}var g=(h<<5|h>>>27)+x+c[y];y<20?g+=(p&m|~p&A)+1518500249:y<40?g+=(p^m^A)+1859775393:y<60?g+=(p&m|p&A|m&A)-1894007588:g+=(p^m^A)-899497514,x=A,A=m,m=p<<30|p>>>2,p=h,h=g}d[0]=d[0]+h|0,d[1]=d[1]+p|0,d[2]=d[2]+m|0,d[3]=d[3]+A|0,d[4]=d[4]+x|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,h=u.sigBytes*8;return f[h>>>5]|=128<<24-h%32,f[(h+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(h+64>>>9<<4)+15]=d,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=a.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA1=a._createHelper(l),r.HmacSHA1=a._createHmacHelper(l)}(),n.SHA1})}(RR)),RR.exports}var yR={exports:{}},GM;function Mb(){return GM||(GM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.algo,l=[],u=[];(function(){function h(x){for(var y=r.sqrt(x),R=2;R<=y;R++)if(!(x%R))return!1;return!0}function p(x){return(x-(x|0))*4294967296|0}for(var m=2,A=0;A<64;)h(m)&&(A<8&&(l[A]=p(r.pow(m,1/2))),u[A]=p(r.pow(m,1/3)),A++),m++})();var f=[],d=c.SHA256=s.extend({_doReset:function(){this._hash=new a.init(l.slice(0))},_doProcessBlock:function(h,p){for(var m=this._hash.words,A=m[0],x=m[1],y=m[2],R=m[3],g=m[4],b=m[5],w=m[6],T=m[7],M=0;M<64;M++){if(M<16)f[M]=h[p+M]|0;else{var O=f[M-15],k=(O<<25|O>>>7)^(O<<14|O>>>18)^O>>>3,F=f[M-2],N=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;f[M]=k+f[M-7]+N+f[M-16]}var E=g&b^~g&w,C=A&x^A&y^x&y,_=(A<<30|A>>>2)^(A<<19|A>>>13)^(A<<10|A>>>22),I=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),W=T+I+E+u[M]+f[M],Z=_+C;T=w,w=b,b=g,g=R+W|0,R=y,y=x,x=A,A=W+Z|0}m[0]=m[0]+A|0,m[1]=m[1]+x|0,m[2]=m[2]+y|0,m[3]=m[3]+R|0,m[4]=m[4]+g|0,m[5]=m[5]+b|0,m[6]=m[6]+w|0,m[7]=m[7]+T|0},_doFinalize:function(){var h=this._data,p=h.words,m=this._nDataBytes*8,A=h.sigBytes*8;return p[A>>>5]|=128<<24-A%32,p[(A+64>>>9<<4)+14]=r.floor(m/4294967296),p[(A+64>>>9<<4)+15]=m,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});o.SHA256=s._createHelper(d),o.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(yR)),yR.exports}var xR={exports:{}},JM;function mz(){return JM||(JM=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Mb())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.algo,s=a.SHA256,c=a.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var l=s._doFinalize.call(this);return l.sigBytes-=4,l}});r.SHA224=s._createHelper(c),r.HmacSHA224=s._createHmacHelper(c)}(),n.SHA224})}(xR)),xR.exports}var bR={exports:{}},zM;function BP(){return zM||(zM=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Bg())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.Hasher,a=r.x64,s=a.Word,c=a.WordArray,l=r.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=u()})();var h=l.SHA512=i.extend({_doReset:function(){this._hash=new c.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,m){for(var A=this._hash.words,x=A[0],y=A[1],R=A[2],g=A[3],b=A[4],w=A[5],T=A[6],M=A[7],O=x.high,k=x.low,F=y.high,N=y.low,E=R.high,C=R.low,_=g.high,I=g.low,W=b.high,Z=b.low,J=w.high,le=w.low,D=T.high,Q=T.low,B=M.high,H=M.low,U=O,te=k,z=F,oe=N,pe=E,Ae=C,me=_,$=I,ue=W,X=Z,ne=J,se=le,j=D,q=Q,ae=B,ge=H,ce=0;ce<80;ce++){var ve,ye,_e=d[ce];if(ce<16)ye=_e.high=p[m+ce*2]|0,ve=_e.low=p[m+ce*2+1]|0;else{var Se=d[ce-15],xe=Se.high,ut=Se.low,tt=(xe>>>1|ut<<31)^(xe>>>8|ut<<24)^xe>>>7,Oe=(ut>>>1|xe<<31)^(ut>>>8|xe<<24)^(ut>>>7|xe<<25),Ne=d[ce-2],Fe=Ne.high,Be=Ne.low,je=(Fe>>>19|Be<<13)^(Fe<<3|Be>>>29)^Fe>>>6,ke=(Be>>>19|Fe<<13)^(Be<<3|Fe>>>29)^(Be>>>6|Fe<<26),Qe=d[ce-7],qe=Qe.high,xt=Qe.low,ct=d[ce-16],ht=ct.high,At=ct.low;ve=Oe+xt,ye=tt+qe+(ve>>>0>>0?1:0),ve=ve+ke,ye=ye+je+(ve>>>0>>0?1:0),ve=ve+At,ye=ye+ht+(ve>>>0>>0?1:0),_e.high=ye,_e.low=ve}var Ft=ue&ne^~ue&j,Qt=X&se^~X&q,Nn=U&z^U&pe^z&pe,aa=te&oe^te&Ae^oe&Ae,_a=(U>>>28|te<<4)^(U<<30|te>>>2)^(U<<25|te>>>7),io=(te>>>28|U<<4)^(te<<30|U>>>2)^(te<<25|U>>>7),nf=(ue>>>14|X<<18)^(ue>>>18|X<<14)^(ue<<23|X>>>9),Tc=(X>>>14|ue<<18)^(X>>>18|ue<<14)^(X<<23|ue>>>9),Ms=f[ce],O2=Ms.high,rf=Ms.low,Ro=ge+Tc,Ii=ae+nf+(Ro>>>0>>0?1:0),Ro=Ro+Qt,Ii=Ii+Ft+(Ro>>>0>>0?1:0),Ro=Ro+rf,Ii=Ii+O2+(Ro>>>0>>0?1:0),Ro=Ro+ve,Ii=Ii+ye+(Ro>>>0>>0?1:0),$p=io+aa,T2=_a+Nn+($p>>>0>>0?1:0);ae=j,ge=q,j=ne,q=se,ne=ue,se=X,X=$+Ro|0,ue=me+Ii+(X>>>0<$>>>0?1:0)|0,me=pe,$=Ae,pe=z,Ae=oe,z=U,oe=te,te=Ro+$p|0,U=Ii+T2+(te>>>0>>0?1:0)|0}k=x.low=k+te,x.high=O+U+(k>>>0>>0?1:0),N=y.low=N+oe,y.high=F+z+(N>>>0>>0?1:0),C=R.low=C+Ae,R.high=E+pe+(C>>>0>>0?1:0),I=g.low=I+$,g.high=_+me+(I>>>0<$>>>0?1:0),Z=b.low=Z+X,b.high=W+ue+(Z>>>0>>0?1:0),le=w.low=le+se,w.high=J+ne+(le>>>0>>0?1:0),Q=T.low=Q+q,T.high=D+j+(Q>>>0>>0?1:0),H=M.low=H+ge,M.high=B+ae+(H>>>0>>0?1:0)},_doFinalize:function(){var p=this._data,m=p.words,A=this._nDataBytes*8,x=p.sigBytes*8;m[x>>>5]|=128<<24-x%32,m[(x+128>>>10<<5)+30]=Math.floor(A/4294967296),m[(x+128>>>10<<5)+31]=A,p.sigBytes=m.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var p=i.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=i._createHelper(h),r.HmacSHA512=i._createHmacHelper(h)}(),n.SHA512})}(bR)),bR.exports}var SR={exports:{}},$M;function vz(){return $M||($M=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Bg(),BP())})(Nt,function(n){return function(){var r=n,o=r.x64,i=o.Word,a=o.WordArray,s=r.algo,c=s.SHA512,l=s.SHA384=c.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var u=c._doFinalize.call(this);return u.sigBytes-=16,u}});r.SHA384=c._createHelper(l),r.HmacSHA384=c._createHmacHelper(l)}(),n.SHA384})}(SR)),SR.exports}var MR={exports:{}},jM;function gz(){return jM||(jM=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Bg())})(Nt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.x64,l=c.Word,u=o.algo,f=[],d=[],h=[];(function(){for(var A=1,x=0,y=0;y<24;y++){f[A+5*x]=(y+1)*(y+2)/2%64;var R=x%5,g=(2*A+3*x)%5;A=R,x=g}for(var A=0;A<5;A++)for(var x=0;x<5;x++)d[A+5*x]=x+(2*A+3*x)%5*5;for(var b=1,w=0;w<24;w++){for(var T=0,M=0,O=0;O<7;O++){if(b&1){var k=(1<>>24)&16711935|(b<<24|b>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var T=y[g];T.high^=w,T.low^=b}for(var M=0;M<24;M++){for(var O=0;O<5;O++){for(var k=0,F=0,N=0;N<5;N++){var T=y[O+5*N];k^=T.high,F^=T.low}var E=p[O];E.high=k,E.low=F}for(var O=0;O<5;O++)for(var C=p[(O+4)%5],_=p[(O+1)%5],I=_.high,W=_.low,k=C.high^(I<<1|W>>>31),F=C.low^(W<<1|I>>>31),N=0;N<5;N++){var T=y[O+5*N];T.high^=k,T.low^=F}for(var Z=1;Z<25;Z++){var k,F,T=y[Z],J=T.high,le=T.low,D=f[Z];D<32?(k=J<>>32-D,F=le<>>32-D):(k=le<>>64-D,F=J<>>64-D);var Q=p[d[Z]];Q.high=k,Q.low=F}var B=p[0],H=y[0];B.high=H.high,B.low=H.low;for(var O=0;O<5;O++)for(var N=0;N<5;N++){var Z=O+5*N,T=y[Z],U=p[Z],te=p[(O+1)%5+5*N],z=p[(O+2)%5+5*N];T.high=U.high^~te.high&z.high,T.low=U.low^~te.low&z.low}var T=y[0],oe=h[M];T.high^=oe.high,T.low^=oe.low}},_doFinalize:function(){var A=this._data,x=A.words;this._nDataBytes*8;var y=A.sigBytes*8,R=this.blockSize*32;x[y>>>5]|=1<<24-y%32,x[(r.ceil((y+1)/R)*R>>>5)-1]|=128,A.sigBytes=x.length*4,this._process();for(var g=this._state,b=this.cfg.outputLength/8,w=b/8,T=[],M=0;M>>24)&16711935|(k<<24|k>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,T.push(F),T.push(k)}return new a.init(T,b)},clone:function(){for(var A=s.clone.call(this),x=A._state=this._state.slice(0),y=0;y<25;y++)x[y]=x[y].clone();return A}});o.SHA3=s._createHelper(m),o.HmacSHA3=s._createHmacHelper(m)}(Math),n.SHA3})}(MR)),MR.exports}var wR={exports:{}},qM;function Az(){return qM||(qM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){/** @preserve + */(function(e,t){(function(r,o){e.exports=o()})(Nt,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return D}});var c=s(279),l=s.n(c),u=s(370),f=s.n(u),d=s(817),h=s.n(d);function p(Q){try{return document.execCommand(Q)}catch{return!1}}var m=function(B){var H=h()(B);return p("cut"),H},A=m;function x(Q){var B=document.documentElement.getAttribute("dir")==="rtl",H=document.createElement("textarea");H.style.fontSize="12pt",H.style.border="0",H.style.padding="0",H.style.margin="0",H.style.position="absolute",H.style[B?"right":"left"]="-9999px";var U=window.pageYOffset||document.documentElement.scrollTop;return H.style.top="".concat(U,"px"),H.setAttribute("readonly",""),H.value=Q,H}var y=function(B,H){var U=x(B);H.container.appendChild(U);var te=h()(U);return p("copy"),U.remove(),te},R=function(B){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},U="";return typeof B=="string"?U=y(B,H):B instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(B==null?void 0:B.type)?U=y(B.value,H):(U=h()(B),p("copy")),U},g=R;function b(Q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(H){return typeof H}:b=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},b(Q)}var L=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=B.action,U=H===void 0?"copy":H,te=B.container,z=B.target,oe=B.text;if(U!=="copy"&&U!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(z!==void 0)if(z&&b(z)==="object"&&z.nodeType===1){if(U==="copy"&&z.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(U==="cut"&&(z.hasAttribute("readonly")||z.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(oe)return g(oe,{container:te});if(z)return U==="cut"?A(z):g(z,{container:te})},T=L;function M(Q){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(H){return typeof H}:M=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},M(Q)}function w(Q,B){if(!(Q instanceof B))throw new TypeError("Cannot call a class as a function")}function k(Q,B){for(var H=0;H"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Z(Q){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},Z(Q)}function J(Q,B){var H="data-clipboard-".concat(Q);if(B.hasAttribute(H))return B.getAttribute(H)}var se=function(Q){P(H,Q);var B=I(H);function H(U,te){var z;return w(this,H),z=B.call(this),z.resolveOptions(te),z.listenClick(U),z}return _(H,[{key:"resolveOptions",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof te.action=="function"?te.action:this.defaultAction,this.target=typeof te.target=="function"?te.target:this.defaultTarget,this.text=typeof te.text=="function"?te.text:this.defaultText,this.container=M(te.container)==="object"?te.container:document.body}},{key:"listenClick",value:function(te){var z=this;this.listener=f()(te,"click",function(oe){return z.onClick(oe)})}},{key:"onClick",value:function(te){var z=te.delegateTarget||te.currentTarget,oe=this.action(z)||"copy",pe=T({action:oe,container:this.container,target:this.target(z),text:this.text(z)});this.emit(pe?"success":"error",{action:oe,text:pe,trigger:z,clearSelection:function(){z&&z.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(te){return J("action",te)}},{key:"defaultTarget",value:function(te){var z=J("target",te);if(z)return document.querySelector(z)}},{key:"defaultText",value:function(te){return J("text",te)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(te){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return g(te,z)}},{key:"cut",value:function(te){return A(te)}},{key:"isSupported",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],z=typeof te=="string"?[te]:te,oe=!!document.queryCommandSupported;return z.forEach(function(pe){oe=oe&&!!document.queryCommandSupported(pe)}),oe}}]),H}(l()),D=se},828:function(i){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function c(l,u){for(;l&&l.nodeType!==a;){if(typeof l.matches=="function"&&l.matches(u))return l;l=l.parentNode}}i.exports=c},438:function(i,a,s){var c=s(828);function l(d,h,p,m,A){var x=f.apply(this,arguments);return d.addEventListener(p,x,A),{destroy:function(){d.removeEventListener(p,x,A)}}}function u(d,h,p,m,A){return typeof d.addEventListener=="function"?l.apply(null,arguments):typeof p=="function"?l.bind(null,document).apply(null,arguments):(typeof d=="string"&&(d=document.querySelectorAll(d)),Array.prototype.map.call(d,function(x){return l(x,h,p,m,A)}))}function f(d,h,p,m){return function(A){A.delegateTarget=c(A.target,h),A.delegateTarget&&m.call(d,A)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var c=Object.prototype.toString.call(s);return s!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var c=Object.prototype.toString.call(s);return c==="[object Function]"}},370:function(i,a,s){var c=s(879),l=s(438);function u(p,m,A){if(!p&&!m&&!A)throw new Error("Missing required arguments");if(!c.string(m))throw new TypeError("Second argument must be a String");if(!c.fn(A))throw new TypeError("Third argument must be a Function");if(c.node(p))return f(p,m,A);if(c.nodeList(p))return d(p,m,A);if(c.string(p))return h(p,m,A);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(p,m,A){return p.addEventListener(m,A),{destroy:function(){p.removeEventListener(m,A)}}}function d(p,m,A){return Array.prototype.forEach.call(p,function(x){x.addEventListener(m,A)}),{destroy:function(){Array.prototype.forEach.call(p,function(x){x.removeEventListener(m,A)})}}}function h(p,m,A){return l(document.body,p,m,A)}i.exports=u},817:function(i){function a(s){var c;if(s.nodeName==="SELECT")s.focus(),c=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var l=s.hasAttribute("readonly");l||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),l||s.removeAttribute("readonly"),c=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),f=document.createRange();f.selectNodeContents(s),u.removeAllRanges(),u.addRange(f),c=u.toString()}return c}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,c,l){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:c,ctx:l}),this},once:function(s,c,l){var u=this;function f(){u.off(s,f),c.apply(l,arguments)}return f._=c,this.on(s,f,l)},emit:function(s){var c=[].slice.call(arguments,1),l=((this.e||(this.e={}))[s]||[]).slice(),u=0,f=l.length;for(u;u>>2]>>>24-T%4*8&255;R[b+T>>>2]|=M<<24-(b+T)%4*8}else for(var w=0;w>>2]=g[w>>>2];return this.sigBytes+=L,this},clamp:function(){var y=this.words,R=this.sigBytes;y[R>>>2]&=4294967295<<32-R%4*8,y.length=r.ceil(R/4)},clone:function(){var y=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var R=[],g=0;g>>2]>>>24-L%4*8&255;b.push((T>>>4).toString(16)),b.push((T&15).toString(16))}return b.join("")},parse:function(y){for(var R=y.length,g=[],b=0;b>>3]|=parseInt(y.substr(b,2),16)<<24-b%8*4;return new f.init(g,R/2)}},p=d.Latin1={stringify:function(y){for(var R=y.words,g=y.sigBytes,b=[],L=0;L>>2]>>>24-L%4*8&255;b.push(String.fromCharCode(T))}return b.join("")},parse:function(y){for(var R=y.length,g=[],b=0;b>>2]|=(y.charCodeAt(b)&255)<<24-b%4*8;return new f.init(g,R)}},m=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},A=l.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=m.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var R,g=this._data,b=g.words,L=g.sigBytes,T=this.blockSize,M=T*4,w=L/M;y?w=r.ceil(w):w=r.max((w|0)-this._minBufferSize,0);var k=w*T,_=r.min(k*4,L);if(k){for(var P=0;P>>2]|=c[f]<<24-f%4*8;a.call(this,u,l)}else a.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(mR)),mR.exports}var vR={exports:{}},BM;function mz(){return BM||(BM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Utf16=a.Utf16BE={stringify:function(c){for(var l=c.words,u=c.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(h))}return f.join("")},parse:function(c){for(var l=c.length,u=[],f=0;f>>1]|=c.charCodeAt(f)<<16-f%2*16;return i.create(u,l*2)}},a.Utf16LE={stringify:function(c){for(var l=c.words,u=c.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(h))}return f.join("")},parse:function(c){for(var l=c.length,u=[],f=0;f>>1]|=s(c.charCodeAt(f)<<16-f%2*16);return i.create(u,l*2)}};function s(c){return c<<8&4278255360|c>>>8&16711935}}(),n.enc.Utf16})}(vR)),vR.exports}var gR={exports:{}},DM;function Du(){return DM||(DM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Base64={stringify:function(c){var l=c.words,u=c.sigBytes,f=this._map;c.clamp();for(var d=[],h=0;h>>2]>>>24-h%4*8&255,m=l[h+1>>>2]>>>24-(h+1)%4*8&255,A=l[h+2>>>2]>>>24-(h+2)%4*8&255,x=p<<16|m<<8|A,y=0;y<4&&h+y*.75>>6*(3-y)&63));var R=f.charAt(64);if(R)for(;d.length%4;)d.push(R);return d.join("")},parse:function(c){var l=c.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-h%4*2,A=p|m;f[d>>>2]|=A<<24-d%4*8,d++}return i.create(f,d)}}(),n.enc.Base64})}(gR)),gR.exports}var AR={exports:{}},KM;function vz(){return KM||(KM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.enc;a.Base64url={stringify:function(c,l){l===void 0&&(l=!0);var u=c.words,f=c.sigBytes,d=l?this._safe_map:this._map;c.clamp();for(var h=[],p=0;p>>2]>>>24-p%4*8&255,A=u[p+1>>>2]>>>24-(p+1)%4*8&255,x=u[p+2>>>2]>>>24-(p+2)%4*8&255,y=m<<16|A<<8|x,R=0;R<4&&p+R*.75>>6*(3-R)&63));var g=d.charAt(64);if(g)for(;h.length%4;)h.push(g);return h.join("")},parse:function(c,l){l===void 0&&(l=!0);var u=c.length,f=l?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h>>6-h%4*2,A=p|m;f[d>>>2]|=A<<24-d%4*8,d++}return i.create(f,d)}}(),n.enc.Base64url})}(AR)),AR.exports}var RR={exports:{}},HM;function Ku(){return HM||(HM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.algo,l=[];(function(){for(var m=0;m<64;m++)l[m]=r.abs(r.sin(m+1))*4294967296|0})();var u=c.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,A){for(var x=0;x<16;x++){var y=A+x,R=m[y];m[y]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}var g=this._hash.words,b=m[A+0],L=m[A+1],T=m[A+2],M=m[A+3],w=m[A+4],k=m[A+5],_=m[A+6],P=m[A+7],E=m[A+8],I=m[A+9],F=m[A+10],N=m[A+11],V=m[A+12],Z=m[A+13],J=m[A+14],se=m[A+15],D=g[0],Q=g[1],B=g[2],H=g[3];D=f(D,Q,B,H,b,7,l[0]),H=f(H,D,Q,B,L,12,l[1]),B=f(B,H,D,Q,T,17,l[2]),Q=f(Q,B,H,D,M,22,l[3]),D=f(D,Q,B,H,w,7,l[4]),H=f(H,D,Q,B,k,12,l[5]),B=f(B,H,D,Q,_,17,l[6]),Q=f(Q,B,H,D,P,22,l[7]),D=f(D,Q,B,H,E,7,l[8]),H=f(H,D,Q,B,I,12,l[9]),B=f(B,H,D,Q,F,17,l[10]),Q=f(Q,B,H,D,N,22,l[11]),D=f(D,Q,B,H,V,7,l[12]),H=f(H,D,Q,B,Z,12,l[13]),B=f(B,H,D,Q,J,17,l[14]),Q=f(Q,B,H,D,se,22,l[15]),D=d(D,Q,B,H,L,5,l[16]),H=d(H,D,Q,B,_,9,l[17]),B=d(B,H,D,Q,N,14,l[18]),Q=d(Q,B,H,D,b,20,l[19]),D=d(D,Q,B,H,k,5,l[20]),H=d(H,D,Q,B,F,9,l[21]),B=d(B,H,D,Q,se,14,l[22]),Q=d(Q,B,H,D,w,20,l[23]),D=d(D,Q,B,H,I,5,l[24]),H=d(H,D,Q,B,J,9,l[25]),B=d(B,H,D,Q,M,14,l[26]),Q=d(Q,B,H,D,E,20,l[27]),D=d(D,Q,B,H,Z,5,l[28]),H=d(H,D,Q,B,T,9,l[29]),B=d(B,H,D,Q,P,14,l[30]),Q=d(Q,B,H,D,V,20,l[31]),D=h(D,Q,B,H,k,4,l[32]),H=h(H,D,Q,B,E,11,l[33]),B=h(B,H,D,Q,N,16,l[34]),Q=h(Q,B,H,D,J,23,l[35]),D=h(D,Q,B,H,L,4,l[36]),H=h(H,D,Q,B,w,11,l[37]),B=h(B,H,D,Q,P,16,l[38]),Q=h(Q,B,H,D,F,23,l[39]),D=h(D,Q,B,H,Z,4,l[40]),H=h(H,D,Q,B,b,11,l[41]),B=h(B,H,D,Q,M,16,l[42]),Q=h(Q,B,H,D,_,23,l[43]),D=h(D,Q,B,H,I,4,l[44]),H=h(H,D,Q,B,V,11,l[45]),B=h(B,H,D,Q,se,16,l[46]),Q=h(Q,B,H,D,T,23,l[47]),D=p(D,Q,B,H,b,6,l[48]),H=p(H,D,Q,B,P,10,l[49]),B=p(B,H,D,Q,J,15,l[50]),Q=p(Q,B,H,D,k,21,l[51]),D=p(D,Q,B,H,V,6,l[52]),H=p(H,D,Q,B,M,10,l[53]),B=p(B,H,D,Q,F,15,l[54]),Q=p(Q,B,H,D,L,21,l[55]),D=p(D,Q,B,H,E,6,l[56]),H=p(H,D,Q,B,se,10,l[57]),B=p(B,H,D,Q,_,15,l[58]),Q=p(Q,B,H,D,Z,21,l[59]),D=p(D,Q,B,H,w,6,l[60]),H=p(H,D,Q,B,N,10,l[61]),B=p(B,H,D,Q,T,15,l[62]),Q=p(Q,B,H,D,I,21,l[63]),g[0]=g[0]+D|0,g[1]=g[1]+Q|0,g[2]=g[2]+B|0,g[3]=g[3]+H|0},_doFinalize:function(){var m=this._data,A=m.words,x=this._nDataBytes*8,y=m.sigBytes*8;A[y>>>5]|=128<<24-y%32;var R=r.floor(x/4294967296),g=x;A[(y+64>>>9<<4)+15]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,A[(y+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,m.sigBytes=(A.length+1)*4,this._process();for(var b=this._hash,L=b.words,T=0;T<4;T++){var M=L[T];L[T]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return b},clone:function(){var m=s.clone.call(this);return m._hash=this._hash.clone(),m}});function f(m,A,x,y,R,g,b){var L=m+(A&x|~A&y)+R+b;return(L<>>32-g)+A}function d(m,A,x,y,R,g,b){var L=m+(A&y|x&~y)+R+b;return(L<>>32-g)+A}function h(m,A,x,y,R,g,b){var L=m+(A^x^y)+R+b;return(L<>>32-g)+A}function p(m,A,x,y,R,g,b){var L=m+(x^(A|~y))+R+b;return(L<>>32-g)+A}o.MD5=s._createHelper(u),o.HmacMD5=s._createHmacHelper(u)}(Math),n.MD5})}(RR)),RR.exports}var yR={exports:{}},GM;function BP(){return GM||(GM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=o.Hasher,s=r.algo,c=[],l=s.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,h=d[0],p=d[1],m=d[2],A=d[3],x=d[4],y=0;y<80;y++){if(y<16)c[y]=u[f+y]|0;else{var R=c[y-3]^c[y-8]^c[y-14]^c[y-16];c[y]=R<<1|R>>>31}var g=(h<<5|h>>>27)+x+c[y];y<20?g+=(p&m|~p&A)+1518500249:y<40?g+=(p^m^A)+1859775393:y<60?g+=(p&m|p&A|m&A)-1894007588:g+=(p^m^A)-899497514,x=A,A=m,m=p<<30|p>>>2,p=h,h=g}d[0]=d[0]+h|0,d[1]=d[1]+p|0,d[2]=d[2]+m|0,d[3]=d[3]+A|0,d[4]=d[4]+x|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,h=u.sigBytes*8;return f[h>>>5]|=128<<24-h%32,f[(h+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(h+64>>>9<<4)+15]=d,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=a.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA1=a._createHelper(l),r.HmacSHA1=a._createHmacHelper(l)}(),n.SHA1})}(yR)),yR.exports}var bR={exports:{}},JM;function Lx(){return JM||(JM=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.algo,l=[],u=[];(function(){function h(x){for(var y=r.sqrt(x),R=2;R<=y;R++)if(!(x%R))return!1;return!0}function p(x){return(x-(x|0))*4294967296|0}for(var m=2,A=0;A<64;)h(m)&&(A<8&&(l[A]=p(r.pow(m,1/2))),u[A]=p(r.pow(m,1/3)),A++),m++})();var f=[],d=c.SHA256=s.extend({_doReset:function(){this._hash=new a.init(l.slice(0))},_doProcessBlock:function(h,p){for(var m=this._hash.words,A=m[0],x=m[1],y=m[2],R=m[3],g=m[4],b=m[5],L=m[6],T=m[7],M=0;M<64;M++){if(M<16)f[M]=h[p+M]|0;else{var w=f[M-15],k=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,_=f[M-2],P=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;f[M]=k+f[M-7]+P+f[M-16]}var E=g&b^~g&L,I=A&x^A&y^x&y,F=(A<<30|A>>>2)^(A<<19|A>>>13)^(A<<10|A>>>22),N=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),V=T+N+E+u[M]+f[M],Z=F+I;T=L,L=b,b=g,g=R+V|0,R=y,y=x,x=A,A=V+Z|0}m[0]=m[0]+A|0,m[1]=m[1]+x|0,m[2]=m[2]+y|0,m[3]=m[3]+R|0,m[4]=m[4]+g|0,m[5]=m[5]+b|0,m[6]=m[6]+L|0,m[7]=m[7]+T|0},_doFinalize:function(){var h=this._data,p=h.words,m=this._nDataBytes*8,A=h.sigBytes*8;return p[A>>>5]|=128<<24-A%32,p[(A+64>>>9<<4)+14]=r.floor(m/4294967296),p[(A+64>>>9<<4)+15]=m,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});o.SHA256=s._createHelper(d),o.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(bR)),bR.exports}var xR={exports:{}},zM;function gz(){return zM||(zM=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Lx())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=r.algo,s=a.SHA256,c=a.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var l=s._doFinalize.call(this);return l.sigBytes-=4,l}});r.SHA224=s._createHelper(c),r.HmacSHA224=s._createHmacHelper(c)}(),n.SHA224})}(xR)),xR.exports}var SR={exports:{}},$M;function DP(){return $M||($M=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Bg())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.Hasher,a=r.x64,s=a.Word,c=a.WordArray,l=r.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=u()})();var h=l.SHA512=i.extend({_doReset:function(){this._hash=new c.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,m){for(var A=this._hash.words,x=A[0],y=A[1],R=A[2],g=A[3],b=A[4],L=A[5],T=A[6],M=A[7],w=x.high,k=x.low,_=y.high,P=y.low,E=R.high,I=R.low,F=g.high,N=g.low,V=b.high,Z=b.low,J=L.high,se=L.low,D=T.high,Q=T.low,B=M.high,H=M.low,U=w,te=k,z=_,oe=P,pe=E,Ae=I,me=F,$=N,ue=V,X=Z,ne=J,le=se,j=D,ee=Q,ae=B,ge=H,ce=0;ce<80;ce++){var ve,ye,_e=d[ce];if(ce<16)ye=_e.high=p[m+ce*2]|0,ve=_e.low=p[m+ce*2+1]|0;else{var Se=d[ce-15],be=Se.high,ut=Se.low,tt=(be>>>1|ut<<31)^(be>>>8|ut<<24)^be>>>7,Oe=(ut>>>1|be<<31)^(ut>>>8|be<<24)^(ut>>>7|be<<25),Ne=d[ce-2],Fe=Ne.high,Be=Ne.low,qe=(Fe>>>19|Be<<13)^(Fe<<3|Be>>>29)^Fe>>>6,ke=(Be>>>19|Fe<<13)^(Be<<3|Fe>>>29)^(Be>>>6|Fe<<26),Qe=d[ce-7],et=Qe.high,bt=Qe.low,ct=d[ce-16],ht=ct.high,At=ct.low;ve=Oe+bt,ye=tt+et+(ve>>>0>>0?1:0),ve=ve+ke,ye=ye+qe+(ve>>>0>>0?1:0),ve=ve+At,ye=ye+ht+(ve>>>0>>0?1:0),_e.high=ye,_e.low=ve}var Ft=ue&ne^~ue&j,Qt=X&le^~X&ee,Nn=U&z^U&pe^z&pe,aa=te&oe^te&Ae^oe&Ae,Ea=(U>>>28|te<<4)^(U<<30|te>>>2)^(U<<25|te>>>7),io=(te>>>28|U<<4)^(te<<30|U>>>2)^(te<<25|U>>>7),nf=(ue>>>14|X<<18)^(ue>>>18|X<<14)^(ue<<23|X>>>9),Tc=(X>>>14|ue<<18)^(X>>>18|ue<<14)^(X<<23|ue>>>9),Ms=f[ce],T2=Ms.high,rf=Ms.low,Ro=ge+Tc,Ii=ae+nf+(Ro>>>0>>0?1:0),Ro=Ro+Qt,Ii=Ii+Ft+(Ro>>>0>>0?1:0),Ro=Ro+rf,Ii=Ii+T2+(Ro>>>0>>0?1:0),Ro=Ro+ve,Ii=Ii+ye+(Ro>>>0>>0?1:0),jp=io+aa,k2=Ea+Nn+(jp>>>0>>0?1:0);ae=j,ge=ee,j=ne,ee=le,ne=ue,le=X,X=$+Ro|0,ue=me+Ii+(X>>>0<$>>>0?1:0)|0,me=pe,$=Ae,pe=z,Ae=oe,z=U,oe=te,te=Ro+jp|0,U=Ii+k2+(te>>>0>>0?1:0)|0}k=x.low=k+te,x.high=w+U+(k>>>0>>0?1:0),P=y.low=P+oe,y.high=_+z+(P>>>0>>0?1:0),I=R.low=I+Ae,R.high=E+pe+(I>>>0>>0?1:0),N=g.low=N+$,g.high=F+me+(N>>>0<$>>>0?1:0),Z=b.low=Z+X,b.high=V+ue+(Z>>>0>>0?1:0),se=L.low=se+le,L.high=J+ne+(se>>>0>>0?1:0),Q=T.low=Q+ee,T.high=D+j+(Q>>>0>>0?1:0),H=M.low=H+ge,M.high=B+ae+(H>>>0>>0?1:0)},_doFinalize:function(){var p=this._data,m=p.words,A=this._nDataBytes*8,x=p.sigBytes*8;m[x>>>5]|=128<<24-x%32,m[(x+128>>>10<<5)+30]=Math.floor(A/4294967296),m[(x+128>>>10<<5)+31]=A,p.sigBytes=m.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var p=i.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=i._createHelper(h),r.HmacSHA512=i._createHmacHelper(h)}(),n.SHA512})}(SR)),SR.exports}var MR={exports:{}},jM;function Az(){return jM||(jM=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Bg(),DP())})(Nt,function(n){return function(){var r=n,o=r.x64,i=o.Word,a=o.WordArray,s=r.algo,c=s.SHA512,l=s.SHA384=c.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var u=c._doFinalize.call(this);return u.sigBytes-=16,u}});r.SHA384=c._createHelper(l),r.HmacSHA384=c._createHmacHelper(l)}(),n.SHA384})}(MR)),MR.exports}var wR={exports:{}},qM;function Rz(){return qM||(qM=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Bg())})(Nt,function(n){return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.x64,l=c.Word,u=o.algo,f=[],d=[],h=[];(function(){for(var A=1,x=0,y=0;y<24;y++){f[A+5*x]=(y+1)*(y+2)/2%64;var R=x%5,g=(2*A+3*x)%5;A=R,x=g}for(var A=0;A<5;A++)for(var x=0;x<5;x++)d[A+5*x]=x+(2*A+3*x)%5*5;for(var b=1,L=0;L<24;L++){for(var T=0,M=0,w=0;w<7;w++){if(b&1){var k=(1<>>24)&16711935|(b<<24|b>>>8)&4278255360,L=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360;var T=y[g];T.high^=L,T.low^=b}for(var M=0;M<24;M++){for(var w=0;w<5;w++){for(var k=0,_=0,P=0;P<5;P++){var T=y[w+5*P];k^=T.high,_^=T.low}var E=p[w];E.high=k,E.low=_}for(var w=0;w<5;w++)for(var I=p[(w+4)%5],F=p[(w+1)%5],N=F.high,V=F.low,k=I.high^(N<<1|V>>>31),_=I.low^(V<<1|N>>>31),P=0;P<5;P++){var T=y[w+5*P];T.high^=k,T.low^=_}for(var Z=1;Z<25;Z++){var k,_,T=y[Z],J=T.high,se=T.low,D=f[Z];D<32?(k=J<>>32-D,_=se<>>32-D):(k=se<>>64-D,_=J<>>64-D);var Q=p[d[Z]];Q.high=k,Q.low=_}var B=p[0],H=y[0];B.high=H.high,B.low=H.low;for(var w=0;w<5;w++)for(var P=0;P<5;P++){var Z=w+5*P,T=y[Z],U=p[Z],te=p[(w+1)%5+5*P],z=p[(w+2)%5+5*P];T.high=U.high^~te.high&z.high,T.low=U.low^~te.low&z.low}var T=y[0],oe=h[M];T.high^=oe.high,T.low^=oe.low}},_doFinalize:function(){var A=this._data,x=A.words;this._nDataBytes*8;var y=A.sigBytes*8,R=this.blockSize*32;x[y>>>5]|=1<<24-y%32,x[(r.ceil((y+1)/R)*R>>>5)-1]|=128,A.sigBytes=x.length*4,this._process();for(var g=this._state,b=this.cfg.outputLength/8,L=b/8,T=[],M=0;M>>24)&16711935|(k<<24|k>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,T.push(_),T.push(k)}return new a.init(T,b)},clone:function(){for(var A=s.clone.call(this),x=A._state=this._state.slice(0),y=0;y<25;y++)x[y]=x[y].clone();return A}});o.SHA3=s._createHelper(m),o.HmacSHA3=s._createHmacHelper(m)}(Math),n.SHA3})}(wR)),wR.exports}var LR={exports:{}},ew;function yz(){return ew||(ew=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -52,12 +52,12 @@ From previous: `);return this._state!==null&&(this._stack=t),t}finally{z4=!1}}}, - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(r){var o=n,i=o.lib,a=i.WordArray,s=i.Hasher,c=o.algo,l=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),m=c.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,T){for(var M=0;M<16;M++){var O=T+M,k=w[O];w[O]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}var F=this._hash.words,N=h.words,E=p.words,C=l.words,_=u.words,I=f.words,W=d.words,Z,J,le,D,Q,B,H,U,te,z;B=Z=F[0],H=J=F[1],U=le=F[2],te=D=F[3],z=Q=F[4];for(var oe,M=0;M<80;M+=1)oe=Z+w[T+C[M]]|0,M<16?oe+=A(J,le,D)+N[0]:M<32?oe+=x(J,le,D)+N[1]:M<48?oe+=y(J,le,D)+N[2]:M<64?oe+=R(J,le,D)+N[3]:oe+=g(J,le,D)+N[4],oe=oe|0,oe=b(oe,I[M]),oe=oe+Q|0,Z=Q,Q=D,D=b(le,10),le=J,J=oe,oe=B+w[T+_[M]]|0,M<16?oe+=g(H,U,te)+E[0]:M<32?oe+=R(H,U,te)+E[1]:M<48?oe+=y(H,U,te)+E[2]:M<64?oe+=x(H,U,te)+E[3]:oe+=A(H,U,te)+E[4],oe=oe|0,oe=b(oe,W[M]),oe=oe+z|0,B=z,z=te,te=b(U,10),U=H,H=oe;oe=F[1]+le+te|0,F[1]=F[2]+D+z|0,F[2]=F[3]+Q+B|0,F[3]=F[4]+Z+H|0,F[4]=F[0]+J+U|0,F[0]=oe},_doFinalize:function(){var w=this._data,T=w.words,M=this._nDataBytes*8,O=w.sigBytes*8;T[O>>>5]|=128<<24-O%32,T[(O+64>>>9<<4)+14]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,w.sigBytes=(T.length+1)*4,this._process();for(var k=this._hash,F=k.words,N=0;N<5;N++){var E=F[N];F[N]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return k},clone:function(){var w=s.clone.call(this);return w._hash=this._hash.clone(),w}});function A(w,T,M){return w^T^M}function x(w,T,M){return w&T|~w&M}function y(w,T,M){return(w|~T)^M}function R(w,T,M){return w&M|T&~M}function g(w,T,M){return w^(T|~M)}function b(w,T){return w<>>32-T}o.RIPEMD160=s._createHelper(m),o.HmacRIPEMD160=s._createHmacHelper(m)}(),n.RIPEMD160})}(wR)),wR.exports}var LR={exports:{}},ew;function wb(){return ew||(ew=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){(function(){var r=n,o=r.lib,i=o.Base,a=r.enc,s=a.Utf8,c=r.algo;c.HMAC=i.extend({init:function(l,u){l=this._hasher=new l.init,typeof u=="string"&&(u=s.parse(u));var f=l.blockSize,d=f*4;u.sigBytes>d&&(u=l.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),p=this._iKey=u.clone(),m=h.words,A=p.words,x=0;x>>2]&255;k.sigBytes-=F}};i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:A,padding:y}),reset:function(){var k;h.reset.call(this);var F=this.cfg,N=F.iv,E=F.mode;this._xformMode==this._ENC_XFORM_MODE?k=E.createEncryptor:(k=E.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==k?this._mode.init(this,N&&N.words):(this._mode=k.call(E,this,N&&N.words),this._mode.__creator=k)},_doProcessBlock:function(k,F){this._mode.processBlock(k,F)},_doFinalize:function(){var k,F=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(F.pad(this._data,this.blockSize),k=this._process(!0)):(k=this._process(!0),F.unpad(k)),k},blockSize:128/32});var R=i.CipherParams=a.extend({init:function(k){this.mixIn(k)},toString:function(k){return(k||this.formatter).stringify(this)}}),g=o.format={},b=g.OpenSSL={stringify:function(k){var F,N=k.ciphertext,E=k.salt;return E?F=s.create([1398893684,1701076831]).concat(E).concat(N):F=N,F.toString(u)},parse:function(k){var F,N=u.parse(k),E=N.words;return E[0]==1398893684&&E[1]==1701076831&&(F=s.create(E.slice(2,4)),E.splice(0,4),N.sigBytes-=16),R.create({ciphertext:N,salt:F})}},w=i.SerializableCipher=a.extend({cfg:a.extend({format:b}),encrypt:function(k,F,N,E){E=this.cfg.extend(E);var C=k.createEncryptor(N,E),_=C.finalize(F),I=C.cfg;return R.create({ciphertext:_,key:N,iv:I.iv,algorithm:k,mode:I.mode,padding:I.padding,blockSize:k.blockSize,formatter:E.format})},decrypt:function(k,F,N,E){E=this.cfg.extend(E),F=this._parse(F,E.format);var C=k.createDecryptor(N,E).finalize(F.ciphertext);return C},_parse:function(k,F){return typeof k=="string"?F.parse(k,this):k}}),T=o.kdf={},M=T.OpenSSL={execute:function(k,F,N,E,C){if(E||(E=s.random(64/8)),C)var _=d.create({keySize:F+N,hasher:C}).compute(k,E);else var _=d.create({keySize:F+N}).compute(k,E);var I=s.create(_.words.slice(F),N*4);return _.sigBytes=F*4,R.create({key:_,iv:I,salt:E})}},O=i.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:M}),encrypt:function(k,F,N,E){E=this.cfg.extend(E);var C=E.kdf.execute(N,k.keySize,k.ivSize,E.salt,E.hasher);E.iv=C.iv;var _=w.encrypt.call(this,k,F,C.key,E);return _.mixIn(C),_},decrypt:function(k,F,N,E){E=this.cfg.extend(E),F=this._parse(F,E.format);var C=E.kdf.execute(N,k.keySize,k.ivSize,F.salt,E.hasher);E.iv=C.iv;var _=w.decrypt.call(this,k,F,C.key,E);return _}})}()})}(kR)),kR.exports}var NR={exports:{}},ow;function yz(){return ow||(ow=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(i,a){var s=this._cipher,c=s.blockSize;o.call(this,i,a,c,s),this._prevBlock=i.slice(a,a+c)}}),r.Decryptor=r.extend({processBlock:function(i,a){var s=this._cipher,c=s.blockSize,l=i.slice(a,a+c);o.call(this,i,a,c,s),this._prevBlock=l}});function o(i,a,s,c){var l,u=this._iv;u?(l=u.slice(0),this._iv=void 0):l=this._prevBlock,c.encryptBlock(l,0);for(var f=0;f>>24)&16711935|(k<<24|k>>>8)&4278255360}var _=this._hash.words,P=h.words,E=p.words,I=l.words,F=u.words,N=f.words,V=d.words,Z,J,se,D,Q,B,H,U,te,z;B=Z=_[0],H=J=_[1],U=se=_[2],te=D=_[3],z=Q=_[4];for(var oe,M=0;M<80;M+=1)oe=Z+L[T+I[M]]|0,M<16?oe+=A(J,se,D)+P[0]:M<32?oe+=x(J,se,D)+P[1]:M<48?oe+=y(J,se,D)+P[2]:M<64?oe+=R(J,se,D)+P[3]:oe+=g(J,se,D)+P[4],oe=oe|0,oe=b(oe,N[M]),oe=oe+Q|0,Z=Q,Q=D,D=b(se,10),se=J,J=oe,oe=B+L[T+F[M]]|0,M<16?oe+=g(H,U,te)+E[0]:M<32?oe+=R(H,U,te)+E[1]:M<48?oe+=y(H,U,te)+E[2]:M<64?oe+=x(H,U,te)+E[3]:oe+=A(H,U,te)+E[4],oe=oe|0,oe=b(oe,V[M]),oe=oe+z|0,B=z,z=te,te=b(U,10),U=H,H=oe;oe=_[1]+se+te|0,_[1]=_[2]+D+z|0,_[2]=_[3]+Q+B|0,_[3]=_[4]+Z+H|0,_[4]=_[0]+J+U|0,_[0]=oe},_doFinalize:function(){var L=this._data,T=L.words,M=this._nDataBytes*8,w=L.sigBytes*8;T[w>>>5]|=128<<24-w%32,T[(w+64>>>9<<4)+14]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,L.sigBytes=(T.length+1)*4,this._process();for(var k=this._hash,_=k.words,P=0;P<5;P++){var E=_[P];_[P]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return k},clone:function(){var L=s.clone.call(this);return L._hash=this._hash.clone(),L}});function A(L,T,M){return L^T^M}function x(L,T,M){return L&T|~L&M}function y(L,T,M){return(L|~T)^M}function R(L,T,M){return L&M|T&~M}function g(L,T,M){return L^(T|~M)}function b(L,T){return L<>>32-T}o.RIPEMD160=s._createHelper(m),o.HmacRIPEMD160=s._createHmacHelper(m)}(),n.RIPEMD160})}(LR)),LR.exports}var OR={exports:{}},tw;function Ox(){return tw||(tw=1,function(e,t){(function(n,r){e.exports=r(Mn())})(Nt,function(n){(function(){var r=n,o=r.lib,i=o.Base,a=r.enc,s=a.Utf8,c=r.algo;c.HMAC=i.extend({init:function(l,u){l=this._hasher=new l.init,typeof u=="string"&&(u=s.parse(u));var f=l.blockSize,d=f*4;u.sigBytes>d&&(u=l.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),p=this._iKey=u.clone(),m=h.words,A=p.words,x=0;x>>2]&255;k.sigBytes-=_}};i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:A,padding:y}),reset:function(){var k;h.reset.call(this);var _=this.cfg,P=_.iv,E=_.mode;this._xformMode==this._ENC_XFORM_MODE?k=E.createEncryptor:(k=E.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==k?this._mode.init(this,P&&P.words):(this._mode=k.call(E,this,P&&P.words),this._mode.__creator=k)},_doProcessBlock:function(k,_){this._mode.processBlock(k,_)},_doFinalize:function(){var k,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),k=this._process(!0)):(k=this._process(!0),_.unpad(k)),k},blockSize:128/32});var R=i.CipherParams=a.extend({init:function(k){this.mixIn(k)},toString:function(k){return(k||this.formatter).stringify(this)}}),g=o.format={},b=g.OpenSSL={stringify:function(k){var _,P=k.ciphertext,E=k.salt;return E?_=s.create([1398893684,1701076831]).concat(E).concat(P):_=P,_.toString(u)},parse:function(k){var _,P=u.parse(k),E=P.words;return E[0]==1398893684&&E[1]==1701076831&&(_=s.create(E.slice(2,4)),E.splice(0,4),P.sigBytes-=16),R.create({ciphertext:P,salt:_})}},L=i.SerializableCipher=a.extend({cfg:a.extend({format:b}),encrypt:function(k,_,P,E){E=this.cfg.extend(E);var I=k.createEncryptor(P,E),F=I.finalize(_),N=I.cfg;return R.create({ciphertext:F,key:P,iv:N.iv,algorithm:k,mode:N.mode,padding:N.padding,blockSize:k.blockSize,formatter:E.format})},decrypt:function(k,_,P,E){E=this.cfg.extend(E),_=this._parse(_,E.format);var I=k.createDecryptor(P,E).finalize(_.ciphertext);return I},_parse:function(k,_){return typeof k=="string"?_.parse(k,this):k}}),T=o.kdf={},M=T.OpenSSL={execute:function(k,_,P,E,I){if(E||(E=s.random(64/8)),I)var F=d.create({keySize:_+P,hasher:I}).compute(k,E);else var F=d.create({keySize:_+P}).compute(k,E);var N=s.create(F.words.slice(_),P*4);return F.sigBytes=_*4,R.create({key:F,iv:N,salt:E})}},w=i.PasswordBasedCipher=L.extend({cfg:L.cfg.extend({kdf:M}),encrypt:function(k,_,P,E){E=this.cfg.extend(E);var I=E.kdf.execute(P,k.keySize,k.ivSize,E.salt,E.hasher);E.iv=I.iv;var F=L.encrypt.call(this,k,_,I.key,E);return F.mixIn(I),F},decrypt:function(k,_,P,E){E=this.cfg.extend(E),_=this._parse(_,E.format);var I=E.kdf.execute(P,k.keySize,k.ivSize,_.salt,E.hasher);E.iv=I.iv;var F=L.decrypt.call(this,k,_,I.key,E);return F}})}()})}(NR)),NR.exports}var PR={exports:{}},iw;function xz(){return iw||(iw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(i,a){var s=this._cipher,c=s.blockSize;o.call(this,i,a,c,s),this._prevBlock=i.slice(a,a+c)}}),r.Decryptor=r.extend({processBlock:function(i,a){var s=this._cipher,c=s.blockSize,l=i.slice(a,a+c);o.call(this,i,a,c,s),this._prevBlock=l}});function o(i,a,s,c){var l,u=this._iv;u?(l=u.slice(0),this._iv=void 0):l=this._prevBlock,c.encryptBlock(l,0);for(var f=0;f>24&255)===255){var c=s>>16&255,l=s>>8&255,u=s&255;c===255?(c=0,l===255?(l=0,u===255?u=0:++u):++l):++c,s=0,s+=c<<16,s+=l<<8,s+=u}else s+=1<<24;return s}function i(s){return(s[0]=o(s[0]))===0&&(s[1]=o(s[1])),s}var a=r.Encryptor=r.extend({processBlock:function(s,c){var l=this._cipher,u=l.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),i(d);var h=d.slice(0);l.encryptBlock(h,0);for(var p=0;p>>2]|=s<<24-c%4*8,r.sigBytes+=s},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Ansix923})}(_R)),_R.exports}var ER={exports:{}},uw;function Lz(){return uw||(uw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.pad.Iso10126={pad:function(r,o){var i=o*4,a=i-r.sigBytes%i;r.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Iso10126})}(ER)),ER.exports}var XR={exports:{}},fw;function Oz(){return fw||(fw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.pad.Iso97971={pad:function(r,o){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,o)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(XR)),XR.exports}var WR={exports:{}},dw;function Tz(){return dw||(dw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.pad.ZeroPadding={pad:function(r,o){var i=o*4;r.clamp(),r.sigBytes+=i-(r.sigBytes%i||i)},unpad:function(r){for(var o=r.words,i=r.sigBytes-1,i=r.sigBytes-1;i>=0;i--)if(o[i>>>2]>>>24-i%4*8&255){r.sigBytes=i+1;break}}},n.pad.ZeroPadding})}(WR)),WR.exports}var VR={exports:{}},hw;function kz(){return hw||(hw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(VR)),VR.exports}var UR={exports:{}},pw;function Nz(){return pw||(pw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return function(r){var o=n,i=o.lib,a=i.CipherParams,s=o.enc,c=s.Hex,l=o.format;l.Hex={stringify:function(u){return u.ciphertext.toString(c)},parse:function(u){var f=c.parse(u);return a.create({ciphertext:f})}}}(),n.format.Hex})}(UR)),UR.exports}var YR={exports:{}},mw;function Pz(){return mw||(mw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),bc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,a=r.algo,s=[],c=[],l=[],u=[],f=[],d=[],h=[],p=[],m=[],A=[];(function(){for(var R=[],g=0;g<256;g++)g<128?R[g]=g<<1:R[g]=g<<1^283;for(var b=0,w=0,g=0;g<256;g++){var T=w^w<<1^w<<2^w<<3^w<<4;T=T>>>8^T&255^99,s[b]=T,c[T]=b;var M=R[b],O=R[M],k=R[O],F=R[T]*257^T*16843008;l[b]=F<<24|F>>>8,u[b]=F<<16|F>>>16,f[b]=F<<8|F>>>24,d[b]=F;var F=k*16843009^O*65537^M*257^b*16843008;h[T]=F<<24|F>>>8,p[T]=F<<16|F>>>16,m[T]=F<<8|F>>>24,A[T]=F,b?(b=M^R[R[R[k^M]]],w^=R[R[w]]):b=w=1}})();var x=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=i.extend({_doReset:function(){var R;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,b=g.words,w=g.sigBytes/4,T=this._nRounds=w+6,M=(T+1)*4,O=this._keySchedule=[],k=0;k6&&k%w==4&&(R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255]):(R=R<<8|R>>>24,R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255],R^=x[k/w|0]<<24),O[k]=O[k-w]^R);for(var F=this._invKeySchedule=[],N=0;N>>24]]^p[s[R>>>16&255]]^m[s[R>>>8&255]]^A[s[R&255]]}}},encryptBlock:function(R,g){this._doCryptBlock(R,g,this._keySchedule,l,u,f,d,s)},decryptBlock:function(R,g){var b=R[g+1];R[g+1]=R[g+3],R[g+3]=b,this._doCryptBlock(R,g,this._invKeySchedule,h,p,m,A,c);var b=R[g+1];R[g+1]=R[g+3],R[g+3]=b},_doCryptBlock:function(R,g,b,w,T,M,O,k){for(var F=this._nRounds,N=R[g]^b[0],E=R[g+1]^b[1],C=R[g+2]^b[2],_=R[g+3]^b[3],I=4,W=1;W>>24]^T[E>>>16&255]^M[C>>>8&255]^O[_&255]^b[I++],J=w[E>>>24]^T[C>>>16&255]^M[_>>>8&255]^O[N&255]^b[I++],le=w[C>>>24]^T[_>>>16&255]^M[N>>>8&255]^O[E&255]^b[I++],D=w[_>>>24]^T[N>>>16&255]^M[E>>>8&255]^O[C&255]^b[I++];N=Z,E=J,C=le,_=D}var Z=(k[N>>>24]<<24|k[E>>>16&255]<<16|k[C>>>8&255]<<8|k[_&255])^b[I++],J=(k[E>>>24]<<24|k[C>>>16&255]<<16|k[_>>>8&255]<<8|k[N&255])^b[I++],le=(k[C>>>24]<<24|k[_>>>16&255]<<16|k[N>>>8&255]<<8|k[E&255])^b[I++],D=(k[_>>>24]<<24|k[N>>>16&255]<<16|k[E>>>8&255]<<8|k[C&255])^b[I++];R[g]=Z,R[g+1]=J,R[g+2]=le,R[g+3]=D},keySize:256/32});r.AES=i._createHelper(y)}(),n.AES})}(YR)),YR.exports}var QR={exports:{}},vw;function Cz(){return vw||(vw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),bc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=o.BlockCipher,s=r.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=s.DES=a.extend({_doReset:function(){for(var x=this._key,y=x.words,R=[],g=0;g<56;g++){var b=c[g]-1;R[g]=y[b>>>5]>>>31-b%32&1}for(var w=this._subKeys=[],T=0;T<16;T++){for(var M=w[T]=[],O=u[T],g=0;g<24;g++)M[g/6|0]|=R[(l[g]-1+O)%28]<<31-g%6,M[4+(g/6|0)]|=R[28+(l[g+24]-1+O)%28]<<31-g%6;M[0]=M[0]<<1|M[0]>>>31;for(var g=1;g<7;g++)M[g]=M[g]>>>(g-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var k=this._invSubKeys=[],g=0;g<16;g++)k[g]=w[15-g]},encryptBlock:function(x,y){this._doCryptBlock(x,y,this._subKeys)},decryptBlock:function(x,y){this._doCryptBlock(x,y,this._invSubKeys)},_doCryptBlock:function(x,y,R){this._lBlock=x[y],this._rBlock=x[y+1],p.call(this,4,252645135),p.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),p.call(this,1,1431655765);for(var g=0;g<16;g++){for(var b=R[g],w=this._lBlock,T=this._rBlock,M=0,O=0;O<8;O++)M|=f[O][((T^b[O])&d[O])>>>0];this._lBlock=T,this._rBlock=w^M}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,p.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),x[y]=this._lBlock,x[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(x,y){var R=(this._lBlock>>>x^this._rBlock)&y;this._rBlock^=R,this._lBlock^=R<>>x^this._lBlock)&y;this._lBlock^=R,this._rBlock^=R<192.");var R=y.slice(0,2),g=y.length<4?y.slice(0,2):y.slice(2,4),b=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=h.createEncryptor(i.create(R)),this._des2=h.createEncryptor(i.create(g)),this._des3=h.createEncryptor(i.create(b))},encryptBlock:function(x,y){this._des1.encryptBlock(x,y),this._des2.decryptBlock(x,y),this._des3.encryptBlock(x,y)},decryptBlock:function(x,y){this._des3.decryptBlock(x,y),this._des2.encryptBlock(x,y),this._des1.decryptBlock(x,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=a._createHelper(A)}(),n.TripleDES})}(QR)),QR.exports}var ZR={exports:{}},gw;function Iz(){return gw||(gw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),bc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=a.RC4=i.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,m=0;p<256;p++){var A=p%d,x=f[A>>>2]>>>24-A%4*8&255;m=(m+h[p]+x)%256;var y=h[p];h[p]=h[m],h[m]=y}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=c.call(this)},keySize:256/32,ivSize:0});function c(){for(var u=this._S,f=this._i,d=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,d=(d+u[f])%256;var m=u[f];u[f]=u[d],u[d]=m,h|=u[(u[f]+u[d])%256]<<24-p*8}return this._i=f,this._j=d,h}r.RC4=i._createHelper(s);var l=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)c.call(this)}});r.RC4Drop=i._createHelper(l)}(),n.RC4})}(ZR)),ZR.exports}var BR={exports:{}},Aw;function Fz(){return Aw||(Aw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),bc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=[],c=[],l=[],u=a.Rabbit=i.extend({_doReset:function(){for(var d=this._key.words,h=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var m=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],A=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)A[p]^=m[p+4&7];if(h){var x=h.words,y=x[0],R=x[1],g=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,w=g>>>16|b&4294901760,T=b<<16|g&65535;A[0]^=g,A[1]^=w,A[2]^=b,A[3]^=T,A[4]^=g,A[5]^=w,A[6]^=b,A[7]^=T;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,d[h+m]^=s[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)c[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var m=d[p]+h[p],A=m&65535,x=m>>>16,y=((A*A>>>17)+A*x>>>15)+x*x,R=((m&4294901760)*m|0)+((m&65535)*m|0);l[p]=y^R}d[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,d[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,d[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,d[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,d[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,d[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,d[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,d[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.Rabbit=i._createHelper(u)}(),n.Rabbit})}(BR)),BR.exports}var DR={exports:{}},Rw;function _z(){return Rw||(Rw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),bc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=[],c=[],l=[],u=a.RabbitLegacy=i.extend({_doReset:function(){var d=this._key.words,h=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],m=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var A=0;A<4;A++)f.call(this);for(var A=0;A<8;A++)m[A]^=p[A+4&7];if(h){var x=h.words,y=x[0],R=x[1],g=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,w=g>>>16|b&4294901760,T=b<<16|g&65535;m[0]^=g,m[1]^=w,m[2]^=b,m[3]^=T,m[4]^=g,m[5]^=w,m[6]^=b,m[7]^=T;for(var A=0;A<4;A++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,d[h+m]^=s[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)c[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var m=d[p]+h[p],A=m&65535,x=m>>>16,y=((A*A>>>17)+A*x>>>15)+x*x,R=((m&4294901760)*m|0)+((m&65535)*m|0);l[p]=y^R}d[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,d[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,d[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,d[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,d[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,d[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,d[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,d[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.RabbitLegacy=i._createHelper(u)}(),n.RabbitLegacy})}(DR)),DR.exports}var KR={exports:{}},yw;function Ez(){return yw||(yw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),bc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,a=r.algo;const s=16,c=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(A,x){let y=x>>24&255,R=x>>16&255,g=x>>8&255,b=x&255,w=A.sbox[0][y]+A.sbox[1][R];return w=w^A.sbox[2][g],w=w+A.sbox[3][b],w}function d(A,x,y){let R=x,g=y,b;for(let w=0;w1;--w)R=R^A.pbox[w],g=f(A,R)^g,b=R,R=g,g=b;return b=R,R=g,g=b,g=g^A.pbox[1],R=R^A.pbox[0],{left:R,right:g}}function p(A,x,y){for(let T=0;T<4;T++){A.sbox[T]=[];for(let M=0;M<256;M++)A.sbox[T][M]=l[T][M]}let R=0;for(let T=0;T=y&&(R=0);let g=0,b=0,w=0;for(let T=0;Tf3.AES.encrypt(e,DP).toString(),KP=e=>f3.AES.decrypt(e,DP).toString(f3.enc.Utf8),HP=e=>new Promise((t,n)=>{const r=document.createElement("button"),o=new lz(r,{text:()=>e,action:()=>"copy",container:document.body});o.on("success",i=>{o.destroy(),t(i)}),o.on("error",i=>{o.destroy(),n(i)}),document.body.appendChild(r),r.click(),document.body.removeChild(r)}),GP=()=>new Promise((e,t)=>{var n;(n=navigator.clipboard)!=null&&n.readText?navigator.clipboard.readText().then(r=>(r||t("剪贴板为空或者不包含文本"),e(r))):t("浏览器不支持或禁止访问剪贴板,请使用快捷键 Ctrl + V")}),Ob=e=>{let t;try{t=JSON.parse(KP(e))}catch{t=e}return t},JP=e=>{const t=e.split(`\r -`);t[t.length-1]===""&&t.pop();let n=-1;const r=[];for(const o in t){if(r[o]=t[o].split(" "),r[o].length===1)return null;if(n===-1)n=r[o].length;else if(n!==r[o].length)return null}return r},ud=e=>{const{left:t,top:n,width:r,height:o,rotate:i=0}=e,a=Math.sqrt(Math.pow(r,2)+Math.pow(o,2))/2,s=Math.atan(o/r)*180/Math.PI,c=(180-i-s)*Math.PI/180,l=(s-i)*Math.PI/180,u=t+r/2,f=n+o/2,d=[u+a*Math.cos(c),u+a*Math.cos(l),u-a*Math.cos(c),u-a*Math.cos(l)],h=[f-a*Math.sin(c),f-a*Math.sin(l),f+a*Math.sin(c),f+a*Math.sin(l)];return{xRange:[Math.min(...d),Math.max(...d)],yRange:[Math.min(...h),Math.max(...h)]}},Kf=e=>{const{xRange:t,yRange:n}=ud({left:e.left,top:e.top,width:e.width,height:e.height,rotate:0}),{xRange:r,yRange:o}=ud({left:e.left,top:e.top,width:e.width,height:e.height,rotate:e.rotate});return{offsetX:r[0]-t[0],offsetY:o[0]-n[0]}},Ma=e=>{let t,n,r,o;if(e.type==="line")t=e.left,n=e.left+Math.max(e.start[0],e.end[0]),r=e.top,o=e.top+Math.max(e.start[1],e.end[1]);else if("rotate"in e&&e.rotate){const{left:i,top:a,width:s,height:c,rotate:l}=e,{xRange:u,yRange:f}=ud({left:i,top:a,width:s,height:c,rotate:l});t=u[0],n=u[1],r=f[0],o=f[1]}else t=e.left,n=e.left+e.width,r=e.top,o=e.top+e.height;return{minX:t,maxX:n,minY:r,maxY:o}},ec=e=>{const t=[],n=[],r=[],o=[];e.forEach(l=>{const{minX:u,maxX:f,minY:d,maxY:h}=Ma(l);t.push(u),n.push(d),r.push(f),o.push(h)});const i=Math.min(...t),a=Math.max(...r),s=Math.min(...n),c=Math.max(...o);return{minX:i,maxX:a,minY:s,maxY:c}},Wv=e=>{const t=[];return e.forEach(n=>{const r=t.findIndex(o=>o.value===n.value);if(r===-1)t.push(n);else{const o=t[r],i=Math.min(o.range[0],n.range[0]),a=Math.max(o.range[1],n.range[1]),s=[i,a],c={value:n.value,range:s};t[r]=c}}),t},Wz=e=>{const t={};for(const n of e)t[n.id]=pn(10);return t},d3=e=>{const t={},n={};for(const r of e){const o=r.groupId;o&&!t[o]&&(t[o]=pn(10)),n[r.id]=pn(10)}return{groupIdMap:t,elIdMap:n}},zP=e=>{const t=rt(e);return[t.setAlpha(.3).toRgbString(),t.setAlpha(.1).toRgbString()]},Tb=e=>{const t=e.start.join(","),n=e.end.join(",");if(e.broken){const r=e.broken.join(",");return`M${t} L${r} L${n}`}else if(e.curve){const r=e.curve.join(",");return`M${t} Q${r} ${n}`}else if(e.cubic){const[r,o]=e.cubic,i=r.join(","),a=o.join(",");return`M${t} C${i} ${a} ${n}`}return`M${t} L${n}`},Vz=(e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>=r.top&&n.bottom<=r.bottom};var Uz={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function Yz(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function Qz(e,t,n){var r=typeof t.fill=="string"?[t.fill]:t.fill||[],o=[],i=t.theme||n.theme;switch(i){case"outline":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("none"),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("none");break;case"filled":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("#FFF"),o.push("#FFF");break;case"two-tone":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.multiColor.outFillColor),o.push(typeof r[2]=="string"?r[2]:n.colors.multiColor.innerStrokeColor),o.push(typeof r[3]=="string"?r[3]:n.colors.multiColor.innerFillColor);break}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:o,id:e}}var Zz=Symbol("icon-context");function Ge(e,t,n){var r={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(i){var a=Yz(),s=jo(Zz,Uz);return function(){var c=i.size,l=i.strokeWidth,u=i.strokeLinecap,f=i.strokeLinejoin,d=i.theme,h=i.fill,p=i.spin,m=Qz(a,{size:c,strokeWidth:l,strokeLinecap:u,strokeLinejoin:f,theme:d,fill:h},s),A=[s.prefix+"-icon"];return A.push(s.prefix+"-icon-"+e),t&&s.rtl&&A.push(s.prefix+"-icon-rtl"),p&&A.push(s.prefix+"-icon-spin"),L("span",{class:A.join(" ")},[n(m)])}}};return r}const Bz=Ge("add-text",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M4 8H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M28 21H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M18 42L18 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M36 42L36 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Dz=Ge("align-bottom",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"17",y:"6",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 42H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Kz=Ge("align-horizontally",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"7",y:"17",width:"34",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hz=Ge("align-left",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"14.5",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6.5 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gz=Ge("align-right",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"6",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Jz=Ge("align-text-both",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M42 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zz=Ge("align-text-bottom-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M27 34H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$z=Ge("align-text-center",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M36 19H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M36 39H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),jz=Ge("align-text-left",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qz=Ge("align-text-middle-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M26 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),e$=Ge("align-text-right",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 19H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 39H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),t$=Ge("align-text-top-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M26 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 13H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),n$=Ge("align-top",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"17",y:"14.5",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 6.5H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),r$=Ge("align-vertically",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"17",y:"7",width:"14",height:"34",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),o$=Ge("arrow-circle-left",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32.4917 24.5H14.4917",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M23.4917 15.5L14.4917 24.5L23.4917 33.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),i$=Ge("attention",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:e.colors[2]},null),L("path",{d:"M24 12V28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),a$=Ge("back",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 40.8361C39.1069 34.8632 34.7617 31.4739 30.9644 30.6682C27.1671 29.8625 23.5517 29.7408 20.1182 30.303V41L4 23.5453L20.1182 7V17.167C26.4667 17.2172 31.8638 19.4948 36.3095 24C40.7553 28.5052 43.3187 34.1172 44 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),s$=Ge("background-color",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 37C39.2091 37 41 35.2091 41 33C41 31.5272 39.6667 29.5272 37 27C34.3333 29.5272 33 31.5272 33 33C33 35.2091 34.7909 37 37 37Z",fill:e.colors[0]},null),L("path",{d:"M20.8535 5.50439L24.389 9.03993",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M23.6818 8.33281L8.12549 23.8892L19.4392 35.2029L34.9955 19.6465L23.6818 8.33281Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 20.0732L28.961 25.6496",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M4 43H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),l$=Ge("bring-to-front",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M41 18H19C18.4477 18 18 18.4477 18 19V41C18 41.5523 18.4477 42 19 42H41C41.5523 42 42 41.5523 42 41V19C42 18.4477 41.5523 18 41 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M26.0023 6H30V10.0152",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 16C6 18.6536 6 19.9869 6 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M30 16C30 18.6765 30 19.3456 30 18.0074",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M15.9922 30H17.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),c$=Ge("bring-to-front-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M14 21V34H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 14H34V27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M5 21V5H21V21H5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M27 43V27H43V43H27Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),u$=Ge("chart-histogram",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 30V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M22 22V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M30 6V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M38 14V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),f$=Ge("chart-histogram-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M18 34H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M26 26H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 18H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 10L14 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),d$=Ge("chart-line",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 34L22 18L32 27L42 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),h$=Ge("chart-line-area",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),p$=Ge("chart-pie",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4V24H44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M43.0844 18H30V4.91553C36.2202 6.86917 41.1308 11.7798 43.0844 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),m$=Ge("chart-proportion",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M16.3446 5.51758C13.9 6.53124 11.7001 8.01574 9.85786 9.85797C6.23858 13.4773 4 18.4773 4 24.0001C4 35.0458 12.9543 44.0001 24 44.0001V44.0001C29.5228 44.0001 34.5228 41.7615 38.1421 38.1422C39.9844 36.3 41.4689 34.1001 42.4825 31.6555",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 24H44C44 12.9543 35.0457 4 24 4L24 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),v$=Ge("chart-ring",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M43.7756 20.9938C42.4735 12.3555 35.6463 5.5277 27.0084 4.22461M20.9757 4.22702C11.3651 5.68478 4 13.9822 4 23.9998C4 34.0212 11.3705 42.321 20.9863 43.7743C21.9692 43.9228 22.9756 43.9998 24 43.9998C25.0209 43.9998 26.024 43.9233 27.0038 43.7758C35.6458 42.4741 42.4762 35.6427 43.7764 27.0003",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 16C19.5817 16 16 19.5817 16 24C16 28.4183 19.5817 32 24 32C28.4183 32 32 28.4183 32 24C32 19.5817 28.4183 16 24 16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),g$=Ge("chart-scatter",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 24C22.2091 24 24 22.2091 24 20C24 17.7909 22.2091 16 20 16C17.7909 16 16 17.7909 16 20C16 22.2091 17.7909 24 20 24Z",fill:e.colors[0]},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 16C39.7614 16 42 13.7614 42 11C42 8.23858 39.7614 6 37 6C34.2386 6 32 8.23858 32 11C32 13.7614 34.2386 16 37 16Z",fill:e.colors[0]},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 36C16.6569 36 18 34.6569 18 33C18 31.3431 16.6569 30 15 30C13.3431 30 12 31.3431 12 33C12 34.6569 13.3431 36 15 36Z",fill:e.colors[0]},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 32C34.6569 32 36 30.6569 36 29C36 27.3431 34.6569 26 33 26C31.3431 26 30 27.3431 30 29C30 30.6569 31.3431 32 33 32Z",fill:e.colors[0]},null)])}),A$=Ge("check-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),R$=Ge("clear",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 5.91406H28V13.9141H43V21.9141H5V13.9141H20V5.91406Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M8 40H40V22H8V40Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 39.8977V33.8977",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),y$=Ge("click",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 22L42 26L36 30L42 36L36 42L30 36L26 42L22 22Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M38.1421 9.85789L32.4853 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M9.85787 38.1421L15.5147 32.4853",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M4 24H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M9.85795 9.85787L15.5148 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),x$=Ge("close",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),b$=Ge("close-one",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),S$=Ge("close-small",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M14 14L34 34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 34L34 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),M$=Ge("code",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M16 13L4 25.4322L16 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 13L44 25.4322L32 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M28 4L21 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),w$=Ge("color-filter",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 40.9444C26.123 42.8446 28.9266 44 32 44C38.6274 44 44 38.6274 44 32C44 26.4085 40.1757 21.7102 35 20.3781",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M13 20.3781C7.82432 21.7102 4 26.4085 4 32C4 38.6274 9.37258 44 16 44C22.6274 44 28 38.6274 28 32C28 30.4506 27.7063 28.9697 27.1716 27.6101",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 28C30.6274 28 36 22.6274 36 16C36 9.37258 30.6274 4 24 4C17.3726 4 12 9.37258 12 16C12 22.6274 17.3726 28 24 28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),L$=Ge("comment",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M44 6H4V36H13V41L23 36H44V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),O$=Ge("connection",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M39 34L44 39L39 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 8L20 8C22.2091 8 24 9.79086 24 12V35C24 37.2091 25.7909 39 28 39H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),T$=Ge("copy",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),k$=Ge("delete",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M9 10V44H39V10H9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M20 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M28 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M4 10H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),N$=Ge("down",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),P$=Ge("download",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 24.0083V42H42V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M33 23L24 32L15 23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M23.9917 6V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),C$=Ge("edit",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M7 42H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),I$=Ge("effects",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24.9507 42.3603L30.4164 30.3695L43.1046 26.6501L33.3383 17.7699L33.7059 4.60732L22.2044 11.1099L9.74329 6.69439L12.4013 19.5934L4.33228 30.027L17.4766 31.4965L24.9507 42.3603Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M36.1777 36.0537L44.1777 44.0179",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),F$=Ge("erase",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M4 42H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M31 4L7 28L13 34H21L41 14L31 4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_$=Ge("fill",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("rect",{x:"14",y:"14",width:"20",height:"20",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 23L23 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M25 14L14 25",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34 14L14 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 22V34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M22 14H34V26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),E$=Ge("flip-horizontally",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M4 34L16 12V34H4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M44 34H32V12L44 34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),X$=Ge("flip-vertically",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M42 24L6 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 4L36 16H14V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 44V32H36L14 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),W$=Ge("font-size",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M8 10.9333L8 6H40V10.9333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),V$=Ge("format",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"8",y:"24",width:"32",height:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M4 13H18V6H30V13H44V24H4V13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 32L16 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),U$=Ge("format-brush",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M34 5H6V20H34V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34.0251 12H43V28.1014L19 31.2004V43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Y$=Ge("formula",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M40 9L37 6H8L26 24L8 42H37L40 39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Q$=Ge("full-screen",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Z$=Ge("full-screen-one",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),B$=Ge("full-screen-play",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M16 40H6C4.89543 40 4 39.1046 4 38V10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 24H26C24.8954 24 24 24.8954 24 26V38C24 39.1046 24.8954 40 26 40H42C43.1046 40 44 39.1046 44 38V26C44 24.8954 43.1046 24 42 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),D$=Ge("fullwidth",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M42 6V42M17 19L12 24M12 24L17 29M12 24H36M31 19L36 24M36 24L31 29M6 6L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),K$=Ge("github",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",fill:e.colors[0]},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.1833 45.4716C18.9898 45.2219 18.9898 42.9973 19.1833 38.798C17.1114 38.8696 15.8024 38.7258 15.2563 38.3667C14.437 37.828 13.6169 36.1667 12.8891 34.9959C12.1614 33.8251 10.5463 33.64 9.89405 33.3783C9.24182 33.1165 9.07809 32.0496 11.6913 32.8565C14.3044 33.6634 14.4319 35.8607 15.2563 36.3745C16.0806 36.8883 18.0515 36.6635 18.9448 36.2519C19.8382 35.8403 19.7724 34.3078 19.9317 33.7007C20.1331 33.134 19.4233 33.0083 19.4077 33.0037C18.5355 33.0037 13.9539 32.0073 12.6955 27.5706C11.437 23.134 13.0581 20.2341 13.9229 18.9875C14.4995 18.1564 14.4485 16.3852 13.7699 13.6737C16.2335 13.3589 18.1347 14.1343 19.4734 16.0001C19.4747 16.0108 21.2285 14.9572 24.0003 14.9572C26.772 14.9572 27.7553 15.8154 28.5142 16.0001C29.2731 16.1848 29.88 12.7341 34.5668 13.6737C33.5883 15.5969 32.7689 18.0001 33.3943 18.9875C34.0198 19.9749 36.4745 23.1147 34.9666 27.5706C33.9614 30.5413 31.9853 32.3523 29.0384 33.0037C28.7005 33.1115 28.5315 33.2855 28.5315 33.5255C28.5315 33.8856 28.9884 33.9249 29.6465 35.6117C30.0853 36.7362 30.117 39.948 29.7416 45.247C28.7906 45.4891 28.0508 45.6516 27.5221 45.7347C26.5847 45.882 25.5669 45.9646 24.5669 45.9965C23.5669 46.0284 23.2196 46.0248 21.837 45.8961C20.9154 45.8103 20.0308 45.6688 19.1833 45.4716Z",fill:e.colors[0]},null)])}),H$=Ge("graphic-design",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M19 32C11.268 32 5 25.732 5 18C5 10.268 11.268 4 19 4C26.732 4 33 10.268 33 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M44 18H18V44H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),G$=Ge("group",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M12 4H4V12H12V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M44 36H36V44H44V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 36H4V44H12V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M44 4H36V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M8 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M40 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 8H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 16H25.6V22.4H32V32H22.4V25.6H16V16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),J$=Ge("hamburger-button",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M7.94971 11.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M7.94971 23.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M7.94971 35.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),z$=Ge("high-light",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 44L6 25H12V17H36V25H42V44H6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M17 17V8L31 4V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$$=Ge("indent-left",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 9H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M19 19H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M19 29H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M11 19L6 24L11 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 39H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),j$=Ge("indent-right",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M29 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M29 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M37 19L42 24L37 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),q$=Ge("info",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:e.colors[2]},null),L("path",{d:"M24.5 34V20H23.5H22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 34H28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ej=Ge("insert-table",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M39.3 6H8.7C7.20883 6 6 7.20883 6 8.7V39.3C6 40.7912 7.20883 42 8.7 42H39.3C40.7912 42 42 40.7912 42 39.3V8.7C42 7.20883 40.7912 6 39.3 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth},null),L("path",{d:"M18 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M30 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M6 18H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M6 30H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),tj=Ge("left",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M31 36L19 24L31 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nj=Ge("left-two",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 5L6 24L24 43L24 31L42 31V17H24V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),rj=Ge("link-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M26.2401 16.373L17.1001 7.23303C14.4388 4.57168 10.0653 4.6303 7.33158 7.36397C4.59791 10.0976 4.53929 14.4712 7.20064 17.1325L15.1359 25.0678",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32.9027 23.0031L40.838 30.9384C43.4994 33.5998 43.4407 37.9733 40.7071 40.707C37.9734 43.4407 33.5999 43.4993 30.9385 40.8379L21.7985 31.6979",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M26.1093 26.1416C28.843 23.4079 28.9016 19.0344 26.2403 16.373",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21.7989 21.7984C19.0652 24.5321 19.0066 28.9056 21.6679 31.5669",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),oj=Ge("list",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M5 10L8 13L14 7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M5 24L8 27L14 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M5 38L8 41L14 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ij=Ge("list-view",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"4",y:"6",width:"40",height:"36",rx:"3",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M20 24H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M20 32H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 24H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 32H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),aj=Ge("lock",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"6",y:"22",width:"36",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 22V14C14 8.47715 18.4772 4 24 4C29.5228 4 34 8.47715 34 14V22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),sj=Ge("logout",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lj=Ge("magic",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M20.1005 8.1005L24.3431 12.3431M30 4V10V4ZM39.8995 8.1005L35.6569 12.3431L39.8995 8.1005ZM44 18H38H44ZM39.8995 27.8995L35.6569 23.6569L39.8995 27.8995ZM30 32V26V32ZM20.1005 27.8995L24.3431 23.6569L20.1005 27.8995ZM16 18H22H16Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M29.5856 18.4143L5.54395 42.4559",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cj=Ge("minus",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M10.5 24L38.5 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),uj=Ge("move-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M8 6L43 25L24 27L13.9948 44L8 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),fj=Ge("needle",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("g",{"clip-path":"url(#"+e.id+"3d50a8e2)"},[L("path",{d:"M39 23L25 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M43.9995 17L30.9995 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34.999 18.999L39.999 13.999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M28.999 12.999L33.999 7.99902",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M11 37L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M27.9999 12.0001L11.9999 27.9998L10.9999 37L19.9999 35.9998L35.9999 20.0001L27.9999 12.0001Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)]),L("defs",null,[L("clipPath",{id:e.id+"3d50a8e2"},[L("rect",{width:"48",height:"48",fill:e.colors[2]},null)])])])}),dj=Ge("next",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 40.8361C8.89307 34.8632 13.2383 31.4739 17.0356 30.6682C20.8329 29.8625 24.4483 29.7408 27.8818 30.303V41L44 23.5453L27.8818 7V17.167C21.5333 17.2172 16.1362 19.4948 11.6905 24C7.24474 28.5052 4.68126 34.1172 4 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),hj=Ge("off-screen-one",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 7V16H41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 7V16H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 41V32H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 41V32H40.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),pj=Ge("ordered-list",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M9 4V13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 27H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 19.9998C6 19.9998 9 16.9998 11 19.9998C13 22.9999 6 26.9998 6 26.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6.00016 34.5001C6.00016 34.5001 8.00016 31.5 11.0002 33.5C14.0002 35.5 11.0002 38 11.0002 38C11.0002 38 14.0002 40.5 11.0002 42.5C8.00015 44.5 6.00015 41.5 6.00015 41.5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M11 38H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M9 4L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),mj=Ge("pause",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M16 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vj=Ge("picture",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M18 23C20.7614 23 23 20.7614 23 18C23 15.2386 20.7614 13 18 13C15.2386 13 13 15.2386 13 18C13 20.7614 15.2386 23 18 23Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M27.7901 26.2194C28.6064 25.1269 30.2528 25.1538 31.0329 26.2725L39.8077 38.8561C40.7322 40.182 39.7835 42.0001 38.1671 42.0001H16L27.7901 26.2194Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),gj=Ge("platte",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 44C29.9601 44 26.3359 35.136 30 31C33.1264 27.4709 44 29.0856 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M28 17C29.6569 17 31 15.6569 31 14C31 12.3431 29.6569 11 28 11C26.3431 11 25 12.3431 25 14C25 15.6569 26.3431 17 28 17Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 21C17.6569 21 19 19.6569 19 18C19 16.3431 17.6569 15 16 15C14.3431 15 13 16.3431 13 18C13 19.6569 14.3431 21 16 21Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M17 34C18.6569 34 20 32.6569 20 31C20 29.3431 18.6569 28 17 28C15.3431 28 14 29.3431 14 31C14 32.6569 15.3431 34 17 34Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Aj=Ge("play-one",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Rj=Ge("plus",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24.0605 10L24.0239 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M10 24L38 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yj=Ge("power",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M14.5 8C13.8406 8.37652 13.2062 8.79103 12.6 9.24051C11.5625 10.0097 10.6074 10.8814 9.75 11.8402C6.79377 15.1463 5 19.4891 5 24.2455C5 34.6033 13.5066 43 24 43C34.4934 43 43 34.6033 43 24.2455C43 19.4891 41.2062 15.1463 38.25 11.8402C37.3926 10.8814 36.4375 10.0097 35.4 9.24051C34.7938 8.79103 34.1594 8.37652 33.5 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),xj=Ge("ppt",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M4 8H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 8H40V34H8V8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M22 16L27 21L22 26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 42L24 34L32 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bj=Ge("preview-close",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M6 16C6.63472 17.2193 7.59646 18.3504 8.82276 19.3554C12.261 22.1733 17.779 24 24 24C30.221 24 35.739 22.1733 39.1772 19.3554C40.4035 18.3504 41.3653 17.2193 42 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M28.9775 24L31.048 31.7274",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M37.3535 21.3536L43.0103 27.0104",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M5.00004 27.0103L10.6569 21.3534",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16.9278 31.7276L18.9983 24.0001",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Sj=Ge("preview-open",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 36C35.0457 36 44 24 44 24C44 24 35.0457 12 24 12C12.9543 12 4 24 4 24C4 24 12.9543 36 24 36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 29C26.7614 29 29 26.7614 29 24C29 21.2386 26.7614 19 24 19C21.2386 19 19 21.2386 19 24C19 26.7614 21.2386 29 24 29Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Mj=Ge("quote",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.8533 9.11587C11.3227 13.9521 7.13913 19.5811 6.30256 26.0028C5.00021 35.9999 13.9404 40.8932 18.4703 36.4966C23.0002 32.1 20.2848 26.5195 17.0047 24.9941C13.7246 23.4686 11.7187 23.9999 12.0686 21.9614C12.4185 19.923 17.0851 14.2712 21.1849 11.6391C21.4569 11.4078 21.5604 10.959 21.2985 10.6185C21.1262 10.3946 20.7883 9.95545 20.2848 9.30102C19.8445 8.72875 19.4227 8.75017 18.8533 9.11587Z",fill:e.colors[0]},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.6789 9.11587C31.1484 13.9521 26.9648 19.5811 26.1282 26.0028C24.8259 35.9999 33.7661 40.8932 38.296 36.4966C42.8259 32.1 40.1105 26.5195 36.8304 24.9941C33.5503 23.4686 31.5443 23.9999 31.8943 21.9614C32.2442 19.923 36.9108 14.2712 41.0106 11.6391C41.2826 11.4078 41.3861 10.959 41.1241 10.6185C40.9519 10.3946 40.614 9.95545 40.1105 9.30102C39.6702 8.72875 39.2484 8.75017 38.6789 9.11587Z",fill:e.colors[0]},null)])}),wj=Ge("right",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M19 12L31 24L19 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Lj=Ge("right-two",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 43L42 24L24 5L24 17L6 17V31H24V43Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Oj=Ge("rotate",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M12 24H42V42H12V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 8V17H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M38.4747 13.2985C35.1956 8.87049 29.933 6 24 6C18.1788 6 13.0029 8.76334 9.71272 13.0498L6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Tj=Ge("round",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),kj=Ge("row-height",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M16 35L10 41L4 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 13L10 7L4 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M10 7V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M44 9H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M36 19H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M44 29H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M36 39H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Nj=Ge("search",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Pj=Ge("send-to-back",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M14 21H5V5H21V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 27H43V43H27V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 32V14H32V32H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Cj=Ge("sent-to-back",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M30 18H41C41.5523 18 42 18.4477 42 19V41C42 41.5523 41.5523 42 41 42H19C18.4477 42 18 41.5523 18 41V30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M26 30H29.9971V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M26.0023 6H30V9.99785",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M6 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M30 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M15.9922 30H19.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ij=Ge("square",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),Fj=Ge("stopwatch-start",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 44C33.3888 44 41 36.3888 41 27C41 17.6112 33.3888 10 24 10C14.6112 10 7 17.6112 7 27C7 36.3888 14.6112 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M18 4H30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 19V27",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 27H24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 4V8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_j=Ge("strikethrough",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 24C40 30 34 44 24 44C13.9999 44 12 36 12 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M35.9999 12C35.9999 12 33 4 23.9999 4C14.9999 4 11.4359 11.5995 15.6096 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 36C12 36 15.9999 44 24 44C32 44 36.564 36.4005 32.3903 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ej=Ge("tailoring",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M12 4V36H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M20 12H36V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 12H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M36 44V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Xj=Ge("text",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M16 19V16H32V19",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M22 34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 18L24 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Wj=Ge("text-bold",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 24C29.5056 24 33.9688 19.5228 33.9688 14C33.9688 8.47715 29.5056 4 24 4H11V24H24Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M28.0312 44C33.5368 44 38 39.5228 38 34C38 28.4772 33.5368 24 28.0312 24H11V44H28.0312Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Vj=Ge("text-italic",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M20 6H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M12 42H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M29 5.95215L19 41.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Uj=Ge("text-rotation-down",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M29 35L21 31.3333M29 13L21 16.6667M21 16.6667L17 18.5L5 24L17 29.5L21 31.3333M21 16.6667V31.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M37 6V42L43 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Yj=Ge("text-rotation-none",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M13 29L16.6667 21M35 29L31.3333 21M31.3333 21L29.5 17L24 5L18.5 17L16.6667 21M31.3333 21H16.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 37H42L36 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Qj=Ge("text-underline",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M8 44H40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M37 6.09717C37 12.7638 37 15.3335 37 22.0002C37 29.1799 31.1797 35.0002 24 35.0002C16.8203 35.0002 11 29.1799 11 22.0002C11 15.3335 11 12.7638 11 6.09717",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Zj=Ge("theme",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M18 6C18 9.31371 20.6863 12 24 12C27.3137 12 30 9.31371 30 6H35.4545L42 15.8182L36.2727 20.7273V42H11.7273V20.7273L6 15.8182L12.5455 6H18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Bj=Ge("transform",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("circle",{cx:"13.7146",cy:"13.7141",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("circle",{cx:"34.2859",cy:"34.2854",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24.001 44C12.9553 44 4.00098 35.0457 4.00098 24L10.6676 27.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24.001 4C35.0467 4 44.001 12.9543 44.001 24L37.3343 20.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Dj=Ge("undo",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M11.2721 36.7279C14.5294 39.9853 19.0294 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C19.0294 6 14.5294 8.01472 11.2721 11.2721C9.61407 12.9301 6 17 6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 9V17H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Kj=Ge("ungroup",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M43.9998 36.7271H36.7271V43.9998H43.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M23.9998 36.7271H16.7271V43.9998H23.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M43.9998 16.7271H36.7271V23.9998H43.9998V16.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M11.2729 7.63623H24.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 40.3638H36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M11.2729 27.6366H27.6366V11.2729",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M28.8275 20.3633H36.7269M20.3633 36.7269V27.6282V36.7269Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M7.63672 11.2725V23.9997",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M40.3633 24V36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hj=Ge("unlock",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{x:"7",y:"22.0476",width:"34",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 22V14.0047C13.9948 8.87022 17.9227 4.56718 23.0859 4.05117C28.249 3.53516 32.9673 6.97408 34 12.0059",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gj=Ge("up",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Jj=Ge("user",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("circle",{cx:"24",cy:"12",r:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zj=Ge("vertical-spacing-between-items",!1,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M8 6V12H40V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M14 24H34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),L("path",{d:"M8 42V36H40V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$j=Ge("video-two",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M20.5 28V21.9378L25.75 24.9689L31 28L25.75 31.0311L20.5 34.0622V28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M6 15H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M33 6L27 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M21 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),jj=Ge("volume-mute",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("rect",{opacity:"0.01",x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null),L("mask",{id:e.id+"603476ab",maskUnits:"userSpaceOnUse",x:"30",y:"18",width:"13",height:"13",style:{maskType:"alpha"}},[L("rect",{x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null)]),L("g",{mask:"url(#"+e.id+"603476ab)"},[L("path",{d:"M40.7348 20.2858L32.2495 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32.2496 20.2858L40.7349 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)]),L("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),qj=Ge("volume-notice",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M34.2359 41.1857C40.0836 37.6953 44 31.305 44 24C44 16.8085 40.2043 10.5035 34.507 6.97906",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),eq=Ge("volume-small",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),tq=Ge("write",!0,function(e){return L("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[L("path",{d:"M5.32497 43.4996L13.81 43.4998L44.9227 12.3871L36.4374 3.90186L5.32471 35.0146L5.32497 43.4996Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),L("path",{d:"M27.9521 12.3872L36.4374 20.8725",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Vv={IconPlayOne:Aj,IconFullScreenPlay:B$,IconLock:aj,IconUnlock:Hj,IconPpt:xj,IconFormat:V$,IconPicture:vj,IconFullScreen:Q$,IconList:oj,IconOrderedList:pj,IconFlipVertically:X$,IconFlipHorizontally:E$,IconFontSize:W$,IconCode:M$,IconTextBold:Wj,IconTextItalic:Vj,IconTextUnderline:Qj,IconStrikethrough:_j,IconEdit:C$,IconQuote:Mj,IconBackgroundColor:s$,IconGroup:G$,IconUngroup:Kj,IconBack:a$,IconNext:dj,IconFullwidth:D$,IconAlignTop:n$,IconAlignLeft:Hz,IconAlignRight:Gz,IconAlignBottom:Dz,IconAlignVertically:r$,IconAlignHorizontally:Kz,IconBringToFront:l$,IconSendToBack:Pj,IconAlignTextLeft:jz,IconAlignTextRight:e$,IconAlignTextCenter:$z,IconAlignTextBoth:Jz,IconRowHeight:kj,IconWrite:tq,IconInsertTable:ej,IconAddText:Bz,IconFill:_$,IconTailoring:Ej,IconEffects:I$,IconColorFilter:w$,IconUp:Gj,IconDown:N$,IconPlus:Rj,IconMinus:cj,IconConnection:O$,IconBringToFrontOne:c$,IconSentToBack:Cj,IconGithub:K$,IconChartProportion:m$,IconChartHistogram:u$,IconChartHistogramOne:f$,IconChartLineArea:h$,IconChartRing:v$,IconChartScatter:g$,IconChartLine:d$,IconChartPie:p$,IconText:Xj,IconRotate:Oj,IconLeftTwo:nj,IconRightTwo:Lj,IconPlatte:gj,IconClose:x$,IconCloseSmall:S$,IconUndo:Dj,IconTransform:Bj,IconClick:y$,IconTheme:Zj,IconArrowCircleLeft:o$,IconGraphicDesign:H$,IconLogout:sj,IconErase:F$,IconClear:R$,IconAlignTextTopOne:t$,IconAlignTextBottomOne:zz,IconAlignTextMiddleOne:qz,IconPause:mj,IconVolumeMute:jj,IconVolumeNotice:qj,IconVolumeSmall:eq,IconVideoTwo:$j,IconFormula:Y$,IconLinkOne:rj,IconFullScreenOne:Z$,IconOffScreenOne:hj,IconPower:yj,IconListView:ij,IconMagic:lj,IconHighLight:z$,IconDownload:P$,IconIndentLeft:$$,IconIndentRight:j$,IconVerticalSpacingBetweenItems:zj,IconCopy:T$,IconDelete:k$,IconSquare:Ij,IconRound:Tj,IconNeedle:fj,IconTextRotationNone:Yj,IconTextRotationDown:Uj,IconFormatBrush:U$,IconPreviewOpen:Sj,IconPreviewClose:bj,IconStopwatchStart:Fj,IconSearch:Nj,IconLeft:tj,IconRight:wj,IconMoveOne:uj,IconHamburgerButton:J$,IconAttention:i$,IconCheckOne:A$,IconCloseOne:b$,IconInfo:q$,IconComment:L$,IconUser:Jj},nq={install(e){for(const t of Object.keys(Vv))e.component(t,Vv[t])}},rq=["id"],oq={class:"icons"},iq={class:"content"},aq={key:0,class:"title"},sq={class:"description"},lq={key:0,class:"control"},cq=Ie({__name:"Message",props:{id:{},message:{},type:{default:"success"},title:{default:""},duration:{default:3e3},closable:{type:Boolean,default:!1}},emits:["close","destroy"],setup(e,{expose:t,emit:n}){const{IconAttention:r,IconCheckOne:o,IconCloseOne:i,IconInfo:a,IconCloseSmall:s}=Vv,c=e,l=n,u=he(!0),f=he(null),d=()=>{c.duration<=0||(f.value=setTimeout(p,c.duration))},h=()=>{f.value&&clearTimeout(f.value)},p=()=>u.value=!1;return zx(()=>{h()}),Gt(()=>{d()}),t({close:p}),(m,A)=>(Y(),Te(Ou,{name:"message-fade",appear:"",mode:"in-out",onBeforeLeave:A[3]||(A[3]=x=>l("close")),onAfterLeave:A[4]||(A[4]=x=>l("destroy"))},{default:ie(()=>[u.value?(Y(),ee("div",{key:0,class:"message",id:m.id},[V("div",{class:"message-container",onMouseenter:A[1]||(A[1]=x=>h()),onMouseleave:A[2]||(A[2]=x=>d())},[V("div",oq,[m.type==="warning"?(Y(),Te(G(r),{key:0,theme:"filled",size:"18",fill:"#faad14"})):Ze("",!0),m.type==="success"?(Y(),Te(G(o),{key:1,theme:"filled",size:"18",fill:"#52c41a"})):Ze("",!0),m.type==="error"?(Y(),Te(G(i),{key:2,theme:"filled",size:"18",fill:"#ff4d4f"})):Ze("",!0),m.type==="info"?(Y(),Te(G(a),{key:3,theme:"filled",size:"18",fill:"#1677ff"})):Ze("",!0)]),V("div",iq,[m.title?(Y(),ee("div",aq,gt(m.title),1)):Ze("",!0),V("div",sq,gt(m.message),1)]),m.closable?(Y(),ee("div",lq,[V("span",{class:"close-btn",onClick:A[0]||(A[0]=x=>p())},[L(G(s))])])):Ze("",!0)],32)],8,rq)):Ze("",!0)]),_:1}))}}),Xe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},uq=Xe(cq,[["__scopeId","data-v-5f638602"]]),h3=[];let Va=null,fq=0;const dq={duration:3e3},bn=e=>{const t="message-"+fq++,n={...dq,...e,id:t};Va||(Va=document.createElement("div"),Va.className="message-wrap",Va.style.cssText=` + */return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function o(s){if((s>>24&255)===255){var c=s>>16&255,l=s>>8&255,u=s&255;c===255?(c=0,l===255?(l=0,u===255?u=0:++u):++l):++c,s=0,s+=c<<16,s+=l<<8,s+=u}else s+=1<<24;return s}function i(s){return(s[0]=o(s[0]))===0&&(s[1]=o(s[1])),s}var a=r.Encryptor=r.extend({processBlock:function(s,c){var l=this._cipher,u=l.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),i(d);var h=d.slice(0);l.encryptBlock(h,0);for(var p=0;p>>2]|=s<<24-c%4*8,r.sigBytes+=s},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Ansix923})}(ER)),ER.exports}var XR={exports:{}},fw;function Tz(){return fw||(fw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.pad.Iso10126={pad:function(r,o){var i=o*4,a=i-r.sigBytes%i;r.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(r){var o=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=o}},n.pad.Iso10126})}(XR)),XR.exports}var WR={exports:{}},dw;function kz(){return dw||(dw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.pad.Iso97971={pad:function(r,o){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,o)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(WR)),WR.exports}var VR={exports:{}},hw;function Nz(){return hw||(hw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.pad.ZeroPadding={pad:function(r,o){var i=o*4;r.clamp(),r.sigBytes+=i-(r.sigBytes%i||i)},unpad:function(r){for(var o=r.words,i=r.sigBytes-1,i=r.sigBytes-1;i>=0;i--)if(o[i>>>2]>>>24-i%4*8&255){r.sigBytes=i+1;break}}},n.pad.ZeroPadding})}(VR)),VR.exports}var UR={exports:{}},pw;function Pz(){return pw||(pw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(UR)),UR.exports}var YR={exports:{}},mw;function Cz(){return mw||(mw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Dr())})(Nt,function(n){return function(r){var o=n,i=o.lib,a=i.CipherParams,s=o.enc,c=s.Hex,l=o.format;l.Hex={stringify:function(u){return u.ciphertext.toString(c)},parse:function(u){var f=c.parse(u);return a.create({ciphertext:f})}}}(),n.format.Hex})}(YR)),YR.exports}var QR={exports:{}},vw;function Iz(){return vw||(vw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),xc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,a=r.algo,s=[],c=[],l=[],u=[],f=[],d=[],h=[],p=[],m=[],A=[];(function(){for(var R=[],g=0;g<256;g++)g<128?R[g]=g<<1:R[g]=g<<1^283;for(var b=0,L=0,g=0;g<256;g++){var T=L^L<<1^L<<2^L<<3^L<<4;T=T>>>8^T&255^99,s[b]=T,c[T]=b;var M=R[b],w=R[M],k=R[w],_=R[T]*257^T*16843008;l[b]=_<<24|_>>>8,u[b]=_<<16|_>>>16,f[b]=_<<8|_>>>24,d[b]=_;var _=k*16843009^w*65537^M*257^b*16843008;h[T]=_<<24|_>>>8,p[T]=_<<16|_>>>16,m[T]=_<<8|_>>>24,A[T]=_,b?(b=M^R[R[R[k^M]]],L^=R[R[L]]):b=L=1}})();var x=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=i.extend({_doReset:function(){var R;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,b=g.words,L=g.sigBytes/4,T=this._nRounds=L+6,M=(T+1)*4,w=this._keySchedule=[],k=0;k6&&k%L==4&&(R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255]):(R=R<<8|R>>>24,R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255],R^=x[k/L|0]<<24),w[k]=w[k-L]^R);for(var _=this._invKeySchedule=[],P=0;P>>24]]^p[s[R>>>16&255]]^m[s[R>>>8&255]]^A[s[R&255]]}}},encryptBlock:function(R,g){this._doCryptBlock(R,g,this._keySchedule,l,u,f,d,s)},decryptBlock:function(R,g){var b=R[g+1];R[g+1]=R[g+3],R[g+3]=b,this._doCryptBlock(R,g,this._invKeySchedule,h,p,m,A,c);var b=R[g+1];R[g+1]=R[g+3],R[g+3]=b},_doCryptBlock:function(R,g,b,L,T,M,w,k){for(var _=this._nRounds,P=R[g]^b[0],E=R[g+1]^b[1],I=R[g+2]^b[2],F=R[g+3]^b[3],N=4,V=1;V<_;V++){var Z=L[P>>>24]^T[E>>>16&255]^M[I>>>8&255]^w[F&255]^b[N++],J=L[E>>>24]^T[I>>>16&255]^M[F>>>8&255]^w[P&255]^b[N++],se=L[I>>>24]^T[F>>>16&255]^M[P>>>8&255]^w[E&255]^b[N++],D=L[F>>>24]^T[P>>>16&255]^M[E>>>8&255]^w[I&255]^b[N++];P=Z,E=J,I=se,F=D}var Z=(k[P>>>24]<<24|k[E>>>16&255]<<16|k[I>>>8&255]<<8|k[F&255])^b[N++],J=(k[E>>>24]<<24|k[I>>>16&255]<<16|k[F>>>8&255]<<8|k[P&255])^b[N++],se=(k[I>>>24]<<24|k[F>>>16&255]<<16|k[P>>>8&255]<<8|k[E&255])^b[N++],D=(k[F>>>24]<<24|k[P>>>16&255]<<16|k[E>>>8&255]<<8|k[I&255])^b[N++];R[g]=Z,R[g+1]=J,R[g+2]=se,R[g+3]=D},keySize:256/32});r.AES=i._createHelper(y)}(),n.AES})}(QR)),QR.exports}var ZR={exports:{}},gw;function Fz(){return gw||(gw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),xc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.WordArray,a=o.BlockCipher,s=r.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=s.DES=a.extend({_doReset:function(){for(var x=this._key,y=x.words,R=[],g=0;g<56;g++){var b=c[g]-1;R[g]=y[b>>>5]>>>31-b%32&1}for(var L=this._subKeys=[],T=0;T<16;T++){for(var M=L[T]=[],w=u[T],g=0;g<24;g++)M[g/6|0]|=R[(l[g]-1+w)%28]<<31-g%6,M[4+(g/6|0)]|=R[28+(l[g+24]-1+w)%28]<<31-g%6;M[0]=M[0]<<1|M[0]>>>31;for(var g=1;g<7;g++)M[g]=M[g]>>>(g-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var k=this._invSubKeys=[],g=0;g<16;g++)k[g]=L[15-g]},encryptBlock:function(x,y){this._doCryptBlock(x,y,this._subKeys)},decryptBlock:function(x,y){this._doCryptBlock(x,y,this._invSubKeys)},_doCryptBlock:function(x,y,R){this._lBlock=x[y],this._rBlock=x[y+1],p.call(this,4,252645135),p.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),p.call(this,1,1431655765);for(var g=0;g<16;g++){for(var b=R[g],L=this._lBlock,T=this._rBlock,M=0,w=0;w<8;w++)M|=f[w][((T^b[w])&d[w])>>>0];this._lBlock=T,this._rBlock=L^M}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,p.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),x[y]=this._lBlock,x[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(x,y){var R=(this._lBlock>>>x^this._rBlock)&y;this._rBlock^=R,this._lBlock^=R<>>x^this._lBlock)&y;this._lBlock^=R,this._rBlock^=R<192.");var R=y.slice(0,2),g=y.length<4?y.slice(0,2):y.slice(2,4),b=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=h.createEncryptor(i.create(R)),this._des2=h.createEncryptor(i.create(g)),this._des3=h.createEncryptor(i.create(b))},encryptBlock:function(x,y){this._des1.encryptBlock(x,y),this._des2.decryptBlock(x,y),this._des3.encryptBlock(x,y)},decryptBlock:function(x,y){this._des3.decryptBlock(x,y),this._des2.encryptBlock(x,y),this._des1.decryptBlock(x,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=a._createHelper(A)}(),n.TripleDES})}(ZR)),ZR.exports}var BR={exports:{}},Aw;function _z(){return Aw||(Aw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),xc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=a.RC4=i.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,m=0;p<256;p++){var A=p%d,x=f[A>>>2]>>>24-A%4*8&255;m=(m+h[p]+x)%256;var y=h[p];h[p]=h[m],h[m]=y}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=c.call(this)},keySize:256/32,ivSize:0});function c(){for(var u=this._S,f=this._i,d=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,d=(d+u[f])%256;var m=u[f];u[f]=u[d],u[d]=m,h|=u[(u[f]+u[d])%256]<<24-p*8}return this._i=f,this._j=d,h}r.RC4=i._createHelper(s);var l=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)c.call(this)}});r.RC4Drop=i._createHelper(l)}(),n.RC4})}(BR)),BR.exports}var DR={exports:{}},Rw;function Ez(){return Rw||(Rw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),xc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=[],c=[],l=[],u=a.Rabbit=i.extend({_doReset:function(){for(var d=this._key.words,h=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var m=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],A=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)A[p]^=m[p+4&7];if(h){var x=h.words,y=x[0],R=x[1],g=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,L=g>>>16|b&4294901760,T=b<<16|g&65535;A[0]^=g,A[1]^=L,A[2]^=b,A[3]^=T,A[4]^=g,A[5]^=L,A[6]^=b,A[7]^=T;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,d[h+m]^=s[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)c[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var m=d[p]+h[p],A=m&65535,x=m>>>16,y=((A*A>>>17)+A*x>>>15)+x*x,R=((m&4294901760)*m|0)+((m&65535)*m|0);l[p]=y^R}d[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,d[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,d[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,d[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,d[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,d[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,d[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,d[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.Rabbit=i._createHelper(u)}(),n.Rabbit})}(DR)),DR.exports}var KR={exports:{}},yw;function Xz(){return yw||(yw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),xc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.StreamCipher,a=r.algo,s=[],c=[],l=[],u=a.RabbitLegacy=i.extend({_doReset:function(){var d=this._key.words,h=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],m=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var A=0;A<4;A++)f.call(this);for(var A=0;A<8;A++)m[A]^=p[A+4&7];if(h){var x=h.words,y=x[0],R=x[1],g=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,L=g>>>16|b&4294901760,T=b<<16|g&65535;m[0]^=g,m[1]^=L,m[2]^=b,m[3]^=T,m[4]^=g,m[5]^=L,m[6]^=b,m[7]^=T;for(var A=0;A<4;A++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,d[h+m]^=s[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)c[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var m=d[p]+h[p],A=m&65535,x=m>>>16,y=((A*A>>>17)+A*x>>>15)+x*x,R=((m&4294901760)*m|0)+((m&65535)*m|0);l[p]=y^R}d[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,d[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,d[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,d[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,d[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,d[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,d[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,d[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}r.RabbitLegacy=i._createHelper(u)}(),n.RabbitLegacy})}(KR)),KR.exports}var HR={exports:{}},bw;function Wz(){return bw||(bw=1,function(e,t){(function(n,r,o){e.exports=r(Mn(),Du(),Ku(),xc(),Dr())})(Nt,function(n){return function(){var r=n,o=r.lib,i=o.BlockCipher,a=r.algo;const s=16,c=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(A,x){let y=x>>24&255,R=x>>16&255,g=x>>8&255,b=x&255,L=A.sbox[0][y]+A.sbox[1][R];return L=L^A.sbox[2][g],L=L+A.sbox[3][b],L}function d(A,x,y){let R=x,g=y,b;for(let L=0;L1;--L)R=R^A.pbox[L],g=f(A,R)^g,b=R,R=g,g=b;return b=R,R=g,g=b,g=g^A.pbox[1],R=R^A.pbox[0],{left:R,right:g}}function p(A,x,y){for(let T=0;T<4;T++){A.sbox[T]=[];for(let M=0;M<256;M++)A.sbox[T][M]=l[T][M]}let R=0;for(let T=0;T=y&&(R=0);let g=0,b=0,L=0;for(let T=0;Th3.AES.encrypt(e,KP).toString(),HP=e=>h3.AES.decrypt(e,KP).toString(h3.enc.Utf8),GP=e=>new Promise((t,n)=>{const r=document.createElement("button"),o=new uz(r,{text:()=>e,action:()=>"copy",container:document.body});o.on("success",i=>{o.destroy(),t(i)}),o.on("error",i=>{o.destroy(),n(i)}),document.body.appendChild(r),r.click(),document.body.removeChild(r)}),JP=()=>new Promise((e,t)=>{var n;(n=navigator.clipboard)!=null&&n.readText?navigator.clipboard.readText().then(r=>(r||t("剪贴板为空或者不包含文本"),e(r))):t("浏览器不支持或禁止访问剪贴板,请使用快捷键 Ctrl + V")}),kx=e=>{let t;try{t=JSON.parse(HP(e))}catch{t=e}return t},zP=e=>{const t=e.split(`\r +`);t[t.length-1]===""&&t.pop();let n=-1;const r=[];for(const o in t){if(r[o]=t[o].split(" "),r[o].length===1)return null;if(n===-1)n=r[o].length;else if(n!==r[o].length)return null}return r},ud=e=>{const{left:t,top:n,width:r,height:o,rotate:i=0}=e,a=Math.sqrt(Math.pow(r,2)+Math.pow(o,2))/2,s=Math.atan(o/r)*180/Math.PI,c=(180-i-s)*Math.PI/180,l=(s-i)*Math.PI/180,u=t+r/2,f=n+o/2,d=[u+a*Math.cos(c),u+a*Math.cos(l),u-a*Math.cos(c),u-a*Math.cos(l)],h=[f-a*Math.sin(c),f-a*Math.sin(l),f+a*Math.sin(c),f+a*Math.sin(l)];return{xRange:[Math.min(...d),Math.max(...d)],yRange:[Math.min(...h),Math.max(...h)]}},Kf=e=>{const{xRange:t,yRange:n}=ud({left:e.left,top:e.top,width:e.width,height:e.height,rotate:0}),{xRange:r,yRange:o}=ud({left:e.left,top:e.top,width:e.width,height:e.height,rotate:e.rotate});return{offsetX:r[0]-t[0],offsetY:o[0]-n[0]}},Ma=e=>{let t,n,r,o;if(e.type==="line")t=e.left,n=e.left+Math.max(e.start[0],e.end[0]),r=e.top,o=e.top+Math.max(e.start[1],e.end[1]);else if("rotate"in e&&e.rotate){const{left:i,top:a,width:s,height:c,rotate:l}=e,{xRange:u,yRange:f}=ud({left:i,top:a,width:s,height:c,rotate:l});t=u[0],n=u[1],r=f[0],o=f[1]}else t=e.left,n=e.left+e.width,r=e.top,o=e.top+e.height;return{minX:t,maxX:n,minY:r,maxY:o}},ec=e=>{const t=[],n=[],r=[],o=[];e.forEach(l=>{const{minX:u,maxX:f,minY:d,maxY:h}=Ma(l);t.push(u),n.push(d),r.push(f),o.push(h)});const i=Math.min(...t),a=Math.max(...r),s=Math.min(...n),c=Math.max(...o);return{minX:i,maxX:a,minY:s,maxY:c}},Vv=e=>{const t=[];return e.forEach(n=>{const r=t.findIndex(o=>o.value===n.value);if(r===-1)t.push(n);else{const o=t[r],i=Math.min(o.range[0],n.range[0]),a=Math.max(o.range[1],n.range[1]),s=[i,a],c={value:n.value,range:s};t[r]=c}}),t},Uz=e=>{const t={};for(const n of e)t[n.id]=pn(10);return t},p3=e=>{const t={},n={};for(const r of e){const o=r.groupId;o&&!t[o]&&(t[o]=pn(10)),n[r.id]=pn(10)}return{groupIdMap:t,elIdMap:n}},$P=e=>{const t=rt(e);return[t.setAlpha(.3).toRgbString(),t.setAlpha(.1).toRgbString()]},Nx=e=>{const t=e.start.join(","),n=e.end.join(",");if(e.broken){const r=e.broken.join(",");return`M${t} L${r} L${n}`}else if(e.curve){const r=e.curve.join(",");return`M${t} Q${r} ${n}`}else if(e.cubic){const[r,o]=e.cubic,i=r.join(","),a=o.join(",");return`M${t} C${i} ${a} ${n}`}return`M${t} L${n}`},Yz=(e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>=r.top&&n.bottom<=r.bottom};var Qz={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function Zz(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function Bz(e,t,n){var r=typeof t.fill=="string"?[t.fill]:t.fill||[],o=[],i=t.theme||n.theme;switch(i){case"outline":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("none"),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("none");break;case"filled":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push("#FFF"),o.push("#FFF");break;case"two-tone":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone),o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":o.push(typeof r[0]=="string"?r[0]:"currentColor"),o.push(typeof r[1]=="string"?r[1]:n.colors.multiColor.outFillColor),o.push(typeof r[2]=="string"?r[2]:n.colors.multiColor.innerStrokeColor),o.push(typeof r[3]=="string"?r[3]:n.colors.multiColor.innerFillColor);break}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:o,id:e}}var Dz=Symbol("icon-context");function Je(e,t,n){var r={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(i){var a=Zz(),s=jo(Dz,Qz);return function(){var c=i.size,l=i.strokeWidth,u=i.strokeLinecap,f=i.strokeLinejoin,d=i.theme,h=i.fill,p=i.spin,m=Bz(a,{size:c,strokeWidth:l,strokeLinecap:u,strokeLinejoin:f,theme:d,fill:h},s),A=[s.prefix+"-icon"];return A.push(s.prefix+"-icon-"+e),t&&s.rtl&&A.push(s.prefix+"-icon-rtl"),p&&A.push(s.prefix+"-icon-spin"),O("span",{class:A.join(" ")},[n(m)])}}};return r}const Kz=Je("add-text",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 8H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M28 21H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M18 42L18 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M36 42L36 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Hz=Je("align-bottom",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"6",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 42H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gz=Je("align-horizontally",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"7",y:"17",width:"34",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Jz=Je("align-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"14.5",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.5 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zz=Je("align-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$z=Je("align-text-both",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),jz=Je("align-text-bottom-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27 34H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qz=Je("align-text-center",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M36 19H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 39H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),e$=Je("align-text-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),t$=Je("align-text-middle-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),n$=Je("align-text-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 19H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),r$=Je("align-text-top-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 13H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),o$=Je("align-top",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"14.5",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 6.5H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),i$=Je("align-vertically",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"7",width:"14",height:"34",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),a$=Je("arrow-circle-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.4917 24.5H14.4917",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.4917 15.5L14.4917 24.5L23.4917 33.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),s$=Je("attention",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:e.colors[2]},null),O("path",{d:"M24 12V28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),l$=Je("back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 40.8361C39.1069 34.8632 34.7617 31.4739 30.9644 30.6682C27.1671 29.8625 23.5517 29.7408 20.1182 30.303V41L4 23.5453L20.1182 7V17.167C26.4667 17.2172 31.8638 19.4948 36.3095 24C40.7553 28.5052 43.3187 34.1172 44 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),c$=Je("background-color",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 37C39.2091 37 41 35.2091 41 33C41 31.5272 39.6667 29.5272 37 27C34.3333 29.5272 33 31.5272 33 33C33 35.2091 34.7909 37 37 37Z",fill:e.colors[0]},null),O("path",{d:"M20.8535 5.50439L24.389 9.03993",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M23.6818 8.33281L8.12549 23.8892L19.4392 35.2029L34.9955 19.6465L23.6818 8.33281Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 20.0732L28.961 25.6496",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M4 43H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),u$=Je("bring-to-front",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M41 18H19C18.4477 18 18 18.4477 18 19V41C18 41.5523 18.4477 42 19 42H41C41.5523 42 42 41.5523 42 41V19C42 18.4477 41.5523 18 41 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.0023 6H30V10.0152",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 16C6 18.6536 6 19.9869 6 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 16C30 18.6765 30 19.3456 30 18.0074",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15.9922 30H17.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),f$=Je("bring-to-front-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 21V34H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 14H34V27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 21V5H21V21H5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27 43V27H43V43H27Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),d$=Je("chart-histogram",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 30V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 22V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 6V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38 14V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),h$=Je("chart-histogram-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 34H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 26H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 18H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 10L14 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),p$=Je("chart-line",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L22 18L32 27L42 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),m$=Je("chart-line-area",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),v$=Je("chart-pie",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4V24H44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.0844 18H30V4.91553C36.2202 6.86917 41.1308 11.7798 43.0844 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),g$=Je("chart-proportion",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16.3446 5.51758C13.9 6.53124 11.7001 8.01574 9.85786 9.85797C6.23858 13.4773 4 18.4773 4 24.0001C4 35.0458 12.9543 44.0001 24 44.0001V44.0001C29.5228 44.0001 34.5228 41.7615 38.1421 38.1422C39.9844 36.3 41.4689 34.1001 42.4825 31.6555",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 24H44C44 12.9543 35.0457 4 24 4L24 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),A$=Je("chart-ring",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M43.7756 20.9938C42.4735 12.3555 35.6463 5.5277 27.0084 4.22461M20.9757 4.22702C11.3651 5.68478 4 13.9822 4 23.9998C4 34.0212 11.3705 42.321 20.9863 43.7743C21.9692 43.9228 22.9756 43.9998 24 43.9998C25.0209 43.9998 26.024 43.9233 27.0038 43.7758C35.6458 42.4741 42.4762 35.6427 43.7764 27.0003",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 16C19.5817 16 16 19.5817 16 24C16 28.4183 19.5817 32 24 32C28.4183 32 32 28.4183 32 24C32 19.5817 28.4183 16 24 16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),R$=Je("chart-scatter",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 24C22.2091 24 24 22.2091 24 20C24 17.7909 22.2091 16 20 16C17.7909 16 16 17.7909 16 20C16 22.2091 17.7909 24 20 24Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 16C39.7614 16 42 13.7614 42 11C42 8.23858 39.7614 6 37 6C34.2386 6 32 8.23858 32 11C32 13.7614 34.2386 16 37 16Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 36C16.6569 36 18 34.6569 18 33C18 31.3431 16.6569 30 15 30C13.3431 30 12 31.3431 12 33C12 34.6569 13.3431 36 15 36Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 32C34.6569 32 36 30.6569 36 29C36 27.3431 34.6569 26 33 26C31.3431 26 30 27.3431 30 29C30 30.6569 31.3431 32 33 32Z",fill:e.colors[0]},null)])}),y$=Je("check-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),b$=Je("clear",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 5.91406H28V13.9141H43V21.9141H5V13.9141H20V5.91406Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 40H40V22H8V40Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 39.8977V33.8977",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),x$=Je("click",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 22L42 26L36 30L42 36L36 42L30 36L26 42L22 22Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38.1421 9.85789L32.4853 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.85787 38.1421L15.5147 32.4853",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 24H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.85795 9.85787L15.5148 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),S$=Je("close",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),M$=Je("close-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),w$=Je("close-small",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 14L34 34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L34 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),L$=Je("code",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 13L4 25.4322L16 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 13L44 25.4322L32 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 4L21 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),O$=Je("color-filter",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 40.9444C26.123 42.8446 28.9266 44 32 44C38.6274 44 44 38.6274 44 32C44 26.4085 40.1757 21.7102 35 20.3781",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M13 20.3781C7.82432 21.7102 4 26.4085 4 32C4 38.6274 9.37258 44 16 44C22.6274 44 28 38.6274 28 32C28 30.4506 27.7063 28.9697 27.1716 27.6101",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 28C30.6274 28 36 22.6274 36 16C36 9.37258 30.6274 4 24 4C17.3726 4 12 9.37258 12 16C12 22.6274 17.3726 28 24 28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),T$=Je("comment",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M44 6H4V36H13V41L23 36H44V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),k$=Je("connection",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 34L44 39L39 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 8L20 8C22.2091 8 24 9.79086 24 12V35C24 37.2091 25.7909 39 28 39H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),N$=Je("copy",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),P$=Je("delete",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M9 10V44H39V10H9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 10H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),C$=Je("down",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),I$=Je("download",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 24.0083V42H42V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 23L24 32L15 23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.9917 6V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),F$=Je("edit",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M7 42H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),_$=Je("effects",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24.9507 42.3603L30.4164 30.3695L43.1046 26.6501L33.3383 17.7699L33.7059 4.60732L22.2044 11.1099L9.74329 6.69439L12.4013 19.5934L4.33228 30.027L17.4766 31.4965L24.9507 42.3603Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36.1777 36.0537L44.1777 44.0179",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),E$=Je("erase",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 42H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31 4L7 28L13 34H21L41 14L31 4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),X$=Je("fill",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("rect",{x:"14",y:"14",width:"20",height:"20",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 23L23 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M25 14L14 25",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 14L14 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 14H34V26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),W$=Je("flip-horizontally",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 34L16 12V34H4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 34H32V12L44 34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),V$=Je("flip-vertically",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 24L6 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 4L36 16H14V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 44V32H36L14 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),U$=Je("font-size",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 10.9333L8 6H40V10.9333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Y$=Je("format",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"8",y:"24",width:"32",height:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 13H18V6H30V13H44V24H4V13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 32L16 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Q$=Je("format-brush",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M34 5H6V20H34V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.0251 12H43V28.1014L19 31.2004V43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Z$=Je("formula",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M40 9L37 6H8L26 24L8 42H37L40 39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),B$=Je("full-screen",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),D$=Je("full-screen-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),K$=Je("full-screen-play",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 40H6C4.89543 40 4 39.1046 4 38V10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 24H26C24.8954 24 24 24.8954 24 26V38C24 39.1046 24.8954 40 26 40H42C43.1046 40 44 39.1046 44 38V26C44 24.8954 43.1046 24 42 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),H$=Je("fullwidth",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 6V42M17 19L12 24M12 24L17 29M12 24H36M31 19L36 24M36 24L31 29M6 6L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),G$=Je("github",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.1833 45.4716C18.9898 45.2219 18.9898 42.9973 19.1833 38.798C17.1114 38.8696 15.8024 38.7258 15.2563 38.3667C14.437 37.828 13.6169 36.1667 12.8891 34.9959C12.1614 33.8251 10.5463 33.64 9.89405 33.3783C9.24182 33.1165 9.07809 32.0496 11.6913 32.8565C14.3044 33.6634 14.4319 35.8607 15.2563 36.3745C16.0806 36.8883 18.0515 36.6635 18.9448 36.2519C19.8382 35.8403 19.7724 34.3078 19.9317 33.7007C20.1331 33.134 19.4233 33.0083 19.4077 33.0037C18.5355 33.0037 13.9539 32.0073 12.6955 27.5706C11.437 23.134 13.0581 20.2341 13.9229 18.9875C14.4995 18.1564 14.4485 16.3852 13.7699 13.6737C16.2335 13.3589 18.1347 14.1343 19.4734 16.0001C19.4747 16.0108 21.2285 14.9572 24.0003 14.9572C26.772 14.9572 27.7553 15.8154 28.5142 16.0001C29.2731 16.1848 29.88 12.7341 34.5668 13.6737C33.5883 15.5969 32.7689 18.0001 33.3943 18.9875C34.0198 19.9749 36.4745 23.1147 34.9666 27.5706C33.9614 30.5413 31.9853 32.3523 29.0384 33.0037C28.7005 33.1115 28.5315 33.2855 28.5315 33.5255C28.5315 33.8856 28.9884 33.9249 29.6465 35.6117C30.0853 36.7362 30.117 39.948 29.7416 45.247C28.7906 45.4891 28.0508 45.6516 27.5221 45.7347C26.5847 45.882 25.5669 45.9646 24.5669 45.9965C23.5669 46.0284 23.2196 46.0248 21.837 45.8961C20.9154 45.8103 20.0308 45.6688 19.1833 45.4716Z",fill:e.colors[0]},null)])}),J$=Je("graphic-design",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M19 32C11.268 32 5 25.732 5 18C5 10.268 11.268 4 19 4C26.732 4 33 10.268 33 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 18H18V44H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),z$=Je("group",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 4H4V12H12V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 36H36V44H44V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 36H4V44H12V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 4H36V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 8H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 16H25.6V22.4H32V32H22.4V25.6H16V16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$$=Je("hamburger-button",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M7.94971 11.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.94971 23.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.94971 35.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),j$=Je("high-light",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 44L6 25H12V17H36V25H42V44H6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M17 17V8L31 4V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),q$=Je("indent-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 9H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M19 19H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M19 29H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 19L6 24L11 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 39H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ej=Je("indent-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 19L42 24L37 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),tj=Je("info",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:e.colors[2]},null),O("path",{d:"M24.5 34V20H23.5H22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 34H28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nj=Je("insert-table",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39.3 6H8.7C7.20883 6 6 7.20883 6 8.7V39.3C6 40.7912 7.20883 42 8.7 42H39.3C40.7912 42 42 40.7912 42 39.3V8.7C42 7.20883 40.7912 6 39.3 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth},null),O("path",{d:"M18 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M30 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 18H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 30H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),rj=Je("left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M31 36L19 24L31 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),oj=Je("left-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 5L6 24L24 43L24 31L42 31V17H24V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ij=Je("link-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M26.2401 16.373L17.1001 7.23303C14.4388 4.57168 10.0653 4.6303 7.33158 7.36397C4.59791 10.0976 4.53929 14.4712 7.20064 17.1325L15.1359 25.0678",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.9027 23.0031L40.838 30.9384C43.4994 33.5998 43.4407 37.9733 40.7071 40.707C37.9734 43.4407 33.5999 43.4993 30.9385 40.8379L21.7985 31.6979",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.1093 26.1416C28.843 23.4079 28.9016 19.0344 26.2403 16.373",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21.7989 21.7984C19.0652 24.5321 19.0066 28.9056 21.6679 31.5669",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),aj=Je("list",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5 10L8 13L14 7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 24L8 27L14 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 38L8 41L14 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),sj=Je("list-view",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"4",y:"6",width:"40",height:"36",rx:"3",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 24H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 32H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 24H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 32H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lj=Je("lock",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"22",width:"36",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V14C14 8.47715 18.4772 4 24 4C29.5228 4 34 8.47715 34 14V22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cj=Je("logout",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),uj=Je("magic",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M20.1005 8.1005L24.3431 12.3431M30 4V10V4ZM39.8995 8.1005L35.6569 12.3431L39.8995 8.1005ZM44 18H38H44ZM39.8995 27.8995L35.6569 23.6569L39.8995 27.8995ZM30 32V26V32ZM20.1005 27.8995L24.3431 23.6569L20.1005 27.8995ZM16 18H22H16Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.5856 18.4143L5.54395 42.4559",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fj=Je("minus",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M10.5 24L38.5 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),dj=Je("move-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 6L43 25L24 27L13.9948 44L8 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),hj=Je("needle",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("g",{"clip-path":"url(#"+e.id+"3d50a8e2)"},[O("path",{d:"M39 23L25 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9995 17L30.9995 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.999 18.999L39.999 13.999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.999 12.999L33.999 7.99902",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 37L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.9999 12.0001L11.9999 27.9998L10.9999 37L19.9999 35.9998L35.9999 20.0001L27.9999 12.0001Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)]),O("defs",null,[O("clipPath",{id:e.id+"3d50a8e2"},[O("rect",{width:"48",height:"48",fill:e.colors[2]},null)])])])}),pj=Je("next",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 40.8361C8.89307 34.8632 13.2383 31.4739 17.0356 30.6682C20.8329 29.8625 24.4483 29.7408 27.8818 30.303V41L44 23.5453L27.8818 7V17.167C21.5333 17.2172 16.1362 19.4948 11.6905 24C7.24474 28.5052 4.68126 34.1172 4 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),mj=Je("off-screen-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 7V16H41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 7V16H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 41V32H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 41V32H40.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vj=Je("ordered-list",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M9 4V13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 27H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 19.9998C6 19.9998 9 16.9998 11 19.9998C13 22.9999 6 26.9998 6 26.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.00016 34.5001C6.00016 34.5001 8.00016 31.5 11.0002 33.5C14.0002 35.5 11.0002 38 11.0002 38C11.0002 38 14.0002 40.5 11.0002 42.5C8.00015 44.5 6.00015 41.5 6.00015 41.5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 38H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9 4L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),gj=Je("pause",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Aj=Je("picture",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 23C20.7614 23 23 20.7614 23 18C23 15.2386 20.7614 13 18 13C15.2386 13 13 15.2386 13 18C13 20.7614 15.2386 23 18 23Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.7901 26.2194C28.6064 25.1269 30.2528 25.1538 31.0329 26.2725L39.8077 38.8561C40.7322 40.182 39.7835 42.0001 38.1671 42.0001H16L27.7901 26.2194Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Rj=Je("platte",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.9601 44 26.3359 35.136 30 31C33.1264 27.4709 44 29.0856 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 17C29.6569 17 31 15.6569 31 14C31 12.3431 29.6569 11 28 11C26.3431 11 25 12.3431 25 14C25 15.6569 26.3431 17 28 17Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 21C17.6569 21 19 19.6569 19 18C19 16.3431 17.6569 15 16 15C14.3431 15 13 16.3431 13 18C13 19.6569 14.3431 21 16 21Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M17 34C18.6569 34 20 32.6569 20 31C20 29.3431 18.6569 28 17 28C15.3431 28 14 29.3431 14 31C14 32.6569 15.3431 34 17 34Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),yj=Je("play-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),bj=Je("plus",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24.0605 10L24.0239 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 24L38 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),xj=Je("power",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14.5 8C13.8406 8.37652 13.2062 8.79103 12.6 9.24051C11.5625 10.0097 10.6074 10.8814 9.75 11.8402C6.79377 15.1463 5 19.4891 5 24.2455C5 34.6033 13.5066 43 24 43C34.4934 43 43 34.6033 43 24.2455C43 19.4891 41.2062 15.1463 38.25 11.8402C37.3926 10.8814 36.4375 10.0097 35.4 9.24051C34.7938 8.79103 34.1594 8.37652 33.5 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Sj=Je("ppt",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 8H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 8H40V34H8V8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 16L27 21L22 26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 42L24 34L32 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Mj=Je("preview-close",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 16C6.63472 17.2193 7.59646 18.3504 8.82276 19.3554C12.261 22.1733 17.779 24 24 24C30.221 24 35.739 22.1733 39.1772 19.3554C40.4035 18.3504 41.3653 17.2193 42 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.9775 24L31.048 31.7274",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37.3535 21.3536L43.0103 27.0104",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5.00004 27.0103L10.6569 21.3534",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.9278 31.7276L18.9983 24.0001",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),wj=Je("preview-open",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 36C35.0457 36 44 24 44 24C44 24 35.0457 12 24 12C12.9543 12 4 24 4 24C4 24 12.9543 36 24 36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 29C26.7614 29 29 26.7614 29 24C29 21.2386 26.7614 19 24 19C21.2386 19 19 21.2386 19 24C19 26.7614 21.2386 29 24 29Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Lj=Je("quote",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.8533 9.11587C11.3227 13.9521 7.13913 19.5811 6.30256 26.0028C5.00021 35.9999 13.9404 40.8932 18.4703 36.4966C23.0002 32.1 20.2848 26.5195 17.0047 24.9941C13.7246 23.4686 11.7187 23.9999 12.0686 21.9614C12.4185 19.923 17.0851 14.2712 21.1849 11.6391C21.4569 11.4078 21.5604 10.959 21.2985 10.6185C21.1262 10.3946 20.7883 9.95545 20.2848 9.30102C19.8445 8.72875 19.4227 8.75017 18.8533 9.11587Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.6789 9.11587C31.1484 13.9521 26.9648 19.5811 26.1282 26.0028C24.8259 35.9999 33.7661 40.8932 38.296 36.4966C42.8259 32.1 40.1105 26.5195 36.8304 24.9941C33.5503 23.4686 31.5443 23.9999 31.8943 21.9614C32.2442 19.923 36.9108 14.2712 41.0106 11.6391C41.2826 11.4078 41.3861 10.959 41.1241 10.6185C40.9519 10.3946 40.614 9.95545 40.1105 9.30102C39.6702 8.72875 39.2484 8.75017 38.6789 9.11587Z",fill:e.colors[0]},null)])}),Oj=Je("right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M19 12L31 24L19 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Tj=Je("right-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 43L42 24L24 5L24 17L6 17V31H24V43Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),kj=Je("rotate",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 24H42V42H12V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 8V17H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38.4747 13.2985C35.1956 8.87049 29.933 6 24 6C18.1788 6 13.0029 8.76334 9.71272 13.0498L6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Nj=Je("round",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),Pj=Je("row-height",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 35L10 41L4 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 13L10 7L4 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 7V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 9H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 19H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 29H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 39H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Cj=Je("search",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ij=Je("send-to-back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 21H5V5H21V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 27H43V43H27V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 32V14H32V32H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Fj=Je("sent-to-back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M30 18H41C41.5523 18 42 18.4477 42 19V41C42 41.5523 41.5523 42 41 42H19C18.4477 42 18 41.5523 18 41V30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 30H29.9971V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.0023 6H30V9.99785",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15.9922 30H19.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_j=Je("square",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),Ej=Je("stopwatch-start",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C33.3888 44 41 36.3888 41 27C41 17.6112 33.3888 10 24 10C14.6112 10 7 17.6112 7 27C7 36.3888 14.6112 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 4H30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 19V27",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 27H24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 4V8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xj=Je("strikethrough",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 24C40 30 34 44 24 44C13.9999 44 12 36 12 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M35.9999 12C35.9999 12 33 4 23.9999 4C14.9999 4 11.4359 11.5995 15.6096 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 36C12 36 15.9999 44 24 44C32 44 36.564 36.4005 32.3903 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Wj=Je("tailoring",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 4V36H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 12H36V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 12H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M36 44V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Vj=Je("text",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 19V16H32V19",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 18L24 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Uj=Je("text-bold",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 24C29.5056 24 33.9688 19.5228 33.9688 14C33.9688 8.47715 29.5056 4 24 4H11V24H24Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M28.0312 44C33.5368 44 38 39.5228 38 34C38 28.4772 33.5368 24 28.0312 24H11V44H28.0312Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Yj=Je("text-italic",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M20 6H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 42H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 5.95215L19 41.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Qj=Je("text-rotation-down",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M29 35L21 31.3333M29 13L21 16.6667M21 16.6667L17 18.5L5 24L17 29.5L21 31.3333M21 16.6667V31.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 6V42L43 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Zj=Je("text-rotation-none",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 29L16.6667 21M35 29L31.3333 21M31.3333 21L29.5 17L24 5L18.5 17L16.6667 21M31.3333 21H16.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 37H42L36 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Bj=Je("text-underline",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 44H40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 6.09717C37 12.7638 37 15.3335 37 22.0002C37 29.1799 31.1797 35.0002 24 35.0002C16.8203 35.0002 11 29.1799 11 22.0002C11 15.3335 11 12.7638 11 6.09717",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Dj=Je("theme",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M18 6C18 9.31371 20.6863 12 24 12C27.3137 12 30 9.31371 30 6H35.4545L42 15.8182L36.2727 20.7273V42H11.7273V20.7273L6 15.8182L12.5455 6H18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Kj=Je("transform",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"13.7146",cy:"13.7141",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("circle",{cx:"34.2859",cy:"34.2854",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24.001 44C12.9553 44 4.00098 35.0457 4.00098 24L10.6676 27.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24.001 4C35.0467 4 44.001 12.9543 44.001 24L37.3343 20.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hj=Je("undo",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M11.2721 36.7279C14.5294 39.9853 19.0294 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C19.0294 6 14.5294 8.01472 11.2721 11.2721C9.61407 12.9301 6 17 6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 9V17H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gj=Je("ungroup",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9998 36.7271H36.7271V43.9998H43.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.9998 36.7271H16.7271V43.9998H23.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9998 16.7271H36.7271V23.9998H43.9998V16.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2729 7.63623H24.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 40.3638H36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2729 27.6366H27.6366V11.2729",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.8275 20.3633H36.7269M20.3633 36.7269V27.6282V36.7269Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.63672 11.2725V23.9997",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40.3633 24V36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Jj=Je("unlock",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"7",y:"22.0476",width:"34",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V14.0047C13.9948 8.87022 17.9227 4.56718 23.0859 4.05117C28.249 3.53516 32.9673 6.97408 34 12.0059",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zj=Je("up",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$j=Je("user",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"24",cy:"12",r:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),jj=Je("vertical-spacing-between-items",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 6V12H40V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 24H34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M8 42V36H40V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qj=Je("video-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20.5 28V21.9378L25.75 24.9689L31 28L25.75 31.0311L20.5 34.0622V28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 6L27 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),eq=Je("volume-mute",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{opacity:"0.01",x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null),O("mask",{id:e.id+"603476ab",maskUnits:"userSpaceOnUse",x:"30",y:"18",width:"13",height:"13",style:{maskType:"alpha"}},[O("rect",{x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null)]),O("g",{mask:"url(#"+e.id+"603476ab)"},[O("path",{d:"M40.7348 20.2858L32.2495 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.2496 20.2858L40.7349 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)]),O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),tq=Je("volume-notice",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.2359 41.1857C40.0836 37.6953 44 31.305 44 24C44 16.8085 40.2043 10.5035 34.507 6.97906",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),nq=Je("volume-small",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),rq=Je("write",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5.32497 43.4996L13.81 43.4998L44.9227 12.3871L36.4374 3.90186L5.32471 35.0146L5.32497 43.4996Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.9521 12.3872L36.4374 20.8725",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Uv={IconPlayOne:yj,IconFullScreenPlay:K$,IconLock:lj,IconUnlock:Jj,IconPpt:Sj,IconFormat:Y$,IconPicture:Aj,IconFullScreen:B$,IconList:aj,IconOrderedList:vj,IconFlipVertically:V$,IconFlipHorizontally:W$,IconFontSize:U$,IconCode:L$,IconTextBold:Uj,IconTextItalic:Yj,IconTextUnderline:Bj,IconStrikethrough:Xj,IconEdit:F$,IconQuote:Lj,IconBackgroundColor:c$,IconGroup:z$,IconUngroup:Gj,IconBack:l$,IconNext:pj,IconFullwidth:H$,IconAlignTop:o$,IconAlignLeft:Jz,IconAlignRight:zz,IconAlignBottom:Hz,IconAlignVertically:i$,IconAlignHorizontally:Gz,IconBringToFront:u$,IconSendToBack:Ij,IconAlignTextLeft:e$,IconAlignTextRight:n$,IconAlignTextCenter:qz,IconAlignTextBoth:$z,IconRowHeight:Pj,IconWrite:rq,IconInsertTable:nj,IconAddText:Kz,IconFill:X$,IconTailoring:Wj,IconEffects:_$,IconColorFilter:O$,IconUp:zj,IconDown:C$,IconPlus:bj,IconMinus:fj,IconConnection:k$,IconBringToFrontOne:f$,IconSentToBack:Fj,IconGithub:G$,IconChartProportion:g$,IconChartHistogram:d$,IconChartHistogramOne:h$,IconChartLineArea:m$,IconChartRing:A$,IconChartScatter:R$,IconChartLine:p$,IconChartPie:v$,IconText:Vj,IconRotate:kj,IconLeftTwo:oj,IconRightTwo:Tj,IconPlatte:Rj,IconClose:S$,IconCloseSmall:w$,IconUndo:Hj,IconTransform:Kj,IconClick:x$,IconTheme:Dj,IconArrowCircleLeft:a$,IconGraphicDesign:J$,IconLogout:cj,IconErase:E$,IconClear:b$,IconAlignTextTopOne:r$,IconAlignTextBottomOne:jz,IconAlignTextMiddleOne:t$,IconPause:gj,IconVolumeMute:eq,IconVolumeNotice:tq,IconVolumeSmall:nq,IconVideoTwo:qj,IconFormula:Z$,IconLinkOne:ij,IconFullScreenOne:D$,IconOffScreenOne:mj,IconPower:xj,IconListView:sj,IconMagic:uj,IconHighLight:j$,IconDownload:I$,IconIndentLeft:q$,IconIndentRight:ej,IconVerticalSpacingBetweenItems:jj,IconCopy:N$,IconDelete:P$,IconSquare:_j,IconRound:Nj,IconNeedle:hj,IconTextRotationNone:Zj,IconTextRotationDown:Qj,IconFormatBrush:Q$,IconPreviewOpen:wj,IconPreviewClose:Mj,IconStopwatchStart:Ej,IconSearch:Cj,IconLeft:rj,IconRight:Oj,IconMoveOne:dj,IconHamburgerButton:$$,IconAttention:s$,IconCheckOne:y$,IconCloseOne:M$,IconInfo:tj,IconComment:T$,IconUser:$j},oq={install(e){for(const t of Object.keys(Uv))e.component(t,Uv[t])}},iq=["id"],aq={class:"icons"},sq={class:"content"},lq={key:0,class:"title"},cq={class:"description"},uq={key:0,class:"control"},fq=Ie({__name:"Message",props:{id:{},message:{},type:{default:"success"},title:{default:""},duration:{default:3e3},closable:{type:Boolean,default:!1}},emits:["close","destroy"],setup(e,{expose:t,emit:n}){const{IconAttention:r,IconCheckOne:o,IconCloseOne:i,IconInfo:a,IconCloseSmall:s}=Uv,c=e,l=n,u=he(!0),f=he(null),d=()=>{c.duration<=0||(f.value=setTimeout(p,c.duration))},h=()=>{f.value&&clearTimeout(f.value)},p=()=>u.value=!1;return jb(()=>{h()}),Ht(()=>{d()}),t({close:p}),(m,A)=>(Y(),Te(Ou,{name:"message-fade",appear:"",mode:"in-out",onBeforeLeave:A[3]||(A[3]=x=>l("close")),onAfterLeave:A[4]||(A[4]=x=>l("destroy"))},{default:ie(()=>[u.value?(Y(),q("div",{key:0,class:"message",id:m.id},[W("div",{class:"message-container",onMouseenter:A[1]||(A[1]=x=>h()),onMouseleave:A[2]||(A[2]=x=>d())},[W("div",aq,[m.type==="warning"?(Y(),Te(G(r),{key:0,theme:"filled",size:"18",fill:"#faad14"})):Ze("",!0),m.type==="success"?(Y(),Te(G(o),{key:1,theme:"filled",size:"18",fill:"#52c41a"})):Ze("",!0),m.type==="error"?(Y(),Te(G(i),{key:2,theme:"filled",size:"18",fill:"#ff4d4f"})):Ze("",!0),m.type==="info"?(Y(),Te(G(a),{key:3,theme:"filled",size:"18",fill:"#1677ff"})):Ze("",!0)]),W("div",sq,[m.title?(Y(),q("div",lq,gt(m.title),1)):Ze("",!0),W("div",cq,gt(m.message),1)]),m.closable?(Y(),q("div",uq,[W("span",{class:"close-btn",onClick:A[0]||(A[0]=x=>p())},[O(G(s))])])):Ze("",!0)],32)],8,iq)):Ze("",!0)]),_:1}))}}),Ve=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},dq=Ve(fq,[["__scopeId","data-v-5f638602"]]),m3=[];let Ua=null,hq=0;const pq={duration:3e3},xn=e=>{const t="message-"+hq++,n={...pq,...e,id:t};Ua||(Ua=document.createElement("div"),Ua.className="message-wrap",Ua.style.cssText=` width: 100%; position: fixed; top: 0; @@ -71,35 +71,35 @@ From previous: `);return this._state!==null&&(this._stack=t),t}finally{z4=!1}}}, background-color: rgba(255, 255, 255, 0); transition: all 1s ease-in-out; align-items: center; - `,document.body.appendChild(Va));const r=L(uq,n,null),o=document.createElement("div");r.appContext=e.ctx||bn._context||null,r.props.onClose=e.onClose,r.props.onDestroy=()=>{Va&&Va.childNodes.length<=1&&(Va.remove(),Va=null),yd(null,o)},yd(r,o),Va.appendChild(o.firstElementChild);const i={id:t,close:()=>{var a,s;return(s=(a=r==null?void 0:r.component)==null?void 0:a.exposed)==null?void 0:s.close()}};return h3.push(i),i};bn.success=(e,t)=>bn({...t,type:"success",message:e});bn.info=(e,t)=>bn({...t,type:"info",message:e});bn.warning=(e,t)=>bn({...t,type:"warning",message:e});bn.error=(e,t)=>bn({...t,type:"error",message:e});bn.closeAll=function(){for(let e=h3.length-1;e>=0;e--)h3[e].close()};const kb=e=>{const n=e.replace(/[\n\r]+/g,"
").split("
");let r="";for(const o of n)o&&(r+=`
${o}
`);return r},hq=e=>new Promise(t=>{const n=document.createElement("img");n.src=e,n.style.opacity="0",document.body.appendChild(n),n.onload=()=>{const r=n.clientWidth,o=n.clientHeight;n.onload=null,n.onerror=null,document.body.removeChild(n),t({width:r,height:o})},n.onerror=()=>{n.onload=null,n.onerror=null}}),Hu=e=>new Promise(t=>{const n=new FileReader;n.addEventListener("load",()=>{t(n.result)}),n.readAsDataURL(e)}),Ht=1e3;var cn=(e=>(e.ROUND_RECT="roundRect",e.ROUND_RECT_DIAGONAL="roundRectDiagonal",e.ROUND_RECT_SINGLE="roundRectSingle",e.ROUND_RECT_SAMESIDE="roundRectSameSide",e.CUT_RECT_DIAGONAL="cutRectDiagonal",e.CUT_RECT_SINGLE="cutRectSingle",e.CUT_RECT_SAMESIDE="cutRectSameSide",e.CUT_ROUND_RECT="cutRoundRect",e.MESSAGE="message",e.ROUND_MESSAGE="roundMessage",e.L="L",e.RING_RECT="ringRect",e.PLUS="plus",e.TRIANGLE="triangle",e.PARALLELOGRAM_LEFT="parallelogramLeft",e.PARALLELOGRAM_RIGHT="parallelogramRight",e.TRAPEZOID="trapezoid",e.BULLET="bullet",e.INDICATOR="indicator",e))(cn||{}),kt=(e=>(e.TEXT="text",e.IMAGE="image",e.SHAPE="shape",e.LINE="line",e.CHART="chart",e.TABLE="table",e.LATEX="latex",e.VIDEO="video",e.AUDIO="audio",e))(kt||{});const Gu={[cn.ROUND_RECT]:{editable:!0,defaultValue:.125,range:[0,.5],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L ${r} ${t} Q 0 ${t} 0 ${t-r} L 0 ${r} Q 0 0 ${r} 0 Z`}},[cn.CUT_RECT_DIAGONAL]:{editable:!0,defaultValue:.2,range:[0,.9],relative:"right",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 ${t-r} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L ${r} ${t} Z`}},[cn.CUT_RECT_SINGLE]:{editable:!0,defaultValue:.2,range:[0,.9],relative:"right",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 ${t} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} Z`}},[cn.CUT_RECT_SAMESIDE]:{editable:!0,defaultValue:.2,range:[0,.5],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 ${r} L ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[cn.ROUND_RECT_DIAGONAL]:{editable:!0,defaultValue:.125,range:[0,1],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M ${r} 0 L ${e} 0 L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[cn.ROUND_RECT_SINGLE]:{editable:!0,defaultValue:.125,range:[0,1],relative:"right",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} L 0 0 Z`}},[cn.ROUND_RECT_SAMESIDE]:{editable:!0,defaultValue:.125,range:[0,.5],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 ${r} Q 0 0 ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[cn.CUT_ROUND_RECT]:{editable:!0,defaultValue:.125,range:[0,.5],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[cn.MESSAGE]:{formula:(e,t)=>{const n=e*.2,r=t*.2;return`M 0 0 L ${e} 0 L ${e} ${t-r} L ${e/2} ${t-r} L ${e/2-n} ${t} L ${e/2-n} ${t-r} L 0 ${t-r} Z`}},[cn.ROUND_MESSAGE]:{formula:(e,t)=>{const n=Math.min(e,t)*.125,r=e*.2,o=t*.2;return`M 0 ${n} Q 0 0 ${n} 0 L ${e-n} 0 Q ${e} 0 ${e} ${n} L ${e} ${t-n-o} Q ${e} ${t-o} ${e-n} ${t-o} L ${e/2} ${t-o} L ${e/2-r} ${t} L ${e/2-r} ${t-o} L ${n} ${t-o} Q 0 ${t-o} 0 ${t-n-o} L 0 ${n} Z`}},[cn.L]:{editable:!0,defaultValue:.25,range:[.1,.9],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 0 L 0 ${t} L ${e} ${t} L ${e} ${t-r} L ${r} ${t-r} L ${r} 0 Z`}},[cn.RING_RECT]:{editable:!0,defaultValue:.25,range:[.1,.45],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 0 ${e} 0 ${e} ${t} L 0 ${t} L 0 0 Z M ${r} ${r} L ${r} ${t-r} L ${e-r} ${t-r} L ${e-r} ${r} Z`}},[cn.PLUS]:{editable:!0,defaultValue:.25,range:[.1,.9],relative:"center",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M ${e/2-r/2} 0 L ${e/2-r/2} ${t/2-r/2} L 0 ${t/2-r/2} L 0 ${t/2+r/2} L ${e/2-r/2} ${t/2+r/2} L ${e/2-r/2} ${t} L ${e/2+r/2} ${t} L ${e/2+r/2} ${t/2+r/2} L ${e} ${t/2+r/2} L ${e} ${t/2-r/2} L ${e/2+r/2} ${t/2-r/2} L ${e/2+r/2} 0 Z`}},[cn.TRIANGLE]:{editable:!0,defaultValue:.5,range:[0,1],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>`M ${e*n} 0 L 0 ${t} L ${e} ${t} Z`},[cn.PARALLELOGRAM_LEFT]:{editable:!0,defaultValue:.25,range:[0,.9],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${r} 0 L ${e} 0 L ${e-r} ${t} L 0 ${t} Z`}},[cn.PARALLELOGRAM_RIGHT]:{editable:!0,defaultValue:.25,range:[0,.9],relative:"right",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M 0 0 L ${e-r} 0 L ${e} ${t} L ${r} ${t} Z`}},[cn.TRAPEZOID]:{editable:!0,defaultValue:.25,range:[0,.5],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${r} 0 L ${e-r} 0 L ${e} ${t} L 0 ${t} Z`}},[cn.BULLET]:{editable:!0,defaultValue:.2,range:[0,1],relative:"top",getBaseSize:(e,t)=>t,formula:(e,t,n)=>{const r=t*n;return`M ${e/2} 0 L 0 ${r} L 0 ${t} L ${e} ${t} L ${e} ${r} Z`}},[cn.INDICATOR]:{editable:!0,defaultValue:.2,range:[0,.9],relative:"right",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${e} ${t/2} L ${e-r} 0 L 0 0 L ${r} ${t/2} L 0 ${t} L ${e-r} ${t} Z`}}},Nb=[{type:"矩形",children:[{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",pptxShapeType:"rect"},{viewBox:[200,200],path:"M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z",pathFormula:cn.ROUND_RECT,pptxShapeType:"roundRect"},{viewBox:[200,200],path:"M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z",pathFormula:cn.CUT_RECT_SINGLE,pptxShapeType:"snip1Rect"},{viewBox:[200,200],path:"M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z",pathFormula:cn.CUT_RECT_SAMESIDE,pptxShapeType:"snip2SameRect"},{viewBox:[200,200],path:"M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z",pathFormula:cn.CUT_RECT_DIAGONAL,pptxShapeType:"snip2DiagRect"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 50 L 200 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:cn.CUT_ROUND_RECT,pptxShapeType:"snipRoundRect"},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z",pathFormula:cn.ROUND_RECT_SINGLE,pptxShapeType:"round1Rect"},{viewBox:[200,200],path:"M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z",pathFormula:cn.ROUND_RECT_SAMESIDE,pptxShapeType:"round2SameRect"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 200 150 Q 200 200 150 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:cn.ROUND_RECT_DIAGONAL,pptxShapeType:"round2DiagRect"},{viewBox:[200,200],path:"M 0 80 L 60 0 L 100 40 L 180 20 L 200 120 L 160 200 L 0 200 L 60 140 Z",title:"任意多边形"}]},{type:"常用形状",children:[{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",pptxShapeType:"ellipse"},{viewBox:[200,200],path:"M 100 0 L 0 200 L 200 200 L 100 0 Z",pathFormula:cn.TRIANGLE,pptxShapeType:"triangle"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z"},{viewBox:[200,200],path:"M 70 20 L 0 160 Q 0 200 40 200 L 160 200 Q 200 200 200 160 L 130 20 Q 100 -20 70 20 Z"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",pathFormula:cn.PARALLELOGRAM_LEFT,pptxShapeType:"parallelogram"},{viewBox:[200,200],path:"M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",pathFormula:cn.PARALLELOGRAM_RIGHT},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:cn.TRAPEZOID,pptxShapeType:"trapezoid"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z",pptxShapeType:"diamond"},{viewBox:[200,200],path:"M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",pathFormula:cn.BULLET},{viewBox:[200,200],path:"M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",pathFormula:cn.INDICATOR},{viewBox:[200,200],path:"M 0 0 C 80 20 120 20 200 0 C 180 80 180 120 200 200 C 80 180 120 180 0 200 C 20 120 20 80 0 0 Z"},{viewBox:[200,200],path:"M 10 10 C 60 0 140 0 190 10 C 200 60 200 140 190 190 C 140 200 60 200 10 190 C 0 140 0 60 10 10 Z"},{viewBox:[200,200],path:"M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z",pptxShapeType:"pie"},{viewBox:[200,200],path:"M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z",pptxShapeType:"chord"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z",pptxShapeType:"teardrop"},{viewBox:[200,200],path:"M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 Z",pptxShapeType:"pentagon"},{viewBox:[200,200],path:"M 40 0 L 160 0 L 200 100 L 160 200 L 40 200 L 0 100 Z",pptxShapeType:"hexagon"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z"},{viewBox:[200,200],path:"M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z",pptxShapeType:"octagon"},{viewBox:[200,200],path:"M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",pathFormula:cn.L},{viewBox:[200,200],path:"M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",pathFormula:cn.RING_RECT},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z"},{viewBox:[200,200],path:"M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",pathFormula:cn.PLUS},{viewBox:[200,200],path:"M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",pathFormula:cn.MESSAGE},{viewBox:[200,200],path:"M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",pathFormula:cn.ROUND_MESSAGE},{viewBox:[200,200],path:"M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z"},{viewBox:[200,200],path:"M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z"},{viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z"},{viewBox:[200,200],path:"M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z"},{viewBox:[200,200],path:"M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 100 0 L 120 80 L 200 100 L 120 120 L 100 200 L 80 120 L 0 100 L 80 80 L 100 0 Z",pptxShapeType:"star4"},{viewBox:[1024,1024],path:"M1018.67652554 400.05983681l-382.95318779-5.89158658L512 34.78141155 388.27666225 394.16825023l-382.95318779 5.89158658L311.68602415 629.83174977l-117.83174978 365.27842665 312.25413766-223.88032637 312.25413904 223.88032637-117.83175116-365.27842665 318.14572563-229.77191296z",pptxShapeType:"star5",special:!0},{viewBox:[200,200],path:"M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 140 60 L 200 60 L 160 100 L 200 140 L 140 140 L 100 200 L 60 140 L 0 140 L 40 100 L 0 60 L 60 60 L 100 0 Z",pptxShapeType:"star6"},{viewBox:[200,200],path:"M 100 0 L 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z"},{viewBox:[200,200],path:"M 200 0 C 80 40 80 160 200 200 C -60 200 -60 0 200 0 Z"}]},{type:"箭头",children:[{viewBox:[200,200],path:"M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z",pptxShapeType:"upArrow"},{viewBox:[200,200],path:"M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z",pptxShapeType:"downArrow"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z",pptxShapeType:"leftArrow"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"rightArrow"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z",pptxShapeType:"upDownArrow"},{viewBox:[200,200],path:"M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z",pptxShapeType:"leftRightArrow"},{viewBox:[200,200],path:"M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"notchedRightArrow"},{viewBox:[200,200],path:"M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z"},{viewBox:[200,200],path:"M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z",pptxShapeType:"chevron"},{viewBox:[200,200],path:"M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z"},{viewBox:[200,200],path:"M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z",pptxShapeType:"homePlate"},{viewBox:[200,200],path:"M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z"},{viewBox:[200,200],path:"M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z"},{viewBox:[1024,1024],path:"M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z",special:!0},{viewBox:[1024,1024],path:"M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z",special:!0}]},{type:"其他形状",children:[{viewBox:[1024,1024],path:"M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z",special:!0},{viewBox:[1024,1024],path:"M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z",special:!0},{viewBox:[1024,1024],path:"M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z",special:!0},{viewBox:[1024,1024],path:"M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z",special:!0},{viewBox:[1024,1024],path:"M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z",special:!0},{viewBox:[1024,1024],path:"M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z",special:!0},{viewBox:[1024,1024],path:"M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z",special:!0},{viewBox:[1024,1024],path:"M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z",special:!0},{viewBox:[1024,1024],path:"M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z",special:!0},{viewBox:[1024,1024],path:"M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z",special:!0},{viewBox:[1024,1024],path:"M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z",special:!0},{viewBox:[1024,1024],path:"M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z",special:!0},{viewBox:[1024,1024],path:"M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z",special:!0},{viewBox:[1024,1024],path:"M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z",special:!0},{viewBox:[1024,1024],path:"M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z",special:!0},{viewBox:[1024,1024],path:"M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z",special:!0},{viewBox:[1024,1024],path:"M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z",special:!0},{viewBox:[1024,1024],path:"M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z",special:!0},{viewBox:[1024,1024],path:"M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m220.16 343.26755556l-239.616 332.23111111c-14.44977778 20.13866667-44.37333333 20.13866667-58.82311111 0L291.84 481.16622222c-4.32355555-6.03022222 0-14.44977778 7.39555555-14.44977777h53.36177778c11.60533333 0 22.64177778 5.57511111 29.46844445 15.13244444l81.00977777 112.41244444 178.85866667-248.03555555c6.82666667-9.44355555 17.74933333-15.13244445 29.46844445-15.13244445H724.76444445c7.39555555 0 11.71911111 8.41955555 7.39555555 14.44977778z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h418.70222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m188.18844445 703.37422223l-75.09333334-0.34133333L512 570.48177778l-112.98133333 134.71288889-75.20711112 0.34133333c-5.00622222 0-9.10222222-3.98222222-9.10222222-9.10222222 0-2.16177778 0.79644445-4.20977778 2.16177778-5.91644445l148.02488889-176.35555555L316.87111111 337.92c-1.36533333-1.70666667-2.16177778-3.75466667-2.16177778-5.91644445 0-5.00622222 4.096-9.10222222 9.10222222-9.10222222l75.20711112 0.34133334L512 458.06933333l112.98133333-134.71288888 75.09333334-0.34133334c5.00622222 0 9.10222222 3.98222222 9.10222222 9.10222222 0 2.16177778-0.79644445 4.20977778-2.16177778 5.91644445L559.21777778 514.27555555l147.91111111 176.35555556c1.36533333 1.70666667 2.16177778 3.75466667 2.16177778 5.91644444 0 5.00622222-4.096 9.10222222-9.10222222 9.10222223z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H548.40888889v172.94222222c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222h-54.61333334c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V548.40888889H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h172.94222222V302.64888889c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h54.61333334c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v172.94222222h172.94222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m163.95377778 517.57511112L427.46311111 700.64355555c-1.59288889 1.13777778-3.41333333 1.70666667-5.34755556 1.70666667-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V331.88977778c0-1.93422222 0.56888889-3.75466667 1.70666667-5.34755556 2.95822222-4.096 8.64711111-5.00622222 12.74311111-2.048L675.95377778 505.17333333c0.79644445 0.56888889 1.47911111 1.25155555 2.048 2.048 2.95822222 3.98222222 2.048 9.67111111-2.048 12.62933334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m200.81777778 666.39644445l-32.54044445 44.37333333c-2.95822222 4.096-8.64711111 4.89244445-12.74311111 1.93422222L479.34577778 577.76355555c-2.38933333-1.70666667-3.75466667-4.43733333-3.75466667-7.39555555V257.13777778c0-5.00622222 4.096-9.10222222 9.10222222-9.10222223h54.72711112c5.00622222 0 9.10222222 4.096 9.10222222 9.10222223v281.6l162.24711111 117.30488889c4.096 2.84444445 5.00622222 8.53333333 2.048 12.62933333z",special:!0},{viewBox:[1024,1024],path:"M981.10577778 314.48177778c-25.6-61.09866667-62.464-115.93955555-109.34044445-163.04355556-46.87644445-46.99022222-101.60355555-83.968-162.70222222-109.568C646.59911111 15.58755555 580.38044445 2.27555555 512 2.27555555h-2.27555555c-68.83555555 0.34133333-135.39555555 13.99466667-198.08711112 40.84622223-60.52977778 25.94133333-114.80177778 62.80533333-161.22311111 109.79555555-46.42133333 46.99022222-82.83022222 101.60355555-108.08888889 162.47466667C16.27022222 378.42488889 3.072 445.44 3.41333333 514.38933333c0.34133333 78.96177778 19.22844445 157.35466667 54.49955556 227.44177778v172.94222222c0 28.89955555 23.43822222 52.33777778 52.224 52.33777778h172.71466666c69.97333333 35.38488889 148.13866667 54.272 226.98666667 54.61333334h2.38933333c68.03911111 0 133.91644445-13.19822222 196.03911112-39.02577778 60.75733333-25.37244445 115.37066667-61.78133333 162.13333333-108.31644445 46.87644445-46.53511111 83.74044445-100.92088889 109.568-161.56444444 26.73777778-62.80533333 40.39111111-129.59288889 40.73244445-198.54222223 0.22755555-69.29066667-13.19822222-136.53333333-39.59466667-199.79377777zM284.89955555 566.61333333c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955556 54.61333333-24.34844445 54.61333333-54.49955556 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955556-54.61333333s24.46222222-54.61333333 54.49955556-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM745.4750693 325.8561164l-267.95558363 371.52436096c-16.15876501 22.52048353-49.62140436 22.52048353-65.78016939 0L253.07805667 477.51948567c-4.83490607-6.74342161 0-16.15876501 8.27023406-16.15876499h59.67291961c12.97790576 0 25.31963967 6.23448413 32.95370188 16.92217123l90.59087157 125.70755774 200.01242995-277.37092701c7.63406221-10.56045272 19.84856175-16.92217125 32.95370189-16.92217124H737.20483524c8.27023407 0 13.10514012 9.41534338 8.27023406 16.158765z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h468.2224823c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM720.79160148 697.63494611c5.59831228 6.61618726 0.8906406 16.6677025-7.76129658 16.66770249h-74.94104404c-5.98001539 0-11.70556205-2.67192177-15.64982754-7.25235911L512 575.36271635l-110.43943332 131.68757314c-3.81703111 4.58043732-9.54257777 7.25235911-15.64982754 7.25235911H310.9696951c-8.65193717 0-13.35960887-10.05151525-7.76129658-16.66770249L458.81603326 512 303.20839852 326.36505389c-5.59831228-6.61618726-0.8906406-16.6677025 7.76129658-16.66770249h74.94104404c5.98001539 0 11.70556205 2.67192177 15.64982754 7.25235911L512 448.63728365l110.43943332-131.68757314c3.81703111-4.58043732 9.54257777-7.25235911 15.64982754-7.25235911H713.0303049c8.65193717 0 13.35960887 10.05151525 7.76129658 16.66770249L565.18396674 512l155.60763474 185.63494611z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM677.02297814 523.19662459L423.31764398 722.70011704c-9.41534338 7.37959347-23.28388974 0.76340622-23.28388975-11.19662459V312.62374191c0-11.9600308 13.86854636-18.70345241 23.28388975-11.19662457l253.70533416 199.37625807c7.25235911 5.72554666 7.25235911 16.6677025 0 22.39324918z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H552.71499847v193.39624268c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962h-61.0724977c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962V552.71499847H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h193.39624268V277.88875885c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h61.0724977c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v193.39624268h193.39624268c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M902.67315697 135.41705551L528.62204754 7.94466448C524.10877635 6.40354749 518.05438818 5.63298899 512 5.63298899s-12.10877635 0.7705585-16.62204754 2.31167549L121.32684303 135.41705551c-9.13662215 3.08223399-16.62204754 13.64989334-16.62204753 23.33691443v531.02488283c0 9.68702108 6.27454775 22.45627614 13.87005291 28.51066431L498.0198673 1013.9638196c3.85279247 2.9721542 8.8063828 4.51327118 13.87005291 4.51327118s10.12734022-1.54111698 13.87005291-4.51327118l379.4450189-295.67430252c7.59550517-5.94430839 13.87005291-18.71356345 13.87005291-28.51066431V158.75396994c0.22015956-9.68702108-7.26526581-20.14460066-16.40188796-23.33691443zM712.89560763 323.43332829L478.86598471 645.63685899c-7.04510625 9.68702108-21.57563786 9.68702108-28.6207441 0l-139.14084824-191.5388259c-4.18303182-5.8342286 0-13.9801327 7.15518603-13.9801327h60.76404132c5.61406904 0 11.0079785 2.75199463 14.31037204 7.26526582l71.22162091 97.97100864 166.11039557-228.74579323c3.30239355-4.51327118 8.58622323-7.26526581 14.31037204-7.26526581H705.7404216c7.15518602 0.11007979 11.33821785 8.25598388 7.15518603 14.09021248z",special:!0},{viewBox:[1024,1024],path:"M959.86498307 186.28001231H797.00498922v-101.78749614c0-44.91373267-36.51626425-81.42999692-81.42999691-81.42999693H308.42500769c-44.91373267 0-81.42999692 36.51626425-81.42999691 81.42999693v101.78749614H64.13501693c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499847v40.71499845c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874962h76.8495596l31.42688945 665.43575611c2.03574992 43.38692024 37.91584233 77.61296581 81.30276254 77.6129658h577.64404066c43.5141546 0 79.26701262-34.09881122 81.30276254-77.6129658l31.42688945-665.43575611H990.40123192c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874962v-40.71499845c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499847z m-254.46874039 0H318.60375732v-91.60874653h386.79248536v91.60874653z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 248.62485371H654.50249462V104.85001539c0-22.52048353-18.19451494-40.71499847-40.71499847-40.71499846H94.67126578v-50.89374808c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-71.25124732c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v997.5174623c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h71.25124732c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961V674.85999383h315.54123807v143.77483833c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h529.29497999c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V289.33985217c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846z",special:!0},{viewBox:[1024,1024],path:"M804.63905145 265.16532183V94.67126578h109.42155836c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961H109.93939019c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h109.42155836v170.49405605c0 103.6960117 53.94737296 194.92305513 135.3773699 246.83467817-81.42999692 51.91162303-135.37736988 143.13866646-135.3773699 246.83467817v170.49405605h-109.42155836c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h804.12121962c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-109.42155836V758.83467817c0-103.6960117-53.94737296-194.92305513-135.3773699-246.83467817 81.42999692-51.91162303 135.37736988-143.13866646 135.3773699-246.83467817z",special:!0},{viewBox:[1024,1024],path:"M1020.928 448.44373333l-35.36213334-373.4528c-1.79200001-19.3536-17.2032-34.64533332-36.55679999-36.55679999L575.55626667 3.072h-0.47786666c-3.82293334 0-6.8096 1.19466667-9.07946669 3.46453333L6.53653333 565.99893332c-4.65919999 4.65919999-4.65919999 12.1856 0 16.84480001l434.61973334 434.61973334c2.26986667 2.26986667 5.25653333 3.46453333 8.48213333 3.46453333s6.21226667-1.19466667 8.48213333-3.46453333l559.46239999-559.46239999c2.38933332-2.5088 3.584-5.97333334 3.34506668-9.55733335zM735.40266668 362.66666667c-42.17173333 0-76.45866667-34.28693333-76.45866667-76.45866667s34.28693333-76.45866667 76.45866667-76.45866667 76.45866667 34.28693333 76.45866665 76.45866667-34.28693333 76.45866667-76.45866665 76.45866667z",special:!0}]},{type:"线性",children:[{viewBox:[1024,1024],path:"M1009.55537674 75.96950982l-61.38012212-61.38012214c-4.48769762-4.48769762-11.870684-4.48769762-16.3583816 0L14.44462326 931.67210859c-4.48769762 4.48769762-4.48769762 11.870684 0 16.35838159l61.38012212 61.38012214c4.48769762 4.48769762 11.870684 4.48769762 16.3583816 0L1009.41061232 92.18312698c4.63246205-4.34293316 4.63246205-11.72591956 0.14476442-16.21361716zM210.88996692 419.35075905c114.94296453 0 208.46079213-93.51782759 208.46079213-208.46079213s-93.51782759-208.46079213-208.46079213-208.4607921-208.46079213 93.51782759-208.4607921 208.4607921 93.51782759 208.46079213 208.4607921 208.46079213z m0-312.69118816c57.47148228 0 104.23039605 46.75891379 104.23039607 104.23039603s-46.75891379 104.23039605-104.23039607 104.23039607-104.23039605-46.75891379-104.23039603-104.23039607 46.75891379-104.23039605 104.23039603-104.23039603zM813.11003308 604.64924095c-114.94296453 0-208.46079213 93.51782759-208.46079213 208.46079213s93.51782759 208.46079213 208.46079213 208.4607921 208.46079213-93.51782759 208.4607921-208.4607921-93.51782759-208.46079213-208.4607921-208.46079213z m0 312.69118816c-57.47148228 0-104.23039605-46.75891379-104.23039607-104.23039603s46.75891379-104.23039605 104.23039607-104.23039607 104.23039605 46.75891379 104.23039603 104.23039607-46.75891379 104.23039605-104.23039603 104.23039603z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1004.96017383 478.58365209L483.27851088 25.80594621c-4.00443838-3.45210207-9.11354943-5.3852792-14.49882864-5.38527921h-122.20441284c-10.21822208 0-14.91308089 12.70373557-7.18037228 19.33177152l483.57045622 419.77561022H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672657v82.85044938c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672657h807.92996557L339.25681303 984.24756148c-7.7327086 6.76612003-3.0378498 19.33177153 7.18037229 19.33177152h126.34693531c2.62359757 0 5.24719513-0.96658859 7.18037228-2.76168164L1004.96017383 545.41634791c20.2983601-17.67476253 20.2983601-49.1579333 0-66.83269582z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1011.38217956 558.9924242L545.80649025 22.43713295c-17.81503843-20.62055629-49.79794206-20.62055629-67.75325638 0L12.61782044 558.9924242c-6.31241519 7.29434645-1.12220714 18.51641789 8.41655359 18.51641789h113.62347344c6.45269109 0 12.62483038-2.80551785 16.97338308-7.71517411L458.69516062 215.87758959V1005.77114384c0 6.1721393 5.04993216 11.22207145 11.22207144 11.22207145h84.16553588c6.1721393 0 11.22207145-5.04993216 11.22207144-11.22207145V215.87758959l307.06393007 353.91607839c4.20827679 4.90965626 10.38041608 7.71517413 16.97338308 7.71517411h113.62347344c9.53876074 0 14.72896878-11.22207145 8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1009.1026963 459.52804874H201.17273073l483.57045624-419.77561022c7.7327086-6.76612003 3.0378498-19.33177153-7.18037229-19.33177152h-122.20441283c-5.3852792 0-10.49439025 1.93317715-14.49882866 5.38527921L19.03982617 478.58365209c-20.2983601 17.67476253-20.2983601 49.1579333 0 66.69461175L543.89742302 1000.81765136c2.07126124 1.79509307 4.55677472 2.76168163 7.18037228 2.76168164h126.3469353c10.21822208 0 14.91308089-12.70373557 7.18037228-19.33177152L201.17273073 564.47195126H1009.1026963c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672657v-82.85044938c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672657z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1002.96562597 446.49115791h-113.62347344c-6.45269109 0-12.62483038 2.80551785-16.97338308 7.71517411L565.30483938 808.12241041V18.22885616c0-6.1721393-5.04993216-11.22207145-11.22207144-11.22207145h-84.16553588c-6.1721393 0-11.22207145 5.04993216-11.22207144 11.22207145v789.89355425L151.63123055 454.20633202c-4.20827679-4.90965626-10.38041608-7.71517413-16.97338308-7.71517411h-113.62347344c-9.53876074 0-14.72896878 11.36234735-8.41655359 18.51641789L478.19350975 1001.56286705c17.81503843 20.62055629 49.79794206 20.62055629 67.75325638 0L1011.38217956 465.0075758c6.31241519-7.29434645 1.12220714-18.51641789-8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M975.82443246 622.46726585H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672658v82.85044937c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672659h835.6848661L651.32683905 980.10503902c-5.66144737 7.18037229-0.55233633 17.9509307 8.69929718 17.9509307h100.11095967c6.76612003 0 13.11798782-3.0378498 17.39859437-8.42312903l233.08593092-295.63802022c22.78387358-28.99765728 2.20934532-71.52755463-34.79718873-71.52755462zM1009.1026963 296.58883161H173.4178302l199.25533075-252.69387063c5.66144737-7.18037229 0.55233633-17.9509307-8.69929718-17.9509307h-100.11095967c-6.76612003 0-13.11798782 3.0378498-17.39859437 8.42312903L13.37837881 330.00517953c-22.78387358 28.99765728-2.20934532 71.52755463 34.65910466 71.52755462h961.06521283c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672658v-82.85044937c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672659z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1010.75873115 64.13501693H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874964h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874964v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961zM1010.75873115 858.07748691H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874964v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874964zM1010.75873115 461.10625194H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874959v81.42999694c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874959h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874959v-81.42999694c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874959z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z",special:!0,outlined:!0}]}],pq={bar:"bar",horizontalBar:"bar",line:"line",area:"line",scatter:"line",pie:"pie",ring:"pie"},Jt=()=>{const e=Zg(),t=Fn.debounce(function(){e.addSnapshot()},300,{trailing:!0}),n=Fn.throttle(function(){e.reDo()},100,{leading:!0,trailing:!1}),r=Fn.throttle(function(){e.unDo()},100,{leading:!0,trailing:!1});return{addHistorySnapshot:t,redo:n,undo:r}},Ju=()=>{const e=ft(),t=lt(),{creatingElement:n}=Ee(e),{theme:r,viewportRatio:o}=Ee(t),{addHistorySnapshot:i}=Jt(),a=(A,x)=>{t.addElement(A),e.setActiveElementIdList([A.id]),n.value&&e.setCreatingElement(null),setTimeout(()=>{e.setEditorareaFocus(!0)},0),x&&x(),i()};return{createImageElement:A=>{hq(A).then(({width:x,height:y})=>{const R=y/x;RHt?(x=Ht,y=x*R):y>Ht*o.value&&(y=Ht*o.value,x=y/R),a({type:"image",id:pn(10),src:A,width:x,height:y,left:(Ht-x)/2,top:(Ht*o.value-y)/2,fixedRatio:!0,rotate:0})})},createChartElement:A=>{const x={type:"chart",id:pn(10),chartType:pq[A],left:300,top:81.25,width:400,height:400,rotate:0,themeColor:[r.value.themeColor],gridColor:r.value.fontColor,data:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1"],series:[[12,19,5,2,18]]}},y={...A==="bar"?{horizontalBars:!1,stackBars:!1}:{},...A==="horizontalBar"?{horizontalBars:!0,stackBars:!1}:{},...A==="line"?{showLine:!0,lineSmooth:!0,showArea:!1}:{},...A==="area"?{showLine:!0,lineSmooth:!0,showArea:!0}:{},...A==="scatter"?{showLine:!1,lineSmooth:!0,showArea:!1}:{},...A==="pie"?{donut:!1}:{},...A==="ring"?{donut:!0}:{}};a({...x,options:y})},createTableElement:(A,x)=>{const y={fontname:r.value.fontName,color:r.value.fontColor},R=[];for(let O=0;O{const{left:y,top:R,width:g,height:b}=A,w=(x==null?void 0:x.content)||"",T=(x==null?void 0:x.vertical)||!1,M=pn(10);a({type:"text",id:M,left:y,top:R,width:g,height:b,content:w,rotate:0,defaultFontName:r.value.fontName,defaultColor:r.value.fontColor,vertical:T},()=>{setTimeout(()=>{const O=document.querySelector(`#editable-element-${M} .ProseMirror`);O&&O.focus()},0)})},createShapeElement:(A,x,y={})=>{const{left:R,top:g,width:b,height:w}=A,T={type:"shape",id:pn(10),left:R,top:g,width:b,height:w,viewBox:x.viewBox,path:x.path,fill:r.value.themeColor,fixedRatio:!1,rotate:0,...y};if(x.special&&(T.special=!0),x.pathFormula){T.pathFormula=x.pathFormula,T.viewBox=[b,w];const M=Gu[x.pathFormula];"editable"in M?(T.path=M.formula(b,w,M.defaultValue),T.keypoint=M.defaultValue):T.path=M.formula(b,w)}a(T)},createLineElement:(A,x)=>{const{left:y,top:R,start:g,end:b}=A,w={type:"line",id:pn(10),left:y,top:R,start:g,end:b,points:x.points,color:r.value.themeColor,style:x.style,width:2};x.isBroken&&(w.broken=[(g[0]+b[0])/2,(g[1]+b[1])/2]),x.isCurve&&(w.curve=[(g[0]+b[0])/2,(g[1]+b[1])/2]),x.isCubic&&(w.cubic=[[(g[0]+b[0])/2,(g[1]+b[1])/2],[(g[0]+b[0])/2,(g[1]+b[1])/2]]),a(w)},createLatexElement:A=>{a({type:"latex",id:pn(10),width:A.w,height:A.h,rotate:0,left:(Ht-A.w)/2,top:(Ht*o.value-A.h)/2,path:A.path,latex:A.latex,color:r.value.fontColor,strokeWidth:2,viewBox:[A.w,A.h],fixedRatio:!0})},createVideoElement:A=>{a({type:"video",id:pn(10),width:500,height:300,rotate:0,left:(Ht-500)/2,top:(Ht*o.value-300)/2,src:A,autoplay:!1})},createAudioElement:A=>{a({type:"audio",id:pn(10),width:50,height:50,rotate:0,left:(Ht-50)/2,top:(Ht*o.value-50)/2,loop:!1,autoplay:!1,fixedRatio:!0,color:r.value.themeColor,src:A})}}},Dg=()=>{const e=ft(),t=lt(),{currentSlide:n,slides:r}=Ee(t),{addHistorySnapshot:o}=Jt(),i=c=>{const{groupIdMap:l,elIdMap:u}=d3(c),f=c[0];let d=0,h;do h=n.value.elements.find(p=>{if(p.type!==f.type)return!1;const{minX:m,maxX:A,minY:x,maxY:y}=Ma(p),{minX:R,maxX:g,minY:b,maxY:w}=Ma({...f,left:f.left+d,top:f.top+d});return m===R&&A===g&&x===b&&y===w}),h&&(d+=10);while(h);for(const p of c)p.id=u[p.id],p.left=p.left+d,p.top=p.top+d,p.groupId&&(p.groupId=l[p.groupId]);t.addElement(c),e.setActiveElementIdList(Object.values(u)),o()},a=c=>{const l=Wz(c),u=c.map(f=>{const{groupIdMap:d,elIdMap:h}=d3(f.elements);for(const p of f.elements)p.id=h[p.id],p.groupId&&(p.groupId=d[p.groupId]),p.link&&p.link.type==="slide"&&(l[p.link.target]?p.link.target=l[p.link.target]:delete p.link);if(f.animations)for(const p of f.animations)p.id=pn(10),p.elId=h[p.elId];return{...f,id:l[f.id]}});t.addSlide(u),o()},s=Me(()=>!(r.value.length>1||r.value[0].elements.length>0));return{addElementsFromData:i,addSlidesFromData:a,isEmptySlide:s}},Pb=()=>{const{createTextElement:e}=Ju(),{addElementsFromData:t,addSlidesFromData:n}=Dg(),r=i=>{e({left:0,top:0,width:600,height:50},{content:i})};return{pasteTextClipboardData:(i,a)=>{const s=(a==null?void 0:a.onlySlide)||!1,c=(a==null?void 0:a.onlyElements)||!1,l=Ob(i);if(typeof l=="object"){const{type:u,data:f}=l;u==="elements"&&!s?t(f):u==="slides"&&!c&&n(f)}else if(!c&&!s){const u=kb(l);r(u)}}}},Bd=()=>{const e=ft(),t=lt(),{selectedSlidesIndex:n,activeElementIdList:r}=Ee(e),{currentSlide:o,slides:i,theme:a,slideIndex:s}=Ee(t),c=Me(()=>[...n.value,s.value]),l=Me(()=>i.value.filter((O,k)=>c.value.includes(k))),u=Me(()=>l.value.map(O=>O.id)),{pasteTextClipboardData:f}=Pb(),{addSlidesFromData:d}=Dg(),{addHistorySnapshot:h}=Jt(),p=()=>{const O={id:pn(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};t.updateSlideIndex(0),e.setActiveElementIdList([]),t.setSlides([O])},m=O=>{O===yt.UP&&s.value>0?(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value-1)):O===yt.DOWN&&s.value{const O=Lb(JSON.stringify({type:"slides",data:l.value}));HP(O).then(()=>{e.setThumbnailsFocus(!0)})},x=()=>{GP().then(O=>{f(O,{onlySlide:!0})}).catch(O=>bn.warning(O))},y=()=>{const O={id:pn(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};e.setActiveElementIdList([]),t.addSlide(O),h()},R=O=>{const{groupIdMap:k,elIdMap:F}=d3(O.elements);for(const E of O.elements)E.id=F[E.id],E.groupId&&(E.groupId=k[E.groupId]);const N={...O,id:pn(10)};e.setActiveElementIdList([]),t.addSlide(N),h()},g=()=>{const O=JSON.parse(JSON.stringify(o.value));d([O])},b=(O=u.value)=>{i.value.length===O.length?p():t.deleteSlide(O),e.updateSelectedSlidesIndex([]),h()};return{resetSlides:p,updateSlideIndex:m,copySlide:A,pasteSlide:x,createSlide:y,createSlideByTemplate:R,copyAndPasteSlide:g,deleteSlide:b,cutSlide:()=>{const O=[...u.value];A(),b(O)},selectAllSlide:()=>{const O=Array.from(Array(i.value.length),(k,F)=>F);e.setActiveElementIdList([]),e.updateSelectedSlidesIndex(O)},sortSlides:(O,k)=>{if(k===O)return;const F=JSON.parse(JSON.stringify(i.value)),N=F[k];F.splice(k,1),F.splice(O,0,N),t.setSlides(F),t.updateSlideIndex(O)}}},$P=()=>{const e=ft(),t=lt(),{activeElementIdList:n}=Ee(e),{currentSlide:r}=Ee(t),{addHistorySnapshot:o}=Jt();return{lockElement:()=>{const s=JSON.parse(JSON.stringify(r.value.elements));for(const c of s)n.value.includes(c.id)&&(c.lock=!0);t.updateSlide({elements:s}),e.setActiveElementIdList([]),o()},unlockElement:s=>{const c=JSON.parse(JSON.stringify(r.value.elements));if(s.groupId){const l=[];for(const u of c)u.groupId===s.groupId&&(u.lock=!1,l.push(u.id));t.updateSlide({elements:c}),e.setActiveElementIdList(l)}else{for(const l of c)if(l.id===s.id){l.lock=!1;break}t.updateSlide({elements:c}),e.setActiveElementIdList([s.id])}o()}}},Op=()=>{const e=ft(),t=lt(),{activeElementIdList:n,activeGroupElementId:r}=Ee(e),{currentSlide:o}=Ee(t),{addHistorySnapshot:i}=Jt();return{deleteElement:()=>{if(!n.value.length)return;let c=[];r.value?c=o.value.elements.filter(l=>l.id!==r.value):c=o.value.elements.filter(l=>!n.value.includes(l.id)),e.setActiveElementIdList([]),t.updateSlide({elements:c}),i()},deleteAllElements:()=>{o.value.elements.length&&(e.setActiveElementIdList([]),t.updateSlide({elements:[]}),i())}}},Cb=()=>{const e=ft(),t=lt(),{activeElementIdList:n,activeElementList:r,handleElementId:o}=Ee(e),{currentSlide:i}=Ee(t),{addHistorySnapshot:a}=Jt();return{canCombine:Me(()=>{if(r.value.length<2)return!1;const u=r.value[0].groupId;return u?!r.value.every(d=>(d.groupId&&d.groupId)===u):!0}),combineElements:()=>{if(!r.value.length)return;let u=JSON.parse(JSON.stringify(i.value.elements));const f=pn(10),d=[];for(const A of u)n.value.includes(A.id)&&(A.groupId=f,d.push(A));const h=u.findIndex(A=>A.id===d[d.length-1].id),p=d.map(A=>A.id);u=u.filter(A=>!p.includes(A.id));const m=h-d.length+1;u.splice(m,0,...d),t.updateSlide({elements:u}),a()},uncombineElements:()=>{if(!r.value.length||!r.value.some(h=>h.groupId))return;const f=JSON.parse(JSON.stringify(i.value.elements));for(const h of f)n.value.includes(h.id)&&h.groupId&&delete h.groupId;t.updateSlide({elements:f});const d=o.value?[o.value]:[];e.setActiveElementIdList(d),a()}}},Ib=()=>{const e=ft(),{activeElementIdList:t,activeElementList:n}=Ee(e),{pasteTextClipboardData:r}=Pb(),{deleteElement:o}=Op(),i=()=>{if(!t.value.length)return;const l=Lb(JSON.stringify({type:"elements",data:n.value}));HP(l).then(()=>{e.setEditorareaFocus(!0)})},a=()=>{i(),o()},s=()=>{GP().then(l=>{r(l)}).catch(l=>bn.warning(l))};return{copyElement:i,cutElement:a,pasteElement:s,quickCopyElement:()=>{i(),s()}}},Kg=()=>{const e=ft(),{currentSlide:t}=Ee(lt()),{hiddenElementIdList:n,handleElementId:r}=Ee(e);return{selectAllElements:()=>{const s=t.value.elements.filter(c=>!c.lock&&!n.value.includes(c.id)).map(c=>c.id);e.setActiveElementIdList(s)},selectElement:a=>{r.value===a||n.value.includes(a)||t.value.elements.filter(c=>c.lock).some(c=>c.id===a)||e.setActiveElementIdList([a])}}},mq=()=>{const e=lt(),{activeElementIdList:t,activeGroupElementId:n}=Ee(ft()),{currentSlide:r}=Ee(e),{addHistorySnapshot:o}=Jt();return{moveElement:(a,s=1)=>{let c=[];const l=u=>{let{left:f,top:d}=u;switch(a){case yt.LEFT:f=f-s;break;case yt.RIGHT:f=f+s;break;case yt.UP:d=d-s;break;case yt.DOWN:d=d+s;break}return{...u,left:f,top:d}};n.value?c=r.value.elements.map(u=>n.value===u.id?l(u):u):c=r.value.elements.map(u=>t.value.includes(u.id)?l(u):u),e.updateSlide({elements:c}),o()}}},Tp=()=>{const e=lt(),{currentSlide:t}=Ee(e),{addHistorySnapshot:n}=Jt(),r=(l,u)=>({minLevel:l.findIndex(f=>f.id===u[0].id),maxLevel:l.findIndex(f=>f.id===u[u.length-1].id)}),o=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(x=>x.groupId===u.groupId),{minLevel:h,maxLevel:p}=r(l,d);if(p===l.length-1)return;const m=f[p+1],A=f.splice(h,d.length);if(m.groupId){const x=f.filter(y=>y.groupId===m.groupId);f.splice(h+x.length,0,...A)}else f.splice(h+1,0,...A)}else{const d=l.findIndex(m=>m.id===u.id);if(d===l.length-1)return;const h=f[d+1],p=f.splice(d,1)[0];if(h.groupId){const m=f.filter(A=>A.groupId===h.groupId);f.splice(d+m.length,0,p)}else f.splice(d+1,0,p)}return f},i=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(A=>A.groupId===u.groupId),{minLevel:h}=r(l,d);if(h===0)return;const p=f[h-1],m=f.splice(h,d.length);if(p.groupId){const A=f.filter(x=>x.groupId===p.groupId);f.splice(h-A.length,0,...m)}else f.splice(h-1,0,...m)}else{const d=l.findIndex(m=>m.id===u.id);if(d===0)return;const h=f[d-1],p=f.splice(d,1)[0];if(h.groupId){const m=f.filter(A=>A.groupId===h.groupId);f.splice(d-m.length,0,p)}else f.splice(d-1,0,p)}return f},a=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(A=>A.groupId===u.groupId),{minLevel:h,maxLevel:p}=r(l,d);if(p===l.length-1)return null;const m=f.splice(h,d.length);f.push(...m)}else{const d=l.findIndex(h=>h.id===u.id);if(d===l.length-1)return null;f.splice(d,1),f.push(u)}return f},s=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(m=>m.groupId===u.groupId),{minLevel:h}=r(l,d);if(h===0)return;const p=f.splice(h,d.length);f.unshift(...p)}else{const d=l.findIndex(h=>h.id===u.id);if(d===0)return;f.splice(d,1),f.unshift(u)}return f};return{orderElement:(l,u)=>{let f;u===hr.UP?f=o(t.value.elements,l):u===hr.DOWN?f=i(t.value.elements,l):u===hr.TOP?f=a(t.value.elements,l):u===hr.BOTTOM&&(f=s(t.value.elements,l)),f&&(e.updateSlide({elements:f}),n())}}},Fb=()=>{const e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},jP=()=>{document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},p3=()=>!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement),Sc=()=>{const e=UP(),t=lt(),n=()=>{Fb(),e.setScreening(!0)};return{enterScreening:n,enterScreeningFromStart:()=>{t.updateSlideIndex(0),n()},exitScreening:()=>{e.setScreening(!1),p3()&&jP()}}},_b=()=>{const e=ft(),{canvasPercentage:t,canvasScale:n,canvasDragged:r}=Ee(e);return{canvasScalePercentage:Me(()=>Math.round(n.value*100)+"%"),setCanvasScalePercentage:c=>{const l=Math.round(c/n.value*t.value)/100;e.setCanvasPercentage(l)},scaleCanvas:c=>{let l=t.value;const u=5,f=200,d=30;c==="+"&&l<=f&&(l+=u),c==="-"&&l>=d&&(l-=u),e.setCanvasPercentage(l)},resetCanvas:()=>{e.setCanvasPercentage(90),r&&e.setCanvasDragged(!1)}}},vq=()=>{const e=ft(),t=Ss(),{activeElementIdList:n,disableHotkeys:r,handleElement:o,handleElementId:i,editorAreaFocus:a,thumbnailsFocus:s,showSearchPanel:c}=Ee(e),{currentSlide:l}=Ee(lt()),{ctrlKeyState:u,shiftKeyState:f,spaceKeyState:d}=Ee(t),{updateSlideIndex:h,copySlide:p,createSlide:m,deleteSlide:A,cutSlide:x,copyAndPasteSlide:y,selectAllSlide:R}=Bd(),{combineElements:g,uncombineElements:b}=Cb(),{deleteElement:w}=Op(),{lockElement:T}=$P(),{copyElement:M,cutElement:O,quickCopyElement:k}=Ib(),{selectAllElements:F}=Kg(),{moveElement:N}=mq(),{orderElement:E}=Tp(),{redo:C,undo:_}=Jt(),{enterScreening:I,enterScreeningFromStart:W}=Sc(),{scaleCanvas:Z,resetCanvas:J}=_b(),le=()=>{n.value.length?M():s.value&&p()},D=()=>{n.value.length?O():s.value&&x()},Q=()=>{n.value.length?k():s.value&&y()},B=()=>{a.value&&F(),s.value&&R()},H=()=>{a.value&&T()},U=()=>{a.value&&g()},te=()=>{a.value&&b()},z=()=>{n.value.length?w():s.value&&A()},oe=ne=>{n.value.length?N(ne):(ne===yt.UP||ne===yt.DOWN)&&h(ne)},pe=ne=>{ne===yt.PAGEUP?h(yt.UP):ne===yt.PAGEDOWN&&h(yt.DOWN)},Ae=ne=>{o.value&&E(o.value,ne)},me=()=>{s.value&&m()},$=()=>{if(!l.value.elements.length)return;if(!i.value){const q=l.value.elements[0];e.setActiveElementIdList([q.id]);return}const ne=l.value.elements.findIndex(q=>q.id===i.value),se=ne>=l.value.elements.length-1?0:ne+1,j=l.value.elements[se].id;e.setActiveElementIdList([j])},ue=ne=>{const{ctrlKey:se,shiftKey:j,altKey:q,metaKey:ae}=ne,ge=se||ae,ce=ne.key.toUpperCase();if(ge&&!u.value&&t.setCtrlKeyState(!0),j&&!f.value&&t.setShiftKeyState(!0),!r.value&&ce===yt.SPACE&&t.setSpaceKeyState(!0),ge&&ce===yt.P){ne.preventDefault(),e.setDialogForExport("pdf");return}if(j&&ce===yt.F5){ne.preventDefault(),I(),t.setShiftKeyState(!1);return}if(ce===yt.F5){ne.preventDefault(),W();return}if(se&&ce===yt.F){ne.preventDefault(),e.setSearchPanelState(!c.value);return}if(!(!a.value&&!s.value)){if(ge&&ce===yt.C){if(r.value)return;ne.preventDefault(),le()}if(ge&&ce===yt.X){if(r.value)return;ne.preventDefault(),D()}if(ge&&ce===yt.D){if(r.value)return;ne.preventDefault(),Q()}if(ge&&ce===yt.Z){if(r.value)return;ne.preventDefault(),_()}if(ge&&ce===yt.Y){if(r.value)return;ne.preventDefault(),C()}if(ge&&ce===yt.A){if(r.value)return;ne.preventDefault(),B()}if(ge&&ce===yt.L){if(r.value)return;ne.preventDefault(),H()}if(!j&&ge&&ce===yt.G){if(r.value)return;ne.preventDefault(),U()}if(j&&ge&&ce===yt.G){if(r.value)return;ne.preventDefault(),te()}if(q&&ce===yt.F){if(r.value)return;ne.preventDefault(),Ae(hr.TOP)}if(q&&ce===yt.B){if(r.value)return;ne.preventDefault(),Ae(hr.BOTTOM)}if(ce===yt.DELETE||ce===yt.BACKSPACE){if(r.value)return;ne.preventDefault(),z()}if(ce===yt.UP){if(r.value)return;ne.preventDefault(),oe(yt.UP)}if(ce===yt.DOWN){if(r.value)return;ne.preventDefault(),oe(yt.DOWN)}if(ce===yt.LEFT){if(r.value)return;ne.preventDefault(),oe(yt.LEFT)}if(ce===yt.RIGHT){if(r.value)return;ne.preventDefault(),oe(yt.RIGHT)}if(ce===yt.PAGEUP){if(r.value)return;ne.preventDefault(),pe(yt.PAGEUP)}if(ce===yt.PAGEDOWN){if(r.value)return;ne.preventDefault(),pe(yt.PAGEDOWN)}if(ce===yt.ENTER){if(r.value)return;ne.preventDefault(),me()}if(ce===yt.MINUS){if(r.value)return;ne.preventDefault(),Z("-")}if(ce===yt.EQUAL){if(r.value)return;ne.preventDefault(),Z("+")}if(ce===yt.DIGIT_0){if(r.value)return;ne.preventDefault(),J()}if(ce===yt.TAB){if(r.value)return;ne.preventDefault(),$()}}},X=()=>{u.value&&t.setCtrlKeyState(!1),f.value&&t.setShiftKeyState(!1),d.value&&t.setSpaceKeyState(!1)};Gt(()=>{document.addEventListener("keydown",ue),document.addEventListener("keyup",X),window.addEventListener("blur",X)}),wn(()=>{document.removeEventListener("keydown",ue),document.removeEventListener("keyup",X),window.removeEventListener("blur",X)})},gq=()=>{const{editorAreaFocus:e,thumbnailsFocus:t,disableHotkeys:n}=Ee(ft()),{pasteTextClipboardData:r}=Pb(),{createImageElement:o}=Ju(),i=s=>{Hu(s).then(c=>o(c))},a=s=>{if(!e.value&&!t.value||n.value||!s.clipboardData)return;const c=s.clipboardData.items,l=c[0];if(l){for(const u of c)if(u.kind==="file"&&u.type.indexOf("image")!==-1){const f=u.getAsFile();f&&i(f);return}l.kind==="string"&&l.type==="text/plain"&&l.getAsString(u=>r(u))}};Gt(()=>{document.addEventListener("paste",a)}),wn(()=>{document.removeEventListener("paste",a)})};function qP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xw(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function ii(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(c){xw(i,r,o,a,s,"next",c)}function s(c){xw(i,r,o,a,s,"throw",c)}a(void 0)})}}var Ai=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hg(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var e9={exports:{}},bw={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(bw),function(e){var t=bw.exports.default;function n(){e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(_,I,W){_[I]=W.value},s=typeof Symbol=="function"?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(_,I,W){return Object.defineProperty(_,I,{value:W,enumerable:!0,configurable:!0,writable:!0}),_[I]}try{f({},"")}catch{f=function(I,W,Z){return I[W]=Z}}function d(_,I,W,Z){var J=I&&I.prototype instanceof m?I:m,le=Object.create(J.prototype),D=new N(Z||[]);return a(le,"_invoke",{value:M(_,W,D)}),le}function h(_,I,W){try{return{type:"normal",arg:_.call(I,W)}}catch(Z){return{type:"throw",arg:Z}}}r.wrap=d;var p={};function m(){}function A(){}function x(){}var y={};f(y,c,function(){return this});var R=Object.getPrototypeOf,g=R&&R(R(E([])));g&&g!==o&&i.call(g,c)&&(y=g);var b=x.prototype=m.prototype=Object.create(y);function w(_){["next","throw","return"].forEach(function(I){f(_,I,function(W){return this._invoke(I,W)})})}function T(_,I){function W(J,le,D,Q){var B=h(_[J],_,le);if(B.type!=="throw"){var H=B.arg,U=H.value;return U&&t(U)=="object"&&i.call(U,"__await")?I.resolve(U.__await).then(function(te){W("next",te,D,Q)},function(te){W("throw",te,D,Q)}):I.resolve(U).then(function(te){H.value=te,D(H)},function(te){return W("throw",te,D,Q)})}Q(B.arg)}var Z;a(this,"_invoke",{value:function(J,le){function D(){return new I(function(Q,B){W(J,le,Q,B)})}return Z=Z?Z.then(D,D):D()}})}function M(_,I,W){var Z="suspendedStart";return function(J,le){if(Z==="executing")throw new Error("Generator is already running");if(Z==="completed"){if(J==="throw")throw le;return C()}for(W.method=J,W.arg=le;;){var D=W.delegate;if(D){var Q=O(D,W);if(Q){if(Q===p)continue;return Q}}if(W.method==="next")W.sent=W._sent=W.arg;else if(W.method==="throw"){if(Z==="suspendedStart")throw Z="completed",W.arg;W.dispatchException(W.arg)}else W.method==="return"&&W.abrupt("return",W.arg);Z="executing";var B=h(_,I,W);if(B.type==="normal"){if(Z=W.done?"completed":"suspendedYield",B.arg===p)continue;return{value:B.arg,done:W.done}}B.type==="throw"&&(Z="completed",W.method="throw",W.arg=B.arg)}}}function O(_,I){var W=_.iterator[I.method];if(W===void 0){if(I.delegate=null,I.method==="throw"){if(_.iterator.return&&(I.method="return",I.arg=void 0,O(_,I),I.method==="throw"))return p;I.method="throw",I.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var Z=h(W,_.iterator,I.arg);if(Z.type==="throw")return I.method="throw",I.arg=Z.arg,I.delegate=null,p;var J=Z.arg;return J?J.done?(I[_.resultName]=J.value,I.next=_.nextLoc,I.method!=="return"&&(I.method="next",I.arg=void 0),I.delegate=null,p):J:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,p)}function k(_){var I={tryLoc:_[0]};1 in _&&(I.catchLoc=_[1]),2 in _&&(I.finallyLoc=_[2],I.afterLoc=_[3]),this.tryEntries.push(I)}function F(_){var I=_.completion||{};I.type="normal",delete I.arg,_.completion=I}function N(_){this.tryEntries=[{tryLoc:"root"}],_.forEach(k,this),this.reset(!0)}function E(_){if(_){var I=_[c];if(I)return I.call(_);if(typeof _.next=="function")return _;if(!isNaN(_.length)){var W=-1,Z=function J(){for(;++W<_.length;)if(i.call(_,W))return J.value=_[W],J.done=!1,J;return J.value=void 0,J.done=!0,J};return Z.next=Z}}return{next:C}}function C(){return{value:void 0,done:!0}}return A.prototype=x,a(b,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:A,configurable:!0}),A.displayName=f(x,u,"GeneratorFunction"),r.isGeneratorFunction=function(_){var I=typeof _=="function"&&_.constructor;return!!I&&(I===A||(I.displayName||I.name)==="GeneratorFunction")},r.mark=function(_){return Object.setPrototypeOf?Object.setPrototypeOf(_,x):(_.__proto__=x,f(_,u,"GeneratorFunction")),_.prototype=Object.create(b),_},r.awrap=function(_){return{__await:_}},w(T.prototype),f(T.prototype,l,function(){return this}),r.AsyncIterator=T,r.async=function(_,I,W,Z,J){J===void 0&&(J=Promise);var le=new T(d(_,I,W,Z),J);return r.isGeneratorFunction(I)?le:le.next().then(function(D){return D.done?D.value:le.next()})},w(b),f(b,u,"Generator"),f(b,c,function(){return this}),f(b,"toString",function(){return"[object Generator]"}),r.keys=function(_){var I=Object(_),W=[];for(var Z in I)W.push(Z);return W.reverse(),function J(){for(;W.length;){var le=W.pop();if(le in I)return J.value=le,J.done=!1,J}return J.done=!0,J}},r.values=E,N.prototype={constructor:N,reset:function(_){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(F),!_)for(var I in this)I.charAt(0)==="t"&&i.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=void 0)},stop:function(){this.done=!0;var _=this.tryEntries[0].completion;if(_.type==="throw")throw _.arg;return this.rval},dispatchException:function(_){if(this.done)throw _;var I=this;function W(B,H){return le.type="throw",le.arg=_,I.next=B,H&&(I.method="next",I.arg=void 0),!!H}for(var Z=this.tryEntries.length-1;Z>=0;--Z){var J=this.tryEntries[Z],le=J.completion;if(J.tryLoc==="root")return W("end");if(J.tryLoc<=this.prev){var D=i.call(J,"catchLoc"),Q=i.call(J,"finallyLoc");if(D&&Q){if(this.prev=0;--W){var Z=this.tryEntries[W];if(Z.tryLoc<=this.prev&&i.call(Z,"finallyLoc")&&this.prev=0;--I){var W=this.tryEntries[I];if(W.finallyLoc===_)return this.complete(W.completion,W.afterLoc),F(W),p}},catch:function(_){for(var I=this.tryEntries.length-1;I>=0;--I){var W=this.tryEntries[I];if(W.tryLoc===_){var Z=W.completion;if(Z.type==="throw"){var J=Z.arg;F(W)}return J}}throw new Error("illegal catch attempt")},delegateYield:function(_,I,W){return this.delegate={iterator:E(_),resultName:I,nextLoc:W},this.method==="next"&&(this.arg=void 0),p}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(e9);var Ym=e9.exports(),Wn=Ym;try{regeneratorRuntime=Ym}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=Ym:Function("r","regeneratorRuntime = r")(Ym)}var Dd={},Sw={},wd=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},es=[],Bi=[],Aq=typeof Uint8Array<"u"?Uint8Array:Array,Eb=!1;function t9(){Eb=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+es[o>>12&63]+es[o>>6&63]+es[63&o]);return i.join("")}function Mw(e){var t;Eb||t9();for(var n=e.length,r=n%3,o="",i=[],a=16383,s=0,c=n-r;sc?c:s+a));return r===1?(t=e[n-1],o+=es[t>>2],o+=es[t<<4&63],o+="=="):r===2&&(t=(e[n-2]<<8)+e[n-1],o+=es[t>>10],o+=es[t>>4&63],o+=es[t<<2&63],o+="="),i.push(o),i.join("")}function im(e,t,n,r,o){var i,a,s=8*o-r-1,c=(1<>1,u=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+f],f+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(i===0)i=1-l;else{if(i===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)}function n9(e,t,n,r,o,i){var a,s,c,l=8*i-o-1,u=(1<>1,d=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*c-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}var yq={}.toString,r9=Array.isArray||function(e){return yq.call(e)=="[object Array]"};He.TYPED_ARRAY_SUPPORT=wd.TYPED_ARRAY_SUPPORT===void 0||wd.TYPED_ARRAY_SUPPORT;var xq=Uv();function Uv(){return He.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function $s(e,t){if(Uv()=Uv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Uv().toString(16)+" bytes");return 0|e}function ts(e){return!(e==null||!e._isBuffer)}function a9(e,t){if(ts(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Yv(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return u9(e).length;default:if(r)return Yv(e).length;t=(""+t).toLowerCase(),r=!0}}function bq(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Pq(this,t,n);case"utf8":case"utf-8":return l9(this,t,n);case"ascii":return kq(this,t,n);case"latin1":case"binary":return Nq(this,t,n);case"base64":return Tq(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Cq(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Yc(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function ww(e,t,n,r,o){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if(typeof t=="string"&&(t=He.from(t,r)),ts(t))return t.length===0?-1:Lw(e,t,n,r,o);if(typeof t=="number")return t&=255,He.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Lw(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function Lw(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(r!==void 0&&((r=String(r).toLowerCase())==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(h,p){return a===1?h[p]:h.readUInt16BE(p*a)}if(o){var u=-1;for(i=n;is&&(n=s-c),i=n;i>=0;i--){for(var f=!0,d=0;do&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a>8,c=a%256,l.push(c),l.push(s);return l}(t,e.length-n),e,n,r)}function Tq(e,t,n){return t===0&&n===e.length?Mw(e):Mw(e.slice(t,n))}function l9(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:l>223?3:l>191?2:1;if(o+f<=n)switch(f){case 1:l<128&&(u=l);break;case 2:(192&(i=e[o+1]))==128&&(c=(31&l)<<6|63&i)>127&&(u=c);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(c=(15&l)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(c=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}u===null?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=f}return function(d){var h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var p="",m=0;m0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},He.prototype.compare=function(e,t,n,r,o){if(!ts(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),o===void 0&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(r,o),l=e.slice(t,n),u=0;uo)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Sq(this,e,t,n);case"utf8":case"utf-8":return Mq(this,e,t,n);case"ascii":return s9(this,e,t,n);case"latin1":case"binary":return wq(this,e,t,n);case"base64":return Lq(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oq(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},He.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function kq(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;or)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function Zo(e,t,n,r,o,i){if(!ts(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function am(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function sm(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function c9(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ow(e,t,n,r,o){return o||c9(e,0,n,4),n9(e,t,n,r,23,4),n+4}function Tw(e,t,n,r,o){return o||c9(e,0,n,8),n9(e,t,n,r,52,8),n+8}He.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},He.prototype.readUInt8=function(e,t){return t||Ur(e,1,this.length),this[e]},He.prototype.readUInt16LE=function(e,t){return t||Ur(e,2,this.length),this[e]|this[e+1]<<8},He.prototype.readUInt16BE=function(e,t){return t||Ur(e,2,this.length),this[e]<<8|this[e+1]},He.prototype.readUInt32LE=function(e,t){return t||Ur(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},He.prototype.readUInt32BE=function(e,t){return t||Ur(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},He.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Ur(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},He.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Ur(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},He.prototype.readInt8=function(e,t){return t||Ur(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},He.prototype.readInt16LE=function(e,t){t||Ur(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},He.prototype.readInt16BE=function(e,t){t||Ur(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},He.prototype.readInt32LE=function(e,t){return t||Ur(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},He.prototype.readInt32BE=function(e,t){return t||Ur(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},He.prototype.readFloatLE=function(e,t){return t||Ur(e,4,this.length),im(this,e,!0,23,4)},He.prototype.readFloatBE=function(e,t){return t||Ur(e,4,this.length),im(this,e,!1,23,4)},He.prototype.readDoubleLE=function(e,t){return t||Ur(e,8,this.length),im(this,e,!0,52,8)},He.prototype.readDoubleBE=function(e,t){return t||Ur(e,8,this.length),im(this,e,!1,52,8)},He.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Zo(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},He.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,1,255,0),He.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},He.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,2,65535,0),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):am(this,e,t,!0),t+2},He.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,2,65535,0),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):am(this,e,t,!1),t+2},He.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,4,4294967295,0),He.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):sm(this,e,t,!0),t+4},He.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,4,4294967295,0),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):sm(this,e,t,!1),t+4},He.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Zo(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},He.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Zo(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&s===0&&this[t+i+1]!==0&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},He.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,1,127,-128),He.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},He.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,2,32767,-32768),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):am(this,e,t,!0),t+2},He.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,2,32767,-32768),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):am(this,e,t,!1),t+2},He.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,4,2147483647,-2147483648),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):sm(this,e,t,!0),t+4},He.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):sm(this,e,t,!1),t+4},He.prototype.writeFloatLE=function(e,t,n){return Ow(this,e,t,!0,n)},He.prototype.writeFloatBE=function(e,t,n){return Ow(this,e,t,!1,n)},He.prototype.writeDoubleLE=function(e,t,n){return Tw(this,e,t,!0,n)},He.prototype.writeDoubleBE=function(e,t,n){return Tw(this,e,t,!1,n)},He.prototype.copy=function(e,t,n,r){if(n||(n=0),r||r===0||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!He.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function u9(e){return function(t){var n,r,o,i,a,s;Eb||t9();var c=t.length;if(c%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=t[c-2]==="="?2:t[c-1]==="="?1:0,s=new Aq(3*c/4-a),o=a>0?c-4:c;var l=0;for(n=0,r=0;n>16&255,s[l++]=i>>8&255,s[l++]=255&i;return a===2?(i=Bi[t.charCodeAt(n)]<<2|Bi[t.charCodeAt(n+1)]>>4,s[l++]=255&i):a===1&&(i=Bi[t.charCodeAt(n)]<<10|Bi[t.charCodeAt(n+1)]<<4|Bi[t.charCodeAt(n+2)]>>2,s[l++]=i>>8&255,s[l++]=255&i),s}(function(t){if((t=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(t).replace(Iq,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function Gg(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function kp(e){return e!=null&&(!!e._isBuffer||kw(e)||function(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&kw(t.slice(0,0))}(e))}function kw(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var _q=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:xq,Buffer:He,SlowBuffer:function(e){return+e!=e&&(e=0),He.alloc(+e)},isBuffer:kp}),Tr={};function f9(){throw new Error("setTimeout has not been defined")}function d9(){throw new Error("clearTimeout has not been defined")}var Il=f9,Fl=d9;function h9(e){if(Il===setTimeout)return setTimeout(e,0);if((Il===f9||!Il)&&setTimeout)return Il=setTimeout,setTimeout(e,0);try{return Il(e,0)}catch{try{return Il.call(null,e,0)}catch{return Il.call(this,e,0)}}}typeof wd.setTimeout=="function"&&(Il=setTimeout),typeof wd.clearTimeout=="function"&&(Fl=clearTimeout);var tu,js=[],fd=!1,Qm=-1;function Eq(){fd&&tu&&(fd=!1,tu.length?js=tu.concat(js):Qm=-1,js.length&&p9())}function p9(){if(!fd){var e=h9(Eq);fd=!0;for(var t=js.length;t;){for(tu=js,js=[];++Qm1)for(var n=1;n0&&a.length>o){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,typeof console.warn=="function"?console.warn(s):console.log(s)}}else a=i[t]=n,++e._eventsCount;return e}function Pw(e,t,n){var r=!1;function o(){e.removeListener(t,o),r||(r=!0,n.apply(e,arguments))}return o.listener=n,o}function Cw(e){var t=this._events;if(t){var n=t[e];if(typeof n=="function")return 1;if(n)return n.length}return 0}function Np(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}_l.prototype=Object.create(null),gn.EventEmitter=gn,gn.usingDomains=!1,gn.prototype.domain=void 0,gn.prototype._events=void 0,gn.prototype._maxListeners=void 0,gn.defaultMaxListeners=10,gn.init=function(){this.domain=null,gn.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new _l,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},gn.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},gn.prototype.getMaxListeners=function(){return v9(this)},gn.prototype.emit=function(e){var t,n,r,o,i,a,s,c=e==="error";if(a=this._events)c=c&&a.error==null;else if(!c)return!1;if(s=this.domain,c){if(t=arguments[1],!s){if(t instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var u=typeof n=="function";switch(r=arguments.length){case 1:Kq(n,u,this);break;case 2:Hq(n,u,this,arguments[1]);break;case 3:Gq(n,u,this,arguments[1],arguments[2]);break;case 4:Jq(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(o=new Array(r-1),i=1;i0;)if(n[i]===t||n[i].listener&&n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount==0)return this._events=new _l,this;delete r[e]}else(function(s,c){for(var l=c,u=l+1,f=s.length;u0?Reflect.ownKeys(this._events):[]};var $q=Object.freeze({__proto__:null,default:gn,EventEmitter:gn}),sc=typeof Object.create=="function"?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},jq=/%[sdj%]/g;function Jg(e){if(!qh(e)){for(var t=[],n=0;n=o)return s;switch(s){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch{return"[Circular]"}default:return s}}),a=r[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),$g(t)?n.showHidden=t:t&&Qb(n,t),as(n.showHidden)&&(n.showHidden=!1),as(n.depth)&&(n.depth=2),as(n.colors)&&(n.colors=!1),as(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=qq),Qv(n,e,n.depth)}function qq(e,t){var n=us.styles[t];return n?"\x1B["+us.colors[n][0]+"m"+e+"\x1B["+us.colors[n][1]+"m":e}function eee(e,t){return e}function Qv(e,t,n){if(e.customInspect&&t&&gh(t.inspect)&&t.inspect!==us&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return qh(r)||(r=Qv(e,r,n)),r}var o=function(d,h){if(as(h))return d.stylize("undefined","undefined");if(qh(h)){var p="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(p,"string")}if(Ub(h))return d.stylize(""+h,"number");if($g(h))return d.stylize(""+h,"boolean");if(Pp(h))return d.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),a=function(d){var h={};return d.forEach(function(p,m){h[p]=!0}),h}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),vh(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return zR(t);if(i.length===0){if(gh(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(mh(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Zv(t))return e.stylize(Date.prototype.toString.call(t),"date");if(vh(t))return zR(t)}var c,l="",u=!1,f=["{","}"];return Vb(t)&&(u=!0,f=["[","]"]),gh(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),mh(t)&&(l=" "+RegExp.prototype.toString.call(t)),Zv(t)&&(l=" "+Date.prototype.toUTCString.call(t)),vh(t)&&(l=" "+zR(t)),i.length!==0||u&&t.length!=0?n<0?mh(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=u?function(d,h,p,m,A){for(var x=[],y=0,R=h.length;y{Ua&&Ua.childNodes.length<=1&&(Ua.remove(),Ua=null),yd(null,o)},yd(r,o),Ua.appendChild(o.firstElementChild);const i={id:t,close:()=>{var a,s;return(s=(a=r==null?void 0:r.component)==null?void 0:a.exposed)==null?void 0:s.close()}};return m3.push(i),i};xn.success=(e,t)=>xn({...t,type:"success",message:e});xn.info=(e,t)=>xn({...t,type:"info",message:e});xn.warning=(e,t)=>xn({...t,type:"warning",message:e});xn.error=(e,t)=>xn({...t,type:"error",message:e});xn.closeAll=function(){for(let e=m3.length-1;e>=0;e--)m3[e].close()};const Px=e=>{const n=e.replace(/[\n\r]+/g,"
").split("
");let r="";for(const o of n)o&&(r+=`
${o}
`);return r},mq=e=>new Promise(t=>{const n=document.createElement("img");n.src=e,n.style.opacity="0",document.body.appendChild(n),n.onload=()=>{const r=n.clientWidth,o=n.clientHeight;n.onload=null,n.onerror=null,document.body.removeChild(n),t({width:r,height:o})},n.onerror=()=>{n.onload=null,n.onerror=null}}),Hu=e=>new Promise(t=>{const n=new FileReader;n.addEventListener("load",()=>{t(n.result)}),n.readAsDataURL(e)}),Gt=1e3;var cn=(e=>(e.ROUND_RECT="roundRect",e.ROUND_RECT_DIAGONAL="roundRectDiagonal",e.ROUND_RECT_SINGLE="roundRectSingle",e.ROUND_RECT_SAMESIDE="roundRectSameSide",e.CUT_RECT_DIAGONAL="cutRectDiagonal",e.CUT_RECT_SINGLE="cutRectSingle",e.CUT_RECT_SAMESIDE="cutRectSameSide",e.CUT_ROUND_RECT="cutRoundRect",e.MESSAGE="message",e.ROUND_MESSAGE="roundMessage",e.L="L",e.RING_RECT="ringRect",e.PLUS="plus",e.TRIANGLE="triangle",e.PARALLELOGRAM_LEFT="parallelogramLeft",e.PARALLELOGRAM_RIGHT="parallelogramRight",e.TRAPEZOID="trapezoid",e.BULLET="bullet",e.INDICATOR="indicator",e))(cn||{}),kt=(e=>(e.TEXT="text",e.IMAGE="image",e.SHAPE="shape",e.LINE="line",e.CHART="chart",e.TABLE="table",e.LATEX="latex",e.VIDEO="video",e.AUDIO="audio",e))(kt||{});const Gu={[cn.ROUND_RECT]:{editable:!0,defaultValue:.125,range:[0,.5],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L ${r} ${t} Q 0 ${t} 0 ${t-r} L 0 ${r} Q 0 0 ${r} 0 Z`}},[cn.CUT_RECT_DIAGONAL]:{editable:!0,defaultValue:.2,range:[0,.9],relative:"right",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 ${t-r} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L ${r} ${t} Z`}},[cn.CUT_RECT_SINGLE]:{editable:!0,defaultValue:.2,range:[0,.9],relative:"right",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 ${t} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} Z`}},[cn.CUT_RECT_SAMESIDE]:{editable:!0,defaultValue:.2,range:[0,.5],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 ${r} L ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[cn.ROUND_RECT_DIAGONAL]:{editable:!0,defaultValue:.125,range:[0,1],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M ${r} 0 L ${e} 0 L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[cn.ROUND_RECT_SINGLE]:{editable:!0,defaultValue:.125,range:[0,1],relative:"right",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} L 0 0 Z`}},[cn.ROUND_RECT_SAMESIDE]:{editable:!0,defaultValue:.125,range:[0,.5],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 ${r} Q 0 0 ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[cn.CUT_ROUND_RECT]:{editable:!0,defaultValue:.125,range:[0,.5],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[cn.MESSAGE]:{formula:(e,t)=>{const n=e*.2,r=t*.2;return`M 0 0 L ${e} 0 L ${e} ${t-r} L ${e/2} ${t-r} L ${e/2-n} ${t} L ${e/2-n} ${t-r} L 0 ${t-r} Z`}},[cn.ROUND_MESSAGE]:{formula:(e,t)=>{const n=Math.min(e,t)*.125,r=e*.2,o=t*.2;return`M 0 ${n} Q 0 0 ${n} 0 L ${e-n} 0 Q ${e} 0 ${e} ${n} L ${e} ${t-n-o} Q ${e} ${t-o} ${e-n} ${t-o} L ${e/2} ${t-o} L ${e/2-r} ${t} L ${e/2-r} ${t-o} L ${n} ${t-o} Q 0 ${t-o} 0 ${t-n-o} L 0 ${n} Z`}},[cn.L]:{editable:!0,defaultValue:.25,range:[.1,.9],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 0 L 0 ${t} L ${e} ${t} L ${e} ${t-r} L ${r} ${t-r} L ${r} 0 Z`}},[cn.RING_RECT]:{editable:!0,defaultValue:.25,range:[.1,.45],relative:"left",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M 0 0 ${e} 0 ${e} ${t} L 0 ${t} L 0 0 Z M ${r} ${r} L ${r} ${t-r} L ${e-r} ${t-r} L ${e-r} ${r} Z`}},[cn.PLUS]:{editable:!0,defaultValue:.25,range:[.1,.9],relative:"center",getBaseSize:(e,t)=>Math.min(e,t),formula:(e,t,n)=>{const r=Math.min(e,t)*n;return`M ${e/2-r/2} 0 L ${e/2-r/2} ${t/2-r/2} L 0 ${t/2-r/2} L 0 ${t/2+r/2} L ${e/2-r/2} ${t/2+r/2} L ${e/2-r/2} ${t} L ${e/2+r/2} ${t} L ${e/2+r/2} ${t/2+r/2} L ${e} ${t/2+r/2} L ${e} ${t/2-r/2} L ${e/2+r/2} ${t/2-r/2} L ${e/2+r/2} 0 Z`}},[cn.TRIANGLE]:{editable:!0,defaultValue:.5,range:[0,1],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>`M ${e*n} 0 L 0 ${t} L ${e} ${t} Z`},[cn.PARALLELOGRAM_LEFT]:{editable:!0,defaultValue:.25,range:[0,.9],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${r} 0 L ${e} 0 L ${e-r} ${t} L 0 ${t} Z`}},[cn.PARALLELOGRAM_RIGHT]:{editable:!0,defaultValue:.25,range:[0,.9],relative:"right",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M 0 0 L ${e-r} 0 L ${e} ${t} L ${r} ${t} Z`}},[cn.TRAPEZOID]:{editable:!0,defaultValue:.25,range:[0,.5],relative:"left",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${r} 0 L ${e-r} 0 L ${e} ${t} L 0 ${t} Z`}},[cn.BULLET]:{editable:!0,defaultValue:.2,range:[0,1],relative:"top",getBaseSize:(e,t)=>t,formula:(e,t,n)=>{const r=t*n;return`M ${e/2} 0 L 0 ${r} L 0 ${t} L ${e} ${t} L ${e} ${r} Z`}},[cn.INDICATOR]:{editable:!0,defaultValue:.2,range:[0,.9],relative:"right",getBaseSize:e=>e,formula:(e,t,n)=>{const r=e*n;return`M ${e} ${t/2} L ${e-r} 0 L 0 0 L ${r} ${t/2} L 0 ${t} L ${e-r} ${t} Z`}}},Cx=[{type:"矩形",children:[{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",pptxShapeType:"rect"},{viewBox:[200,200],path:"M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z",pathFormula:cn.ROUND_RECT,pptxShapeType:"roundRect"},{viewBox:[200,200],path:"M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z",pathFormula:cn.CUT_RECT_SINGLE,pptxShapeType:"snip1Rect"},{viewBox:[200,200],path:"M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z",pathFormula:cn.CUT_RECT_SAMESIDE,pptxShapeType:"snip2SameRect"},{viewBox:[200,200],path:"M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z",pathFormula:cn.CUT_RECT_DIAGONAL,pptxShapeType:"snip2DiagRect"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 50 L 200 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:cn.CUT_ROUND_RECT,pptxShapeType:"snipRoundRect"},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z",pathFormula:cn.ROUND_RECT_SINGLE,pptxShapeType:"round1Rect"},{viewBox:[200,200],path:"M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z",pathFormula:cn.ROUND_RECT_SAMESIDE,pptxShapeType:"round2SameRect"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 200 150 Q 200 200 150 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:cn.ROUND_RECT_DIAGONAL,pptxShapeType:"round2DiagRect"},{viewBox:[200,200],path:"M 0 80 L 60 0 L 100 40 L 180 20 L 200 120 L 160 200 L 0 200 L 60 140 Z",title:"任意多边形"}]},{type:"常用形状",children:[{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",pptxShapeType:"ellipse"},{viewBox:[200,200],path:"M 100 0 L 0 200 L 200 200 L 100 0 Z",pathFormula:cn.TRIANGLE,pptxShapeType:"triangle"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z"},{viewBox:[200,200],path:"M 70 20 L 0 160 Q 0 200 40 200 L 160 200 Q 200 200 200 160 L 130 20 Q 100 -20 70 20 Z"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",pathFormula:cn.PARALLELOGRAM_LEFT,pptxShapeType:"parallelogram"},{viewBox:[200,200],path:"M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",pathFormula:cn.PARALLELOGRAM_RIGHT},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:cn.TRAPEZOID,pptxShapeType:"trapezoid"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z",pptxShapeType:"diamond"},{viewBox:[200,200],path:"M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",pathFormula:cn.BULLET},{viewBox:[200,200],path:"M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",pathFormula:cn.INDICATOR},{viewBox:[200,200],path:"M 0 0 C 80 20 120 20 200 0 C 180 80 180 120 200 200 C 80 180 120 180 0 200 C 20 120 20 80 0 0 Z"},{viewBox:[200,200],path:"M 10 10 C 60 0 140 0 190 10 C 200 60 200 140 190 190 C 140 200 60 200 10 190 C 0 140 0 60 10 10 Z"},{viewBox:[200,200],path:"M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z",pptxShapeType:"pie"},{viewBox:[200,200],path:"M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z",pptxShapeType:"chord"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z",pptxShapeType:"teardrop"},{viewBox:[200,200],path:"M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 Z",pptxShapeType:"pentagon"},{viewBox:[200,200],path:"M 40 0 L 160 0 L 200 100 L 160 200 L 40 200 L 0 100 Z",pptxShapeType:"hexagon"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z"},{viewBox:[200,200],path:"M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z",pptxShapeType:"octagon"},{viewBox:[200,200],path:"M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",pathFormula:cn.L},{viewBox:[200,200],path:"M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",pathFormula:cn.RING_RECT},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z"},{viewBox:[200,200],path:"M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",pathFormula:cn.PLUS},{viewBox:[200,200],path:"M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",pathFormula:cn.MESSAGE},{viewBox:[200,200],path:"M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",pathFormula:cn.ROUND_MESSAGE},{viewBox:[200,200],path:"M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z"},{viewBox:[200,200],path:"M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z"},{viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z"},{viewBox:[200,200],path:"M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z"},{viewBox:[200,200],path:"M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 100 0 L 120 80 L 200 100 L 120 120 L 100 200 L 80 120 L 0 100 L 80 80 L 100 0 Z",pptxShapeType:"star4"},{viewBox:[1024,1024],path:"M1018.67652554 400.05983681l-382.95318779-5.89158658L512 34.78141155 388.27666225 394.16825023l-382.95318779 5.89158658L311.68602415 629.83174977l-117.83174978 365.27842665 312.25413766-223.88032637 312.25413904 223.88032637-117.83175116-365.27842665 318.14572563-229.77191296z",pptxShapeType:"star5",special:!0},{viewBox:[200,200],path:"M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 140 60 L 200 60 L 160 100 L 200 140 L 140 140 L 100 200 L 60 140 L 0 140 L 40 100 L 0 60 L 60 60 L 100 0 Z",pptxShapeType:"star6"},{viewBox:[200,200],path:"M 100 0 L 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z"},{viewBox:[200,200],path:"M 200 0 C 80 40 80 160 200 200 C -60 200 -60 0 200 0 Z"}]},{type:"箭头",children:[{viewBox:[200,200],path:"M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z",pptxShapeType:"upArrow"},{viewBox:[200,200],path:"M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z",pptxShapeType:"downArrow"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z",pptxShapeType:"leftArrow"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"rightArrow"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z",pptxShapeType:"upDownArrow"},{viewBox:[200,200],path:"M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z",pptxShapeType:"leftRightArrow"},{viewBox:[200,200],path:"M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"notchedRightArrow"},{viewBox:[200,200],path:"M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z"},{viewBox:[200,200],path:"M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z",pptxShapeType:"chevron"},{viewBox:[200,200],path:"M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z"},{viewBox:[200,200],path:"M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z",pptxShapeType:"homePlate"},{viewBox:[200,200],path:"M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z"},{viewBox:[200,200],path:"M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z"},{viewBox:[1024,1024],path:"M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z",special:!0},{viewBox:[1024,1024],path:"M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z",special:!0}]},{type:"其他形状",children:[{viewBox:[1024,1024],path:"M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z",special:!0},{viewBox:[1024,1024],path:"M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z",special:!0},{viewBox:[1024,1024],path:"M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z",special:!0},{viewBox:[1024,1024],path:"M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z",special:!0},{viewBox:[1024,1024],path:"M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z",special:!0},{viewBox:[1024,1024],path:"M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z",special:!0},{viewBox:[1024,1024],path:"M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z",special:!0},{viewBox:[1024,1024],path:"M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z",special:!0},{viewBox:[1024,1024],path:"M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z",special:!0},{viewBox:[1024,1024],path:"M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z",special:!0},{viewBox:[1024,1024],path:"M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z",special:!0},{viewBox:[1024,1024],path:"M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z",special:!0},{viewBox:[1024,1024],path:"M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z",special:!0},{viewBox:[1024,1024],path:"M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z",special:!0},{viewBox:[1024,1024],path:"M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z",special:!0},{viewBox:[1024,1024],path:"M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z",special:!0},{viewBox:[1024,1024],path:"M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z",special:!0},{viewBox:[1024,1024],path:"M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z",special:!0},{viewBox:[1024,1024],path:"M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m220.16 343.26755556l-239.616 332.23111111c-14.44977778 20.13866667-44.37333333 20.13866667-58.82311111 0L291.84 481.16622222c-4.32355555-6.03022222 0-14.44977778 7.39555555-14.44977777h53.36177778c11.60533333 0 22.64177778 5.57511111 29.46844445 15.13244444l81.00977777 112.41244444 178.85866667-248.03555555c6.82666667-9.44355555 17.74933333-15.13244445 29.46844445-15.13244445H724.76444445c7.39555555 0 11.71911111 8.41955555 7.39555555 14.44977778z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h418.70222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m188.18844445 703.37422223l-75.09333334-0.34133333L512 570.48177778l-112.98133333 134.71288889-75.20711112 0.34133333c-5.00622222 0-9.10222222-3.98222222-9.10222222-9.10222222 0-2.16177778 0.79644445-4.20977778 2.16177778-5.91644445l148.02488889-176.35555555L316.87111111 337.92c-1.36533333-1.70666667-2.16177778-3.75466667-2.16177778-5.91644445 0-5.00622222 4.096-9.10222222 9.10222222-9.10222222l75.20711112 0.34133334L512 458.06933333l112.98133333-134.71288888 75.09333334-0.34133334c5.00622222 0 9.10222222 3.98222222 9.10222222 9.10222222 0 2.16177778-0.79644445 4.20977778-2.16177778 5.91644445L559.21777778 514.27555555l147.91111111 176.35555556c1.36533333 1.70666667 2.16177778 3.75466667 2.16177778 5.91644444 0 5.00622222-4.096 9.10222222-9.10222222 9.10222223z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H548.40888889v172.94222222c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222h-54.61333334c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V548.40888889H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h172.94222222V302.64888889c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h54.61333334c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v172.94222222h172.94222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m163.95377778 517.57511112L427.46311111 700.64355555c-1.59288889 1.13777778-3.41333333 1.70666667-5.34755556 1.70666667-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V331.88977778c0-1.93422222 0.56888889-3.75466667 1.70666667-5.34755556 2.95822222-4.096 8.64711111-5.00622222 12.74311111-2.048L675.95377778 505.17333333c0.79644445 0.56888889 1.47911111 1.25155555 2.048 2.048 2.95822222 3.98222222 2.048 9.67111111-2.048 12.62933334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m200.81777778 666.39644445l-32.54044445 44.37333333c-2.95822222 4.096-8.64711111 4.89244445-12.74311111 1.93422222L479.34577778 577.76355555c-2.38933333-1.70666667-3.75466667-4.43733333-3.75466667-7.39555555V257.13777778c0-5.00622222 4.096-9.10222222 9.10222222-9.10222223h54.72711112c5.00622222 0 9.10222222 4.096 9.10222222 9.10222223v281.6l162.24711111 117.30488889c4.096 2.84444445 5.00622222 8.53333333 2.048 12.62933333z",special:!0},{viewBox:[1024,1024],path:"M981.10577778 314.48177778c-25.6-61.09866667-62.464-115.93955555-109.34044445-163.04355556-46.87644445-46.99022222-101.60355555-83.968-162.70222222-109.568C646.59911111 15.58755555 580.38044445 2.27555555 512 2.27555555h-2.27555555c-68.83555555 0.34133333-135.39555555 13.99466667-198.08711112 40.84622223-60.52977778 25.94133333-114.80177778 62.80533333-161.22311111 109.79555555-46.42133333 46.99022222-82.83022222 101.60355555-108.08888889 162.47466667C16.27022222 378.42488889 3.072 445.44 3.41333333 514.38933333c0.34133333 78.96177778 19.22844445 157.35466667 54.49955556 227.44177778v172.94222222c0 28.89955555 23.43822222 52.33777778 52.224 52.33777778h172.71466666c69.97333333 35.38488889 148.13866667 54.272 226.98666667 54.61333334h2.38933333c68.03911111 0 133.91644445-13.19822222 196.03911112-39.02577778 60.75733333-25.37244445 115.37066667-61.78133333 162.13333333-108.31644445 46.87644445-46.53511111 83.74044445-100.92088889 109.568-161.56444444 26.73777778-62.80533333 40.39111111-129.59288889 40.73244445-198.54222223 0.22755555-69.29066667-13.19822222-136.53333333-39.59466667-199.79377777zM284.89955555 566.61333333c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955556 54.61333333-24.34844445 54.61333333-54.49955556 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955556-54.61333333s24.46222222-54.61333333 54.49955556-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM745.4750693 325.8561164l-267.95558363 371.52436096c-16.15876501 22.52048353-49.62140436 22.52048353-65.78016939 0L253.07805667 477.51948567c-4.83490607-6.74342161 0-16.15876501 8.27023406-16.15876499h59.67291961c12.97790576 0 25.31963967 6.23448413 32.95370188 16.92217123l90.59087157 125.70755774 200.01242995-277.37092701c7.63406221-10.56045272 19.84856175-16.92217125 32.95370189-16.92217124H737.20483524c8.27023407 0 13.10514012 9.41534338 8.27023406 16.158765z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h468.2224823c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM720.79160148 697.63494611c5.59831228 6.61618726 0.8906406 16.6677025-7.76129658 16.66770249h-74.94104404c-5.98001539 0-11.70556205-2.67192177-15.64982754-7.25235911L512 575.36271635l-110.43943332 131.68757314c-3.81703111 4.58043732-9.54257777 7.25235911-15.64982754 7.25235911H310.9696951c-8.65193717 0-13.35960887-10.05151525-7.76129658-16.66770249L458.81603326 512 303.20839852 326.36505389c-5.59831228-6.61618726-0.8906406-16.6677025 7.76129658-16.66770249h74.94104404c5.98001539 0 11.70556205 2.67192177 15.64982754 7.25235911L512 448.63728365l110.43943332-131.68757314c3.81703111-4.58043732 9.54257777-7.25235911 15.64982754-7.25235911H713.0303049c8.65193717 0 13.35960887 10.05151525 7.76129658 16.66770249L565.18396674 512l155.60763474 185.63494611z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM677.02297814 523.19662459L423.31764398 722.70011704c-9.41534338 7.37959347-23.28388974 0.76340622-23.28388975-11.19662459V312.62374191c0-11.9600308 13.86854636-18.70345241 23.28388975-11.19662457l253.70533416 199.37625807c7.25235911 5.72554666 7.25235911 16.6677025 0 22.39324918z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H552.71499847v193.39624268c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962h-61.0724977c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962V552.71499847H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h193.39624268V277.88875885c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h61.0724977c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v193.39624268h193.39624268c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M902.67315697 135.41705551L528.62204754 7.94466448C524.10877635 6.40354749 518.05438818 5.63298899 512 5.63298899s-12.10877635 0.7705585-16.62204754 2.31167549L121.32684303 135.41705551c-9.13662215 3.08223399-16.62204754 13.64989334-16.62204753 23.33691443v531.02488283c0 9.68702108 6.27454775 22.45627614 13.87005291 28.51066431L498.0198673 1013.9638196c3.85279247 2.9721542 8.8063828 4.51327118 13.87005291 4.51327118s10.12734022-1.54111698 13.87005291-4.51327118l379.4450189-295.67430252c7.59550517-5.94430839 13.87005291-18.71356345 13.87005291-28.51066431V158.75396994c0.22015956-9.68702108-7.26526581-20.14460066-16.40188796-23.33691443zM712.89560763 323.43332829L478.86598471 645.63685899c-7.04510625 9.68702108-21.57563786 9.68702108-28.6207441 0l-139.14084824-191.5388259c-4.18303182-5.8342286 0-13.9801327 7.15518603-13.9801327h60.76404132c5.61406904 0 11.0079785 2.75199463 14.31037204 7.26526582l71.22162091 97.97100864 166.11039557-228.74579323c3.30239355-4.51327118 8.58622323-7.26526581 14.31037204-7.26526581H705.7404216c7.15518602 0.11007979 11.33821785 8.25598388 7.15518603 14.09021248z",special:!0},{viewBox:[1024,1024],path:"M959.86498307 186.28001231H797.00498922v-101.78749614c0-44.91373267-36.51626425-81.42999692-81.42999691-81.42999693H308.42500769c-44.91373267 0-81.42999692 36.51626425-81.42999691 81.42999693v101.78749614H64.13501693c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499847v40.71499845c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874962h76.8495596l31.42688945 665.43575611c2.03574992 43.38692024 37.91584233 77.61296581 81.30276254 77.6129658h577.64404066c43.5141546 0 79.26701262-34.09881122 81.30276254-77.6129658l31.42688945-665.43575611H990.40123192c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874962v-40.71499845c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499847z m-254.46874039 0H318.60375732v-91.60874653h386.79248536v91.60874653z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 248.62485371H654.50249462V104.85001539c0-22.52048353-18.19451494-40.71499847-40.71499847-40.71499846H94.67126578v-50.89374808c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-71.25124732c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v997.5174623c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h71.25124732c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961V674.85999383h315.54123807v143.77483833c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h529.29497999c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V289.33985217c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846z",special:!0},{viewBox:[1024,1024],path:"M804.63905145 265.16532183V94.67126578h109.42155836c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961H109.93939019c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h109.42155836v170.49405605c0 103.6960117 53.94737296 194.92305513 135.3773699 246.83467817-81.42999692 51.91162303-135.37736988 143.13866646-135.3773699 246.83467817v170.49405605h-109.42155836c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h804.12121962c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-109.42155836V758.83467817c0-103.6960117-53.94737296-194.92305513-135.3773699-246.83467817 81.42999692-51.91162303 135.37736988-143.13866646 135.3773699-246.83467817z",special:!0},{viewBox:[1024,1024],path:"M1020.928 448.44373333l-35.36213334-373.4528c-1.79200001-19.3536-17.2032-34.64533332-36.55679999-36.55679999L575.55626667 3.072h-0.47786666c-3.82293334 0-6.8096 1.19466667-9.07946669 3.46453333L6.53653333 565.99893332c-4.65919999 4.65919999-4.65919999 12.1856 0 16.84480001l434.61973334 434.61973334c2.26986667 2.26986667 5.25653333 3.46453333 8.48213333 3.46453333s6.21226667-1.19466667 8.48213333-3.46453333l559.46239999-559.46239999c2.38933332-2.5088 3.584-5.97333334 3.34506668-9.55733335zM735.40266668 362.66666667c-42.17173333 0-76.45866667-34.28693333-76.45866667-76.45866667s34.28693333-76.45866667 76.45866667-76.45866667 76.45866667 34.28693333 76.45866665 76.45866667-34.28693333 76.45866667-76.45866665 76.45866667z",special:!0}]},{type:"线性",children:[{viewBox:[1024,1024],path:"M1009.55537674 75.96950982l-61.38012212-61.38012214c-4.48769762-4.48769762-11.870684-4.48769762-16.3583816 0L14.44462326 931.67210859c-4.48769762 4.48769762-4.48769762 11.870684 0 16.35838159l61.38012212 61.38012214c4.48769762 4.48769762 11.870684 4.48769762 16.3583816 0L1009.41061232 92.18312698c4.63246205-4.34293316 4.63246205-11.72591956 0.14476442-16.21361716zM210.88996692 419.35075905c114.94296453 0 208.46079213-93.51782759 208.46079213-208.46079213s-93.51782759-208.46079213-208.46079213-208.4607921-208.46079213 93.51782759-208.4607921 208.4607921 93.51782759 208.46079213 208.4607921 208.46079213z m0-312.69118816c57.47148228 0 104.23039605 46.75891379 104.23039607 104.23039603s-46.75891379 104.23039605-104.23039607 104.23039607-104.23039605-46.75891379-104.23039603-104.23039607 46.75891379-104.23039605 104.23039603-104.23039603zM813.11003308 604.64924095c-114.94296453 0-208.46079213 93.51782759-208.46079213 208.46079213s93.51782759 208.46079213 208.46079213 208.4607921 208.46079213-93.51782759 208.4607921-208.4607921-93.51782759-208.46079213-208.4607921-208.46079213z m0 312.69118816c-57.47148228 0-104.23039605-46.75891379-104.23039607-104.23039603s46.75891379-104.23039605 104.23039607-104.23039607 104.23039605 46.75891379 104.23039603 104.23039607-46.75891379 104.23039605-104.23039603 104.23039603z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1004.96017383 478.58365209L483.27851088 25.80594621c-4.00443838-3.45210207-9.11354943-5.3852792-14.49882864-5.38527921h-122.20441284c-10.21822208 0-14.91308089 12.70373557-7.18037228 19.33177152l483.57045622 419.77561022H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672657v82.85044938c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672657h807.92996557L339.25681303 984.24756148c-7.7327086 6.76612003-3.0378498 19.33177153 7.18037229 19.33177152h126.34693531c2.62359757 0 5.24719513-0.96658859 7.18037228-2.76168164L1004.96017383 545.41634791c20.2983601-17.67476253 20.2983601-49.1579333 0-66.83269582z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1011.38217956 558.9924242L545.80649025 22.43713295c-17.81503843-20.62055629-49.79794206-20.62055629-67.75325638 0L12.61782044 558.9924242c-6.31241519 7.29434645-1.12220714 18.51641789 8.41655359 18.51641789h113.62347344c6.45269109 0 12.62483038-2.80551785 16.97338308-7.71517411L458.69516062 215.87758959V1005.77114384c0 6.1721393 5.04993216 11.22207145 11.22207144 11.22207145h84.16553588c6.1721393 0 11.22207145-5.04993216 11.22207144-11.22207145V215.87758959l307.06393007 353.91607839c4.20827679 4.90965626 10.38041608 7.71517413 16.97338308 7.71517411h113.62347344c9.53876074 0 14.72896878-11.22207145 8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1009.1026963 459.52804874H201.17273073l483.57045624-419.77561022c7.7327086-6.76612003 3.0378498-19.33177153-7.18037229-19.33177152h-122.20441283c-5.3852792 0-10.49439025 1.93317715-14.49882866 5.38527921L19.03982617 478.58365209c-20.2983601 17.67476253-20.2983601 49.1579333 0 66.69461175L543.89742302 1000.81765136c2.07126124 1.79509307 4.55677472 2.76168163 7.18037228 2.76168164h126.3469353c10.21822208 0 14.91308089-12.70373557 7.18037228-19.33177152L201.17273073 564.47195126H1009.1026963c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672657v-82.85044938c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672657z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1002.96562597 446.49115791h-113.62347344c-6.45269109 0-12.62483038 2.80551785-16.97338308 7.71517411L565.30483938 808.12241041V18.22885616c0-6.1721393-5.04993216-11.22207145-11.22207144-11.22207145h-84.16553588c-6.1721393 0-11.22207145 5.04993216-11.22207144 11.22207145v789.89355425L151.63123055 454.20633202c-4.20827679-4.90965626-10.38041608-7.71517413-16.97338308-7.71517411h-113.62347344c-9.53876074 0-14.72896878 11.36234735-8.41655359 18.51641789L478.19350975 1001.56286705c17.81503843 20.62055629 49.79794206 20.62055629 67.75325638 0L1011.38217956 465.0075758c6.31241519-7.29434645 1.12220714-18.51641789-8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M975.82443246 622.46726585H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672658v82.85044937c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672659h835.6848661L651.32683905 980.10503902c-5.66144737 7.18037229-0.55233633 17.9509307 8.69929718 17.9509307h100.11095967c6.76612003 0 13.11798782-3.0378498 17.39859437-8.42312903l233.08593092-295.63802022c22.78387358-28.99765728 2.20934532-71.52755463-34.79718873-71.52755462zM1009.1026963 296.58883161H173.4178302l199.25533075-252.69387063c5.66144737-7.18037229 0.55233633-17.9509307-8.69929718-17.9509307h-100.11095967c-6.76612003 0-13.11798782 3.0378498-17.39859437 8.42312903L13.37837881 330.00517953c-22.78387358 28.99765728-2.20934532 71.52755463 34.65910466 71.52755462h961.06521283c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672658v-82.85044937c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672659z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1010.75873115 64.13501693H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874964h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874964v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961zM1010.75873115 858.07748691H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874964v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874964zM1010.75873115 461.10625194H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874959v81.42999694c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874959h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874959v-81.42999694c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874959z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z",special:!0,outlined:!0}]}],vq={bar:"bar",horizontalBar:"bar",line:"line",area:"line",scatter:"line",pie:"pie",ring:"pie"},Jt=()=>{const e=Zg(),t=Fn.debounce(function(){e.addSnapshot()},300,{trailing:!0}),n=Fn.throttle(function(){e.reDo()},100,{leading:!0,trailing:!1}),r=Fn.throttle(function(){e.unDo()},100,{leading:!0,trailing:!1});return{addHistorySnapshot:t,redo:n,undo:r}},Ju=()=>{const e=ft(),t=st(),{creatingElement:n}=Ee(e),{theme:r,viewportRatio:o}=Ee(t),{addHistorySnapshot:i}=Jt(),a=(A,x)=>{t.addElement(A),e.setActiveElementIdList([A.id]),n.value&&e.setCreatingElement(null),setTimeout(()=>{e.setEditorareaFocus(!0)},0),x&&x(),i()};return{createImageElement:A=>{mq(A).then(({width:x,height:y})=>{const R=y/x;RGt?(x=Gt,y=x*R):y>Gt*o.value&&(y=Gt*o.value,x=y/R),a({type:"image",id:pn(10),src:A,width:x,height:y,left:(Gt-x)/2,top:(Gt*o.value-y)/2,fixedRatio:!0,rotate:0})})},createChartElement:A=>{const x={type:"chart",id:pn(10),chartType:vq[A],left:300,top:81.25,width:400,height:400,rotate:0,themeColor:[r.value.themeColor],gridColor:r.value.fontColor,data:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1"],series:[[12,19,5,2,18]]}},y={...A==="bar"?{horizontalBars:!1,stackBars:!1}:{},...A==="horizontalBar"?{horizontalBars:!0,stackBars:!1}:{},...A==="line"?{showLine:!0,lineSmooth:!0,showArea:!1}:{},...A==="area"?{showLine:!0,lineSmooth:!0,showArea:!0}:{},...A==="scatter"?{showLine:!1,lineSmooth:!0,showArea:!1}:{},...A==="pie"?{donut:!1}:{},...A==="ring"?{donut:!0}:{}};a({...x,options:y})},createTableElement:(A,x)=>{const y={fontname:r.value.fontName,color:r.value.fontColor},R=[];for(let w=0;w{const{left:y,top:R,width:g,height:b}=A,L=(x==null?void 0:x.content)||"",T=(x==null?void 0:x.vertical)||!1,M=pn(10);a({type:"text",id:M,left:y,top:R,width:g,height:b,content:L,rotate:0,defaultFontName:r.value.fontName,defaultColor:r.value.fontColor,vertical:T},()=>{setTimeout(()=>{const w=document.querySelector(`#editable-element-${M} .ProseMirror`);w&&w.focus()},0)})},createShapeElement:(A,x,y={})=>{const{left:R,top:g,width:b,height:L}=A,T={type:"shape",id:pn(10),left:R,top:g,width:b,height:L,viewBox:x.viewBox,path:x.path,fill:r.value.themeColor,fixedRatio:!1,rotate:0,...y};if(x.special&&(T.special=!0),x.pathFormula){T.pathFormula=x.pathFormula,T.viewBox=[b,L];const M=Gu[x.pathFormula];"editable"in M?(T.path=M.formula(b,L,M.defaultValue),T.keypoint=M.defaultValue):T.path=M.formula(b,L)}a(T)},createLineElement:(A,x)=>{const{left:y,top:R,start:g,end:b}=A,L={type:"line",id:pn(10),left:y,top:R,start:g,end:b,points:x.points,color:r.value.themeColor,style:x.style,width:2};x.isBroken&&(L.broken=[(g[0]+b[0])/2,(g[1]+b[1])/2]),x.isCurve&&(L.curve=[(g[0]+b[0])/2,(g[1]+b[1])/2]),x.isCubic&&(L.cubic=[[(g[0]+b[0])/2,(g[1]+b[1])/2],[(g[0]+b[0])/2,(g[1]+b[1])/2]]),a(L)},createLatexElement:A=>{a({type:"latex",id:pn(10),width:A.w,height:A.h,rotate:0,left:(Gt-A.w)/2,top:(Gt*o.value-A.h)/2,path:A.path,latex:A.latex,color:r.value.fontColor,strokeWidth:2,viewBox:[A.w,A.h],fixedRatio:!0})},createVideoElement:A=>{a({type:"video",id:pn(10),width:500,height:300,rotate:0,left:(Gt-500)/2,top:(Gt*o.value-300)/2,src:A,autoplay:!1})},createAudioElement:A=>{a({type:"audio",id:pn(10),width:50,height:50,rotate:0,left:(Gt-50)/2,top:(Gt*o.value-50)/2,loop:!1,autoplay:!1,fixedRatio:!0,color:r.value.themeColor,src:A})}}},Dg=()=>{const e=ft(),t=st(),{currentSlide:n,slides:r}=Ee(t),{addHistorySnapshot:o}=Jt(),i=c=>{const{groupIdMap:l,elIdMap:u}=p3(c),f=c[0];let d=0,h;do h=n.value.elements.find(p=>{if(p.type!==f.type)return!1;const{minX:m,maxX:A,minY:x,maxY:y}=Ma(p),{minX:R,maxX:g,minY:b,maxY:L}=Ma({...f,left:f.left+d,top:f.top+d});return m===R&&A===g&&x===b&&y===L}),h&&(d+=10);while(h);for(const p of c)p.id=u[p.id],p.left=p.left+d,p.top=p.top+d,p.groupId&&(p.groupId=l[p.groupId]);t.addElement(c),e.setActiveElementIdList(Object.values(u)),o()},a=c=>{const l=Uz(c),u=c.map(f=>{const{groupIdMap:d,elIdMap:h}=p3(f.elements);for(const p of f.elements)p.id=h[p.id],p.groupId&&(p.groupId=d[p.groupId]),p.link&&p.link.type==="slide"&&(l[p.link.target]?p.link.target=l[p.link.target]:delete p.link);if(f.animations)for(const p of f.animations)p.id=pn(10),p.elId=h[p.elId];return{...f,id:l[f.id]}});t.addSlide(u),o()},s=Me(()=>!(r.value.length>1||r.value[0].elements.length>0));return{addElementsFromData:i,addSlidesFromData:a,isEmptySlide:s}},Ix=()=>{const{createTextElement:e}=Ju(),{addElementsFromData:t,addSlidesFromData:n}=Dg(),r=i=>{e({left:0,top:0,width:600,height:50},{content:i})};return{pasteTextClipboardData:(i,a)=>{const s=(a==null?void 0:a.onlySlide)||!1,c=(a==null?void 0:a.onlyElements)||!1,l=kx(i);if(typeof l=="object"){const{type:u,data:f}=l;u==="elements"&&!s?t(f):u==="slides"&&!c&&n(f)}else if(!c&&!s){const u=Px(l);r(u)}}}},Bd=()=>{const e=ft(),t=st(),{selectedSlidesIndex:n,activeElementIdList:r}=Ee(e),{currentSlide:o,slides:i,theme:a,slideIndex:s}=Ee(t),c=Me(()=>[...n.value,s.value]),l=Me(()=>i.value.filter((w,k)=>c.value.includes(k))),u=Me(()=>l.value.map(w=>w.id)),{pasteTextClipboardData:f}=Ix(),{addSlidesFromData:d}=Dg(),{addHistorySnapshot:h}=Jt(),p=()=>{const w={id:pn(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};t.updateSlideIndex(0),e.setActiveElementIdList([]),t.setSlides([w])},m=w=>{w===yt.UP&&s.value>0?(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value-1)):w===yt.DOWN&&s.value{const w=Tx(JSON.stringify({type:"slides",data:l.value}));GP(w).then(()=>{e.setThumbnailsFocus(!0)})},x=()=>{JP().then(w=>{f(w,{onlySlide:!0})}).catch(w=>xn.warning(w))},y=()=>{const w={id:pn(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};e.setActiveElementIdList([]),t.addSlide(w),h()},R=w=>{const{groupIdMap:k,elIdMap:_}=p3(w.elements);for(const E of w.elements)E.id=_[E.id],E.groupId&&(E.groupId=k[E.groupId]);const P={...w,id:pn(10)};e.setActiveElementIdList([]),t.addSlide(P),h()},g=()=>{const w=JSON.parse(JSON.stringify(o.value));d([w])},b=(w=u.value)=>{i.value.length===w.length?p():t.deleteSlide(w),e.updateSelectedSlidesIndex([]),h()};return{resetSlides:p,updateSlideIndex:m,copySlide:A,pasteSlide:x,createSlide:y,createSlideByTemplate:R,copyAndPasteSlide:g,deleteSlide:b,cutSlide:()=>{const w=[...u.value];A(),b(w)},selectAllSlide:()=>{const w=Array.from(Array(i.value.length),(k,_)=>_);e.setActiveElementIdList([]),e.updateSelectedSlidesIndex(w)},sortSlides:(w,k)=>{if(k===w)return;const _=JSON.parse(JSON.stringify(i.value)),P=_[k];_.splice(k,1),_.splice(w,0,P),t.setSlides(_),t.updateSlideIndex(w)}}},jP=()=>{const e=ft(),t=st(),{activeElementIdList:n}=Ee(e),{currentSlide:r}=Ee(t),{addHistorySnapshot:o}=Jt();return{lockElement:()=>{const s=JSON.parse(JSON.stringify(r.value.elements));for(const c of s)n.value.includes(c.id)&&(c.lock=!0);t.updateSlide({elements:s}),e.setActiveElementIdList([]),o()},unlockElement:s=>{const c=JSON.parse(JSON.stringify(r.value.elements));if(s.groupId){const l=[];for(const u of c)u.groupId===s.groupId&&(u.lock=!1,l.push(u.id));t.updateSlide({elements:c}),e.setActiveElementIdList(l)}else{for(const l of c)if(l.id===s.id){l.lock=!1;break}t.updateSlide({elements:c}),e.setActiveElementIdList([s.id])}o()}}},kp=()=>{const e=ft(),t=st(),{activeElementIdList:n,activeGroupElementId:r}=Ee(e),{currentSlide:o}=Ee(t),{addHistorySnapshot:i}=Jt();return{deleteElement:()=>{if(!n.value.length)return;let c=[];r.value?c=o.value.elements.filter(l=>l.id!==r.value):c=o.value.elements.filter(l=>!n.value.includes(l.id)),e.setActiveElementIdList([]),t.updateSlide({elements:c}),i()},deleteAllElements:()=>{o.value.elements.length&&(e.setActiveElementIdList([]),t.updateSlide({elements:[]}),i())}}},Fx=()=>{const e=ft(),t=st(),{activeElementIdList:n,activeElementList:r,handleElementId:o}=Ee(e),{currentSlide:i}=Ee(t),{addHistorySnapshot:a}=Jt();return{canCombine:Me(()=>{if(r.value.length<2)return!1;const u=r.value[0].groupId;return u?!r.value.every(d=>(d.groupId&&d.groupId)===u):!0}),combineElements:()=>{if(!r.value.length)return;let u=JSON.parse(JSON.stringify(i.value.elements));const f=pn(10),d=[];for(const A of u)n.value.includes(A.id)&&(A.groupId=f,d.push(A));const h=u.findIndex(A=>A.id===d[d.length-1].id),p=d.map(A=>A.id);u=u.filter(A=>!p.includes(A.id));const m=h-d.length+1;u.splice(m,0,...d),t.updateSlide({elements:u}),a()},uncombineElements:()=>{if(!r.value.length||!r.value.some(h=>h.groupId))return;const f=JSON.parse(JSON.stringify(i.value.elements));for(const h of f)n.value.includes(h.id)&&h.groupId&&delete h.groupId;t.updateSlide({elements:f});const d=o.value?[o.value]:[];e.setActiveElementIdList(d),a()}}},_x=()=>{const e=ft(),{activeElementIdList:t,activeElementList:n}=Ee(e),{pasteTextClipboardData:r}=Ix(),{deleteElement:o}=kp(),i=()=>{if(!t.value.length)return;const l=Tx(JSON.stringify({type:"elements",data:n.value}));GP(l).then(()=>{e.setEditorareaFocus(!0)})},a=()=>{i(),o()},s=()=>{JP().then(l=>{r(l)}).catch(l=>xn.warning(l))};return{copyElement:i,cutElement:a,pasteElement:s,quickCopyElement:()=>{i(),s()}}},Kg=()=>{const e=ft(),{currentSlide:t}=Ee(st()),{hiddenElementIdList:n,handleElementId:r}=Ee(e);return{selectAllElements:()=>{const s=t.value.elements.filter(c=>!c.lock&&!n.value.includes(c.id)).map(c=>c.id);e.setActiveElementIdList(s)},selectElement:a=>{r.value===a||n.value.includes(a)||t.value.elements.filter(c=>c.lock).some(c=>c.id===a)||e.setActiveElementIdList([a])}}},gq=()=>{const e=st(),{activeElementIdList:t,activeGroupElementId:n}=Ee(ft()),{currentSlide:r}=Ee(e),{addHistorySnapshot:o}=Jt();return{moveElement:(a,s=1)=>{let c=[];const l=u=>{let{left:f,top:d}=u;switch(a){case yt.LEFT:f=f-s;break;case yt.RIGHT:f=f+s;break;case yt.UP:d=d-s;break;case yt.DOWN:d=d+s;break}return{...u,left:f,top:d}};n.value?c=r.value.elements.map(u=>n.value===u.id?l(u):u):c=r.value.elements.map(u=>t.value.includes(u.id)?l(u):u),e.updateSlide({elements:c}),o()}}},Np=()=>{const e=st(),{currentSlide:t}=Ee(e),{addHistorySnapshot:n}=Jt(),r=(l,u)=>({minLevel:l.findIndex(f=>f.id===u[0].id),maxLevel:l.findIndex(f=>f.id===u[u.length-1].id)}),o=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(x=>x.groupId===u.groupId),{minLevel:h,maxLevel:p}=r(l,d);if(p===l.length-1)return;const m=f[p+1],A=f.splice(h,d.length);if(m.groupId){const x=f.filter(y=>y.groupId===m.groupId);f.splice(h+x.length,0,...A)}else f.splice(h+1,0,...A)}else{const d=l.findIndex(m=>m.id===u.id);if(d===l.length-1)return;const h=f[d+1],p=f.splice(d,1)[0];if(h.groupId){const m=f.filter(A=>A.groupId===h.groupId);f.splice(d+m.length,0,p)}else f.splice(d+1,0,p)}return f},i=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(A=>A.groupId===u.groupId),{minLevel:h}=r(l,d);if(h===0)return;const p=f[h-1],m=f.splice(h,d.length);if(p.groupId){const A=f.filter(x=>x.groupId===p.groupId);f.splice(h-A.length,0,...m)}else f.splice(h-1,0,...m)}else{const d=l.findIndex(m=>m.id===u.id);if(d===0)return;const h=f[d-1],p=f.splice(d,1)[0];if(h.groupId){const m=f.filter(A=>A.groupId===h.groupId);f.splice(d-m.length,0,p)}else f.splice(d-1,0,p)}return f},a=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(A=>A.groupId===u.groupId),{minLevel:h,maxLevel:p}=r(l,d);if(p===l.length-1)return null;const m=f.splice(h,d.length);f.push(...m)}else{const d=l.findIndex(h=>h.id===u.id);if(d===l.length-1)return null;f.splice(d,1),f.push(u)}return f},s=(l,u)=>{const f=JSON.parse(JSON.stringify(l));if(u.groupId){const d=f.filter(m=>m.groupId===u.groupId),{minLevel:h}=r(l,d);if(h===0)return;const p=f.splice(h,d.length);f.unshift(...p)}else{const d=l.findIndex(h=>h.id===u.id);if(d===0)return;f.splice(d,1),f.unshift(u)}return f};return{orderElement:(l,u)=>{let f;u===hr.UP?f=o(t.value.elements,l):u===hr.DOWN?f=i(t.value.elements,l):u===hr.TOP?f=a(t.value.elements,l):u===hr.BOTTOM&&(f=s(t.value.elements,l)),f&&(e.updateSlide({elements:f}),n())}}},Ex=()=>{const e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},qP=()=>{document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},v3=()=>!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement),Sc=()=>{const e=YP(),t=st(),n=()=>{Ex(),e.setScreening(!0)};return{enterScreening:n,enterScreeningFromStart:()=>{t.updateSlideIndex(0),n()},exitScreening:()=>{e.setScreening(!1),v3()&&qP()}}},Xx=()=>{const e=ft(),{canvasPercentage:t,canvasScale:n,canvasDragged:r}=Ee(e);return{canvasScalePercentage:Me(()=>Math.round(n.value*100)+"%"),setCanvasScalePercentage:c=>{const l=Math.round(c/n.value*t.value)/100;e.setCanvasPercentage(l)},scaleCanvas:c=>{let l=t.value;const u=5,f=200,d=30;c==="+"&&l<=f&&(l+=u),c==="-"&&l>=d&&(l-=u),e.setCanvasPercentage(l)},resetCanvas:()=>{e.setCanvasPercentage(90),r&&e.setCanvasDragged(!1)}}},Aq=()=>{const e=ft(),t=Ss(),{activeElementIdList:n,disableHotkeys:r,handleElement:o,handleElementId:i,editorAreaFocus:a,thumbnailsFocus:s,showSearchPanel:c}=Ee(e),{currentSlide:l}=Ee(st()),{ctrlKeyState:u,shiftKeyState:f,spaceKeyState:d}=Ee(t),{updateSlideIndex:h,copySlide:p,createSlide:m,deleteSlide:A,cutSlide:x,copyAndPasteSlide:y,selectAllSlide:R}=Bd(),{combineElements:g,uncombineElements:b}=Fx(),{deleteElement:L}=kp(),{lockElement:T}=jP(),{copyElement:M,cutElement:w,quickCopyElement:k}=_x(),{selectAllElements:_}=Kg(),{moveElement:P}=gq(),{orderElement:E}=Np(),{redo:I,undo:F}=Jt(),{enterScreening:N,enterScreeningFromStart:V}=Sc(),{scaleCanvas:Z,resetCanvas:J}=Xx(),se=()=>{n.value.length?M():s.value&&p()},D=()=>{n.value.length?w():s.value&&x()},Q=()=>{n.value.length?k():s.value&&y()},B=()=>{a.value&&_(),s.value&&R()},H=()=>{a.value&&T()},U=()=>{a.value&&g()},te=()=>{a.value&&b()},z=()=>{n.value.length?L():s.value&&A()},oe=ne=>{n.value.length?P(ne):(ne===yt.UP||ne===yt.DOWN)&&h(ne)},pe=ne=>{ne===yt.PAGEUP?h(yt.UP):ne===yt.PAGEDOWN&&h(yt.DOWN)},Ae=ne=>{o.value&&E(o.value,ne)},me=()=>{s.value&&m()},$=()=>{if(!l.value.elements.length)return;if(!i.value){const ee=l.value.elements[0];e.setActiveElementIdList([ee.id]);return}const ne=l.value.elements.findIndex(ee=>ee.id===i.value),le=ne>=l.value.elements.length-1?0:ne+1,j=l.value.elements[le].id;e.setActiveElementIdList([j])},ue=ne=>{const{ctrlKey:le,shiftKey:j,altKey:ee,metaKey:ae}=ne,ge=le||ae,ce=ne.key.toUpperCase();if(ge&&!u.value&&t.setCtrlKeyState(!0),j&&!f.value&&t.setShiftKeyState(!0),!r.value&&ce===yt.SPACE&&t.setSpaceKeyState(!0),ge&&ce===yt.P){ne.preventDefault(),e.setDialogForExport("pdf");return}if(j&&ce===yt.F5){ne.preventDefault(),N(),t.setShiftKeyState(!1);return}if(ce===yt.F5){ne.preventDefault(),V();return}if(le&&ce===yt.F){ne.preventDefault(),e.setSearchPanelState(!c.value);return}if(!(!a.value&&!s.value)){if(ge&&ce===yt.C){if(r.value)return;ne.preventDefault(),se()}if(ge&&ce===yt.X){if(r.value)return;ne.preventDefault(),D()}if(ge&&ce===yt.D){if(r.value)return;ne.preventDefault(),Q()}if(ge&&ce===yt.Z){if(r.value)return;ne.preventDefault(),F()}if(ge&&ce===yt.Y){if(r.value)return;ne.preventDefault(),I()}if(ge&&ce===yt.A){if(r.value)return;ne.preventDefault(),B()}if(ge&&ce===yt.L){if(r.value)return;ne.preventDefault(),H()}if(!j&&ge&&ce===yt.G){if(r.value)return;ne.preventDefault(),U()}if(j&&ge&&ce===yt.G){if(r.value)return;ne.preventDefault(),te()}if(ee&&ce===yt.F){if(r.value)return;ne.preventDefault(),Ae(hr.TOP)}if(ee&&ce===yt.B){if(r.value)return;ne.preventDefault(),Ae(hr.BOTTOM)}if(ce===yt.DELETE||ce===yt.BACKSPACE){if(r.value)return;ne.preventDefault(),z()}if(ce===yt.UP){if(r.value)return;ne.preventDefault(),oe(yt.UP)}if(ce===yt.DOWN){if(r.value)return;ne.preventDefault(),oe(yt.DOWN)}if(ce===yt.LEFT){if(r.value)return;ne.preventDefault(),oe(yt.LEFT)}if(ce===yt.RIGHT){if(r.value)return;ne.preventDefault(),oe(yt.RIGHT)}if(ce===yt.PAGEUP){if(r.value)return;ne.preventDefault(),pe(yt.PAGEUP)}if(ce===yt.PAGEDOWN){if(r.value)return;ne.preventDefault(),pe(yt.PAGEDOWN)}if(ce===yt.ENTER){if(r.value)return;ne.preventDefault(),me()}if(ce===yt.MINUS){if(r.value)return;ne.preventDefault(),Z("-")}if(ce===yt.EQUAL){if(r.value)return;ne.preventDefault(),Z("+")}if(ce===yt.DIGIT_0){if(r.value)return;ne.preventDefault(),J()}if(ce===yt.TAB){if(r.value)return;ne.preventDefault(),$()}}},X=()=>{u.value&&t.setCtrlKeyState(!1),f.value&&t.setShiftKeyState(!1),d.value&&t.setSpaceKeyState(!1)};Ht(()=>{document.addEventListener("keydown",ue),document.addEventListener("keyup",X),window.addEventListener("blur",X)}),wn(()=>{document.removeEventListener("keydown",ue),document.removeEventListener("keyup",X),window.removeEventListener("blur",X)})},Rq=()=>{const{editorAreaFocus:e,thumbnailsFocus:t,disableHotkeys:n}=Ee(ft()),{pasteTextClipboardData:r}=Ix(),{createImageElement:o}=Ju(),i=s=>{Hu(s).then(c=>o(c))},a=s=>{if(!e.value&&!t.value||n.value||!s.clipboardData)return;const c=s.clipboardData.items,l=c[0];if(l){for(const u of c)if(u.kind==="file"&&u.type.indexOf("image")!==-1){const f=u.getAsFile();f&&i(f);return}l.kind==="string"&&l.type==="text/plain"&&l.getAsString(u=>r(u))}};Ht(()=>{document.addEventListener("paste",a)}),wn(()=>{document.removeEventListener("paste",a)})};function e9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xw(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function ii(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(c){xw(i,r,o,a,s,"next",c)}function s(c){xw(i,r,o,a,s,"throw",c)}a(void 0)})}}var Ai=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hg(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var t9={exports:{}},Sw={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Sw),function(e){var t=Sw.exports.default;function n(){e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(F,N,V){F[N]=V.value},s=typeof Symbol=="function"?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(F,N,V){return Object.defineProperty(F,N,{value:V,enumerable:!0,configurable:!0,writable:!0}),F[N]}try{f({},"")}catch{f=function(N,V,Z){return N[V]=Z}}function d(F,N,V,Z){var J=N&&N.prototype instanceof m?N:m,se=Object.create(J.prototype),D=new P(Z||[]);return a(se,"_invoke",{value:M(F,V,D)}),se}function h(F,N,V){try{return{type:"normal",arg:F.call(N,V)}}catch(Z){return{type:"throw",arg:Z}}}r.wrap=d;var p={};function m(){}function A(){}function x(){}var y={};f(y,c,function(){return this});var R=Object.getPrototypeOf,g=R&&R(R(E([])));g&&g!==o&&i.call(g,c)&&(y=g);var b=x.prototype=m.prototype=Object.create(y);function L(F){["next","throw","return"].forEach(function(N){f(F,N,function(V){return this._invoke(N,V)})})}function T(F,N){function V(J,se,D,Q){var B=h(F[J],F,se);if(B.type!=="throw"){var H=B.arg,U=H.value;return U&&t(U)=="object"&&i.call(U,"__await")?N.resolve(U.__await).then(function(te){V("next",te,D,Q)},function(te){V("throw",te,D,Q)}):N.resolve(U).then(function(te){H.value=te,D(H)},function(te){return V("throw",te,D,Q)})}Q(B.arg)}var Z;a(this,"_invoke",{value:function(J,se){function D(){return new N(function(Q,B){V(J,se,Q,B)})}return Z=Z?Z.then(D,D):D()}})}function M(F,N,V){var Z="suspendedStart";return function(J,se){if(Z==="executing")throw new Error("Generator is already running");if(Z==="completed"){if(J==="throw")throw se;return I()}for(V.method=J,V.arg=se;;){var D=V.delegate;if(D){var Q=w(D,V);if(Q){if(Q===p)continue;return Q}}if(V.method==="next")V.sent=V._sent=V.arg;else if(V.method==="throw"){if(Z==="suspendedStart")throw Z="completed",V.arg;V.dispatchException(V.arg)}else V.method==="return"&&V.abrupt("return",V.arg);Z="executing";var B=h(F,N,V);if(B.type==="normal"){if(Z=V.done?"completed":"suspendedYield",B.arg===p)continue;return{value:B.arg,done:V.done}}B.type==="throw"&&(Z="completed",V.method="throw",V.arg=B.arg)}}}function w(F,N){var V=F.iterator[N.method];if(V===void 0){if(N.delegate=null,N.method==="throw"){if(F.iterator.return&&(N.method="return",N.arg=void 0,w(F,N),N.method==="throw"))return p;N.method="throw",N.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var Z=h(V,F.iterator,N.arg);if(Z.type==="throw")return N.method="throw",N.arg=Z.arg,N.delegate=null,p;var J=Z.arg;return J?J.done?(N[F.resultName]=J.value,N.next=F.nextLoc,N.method!=="return"&&(N.method="next",N.arg=void 0),N.delegate=null,p):J:(N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,p)}function k(F){var N={tryLoc:F[0]};1 in F&&(N.catchLoc=F[1]),2 in F&&(N.finallyLoc=F[2],N.afterLoc=F[3]),this.tryEntries.push(N)}function _(F){var N=F.completion||{};N.type="normal",delete N.arg,F.completion=N}function P(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(k,this),this.reset(!0)}function E(F){if(F){var N=F[c];if(N)return N.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var V=-1,Z=function J(){for(;++V=0;--Z){var J=this.tryEntries[Z],se=J.completion;if(J.tryLoc==="root")return V("end");if(J.tryLoc<=this.prev){var D=i.call(J,"catchLoc"),Q=i.call(J,"finallyLoc");if(D&&Q){if(this.prev=0;--V){var Z=this.tryEntries[V];if(Z.tryLoc<=this.prev&&i.call(Z,"finallyLoc")&&this.prev=0;--N){var V=this.tryEntries[N];if(V.finallyLoc===F)return this.complete(V.completion,V.afterLoc),_(V),p}},catch:function(F){for(var N=this.tryEntries.length-1;N>=0;--N){var V=this.tryEntries[N];if(V.tryLoc===F){var Z=V.completion;if(Z.type==="throw"){var J=Z.arg;_(V)}return J}}throw new Error("illegal catch attempt")},delegateYield:function(F,N,V){return this.delegate={iterator:E(F),resultName:N,nextLoc:V},this.method==="next"&&(this.arg=void 0),p}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(t9);var Qm=t9.exports(),Wn=Qm;try{regeneratorRuntime=Qm}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=Qm:Function("r","regeneratorRuntime = r")(Qm)}var Dd={},Mw={},wd=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},ts=[],Bi=[],yq=typeof Uint8Array<"u"?Uint8Array:Array,Wx=!1;function n9(){Wx=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+ts[o>>12&63]+ts[o>>6&63]+ts[63&o]);return i.join("")}function ww(e){var t;Wx||n9();for(var n=e.length,r=n%3,o="",i=[],a=16383,s=0,c=n-r;sc?c:s+a));return r===1?(t=e[n-1],o+=ts[t>>2],o+=ts[t<<4&63],o+="=="):r===2&&(t=(e[n-2]<<8)+e[n-1],o+=ts[t>>10],o+=ts[t>>4&63],o+=ts[t<<2&63],o+="="),i.push(o),i.join("")}function am(e,t,n,r,o){var i,a,s=8*o-r-1,c=(1<>1,u=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+f],f+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(i===0)i=1-l;else{if(i===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)}function r9(e,t,n,r,o,i){var a,s,c,l=8*i-o-1,u=(1<>1,d=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*c-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}var xq={}.toString,o9=Array.isArray||function(e){return xq.call(e)=="[object Array]"};He.TYPED_ARRAY_SUPPORT=wd.TYPED_ARRAY_SUPPORT===void 0||wd.TYPED_ARRAY_SUPPORT;var Sq=Yv();function Yv(){return He.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function $s(e,t){if(Yv()=Yv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Yv().toString(16)+" bytes");return 0|e}function ns(e){return!(e==null||!e._isBuffer)}function s9(e,t){if(ns(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Qv(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return f9(e).length;default:if(r)return Qv(e).length;t=(""+t).toLowerCase(),r=!0}}function Mq(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Iq(this,t,n);case"utf8":case"utf-8":return c9(this,t,n);case"ascii":return Pq(this,t,n);case"latin1":case"binary":return Cq(this,t,n);case"base64":return Nq(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fq(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Yc(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Lw(e,t,n,r,o){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if(typeof t=="string"&&(t=He.from(t,r)),ns(t))return t.length===0?-1:Ow(e,t,n,r,o);if(typeof t=="number")return t&=255,He.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Ow(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function Ow(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(r!==void 0&&((r=String(r).toLowerCase())==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(h,p){return a===1?h[p]:h.readUInt16BE(p*a)}if(o){var u=-1;for(i=n;is&&(n=s-c),i=n;i>=0;i--){for(var f=!0,d=0;do&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a>8,c=a%256,l.push(c),l.push(s);return l}(t,e.length-n),e,n,r)}function Nq(e,t,n){return t===0&&n===e.length?ww(e):ww(e.slice(t,n))}function c9(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:l>223?3:l>191?2:1;if(o+f<=n)switch(f){case 1:l<128&&(u=l);break;case 2:(192&(i=e[o+1]))==128&&(c=(31&l)<<6|63&i)>127&&(u=c);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(c=(15&l)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(c=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}u===null?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=f}return function(d){var h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var p="",m=0;m0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},He.prototype.compare=function(e,t,n,r,o){if(!ns(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),o===void 0&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(r,o),l=e.slice(t,n),u=0;uo)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return wq(this,e,t,n);case"utf8":case"utf-8":return Lq(this,e,t,n);case"ascii":return l9(this,e,t,n);case"latin1":case"binary":return Oq(this,e,t,n);case"base64":return Tq(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kq(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},He.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pq(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;or)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function Zo(e,t,n,r,o,i){if(!ns(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function sm(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function lm(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function u9(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Tw(e,t,n,r,o){return o||u9(e,0,n,4),r9(e,t,n,r,23,4),n+4}function kw(e,t,n,r,o){return o||u9(e,0,n,8),r9(e,t,n,r,52,8),n+8}He.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},He.prototype.readUInt8=function(e,t){return t||Ur(e,1,this.length),this[e]},He.prototype.readUInt16LE=function(e,t){return t||Ur(e,2,this.length),this[e]|this[e+1]<<8},He.prototype.readUInt16BE=function(e,t){return t||Ur(e,2,this.length),this[e]<<8|this[e+1]},He.prototype.readUInt32LE=function(e,t){return t||Ur(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},He.prototype.readUInt32BE=function(e,t){return t||Ur(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},He.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Ur(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},He.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Ur(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},He.prototype.readInt8=function(e,t){return t||Ur(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},He.prototype.readInt16LE=function(e,t){t||Ur(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},He.prototype.readInt16BE=function(e,t){t||Ur(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},He.prototype.readInt32LE=function(e,t){return t||Ur(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},He.prototype.readInt32BE=function(e,t){return t||Ur(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},He.prototype.readFloatLE=function(e,t){return t||Ur(e,4,this.length),am(this,e,!0,23,4)},He.prototype.readFloatBE=function(e,t){return t||Ur(e,4,this.length),am(this,e,!1,23,4)},He.prototype.readDoubleLE=function(e,t){return t||Ur(e,8,this.length),am(this,e,!0,52,8)},He.prototype.readDoubleBE=function(e,t){return t||Ur(e,8,this.length),am(this,e,!1,52,8)},He.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Zo(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},He.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,1,255,0),He.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},He.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,2,65535,0),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):sm(this,e,t,!0),t+2},He.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,2,65535,0),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):sm(this,e,t,!1),t+2},He.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,4,4294967295,0),He.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):lm(this,e,t,!0),t+4},He.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,4,4294967295,0),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):lm(this,e,t,!1),t+4},He.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Zo(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},He.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);Zo(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&s===0&&this[t+i+1]!==0&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},He.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,1,127,-128),He.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},He.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,2,32767,-32768),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):sm(this,e,t,!0),t+2},He.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,2,32767,-32768),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):sm(this,e,t,!1),t+2},He.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,4,2147483647,-2147483648),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):lm(this,e,t,!0),t+4},He.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Zo(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):lm(this,e,t,!1),t+4},He.prototype.writeFloatLE=function(e,t,n){return Tw(this,e,t,!0,n)},He.prototype.writeFloatBE=function(e,t,n){return Tw(this,e,t,!1,n)},He.prototype.writeDoubleLE=function(e,t,n){return kw(this,e,t,!0,n)},He.prototype.writeDoubleBE=function(e,t,n){return kw(this,e,t,!1,n)},He.prototype.copy=function(e,t,n,r){if(n||(n=0),r||r===0||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!He.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function f9(e){return function(t){var n,r,o,i,a,s;Wx||n9();var c=t.length;if(c%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=t[c-2]==="="?2:t[c-1]==="="?1:0,s=new yq(3*c/4-a),o=a>0?c-4:c;var l=0;for(n=0,r=0;n>16&255,s[l++]=i>>8&255,s[l++]=255&i;return a===2?(i=Bi[t.charCodeAt(n)]<<2|Bi[t.charCodeAt(n+1)]>>4,s[l++]=255&i):a===1&&(i=Bi[t.charCodeAt(n)]<<10|Bi[t.charCodeAt(n+1)]<<4|Bi[t.charCodeAt(n+2)]>>2,s[l++]=i>>8&255,s[l++]=255&i),s}(function(t){if((t=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(t).replace(_q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function Gg(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Pp(e){return e!=null&&(!!e._isBuffer||Nw(e)||function(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&Nw(t.slice(0,0))}(e))}function Nw(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Xq=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:Sq,Buffer:He,SlowBuffer:function(e){return+e!=e&&(e=0),He.alloc(+e)},isBuffer:Pp}),Tr={};function d9(){throw new Error("setTimeout has not been defined")}function h9(){throw new Error("clearTimeout has not been defined")}var Il=d9,Fl=h9;function p9(e){if(Il===setTimeout)return setTimeout(e,0);if((Il===d9||!Il)&&setTimeout)return Il=setTimeout,setTimeout(e,0);try{return Il(e,0)}catch{try{return Il.call(null,e,0)}catch{return Il.call(this,e,0)}}}typeof wd.setTimeout=="function"&&(Il=setTimeout),typeof wd.clearTimeout=="function"&&(Fl=clearTimeout);var tu,js=[],fd=!1,Zm=-1;function Wq(){fd&&tu&&(fd=!1,tu.length?js=tu.concat(js):Zm=-1,js.length&&m9())}function m9(){if(!fd){var e=p9(Wq);fd=!0;for(var t=js.length;t;){for(tu=js,js=[];++Zm1)for(var n=1;n0&&a.length>o){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,typeof console.warn=="function"?console.warn(s):console.log(s)}}else a=i[t]=n,++e._eventsCount;return e}function Cw(e,t,n){var r=!1;function o(){e.removeListener(t,o),r||(r=!0,n.apply(e,arguments))}return o.listener=n,o}function Iw(e){var t=this._events;if(t){var n=t[e];if(typeof n=="function")return 1;if(n)return n.length}return 0}function Cp(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}_l.prototype=Object.create(null),gn.EventEmitter=gn,gn.usingDomains=!1,gn.prototype.domain=void 0,gn.prototype._events=void 0,gn.prototype._maxListeners=void 0,gn.defaultMaxListeners=10,gn.init=function(){this.domain=null,gn.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new _l,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},gn.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},gn.prototype.getMaxListeners=function(){return g9(this)},gn.prototype.emit=function(e){var t,n,r,o,i,a,s,c=e==="error";if(a=this._events)c=c&&a.error==null;else if(!c)return!1;if(s=this.domain,c){if(t=arguments[1],!s){if(t instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var u=typeof n=="function";switch(r=arguments.length){case 1:Gq(n,u,this);break;case 2:Jq(n,u,this,arguments[1]);break;case 3:zq(n,u,this,arguments[1],arguments[2]);break;case 4:$q(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(o=new Array(r-1),i=1;i0;)if(n[i]===t||n[i].listener&&n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount==0)return this._events=new _l,this;delete r[e]}else(function(s,c){for(var l=c,u=l+1,f=s.length;u0?Reflect.ownKeys(this._events):[]};var qq=Object.freeze({__proto__:null,default:gn,EventEmitter:gn}),sc=typeof Object.create=="function"?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},eee=/%[sdj%]/g;function Jg(e){if(!ep(e)){for(var t=[],n=0;n=o)return s;switch(s){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch{return"[Circular]"}default:return s}}),a=r[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),$g(t)?n.showHidden=t:t&&Bx(n,t),ss(n.showHidden)&&(n.showHidden=!1),ss(n.depth)&&(n.depth=2),ss(n.colors)&&(n.colors=!1),ss(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=tee),Zv(n,e,n.depth)}function tee(e,t){var n=fs.styles[t];return n?"\x1B["+fs.colors[n][0]+"m"+e+"\x1B["+fs.colors[n][1]+"m":e}function nee(e,t){return e}function Zv(e,t,n){if(e.customInspect&&t&&Ah(t.inspect)&&t.inspect!==fs&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return ep(r)||(r=Zv(e,r,n)),r}var o=function(d,h){if(ss(h))return d.stylize("undefined","undefined");if(ep(h)){var p="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(p,"string")}if(Qx(h))return d.stylize(""+h,"number");if($g(h))return d.stylize(""+h,"boolean");if(Ip(h))return d.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),a=function(d){var h={};return d.forEach(function(p,m){h[p]=!0}),h}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),gh(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return $R(t);if(i.length===0){if(Ah(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(vh(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Bv(t))return e.stylize(Date.prototype.toString.call(t),"date");if(gh(t))return $R(t)}var c,l="",u=!1,f=["{","}"];return Yx(t)&&(u=!0,f=["[","]"]),Ah(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),vh(t)&&(l=" "+RegExp.prototype.toString.call(t)),Bv(t)&&(l=" "+Date.prototype.toUTCString.call(t)),gh(t)&&(l=" "+$R(t)),i.length!==0||u&&t.length!=0?n<0?vh(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=u?function(d,h,p,m,A){for(var x=[],y=0,R=h.length;y60?p[0]+(h===""?"":h+` `)+" "+d.join(`, - `)+" "+p[1]:p[0]+h+" "+d.join(", ")+" "+p[1]}(c,l,f)):f[0]+l+f[1]}function zR(e){return"["+Error.prototype.toString.call(e)+"]"}function $R(e,t,n,r,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),b9(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(c.value)<0?(s=Pp(n)?Qv(e,c.value,null):Qv(e,c.value,n-1)).indexOf(` + `)+" "+p[1]:p[0]+h+" "+d.join(", ")+" "+p[1]}(c,l,f)):f[0]+l+f[1]}function $R(e){return"["+Error.prototype.toString.call(e)+"]"}function jR(e,t,n,r,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),S9(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(c.value)<0?(s=Ip(n)?Zv(e,c.value,null):Zv(e,c.value,n-1)).indexOf(` `)>-1&&(s=i?s.split(` `).map(function(l){return" "+l}).join(` `).substr(2):` `+s.split(` `).map(function(l){return" "+l}).join(` -`)):s=e.stylize("[Circular]","special")),as(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Vb(e){return Array.isArray(e)}function $g(e){return typeof e=="boolean"}function Pp(e){return e===null}function g9(e){return e==null}function Ub(e){return typeof e=="number"}function qh(e){return typeof e=="string"}function A9(e){return typeof e=="symbol"}function as(e){return e===void 0}function mh(e){return $u(e)&&Yb(e)==="[object RegExp]"}function $u(e){return typeof e=="object"&&e!==null}function Zv(e){return $u(e)&&Yb(e)==="[object Date]"}function vh(e){return $u(e)&&(Yb(e)==="[object Error]"||e instanceof Error)}function gh(e){return typeof e=="function"}function R9(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0}function y9(e){return kp(e)}function Yb(e){return Object.prototype.toString.call(e)}function jR(e){return e<10?"0"+e.toString(10):e.toString(10)}us.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},us.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var tee=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nee(){var e=new Date,t=[jR(e.getHours()),jR(e.getMinutes()),jR(e.getSeconds())].join(":");return[e.getDate(),tee[e.getMonth()],t].join(" ")}function x9(){console.log("%s - %s",nee(),Jg.apply(null,arguments))}function Qb(e,t){if(!t||!$u(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function b9(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var ree={inherits:sc,_extend:Qb,log:x9,isBuffer:y9,isPrimitive:R9,isFunction:gh,isError:vh,isDate:Zv,isObject:$u,isRegExp:mh,isUndefined:as,isSymbol:A9,isString:qh,isNumber:Ub,isNullOrUndefined:g9,isNull:Pp,isBoolean:$g,isArray:Vb,inspect:us,deprecate:zg,format:Jg,debuglog:Wb},oee=Object.freeze({__proto__:null,format:Jg,deprecate:zg,debuglog:Wb,inspect:us,isArray:Vb,isBoolean:$g,isNull:Pp,isNullOrUndefined:g9,isNumber:Ub,isString:qh,isSymbol:A9,isUndefined:as,isRegExp:mh,isObject:$u,isDate:Zv,isError:vh,isFunction:gh,isPrimitive:R9,isBuffer:y9,log:x9,inherits:sc,_extend:Qb,default:ree});function Hc(){this.head=null,this.tail=null,this.length=0}Hc.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},Hc.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},Hc.prototype.shift=function(){if(this.length!==0){var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},Hc.prototype.clear=function(){this.head=this.tail=null,this.length=0},Hc.prototype.join=function(e){if(this.length===0)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},Hc.prototype.concat=function(e){if(this.length===0)return He.alloc(0);if(this.length===1)return this.head.data;for(var t=He.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var iee=He.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ah(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!iee(t))throw new Error("Unknown encoding: "+t)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=see;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=lee;break;default:return void(this.write=aee)}this.charBuffer=new He(6),this.charReceived=0,this.charLength=0}function aee(e){return e.toString(this.encoding)}function see(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function lee(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}Ah.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&o<=56319)){if(this.charReceived=this.charLength=0,e.length===0)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var o;if(r=(t+=e.toString(this.encoding,0,r)).length-1,(o=t.charCodeAt(r))>=55296&&o<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),e.copy(this.charBuffer,0,0,i),t.substring(0,r)}return t},Ah.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(t==1&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},Ah.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;t+=r.slice(0,n).toString(o)}return t},ur.ReadableState=S9;var Un=Wb("stream");function S9(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Pi&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new Hc,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new Ah(e.encoding),this.encoding=e.encoding)}function ur(e){if(!(this instanceof ur))return new ur(e);this._readableState=new S9(e,this),this.readable=!0,e&&typeof e.read=="function"&&(this._read=e.read),gn.call(this)}function Iw(e,t,n,r,o){var i=function(l,u){var f=null;return kp(u)||typeof u=="string"||u==null||l.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f}(t,n);if(i)e.emit("error",i);else if(n===null)t.reading=!1,function(l,u){if(!u.ended){if(u.decoder){var f=u.decoder.end();f&&f.length&&(u.buffer.push(f),u.length+=u.objectMode?1:f.length)}u.ended=!0,Bv(l)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var c;!t.decoder||o||r||(n=t.decoder.write(n),c=!t.objectMode&&n.length===0),o||(t.reading=!1),c||(t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Bv(e))),function(l,u){u.readingMore||(u.readingMore=!0,Xr(cee,l,u))}(e,t)}else o||(t.reading=!1);return function(l){return!l.ended&&(l.needReadable||l.lengtht.highWaterMark&&(t.highWaterMark=function(n){return n>=8388608?n=8388608:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function Bv(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Un("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Xr(_w,e):_w(e))}function _w(e){Un("emit readable"),e.emit("readable"),Zb(e)}function cee(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):t.buffer.length===1?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(r,o,i){var a;return rd.length?d.length:s;if(h===d.length?f+=d:f+=d.slice(0,s),(s-=h)===0){h===d.length?(++u,l.next?c.head=l.next:c.head=c.tail=null):(c.head=l,l.data=d.slice(h));break}++u}return c.length-=u,f}(r,o):function(s,c){var l=He.allocUnsafe(s),u=c.head,f=1;for(u.data.copy(l),s-=u.data.length;u=u.next;){var d=u.data,h=s>d.length?d.length:s;if(d.copy(l,l.length-s,0,h),(s-=h)===0){h===d.length?(++f,u.next?c.head=u.next:c.head=c.tail=null):(c.head=u,u.data=d.slice(h));break}++f}return c.length-=f,l}(r,o),a}(e,t.buffer,t.decoder),n);var n}function qR(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Xr(dee,t,e))}function dee(e,t){e.endEmitted||e.length!==0||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Xw(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return Un("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?qR(this):Bv(this),null;if((e=Fw(e,t))===0&&t.ended)return t.length===0&&qR(this),null;var r,o=t.needReadable;return Un("need readable",o),(t.length===0||t.length-e0?Ew(e,t):null)===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&qR(this)),r!==null&&this.emit("data",r),r},ur.prototype._read=function(e){this.emit("error",new Error("not implemented"))},ur.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,Un("pipe count=%d opts=%j",r.pipesCount,t);var o=!t||t.end!==!1?a:l;function i(A){Un("onunpipe"),A===n&&l()}function a(){Un("onend"),e.end()}r.endEmitted?Xr(o):n.once("end",o),e.on("unpipe",i);var s=function(A){return function(){var x=A._readableState;Un("pipeOnDrain",x.awaitDrain),x.awaitDrain&&x.awaitDrain--,x.awaitDrain===0&&A.listeners("data").length&&(x.flowing=!0,Zb(A))}}(n);e.on("drain",s);var c=!1;function l(){Un("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",i),n.removeListener("end",a),n.removeListener("end",l),n.removeListener("data",f),c=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var u=!1;function f(A){Un("ondata"),u=!1,e.write(A)!==!1||u||((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&Xw(r.pipes,e)!==-1)&&!c&&(Un("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function d(A){var x;Un("onerror",A),m(),e.removeListener("error",d),x="error",e.listeners(x).length===0&&e.emit("error",A)}function h(){e.removeListener("finish",p),m()}function p(){Un("onfinish"),e.removeListener("close",h),m()}function m(){Un("unpipe"),n.unpipe(e)}return n.on("data",f),function(A,x,y){if(typeof A.prependListener=="function")return A.prependListener(x,y);A._events&&A._events[x]?Array.isArray(A._events[x])?A._events[x].unshift(y):A._events[x]=[y,A._events[x]]:A.on(x,y)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(Un("pipe resume"),n.resume()),e},ur.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},jr.prototype._write=function(e,t,n){n(new Error("not implemented"))},jr.prototype._writev=null,jr.prototype.end=function(e,t,n){var r=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(o,i,a){i.ending=!0,L9(o,i),a&&(i.finished?Xr(a):o.once("finish",a)),i.ended=!0,o.writable=!1}(this,r,n)},sc(Pi,ur);for(var Uw=Object.keys(jr.prototype),ey=0;ey0?this.tail.next=i:this.head=i,this.tail=i,++this.length},r.prototype.unshift=function(o){var i={data:o,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},r.prototype.shift=function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(o){if(this.length===0)return"";for(var i=this.head,a=""+i.data;i=i.next;)a+=o+i.data;return a},r.prototype.concat=function(o){if(this.length===0)return t.alloc(0);if(this.length===1)return this.head.data;for(var i,a,s,c=t.allocUnsafe(o>>>0),l=this.head,u=0;l;)i=l.data,a=c,s=u,i.copy(a,s),u+=l.data.length,l=l.next;return c},r}(),n&&n.inspect&&n.inspect.custom&&(e.exports.prototype[n.inspect.custom]=function(){var r=n.inspect({length:this.length});return this.constructor.name+" "+r})}(oL)),oL.exports}function P9(){if(qw)return oy;qw=1;var e=jg();function t(n,r){n.emit("error",r)}return oy={destroy:function(n,r){var o=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(r?r(n):!n||this._writableState&&this._writableState.errorEmitted||e.nextTick(t,this,n),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(s){!r&&s?(e.nextTick(t,o,s),o._writableState&&(o._writableState.errorEmitted=!0)):r&&r(s)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},oy}function C9(){if(nL)return iy;nL=1;var e=jg();function t(g){var b=this;this.next=null,this.entry=null,this.finish=function(){(function(w,T,M){var O=w.entry;for(w.entry=null;O;){var k=O.callback;T.pendingcb--,k(M),O=O.next}T.corkedRequestsFree?T.corkedRequestsFree.next=w:T.corkedRequestsFree=w})(b,g)}}iy=h;var n,r=e.nextTick;h.WritableState=d;var o=Object.create(Cp());o.inherits=Ip();var i={deprecate:tL?eL:(tL=1,eL=e2.deprecate)},a=k9(),s=qg().Buffer,c=Ai.Uint8Array||function(){},l,u=P9();function f(){}function d(g,b){n=n||Ld(),g=g||{};var w=b instanceof n;this.objectMode=!!g.objectMode,w&&(this.objectMode=this.objectMode||!!g.writableObjectMode);var T=g.highWaterMark,M=g.writableHighWaterMark,O=this.objectMode?16:16384;this.highWaterMark=T||T===0?T:w&&(M||M===0)?M:O,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var k=g.decodeStrings===!1;this.decodeStrings=!k,this.defaultEncoding=g.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(F){(function(N,E){var C=N._writableState,_=C.sync,I=C.writecb;if(function(Z){Z.writing=!1,Z.writecb=null,Z.length-=Z.writelen,Z.writelen=0}(C),E)(function(Z,J,le,D,Q){--J.pendingcb,le?(e.nextTick(Q,D),e.nextTick(R,Z,J),Z._writableState.errorEmitted=!0,Z.emit("error",D)):(Q(D),Z._writableState.errorEmitted=!0,Z.emit("error",D),R(Z,J))})(N,C,_,E,I);else{var W=x(C);W||C.corked||C.bufferProcessing||!C.bufferedRequest||A(N,C),_?r(m,N,C,W,I):m(N,C,W,I)}})(b,F)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function h(g){if(n=n||Ld(),!(l.call(h,this)||this instanceof n))return new h(g);this._writableState=new d(g,this),this.writable=!0,g&&(typeof g.write=="function"&&(this._write=g.write),typeof g.writev=="function"&&(this._writev=g.writev),typeof g.destroy=="function"&&(this._destroy=g.destroy),typeof g.final=="function"&&(this._final=g.final)),a.call(this)}function p(g,b,w,T,M,O,k){b.writelen=T,b.writecb=k,b.writing=!0,b.sync=!0,w?g._writev(M,b.onwrite):g._write(M,O,b.onwrite),b.sync=!1}function m(g,b,w,T){w||function(M,O){O.length===0&&O.needDrain&&(O.needDrain=!1,M.emit("drain"))}(g,b),b.pendingcb--,T(),R(g,b)}function A(g,b){b.bufferProcessing=!0;var w=b.bufferedRequest;if(g._writev&&w&&w.next){var T=b.bufferedRequestCount,M=new Array(T),O=b.corkedRequestsFree;O.entry=w;for(var k=0,F=!0;w;)M[k]=w,w.isBuf||(F=!1),w=w.next,k+=1;M.allBuffers=F,p(g,b,!0,b.length,M,"",O.finish),b.pendingcb++,b.lastBufferedRequest=null,O.next?(b.corkedRequestsFree=O.next,O.next=null):b.corkedRequestsFree=new t(b),b.bufferedRequestCount=0}else{for(;w;){var N=w.chunk,E=w.encoding,C=w.callback;if(p(g,b,!1,b.objectMode?1:N.length,N,E,C),w=w.next,b.bufferedRequestCount--,b.writing)break}w===null&&(b.lastBufferedRequest=null)}b.bufferedRequest=w,b.bufferProcessing=!1}function x(g){return g.ending&&g.length===0&&g.bufferedRequest===null&&!g.finished&&!g.writing}function y(g,b){g._final(function(w){b.pendingcb--,w&&g.emit("error",w),b.prefinished=!0,g.emit("prefinish"),R(g,b)})}function R(g,b){var w=x(b);return w&&(function(T,M){M.prefinished||M.finalCalled||(typeof T._final=="function"?(M.pendingcb++,M.finalCalled=!0,e.nextTick(y,T,M)):(M.prefinished=!0,T.emit("prefinish")))}(g,b),b.pendingcb===0&&(b.finished=!0,g.emit("finish"))),w}return o.inherits(h,a),d.prototype.getBuffer=function(){for(var g=this.bufferedRequest,b=[];g;)b.push(g),g=g.next;return b},function(){try{Object.defineProperty(d.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(g){return!!l.call(this,g)||this===h&&g&&g._writableState instanceof d}})):l=function(g){return g instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(g,b,w){var T,M=this._writableState,O=!1,k=!M.objectMode&&(T=g,s.isBuffer(T)||T instanceof c);return k&&!s.isBuffer(g)&&(g=function(F){return s.from(F)}(g)),typeof b=="function"&&(w=b,b=null),k?b="buffer":b||(b=M.defaultEncoding),typeof w!="function"&&(w=f),M.ended?function(F,N){var E=new Error("write after end");F.emit("error",E),e.nextTick(N,E)}(this,w):(k||function(F,N,E,C){var _=!0,I=!1;return E===null?I=new TypeError("May not write null values to stream"):typeof E=="string"||E===void 0||N.objectMode||(I=new TypeError("Invalid non-string/buffer chunk")),I&&(F.emit("error",I),e.nextTick(C,I),_=!1),_}(this,M,g,w))&&(M.pendingcb++,O=function(F,N,E,C,_,I){if(!E){var W=function(D,Q,B){return D.objectMode||D.decodeStrings===!1||typeof Q!="string"||(Q=s.from(Q,B)),Q}(N,C,_);C!==W&&(E=!0,_="buffer",C=W)}var Z=N.objectMode?1:C.length;N.length+=Z;var J=N.length-1))throw new TypeError("Unknown encoding: "+g);return this._writableState.defaultEncoding=g,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(g,b,w){w(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(g,b,w){var T=this._writableState;typeof g=="function"?(w=g,g=null,b=null):typeof b=="function"&&(w=b,b=null),g!=null&&this.write(g,b),T.corked&&(T.corked=1,this.uncork()),T.ending||T.finished||function(M,O,k){O.ending=!0,R(M,O),k&&(O.finished?e.nextTick(k):M.once("finish",k)),O.ended=!0,M.writable=!1}(this,T,w)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(g){this._writableState&&(this._writableState.destroyed=g)}}),h.prototype.destroy=u.destroy,h.prototype._undestroy=u.undestroy,h.prototype._destroy=function(g,b){this.end(),b(g)},iy}function Ld(){if(rL)return ay;rL=1;var e=jg(),t=Object.keys||function(f){var d=[];for(var h in f)d.push(h);return d};ay=c;var n=Object.create(Cp());n.inherits=Ip();var r=I9(),o=C9();n.inherits(c,r);for(var i=t(o.prototype),a=0;a>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function o(f){var d=this.lastTotal-this.lastNeed,h=function(p,m,A){if((192&m[0])!=128)return p.lastNeed=0,"�";if(p.lastNeed>1&&m.length>1){if((192&m[1])!=128)return p.lastNeed=1,"�";if(p.lastNeed>2&&m.length>2&&(192&m[2])!=128)return p.lastNeed=2,"�"}}(this,f);return h!==void 0?h:this.lastNeed<=f.length?(f.copy(this.lastChar,d,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(f.copy(this.lastChar,d,0,f.length),void(this.lastNeed-=f.length))}function i(f,d){if((f.length-d)%2==0){var h=f.toString("utf16le",d);if(h){var p=h.charCodeAt(h.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],h.slice(0,-1)}return h}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",d,f.length-1)}function a(f){var d=f&&f.length?this.write(f):"";if(this.lastNeed){var h=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,h)}return d}function s(f,d){var h=(f.length-d)%3;return h===0?f.toString("base64",d):(this.lastNeed=3-h,this.lastTotal=3,h===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",d,f.length-h))}function c(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function l(f){return f.toString(this.encoding)}function u(f){return f&&f.length?this.write(f):""}return uy.StringDecoder=n,n.prototype.write=function(f){if(f.length===0)return"";var d,h;if(this.lastNeed){if((d=this.fillLast(f))===void 0)return"";h=this.lastNeed,this.lastNeed=0}else h=0;return h=0?(R>0&&(m.lastNeed=R-1),R):--y=0?(R>0&&(m.lastNeed=R-2),R):--y=0?(R>0&&(R===2?R=0:m.lastNeed=R-3),R):0}(this,f,d);if(!this.lastNeed)return f.toString("utf8",d);this.lastTotal=h;var p=f.length-(h-this.lastNeed);return f.copy(this.lastChar,0,p),f.toString("utf8",d,p)},n.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length},uy}function I9(){if(aL)return sy;aL=1;var e=jg();sy=m;var t,n=function(){if(Bw)return Zw;Bw=1;var _={}.toString;return Zw=Array.isArray||function(I){return _.call(I)=="[object Array]"}}();m.ReadableState=p,Aee.EventEmitter;var r=function(_,I){return _.listeners(I).length},o=k9(),i=qg().Buffer,a=Ai.Uint8Array||function(){},s=Object.create(Cp());s.inherits=Ip();var c=e2,l=void 0;l=c&&c.debuglog?c.debuglog("stream"):function(){};var u,f=Ree(),d=P9();s.inherits(m,o);var h=["error","close","destroy","pause","resume"];function p(_,I){_=_||{};var W=I instanceof(t=t||Ld());this.objectMode=!!_.objectMode,W&&(this.objectMode=this.objectMode||!!_.readableObjectMode);var Z=_.highWaterMark,J=_.readableHighWaterMark,le=this.objectMode?16:16384;this.highWaterMark=Z||Z===0?Z:W&&(J||J===0)?J:le,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=_.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,_.encoding&&(u||(u=uL().StringDecoder),this.decoder=new u(_.encoding),this.encoding=_.encoding)}function m(_){if(t=t||Ld(),!(this instanceof m))return new m(_);this._readableState=new p(_,this),this.readable=!0,_&&(typeof _.read=="function"&&(this._read=_.read),typeof _.destroy=="function"&&(this._destroy=_.destroy)),o.call(this)}function A(_,I,W,Z,J){var le,D=_._readableState;return I===null?(D.reading=!1,function(Q,B){if(!B.ended){if(B.decoder){var H=B.decoder.end();H&&H.length&&(B.buffer.push(H),B.length+=B.objectMode?1:H.length)}B.ended=!0,g(Q)}}(_,D)):(J||(le=function(Q,B){var H;U=B,i.isBuffer(U)||U instanceof a||typeof B=="string"||B===void 0||Q.objectMode||(H=new TypeError("Invalid non-string/buffer chunk"));var U;return H}(D,I)),le?_.emit("error",le):D.objectMode||I&&I.length>0?(typeof I=="string"||D.objectMode||Object.getPrototypeOf(I)===i.prototype||(I=function(Q){return i.from(Q)}(I)),Z?D.endEmitted?_.emit("error",new Error("stream.unshift() after end event")):x(_,D,I,!0):D.ended?_.emit("error",new Error("stream.push() after EOF")):(D.reading=!1,D.decoder&&!W?(I=D.decoder.write(I),D.objectMode||I.length!==0?x(_,D,I,!1):w(_,D)):x(_,D,I,!1))):Z||(D.reading=!1)),function(Q){return!Q.ended&&(Q.needReadable||Q.lengthI.highWaterMark&&(I.highWaterMark=function(W){return W>=y?W=y:(W--,W|=W>>>1,W|=W>>>2,W|=W>>>4,W|=W>>>8,W|=W>>>16,W++),W}(_)),_<=I.length?_:I.ended?I.length:(I.needReadable=!0,0))}function g(_){var I=_._readableState;I.needReadable=!1,I.emittedReadable||(l("emitReadable",I.flowing),I.emittedReadable=!0,I.sync?e.nextTick(b,_):b(_))}function b(_){l("emit readable"),_.emit("readable"),k(_)}function w(_,I){I.readingMore||(I.readingMore=!0,e.nextTick(T,_,I))}function T(_,I){for(var W=I.length;!I.reading&&!I.flowing&&!I.ended&&I.length=I.length?(W=I.decoder?I.buffer.join(""):I.buffer.length===1?I.buffer.head.data:I.buffer.concat(I.length),I.buffer.clear()):W=function(Z,J,le){var D;return Zz.length?z.length:Q;if(oe===z.length?te+=z:te+=z.slice(0,Q),(Q-=oe)===0){oe===z.length?(++U,H.next?B.head=H.next:B.head=B.tail=null):(B.head=H,H.data=z.slice(oe));break}++U}return B.length-=U,te}(Z,J):function(Q,B){var H=i.allocUnsafe(Q),U=B.head,te=1;for(U.data.copy(H),Q-=U.data.length;U=U.next;){var z=U.data,oe=Q>z.length?z.length:Q;if(z.copy(H,H.length-Q,0,oe),(Q-=oe)===0){oe===z.length?(++te,U.next?B.head=U.next:B.head=B.tail=null):(B.head=U,U.data=z.slice(oe));break}++te}return B.length-=te,H}(Z,J),D}(_,I.buffer,I.decoder),W);var W}function N(_){var I=_._readableState;if(I.length>0)throw new Error('"endReadable()" called on non-empty stream');I.endEmitted||(I.ended=!0,e.nextTick(E,I,_))}function E(_,I){_.endEmitted||_.length!==0||(_.endEmitted=!0,I.readable=!1,I.emit("end"))}function C(_,I){for(var W=0,Z=_.length;W=I.highWaterMark||I.ended))return l("read: emitReadable",I.length,I.ended),I.length===0&&I.ended?N(this):g(this),null;if((_=R(_,I))===0&&I.ended)return I.length===0&&N(this),null;var Z,J=I.needReadable;return l("need readable",J),(I.length===0||I.length-_0?F(_,I):null)===null?(I.needReadable=!0,_=0):I.length-=_,I.length===0&&(I.ended||(I.needReadable=!0),W!==_&&I.ended&&N(this)),Z!==null&&this.emit("data",Z),Z},m.prototype._read=function(_){this.emit("error",new Error("_read() is not implemented"))},m.prototype.pipe=function(_,I){var W=this,Z=this._readableState;switch(Z.pipesCount){case 0:Z.pipes=_;break;case 1:Z.pipes=[Z.pipes,_];break;default:Z.pipes.push(_)}Z.pipesCount+=1,l("pipe count=%d opts=%j",Z.pipesCount,I);var J=(!I||I.end!==!1)&&_!==Mi.stdout&&_!==Mi.stderr?D:pe;function le(Ae,me){l("onunpipe"),Ae===W&&me&&me.hasUnpiped===!1&&(me.hasUnpiped=!0,l("cleanup"),_.removeListener("close",z),_.removeListener("finish",oe),_.removeListener("drain",Q),_.removeListener("error",te),_.removeListener("unpipe",le),W.removeListener("end",D),W.removeListener("end",pe),W.removeListener("data",U),B=!0,!Z.awaitDrain||_._writableState&&!_._writableState.needDrain||Q())}function D(){l("onend"),_.end()}Z.endEmitted?e.nextTick(J):W.once("end",J),_.on("unpipe",le);var Q=function(Ae){return function(){var me=Ae._readableState;l("pipeOnDrain",me.awaitDrain),me.awaitDrain&&me.awaitDrain--,me.awaitDrain===0&&r(Ae,"data")&&(me.flowing=!0,k(Ae))}}(W);_.on("drain",Q);var B=!1,H=!1;function U(Ae){l("ondata"),H=!1,_.write(Ae)!==!1||H||((Z.pipesCount===1&&Z.pipes===_||Z.pipesCount>1&&C(Z.pipes,_)!==-1)&&!B&&(l("false write response, pause",W._readableState.awaitDrain),W._readableState.awaitDrain++,H=!0),W.pause())}function te(Ae){l("onerror",Ae),pe(),_.removeListener("error",te),r(_,"error")===0&&_.emit("error",Ae)}function z(){_.removeListener("finish",oe),pe()}function oe(){l("onfinish"),_.removeListener("close",z),pe()}function pe(){l("unpipe"),W.unpipe(_)}return W.on("data",U),function(Ae,me,$){if(typeof Ae.prependListener=="function")return Ae.prependListener(me,$);Ae._events&&Ae._events[me]?n(Ae._events[me])?Ae._events[me].unshift($):Ae._events[me]=[$,Ae._events[me]]:Ae.on(me,$)}(_,"error",te),_.once("close",z),_.once("finish",oe),_.emit("pipe",W),Z.flowing||(l("pipe resume"),W.resume()),_},m.prototype.unpipe=function(_){var I=this._readableState,W={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1)return _&&_!==I.pipes||(_||(_=I.pipes),I.pipes=null,I.pipesCount=0,I.flowing=!1,_&&_.emit("unpipe",this,W)),this;if(!_){var Z=I.pipes,J=I.pipesCount;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var le=0;le"u")Tr.blob=!1;else{var dL=new ArrayBuffer(0);try{Tr.blob=new Blob([dL],{type:"application/zip"}).size===0}catch{try{var hL=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);hL.append(dL),Tr.blob=hL.getBlob("application/zip").size===0}catch{Tr.blob=!1}}}try{Tr.nodestream=!!F9().Readable}catch{Tr.nodestream=!1}var pL,um={};function _9(){if(pL)return um;pL=1;var e=yr(),t=Tr,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return um.encode=function(r){for(var o,i,a,s,c,l,u,f=[],d=0,h=r.length,p=h,m=e.getTypeOf(r)!=="string";d>2,c=(3&o)<<4|i>>4,l=p>1?(15&i)<<2|a>>6:64,u=p>2?63&a:64,f.push(n.charAt(s)+n.charAt(c)+n.charAt(l)+n.charAt(u));return f.join("")},um.decode=function(r){var o,i,a,s,c,l,u=0,f=0,d="data:";if(r.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(r=r.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(r.charAt(r.length-1)===n.charAt(64)&&p--,r.charAt(r.length-2)===n.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=t.uint8array?new Uint8Array(0|p):new Array(0|p);u>4,i=(15&s)<<4|(c=n.indexOf(r.charAt(u++)))>>2,a=(3&c)<<6|(l=n.indexOf(r.charAt(u++))),h[f++]=o,c!==64&&(h[f++]=i),l!==64&&(h[f++]=a);return h},um}var mL,vL,fy,gL,t2={isNode:!0,newBufferFrom:function(e,t){if(He.from&&He.from!==Uint8Array.from)return He.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new He(e,t)},allocBuffer:function(e){if(He.alloc)return He.alloc(e);var t=new He(e);return t.fill(0),t},isBuffer:function(e){return kp(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}},E9=null;E9=typeof Promise<"u"?Promise:function(){if(gL)return fy;gL=1;var e=function(){if(vL)return mL;vL=1;var d,h,p=Ai.MutationObserver||Ai.WebKitMutationObserver;if(p){var m=0,A=new p(g),x=Ai.document.createTextNode("");A.observe(x,{characterData:!0}),d=function(){x.data=m=++m%2}}else if(Ai.setImmediate||Ai.MessageChannel===void 0)d="document"in Ai&&"onreadystatechange"in Ai.document.createElement("script")?function(){var b=Ai.document.createElement("script");b.onreadystatechange=function(){g(),b.onreadystatechange=null,b.parentNode.removeChild(b),b=null},Ai.document.documentElement.appendChild(b)}:function(){setTimeout(g,0)};else{var y=new Ai.MessageChannel;y.port1.onmessage=g,d=function(){y.port2.postMessage(0)}}var R=[];function g(){var b,w;h=!0;for(var T=R.length;T;){for(w=R,R=[],b=-1;++b1;)try{return s.stringifyByChunk(f,h,d)}catch{d=Math.floor(d/2)}return s.stringifyByChar(f)}function l(f,d){for(var h=0;h"u"?Ai:self),X9.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}};var ia=X9;(function(e){for(var t=yr(),n=Tr,r=t2,o=ia,i=new Array(256),a=0;a<256;a++)i[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;i[254]=i[254]=1;function s(){o.call(this,"utf-8 decode"),this.leftOver=null}function c(){o.call(this,"utf-8 encode")}e.utf8encode=function(l){return n.nodebuffer?r.newBufferFrom(l,"utf-8"):function(u){var f,d,h,p,m,A=u.length,x=0;for(p=0;p>>6,f[m++]=128|63&d):d<65536?(f[m++]=224|d>>>12,f[m++]=128|d>>>6&63,f[m++]=128|63&d):(f[m++]=240|d>>>18,f[m++]=128|d>>>12&63,f[m++]=128|d>>>6&63,f[m++]=128|63&d);return f}(l)},e.utf8decode=function(l){return n.nodebuffer?t.transformTo("nodebuffer",l).toString("utf-8"):function(u){var f,d,h,p,m=u.length,A=new Array(2*m);for(d=0,f=0;f4)A[d++]=65533,f+=p-1;else{for(h&=p===2?31:p===3?15:7;p>1&&f1?A[d++]=65533:h<65536?A[d++]=h:(h-=65536,A[d++]=55296|h>>10&1023,A[d++]=56320|1023&h)}return A.length!==d&&(A.subarray?A=A.subarray(0,d):A.length=d),t.applyFromCharCode(A)}(l=t.transformTo(n.uint8array?"uint8array":"array",l))},t.inherits(s,o),s.prototype.processChunk=function(l){var u=t.transformTo(n.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var f=u;(u=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),u.set(f,this.leftOver.length)}else u=this.leftOver.concat(u);this.leftOver=null}var d=function(p,m){var A;for((m=m||p.length)>p.length&&(m=p.length),A=m-1;A>=0&&(192&p[A])==128;)A--;return A<0||A===0?m:A+i[p[A]]>m?A:m}(u),h=u;d!==u.length&&(n.uint8array?(h=u.subarray(0,d),this.leftOver=u.subarray(d,u.length)):(h=u.slice(0,d),this.leftOver=u.slice(d,u.length))),this.push({data:e.utf8decode(h),meta:l.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(c,o),c.prototype.processChunk=function(l){this.push({data:e.utf8encode(l.data),meta:l.meta})},e.Utf8EncodeWorker=c})(Dd);var W9=ia,RL=yr();function A3(e){W9.call(this,"ConvertWorker to "+e),this.destType=e}RL.inherits(A3,W9),A3.prototype.processChunk=function(e){this.push({data:RL.transformTo(this.destType,e.data),meta:e.meta})};var yL,xL,yee=A3,vu=yr(),xee=yee,bee=ia,See=_9(),Mee=Fp,V9=null;if(Tr.nodestream)try{V9=function(){if(xL)return yL;xL=1;var e=F9().Readable;function t(n,r,o){e.call(this,r),this._helper=n;var i=this;n.on("data",function(a,s){i.push(a)||i._helper.pause(),o&&o(s)}).on("error",function(a){i.emit("error",a)}).on("end",function(){i.push(null)})}return yr().inherits(t,e),t.prototype._read=function(){this._helper.resume()},yL=t}()}catch{}function wee(e,t){return new Mee.Promise(function(n,r){var o=[],i=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",function(c,l){o.push(c),t&&t(l)}).on("error",function(c){o=[],r(c)}).on("end",function(){try{var c=function(l,u,f){switch(l){case"blob":return vu.newBlob(vu.transformTo("arraybuffer",u),f);case"base64":return See.encode(u);default:return vu.transformTo(l,u)}}(a,function(l,u){var f,d=0,h=null,p=0;for(f=0;f=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var Z9=Ef,Lee=yr(),bL=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),Bb=function(e,t){return e!==void 0&&e.length?Lee.getTypeOf(e)!=="string"?function(n,r,o,i){var a=bL,s=i+o;n^=-1;for(var c=i;c>>8^a[255&(n^r[c])];return-1^n}(0|t,e,e.length,0):function(n,r,o,i){var a=bL,s=i+o;n^=-1;for(var c=i;c>>8^a[255&(n^r.charCodeAt(c))];return-1^n}(0|t,e,e.length,0):0},B9=ia,Oee=Bb;function R3(){B9.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}yr().inherits(R3,B9),R3.prototype.processChunk=function(e){this.streamInfo.crc32=Oee(e.data,this.streamInfo.crc32||0),this.push(e)};var D9=R3,Tee=yr(),y3=ia;function x3(e){y3.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}Tee.inherits(x3,y3),x3.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}y3.prototype.processChunk.call(this,e)};var SL=Fp,ML=Z9,kee=D9,dy=x3;function b3(e,t,n,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=o}b3.prototype={getContentWorker:function(){var e=new ML(SL.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new dy("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new ML(SL.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},b3.createWorkerFrom=function(e,t,n){return e.pipe(new kee).pipe(new dy("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new dy("compressedSize")).withStreamInfo("compression",t)};var Db=b3,Nee=Y9,Pee=Z9,hy=Dd,py=Db,wL=ia,Kb=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};Kb.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r=(n=e.toLowerCase())==="string"||n==="text";n!=="binarystring"&&n!=="text"||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new hy.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new hy.Utf8DecodeWorker))}catch(i){(t=new wL("error")).error(i)}return new Nee(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof py&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new hy.Utf8EncodeWorker)),py.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof py?this._data.getContentWorker():this._data instanceof wL?this._data:new Pee(this._data)}};for(var LL=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Cee=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},my=0;my=0;)e[t]=0}var S3=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Km=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],_ee=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],OL=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ys=new Array(576);Kd(Ys);var U0=new Array(60);Kd(U0);var ep=new Array(512);Kd(ep);var Rh=new Array(256);Kd(Rh);var Hb=new Array(29);Kd(Hb);var TL,kL,NL,Kv=new Array(30);function vy(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}function gy(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function H9(e){return e<256?ep[e]:ep[256+(e>>>7)]}function tp(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Jo(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1;while(--t>0);return n>>>1}function J9(e,t,n){var r,o,i=new Array(16),a=0;for(r=1;r<=15;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];s!==0&&(e[2*o]=G9(i[s]++,s))}}function PL(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function z9(e){e.bi_valid>8?tp(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function CL(e,t,n,r){var o=2*t,i=2*n;return e[o]>1;n>=1;n--)Ay(e,i,n);o=c;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ay(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*o]=i[2*n]+i[2*r],e.depth[o]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=o,e.heap[1]=o++,Ay(e,i,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(u,f){var d,h,p,m,A,x,y=f.dyn_tree,R=f.max_code,g=f.stat_desc.static_tree,b=f.stat_desc.has_stree,w=f.stat_desc.extra_bits,T=f.stat_desc.extra_base,M=f.stat_desc.max_length,O=0;for(m=0;m<=15;m++)u.bl_count[m]=0;for(y[2*u.heap[u.heap_max]+1]=0,d=u.heap_max+1;d<573;d++)(m=y[2*y[2*(h=u.heap[d])+1]+1]+1)>M&&(m=M,O++),y[2*h+1]=m,h>R||(u.bl_count[m]++,A=0,h>=T&&(A=w[h-T]),x=y[2*h],u.opt_len+=x*(m+A),b&&(u.static_len+=x*(g[2*h+1]+A)));if(O!==0){do{for(m=M-1;u.bl_count[m]===0;)m--;u.bl_count[m]--,u.bl_count[m+1]+=2,u.bl_count[M]--,O-=2}while(O>0);for(m=M;m!==0;m--)for(h=u.bl_count[m];h!==0;)(p=u.heap[--d])>R||(y[2*p+1]!==m&&(u.opt_len+=(m-y[2*p+1])*y[2*p],y[2*p+1]=m),h--)}}(e,t),J9(i,l,e.bl_count)}function FL(e,t,n){var r,o,i=-1,a=t[1],s=0,c=7,l=4;for(a===0&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s>=7;o<30;o++)for(Kv[o]=i<<7,t=0;t<1<0?(e.strm.data_type===2&&(e.strm.data_type=function(s){var c,l=4093624447;for(c=0;c<=31;c++,l>>>=1)if(1&l&&s.dyn_ltree[2*c]!==0)return 0;if(s.dyn_ltree[18]!==0||s.dyn_ltree[20]!==0||s.dyn_ltree[26]!==0)return 1;for(c=32;c<256;c++)if(s.dyn_ltree[2*c]!==0)return 1;return 0}(e)),Ry(e,e.l_desc),Ry(e,e.d_desc),a=function(s){var c;for(FL(s,s.dyn_ltree,s.l_desc.max_code),FL(s,s.dyn_dtree,s.d_desc.max_code),Ry(s,s.bl_desc),c=18;c>=3&&s.bl_tree[2*OL[c]+1]===0;c--);return s.opt_len+=3*(c+1)+5+5+4,c}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=n+5,n+4<=o&&t!==-1?XL(e,t,n,r):e.strategy===4||i===o?(Jo(e,2+(r?1:0),3),IL(e,Ys,U0)):(Jo(e,4+(r?1:0),3),function(s,c,l,u){var f;for(Jo(s,c-257,5),Jo(s,l-1,5),Jo(s,u-4,4),f=0;f>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(Rh[n]+256+1)]++,e.dyn_dtree[2*H9(t)]++),e.last_lit===e.lit_bufsize-1},Xf._tr_align=function(e){Jo(e,2,3),ns(e,256,Ys),function(t){t.bi_valid===16?(tp(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(e)};var $9=function(e,t,n,r){for(var o=65535&e|0,i=e>>>16&65535|0,a=0;n!==0;){n-=a=n>2e3?2e3:n;do i=i+(o=o+t[r++]|0)|0;while(--a);o%=65521,i%=65521}return o|i<<16|0},Eee=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),Hf,j9=function(e,t,n,r){var o=Eee,i=r+n;e^=-1;for(var a=r;a>>8^o[255&(e^t[a])];return-1^e},Gb={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},No=ul,Gi=Xf,q9=$9,El=j9,Xee=Gb;function Zl(e,t){return e.msg=Xee[t],t}function WL(e){return(e<<1)-(e>4?9:0)}function Jl(e){for(var t=e.length;--t>=0;)e[t]=0}function Xl(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(No.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function qr(e,t){Gi._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Xl(e.strm)}function On(e,t){e.pending_buf[e.pending++]=t}function m0(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function eC(e,t){var n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,f=e.prev,d=e.strstart+258,h=l[i+a-1],p=l[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+a]===p&&l[n+a-1]===h&&l[n]===l[i]&&l[++n]===l[i+1]){i+=2,n++;do;while(l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&ia){if(e.match_start=t,a=r,r>=s)break;h=l[i+a-1],p=l[i+a]}}while((t=f[t&u])>c&&--o!=0);return a<=e.lookahead?a:e.lookahead}function $c(e){var t,n,r,o,i,a,s,c,l,u,f=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-262)){No.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=n=e.hash_size;do r=e.head[--t],e.head[t]=r>=f?r-f:0;while(--n);t=n=f;do r=e.prev[--t],e.prev[t]=r>=f?r-f:0;while(--n);o+=f}if(e.strm.avail_in===0)break;if(a=e.strm,s=e.window,c=e.strstart+e.lookahead,l=o,u=void 0,(u=a.avail_in)>l&&(u=l),n=u===0?0:(a.avail_in-=u,No.arraySet(s,a.input,a.next_in,u,c),a.state.wrap===1?a.adler=q9(a.adler,s,u,c):a.state.wrap===2&&(a.adler=El(a.adler,s,u,c)),a.next_in+=u,a.total_in+=u,u),e.lookahead+=n,e.lookahead+e.insert>=3)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(r=Gi._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,r=Gi._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=o&&(e.ins_h=(e.ins_h<15&&(a=2,r-=16),o<1||o>9||n!==8||r<8||r>15||t<0||t>9||i<0||i>4)return Zl(e,-2);r===8&&(r=9);var s=new Wee;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if($c(e),e.lookahead===0&&t===0)return 1;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,qr(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-262&&(qr(e,!1),e.strm.avail_out===0))return 1}return e.insert=0,t===4?(qr(e,!0),e.strm.avail_out===0?3:4):(e.strstart>e.block_start&&(qr(e,!1),e.strm.avail_out),1)}),new Ua(4,4,8,4,yy),new Ua(4,5,16,8,yy),new Ua(4,6,32,32,yy),new Ua(4,4,16,16,xf),new Ua(8,16,32,32,xf),new Ua(8,16,128,128,xf),new Ua(8,32,128,256,xf),new Ua(32,128,258,1024,xf),new Ua(32,258,258,4096,xf)],Za.deflateInit=function(e,t){return VL(e,t,8,15,8,0)},Za.deflateInit2=VL,Za.deflateReset=nC,Za.deflateResetKeep=tC,Za.deflateSetHeader=function(e,t){return e&&e.state?e.state.wrap!==2?-2:(e.state.gzhead=t,0):-2},Za.deflate=function(e,t){var n,r,o,i;if(!e||!e.state||t>5||t<0)return e?Zl(e,-2):-2;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===666&&t!==4)return Zl(e,e.avail_out===0?-5:-2);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===42)if(r.wrap===2)e.adler=0,On(r,31),On(r,139),On(r,8),r.gzhead?(On(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),On(r,255&r.gzhead.time),On(r,r.gzhead.time>>8&255),On(r,r.gzhead.time>>16&255),On(r,r.gzhead.time>>24&255),On(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),On(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(On(r,255&r.gzhead.extra.length),On(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=El(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(On(r,0),On(r,0),On(r,0),On(r,0),On(r,0),On(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),On(r,3),r.status=113);else{var a=8+(r.w_bits-8<<4)<<8;a|=(r.strategy>=2||r.level<2?0:r.level<6?1:r.level===6?2:3)<<6,r.strstart!==0&&(a|=32),a+=31-a%31,r.status=113,m0(r,a),r.strstart!==0&&(m0(r,e.adler>>>16),m0(r,65535&e.adler)),e.adler=1}if(r.status===69)if(r.gzhead.extra){for(o=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>o&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),Xl(e),o=r.pending,r.pending!==r.pending_buf_size));)On(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>o&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),Xl(e),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindexo&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),i===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),Xl(e),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindexo&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),i===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Xl(e),r.pending+2<=r.pending_buf_size&&(On(r,255&e.adler),On(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),r.pending!==0){if(Xl(e),e.avail_out===0)return r.last_flush=-1,0}else if(e.avail_in===0&&WL(t)<=WL(n)&&t!==4)return Zl(e,-5);if(r.status===666&&e.avail_in!==0)return Zl(e,-5);if(e.avail_in!==0||r.lookahead!==0||t!==0&&r.status!==666){var s=r.strategy===2?function(c,l){for(var u;;){if(c.lookahead===0&&($c(c),c.lookahead===0)){if(l===0)return 1;break}if(c.match_length=0,u=Gi._tr_tally(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++,u&&(qr(c,!1),c.strm.avail_out===0))return 1}return c.insert=0,l===4?(qr(c,!0),c.strm.avail_out===0?3:4):c.last_lit&&(qr(c,!1),c.strm.avail_out===0)?1:2}(r,t):r.strategy===3?function(c,l){for(var u,f,d,h,p=c.window;;){if(c.lookahead<=258){if($c(c),c.lookahead<=258&&l===0)return 1;if(c.lookahead===0)break}if(c.match_length=0,c.lookahead>=3&&c.strstart>0&&(f=p[d=c.strstart-1])===p[++d]&&f===p[++d]&&f===p[++d]){h=c.strstart+258;do;while(f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&dc.lookahead&&(c.match_length=c.lookahead)}if(c.match_length>=3?(u=Gi._tr_tally(c,1,c.match_length-3),c.lookahead-=c.match_length,c.strstart+=c.match_length,c.match_length=0):(u=Gi._tr_tally(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++),u&&(qr(c,!1),c.strm.avail_out===0))return 1}return c.insert=0,l===4?(qr(c,!0),c.strm.avail_out===0?3:4):c.last_lit&&(qr(c,!1),c.strm.avail_out===0)?1:2}(r,t):Hf[r.level].func(r,t);if(s!==3&&s!==4||(r.status=666),s===1||s===3)return e.avail_out===0&&(r.last_flush=-1),0;if(s===2&&(t===1?Gi._tr_align(r):t!==5&&(Gi._tr_stored_block(r,0,0,!1),t===3&&(Jl(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),Xl(e),e.avail_out===0))return r.last_flush=-1,0}return t!==4?0:r.wrap<=0?1:(r.wrap===2?(On(r,255&e.adler),On(r,e.adler>>8&255),On(r,e.adler>>16&255),On(r,e.adler>>24&255),On(r,255&e.total_in),On(r,e.total_in>>8&255),On(r,e.total_in>>16&255),On(r,e.total_in>>24&255)):(m0(r,e.adler>>>16),m0(r,65535&e.adler)),Xl(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?0:1)},Za.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==42&&t!==69&&t!==73&&t!==91&&t!==103&&t!==113&&t!==666?Zl(e,-2):(e.state=null,t===113?Zl(e,-3):0):-2},Za.deflateSetDictionary=function(e,t){var n,r,o,i,a,s,c,l,u=t.length;if(!e||!e.state||(i=(n=e.state).wrap)===2||i===1&&n.status!==42||n.lookahead)return-2;for(i===1&&(e.adler=q9(e.adler,t,u,0)),n.wrap=0,u>=n.w_size&&(i===0&&(Jl(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new No.Buf8(n.w_size),No.arraySet(l,t,u-n.w_size,n.w_size,0),t=l,u=n.w_size),a=e.avail_in,s=e.next_in,c=e.input,e.avail_in=u,e.next_in=0,e.input=t,$c(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do n.ins_h=(n.ins_h<=252?6:wl>=248?5:wl>=240?4:wl>=224?3:wl>=192?2:1;function UL(e,t){if(t<65534&&(e.subarray&&oC||!e.subarray&&rC))return String.fromCharCode.apply(null,Hv.shrinkBuf(e,t));for(var n="",r=0;r>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t},jc.buf2binstring=function(e){return UL(e,e.length)},jc.binstring2buf=function(e){for(var t=new Hv.Buf8(e.length),n=0,r=t.length;n4)s[r++]=65533,n+=i-1;else{for(o&=i===2?31:i===3?15:7;i>1&&n1?s[r++]=65533:o<65536?s[r++]=o:(o-=65536,s[r++]=55296|o>>10&1023,s[r++]=56320|1023&o)}return UL(s,r)},jc.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&(192&e[n])==128;)n--;return n<0||n===0?t:n+Y0[e[n]]>t?n:t};var iC=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},yh=Za,Q0=ul,M3=jc,w3=Gb,Vee=iC,aC=Object.prototype.toString;function nu(e){if(!(this instanceof nu))return new nu(e);this.options=Q0.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Vee,this.strm.avail_out=0;var n=yh.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==0)throw new Error(w3[n]);if(t.header&&yh.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r=typeof t.dictionary=="string"?M3.string2buf(t.dictionary):aC.call(t.dictionary)==="[object ArrayBuffer]"?new Uint8Array(t.dictionary):t.dictionary,(n=yh.deflateSetDictionary(this.strm,r))!==0)throw new Error(w3[n]);this._dict_set=!0}}function xy(e,t){var n=new nu(t);if(n.push(e,!0),n.err)throw n.msg||w3[n.err];return n.result}nu.prototype.push=function(e,t){var n,r,o=this.strm,i=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:t===!0?4:0,typeof e=="string"?o.input=M3.string2buf(e):aC.call(e)==="[object ArrayBuffer]"?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(o.avail_out===0&&(o.output=new Q0.Buf8(i),o.next_out=0,o.avail_out=i),(n=yh.deflate(o,r))!==1&&n!==0)return this.onEnd(n),this.ended=!0,!1;o.avail_out!==0&&(o.avail_in!==0||r!==4&&r!==2)||(this.options.to==="string"?this.onData(M3.buf2binstring(Q0.shrinkBuf(o.output,o.next_out))):this.onData(Q0.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||o.avail_out===0)&&n!==1);return r===4?(n=yh.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===0):r!==2||(this.onEnd(0),o.avail_out=0,!0)},nu.prototype.onData=function(e){this.chunks.push(e)},nu.prototype.onEnd=function(e){e===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Q0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},V0.Deflate=nu,V0.deflate=xy,V0.deflateRaw=function(e,t){return(t=t||{}).raw=!0,xy(e,t)},V0.gzip=function(e,t){return(t=t||{}).gzip=!0,xy(e,t)};var Z0={},va={},YL=ul,Uee=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Yee=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Qee=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Zee=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Ti=ul,by=$9,Ya=j9,Bee=function(e,t){var n,r,o,i,a,s,c,l,u,f,d,h,p,m,A,x,y,R,g,b,w,T,M,O,k;n=e.state,r=e.next_in,O=e.input,o=r+(e.avail_in-5),i=e.next_out,k=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,f=n.wnext,d=n.window,h=n.hold,p=n.bits,m=n.lencode,A=n.distcode,x=(1<>>=g=R>>>24,p-=g,(g=R>>>16&255)===0)k[i++]=65535&R;else{if(!(16&g)){if(!(64&g)){R=m[(65535&R)+(h&(1<>>=g,p-=g),p<15&&(h+=O[r++]<>>=g=R>>>24,p-=g,!(16&(g=R>>>16&255))){if(!(64&g)){R=A[(65535&R)+(h&(1<c){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=g,p-=g,w>(g=i-a)){if((g=w-g)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(T=0,M=d,f===0){if(T+=l-g,g2;)k[i++]=M[T++],k[i++]=M[T++],k[i++]=M[T++],b-=3;b&&(k[i++]=M[T++],b>1&&(k[i++]=M[T++]))}else{T=i-w;do k[i++]=k[T++],k[i++]=k[T++],k[i++]=k[T++],b-=3;while(b>2);b&&(k[i++]=k[T++],b>1&&(k[i++]=k[T++]))}break}}break}}while(r>3,h&=(1<<(p-=b<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r=1&&C[b]===0;b--);if(w>b&&(w=b),b===0)return o[i++]=20971520,o[i++]=20971520,s.bits=1,0;for(g=1;g0&&(e===0||b!==1))return-1;for(_[1]=0,y=1;y<15;y++)_[y+1]=_[y]+C[y];for(R=0;R852||e===2&&k>592)return 1;for(;;){p=y-M,a[R]h?(m=I[W+a[R]],A=N[E+a[R]]):(m=96,A=0),c=1<>M)+(l-=c)]=p<<24|m<<16|A|0;while(l!==0);for(c=1<>=1;if(c!==0?(F&=c-1,F+=c):F=0,R++,--C[y]==0){if(y===b)break;y=t[n+a[R]]}if(y>w&&(F&f)!==u){for(M===0&&(M=w),d+=g,O=1<<(T=y-M);T+M852||e===2&&k>592)return 1;o[u=F&f]=w<<24|T<<16|d-i|0}}return F!==0&&(o[d+F]=y-M<<24|64<<16|0),s.bits=w,0};function QL(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Dee(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Ti.Buf16(320),this.work=new Ti.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function sC(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ti.Buf32(852),t.distcode=t.distdyn=new Ti.Buf32(592),t.sane=1,t.back=-1,0):-2}function lC(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,sC(e)):-2}function cC(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,lC(e))):-2}function ZL(e,t){var n,r;return e?(r=new Dee,e.state=r,r.window=null,(n=cC(e,t))!==0&&(e.state=null),n):-2}var Sy,My,BL=!0;function Kee(e){if(BL){var t;for(Sy=new Ti.Buf32(512),My=new Ti.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(xh(1,e.lens,0,288,Sy,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;xh(2,e.lens,0,32,My,0,e.work,{bits:5}),BL=!1}e.lencode=Sy,e.lenbits=9,e.distcode=My,e.distbits=5}function DL(e,t,n,r){var o,i=e.state;return i.window===null&&(i.wsize=1<=i.wsize?(Ti.arraySet(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((o=i.wsize-i.wnext)>r&&(o=r),Ti.arraySet(i.window,t,n-r,o,i.wnext),(r-=o)?(Ti.arraySet(i.window,t,n-r,r,0),i.wnext=r,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave>>8&255,n.check=Ya(n.check,F,2,0),l=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&l)!=8){e.msg="unknown compression method",n.mode=30;break}if(u-=4,w=8+(15&(l>>>=4)),n.wbits===0)n.wbits=w;else if(w>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(F[0]=255&l,F[1]=l>>>8&255,n.check=Ya(n.check,F,2,0)),l=0,u=0,n.mode=3;case 3:for(;u<32;){if(s===0)break e;s--,l+=r[i++]<>>8&255,F[2]=l>>>16&255,F[3]=l>>>24&255,n.check=Ya(n.check,F,4,0)),l=0,u=0,n.mode=4;case 4:for(;u<16;){if(s===0)break e;s--,l+=r[i++]<>8),512&n.flags&&(F[0]=255&l,F[1]=l>>>8&255,n.check=Ya(n.check,F,2,0)),l=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(s===0)break e;s--,l+=r[i++]<>>8&255,n.check=Ya(n.check,F,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=n.length)>s&&(h=s),h&&(n.head&&(w=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ti.arraySet(n.head.extra,r,i,h,w)),512&n.flags&&(n.check=Ya(n.check,r,h,i)),s-=h,i+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(s===0)break e;h=0;do w=r[i+h++],n.head&&w&&n.length<65536&&(n.head.name+=String.fromCharCode(w));while(w&&h>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;u<32;){if(s===0)break e;s--,l+=r[i++]<>>=7&u,u-=7&u,n.mode=27;break}for(;u<3;){if(s===0)break e;s--,l+=r[i++]<>>=1)){case 0:n.mode=14;break;case 1:if(Kee(n),n.mode=20,t===6){l>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}l>>>=2,u-=2;break;case 14:for(l>>>=7&u,u-=7&u;u<32;){if(s===0)break e;s--,l+=r[i++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&l,l=0,u=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(h=n.length){if(h>s&&(h=s),h>c&&(h=c),h===0)break e;Ti.arraySet(o,r,i,h,a),s-=h,i+=h,c-=h,a+=h,n.length-=h;break}n.mode=12;break;case 17:for(;u<14;){if(s===0)break e;s--,l+=r[i++]<>>=5,u-=5,n.ndist=1+(31&l),l>>>=5,u-=5,n.ncode=4+(15&l),l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,u-=3}for(;n.have<19;)n.lens[N[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},T=xh(0,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,T){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,y=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>>=A,u-=A,n.lens[n.have++]=y;else{if(y===16){for(O=A+2;u>>=A,u-=A,n.have===0){e.msg="invalid bit length repeat",n.mode=30;break}w=n.lens[n.have-1],h=3+(3&l),l>>>=2,u-=2}else if(y===17){for(O=A+3;u>>=A)),l>>>=3,u-=3}else{for(O=A+7;u>>=A)),l>>>=7,u-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=w}}if(n.mode===30)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,M={bits:n.lenbits},T=xh(1,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,T){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},T=xh(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,T){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(s>=6&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=i,e.avail_in=s,n.hold=l,n.bits=u,Bee(e,d),a=e.next_out,o=e.output,c=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;x=(k=n.lencode[l&(1<>>16&255,y=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>R)])>>>16&255,y=65535&k,!(R+(A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>>=R,u-=R,n.back+=R}if(l>>>=A,u-=A,n.back+=A,n.length=y,x===0){n.mode=26;break}if(32&x){n.back=-1,n.mode=12;break}if(64&x){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&x,n.mode=22;case 22:if(n.extra){for(O=n.extra;u>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;x=(k=n.distcode[l&(1<>>16&255,y=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>R)])>>>16&255,y=65535&k,!(R+(A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>>=R,u-=R,n.back+=R}if(l>>>=A,u-=A,n.back+=A,64&x){e.msg="invalid distance code",n.mode=30;break}n.offset=y,n.extra=15&x,n.mode=24;case 24:if(n.extra){for(O=n.extra;u>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(c===0)break e;if(h=d-c,n.offset>h){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}h>n.wnext?(h-=n.wnext,p=n.wsize-h):p=n.wnext-h,h>n.length&&(h=n.length),m=n.window}else m=o,p=a-n.offset,h=n.length;h>c&&(h=c),c-=h,n.length-=h;do o[a++]=m[p++];while(--h);n.length===0&&(n.mode=21);break;case 26:if(c===0)break e;o[a++]=n.length,c--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(s===0)break e;s--,l|=r[i++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Hee,this.strm.avail_out=0;var n=hd.inflateInit2(this.strm,t.windowBits);if(n!==Mr.Z_OK)throw new Error(L3[n]);if(this.header=new Gee,hd.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Hm.string2buf(t.dictionary):fC.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=hd.inflateSetDictionary(this.strm,t.dictionary))!==Mr.Z_OK))throw new Error(L3[n])}function wy(e,t){var n=new ru(t);if(n.push(e,!0),n.err)throw n.msg||L3[n.err];return n.result}ru.prototype.push=function(e,t){var n,r,o,i,a,s=this.strm,c=this.options.chunkSize,l=this.options.dictionary,u=!1;if(this.ended)return!1;r=t===~~t?t:t===!0?Mr.Z_FINISH:Mr.Z_NO_FLUSH,typeof e=="string"?s.input=Hm.binstring2buf(e):fC.call(e)==="[object ArrayBuffer]"?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new B0.Buf8(c),s.next_out=0,s.avail_out=c),(n=hd.inflate(s,Mr.Z_NO_FLUSH))===Mr.Z_NEED_DICT&&l&&(n=hd.inflateSetDictionary(this.strm,l)),n===Mr.Z_BUF_ERROR&&u===!0&&(n=Mr.Z_OK,u=!1),n!==Mr.Z_STREAM_END&&n!==Mr.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(s.avail_out!==0&&n!==Mr.Z_STREAM_END&&(s.avail_in!==0||r!==Mr.Z_FINISH&&r!==Mr.Z_SYNC_FLUSH)||(this.options.to==="string"?(o=Hm.utf8border(s.output,s.next_out),i=s.next_out-o,a=Hm.buf2string(s.output,o),s.next_out=i,s.avail_out=c-i,i&&B0.arraySet(s.output,s.output,o,i,0),this.onData(a)):this.onData(B0.shrinkBuf(s.output,s.next_out)))),s.avail_in===0&&s.avail_out===0&&(u=!0)}while((s.avail_in>0||s.avail_out===0)&&n!==Mr.Z_STREAM_END);return n===Mr.Z_STREAM_END&&(r=Mr.Z_FINISH),r===Mr.Z_FINISH?(n=hd.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Mr.Z_OK):r!==Mr.Z_SYNC_FLUSH||(this.onEnd(Mr.Z_OK),s.avail_out=0,!0)},ru.prototype.onData=function(e){this.chunks.push(e)},ru.prototype.onEnd=function(e){e===Mr.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=B0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Z0.Inflate=ru,Z0.inflate=wy,Z0.inflateRaw=function(e,t){return(t=t||{}).raw=!0,wy(e,t)},Z0.ungzip=wy;var dC={};(0,ul.assign)(dC,V0,Z0,uC);var Jee=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",zee=dC,KL=yr(),Gm=ia,$ee=Jee?"uint8array":"array";function Qc(e,t){Gm.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}Dm.magic="\b\0",KL.inherits(Qc,Gm),Qc.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(KL.transformTo($ee,e.data),!1)},Qc.prototype.flush=function(){Gm.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Qc.prototype.cleanUp=function(){Gm.prototype.cleanUp.call(this),this._pako=null},Qc.prototype._createPako=function(){this._pako=new zee[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},Dm.compressWorker=function(e){return new Qc("Deflate",e)},Dm.uncompressWorker=function(){return new Qc("Inflate",{})};var HL=ia;Dv.STORE={magic:"\0\0",compressWorker:function(){return new HL("STORE compression")},uncompressWorker:function(){return new HL("STORE decompression")}},Dv.DEFLATE=Dm;var hC={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK\x07",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\x07\b"},Gf=yr(),Wf=ia,Ly=Dd,GL=Bb,Gv=hC,Kn=function(e,t){var n,r="";for(n=0;n>>=8;return r},JL=function(e,t,n,r,o,i){var a,s,c=e.file,l=e.compression,u=i!==Ly.utf8encode,f=Gf.transformTo("string",i(c.name)),d=Gf.transformTo("string",Ly.utf8encode(c.name)),h=c.comment,p=Gf.transformTo("string",i(h)),m=Gf.transformTo("string",Ly.utf8encode(h)),A=d.length!==c.name.length,x=m.length!==h.length,y="",R="",g="",b=c.dir,w=c.date,T={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(T.crc32=e.crc32,T.compressedSize=e.compressedSize,T.uncompressedSize=e.uncompressedSize);var M=0;t&&(M|=8),u||!A&&!x||(M|=2048);var O,k,F,N=0,E=0;b&&(N|=16),o==="UNIX"?(E=798,N|=(O=c.unixPermissions,k=b,F=O,O||(F=k?16893:33204),(65535&F)<<16)):(E=20,N|=63&(c.dosPermissions||0)),a=w.getUTCHours(),a<<=6,a|=w.getUTCMinutes(),a<<=5,a|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),A&&(R=Kn(1,1)+Kn(GL(f),4)+d,y+="up"+Kn(R.length,2)+R),x&&(g=Kn(1,1)+Kn(GL(p),4)+m,y+="uc"+Kn(g.length,2)+g);var C="";return C+=` -\0`,C+=Kn(M,2),C+=l.magic,C+=Kn(a,2),C+=Kn(s,2),C+=Kn(T.crc32,4),C+=Kn(T.compressedSize,4),C+=Kn(T.uncompressedSize,4),C+=Kn(f.length,2),C+=Kn(y.length,2),{fileRecord:Gv.LOCAL_FILE_HEADER+C+f+y,dirRecord:Gv.CENTRAL_FILE_HEADER+Kn(E,2)+C+Kn(p.length,2)+"\0\0\0\0"+Kn(N,4)+Kn(r,4)+f+y+p}},jee=function(e){return Gv.DATA_DESCRIPTOR+Kn(e.crc32,4)+Kn(e.compressedSize,4)+Kn(e.uncompressedSize,4)};function ga(e,t,n,r){Wf.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Gf.inherits(ga,Wf),ga.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,Wf.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},ga.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=JL(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ga.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=JL(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:jee(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},ga.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t0?e.substring(0,t):""},gC=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},AC=function(e,t){return t=t!==void 0?t:mC.createFolders,e=gC(e),this.files[e]||vC.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function jL(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var cte={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1){if(jL(e)){var r=e;return this.filter(function(i,a){return!a.dir&&r.test(i)})}var o=this.files[this.root+e];return o&&!o.dir?o:null}return e=this.root+e,vC.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(jL(e))return this.filter(function(o,i){return i.dir&&e.test(o)});var t=this.root+e,n=AC.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(o,i){return i.name.slice(0,e.length)===e}),r=0;r=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return fte.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var yC=RC,xC=yC;function Vf(e){xC.call(this,e);for(var t=0;t=0;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},Vf.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},Vf.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var bC=Vf,SC=yC;function Uf(e){SC.call(this,e)}yr().inherits(Uf,SC),Uf.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},Uf.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},Uf.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},Uf.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var dte=Uf,MC=bC;function O3(e){MC.call(this,e)}yr().inherits(O3,MC),O3.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var wC=O3,LC=wC;function T3(e){LC.call(this,e)}yr().inherits(T3,LC),T3.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var hte=T3,fm=yr(),qL=Tr,pte=bC,mte=dte,vte=hte,gte=wC,OC=function(e){var t=fm.getTypeOf(e);return fm.checkSupport(t),t!=="string"||qL.uint8array?t==="nodebuffer"?new vte(e):qL.uint8array?new gte(fm.transformTo("uint8array",e)):new pte(fm.transformTo("array",e)):new mte(e)},Oy=OC,Ll=yr(),Ate=Db,eO=Bb,dm=Dd,hm=Dv,Rte=Tr;function TC(e,t){this.options=e,this.loadOptions=t}TC.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=function(r){for(var o in hm)if(Object.prototype.hasOwnProperty.call(hm,o)&&hm[o].magic===r)return hm[o];return null}(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Ll.pretty(this.compressionMethod)+" unknown (inner file : "+Ll.transformTo("string",this.fileName)+")");this.decompressed=new Ate(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e===0&&(this.dosPermissions=63&this.externalFileAttributes),e===3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=Oy(this.extraFields[1].value);this.uncompressedSize===Ll.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Ll.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Ll.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Ll.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+41)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e0)this.isSignature(t,fa.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=xte(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var Mte=kC,Ty=yr(),zm=Fp,wte=Dd,Lte=Mte,Ote=D9,tO=t2;function Tte(e){return new zm.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new Ote);r.on("error",function(o){n(o)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function Di(){if(!(this instanceof Di))return new Di;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new Di;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Di.prototype=ute,Di.prototype.loadAsync=function(e,t){var n=this;return t=Ty.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:wte.utf8decode}),tO.isNode&&tO.isStream(e)?zm.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Ty.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var o=new Lte(t);return o.load(r),o}).then(function(r){var o=[zm.Promise.resolve(r)],i=r.files;if(t.checkCRC32)for(var a=0;a",n),e.substring(M,n).indexOf(w)==-1){var O=e.substring(0,n).split(` +`)):s=e.stylize("[Circular]","special")),ss(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Yx(e){return Array.isArray(e)}function $g(e){return typeof e=="boolean"}function Ip(e){return e===null}function A9(e){return e==null}function Qx(e){return typeof e=="number"}function ep(e){return typeof e=="string"}function R9(e){return typeof e=="symbol"}function ss(e){return e===void 0}function vh(e){return $u(e)&&Zx(e)==="[object RegExp]"}function $u(e){return typeof e=="object"&&e!==null}function Bv(e){return $u(e)&&Zx(e)==="[object Date]"}function gh(e){return $u(e)&&(Zx(e)==="[object Error]"||e instanceof Error)}function Ah(e){return typeof e=="function"}function y9(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0}function b9(e){return Pp(e)}function Zx(e){return Object.prototype.toString.call(e)}function qR(e){return e<10?"0"+e.toString(10):e.toString(10)}fs.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},fs.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var ree=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function oee(){var e=new Date,t=[qR(e.getHours()),qR(e.getMinutes()),qR(e.getSeconds())].join(":");return[e.getDate(),ree[e.getMonth()],t].join(" ")}function x9(){console.log("%s - %s",oee(),Jg.apply(null,arguments))}function Bx(e,t){if(!t||!$u(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function S9(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var iee={inherits:sc,_extend:Bx,log:x9,isBuffer:b9,isPrimitive:y9,isFunction:Ah,isError:gh,isDate:Bv,isObject:$u,isRegExp:vh,isUndefined:ss,isSymbol:R9,isString:ep,isNumber:Qx,isNullOrUndefined:A9,isNull:Ip,isBoolean:$g,isArray:Yx,inspect:fs,deprecate:zg,format:Jg,debuglog:Ux},aee=Object.freeze({__proto__:null,format:Jg,deprecate:zg,debuglog:Ux,inspect:fs,isArray:Yx,isBoolean:$g,isNull:Ip,isNullOrUndefined:A9,isNumber:Qx,isString:ep,isSymbol:R9,isUndefined:ss,isRegExp:vh,isObject:$u,isDate:Bv,isError:gh,isFunction:Ah,isPrimitive:y9,isBuffer:b9,log:x9,inherits:sc,_extend:Bx,default:iee});function Hc(){this.head=null,this.tail=null,this.length=0}Hc.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},Hc.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},Hc.prototype.shift=function(){if(this.length!==0){var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},Hc.prototype.clear=function(){this.head=this.tail=null,this.length=0},Hc.prototype.join=function(e){if(this.length===0)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},Hc.prototype.concat=function(e){if(this.length===0)return He.alloc(0);if(this.length===1)return this.head.data;for(var t=He.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var see=He.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Rh(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!see(t))throw new Error("Unknown encoding: "+t)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=cee;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=uee;break;default:return void(this.write=lee)}this.charBuffer=new He(6),this.charReceived=0,this.charLength=0}function lee(e){return e.toString(this.encoding)}function cee(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function uee(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}Rh.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&o<=56319)){if(this.charReceived=this.charLength=0,e.length===0)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var o;if(r=(t+=e.toString(this.encoding,0,r)).length-1,(o=t.charCodeAt(r))>=55296&&o<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),e.copy(this.charBuffer,0,0,i),t.substring(0,r)}return t},Rh.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(t==1&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},Rh.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;t+=r.slice(0,n).toString(o)}return t},ur.ReadableState=M9;var Un=Ux("stream");function M9(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Pi&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new Hc,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new Rh(e.encoding),this.encoding=e.encoding)}function ur(e){if(!(this instanceof ur))return new ur(e);this._readableState=new M9(e,this),this.readable=!0,e&&typeof e.read=="function"&&(this._read=e.read),gn.call(this)}function Fw(e,t,n,r,o){var i=function(l,u){var f=null;return Pp(u)||typeof u=="string"||u==null||l.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f}(t,n);if(i)e.emit("error",i);else if(n===null)t.reading=!1,function(l,u){if(!u.ended){if(u.decoder){var f=u.decoder.end();f&&f.length&&(u.buffer.push(f),u.length+=u.objectMode?1:f.length)}u.ended=!0,Dv(l)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var c;!t.decoder||o||r||(n=t.decoder.write(n),c=!t.objectMode&&n.length===0),o||(t.reading=!1),c||(t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Dv(e))),function(l,u){u.readingMore||(u.readingMore=!0,Xr(fee,l,u))}(e,t)}else o||(t.reading=!1);return function(l){return!l.ended&&(l.needReadable||l.lengtht.highWaterMark&&(t.highWaterMark=function(n){return n>=8388608?n=8388608:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function Dv(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Un("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Xr(Ew,e):Ew(e))}function Ew(e){Un("emit readable"),e.emit("readable"),Dx(e)}function fee(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):t.buffer.length===1?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(r,o,i){var a;return rd.length?d.length:s;if(h===d.length?f+=d:f+=d.slice(0,s),(s-=h)===0){h===d.length?(++u,l.next?c.head=l.next:c.head=c.tail=null):(c.head=l,l.data=d.slice(h));break}++u}return c.length-=u,f}(r,o):function(s,c){var l=He.allocUnsafe(s),u=c.head,f=1;for(u.data.copy(l),s-=u.data.length;u=u.next;){var d=u.data,h=s>d.length?d.length:s;if(d.copy(l,l.length-s,0,h),(s-=h)===0){h===d.length?(++f,u.next?c.head=u.next:c.head=c.tail=null):(c.head=u,u.data=d.slice(h));break}++f}return c.length-=f,l}(r,o),a}(e,t.buffer,t.decoder),n);var n}function ey(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Xr(pee,t,e))}function pee(e,t){e.endEmitted||e.length!==0||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Ww(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return Un("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?ey(this):Dv(this),null;if((e=_w(e,t))===0&&t.ended)return t.length===0&&ey(this),null;var r,o=t.needReadable;return Un("need readable",o),(t.length===0||t.length-e0?Xw(e,t):null)===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&ey(this)),r!==null&&this.emit("data",r),r},ur.prototype._read=function(e){this.emit("error",new Error("not implemented"))},ur.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,Un("pipe count=%d opts=%j",r.pipesCount,t);var o=!t||t.end!==!1?a:l;function i(A){Un("onunpipe"),A===n&&l()}function a(){Un("onend"),e.end()}r.endEmitted?Xr(o):n.once("end",o),e.on("unpipe",i);var s=function(A){return function(){var x=A._readableState;Un("pipeOnDrain",x.awaitDrain),x.awaitDrain&&x.awaitDrain--,x.awaitDrain===0&&A.listeners("data").length&&(x.flowing=!0,Dx(A))}}(n);e.on("drain",s);var c=!1;function l(){Un("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",i),n.removeListener("end",a),n.removeListener("end",l),n.removeListener("data",f),c=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var u=!1;function f(A){Un("ondata"),u=!1,e.write(A)!==!1||u||((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&Ww(r.pipes,e)!==-1)&&!c&&(Un("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function d(A){var x;Un("onerror",A),m(),e.removeListener("error",d),x="error",e.listeners(x).length===0&&e.emit("error",A)}function h(){e.removeListener("finish",p),m()}function p(){Un("onfinish"),e.removeListener("close",h),m()}function m(){Un("unpipe"),n.unpipe(e)}return n.on("data",f),function(A,x,y){if(typeof A.prependListener=="function")return A.prependListener(x,y);A._events&&A._events[x]?Array.isArray(A._events[x])?A._events[x].unshift(y):A._events[x]=[y,A._events[x]]:A.on(x,y)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(Un("pipe resume"),n.resume()),e},ur.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},jr.prototype._write=function(e,t,n){n(new Error("not implemented"))},jr.prototype._writev=null,jr.prototype.end=function(e,t,n){var r=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(o,i,a){i.ending=!0,O9(o,i),a&&(i.finished?Xr(a):o.once("finish",a)),i.ended=!0,o.writable=!1}(this,r,n)},sc(Pi,ur);for(var Yw=Object.keys(jr.prototype),ty=0;ty0?this.tail.next=i:this.head=i,this.tail=i,++this.length},r.prototype.unshift=function(o){var i={data:o,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},r.prototype.shift=function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(o){if(this.length===0)return"";for(var i=this.head,a=""+i.data;i=i.next;)a+=o+i.data;return a},r.prototype.concat=function(o){if(this.length===0)return t.alloc(0);if(this.length===1)return this.head.data;for(var i,a,s,c=t.allocUnsafe(o>>>0),l=this.head,u=0;l;)i=l.data,a=c,s=u,i.copy(a,s),u+=l.data.length,l=l.next;return c},r}(),n&&n.inspect&&n.inspect.custom&&(e.exports.prototype[n.inspect.custom]=function(){var r=n.inspect({length:this.length});return this.constructor.name+" "+r})}(iL)),iL.exports}function C9(){if(eL)return iy;eL=1;var e=jg();function t(n,r){n.emit("error",r)}return iy={destroy:function(n,r){var o=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(r?r(n):!n||this._writableState&&this._writableState.errorEmitted||e.nextTick(t,this,n),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(s){!r&&s?(e.nextTick(t,o,s),o._writableState&&(o._writableState.errorEmitted=!0)):r&&r(s)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},iy}function I9(){if(rL)return ay;rL=1;var e=jg();function t(g){var b=this;this.next=null,this.entry=null,this.finish=function(){(function(L,T,M){var w=L.entry;for(L.entry=null;w;){var k=w.callback;T.pendingcb--,k(M),w=w.next}T.corkedRequestsFree?T.corkedRequestsFree.next=L:T.corkedRequestsFree=L})(b,g)}}ay=h;var n,r=e.nextTick;h.WritableState=d;var o=Object.create(Fp());o.inherits=_p();var i={deprecate:nL?tL:(nL=1,tL=e2.deprecate)},a=N9(),s=qg().Buffer,c=Ai.Uint8Array||function(){},l,u=C9();function f(){}function d(g,b){n=n||Ld(),g=g||{};var L=b instanceof n;this.objectMode=!!g.objectMode,L&&(this.objectMode=this.objectMode||!!g.writableObjectMode);var T=g.highWaterMark,M=g.writableHighWaterMark,w=this.objectMode?16:16384;this.highWaterMark=T||T===0?T:L&&(M||M===0)?M:w,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var k=g.decodeStrings===!1;this.decodeStrings=!k,this.defaultEncoding=g.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_){(function(P,E){var I=P._writableState,F=I.sync,N=I.writecb;if(function(Z){Z.writing=!1,Z.writecb=null,Z.length-=Z.writelen,Z.writelen=0}(I),E)(function(Z,J,se,D,Q){--J.pendingcb,se?(e.nextTick(Q,D),e.nextTick(R,Z,J),Z._writableState.errorEmitted=!0,Z.emit("error",D)):(Q(D),Z._writableState.errorEmitted=!0,Z.emit("error",D),R(Z,J))})(P,I,F,E,N);else{var V=x(I);V||I.corked||I.bufferProcessing||!I.bufferedRequest||A(P,I),F?r(m,P,I,V,N):m(P,I,V,N)}})(b,_)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function h(g){if(n=n||Ld(),!(l.call(h,this)||this instanceof n))return new h(g);this._writableState=new d(g,this),this.writable=!0,g&&(typeof g.write=="function"&&(this._write=g.write),typeof g.writev=="function"&&(this._writev=g.writev),typeof g.destroy=="function"&&(this._destroy=g.destroy),typeof g.final=="function"&&(this._final=g.final)),a.call(this)}function p(g,b,L,T,M,w,k){b.writelen=T,b.writecb=k,b.writing=!0,b.sync=!0,L?g._writev(M,b.onwrite):g._write(M,w,b.onwrite),b.sync=!1}function m(g,b,L,T){L||function(M,w){w.length===0&&w.needDrain&&(w.needDrain=!1,M.emit("drain"))}(g,b),b.pendingcb--,T(),R(g,b)}function A(g,b){b.bufferProcessing=!0;var L=b.bufferedRequest;if(g._writev&&L&&L.next){var T=b.bufferedRequestCount,M=new Array(T),w=b.corkedRequestsFree;w.entry=L;for(var k=0,_=!0;L;)M[k]=L,L.isBuf||(_=!1),L=L.next,k+=1;M.allBuffers=_,p(g,b,!0,b.length,M,"",w.finish),b.pendingcb++,b.lastBufferedRequest=null,w.next?(b.corkedRequestsFree=w.next,w.next=null):b.corkedRequestsFree=new t(b),b.bufferedRequestCount=0}else{for(;L;){var P=L.chunk,E=L.encoding,I=L.callback;if(p(g,b,!1,b.objectMode?1:P.length,P,E,I),L=L.next,b.bufferedRequestCount--,b.writing)break}L===null&&(b.lastBufferedRequest=null)}b.bufferedRequest=L,b.bufferProcessing=!1}function x(g){return g.ending&&g.length===0&&g.bufferedRequest===null&&!g.finished&&!g.writing}function y(g,b){g._final(function(L){b.pendingcb--,L&&g.emit("error",L),b.prefinished=!0,g.emit("prefinish"),R(g,b)})}function R(g,b){var L=x(b);return L&&(function(T,M){M.prefinished||M.finalCalled||(typeof T._final=="function"?(M.pendingcb++,M.finalCalled=!0,e.nextTick(y,T,M)):(M.prefinished=!0,T.emit("prefinish")))}(g,b),b.pendingcb===0&&(b.finished=!0,g.emit("finish"))),L}return o.inherits(h,a),d.prototype.getBuffer=function(){for(var g=this.bufferedRequest,b=[];g;)b.push(g),g=g.next;return b},function(){try{Object.defineProperty(d.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(g){return!!l.call(this,g)||this===h&&g&&g._writableState instanceof d}})):l=function(g){return g instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(g,b,L){var T,M=this._writableState,w=!1,k=!M.objectMode&&(T=g,s.isBuffer(T)||T instanceof c);return k&&!s.isBuffer(g)&&(g=function(_){return s.from(_)}(g)),typeof b=="function"&&(L=b,b=null),k?b="buffer":b||(b=M.defaultEncoding),typeof L!="function"&&(L=f),M.ended?function(_,P){var E=new Error("write after end");_.emit("error",E),e.nextTick(P,E)}(this,L):(k||function(_,P,E,I){var F=!0,N=!1;return E===null?N=new TypeError("May not write null values to stream"):typeof E=="string"||E===void 0||P.objectMode||(N=new TypeError("Invalid non-string/buffer chunk")),N&&(_.emit("error",N),e.nextTick(I,N),F=!1),F}(this,M,g,L))&&(M.pendingcb++,w=function(_,P,E,I,F,N){if(!E){var V=function(D,Q,B){return D.objectMode||D.decodeStrings===!1||typeof Q!="string"||(Q=s.from(Q,B)),Q}(P,I,F);I!==V&&(E=!0,F="buffer",I=V)}var Z=P.objectMode?1:I.length;P.length+=Z;var J=P.length-1))throw new TypeError("Unknown encoding: "+g);return this._writableState.defaultEncoding=g,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(g,b,L){L(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(g,b,L){var T=this._writableState;typeof g=="function"?(L=g,g=null,b=null):typeof b=="function"&&(L=b,b=null),g!=null&&this.write(g,b),T.corked&&(T.corked=1,this.uncork()),T.ending||T.finished||function(M,w,k){w.ending=!0,R(M,w),k&&(w.finished?e.nextTick(k):M.once("finish",k)),w.ended=!0,M.writable=!1}(this,T,L)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(g){this._writableState&&(this._writableState.destroyed=g)}}),h.prototype.destroy=u.destroy,h.prototype._undestroy=u.undestroy,h.prototype._destroy=function(g,b){this.end(),b(g)},ay}function Ld(){if(oL)return sy;oL=1;var e=jg(),t=Object.keys||function(f){var d=[];for(var h in f)d.push(h);return d};sy=c;var n=Object.create(Fp());n.inherits=_p();var r=F9(),o=I9();n.inherits(c,r);for(var i=t(o.prototype),a=0;a>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function o(f){var d=this.lastTotal-this.lastNeed,h=function(p,m,A){if((192&m[0])!=128)return p.lastNeed=0,"�";if(p.lastNeed>1&&m.length>1){if((192&m[1])!=128)return p.lastNeed=1,"�";if(p.lastNeed>2&&m.length>2&&(192&m[2])!=128)return p.lastNeed=2,"�"}}(this,f);return h!==void 0?h:this.lastNeed<=f.length?(f.copy(this.lastChar,d,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(f.copy(this.lastChar,d,0,f.length),void(this.lastNeed-=f.length))}function i(f,d){if((f.length-d)%2==0){var h=f.toString("utf16le",d);if(h){var p=h.charCodeAt(h.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],h.slice(0,-1)}return h}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",d,f.length-1)}function a(f){var d=f&&f.length?this.write(f):"";if(this.lastNeed){var h=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,h)}return d}function s(f,d){var h=(f.length-d)%3;return h===0?f.toString("base64",d):(this.lastNeed=3-h,this.lastTotal=3,h===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",d,f.length-h))}function c(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function l(f){return f.toString(this.encoding)}function u(f){return f&&f.length?this.write(f):""}return fy.StringDecoder=n,n.prototype.write=function(f){if(f.length===0)return"";var d,h;if(this.lastNeed){if((d=this.fillLast(f))===void 0)return"";h=this.lastNeed,this.lastNeed=0}else h=0;return h=0?(R>0&&(m.lastNeed=R-1),R):--y=0?(R>0&&(m.lastNeed=R-2),R):--y=0?(R>0&&(R===2?R=0:m.lastNeed=R-3),R):0}(this,f,d);if(!this.lastNeed)return f.toString("utf8",d);this.lastTotal=h;var p=f.length-(h-this.lastNeed);return f.copy(this.lastChar,0,p),f.toString("utf8",d,p)},n.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length},fy}function F9(){if(sL)return ly;sL=1;var e=jg();ly=m;var t,n=function(){if(Dw)return Bw;Dw=1;var F={}.toString;return Bw=Array.isArray||function(N){return F.call(N)=="[object Array]"}}();m.ReadableState=p,yee.EventEmitter;var r=function(F,N){return F.listeners(N).length},o=N9(),i=qg().Buffer,a=Ai.Uint8Array||function(){},s=Object.create(Fp());s.inherits=_p();var c=e2,l=void 0;l=c&&c.debuglog?c.debuglog("stream"):function(){};var u,f=bee(),d=C9();s.inherits(m,o);var h=["error","close","destroy","pause","resume"];function p(F,N){F=F||{};var V=N instanceof(t=t||Ld());this.objectMode=!!F.objectMode,V&&(this.objectMode=this.objectMode||!!F.readableObjectMode);var Z=F.highWaterMark,J=F.readableHighWaterMark,se=this.objectMode?16:16384;this.highWaterMark=Z||Z===0?Z:V&&(J||J===0)?J:se,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=F.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,F.encoding&&(u||(u=fL().StringDecoder),this.decoder=new u(F.encoding),this.encoding=F.encoding)}function m(F){if(t=t||Ld(),!(this instanceof m))return new m(F);this._readableState=new p(F,this),this.readable=!0,F&&(typeof F.read=="function"&&(this._read=F.read),typeof F.destroy=="function"&&(this._destroy=F.destroy)),o.call(this)}function A(F,N,V,Z,J){var se,D=F._readableState;return N===null?(D.reading=!1,function(Q,B){if(!B.ended){if(B.decoder){var H=B.decoder.end();H&&H.length&&(B.buffer.push(H),B.length+=B.objectMode?1:H.length)}B.ended=!0,g(Q)}}(F,D)):(J||(se=function(Q,B){var H;U=B,i.isBuffer(U)||U instanceof a||typeof B=="string"||B===void 0||Q.objectMode||(H=new TypeError("Invalid non-string/buffer chunk"));var U;return H}(D,N)),se?F.emit("error",se):D.objectMode||N&&N.length>0?(typeof N=="string"||D.objectMode||Object.getPrototypeOf(N)===i.prototype||(N=function(Q){return i.from(Q)}(N)),Z?D.endEmitted?F.emit("error",new Error("stream.unshift() after end event")):x(F,D,N,!0):D.ended?F.emit("error",new Error("stream.push() after EOF")):(D.reading=!1,D.decoder&&!V?(N=D.decoder.write(N),D.objectMode||N.length!==0?x(F,D,N,!1):L(F,D)):x(F,D,N,!1))):Z||(D.reading=!1)),function(Q){return!Q.ended&&(Q.needReadable||Q.lengthN.highWaterMark&&(N.highWaterMark=function(V){return V>=y?V=y:(V--,V|=V>>>1,V|=V>>>2,V|=V>>>4,V|=V>>>8,V|=V>>>16,V++),V}(F)),F<=N.length?F:N.ended?N.length:(N.needReadable=!0,0))}function g(F){var N=F._readableState;N.needReadable=!1,N.emittedReadable||(l("emitReadable",N.flowing),N.emittedReadable=!0,N.sync?e.nextTick(b,F):b(F))}function b(F){l("emit readable"),F.emit("readable"),k(F)}function L(F,N){N.readingMore||(N.readingMore=!0,e.nextTick(T,F,N))}function T(F,N){for(var V=N.length;!N.reading&&!N.flowing&&!N.ended&&N.length=N.length?(V=N.decoder?N.buffer.join(""):N.buffer.length===1?N.buffer.head.data:N.buffer.concat(N.length),N.buffer.clear()):V=function(Z,J,se){var D;return Zz.length?z.length:Q;if(oe===z.length?te+=z:te+=z.slice(0,Q),(Q-=oe)===0){oe===z.length?(++U,H.next?B.head=H.next:B.head=B.tail=null):(B.head=H,H.data=z.slice(oe));break}++U}return B.length-=U,te}(Z,J):function(Q,B){var H=i.allocUnsafe(Q),U=B.head,te=1;for(U.data.copy(H),Q-=U.data.length;U=U.next;){var z=U.data,oe=Q>z.length?z.length:Q;if(z.copy(H,H.length-Q,0,oe),(Q-=oe)===0){oe===z.length?(++te,U.next?B.head=U.next:B.head=B.tail=null):(B.head=U,U.data=z.slice(oe));break}++te}return B.length-=te,H}(Z,J),D}(F,N.buffer,N.decoder),V);var V}function P(F){var N=F._readableState;if(N.length>0)throw new Error('"endReadable()" called on non-empty stream');N.endEmitted||(N.ended=!0,e.nextTick(E,N,F))}function E(F,N){F.endEmitted||F.length!==0||(F.endEmitted=!0,N.readable=!1,N.emit("end"))}function I(F,N){for(var V=0,Z=F.length;V=N.highWaterMark||N.ended))return l("read: emitReadable",N.length,N.ended),N.length===0&&N.ended?P(this):g(this),null;if((F=R(F,N))===0&&N.ended)return N.length===0&&P(this),null;var Z,J=N.needReadable;return l("need readable",J),(N.length===0||N.length-F0?_(F,N):null)===null?(N.needReadable=!0,F=0):N.length-=F,N.length===0&&(N.ended||(N.needReadable=!0),V!==F&&N.ended&&P(this)),Z!==null&&this.emit("data",Z),Z},m.prototype._read=function(F){this.emit("error",new Error("_read() is not implemented"))},m.prototype.pipe=function(F,N){var V=this,Z=this._readableState;switch(Z.pipesCount){case 0:Z.pipes=F;break;case 1:Z.pipes=[Z.pipes,F];break;default:Z.pipes.push(F)}Z.pipesCount+=1,l("pipe count=%d opts=%j",Z.pipesCount,N);var J=(!N||N.end!==!1)&&F!==Mi.stdout&&F!==Mi.stderr?D:pe;function se(Ae,me){l("onunpipe"),Ae===V&&me&&me.hasUnpiped===!1&&(me.hasUnpiped=!0,l("cleanup"),F.removeListener("close",z),F.removeListener("finish",oe),F.removeListener("drain",Q),F.removeListener("error",te),F.removeListener("unpipe",se),V.removeListener("end",D),V.removeListener("end",pe),V.removeListener("data",U),B=!0,!Z.awaitDrain||F._writableState&&!F._writableState.needDrain||Q())}function D(){l("onend"),F.end()}Z.endEmitted?e.nextTick(J):V.once("end",J),F.on("unpipe",se);var Q=function(Ae){return function(){var me=Ae._readableState;l("pipeOnDrain",me.awaitDrain),me.awaitDrain&&me.awaitDrain--,me.awaitDrain===0&&r(Ae,"data")&&(me.flowing=!0,k(Ae))}}(V);F.on("drain",Q);var B=!1,H=!1;function U(Ae){l("ondata"),H=!1,F.write(Ae)!==!1||H||((Z.pipesCount===1&&Z.pipes===F||Z.pipesCount>1&&I(Z.pipes,F)!==-1)&&!B&&(l("false write response, pause",V._readableState.awaitDrain),V._readableState.awaitDrain++,H=!0),V.pause())}function te(Ae){l("onerror",Ae),pe(),F.removeListener("error",te),r(F,"error")===0&&F.emit("error",Ae)}function z(){F.removeListener("finish",oe),pe()}function oe(){l("onfinish"),F.removeListener("close",z),pe()}function pe(){l("unpipe"),V.unpipe(F)}return V.on("data",U),function(Ae,me,$){if(typeof Ae.prependListener=="function")return Ae.prependListener(me,$);Ae._events&&Ae._events[me]?n(Ae._events[me])?Ae._events[me].unshift($):Ae._events[me]=[$,Ae._events[me]]:Ae.on(me,$)}(F,"error",te),F.once("close",z),F.once("finish",oe),F.emit("pipe",V),Z.flowing||(l("pipe resume"),V.resume()),F},m.prototype.unpipe=function(F){var N=this._readableState,V={hasUnpiped:!1};if(N.pipesCount===0)return this;if(N.pipesCount===1)return F&&F!==N.pipes||(F||(F=N.pipes),N.pipes=null,N.pipesCount=0,N.flowing=!1,F&&F.emit("unpipe",this,V)),this;if(!F){var Z=N.pipes,J=N.pipesCount;N.pipes=null,N.pipesCount=0,N.flowing=!1;for(var se=0;se"u")Tr.blob=!1;else{var hL=new ArrayBuffer(0);try{Tr.blob=new Blob([hL],{type:"application/zip"}).size===0}catch{try{var pL=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);pL.append(hL),Tr.blob=pL.getBlob("application/zip").size===0}catch{Tr.blob=!1}}}try{Tr.nodestream=!!_9().Readable}catch{Tr.nodestream=!1}var mL,fm={};function E9(){if(mL)return fm;mL=1;var e=yr(),t=Tr,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return fm.encode=function(r){for(var o,i,a,s,c,l,u,f=[],d=0,h=r.length,p=h,m=e.getTypeOf(r)!=="string";d>2,c=(3&o)<<4|i>>4,l=p>1?(15&i)<<2|a>>6:64,u=p>2?63&a:64,f.push(n.charAt(s)+n.charAt(c)+n.charAt(l)+n.charAt(u));return f.join("")},fm.decode=function(r){var o,i,a,s,c,l,u=0,f=0,d="data:";if(r.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(r=r.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(r.charAt(r.length-1)===n.charAt(64)&&p--,r.charAt(r.length-2)===n.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=t.uint8array?new Uint8Array(0|p):new Array(0|p);u>4,i=(15&s)<<4|(c=n.indexOf(r.charAt(u++)))>>2,a=(3&c)<<6|(l=n.indexOf(r.charAt(u++))),h[f++]=o,c!==64&&(h[f++]=i),l!==64&&(h[f++]=a);return h},fm}var vL,gL,dy,AL,t2={isNode:!0,newBufferFrom:function(e,t){if(He.from&&He.from!==Uint8Array.from)return He.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new He(e,t)},allocBuffer:function(e){if(He.alloc)return He.alloc(e);var t=new He(e);return t.fill(0),t},isBuffer:function(e){return Pp(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}},X9=null;X9=typeof Promise<"u"?Promise:function(){if(AL)return dy;AL=1;var e=function(){if(gL)return vL;gL=1;var d,h,p=Ai.MutationObserver||Ai.WebKitMutationObserver;if(p){var m=0,A=new p(g),x=Ai.document.createTextNode("");A.observe(x,{characterData:!0}),d=function(){x.data=m=++m%2}}else if(Ai.setImmediate||Ai.MessageChannel===void 0)d="document"in Ai&&"onreadystatechange"in Ai.document.createElement("script")?function(){var b=Ai.document.createElement("script");b.onreadystatechange=function(){g(),b.onreadystatechange=null,b.parentNode.removeChild(b),b=null},Ai.document.documentElement.appendChild(b)}:function(){setTimeout(g,0)};else{var y=new Ai.MessageChannel;y.port1.onmessage=g,d=function(){y.port2.postMessage(0)}}var R=[];function g(){var b,L;h=!0;for(var T=R.length;T;){for(L=R,R=[],b=-1;++b1;)try{return s.stringifyByChunk(f,h,d)}catch{d=Math.floor(d/2)}return s.stringifyByChar(f)}function l(f,d){for(var h=0;h"u"?Ai:self),W9.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}};var ia=W9;(function(e){for(var t=yr(),n=Tr,r=t2,o=ia,i=new Array(256),a=0;a<256;a++)i[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;i[254]=i[254]=1;function s(){o.call(this,"utf-8 decode"),this.leftOver=null}function c(){o.call(this,"utf-8 encode")}e.utf8encode=function(l){return n.nodebuffer?r.newBufferFrom(l,"utf-8"):function(u){var f,d,h,p,m,A=u.length,x=0;for(p=0;p>>6,f[m++]=128|63&d):d<65536?(f[m++]=224|d>>>12,f[m++]=128|d>>>6&63,f[m++]=128|63&d):(f[m++]=240|d>>>18,f[m++]=128|d>>>12&63,f[m++]=128|d>>>6&63,f[m++]=128|63&d);return f}(l)},e.utf8decode=function(l){return n.nodebuffer?t.transformTo("nodebuffer",l).toString("utf-8"):function(u){var f,d,h,p,m=u.length,A=new Array(2*m);for(d=0,f=0;f4)A[d++]=65533,f+=p-1;else{for(h&=p===2?31:p===3?15:7;p>1&&f1?A[d++]=65533:h<65536?A[d++]=h:(h-=65536,A[d++]=55296|h>>10&1023,A[d++]=56320|1023&h)}return A.length!==d&&(A.subarray?A=A.subarray(0,d):A.length=d),t.applyFromCharCode(A)}(l=t.transformTo(n.uint8array?"uint8array":"array",l))},t.inherits(s,o),s.prototype.processChunk=function(l){var u=t.transformTo(n.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var f=u;(u=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),u.set(f,this.leftOver.length)}else u=this.leftOver.concat(u);this.leftOver=null}var d=function(p,m){var A;for((m=m||p.length)>p.length&&(m=p.length),A=m-1;A>=0&&(192&p[A])==128;)A--;return A<0||A===0?m:A+i[p[A]]>m?A:m}(u),h=u;d!==u.length&&(n.uint8array?(h=u.subarray(0,d),this.leftOver=u.subarray(d,u.length)):(h=u.slice(0,d),this.leftOver=u.slice(d,u.length))),this.push({data:e.utf8decode(h),meta:l.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(c,o),c.prototype.processChunk=function(l){this.push({data:e.utf8encode(l.data),meta:l.meta})},e.Utf8EncodeWorker=c})(Dd);var V9=ia,yL=yr();function y3(e){V9.call(this,"ConvertWorker to "+e),this.destType=e}yL.inherits(y3,V9),y3.prototype.processChunk=function(e){this.push({data:yL.transformTo(this.destType,e.data),meta:e.meta})};var bL,xL,xee=y3,vu=yr(),See=xee,Mee=ia,wee=E9(),Lee=Ep,U9=null;if(Tr.nodestream)try{U9=function(){if(xL)return bL;xL=1;var e=_9().Readable;function t(n,r,o){e.call(this,r),this._helper=n;var i=this;n.on("data",function(a,s){i.push(a)||i._helper.pause(),o&&o(s)}).on("error",function(a){i.emit("error",a)}).on("end",function(){i.push(null)})}return yr().inherits(t,e),t.prototype._read=function(){this._helper.resume()},bL=t}()}catch{}function Oee(e,t){return new Lee.Promise(function(n,r){var o=[],i=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",function(c,l){o.push(c),t&&t(l)}).on("error",function(c){o=[],r(c)}).on("end",function(){try{var c=function(l,u,f){switch(l){case"blob":return vu.newBlob(vu.transformTo("arraybuffer",u),f);case"base64":return wee.encode(u);default:return vu.transformTo(l,u)}}(a,function(l,u){var f,d=0,h=null,p=0;for(f=0;f=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var B9=Ef,Tee=yr(),SL=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),Kx=function(e,t){return e!==void 0&&e.length?Tee.getTypeOf(e)!=="string"?function(n,r,o,i){var a=SL,s=i+o;n^=-1;for(var c=i;c>>8^a[255&(n^r[c])];return-1^n}(0|t,e,e.length,0):function(n,r,o,i){var a=SL,s=i+o;n^=-1;for(var c=i;c>>8^a[255&(n^r.charCodeAt(c))];return-1^n}(0|t,e,e.length,0):0},D9=ia,kee=Kx;function b3(){D9.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}yr().inherits(b3,D9),b3.prototype.processChunk=function(e){this.streamInfo.crc32=kee(e.data,this.streamInfo.crc32||0),this.push(e)};var K9=b3,Nee=yr(),x3=ia;function S3(e){x3.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}Nee.inherits(S3,x3),S3.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}x3.prototype.processChunk.call(this,e)};var ML=Ep,wL=B9,Pee=K9,hy=S3;function M3(e,t,n,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=o}M3.prototype={getContentWorker:function(){var e=new wL(ML.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new hy("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new wL(ML.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},M3.createWorkerFrom=function(e,t,n){return e.pipe(new Pee).pipe(new hy("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new hy("compressedSize")).withStreamInfo("compression",t)};var Hx=M3,Cee=Q9,Iee=B9,py=Dd,my=Hx,LL=ia,Gx=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};Gx.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r=(n=e.toLowerCase())==="string"||n==="text";n!=="binarystring"&&n!=="text"||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new py.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new py.Utf8DecodeWorker))}catch(i){(t=new LL("error")).error(i)}return new Cee(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof my&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new py.Utf8EncodeWorker)),my.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof my?this._data.getContentWorker():this._data instanceof LL?this._data:new Iee(this._data)}};for(var OL=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Fee=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},vy=0;vy=0;)e[t]=0}var w3=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Hm=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Xee=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],TL=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ys=new Array(576);Kd(Ys);var Y0=new Array(60);Kd(Y0);var tp=new Array(512);Kd(tp);var yh=new Array(256);Kd(yh);var Jx=new Array(29);Kd(Jx);var kL,NL,PL,Hv=new Array(30);function gy(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}function Ay(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function G9(e){return e<256?tp[e]:tp[256+(e>>>7)]}function np(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Jo(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1;while(--t>0);return n>>>1}function z9(e,t,n){var r,o,i=new Array(16),a=0;for(r=1;r<=15;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];s!==0&&(e[2*o]=J9(i[s]++,s))}}function CL(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function $9(e){e.bi_valid>8?np(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function IL(e,t,n,r){var o=2*t,i=2*n;return e[o]>1;n>=1;n--)Ry(e,i,n);o=c;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ry(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*o]=i[2*n]+i[2*r],e.depth[o]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=o,e.heap[1]=o++,Ry(e,i,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(u,f){var d,h,p,m,A,x,y=f.dyn_tree,R=f.max_code,g=f.stat_desc.static_tree,b=f.stat_desc.has_stree,L=f.stat_desc.extra_bits,T=f.stat_desc.extra_base,M=f.stat_desc.max_length,w=0;for(m=0;m<=15;m++)u.bl_count[m]=0;for(y[2*u.heap[u.heap_max]+1]=0,d=u.heap_max+1;d<573;d++)(m=y[2*y[2*(h=u.heap[d])+1]+1]+1)>M&&(m=M,w++),y[2*h+1]=m,h>R||(u.bl_count[m]++,A=0,h>=T&&(A=L[h-T]),x=y[2*h],u.opt_len+=x*(m+A),b&&(u.static_len+=x*(g[2*h+1]+A)));if(w!==0){do{for(m=M-1;u.bl_count[m]===0;)m--;u.bl_count[m]--,u.bl_count[m+1]+=2,u.bl_count[M]--,w-=2}while(w>0);for(m=M;m!==0;m--)for(h=u.bl_count[m];h!==0;)(p=u.heap[--d])>R||(y[2*p+1]!==m&&(u.opt_len+=(m-y[2*p+1])*y[2*p],y[2*p+1]=m),h--)}}(e,t),z9(i,l,e.bl_count)}function _L(e,t,n){var r,o,i=-1,a=t[1],s=0,c=7,l=4;for(a===0&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s>=7;o<30;o++)for(Hv[o]=i<<7,t=0;t<1<0?(e.strm.data_type===2&&(e.strm.data_type=function(s){var c,l=4093624447;for(c=0;c<=31;c++,l>>>=1)if(1&l&&s.dyn_ltree[2*c]!==0)return 0;if(s.dyn_ltree[18]!==0||s.dyn_ltree[20]!==0||s.dyn_ltree[26]!==0)return 1;for(c=32;c<256;c++)if(s.dyn_ltree[2*c]!==0)return 1;return 0}(e)),yy(e,e.l_desc),yy(e,e.d_desc),a=function(s){var c;for(_L(s,s.dyn_ltree,s.l_desc.max_code),_L(s,s.dyn_dtree,s.d_desc.max_code),yy(s,s.bl_desc),c=18;c>=3&&s.bl_tree[2*TL[c]+1]===0;c--);return s.opt_len+=3*(c+1)+5+5+4,c}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=n+5,n+4<=o&&t!==-1?WL(e,t,n,r):e.strategy===4||i===o?(Jo(e,2+(r?1:0),3),FL(e,Ys,Y0)):(Jo(e,4+(r?1:0),3),function(s,c,l,u){var f;for(Jo(s,c-257,5),Jo(s,l-1,5),Jo(s,u-4,4),f=0;f>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(yh[n]+256+1)]++,e.dyn_dtree[2*G9(t)]++),e.last_lit===e.lit_bufsize-1},Xf._tr_align=function(e){Jo(e,2,3),rs(e,256,Ys),function(t){t.bi_valid===16?(np(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(e)};var j9=function(e,t,n,r){for(var o=65535&e|0,i=e>>>16&65535|0,a=0;n!==0;){n-=a=n>2e3?2e3:n;do i=i+(o=o+t[r++]|0)|0;while(--a);o%=65521,i%=65521}return o|i<<16|0},Wee=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),Hf,q9=function(e,t,n,r){var o=Wee,i=r+n;e^=-1;for(var a=r;a>>8^o[255&(e^t[a])];return-1^e},zx={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},No=ul,Gi=Xf,eC=j9,El=q9,Vee=zx;function Zl(e,t){return e.msg=Vee[t],t}function VL(e){return(e<<1)-(e>4?9:0)}function Jl(e){for(var t=e.length;--t>=0;)e[t]=0}function Xl(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(No.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function qr(e,t){Gi._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Xl(e.strm)}function On(e,t){e.pending_buf[e.pending++]=t}function v0(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function tC(e,t){var n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,f=e.prev,d=e.strstart+258,h=l[i+a-1],p=l[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+a]===p&&l[n+a-1]===h&&l[n]===l[i]&&l[++n]===l[i+1]){i+=2,n++;do;while(l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&l[++i]===l[++n]&&ia){if(e.match_start=t,a=r,r>=s)break;h=l[i+a-1],p=l[i+a]}}while((t=f[t&u])>c&&--o!=0);return a<=e.lookahead?a:e.lookahead}function $c(e){var t,n,r,o,i,a,s,c,l,u,f=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-262)){No.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=n=e.hash_size;do r=e.head[--t],e.head[t]=r>=f?r-f:0;while(--n);t=n=f;do r=e.prev[--t],e.prev[t]=r>=f?r-f:0;while(--n);o+=f}if(e.strm.avail_in===0)break;if(a=e.strm,s=e.window,c=e.strstart+e.lookahead,l=o,u=void 0,(u=a.avail_in)>l&&(u=l),n=u===0?0:(a.avail_in-=u,No.arraySet(s,a.input,a.next_in,u,c),a.state.wrap===1?a.adler=eC(a.adler,s,u,c):a.state.wrap===2&&(a.adler=El(a.adler,s,u,c)),a.next_in+=u,a.total_in+=u,u),e.lookahead+=n,e.lookahead+e.insert>=3)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(r=Gi._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,r=Gi._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=o&&(e.ins_h=(e.ins_h<15&&(a=2,r-=16),o<1||o>9||n!==8||r<8||r>15||t<0||t>9||i<0||i>4)return Zl(e,-2);r===8&&(r=9);var s=new Uee;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if($c(e),e.lookahead===0&&t===0)return 1;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,qr(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-262&&(qr(e,!1),e.strm.avail_out===0))return 1}return e.insert=0,t===4?(qr(e,!0),e.strm.avail_out===0?3:4):(e.strstart>e.block_start&&(qr(e,!1),e.strm.avail_out),1)}),new Ya(4,4,8,4,by),new Ya(4,5,16,8,by),new Ya(4,6,32,32,by),new Ya(4,4,16,16,bf),new Ya(8,16,32,32,bf),new Ya(8,16,128,128,bf),new Ya(8,32,128,256,bf),new Ya(32,128,258,1024,bf),new Ya(32,258,258,4096,bf)],Ba.deflateInit=function(e,t){return UL(e,t,8,15,8,0)},Ba.deflateInit2=UL,Ba.deflateReset=rC,Ba.deflateResetKeep=nC,Ba.deflateSetHeader=function(e,t){return e&&e.state?e.state.wrap!==2?-2:(e.state.gzhead=t,0):-2},Ba.deflate=function(e,t){var n,r,o,i;if(!e||!e.state||t>5||t<0)return e?Zl(e,-2):-2;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===666&&t!==4)return Zl(e,e.avail_out===0?-5:-2);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===42)if(r.wrap===2)e.adler=0,On(r,31),On(r,139),On(r,8),r.gzhead?(On(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),On(r,255&r.gzhead.time),On(r,r.gzhead.time>>8&255),On(r,r.gzhead.time>>16&255),On(r,r.gzhead.time>>24&255),On(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),On(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(On(r,255&r.gzhead.extra.length),On(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=El(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(On(r,0),On(r,0),On(r,0),On(r,0),On(r,0),On(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),On(r,3),r.status=113);else{var a=8+(r.w_bits-8<<4)<<8;a|=(r.strategy>=2||r.level<2?0:r.level<6?1:r.level===6?2:3)<<6,r.strstart!==0&&(a|=32),a+=31-a%31,r.status=113,v0(r,a),r.strstart!==0&&(v0(r,e.adler>>>16),v0(r,65535&e.adler)),e.adler=1}if(r.status===69)if(r.gzhead.extra){for(o=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>o&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),Xl(e),o=r.pending,r.pending!==r.pending_buf_size));)On(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>o&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),Xl(e),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindexo&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),i===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),Xl(e),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindexo&&(e.adler=El(e.adler,r.pending_buf,r.pending-o,o)),i===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Xl(e),r.pending+2<=r.pending_buf_size&&(On(r,255&e.adler),On(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),r.pending!==0){if(Xl(e),e.avail_out===0)return r.last_flush=-1,0}else if(e.avail_in===0&&VL(t)<=VL(n)&&t!==4)return Zl(e,-5);if(r.status===666&&e.avail_in!==0)return Zl(e,-5);if(e.avail_in!==0||r.lookahead!==0||t!==0&&r.status!==666){var s=r.strategy===2?function(c,l){for(var u;;){if(c.lookahead===0&&($c(c),c.lookahead===0)){if(l===0)return 1;break}if(c.match_length=0,u=Gi._tr_tally(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++,u&&(qr(c,!1),c.strm.avail_out===0))return 1}return c.insert=0,l===4?(qr(c,!0),c.strm.avail_out===0?3:4):c.last_lit&&(qr(c,!1),c.strm.avail_out===0)?1:2}(r,t):r.strategy===3?function(c,l){for(var u,f,d,h,p=c.window;;){if(c.lookahead<=258){if($c(c),c.lookahead<=258&&l===0)return 1;if(c.lookahead===0)break}if(c.match_length=0,c.lookahead>=3&&c.strstart>0&&(f=p[d=c.strstart-1])===p[++d]&&f===p[++d]&&f===p[++d]){h=c.strstart+258;do;while(f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&dc.lookahead&&(c.match_length=c.lookahead)}if(c.match_length>=3?(u=Gi._tr_tally(c,1,c.match_length-3),c.lookahead-=c.match_length,c.strstart+=c.match_length,c.match_length=0):(u=Gi._tr_tally(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++),u&&(qr(c,!1),c.strm.avail_out===0))return 1}return c.insert=0,l===4?(qr(c,!0),c.strm.avail_out===0?3:4):c.last_lit&&(qr(c,!1),c.strm.avail_out===0)?1:2}(r,t):Hf[r.level].func(r,t);if(s!==3&&s!==4||(r.status=666),s===1||s===3)return e.avail_out===0&&(r.last_flush=-1),0;if(s===2&&(t===1?Gi._tr_align(r):t!==5&&(Gi._tr_stored_block(r,0,0,!1),t===3&&(Jl(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),Xl(e),e.avail_out===0))return r.last_flush=-1,0}return t!==4?0:r.wrap<=0?1:(r.wrap===2?(On(r,255&e.adler),On(r,e.adler>>8&255),On(r,e.adler>>16&255),On(r,e.adler>>24&255),On(r,255&e.total_in),On(r,e.total_in>>8&255),On(r,e.total_in>>16&255),On(r,e.total_in>>24&255)):(v0(r,e.adler>>>16),v0(r,65535&e.adler)),Xl(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?0:1)},Ba.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==42&&t!==69&&t!==73&&t!==91&&t!==103&&t!==113&&t!==666?Zl(e,-2):(e.state=null,t===113?Zl(e,-3):0):-2},Ba.deflateSetDictionary=function(e,t){var n,r,o,i,a,s,c,l,u=t.length;if(!e||!e.state||(i=(n=e.state).wrap)===2||i===1&&n.status!==42||n.lookahead)return-2;for(i===1&&(e.adler=eC(e.adler,t,u,0)),n.wrap=0,u>=n.w_size&&(i===0&&(Jl(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new No.Buf8(n.w_size),No.arraySet(l,t,u-n.w_size,n.w_size,0),t=l,u=n.w_size),a=e.avail_in,s=e.next_in,c=e.input,e.avail_in=u,e.next_in=0,e.input=t,$c(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do n.ins_h=(n.ins_h<=252?6:wl>=248?5:wl>=240?4:wl>=224?3:wl>=192?2:1;function YL(e,t){if(t<65534&&(e.subarray&&iC||!e.subarray&&oC))return String.fromCharCode.apply(null,Gv.shrinkBuf(e,t));for(var n="",r=0;r>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t},jc.buf2binstring=function(e){return YL(e,e.length)},jc.binstring2buf=function(e){for(var t=new Gv.Buf8(e.length),n=0,r=t.length;n4)s[r++]=65533,n+=i-1;else{for(o&=i===2?31:i===3?15:7;i>1&&n1?s[r++]=65533:o<65536?s[r++]=o:(o-=65536,s[r++]=55296|o>>10&1023,s[r++]=56320|1023&o)}return YL(s,r)},jc.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&(192&e[n])==128;)n--;return n<0||n===0?t:n+Q0[e[n]]>t?n:t};var aC=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},bh=Ba,Z0=ul,L3=jc,O3=zx,Yee=aC,sC=Object.prototype.toString;function nu(e){if(!(this instanceof nu))return new nu(e);this.options=Z0.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Yee,this.strm.avail_out=0;var n=bh.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==0)throw new Error(O3[n]);if(t.header&&bh.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r=typeof t.dictionary=="string"?L3.string2buf(t.dictionary):sC.call(t.dictionary)==="[object ArrayBuffer]"?new Uint8Array(t.dictionary):t.dictionary,(n=bh.deflateSetDictionary(this.strm,r))!==0)throw new Error(O3[n]);this._dict_set=!0}}function xy(e,t){var n=new nu(t);if(n.push(e,!0),n.err)throw n.msg||O3[n.err];return n.result}nu.prototype.push=function(e,t){var n,r,o=this.strm,i=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:t===!0?4:0,typeof e=="string"?o.input=L3.string2buf(e):sC.call(e)==="[object ArrayBuffer]"?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(o.avail_out===0&&(o.output=new Z0.Buf8(i),o.next_out=0,o.avail_out=i),(n=bh.deflate(o,r))!==1&&n!==0)return this.onEnd(n),this.ended=!0,!1;o.avail_out!==0&&(o.avail_in!==0||r!==4&&r!==2)||(this.options.to==="string"?this.onData(L3.buf2binstring(Z0.shrinkBuf(o.output,o.next_out))):this.onData(Z0.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||o.avail_out===0)&&n!==1);return r===4?(n=bh.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===0):r!==2||(this.onEnd(0),o.avail_out=0,!0)},nu.prototype.onData=function(e){this.chunks.push(e)},nu.prototype.onEnd=function(e){e===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Z0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},U0.Deflate=nu,U0.deflate=xy,U0.deflateRaw=function(e,t){return(t=t||{}).raw=!0,xy(e,t)},U0.gzip=function(e,t){return(t=t||{}).gzip=!0,xy(e,t)};var B0={},va={},QL=ul,Qee=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Zee=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Bee=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Dee=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Ti=ul,Sy=j9,Qa=q9,Kee=function(e,t){var n,r,o,i,a,s,c,l,u,f,d,h,p,m,A,x,y,R,g,b,L,T,M,w,k;n=e.state,r=e.next_in,w=e.input,o=r+(e.avail_in-5),i=e.next_out,k=e.output,a=i-(t-e.avail_out),s=i+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,f=n.wnext,d=n.window,h=n.hold,p=n.bits,m=n.lencode,A=n.distcode,x=(1<>>=g=R>>>24,p-=g,(g=R>>>16&255)===0)k[i++]=65535&R;else{if(!(16&g)){if(!(64&g)){R=m[(65535&R)+(h&(1<>>=g,p-=g),p<15&&(h+=w[r++]<>>=g=R>>>24,p-=g,!(16&(g=R>>>16&255))){if(!(64&g)){R=A[(65535&R)+(h&(1<c){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=g,p-=g,L>(g=i-a)){if((g=L-g)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(T=0,M=d,f===0){if(T+=l-g,g2;)k[i++]=M[T++],k[i++]=M[T++],k[i++]=M[T++],b-=3;b&&(k[i++]=M[T++],b>1&&(k[i++]=M[T++]))}else{T=i-L;do k[i++]=k[T++],k[i++]=k[T++],k[i++]=k[T++],b-=3;while(b>2);b&&(k[i++]=k[T++],b>1&&(k[i++]=k[T++]))}break}}break}}while(r>3,h&=(1<<(p-=b<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r=1&&I[b]===0;b--);if(L>b&&(L=b),b===0)return o[i++]=20971520,o[i++]=20971520,s.bits=1,0;for(g=1;g0&&(e===0||b!==1))return-1;for(F[1]=0,y=1;y<15;y++)F[y+1]=F[y]+I[y];for(R=0;R852||e===2&&k>592)return 1;for(;;){p=y-M,a[R]h?(m=N[V+a[R]],A=P[E+a[R]]):(m=96,A=0),c=1<>M)+(l-=c)]=p<<24|m<<16|A|0;while(l!==0);for(c=1<>=1;if(c!==0?(_&=c-1,_+=c):_=0,R++,--I[y]==0){if(y===b)break;y=t[n+a[R]]}if(y>L&&(_&f)!==u){for(M===0&&(M=L),d+=g,w=1<<(T=y-M);T+M852||e===2&&k>592)return 1;o[u=_&f]=L<<24|T<<16|d-i|0}}return _!==0&&(o[d+_]=y-M<<24|64<<16|0),s.bits=L,0};function ZL(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Hee(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Ti.Buf16(320),this.work=new Ti.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function lC(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ti.Buf32(852),t.distcode=t.distdyn=new Ti.Buf32(592),t.sane=1,t.back=-1,0):-2}function cC(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,lC(e)):-2}function uC(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,cC(e))):-2}function BL(e,t){var n,r;return e?(r=new Hee,e.state=r,r.window=null,(n=uC(e,t))!==0&&(e.state=null),n):-2}var My,wy,DL=!0;function Gee(e){if(DL){var t;for(My=new Ti.Buf32(512),wy=new Ti.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(xh(1,e.lens,0,288,My,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;xh(2,e.lens,0,32,wy,0,e.work,{bits:5}),DL=!1}e.lencode=My,e.lenbits=9,e.distcode=wy,e.distbits=5}function KL(e,t,n,r){var o,i=e.state;return i.window===null&&(i.wsize=1<=i.wsize?(Ti.arraySet(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((o=i.wsize-i.wnext)>r&&(o=r),Ti.arraySet(i.window,t,n-r,o,i.wnext),(r-=o)?(Ti.arraySet(i.window,t,n-r,r,0),i.wnext=r,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave>>8&255,n.check=Qa(n.check,_,2,0),l=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&l)!=8){e.msg="unknown compression method",n.mode=30;break}if(u-=4,L=8+(15&(l>>>=4)),n.wbits===0)n.wbits=L;else if(L>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(_[0]=255&l,_[1]=l>>>8&255,n.check=Qa(n.check,_,2,0)),l=0,u=0,n.mode=3;case 3:for(;u<32;){if(s===0)break e;s--,l+=r[i++]<>>8&255,_[2]=l>>>16&255,_[3]=l>>>24&255,n.check=Qa(n.check,_,4,0)),l=0,u=0,n.mode=4;case 4:for(;u<16;){if(s===0)break e;s--,l+=r[i++]<>8),512&n.flags&&(_[0]=255&l,_[1]=l>>>8&255,n.check=Qa(n.check,_,2,0)),l=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(s===0)break e;s--,l+=r[i++]<>>8&255,n.check=Qa(n.check,_,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=n.length)>s&&(h=s),h&&(n.head&&(L=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ti.arraySet(n.head.extra,r,i,h,L)),512&n.flags&&(n.check=Qa(n.check,r,h,i)),s-=h,i+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(s===0)break e;h=0;do L=r[i+h++],n.head&&L&&n.length<65536&&(n.head.name+=String.fromCharCode(L));while(L&&h>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;u<32;){if(s===0)break e;s--,l+=r[i++]<>>=7&u,u-=7&u,n.mode=27;break}for(;u<3;){if(s===0)break e;s--,l+=r[i++]<>>=1)){case 0:n.mode=14;break;case 1:if(Gee(n),n.mode=20,t===6){l>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}l>>>=2,u-=2;break;case 14:for(l>>>=7&u,u-=7&u;u<32;){if(s===0)break e;s--,l+=r[i++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&l,l=0,u=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(h=n.length){if(h>s&&(h=s),h>c&&(h=c),h===0)break e;Ti.arraySet(o,r,i,h,a),s-=h,i+=h,c-=h,a+=h,n.length-=h;break}n.mode=12;break;case 17:for(;u<14;){if(s===0)break e;s--,l+=r[i++]<>>=5,u-=5,n.ndist=1+(31&l),l>>>=5,u-=5,n.ncode=4+(15&l),l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,u-=3}for(;n.have<19;)n.lens[P[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},T=xh(0,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,T){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,y=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>>=A,u-=A,n.lens[n.have++]=y;else{if(y===16){for(w=A+2;u>>=A,u-=A,n.have===0){e.msg="invalid bit length repeat",n.mode=30;break}L=n.lens[n.have-1],h=3+(3&l),l>>>=2,u-=2}else if(y===17){for(w=A+3;u>>=A)),l>>>=3,u-=3}else{for(w=A+7;u>>=A)),l>>>=7,u-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=L}}if(n.mode===30)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,M={bits:n.lenbits},T=xh(1,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,T){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},T=xh(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,T){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(s>=6&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=i,e.avail_in=s,n.hold=l,n.bits=u,Kee(e,d),a=e.next_out,o=e.output,c=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,l=n.hold,u=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;x=(k=n.lencode[l&(1<>>16&255,y=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>R)])>>>16&255,y=65535&k,!(R+(A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>>=R,u-=R,n.back+=R}if(l>>>=A,u-=A,n.back+=A,n.length=y,x===0){n.mode=26;break}if(32&x){n.back=-1,n.mode=12;break}if(64&x){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&x,n.mode=22;case 22:if(n.extra){for(w=n.extra;u>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;x=(k=n.distcode[l&(1<>>16&255,y=65535&k,!((A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>R)])>>>16&255,y=65535&k,!(R+(A=k>>>24)<=u);){if(s===0)break e;s--,l+=r[i++]<>>=R,u-=R,n.back+=R}if(l>>>=A,u-=A,n.back+=A,64&x){e.msg="invalid distance code",n.mode=30;break}n.offset=y,n.extra=15&x,n.mode=24;case 24:if(n.extra){for(w=n.extra;u>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(c===0)break e;if(h=d-c,n.offset>h){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}h>n.wnext?(h-=n.wnext,p=n.wsize-h):p=n.wnext-h,h>n.length&&(h=n.length),m=n.window}else m=o,p=a-n.offset,h=n.length;h>c&&(h=c),c-=h,n.length-=h;do o[a++]=m[p++];while(--h);n.length===0&&(n.mode=21);break;case 26:if(c===0)break e;o[a++]=n.length,c--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(s===0)break e;s--,l|=r[i++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Jee,this.strm.avail_out=0;var n=hd.inflateInit2(this.strm,t.windowBits);if(n!==Mr.Z_OK)throw new Error(T3[n]);if(this.header=new zee,hd.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Gm.string2buf(t.dictionary):dC.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=hd.inflateSetDictionary(this.strm,t.dictionary))!==Mr.Z_OK))throw new Error(T3[n])}function Ly(e,t){var n=new ru(t);if(n.push(e,!0),n.err)throw n.msg||T3[n.err];return n.result}ru.prototype.push=function(e,t){var n,r,o,i,a,s=this.strm,c=this.options.chunkSize,l=this.options.dictionary,u=!1;if(this.ended)return!1;r=t===~~t?t:t===!0?Mr.Z_FINISH:Mr.Z_NO_FLUSH,typeof e=="string"?s.input=Gm.binstring2buf(e):dC.call(e)==="[object ArrayBuffer]"?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new D0.Buf8(c),s.next_out=0,s.avail_out=c),(n=hd.inflate(s,Mr.Z_NO_FLUSH))===Mr.Z_NEED_DICT&&l&&(n=hd.inflateSetDictionary(this.strm,l)),n===Mr.Z_BUF_ERROR&&u===!0&&(n=Mr.Z_OK,u=!1),n!==Mr.Z_STREAM_END&&n!==Mr.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(s.avail_out!==0&&n!==Mr.Z_STREAM_END&&(s.avail_in!==0||r!==Mr.Z_FINISH&&r!==Mr.Z_SYNC_FLUSH)||(this.options.to==="string"?(o=Gm.utf8border(s.output,s.next_out),i=s.next_out-o,a=Gm.buf2string(s.output,o),s.next_out=i,s.avail_out=c-i,i&&D0.arraySet(s.output,s.output,o,i,0),this.onData(a)):this.onData(D0.shrinkBuf(s.output,s.next_out)))),s.avail_in===0&&s.avail_out===0&&(u=!0)}while((s.avail_in>0||s.avail_out===0)&&n!==Mr.Z_STREAM_END);return n===Mr.Z_STREAM_END&&(r=Mr.Z_FINISH),r===Mr.Z_FINISH?(n=hd.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Mr.Z_OK):r!==Mr.Z_SYNC_FLUSH||(this.onEnd(Mr.Z_OK),s.avail_out=0,!0)},ru.prototype.onData=function(e){this.chunks.push(e)},ru.prototype.onEnd=function(e){e===Mr.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=D0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},B0.Inflate=ru,B0.inflate=Ly,B0.inflateRaw=function(e,t){return(t=t||{}).raw=!0,Ly(e,t)},B0.ungzip=Ly;var hC={};(0,ul.assign)(hC,U0,B0,fC);var $ee=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",jee=hC,HL=yr(),Jm=ia,qee=$ee?"uint8array":"array";function Qc(e,t){Jm.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}Km.magic="\b\0",HL.inherits(Qc,Jm),Qc.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(HL.transformTo(qee,e.data),!1)},Qc.prototype.flush=function(){Jm.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Qc.prototype.cleanUp=function(){Jm.prototype.cleanUp.call(this),this._pako=null},Qc.prototype._createPako=function(){this._pako=new jee[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},Km.compressWorker=function(e){return new Qc("Deflate",e)},Km.uncompressWorker=function(){return new Qc("Inflate",{})};var GL=ia;Kv.STORE={magic:"\0\0",compressWorker:function(){return new GL("STORE compression")},uncompressWorker:function(){return new GL("STORE decompression")}},Kv.DEFLATE=Km;var pC={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK\x07",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\x07\b"},Gf=yr(),Wf=ia,Oy=Dd,JL=Kx,Jv=pC,Kn=function(e,t){var n,r="";for(n=0;n>>=8;return r},zL=function(e,t,n,r,o,i){var a,s,c=e.file,l=e.compression,u=i!==Oy.utf8encode,f=Gf.transformTo("string",i(c.name)),d=Gf.transformTo("string",Oy.utf8encode(c.name)),h=c.comment,p=Gf.transformTo("string",i(h)),m=Gf.transformTo("string",Oy.utf8encode(h)),A=d.length!==c.name.length,x=m.length!==h.length,y="",R="",g="",b=c.dir,L=c.date,T={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(T.crc32=e.crc32,T.compressedSize=e.compressedSize,T.uncompressedSize=e.uncompressedSize);var M=0;t&&(M|=8),u||!A&&!x||(M|=2048);var w,k,_,P=0,E=0;b&&(P|=16),o==="UNIX"?(E=798,P|=(w=c.unixPermissions,k=b,_=w,w||(_=k?16893:33204),(65535&_)<<16)):(E=20,P|=63&(c.dosPermissions||0)),a=L.getUTCHours(),a<<=6,a|=L.getUTCMinutes(),a<<=5,a|=L.getUTCSeconds()/2,s=L.getUTCFullYear()-1980,s<<=4,s|=L.getUTCMonth()+1,s<<=5,s|=L.getUTCDate(),A&&(R=Kn(1,1)+Kn(JL(f),4)+d,y+="up"+Kn(R.length,2)+R),x&&(g=Kn(1,1)+Kn(JL(p),4)+m,y+="uc"+Kn(g.length,2)+g);var I="";return I+=` +\0`,I+=Kn(M,2),I+=l.magic,I+=Kn(a,2),I+=Kn(s,2),I+=Kn(T.crc32,4),I+=Kn(T.compressedSize,4),I+=Kn(T.uncompressedSize,4),I+=Kn(f.length,2),I+=Kn(y.length,2),{fileRecord:Jv.LOCAL_FILE_HEADER+I+f+y,dirRecord:Jv.CENTRAL_FILE_HEADER+Kn(E,2)+I+Kn(p.length,2)+"\0\0\0\0"+Kn(P,4)+Kn(r,4)+f+y+p}},ete=function(e){return Jv.DATA_DESCRIPTOR+Kn(e.crc32,4)+Kn(e.compressedSize,4)+Kn(e.uncompressedSize,4)};function ga(e,t,n,r){Wf.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Gf.inherits(ga,Wf),ga.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,Wf.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},ga.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=zL(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ga.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=zL(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:ete(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},ga.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t0?e.substring(0,t):""},AC=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},RC=function(e,t){return t=t!==void 0?t:vC.createFolders,e=AC(e),this.files[e]||gC.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function qL(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var fte={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1){if(qL(e)){var r=e;return this.filter(function(i,a){return!a.dir&&r.test(i)})}var o=this.files[this.root+e];return o&&!o.dir?o:null}return e=this.root+e,gC.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(qL(e))return this.filter(function(o,i){return i.dir&&e.test(o)});var t=this.root+e,n=RC.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(o,i){return i.name.slice(0,e.length)===e}),r=0;r=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return hte.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var bC=yC,xC=bC;function Vf(e){xC.call(this,e);for(var t=0;t=0;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},Vf.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),o=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},Vf.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var SC=Vf,MC=bC;function Uf(e){MC.call(this,e)}yr().inherits(Uf,MC),Uf.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},Uf.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},Uf.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},Uf.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var pte=Uf,wC=SC;function k3(e){wC.call(this,e)}yr().inherits(k3,wC),k3.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var LC=k3,OC=LC;function N3(e){OC.call(this,e)}yr().inherits(N3,OC),N3.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var mte=N3,dm=yr(),eO=Tr,vte=SC,gte=pte,Ate=mte,Rte=LC,TC=function(e){var t=dm.getTypeOf(e);return dm.checkSupport(t),t!=="string"||eO.uint8array?t==="nodebuffer"?new Ate(e):eO.uint8array?new Rte(dm.transformTo("uint8array",e)):new vte(dm.transformTo("array",e)):new gte(e)},Ty=TC,Ll=yr(),yte=Hx,tO=Kx,hm=Dd,pm=Kv,bte=Tr;function kC(e,t){this.options=e,this.loadOptions=t}kC.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=function(r){for(var o in pm)if(Object.prototype.hasOwnProperty.call(pm,o)&&pm[o].magic===r)return pm[o];return null}(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Ll.pretty(this.compressionMethod)+" unknown (inner file : "+Ll.transformTo("string",this.fileName)+")");this.decompressed=new yte(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e===0&&(this.dosPermissions=63&this.externalFileAttributes),e===3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=Ty(this.extraFields[1].value);this.uncompressedSize===Ll.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Ll.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Ll.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Ll.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,o=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+41)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e0)this.isSignature(t,fa.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=Ste(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var Lte=NC,ky=yr(),$m=Ep,Ote=Dd,Tte=Lte,kte=K9,nO=t2;function Nte(e){return new $m.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new kte);r.on("error",function(o){n(o)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function Di(){if(!(this instanceof Di))return new Di;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new Di;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Di.prototype=dte,Di.prototype.loadAsync=function(e,t){var n=this;return t=ky.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Ote.utf8decode}),nO.isNode&&nO.isStream(e)?$m.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):ky.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var o=new Tte(t);return o.load(r),o}).then(function(r){var o=[$m.Promise.resolve(r)],i=r.files;if(t.checkCRC32)for(var a=0;a",n),e.substring(M,n).indexOf(L)==-1){var w=e.substring(0,n).split(` `);throw new Error(`Unexpected close tag -Line: `+(O.length-1)+` -Column: `+(O[O.length-1].length+1)+` -Char: `+e[n])}return n+1&&(n+=1),T}if(e.charCodeAt(n+1)===l){if(e.charCodeAt(n+2)==s){const _=n;for(;n!==-1&&(e.charCodeAt(n)!==a||e.charCodeAt(n-1)!=s||e.charCodeAt(n-2)!=s||n==-1);)n=e.indexOf(">",n+1);n===-1&&(n=e.length),r&&T.push(e.substring(_,n+1))}else{if(e.charCodeAt(n+2)===d&&e.charCodeAt(n+8)===d&&e.substr(n+3,5).toLowerCase()==="cdata"){var k=e.indexOf("]]>",n);k==-1?(T.push(e.substr(n+9)),n=e.length):(T.push(e.substring(n+9,k)),n=k+3);continue}{const _=n+1;n+=2;for(var F=!1;(e.charCodeAt(n)!==a||F===!0)&&e[n];)e.charCodeAt(n)===d?F=!0:F===!0&&e.charCodeAt(n)===h&&(F=!1),n++;T.push(e.substring(_,n))}}n++;continue}var N=y();T.push(N),N.tagName[0]==="?"&&(T.push(...N.children),N.children=[])}else{var E=m();if(o)E.length>0&&T.push(E);else{var C=E.trim();C.length>0&&T.push(C)}n++}return T}function m(){var w=n;return(n=e.indexOf("<",n)-1)===-2&&(n=e.length),e.slice(w,n+1)}function A(){for(var w=n;`\r - >/= `.indexOf(e[n])===-1&&e[n];)n++;return e.slice(w,n)}var x=t.noChildNodes||["img","br","input","meta","link","hr"];function y(){n++;const w=A(),T={};let M=[];for(;e.charCodeAt(n)!==a&&e[n];){var O=e.charCodeAt(n);if(O>64&&O<91||O>96&&O<123){for(var k=A(),F=e.charCodeAt(n);F&&F!==u&&F!==f&&!(F>64&&F<91||F>96&&F<123)&&F!==a;)n++,F=e.charCodeAt(n);if(F===u||F===f){var N=R();if(n===-1)return{tagName:w,attributes:T,children:M}}else N=null,n--;T[k]=N}n++}if(e.charCodeAt(n-1)!==c)if(w=="script"){var E=n+1;n=e.indexOf("<\/script>",n),M=[e.slice(E,n)],n+=9}else w=="style"?(E=n+1,n=e.indexOf("",n),M=[e.slice(E,n)],n+=8):x.indexOf(w)===-1?(n++,M=p(w)):n++;else n++;return{tagName:w,attributes:T,children:M}}function R(){var w=e[n],T=n+1;return n=e.indexOf(w,T),e.slice(T,n)}var g,b=null;if(t.attrValue!==void 0)for(t.attrName=t.attrName||"id",b=[];g=void 0,g=new RegExp("\\s"+t.attrName+`\\s*=['"]`+t.attrValue+`['"]`).exec(e),(n=g?g.index:-1)!==-1;)(n=e.lastIndexOf("<",n))!==-1&&b.push(y()),e=e.substr(n),n=0;else b=t.parseNode?y():p("");return t.filter&&(b=PC(b,t.filter)),t.simplify?NC(Array.isArray(b)?b:[b]):(t.setPos&&(b.pos=n),b)}function NC(e){var t={};if(!e.length)return"";if(e.length===1&&typeof e[0]=="string")return e[0];for(var n in e.forEach(function(r){if(typeof r=="object"){t[r.tagName]||(t[r.tagName]=[]);var o=NC(r.children);t[r.tagName].push(o),Object.keys(r.attributes).length&&typeof o!="string"&&(o._attributes=r.attributes)}}),t)t[n].length==1&&(t[n]=t[n][0]);return t}function PC(e,t,n=0,r=""){var o=[];return e.forEach(function(i,a){if(typeof i=="object"&&t(i,a,n,r)&&o.push(i),i.children){var s=PC(i.children,t,n+1,(r?r+".":"")+a+"."+i.tagName);o=o.concat(s)}}),o}function Pte(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return nO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return nO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function nO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n={};if(!e.length)return n;if(e.length===1&&typeof e[0]=="string")return Object.keys(t).length?{attrs:oO({order:iO++},t),value:e[0]}:e[0];var r,o=Pte(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(k3(i)!=="object")return;if(i.tagName!=="?xml"){n[i.tagName]||(n[i.tagName]=[]);var a=CC(i.children||[],i.attributes);n[i.tagName].push(a),Object.keys(i.attributes).length&&(a.attrs=oO({order:iO++},i.attributes))}}}catch(c){o.e(c)}finally{o.f()}for(var s in n)n[s].length===1&&(n[s]=n[s][0]);return n}function Lo(e,t){return IC.apply(this,arguments)}function IC(){return(IC=ii(Wn.mark(function e(t,n){var r;return Wn.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,t.file(n).async("string");case 3:return r=o.sent,o.abrupt("return",CC(Nte(r)));case 7:return o.prev=7,o.t0=o.catch(0),o.abrupt("return",null);case 10:case"end":return o.stop()}},e,null,[[0,7]])}))).apply(this,arguments)}function Jv(e){return Jv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jv(e)}var Cte=/^\s+/,Ite=/\s+$/;function dt(e,t){if(t=t||{},(e=e||"")instanceof dt)return e;if(!(this instanceof dt))return new dt(e,t);var n=function(r){var o={r:0,g:0,b:0},i=1,a=null,s=null,c=null,l=!1,u=!1;typeof r=="string"&&(r=function(p){p=p.replace(Cte,"").replace(Ite,"").toLowerCase();var m,A=!1;if(N3[p])p=N3[p],A=!0;else if(p=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(m=Aa.rgb.exec(p))?{r:m[1],g:m[2],b:m[3]}:(m=Aa.rgba.exec(p))?{r:m[1],g:m[2],b:m[3],a:m[4]}:(m=Aa.hsl.exec(p))?{h:m[1],s:m[2],l:m[3]}:(m=Aa.hsla.exec(p))?{h:m[1],s:m[2],l:m[3],a:m[4]}:(m=Aa.hsv.exec(p))?{h:m[1],s:m[2],v:m[3]}:(m=Aa.hsva.exec(p))?{h:m[1],s:m[2],v:m[3],a:m[4]}:(m=Aa.hex8.exec(p))?{r:mi(m[1]),g:mi(m[2]),b:mi(m[3]),a:fO(m[4]),format:A?"name":"hex8"}:(m=Aa.hex6.exec(p))?{r:mi(m[1]),g:mi(m[2]),b:mi(m[3]),format:A?"name":"hex"}:(m=Aa.hex4.exec(p))?{r:mi(m[1]+""+m[1]),g:mi(m[2]+""+m[2]),b:mi(m[3]+""+m[3]),a:fO(m[4]+""+m[4]),format:A?"name":"hex8"}:(m=Aa.hex3.exec(p))?{r:mi(m[1]+""+m[1]),g:mi(m[2]+""+m[2]),b:mi(m[3]+""+m[3]),format:A?"name":"hex"}:!1}(r)),Jv(r)=="object"&&(Xs(r.r)&&Xs(r.g)&&Xs(r.b)?(f=r.r,d=r.g,h=r.b,o={r:255*nr(f,255),g:255*nr(d,255),b:255*nr(h,255)},l=!0,u=String(r.r).substr(-1)==="%"?"prgb":"rgb"):Xs(r.h)&&Xs(r.s)&&Xs(r.v)?(a=K0(r.s),s=K0(r.v),o=function(p,m,A){p=6*nr(p,360),m=nr(m,100),A=nr(A,100);var x=Math.floor(p),y=p-x,R=A*(1-m),g=A*(1-y*m),b=A*(1-(1-y)*m),w=x%6;return{r:255*[A,g,R,R,b,A][w],g:255*[b,A,A,g,R,R][w],b:255*[R,R,b,A,A,g][w]}}(r.h,a,s),l=!0,u="hsv"):Xs(r.h)&&Xs(r.s)&&Xs(r.l)&&(a=K0(r.s),c=K0(r.l),o=function(p,m,A){var x,y,R;function g(T,M,O){return O<0&&(O+=1),O>1&&(O-=1),O<1/6?T+6*(M-T)*O:O<.5?M:O<2/3?T+(M-T)*(2/3-O)*6:T}if(p=nr(p,360),m=nr(m,100),A=nr(A,100),m===0)x=y=R=A;else{var b=A<.5?A*(1+m):A+m-A*m,w=2*A-b;x=g(w,b,p+1/3),y=g(w,b,p),R=g(w,b,p-1/3)}return{r:255*x,g:255*y,b:255*R}}(r.h,a,c),l=!0,u="hsl"),r.hasOwnProperty("a")&&(i=r.a));var f,d,h;return i=FC(i),{ok:l,format:r.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function aO(e,t,n){e=nr(e,255),t=nr(t,255),n=nr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(dt(r));return i}function Bte(e,t){t=t||6;for(var n=dt(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(dt({h:r,s:o,v:i})),i=(i+s)%1;return a}dt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=FC(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=sO(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=sO(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return this._a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=aO(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=aO(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return this._a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return lO(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(t,n,r,o,i){var a=[ka(Math.round(t).toString(16)),ka(Math.round(n).toString(16)),ka(Math.round(r).toString(16)),ka(_C(o))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*nr(this._r,255))+"%",g:Math.round(100*nr(this._g,255))+"%",b:Math.round(100*nr(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*nr(this._r,255))+"%, "+Math.round(100*nr(this._g,255))+"%, "+Math.round(100*nr(this._b,255))+"%)":"rgba("+Math.round(100*nr(this._r,255))+"%, "+Math.round(100*nr(this._g,255))+"%, "+Math.round(100*nr(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(Dte[lO(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+cO(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=dt(e);n="#"+cO(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||e!=="hex"&&e!=="hex6"&&e!=="hex3"&&e!=="hex4"&&e!=="hex8"&&e!=="name"?(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),e!=="hex"&&e!=="hex6"||(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),n||this.toHexString()):e==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return dt(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(Xte,arguments)},brighten:function(){return this._applyModification(Wte,arguments)},darken:function(){return this._applyModification(Vte,arguments)},desaturate:function(){return this._applyModification(Fte,arguments)},saturate:function(){return this._applyModification(_te,arguments)},greyscale:function(){return this._applyModification(Ete,arguments)},spin:function(){return this._applyModification(Ute,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Zte,arguments)},complement:function(){return this._applyCombination(Yte,arguments)},monochromatic:function(){return this._applyCombination(Bte,arguments)},splitcomplement:function(){return this._applyCombination(Qte,arguments)},triad:function(){return this._applyCombination(uO,[3])},tetrad:function(){return this._applyCombination(uO,[4])}},dt.fromRatio=function(e,t){if(Jv(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=r==="a"?e[r]:K0(e[r]));e=n}return dt(e,t)},dt.equals=function(e,t){return!(!e||!t)&&dt(e).toRgbString()==dt(t).toRgbString()},dt.random=function(){return dt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},dt.mix=function(e,t,n){n=n===0?0:n||50;var r=dt(e).toRgb(),o=dt(t).toRgb(),i=n/100;return dt({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},dt.readability=function(e,t){var n=dt(e),r=dt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},dt.isReadable=function(e,t,n){var r,o,i=dt.readability(e,t);switch(o=!1,(r=function(a){var s,c;return s=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase(),c=(a.size||"small").toLowerCase(),s!=="AA"&&s!=="AAA"&&(s="AA"),c!=="small"&&c!=="large"&&(c="small"),{level:s,size:c}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},dt.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;lc&&(c=r,s=dt(t[l]));return dt.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,dt.mostReadable(e,["#fff","#000"],n))};var N3=dt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Dte=dt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(N3);function FC(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function nr(e,t){(function(r){return typeof r=="string"&&r.indexOf(".")!=-1&&parseFloat(r)===1})(e)&&(e="100%");var n=function(r){return typeof r=="string"&&r.indexOf("%")!=-1}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function n2(e){return Math.min(1,Math.max(0,e))}function mi(e){return parseInt(e,16)}function ka(e){return e.length==1?"0"+e:""+e}function K0(e){return e<=1&&(e=100*e+"%"),e}function _C(e){return Math.round(255*parseFloat(e)).toString(16)}function fO(e){return mi(e)/255}var Ol,pm,mm,Aa=(pm="[\\s|\\(]+("+(Ol="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")\\s*\\)?",mm="[\\s|\\(]+("+Ol+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")\\s*\\)?",{CSS_UNIT:new RegExp(Ol),rgb:new RegExp("rgb"+pm),rgba:new RegExp("rgba"+mm),hsl:new RegExp("hsl"+pm),hsla:new RegExp("hsla"+mm),hsv:new RegExp("hsv"+pm),hsva:new RegExp("hsva"+mm),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Xs(e){return!!Aa.CSS_UNIT.exec(e)}function Kte(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return dO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return dO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function dO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>18]+n[(258048&t)>>12]+n[(4032&t)>>6]+n[63&t];return i===1?s+=n[(252&(t=r[a]))>>2]+n[(3&t)<<4]+"==":i===2&&(s+=n[(64512&(t=r[a]<<8|r[a+1]))>>10]+n[(1008&t)>>4]+n[(15&t)<<2]+"="),s}function ky(e){return e.substr(2+(~-e.lastIndexOf(".")>>>0))}function bf(e,t){if(!e)return e;var n="";if(e.constructor===Array)for(var r=0;r":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(n){return t[n]})}function P3(e){var t="";switch(e.toLowerCase()){case"jpg":case"jpeg":t="image/jpeg";break;case"png":t="image/png";break;case"gif":t="image/gif";break;case"emf":t="image/x-emf";break;case"wmf":t="image/x-wmf";break;case"svg":t="image/svg+xml";break;case"mp4":t="video/mp4";break;case"webm":t="video/webm";break;case"ogg":t="video/ogg";break;case"avi":t="video/avi";break;case"mpg":t="video/mpg";break;case"wmv":t="video/wmv";break;case"mp3":t="audio/mpeg";break;case"wav":t="audio/wav";break;case"tif":case"tiff":t="image/tiff"}return t}function Hte(e){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(e)}function Sf(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function H0(e,t){switch(e){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2"}var n=Ue(t.themeContent,["a:theme","a:themeElements","a:clrScheme",e]),r=Ue(n,["a:srgbClr","attrs","val"]);return!r&&n&&(r=Ue(n,["a:sysClr","attrs","lastClr"])),r}function Ny(e,t,n){return n<0&&(n+=6),n>=6&&(n-=6),n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e}function Py(e){var t="";return e["a:noFill"]&&(t="NO_FILL"),e["a:solidFill"]&&(t="SOLID_FILL"),e["a:gradFill"]&&(t="GRADIENT_FILL"),e["a:pattFill"]&&(t="PATTERN_FILL"),e["a:blipFill"]&&(t="PIC_FILL"),e["a:grpFill"]&&(t="GROUP_FILL"),t}function Gte(e,t,n){return C3.apply(this,arguments)}function C3(){return C3=ii(Wn.mark(function e(t,n,r){var o,i,a,s,c,l;return Wn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(i=n["a:blip"].attrs["r:embed"],t==="slideBg"||t==="slide"?a=Ue(r,["slideResObj",i,"target"]):t==="slideLayoutBg"?a=Ue(r,["layoutResObj",i,"target"]):t==="slideMasterBg"?a=Ue(r,["masterResObj",i,"target"]):t==="themeBg"&&(a=Ue(r,["themeResObj",i,"target"])),a){u.next=4;break}return u.abrupt("return",a);case 4:if(o=Ue(r,["loaded-images",a])){u.next=15;break}if(a=XC(a),(s=a.split(".").pop())!=="xml"){u.next=10;break}return u.abrupt("return",void 0);case 10:return u.next=12,r.zip.file(a).async("arraybuffer");case 12:c=u.sent,l=P3(s),o="data:".concat(l,";base64,").concat(EC(c));case 15:return u.abrupt("return",o);case 16:case"end":return u.stop()}},e)})),C3.apply(this,arguments)}function Cy(e,t,n){return WC.apply(this,arguments)}function WC(){return(WC=ii(Wn.mark(function e(t,n,r){var o,i,a,s;return Wn.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Gte(n,t["a:blipFill"],r);case 2:return o=c.sent,i=t["a:blipFill"]["a:blip"],a=Ue(i,["a:alphaModFix","attrs"]),s=1,a&&a.amt&&a.amt!==""&&(s=parseInt(a.amt)/1e5),c.abrupt("return",{picBase64:o,opacity:s});case 8:case"end":return c.stop()}},e)}))).apply(this,arguments)}function Iy(e,t,n,r){if(e){for(var o=e["a:gradFill"],i=o["a:gsLst"]["a:gs"],a=[],s=0;s=360&&(E-=360),F?dt({h:E,s:N.s,l:N.l,a:N.a}).toHex8():dt({h:E,s:N.s,l:N.l,a:N.a}).toHex()}(i,R,A));var g=parseInt(Ue(o,["a:lumMod","attrs","val"]))/1e5;isNaN(g)||(i=function(O,k,F){var N=dt(O).toHsl(),E=N.l*k;return E>=1&&(E=1),F?dt({h:N.h,s:N.s,l:E,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:E,a:N.a}).toHex()}(i,g,A));var b=parseInt(Ue(o,["a:lumOff","attrs","val"]))/1e5;isNaN(b)||(i=function(O,k,F){var N=dt(O).toHsl(),E=k+N.l;return E>=1?F?dt({h:N.h,s:N.s,l:1,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:1,a:N.a}).toHex():F?dt({h:N.h,s:N.s,l:E,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:E,a:N.a}).toHex()}(i,b,A));var w=parseInt(Ue(o,["a:satMod","attrs","val"]))/1e5;isNaN(w)||(i=function(O,k,F){var N=dt(O).toHsl(),E=N.s*k;return E>=1&&(E=1),F?dt({h:N.h,s:E,l:N.l,a:N.a}).toHex8():dt({h:N.h,s:E,l:N.l,a:N.a}).toHex()}(i,w,A));var T=parseInt(Ue(o,["a:shade","attrs","val"]))/1e5;isNaN(T)||(i=function(O,k,F){var N=dt(O).toHsl();k>=1&&(k=1);var E=Math.min(N.l*k,1);return F?dt({h:N.h,s:N.s,l:E,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:E,a:N.a}).toHex()}(i,T,A));var M=parseInt(Ue(o,["a:tint","attrs","val"]))/1e5;return isNaN(M)||(i=function(O,k,F){var N=dt(O).toHsl();k>=1&&(k=1);var E=N.l*k+(1-k);return F?dt({h:N.h,s:N.s,l:E,a:N.a}).toHex8():dt({h:N.h,s:N.s,l:E,a:N.a}).toHex()}(i,M,A)),i}function So(e){var t=[];if(!e)return t;if(e["c:xVal"]){var n=[];bf(e["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n),n=[],bf(e["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n)}else bf(e,function(r,o){var i=[],a=Ue(r,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||o,s={};return Ue(r,["c:cat","c:strRef","c:strCache","c:pt"])?bf(r["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],function(c){return s[c.attrs.idx]=c["c:v"],""}):Ue(r,["c:cat","c:numRef","c:numCache","c:pt"])&&bf(r["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],function(c){return s[c.attrs.idx]=c["c:v"],""}),Ue(r,["c:val","c:numRef","c:numCache","c:pt"])&&bf(r["c:val"]["c:numRef"]["c:numCache"]["c:pt"],function(c){return i.push({x:c.attrs.idx,y:parseFloat(c["c:v"])}),""}),t.push({key:a,values:i,xlabels:s}),""});return t}function zte(e){var t=null;for(var n in e)switch(n){case"c:lineChart":t={type:"lineChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),marker:!!e[n]["c:marker"]};break;case"c:line3DChart":t={type:"line3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:barChart":t={type:"barChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),barDir:Ue(e[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":t={type:"bar3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),barDir:Ue(e[n],["c:barDir","attrs","val"])};break;case"c:pieChart":t={type:"pieChart",data:So(e[n]["c:ser"])};break;case"c:pie3DChart":t={type:"pie3DChart",data:So(e[n]["c:ser"])};break;case"c:doughnutChart":t={type:"doughnutChart",data:So(e[n]["c:ser"]),holeSize:Ue(e[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":t={type:"areaChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":t={type:"area3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":t={type:"scatterChart",data:So(e[n]["c:ser"]),style:Ue(e[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":t={type:"bubbleChart",data:So(e[n]["c:ser"])};break;case"c:radarChart":t={type:"radarChart",data:So(e[n]["c:ser"]),style:Ue(e[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":t={type:"surfaceChart",data:So(e[n]["c:ser"])};break;case"c:surface3DChart":t={type:"surface3DChart",data:So(e[n]["c:ser"])};break;case"c:stockChart":t={type:"stockChart",data:So(e[n]["c:ser"])}}return t}function $te(e,t,n,r){var o=Ue(e,["a:pPr","attrs","algn"]);if(o||(o=Ue(t,["a:pPr","attrs","algn"])),!o)if(n==="title"||n==="ctrTitle"||n==="subTitle"){var i=1,a=Ue(t,["a:pPr","attrs","lvl"]);a&&(i=parseInt(a)+1);var s="a:lvl"+i+"pPr";(o=Ue(r,["slideLayoutTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(o=Ue(r,["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"])),o||(o=Ue(r,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),o||n!=="subTitle"||(o=Ue(r,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else o=Ue(r,n==="body"?["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]:["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var c="left";if(o)switch(o){case"l":c="left";break;case"r":c="right";break;case"ctr":c="center";break;case"just":case"dist":c="justify";break;default:c="inherit"}return c}function _p(e,t,n,r){var o;return e?o=e["a:off"].attrs:t?o=t["a:off"].attrs:n&&(o=n["a:off"].attrs),o?{top:parseFloat((parseInt(o.y)*r).toFixed(2)),left:parseFloat((parseInt(o.x)*r).toFixed(2))}:{top:0,left:0}}function Ep(e,t,n,r){var o;return e?o=e["a:ext"].attrs:t?o=t["a:ext"].attrs:n&&(o=n["a:ext"].attrs),o?{width:parseFloat((parseInt(o.cx)*r).toFixed(2)),height:parseFloat((parseInt(o.cy)*r).toFixed(2))}:{width:0,height:0}}function UC(e,t){var n=t.options.slideFactor,r=gu(e,0,0,t),o=e.attrs,i=o.dir?parseInt(o.dir)/6e4:0,a=parseInt(o.dist)*n,s=o.blurRad?parseFloat((parseInt(o.blurRad)*n).toFixed(2)):"",c=a*Math.sin(i*Math.PI/180),l=a*Math.cos(i*Math.PI/180);return{h:parseFloat(l.toFixed(2)),v:parseFloat(c.toFixed(2)),blur:s,color:"#"+r}}function hO(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return pO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return pO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function pO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&h.shift(),(f=f.concat(h)).sort(function(y,R){return!y.attrs||!R.attrs||y.attrs.order-R.attrs.order})));var p=$te(u,t,r,o),m=jte(u);if(m?(c?c&&c!==m&&(a+=""),a+="<".concat(m,">"),c=m):(a+="<".concat(m,">"),c=m),a+='
  • ')):(c&&(a+=""),c=""),a+='

    ')),f){var A,x=hO(f);try{for(x.s();!(A=x.n()).done;)a+=mO(A.value,n,r,o)}catch(y){x.e(y)}finally{x.f()}}else a+=mO(u,n,r,o);a+=m?"

  • ":"

    "}}catch(y){l.e(y)}finally{l.f()}return a}function jte(e){var t=e["a:pPr"];return t?t["a:buChar"]?"ul":t["a:buAutoNum"]?"ol":"":""}function mO(e,t,n,r){var o=r.slideMasterTextStyles,i=e["a:t"];typeof i!="string"&&(i=Ue(e,["a:fld","a:t"])),typeof i!="string"&&(i=" ");var a="",s=function(R){var g=Ue(R,["a:rPr","a:solidFill","a:srgbClr","attrs","val"]);return g?"#".concat(g):""}(e),c=function(R,g,b,w,T){var M,O;if(R["a:rPr"]&&(M=parseInt(R["a:rPr"].attrs.sz)/100),isNaN(M)||!M){var k=Ue(g,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);M=parseInt(k)/100}return!isNaN(M)&&M||(b==="title"||b==="subTitle"||b==="ctrTitle"?O=Ue(w,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):b==="body"?O=Ue(w,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):b==="dt"||b==="sldNum"?O="1200":b||(O=Ue(w,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),O&&(M=parseInt(O)/100)),Ue(R,["a:rPr","attrs","baseline"])&&!isNaN(M)&&(M-=10),M=isNaN(M)||!M?18:M,parseFloat((M*T).toFixed(2))+(T===1?"pt":"px")}(e,t,n,o,r.options.fontsizeFactor),l=function(R,g,b){var w=Ue(R,["a:rPr","a:latin","attrs","typeface"]);if(!w){var T=Ue(b.themeContent,["a:theme","a:themeElements","a:fontScheme"]);w=Ue(T,g==="title"||g==="subTitle"||g==="ctrTitle"?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return w||""}(e,n,r),u=function(R){return Ue(R,["a:rPr","attrs","b"])==="1"?"bold":""}(e),f=function(R){return Ue(R,["a:rPr","attrs","i"])==="1"?"italic":""}(e),d=function(R){return Ue(R,["a:rPr","attrs","u"])==="sng"?"underline":""}(e),h=function(R){return Ue(R,["a:rPr","attrs","strike"])==="sngStrike"?"line-through":""}(e),p=function(R,g){var b=Ue(R,["a:rPr","attrs","spc"]);return b?parseInt(b)/100*g+"px":""}(e,r.options.fontsizeFactor),m=function(R,g){var b=Ue(R,["a:rPr","a:effectLst","a:outerShdw"]);if(b){var w=UC(b,g);if(w){var T=w.h,M=w.v,O=w.blur,k=w.color;if(!isNaN(M)&&!isNaN(T))return T+"px "+M+"px "+(O?O+"px":"")+" "+k}}return""}(e,r),A=function(R){var g=Ue(R,["a:rPr","attrs","baseline"]);return g?parseInt(g)>0?"super":"sub":""}(e);s&&(a+="color: ".concat(s,";")),c&&(a+="font-size: ".concat(c,";")),l&&(a+="font-family: ".concat(l,";")),u&&(a+="font-weight: ".concat(u,";")),f&&(a+="font-style: ".concat(f,";")),d&&(a+="text-decoration: ".concat(d,";")),h&&(a+="text-decoration-line: ".concat(h,";")),p&&(a+="letter-spacing: ".concat(p,";")),A&&(a+="vertical-align: ".concat(A,"; font-size: smaller;")),m&&(a+="text-shadow: ".concat(m,";"));var x=Ue(e,["a:rPr","a:hlinkClick","attrs","r:id"]);if(x){var y=r.slideResObj[x].target;return'').concat(i.replace(/\t/g,"    ").replace(/\s/g," "),"")}return'').concat(i.replace(/\t/g,"    ").replace(/\s/g," "),"")}function qte(e,t,n,r,o,i,a){var s,c=o;if(i>=o)for(;c<=i;){var l=c*(Math.PI/180),u=e+Math.cos(l)*n,f=t+Math.sin(l)*r;c===o&&(s=" M"+u+" "+f),s+=" L"+u+" "+f,c++}else for(;c>i;){var d=c*(Math.PI/180),h=e+Math.cos(d)*n,p=t+Math.sin(d)*r;c===o&&(s=" M "+h+" "+p),s+=" L "+h+" "+p,c--}return s+=a?" z":""}function vO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function tc(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function gO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&m[1]!==void 0?m[1]:{},n=tc(tc({},{slideFactor:96/914400,fontsizeFactor:100/75}),n),r=[],A.next=6,kte.loadAsync(t);case 6:return o=A.sent,A.next=9,tne(o);case 9:return i=A.sent,A.next=12,nne(o,n);case 12:return a=A.sent,s=a.width,c=a.height,l=a.defaultTextStyle,A.next=18,rne(o);case 18:u=A.sent,f=Po(i.slides),A.prev=20,f.s();case 22:if((d=f.n()).done){A.next=30;break}return h=d.value,A.next=26,one(o,h,u,l,n);case 26:p=A.sent,r.push(p);case 28:A.next=22;break;case 30:A.next=35;break;case 32:A.prev=32,A.t0=A.catch(20),f.e(A.t0);case 35:return A.prev=35,f.f(),A.finish(35);case 38:return A.abrupt("return",{slides:r,size:{width:s,height:c}});case 39:case"end":return A.stop()}},e,null,[[20,32,35,38]])})),I3.apply(this,arguments)}function tne(e){return YC.apply(this,arguments)}function YC(){return(YC=ii(Wn.mark(function e(t){var n,r,o,i,a,s,c,l;return Wn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,Lo(t,"[Content_Types].xml");case 2:n=u.sent,r=n.Types.Override,o=[],i=[],a=Po(r),u.prev=7,a.s();case 9:if((s=a.n()).done){u.next=20;break}c=s.value,u.t0=c.attrs.ContentType,u.next=u.t0==="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"?14:u.t0==="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"?16:18;break;case 14:return o.push(c.attrs.PartName.substr(1)),u.abrupt("break",18);case 16:return i.push(c.attrs.PartName.substr(1)),u.abrupt("break",18);case 18:u.next=9;break;case 20:u.next=25;break;case 22:u.prev=22,u.t1=u.catch(7),a.e(u.t1);case 25:return u.prev=25,a.f(),u.finish(25);case 28:return l=function(f,d){return+/(\d+)\.xml/.exec(f)[1]-+/(\d+)\.xml/.exec(d)[1]},o=o.sort(l),i=i.sort(l),u.abrupt("return",{slides:o,slideLayouts:i});case 32:case"end":return u.stop()}},e,null,[[7,22,25,28]])}))).apply(this,arguments)}function nne(e,t){return QC.apply(this,arguments)}function QC(){return(QC=ii(Wn.mark(function e(t,n){var r,o,i;return Wn.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Lo(t,"ppt/presentation.xml");case 2:return r=a.sent,o=r["p:presentation"]["p:sldSz"].attrs,i=r["p:presentation"]["p:defaultTextStyle"],a.abrupt("return",{width:parseInt(o.cx)*n.slideFactor,height:parseInt(o.cy)*n.slideFactor,defaultTextStyle:i});case 6:case"end":return a.stop()}},e)}))).apply(this,arguments)}function rne(e){return ZC.apply(this,arguments)}function ZC(){return(ZC=ii(Wn.mark(function e(t){var n,r,o,i,a,s;return Wn.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Lo(t,"ppt/_rels/presentation.xml.rels");case 2:if(n=c.sent,(r=n.Relationships.Relationship).constructor!==Array){c.next=25;break}i=Po(r),c.prev=6,i.s();case 8:if((a=i.n()).done){c.next=15;break}if((s=a.value).attrs.Type!=="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"){c.next=13;break}return o=s.attrs.Target,c.abrupt("break",15);case 13:c.next=8;break;case 15:c.next=20;break;case 17:c.prev=17,c.t0=c.catch(6),i.e(c.t0);case 20:return c.prev=20,i.f(),c.finish(20);case 23:c.next=26;break;case 25:r.attrs.Type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"&&(o=r.attrs.Target);case 26:if(o){c.next=28;break}throw Error("Can't open theme file.");case 28:return c.next=30,Lo(t,"ppt/"+o);case 30:return c.abrupt("return",c.sent);case 31:case"end":return c.stop()}},e,null,[[6,17,20,23]])}))).apply(this,arguments)}function one(e,t,n,r,o){return F3.apply(this,arguments)}function F3(){return F3=ii(Wn.mark(function e(t,n,r,o,i){var a,s,c,l,u,f,d,h,p,m,A,x,y,R,g,b,w,T,M,O,k,F,N,E,C,_,I,W,Z,J,le,D,Q,B,H,U,te,z,oe,pe,Ae,me,$,ue,X,ne,se,j,q,ae,ge,ce,ve,ye,_e,Se;return Wn.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return a=n.replace("slides/slide","slides/_rels/slide")+".rels",xe.next=3,Lo(t,a);case 3:if(s=xe.sent,c=s.Relationships.Relationship,l="",u="",f={},c.constructor!==Array){xe.next=35;break}d=Po(c),xe.prev=10,d.s();case 12:if((h=d.n()).done){xe.next=25;break}p=h.value,xe.t0=p.attrs.Type,xe.next=xe.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"?17:xe.t0==="http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"?19:(xe.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"||xe.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"||xe.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"||xe.t0,22);break;case 17:return l=p.attrs.Target.replace("../","ppt/"),xe.abrupt("break",23);case 19:return u=p.attrs.Target.replace("../","ppt/"),f[p.attrs.Id]={type:p.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:p.attrs.Target.replace("../","ppt/")},xe.abrupt("break",23);case 22:f[p.attrs.Id]={type:p.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:p.attrs.Target.replace("../","ppt/")};case 23:xe.next=12;break;case 25:xe.next=30;break;case 27:xe.prev=27,xe.t1=xe.catch(10),d.e(xe.t1);case 30:return xe.prev=30,d.f(),xe.finish(30);case 33:xe.next=36;break;case 35:l=c.attrs.Target.replace("../","ppt/");case 36:return xe.next=38,Lo(t,l);case 38:return m=xe.sent,xe.next=41,AO(m);case 41:return A=xe.sent,x=l.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",xe.next=45,Lo(t,x);case 45:if(y=xe.sent,c=y.Relationships.Relationship,R="",g={},c.constructor!==Array){xe.next=73;break}b=Po(c),xe.prev=51,b.s();case 53:if((w=b.n()).done){xe.next=63;break}T=w.value,xe.t2=T.attrs.Type,xe.next=xe.t2==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"?58:60;break;case 58:return R=T.attrs.Target.replace("../","ppt/"),xe.abrupt("break",61);case 60:g[T.attrs.Id]={type:T.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:T.attrs.Target.replace("../","ppt/")};case 61:xe.next=53;break;case 63:xe.next=68;break;case 65:xe.prev=65,xe.t3=xe.catch(51),b.e(xe.t3);case 68:return xe.prev=68,b.f(),xe.finish(68);case 71:xe.next=74;break;case 73:R=c.attrs.Target.replace("../","ppt/");case 74:return xe.next=76,Lo(t,R);case 76:return M=xe.sent,O=Ue(M,["p:sldMaster","p:txStyles"]),k=AO(M),F=R.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",xe.next=82,Lo(t,F);case 82:if(N=xe.sent,c=N.Relationships.Relationship,E="",C={},c.constructor!==Array){xe.next=109;break}_=Po(c),xe.prev=88,_.s();case 90:if((I=_.n()).done){xe.next=99;break}W=I.value,xe.t4=W.attrs.Type,xe.next=xe.t4==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"?95:96;break;case 95:return xe.abrupt("break",97);case 96:C[W.attrs.Id]={type:W.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:W.attrs.Target.replace("../","ppt/")};case 97:xe.next=90;break;case 99:xe.next=104;break;case 101:xe.prev=101,xe.t5=xe.catch(88),_.e(xe.t5);case 104:return xe.prev=104,_.f(),xe.finish(104);case 107:xe.next=110;break;case 109:E=c.attrs.Target.replace("../","ppt/");case 110:if(Z={},!E){xe.next=118;break}return J=E.split("/").pop(),le=E.replace(J,"_rels/"+J)+".rels",xe.next=116,Lo(t,le);case 116:if((D=xe.sent)&&(c=D.Relationships.Relationship))if(c.constructor===Array){Q=Po(c);try{for(Q.s();!(B=Q.n()).done;)H=B.value,Z[H.attrs.Id]={type:H.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:H.attrs.Target.replace("../","ppt/")}}catch(ut){Q.e(ut)}finally{Q.f()}}else Z[c.attrs.Id]={type:c.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:c.attrs.Target.replace("../","ppt/")};case 118:if(U={},te={},!u){xe.next=131;break}return z=u.split("/").pop(),oe=u.replace(z,"_rels/"+z)+".rels",xe.next=125,Lo(t,u);case 125:return(te=xe.sent)&&te&&te&&(pe=(pe=JSON.stringify(te)).replace(/dsp:/g,"p:"),te=JSON.parse(pe)),xe.next=129,Lo(t,oe);case 129:if(Ae=xe.sent)if((c=Ae.Relationships.Relationship).constructor===Array){me=Po(c);try{for(me.s();!($=me.n()).done;)ue=$.value,U[ue.attrs.Id]={type:ue.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:ue.attrs.Target.replace("../","ppt/")}}catch(ut){me.e(ut)}finally{me.f()}}else U[c.attrs.Id]={type:c.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:c.attrs.Target.replace("../","ppt/")};case 131:return xe.next=133,Lo(t,"ppt/tableStyles.xml");case 133:return X=xe.sent,xe.next=136,Lo(t,n);case 136:return ne=xe.sent,se=ne["p:sld"]["p:cSld"]["p:spTree"],j={zip:t,slideLayoutContent:m,slideLayoutTables:A,slideMasterContent:M,slideMasterTables:k,slideContent:ne,tableStyles:X,slideResObj:f,slideMasterTextStyles:O,layoutResObj:g,masterResObj:C,themeContent:r,themeResObj:Z,digramFileContent:te,diagramResObj:U,defaultTextStyle:o,options:i},xe.next=141,Jte(j);case 141:q=xe.sent,ae=[],xe.t6=Wn.keys(se);case 144:if((xe.t7=xe.t6()).done){xe.next=174;break}if(ge=xe.t7.value,se[ge].constructor!==Array){xe.next=168;break}ce=Po(se[ge]),xe.prev=148,ce.s();case 150:if((ve=ce.n()).done){xe.next=158;break}return ye=ve.value,xe.next=154,$v(ge,ye,j,"slide");case 154:(_e=xe.sent)&&ae.push(_e);case 156:xe.next=150;break;case 158:xe.next=163;break;case 160:xe.prev=160,xe.t8=xe.catch(148),ce.e(xe.t8);case 163:return xe.prev=163,ce.f(),xe.finish(163);case 166:xe.next=172;break;case 168:return xe.next=170,$v(ge,se[ge],j,"slide");case 170:(Se=xe.sent)&&ae.push(Se);case 172:xe.next=144;break;case 174:return xe.abrupt("return",{fill:q,elements:ae});case 175:case"end":return xe.stop()}},e,null,[[10,27,30,33],[51,65,68,71],[88,101,104,107],[148,160,163,166]])})),F3.apply(this,arguments)}function AO(e){var t=e[Object.keys(e)[0]]["p:cSld"]["p:spTree"],n={},r={},o={};for(var i in t)if(i!=="p:nvGrpSpPr"&&i!=="p:grpSpPr"){var a=t[i];if(a.constructor===Array){var s,c=Po(a);try{for(c.s();!(s=c.n()).done;){var l=s.value,u=l["p:nvSpPr"],f=Ue(u,["p:cNvPr","attrs","id"]),d=Ue(u,["p:nvPr","p:ph","attrs","idx"]),h=Ue(u,["p:nvPr","p:ph","attrs","type"]);f&&(n[f]=l),d&&(r[d]=l),h&&(o[h]=l)}}catch(y){c.e(y)}finally{c.f()}}else{var p=a["p:nvSpPr"],m=Ue(p,["p:cNvPr","attrs","id"]),A=Ue(p,["p:nvPr","p:ph","attrs","idx"]),x=Ue(p,["p:nvPr","p:ph","attrs","type"]);m&&(n[m]=a),A&&(r[A]=a),x&&(o[x]=a)}}return{idTable:n,idxTable:r,typeTable:o}}function $v(e,t,n,r){return BC.apply(this,arguments)}function BC(){return(BC=ii(Wn.mark(function e(t,n,r,o){var i;return Wn.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:a.t0=t,a.next=a.t0==="p:sp"?3:a.t0==="p:cxnSp"?5:a.t0==="p:pic"?7:a.t0==="p:graphicFrame"?9:a.t0==="p:grpSp"?13:a.t0==="mc:AlternateContent"?17:21;break;case 3:return i=DC(n,r,o),a.abrupt("break",21);case 5:return i=ine(n,r),a.abrupt("break",21);case 7:return i=ane(n,r,o),a.abrupt("break",21);case 9:return a.next=11,sne(n,r,o);case 11:case 15:case 19:return i=a.sent,a.abrupt("break",21);case 13:return a.next=15,_3(n,r,o);case 17:return a.next=19,_3(Ue(n,["mc:Fallback"]),r,o);case 21:return a.abrupt("return",i);case 22:case"end":return a.stop()}},e)}))).apply(this,arguments)}function _3(e,t,n){return E3.apply(this,arguments)}function E3(){return E3=ii(Wn.mark(function e(t,n,r){var o,i,a,s,c,l,u,f,d,h,p,m,A,x,y,R,g,b;return Wn.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(o=Ue(t,["p:grpSpPr","a:xfrm"])){w.next=3;break}return w.abrupt("return",null);case 3:i=parseInt(o["a:off"].attrs.x)*n.options.slideFactor,a=parseInt(o["a:off"].attrs.y)*n.options.slideFactor,s=parseInt(o["a:chOff"].attrs.x)*n.options.slideFactor,c=parseInt(o["a:chOff"].attrs.y)*n.options.slideFactor,l=parseInt(o["a:ext"].attrs.cx)*n.options.slideFactor,u=parseInt(o["a:ext"].attrs.cy)*n.options.slideFactor,f=parseInt(o["a:chExt"].attrs.cx)*n.options.slideFactor,d=parseInt(o["a:chExt"].attrs.cy)*n.options.slideFactor,h=l/f,p=u/d,m=[],w.t0=Wn.keys(t);case 15:if((w.t1=w.t0()).done){w.next=45;break}if(A=w.t1.value,t[A].constructor!==Array){w.next=39;break}x=Po(t[A]),w.prev=19,x.s();case 21:if((y=x.n()).done){w.next=29;break}return R=y.value,w.next=25,$v(A,R,n,r);case 25:(g=w.sent)&&m.push(g);case 27:w.next=21;break;case 29:w.next=34;break;case 31:w.prev=31,w.t2=w.catch(19),x.e(w.t2);case 34:return w.prev=34,x.f(),w.finish(34);case 37:w.next=43;break;case 39:return w.next=41,$v(A,t[A],n,r);case 41:(b=w.sent)&&m.push(b);case 43:w.next=15;break;case 45:return w.abrupt("return",{type:"group",top:parseFloat(a.toFixed(2)),left:parseFloat(i.toFixed(2)),width:parseFloat(l.toFixed(2)),height:parseFloat(u.toFixed(2)),elements:m.map(function(T){return tc(tc({},T),{},{left:parseFloat(((T.left-s)*h).toFixed(2)),top:parseFloat(((T.top-c)*p).toFixed(2)),width:parseFloat((T.width*h).toFixed(2)),height:parseFloat((T.height*p).toFixed(2))})})});case 46:case"end":return w.stop()}},e,null,[[19,31,34,37]])})),E3.apply(this,arguments)}function DC(e,t,n){var r,o,i=Ue(e,["p:nvSpPr","p:cNvPr","attrs","name"]),a=Ue(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=Ue(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);return s?(r=t.slideLayoutTables.typeTable[s],o=t.slideMasterTables.typeTable[s]):a&&(r=t.slideLayoutTables.idxTable[a],o=t.slideMasterTables.idxTable[a]),s||Ue(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"&&(s="text"),s||(s=Ue(r,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=Ue(o,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=n==="diagramBg"?"diagram":"obj"),KC(e,r,o,i,s,t)}function ine(e,t){return KC(e,void 0,void 0,e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,t)}function KC(e,t,n,r,o,i){var a,s=["p:spPr","a:xfrm"],c=Ue(e,s),l=Ue(t,s),u=Ue(n,s),f=Ue(e,["p:spPr","a:prstGeom","attrs","prst"]),d=Ue(e,["p:spPr","a:custGeom"]),h=_p(c,l,u,i.options.slideFactor),p=h.top,m=h.left,A=Ep(c,l,u,i.options.slideFactor),x=A.width,y=A.height,R=Ue(c,["attrs","flipV"])==="1",g=Ue(c,["attrs","flipH"])==="1",b=zv(Ue(c,["attrs","rot"])),w=Ue(e,["p:txXfrm"]);if(w){var T=Ue(w,["attrs","rot"]);T&&(a=zv(T)+90)}else a=b;var M="";e["p:txBody"]&&(M=G0(e["p:txBody"],e,t,o,i));var O,k=function(Q,B,H){var U=Q["p:spPr"]["a:ln"],te=parseInt(Ue(U,["attrs","w"]))/12700;isNaN(te)&&(te=U||B==="text"?0:1);var z=Ue(U,["a:solidFill","a:srgbClr","attrs","val"]);if(!z){var oe=Ue(U,["a:solidFill","a:schemeClr"]);z=H0("a:"+Ue(oe,["attrs","val"]),H)}if(!z){var pe=Ue(Q,["p:style","a:lnRef","a:schemeClr"]);if(z=H0("a:"+Ue(pe,["attrs","val"]),H)){var Ae=Ue(pe,["a:shade","attrs","val"]);if(Ae){Ae=parseInt(Ae)/1e5;var me=dt("#"+z).toHsl();z=dt({h:me.h,s:me.s,l:me.l*Ae,a:me.a}).toHex()}}}z=z?"#".concat(z):"#000";var $="solid",ue="0";switch(Ue(U,["a:prstDash","attrs","val"])){case"solid":$="solid",ue="0";break;case"dash":$="dashed",ue="5";break;case"dashDot":$="dashed",ue="5, 5, 1, 5";break;case"dot":$="dotted",ue="1, 5";break;case"lgDash":$="dashed",ue="10, 5";break;case"lgDashDotDot":$="dotted",ue="10, 5, 1, 5, 1, 5";break;case"sysDash":$="dashed",ue="5, 2";break;case"sysDashDot":$="dotted",ue="5, 2, 1, 5";break;case"sysDashDotDot":$="dotted",ue="5, 2, 1, 5, 1, 5";break;case"sysDot":$="dotted",ue="2, 5"}return{borderColor:z,borderWidth:te,borderType:$,strokeDasharray:ue}}(e,o,i),F=k.borderColor,N=k.borderWidth,E=k.borderType,C=k.strokeDasharray,_=function(Q,B,H){if(Ue(Q,["p:spPr","a:noFill"]))return B?"none":"";var U;if(U||(U=Ue(Q,["p:spPr","a:solidFill","a:srgbClr","attrs","val"])),U||(U=H0("a:"+Ue(Q,["p:spPr","a:solidFill","a:schemeClr","attrs","val"]),H)),U||(U=H0("a:"+Ue(Q,["p:style","a:fillRef","a:schemeClr","attrs","val"]),H)),U){U="#".concat(U);var te=parseInt(Ue(Q,["p:spPr","a:solidFill","a:schemeClr","a:lumMod","attrs","val"]))/1e5,z=parseInt(Ue(Q,["p:spPr","a:solidFill","a:schemeClr","a:lumOff","attrs","val"]))/1e5;isNaN(te)&&(te=1),isNaN(z)&&(z=0);var oe=dt(U).toHsl(),pe=oe.l*te+z;return dt({h:oe.h,s:oe.s,l:pe,a:oe.a}).toHexString()}return B?"none":U}(e,void 0,i)||"",I=Ue(e,["p:spPr","a:effectLst","a:outerShdw"]);I&&(O=UC(I,i));var W=function(Q,B,H){var U=Ue(Q,["p:txBody","a:bodyPr","attrs","anchor"]);return U||(U=Ue(B,["p:txBody","a:bodyPr","attrs","anchor"]))||(U=Ue(H,["p:txBody","a:bodyPr","attrs","anchor"]))||(U="t"),U==="ctr"?"mid":U==="b"?"down":"up"}(e,t,n),Z=Ue(e,["p:txBody","a:bodyPr","attrs","vert"])==="eaVert",J={left:m,top:p,width:x,height:y,borderColor:F,borderWidth:N,borderType:E,borderStrokeDasharray:C,fillColor:_,content:M,isFlipV:R,isFlipH:g,rotate:b,vAlign:W,name:r};if(O&&(J.shadow=O),d&&o!=="diagram"){var le=Ue(c,["a:ext","attrs"]),D=function(Q,B,H){var U=Ue(Q,["a:pathLst"]),te=Ue(U,["a:path"]);Array.isArray(te)&&(te=te.pop());var z=parseInt(te.attrs.w),oe=parseInt(te.attrs.h),pe=z===0?0:1/z*B,Ae=oe===0?0:1/oe*H,me="",$=Ue(te,["a:moveTo"]),ue=te["a:lnTo"],X=te["a:cubicBezTo"],ne=te["a:arcTo"],se=Ue(te,["a:close"]);Array.isArray($)||($=[$]);var j=[];if($.length>0){if(Object.keys($).forEach(function(Be){var je=$[Be]["a:pt"];je&&Object.keys(je).forEach(function(ke){var Qe=je[ke],qe=Qe.x,xt=Qe.y,ct=Qe.order;j.push({type:"movto",x:qe,y:xt,order:ct})})}),ue&&Object.keys(ue).forEach(function(Be){var je=ue[Be]["a:pt"];je&&Object.keys(je).forEach(function(ke){var Qe=je[ke],qe=Qe.x,xt=Qe.y,ct=Qe.order;j.push({type:"lnto",x:qe,y:xt,order:ct})})}),X){var q=[];Array.isArray(X)||(X=[X]),Object.keys(X).forEach(function(Be){q.push(X[Be]["a:pt"])}),q.forEach(function(Be){var je=[];Be.forEach(function(Qe){var qe={x:Qe.attrs.x,y:Qe.attrs.y};je.push(qe)});var ke=Be[0].attrs.order;j.push({type:"cubicBezTo",cubBzPt:je,order:ke})})}if(ne){var ae=ne.attrs,ge=ae.order,ce=ae.hR,ve=ae.wR,ye=ae.stAng,_e=ae.swAng,Se=0,xe=0,ut=Ue(ne,["a:pt","attrs"]);ut&&(Se=ut.x,xe=ut.y),j.push({type:"arcTo",hR:ce,wR:ve,stAng:ye,swAng:_e,shftX:Se,shftY:xe,order:ge})}se&&(Array.isArray(se)||(se=[se]),Object.keys(se).forEach(function(){j.push({type:"close",order:1/0})})),j.sort(function(Be,je){return Be.order-je.order});for(var tt=0;tt{const e=lt(),{theme:t}=Ee(lt()),{addSlidesFromData:n,isEmptySlide:r}=Dg(),o=he(!1),i=(c,l=!1)=>{const u=c[0],f=new FileReader;f.addEventListener("load",()=>{try{const d=JSON.parse(KP(f.result));l||r.value?e.setSlides(d):n(d)}catch{bn.error("无法正确读取 / 解析该文件")}}),f.readAsText(u)},a=c=>{let l=[0,0],u=[0,0];return!c.isFlipV&&!c.isFlipH?(l=[0,0],u=[c.width,c.height]):c.isFlipV&&c.isFlipH?(l=[c.width,c.height],u=[0,0]):c.isFlipV&&!c.isFlipH?(l=[0,c.height],u=[c.width,0]):(l=[c.width,0],u=[0,c.height]),{type:"line",id:pn(10),width:c.borderWidth||1,left:c.left,top:c.top,start:l,end:u,style:c.borderType==="solid"?"solid":"dashed",color:c.borderColor,points:["",c.shapType==="straightConnector1"?"arrow":""]}};return{importSpecificFile:i,importPPTXFile:c=>{const l=c[0];if(!l)return;o.value=!0;const u=[];for(const d of Nb)u.push(...d.children);const f=new FileReader;f.onload=async d=>{const h=await ene(d.target.result,{slideFactor:8202099737532808e-20,fontsizeFactor:1.0204081632653061}),p=h.size.width,m=Ht/p,A=[];for(const x of h.slides){const{type:y,value:R}=x.fill;let g;y==="image"?g={type:"image",image:R.picBase64,imageSize:"cover"}:y==="gradient"?g={type:"gradient",gradientType:"linear",gradientColor:[R.colors[0].color,R.colors[R.colors.length-1].color],gradientRotate:R.rot}:g={type:"solid",color:R};const b={id:pn(10),elements:[],background:g},w=T=>{for(const M of T){const O=M.width||1,k=M.height||1,F=M.left,N=M.top;if(M.width=M.width*m,M.height=M.height*m,M.left=M.left*m,M.top=M.top*m,M.type==="text"){const E={type:"text",id:pn(10),width:M.width,height:M.height,left:M.left,top:M.top,rotate:M.rotate,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,content:M.content,lineHeight:1,outline:{color:M.borderColor,width:M.borderWidth,style:M.borderType==="solid"?"solid":"dashed"},fill:M.fillColor,vertical:M.isVertical};M.shadow&&(E.shadow=M.shadow),b.elements.push(E)}else if(M.type==="image")b.elements.push({type:"image",id:pn(10),src:M.src,width:M.width,height:M.height,left:M.left,top:M.top,fixedRatio:!0,rotate:M.rotate,flipH:M.isFlipH,flipV:M.isFlipV});else if(M.type==="audio")b.elements.push({type:"audio",id:pn(10),src:M.blob,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,fixedRatio:!1,color:t.value.themeColor,loop:!1,autoplay:!1});else if(M.type==="video")b.elements.push({type:"video",id:pn(10),src:M.blob||M.src,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,autoplay:!1});else if(M.type==="shape")if(M.shapType==="line"||/Connector/.test(M.shapType)){const E=a(M);b.elements.push(E)}else{const E=u.find(I=>I.pptxShapeType===M.shapType),C={mid:"middle",down:"bottom",up:"top"},_={type:"shape",id:pn(10),width:M.width,height:M.height,left:M.left,top:M.top,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:M.fillColor||"none",fixedRatio:!1,rotate:M.rotate,outline:{color:M.borderColor,width:M.borderWidth,style:M.borderType==="solid"?"solid":"dashed"},text:{content:M.content,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,align:C[M.vAlign]||"middle"},flipH:M.isFlipH,flipV:M.isFlipV};if(M.shadow&&(_.shadow=M.shadow),E&&(_.path=E.path,_.viewBox=E.viewBox,E.pathFormula)){_.pathFormula=E.pathFormula,_.viewBox=[M.width,M.height];const I=Gu[E.pathFormula];"editable"in I?(_.path=I.formula(M.width,M.height,I.defaultValue),_.keypoint=I.defaultValue):_.path=I.formula(M.width,M.height)}M.shapType==="custom"&&(_.special=!0,_.path=M.path,_.viewBox=[O,k]),b.elements.push(_)}else if(M.type==="table"){const E=M.data.length,C=M.data[0].length,_={fontname:t.value.fontName,color:t.value.fontColor},I=[];for(let Z=0;ZJ+""),C=["系列1"],_=[Z[1]]}else{const Z=M.data;E=Object.values(Z[0].xlabels),C=Z.map(J=>J.key),_=Z.map(J=>J.values.map(le=>le.y))}const I={};let W="bar";switch(M.chartType){case"barChart":case"bar3DChart":W="bar",M.barDir==="bar"&&(I.horizontalBars=!0),(M.grouping==="stacked"||M.grouping==="percentStacked")&&(I.stackBars=!0);break;case"lineChart":case"line3DChart":case"areaChart":case"area3DChart":case"scatterChart":case"bubbleChart":W="line",(M.chartType==="areaChart"||M.chartType==="area3DChart")&&(I.showArea=!0),(M.chartType==="scatterChart"||M.chartType==="bubbleChart")&&(I.showLine=!1);break;case"pieChart":case"pie3DChart":case"doughnutChart":W="pie",M.chartType==="doughnutChart"&&(I.donut=!0);break}b.elements.push({type:"chart",id:pn(10),chartType:W,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,themeColor:[t.value.themeColor],gridColor:t.value.fontColor,data:{labels:E,legends:C,series:_},options:I})}else if(M.type==="group"||M.type==="diagram"){const E=M.elements.map(C=>({...C,left:C.left+F,top:C.top+N}));w(E)}}};w(x.elements),A.push(b)}r.value?e.setSlides(A):n(A),o.value=!1},f.readAsArrayBuffer(l)},exporting:o}},dne={class:"hotkey-doc"},hne={class:"title"},pne={class:"label"},mne={class:"value"},vne=Ie({__name:"HotkeyDoc",setup(e){return(t,n)=>(Y(),ee("div",dne,[(Y(!0),ee(We,null,ot(G(az),r=>(Y(),ee(We,{key:r.type},[V("div",hne,gt(r.type),1),(Y(!0),ee(We,null,ot(r.children,o=>(Y(),ee("div",{class:"hotkey-item",key:o.label},[V("div",pne,gt(o.label),1),V("div",mne,gt(o.value),1)]))),128))],64))),128))]))}}),gne=Xe(vne,[["__scopeId","data-v-0762be00"]]),Ane=["accept"],Rne=Ie({__name:"FileInput",props:{accept:{default:"image/*"}},emits:["change"],setup(e,{emit:t}){const n=t,r=he(),o=()=>{r.value&&(r.value.value="",r.value.click())},i=a=>{const s=a.target.files;s&&n("change",s)};return(a,s)=>(Y(),ee("div",{class:"file-input",onClick:s[1]||(s[1]=c=>o())},[lr(a.$slots,"default",{},void 0,!0),V("input",{class:"input",type:"file",name:"upload",ref_key:"inputRef",ref:r,accept:a.accept,onChange:s[0]||(s[0]=c=>i(c))},null,40,Ane)]))}}),Fu=Xe(Rne,[["__scopeId","data-v-1bd53d05"]]),yne=e=>(rn("data-v-9856918a"),e=e(),on(),e),xne={key:0,class:"fullscreen-spin"},bne={class:"spin"},Sne=yne(()=>V("div",{class:"spinner"},null,-1)),Mne={class:"text"},wne=Ie({__name:"FullscreenSpin",props:{loading:{type:Boolean,default:!1},tip:{default:""}},setup(e){return(t,n)=>t.loading?(Y(),ee("div",xne,[V("div",bne,[Sne,V("div",Mne,gt(t.tip),1)])])):Ze("",!0)}}),Jb=Xe(wne,[["__scopeId","data-v-9856918a"]]),Lne={class:"header"},One=Ie({__name:"Drawer",props:{visible:{type:Boolean},width:{default:320},contentStyle:{},placement:{default:"right"}},emits:["update:visible"],setup(e,{emit:t}){const n=e,r=t,o=he(!1),i=Me(()=>({width:n.width+"px",...n.contentStyle||{}}));return(a,s)=>{const c=be("IconClose");return Y(),Te(eb,{to:"body"},[L(Ou,{name:`drawer-slide-${a.placement}`,onAfterLeave:s[1]||(s[1]=l=>o.value=!1),onBeforeEnter:s[2]||(s[2]=l=>o.value=!0)},{default:ie(()=>[Ke(V("div",{class:Je(["drawer",a.placement]),style:we({width:n.width+"px"})},[V("div",Lne,[lr(a.$slots,"title",{},void 0,!0),V("span",{class:"close-btn",onClick:s[0]||(s[0]=l=>r("update:visible",!1))},[L(c)])]),o.value?(Y(),ee("div",{key:0,class:"content",style:we(i.value)},[lr(a.$slots,"default",{},void 0,!0)],4)):Ze("",!0)],6),[[il,a.visible]])]),_:3},8,["name"])])}}}),Tne=Xe(One,[["__scopeId","data-v-46f39759"]]),kne={class:"prefix"},Nne=["disabled","value","placeholder"],Pne={class:"suffix"},Cne=Ie({__name:"Input",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{expose:t,emit:n}){const r=n,o=he(!1),i=u=>{r("update:value",u.target.value)},a=u=>{o.value=!1,r("blur",u)},s=u=>{o.value=!0,r("focus",u)},c=he();return t({focus:()=>{c.value&&c.value.focus()}}),(u,f)=>(Y(),ee("div",{class:Je(["input",{disabled:u.disabled,focused:o.value}])},[V("span",kne,[lr(u.$slots,"prefix",{},void 0,!0)]),V("input",{type:"text",ref_key:"inputRef",ref:c,disabled:u.disabled,value:u.value,placeholder:u.placeholder,onInput:f[0]||(f[0]=d=>i(d)),onFocus:f[1]||(f[1]=d=>s(d)),onBlur:f[2]||(f[2]=d=>a(d)),onChange:f[3]||(f[3]=d=>r("change",d)),onKeydown:f[4]||(f[4]=gc(d=>r("enter",d),["enter"]))},null,40,Nne),V("span",Pne,[lr(u.$slots,"suffix",{},void 0,!0)])],2))}}),_u=Xe(Cne,[["__scopeId","data-v-08dd2583"]]);var ei="top",ta="bottom",na="right",ti="left",zb="auto",Xp=[ei,ta,na,ti],Od="start",np="end",Ine="clippingParents",HC="viewport",v0="popper",Fne="reference",RO=Xp.reduce(function(e,t){return e.concat([t+"-"+Od,t+"-"+np])},[]),GC=[].concat(Xp,[zb]).reduce(function(e,t){return e.concat([t,t+"-"+Od,t+"-"+np])},[]),_ne="beforeRead",Ene="read",Xne="afterRead",Wne="beforeMain",Vne="main",Une="afterMain",Yne="beforeWrite",Qne="write",Zne="afterWrite",Bne=[_ne,Ene,Xne,Wne,Vne,Une,Yne,Qne,Zne];function ps(e){return e?(e.nodeName||"").toLowerCase():null}function Ci(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Eu(e){var t=Ci(e).Element;return e instanceof t||e instanceof Element}function $i(e){var t=Ci(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $b(e){if(typeof ShadowRoot>"u")return!1;var t=Ci(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Dne(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!$i(i)||!ps(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function Kne(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(c,l){return c[l]="",c},{});!$i(o)||!ps(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(c){o.removeAttribute(c)}))})}}const JC={name:"applyStyles",enabled:!0,phase:"write",fn:Dne,effect:Kne,requires:["computeStyles"]};function fs(e){return e.split("-")[0]}var Au=Math.max,jv=Math.min,Td=Math.round;function U3(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function zC(){return!/^((?!chrome|android).)*safari/i.test(U3())}function kd(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&$i(e)&&(o=e.offsetWidth>0&&Td(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Td(r.height)/e.offsetHeight||1);var a=Eu(e)?Ci(e):window,s=a.visualViewport,c=!zC()&&n,l=(r.left+(c&&s?s.offsetLeft:0))/o,u=(r.top+(c&&s?s.offsetTop:0))/i,f=r.width/o,d=r.height/i;return{width:f,height:d,top:u,right:l+f,bottom:u+d,left:l,x:l,y:u}}function jb(e){var t=kd(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function $C(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&$b(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function sl(e){return Ci(e).getComputedStyle(e)}function Hne(e){return["table","td","th"].indexOf(ps(e))>=0}function Mc(e){return((Eu(e)?e.ownerDocument:e.document)||window.document).documentElement}function r2(e){return ps(e)==="html"?e:e.assignedSlot||e.parentNode||($b(e)?e.host:null)||Mc(e)}function yO(e){return!$i(e)||sl(e).position==="fixed"?null:e.offsetParent}function Gne(e){var t=/firefox/i.test(U3()),n=/Trident/i.test(U3());if(n&&$i(e)){var r=sl(e);if(r.position==="fixed")return null}var o=r2(e);for($b(o)&&(o=o.host);$i(o)&&["html","body"].indexOf(ps(o))<0;){var i=sl(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Wp(e){for(var t=Ci(e),n=yO(e);n&&Hne(n)&&sl(n).position==="static";)n=yO(n);return n&&(ps(n)==="html"||ps(n)==="body"&&sl(n).position==="static")?t:n||Gne(e)||t}function qb(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Sh(e,t,n){return Au(e,jv(t,n))}function Jne(e,t,n){var r=Sh(e,t,n);return r>n?n:r}function jC(){return{top:0,right:0,bottom:0,left:0}}function qC(e){return Object.assign({},jC(),e)}function eI(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var zne=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,qC(typeof t!="number"?t:eI(t,Xp))};function $ne(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=fs(n.placement),c=qb(s),l=[ti,na].indexOf(s)>=0,u=l?"height":"width";if(!(!i||!a)){var f=zne(o.padding,n),d=jb(i),h=c==="y"?ei:ti,p=c==="y"?ta:na,m=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],A=a[c]-n.rects.reference[c],x=Wp(i),y=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,R=m/2-A/2,g=f[h],b=y-d[u]-f[p],w=y/2-d[u]/2+R,T=Sh(g,w,b),M=c;n.modifiersData[r]=(t={},t[M]=T,t.centerOffset=T-w,t)}}function jne(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||$C(t.elements.popper,o)&&(t.elements.arrow=o))}const qne={name:"arrow",enabled:!0,phase:"main",fn:$ne,effect:jne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Nd(e){return e.split("-")[1]}var ere={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tre(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Td(n*o)/o||0,y:Td(r*o)/o||0}}function xO(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,m=p===void 0?0:p,A=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=A.x,m=A.y;var x=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),R=ti,g=ei,b=window;if(l){var w=Wp(n),T="clientHeight",M="clientWidth";if(w===Ci(n)&&(w=Mc(n),sl(w).position!=="static"&&s==="absolute"&&(T="scrollHeight",M="scrollWidth")),w=w,o===ei||(o===ti||o===na)&&i===np){g=ta;var O=f&&w===b&&b.visualViewport?b.visualViewport.height:w[T];m-=O-r.height,m*=c?1:-1}if(o===ti||(o===ei||o===ta)&&i===np){R=na;var k=f&&w===b&&b.visualViewport?b.visualViewport.width:w[M];h-=k-r.width,h*=c?1:-1}}var F=Object.assign({position:s},l&&ere),N=u===!0?tre({x:h,y:m},Ci(n)):{x:h,y:m};if(h=N.x,m=N.y,c){var E;return Object.assign({},F,(E={},E[g]=y?"0":"",E[R]=x?"0":"",E.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",E))}return Object.assign({},F,(t={},t[g]=y?m+"px":"",t[R]=x?h+"px":"",t.transform="",t))}function nre(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,c=s===void 0?!0:s,l={placement:fs(t.placement),variation:Nd(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,xO(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,xO(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const rre={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:nre,data:{}};var vm={passive:!0};function ore(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,c=Ci(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",n.update,vm)}),s&&c.addEventListener("resize",n.update,vm),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",n.update,vm)}),s&&c.removeEventListener("resize",n.update,vm)}}const ire={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ore,data:{}};var are={left:"right",right:"left",bottom:"top",top:"bottom"};function $m(e){return e.replace(/left|right|bottom|top/g,function(t){return are[t]})}var sre={start:"end",end:"start"};function bO(e){return e.replace(/start|end/g,function(t){return sre[t]})}function e5(e){var t=Ci(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function t5(e){return kd(Mc(e)).left+e5(e).scrollLeft}function lre(e,t){var n=Ci(e),r=Mc(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=zC();(l||!l&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+t5(e),y:c}}function cre(e){var t,n=Mc(e),r=e5(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Au(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Au(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+t5(e),c=-r.scrollTop;return sl(o||n).direction==="rtl"&&(s+=Au(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function n5(e){var t=sl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function tI(e){return["html","body","#document"].indexOf(ps(e))>=0?e.ownerDocument.body:$i(e)&&n5(e)?e:tI(r2(e))}function Mh(e,t){var n;t===void 0&&(t=[]);var r=tI(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ci(r),a=o?[i].concat(i.visualViewport||[],n5(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Mh(r2(a)))}function Y3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ure(e,t){var n=kd(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function SO(e,t,n){return t===HC?Y3(lre(e,n)):Eu(t)?ure(t,n):Y3(cre(Mc(e)))}function fre(e){var t=Mh(r2(e)),n=["absolute","fixed"].indexOf(sl(e).position)>=0,r=n&&$i(e)?Wp(e):e;return Eu(r)?t.filter(function(o){return Eu(o)&&$C(o,r)&&ps(o)!=="body"}):[]}function dre(e,t,n,r){var o=t==="clippingParents"?fre(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(c,l){var u=SO(e,l,r);return c.top=Au(u.top,c.top),c.right=jv(u.right,c.right),c.bottom=jv(u.bottom,c.bottom),c.left=Au(u.left,c.left),c},SO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function nI(e){var t=e.reference,n=e.element,r=e.placement,o=r?fs(r):null,i=r?Nd(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(o){case ei:c={x:a,y:t.y-n.height};break;case ta:c={x:a,y:t.y+t.height};break;case na:c={x:t.x+t.width,y:s};break;case ti:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var l=o?qb(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case Od:c[l]=c[l]-(t[u]/2-n[u]/2);break;case np:c[l]=c[l]+(t[u]/2-n[u]/2);break}}return c}function rp(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,c=s===void 0?Ine:s,l=n.rootBoundary,u=l===void 0?HC:l,f=n.elementContext,d=f===void 0?v0:f,h=n.altBoundary,p=h===void 0?!1:h,m=n.padding,A=m===void 0?0:m,x=qC(typeof A!="number"?A:eI(A,Xp)),y=d===v0?Fne:v0,R=e.rects.popper,g=e.elements[p?y:d],b=dre(Eu(g)?g:g.contextElement||Mc(e.elements.popper),c,u,a),w=kd(e.elements.reference),T=nI({reference:w,element:R,strategy:"absolute",placement:o}),M=Y3(Object.assign({},R,T)),O=d===v0?M:w,k={top:b.top-O.top+x.top,bottom:O.bottom-b.bottom+x.bottom,left:b.left-O.left+x.left,right:O.right-b.right+x.right},F=e.modifiersData.offset;if(d===v0&&F){var N=F[o];Object.keys(k).forEach(function(E){var C=[na,ta].indexOf(E)>=0?1:-1,_=[ei,ta].indexOf(E)>=0?"y":"x";k[E]+=N[_]*C})}return k}function hre(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?GC:c,u=Nd(r),f=u?s?RO:RO.filter(function(p){return Nd(p)===u}):Xp,d=f.filter(function(p){return l.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,m){return p[m]=rp(e,{placement:m,boundary:o,rootBoundary:i,padding:a})[fs(m)],p},{});return Object.keys(h).sort(function(p,m){return h[p]-h[m]})}function pre(e){if(fs(e)===zb)return[];var t=$m(e);return[bO(e),t,bO(t)]}function mre(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,m=n.allowedAutoPlacements,A=t.options.placement,x=fs(A),y=x===A,R=c||(y||!p?[$m(A)]:pre(A)),g=[A].concat(R).reduce(function(H,U){return H.concat(fs(U)===zb?hre(t,{placement:U,boundary:u,rootBoundary:f,padding:l,flipVariations:p,allowedAutoPlacements:m}):U)},[]),b=t.rects.reference,w=t.rects.popper,T=new Map,M=!0,O=g[0],k=0;k=0,_=C?"width":"height",I=rp(t,{placement:F,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),W=C?E?na:ti:E?ta:ei;b[_]>w[_]&&(W=$m(W));var Z=$m(W),J=[];if(i&&J.push(I[N]<=0),s&&J.push(I[W]<=0,I[Z]<=0),J.every(function(H){return H})){O=F,M=!1;break}T.set(F,J)}if(M)for(var le=p?3:1,D=function(U){var te=g.find(function(z){var oe=T.get(z);if(oe)return oe.slice(0,U).every(function(pe){return pe})});if(te)return O=te,"break"},Q=le;Q>0;Q--){var B=D(Q);if(B==="break")break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}}const vre={name:"flip",enabled:!0,phase:"main",fn:mre,requiresIfExists:["offset"],data:{_skip:!1}};function MO(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function wO(e){return[ei,na,ta,ti].some(function(t){return e[t]>=0})}function gre(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=rp(t,{elementContext:"reference"}),s=rp(t,{altBoundary:!0}),c=MO(a,r),l=MO(s,o,i),u=wO(c),f=wO(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Are={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:gre};function Rre(e,t,n){var r=fs(e),o=[ti,ei].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ti,na].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function yre(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=GC.reduce(function(u,f){return u[f]=Rre(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}const xre={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:yre};function bre(e){var t=e.state,n=e.name;t.modifiersData[n]=nI({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Sre={name:"popperOffsets",enabled:!0,phase:"read",fn:bre,data:{}};function Mre(e){return e==="x"?"y":"x"}function wre(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,m=p===void 0?0:p,A=rp(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),x=fs(t.placement),y=Nd(t.placement),R=!y,g=qb(x),b=Mre(g),w=t.modifiersData.popperOffsets,T=t.rects.reference,M=t.rects.popper,O=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,k=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(w){if(i){var E,C=g==="y"?ei:ti,_=g==="y"?ta:na,I=g==="y"?"height":"width",W=w[g],Z=W+A[C],J=W-A[_],le=h?-M[I]/2:0,D=y===Od?T[I]:M[I],Q=y===Od?-M[I]:-T[I],B=t.elements.arrow,H=h&&B?jb(B):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jC(),te=U[C],z=U[_],oe=Sh(0,T[I],H[I]),pe=R?T[I]/2-le-oe-te-k.mainAxis:D-oe-te-k.mainAxis,Ae=R?-T[I]/2+le+oe+z+k.mainAxis:Q+oe+z+k.mainAxis,me=t.elements.arrow&&Wp(t.elements.arrow),$=me?g==="y"?me.clientTop||0:me.clientLeft||0:0,ue=(E=F==null?void 0:F[g])!=null?E:0,X=W+pe-ue-$,ne=W+Ae-ue,se=Sh(h?jv(Z,X):Z,W,h?Au(J,ne):J);w[g]=se,N[g]=se-W}if(s){var j,q=g==="x"?ei:ti,ae=g==="x"?ta:na,ge=w[b],ce=b==="y"?"height":"width",ve=ge+A[q],ye=ge-A[ae],_e=[ei,ti].indexOf(x)!==-1,Se=(j=F==null?void 0:F[b])!=null?j:0,xe=_e?ve:ge-T[ce]-M[ce]-Se+k.altAxis,ut=_e?ge+T[ce]+M[ce]-Se-k.altAxis:ye,tt=h&&_e?Jne(xe,ge,ut):Sh(h?xe:ve,ge,h?ut:ye);w[b]=tt,N[b]=tt-ge}t.modifiersData[r]=N}}const Lre={name:"preventOverflow",enabled:!0,phase:"main",fn:wre,requiresIfExists:["offset"]};function Ore(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Tre(e){return e===Ci(e)||!$i(e)?e5(e):Ore(e)}function kre(e){var t=e.getBoundingClientRect(),n=Td(t.width)/e.offsetWidth||1,r=Td(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Nre(e,t,n){n===void 0&&(n=!1);var r=$i(t),o=$i(t)&&kre(t),i=Mc(t),a=kd(e,o,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((ps(t)!=="body"||n5(i))&&(s=Tre(t)),$i(t)?(c=kd(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=t5(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Pre(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var c=t.get(s);c&&o(c)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function Cre(e){var t=Pre(e);return Bne.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function Ire(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Fre(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var LO={placement:"bottom",modifiers:[],strategy:"absolute"};function OO(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function sI(e,t){return typeof e=="function"?e.apply(void 0,t):e}function TO(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Ure(e){return e.split(/\s+/).filter(Boolean)}function Yf(e){return[].concat(e)}function kO(e,t){e.indexOf(t)===-1&&e.push(t)}function Yre(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Qre(e){return e.split("-")[0]}function qv(e){return[].slice.call(e)}function NO(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function wh(){return document.createElement("div")}function o2(e){return["Element","Fragment"].some(function(t){return r5(e,t)})}function Zre(e){return r5(e,"NodeList")}function Bre(e){return r5(e,"MouseEvent")}function Dre(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Kre(e){return o2(e)?[e]:Zre(e)?qv(e):Array.isArray(e)?e:qv(document.querySelectorAll(e))}function _y(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function PO(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Hre(e){var t,n=Yf(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Gre(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var i=o.popperRect,a=o.popperState,s=o.props,c=s.interactiveBorder,l=Qre(a.placement),u=a.modifiersData.offset;if(!u)return!0;var f=l==="bottom"?u.top.y:0,d=l==="top"?u.bottom.y:0,h=l==="right"?u.left.x:0,p=l==="left"?u.right.x:0,m=i.top-r+f>c,A=r-i.bottom-d>c,x=i.left-n+h>c,y=n-i.right-p>c;return m||A||x||y})}function Ey(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function CO(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var $a={isTouch:!1},IO=0;function Jre(){$a.isTouch||($a.isTouch=!0,window.performance&&document.addEventListener("mousemove",lI))}function lI(){var e=performance.now();e-IO<20&&($a.isTouch=!1,document.removeEventListener("mousemove",lI)),IO=e}function zre(){var e=document.activeElement;if(Dre(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function $re(){document.addEventListener("touchstart",Jre,Gc),window.addEventListener("blur",zre)}var jre=typeof window<"u"&&typeof document<"u",qre=jre?!!window.msCrypto:!1,eoe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},toe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Na=Object.assign({appendTo:aI,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},eoe,toe),noe=Object.keys(Na),roe=function(t){var n=Object.keys(t);n.forEach(function(r){Na[r]=t[r]})};function cI(e){var t=e.plugins||[],n=t.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var s;r[i]=e[i]!==void 0?e[i]:(s=Na[i])!=null?s:a}return r},{});return Object.assign({},e,n)}function ooe(e,t){var n=t?Object.keys(cI(Object.assign({},Na,{plugins:t}))):noe,r=n.reduce(function(o,i){var a=(e.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function FO(e,t){var n=Object.assign({},t,{content:sI(t.content,[e])},t.ignoreAttributes?{}:ooe(e,t.plugins));return n.aria=Object.assign({},Na.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var ioe=function(){return"innerHTML"};function Q3(e,t){e[ioe()]=t}function _O(e){var t=wh();return e===!0?t.className=oI:(t.className=iI,o2(e)?t.appendChild(e):Q3(t,e)),t}function EO(e,t){o2(t.content)?(Q3(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Q3(e,t.content):e.textContent=t.content)}function Z3(e){var t=e.firstElementChild,n=qv(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(rI)}),arrow:n.find(function(r){return r.classList.contains(oI)||r.classList.contains(iI)}),backdrop:n.find(function(r){return r.classList.contains(Vre)})}}function uI(e){var t=wh(),n=wh();n.className=Wre,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=wh();r.className=rI,r.setAttribute("data-state","hidden"),EO(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(i,a){var s=Z3(t),c=s.box,l=s.content,u=s.arrow;a.theme?c.setAttribute("data-theme",a.theme):c.removeAttribute("data-theme"),typeof a.animation=="string"?c.setAttribute("data-animation",a.animation):c.removeAttribute("data-animation"),a.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?c.setAttribute("role",a.role):c.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&EO(l,e.props),a.arrow?u?i.arrow!==a.arrow&&(c.removeChild(u),c.appendChild(_O(a.arrow))):c.appendChild(_O(a.arrow)):u&&c.removeChild(u)}return{popper:t,onUpdate:o}}uI.$$tippy=!0;var aoe=1,gm=[],Xy=[];function soe(e,t){var n=FO(e,Object.assign({},Na,cI(NO(t)))),r,o,i,a=!1,s=!1,c=!1,l=!1,u,f,d,h=[],p=TO(X,n.interactiveDebounce),m,A=aoe++,x=null,y=Yre(n.plugins),R={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},g={id:A,reference:e,popper:wh(),popperInstance:x,props:n,state:R,plugins:y,clearDelayTimeouts:xe,setProps:ut,setContent:tt,show:Oe,hide:Ne,hideWithInteractivity:Fe,enable:_e,disable:Se,unmount:Be,destroy:je};if(!n.render)return g;var b=n.render(g),w=b.popper,T=b.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+g.id,g.popper=w,e._tippy=g,w._tippy=g;var M=y.map(function(ke){return ke.fn(g)}),O=e.hasAttribute("aria-expanded");return me(),le(),W(),Z("onCreate",[g]),n.showOnCreate&&ve(),w.addEventListener("mouseenter",function(){g.props.interactive&&g.state.isVisible&&g.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){g.props.interactive&&g.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",p)}),g;function k(){var ke=g.props.touch;return Array.isArray(ke)?ke:[ke,0]}function F(){return k()[0]==="hold"}function N(){var ke;return!!((ke=g.props.render)!=null&&ke.$$tippy)}function E(){return m||e}function C(){var ke=E().parentNode;return ke?Hre(ke):document}function _(){return Z3(w)}function I(ke){return g.state.isMounted&&!g.state.isVisible||$a.isTouch||u&&u.type==="focus"?0:Fy(g.props.delay,ke?0:1,Na.delay)}function W(ke){ke===void 0&&(ke=!1),w.style.pointerEvents=g.props.interactive&&!ke?"":"none",w.style.zIndex=""+g.props.zIndex}function Z(ke,Qe,qe){if(qe===void 0&&(qe=!0),M.forEach(function(ct){ct[ke]&&ct[ke].apply(ct,Qe)}),qe){var xt;(xt=g.props)[ke].apply(xt,Qe)}}function J(){var ke=g.props.aria;if(ke.content){var Qe="aria-"+ke.content,qe=w.id,xt=Yf(g.props.triggerTarget||e);xt.forEach(function(ct){var ht=ct.getAttribute(Qe);if(g.state.isVisible)ct.setAttribute(Qe,ht?ht+" "+qe:qe);else{var At=ht&&ht.replace(qe,"").trim();At?ct.setAttribute(Qe,At):ct.removeAttribute(Qe)}})}}function le(){if(!(O||!g.props.aria.expanded)){var ke=Yf(g.props.triggerTarget||e);ke.forEach(function(Qe){g.props.interactive?Qe.setAttribute("aria-expanded",g.state.isVisible&&Qe===E()?"true":"false"):Qe.removeAttribute("aria-expanded")})}}function D(){C().removeEventListener("mousemove",p),gm=gm.filter(function(ke){return ke!==p})}function Q(ke){if(!($a.isTouch&&(c||ke.type==="mousedown"))){var Qe=ke.composedPath&&ke.composedPath()[0]||ke.target;if(!(g.props.interactive&&CO(w,Qe))){if(Yf(g.props.triggerTarget||e).some(function(qe){return CO(qe,Qe)})){if($a.isTouch||g.state.isVisible&&g.props.trigger.indexOf("click")>=0)return}else Z("onClickOutside",[g,ke]);g.props.hideOnClick===!0&&(g.clearDelayTimeouts(),g.hide(),s=!0,setTimeout(function(){s=!1}),g.state.isMounted||te())}}}function B(){c=!0}function H(){c=!1}function U(){var ke=C();ke.addEventListener("mousedown",Q,!0),ke.addEventListener("touchend",Q,Gc),ke.addEventListener("touchstart",H,Gc),ke.addEventListener("touchmove",B,Gc)}function te(){var ke=C();ke.removeEventListener("mousedown",Q,!0),ke.removeEventListener("touchend",Q,Gc),ke.removeEventListener("touchstart",H,Gc),ke.removeEventListener("touchmove",B,Gc)}function z(ke,Qe){pe(ke,function(){!g.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&Qe()})}function oe(ke,Qe){pe(ke,Qe)}function pe(ke,Qe){var qe=_().box;function xt(ct){ct.target===qe&&(Ey(qe,"remove",xt),Qe())}if(ke===0)return Qe();Ey(qe,"remove",f),Ey(qe,"add",xt),f=xt}function Ae(ke,Qe,qe){qe===void 0&&(qe=!1);var xt=Yf(g.props.triggerTarget||e);xt.forEach(function(ct){ct.addEventListener(ke,Qe,qe),h.push({node:ct,eventType:ke,handler:Qe,options:qe})})}function me(){F()&&(Ae("touchstart",ue,{passive:!0}),Ae("touchend",ne,{passive:!0})),Ure(g.props.trigger).forEach(function(ke){if(ke!=="manual")switch(Ae(ke,ue),ke){case"mouseenter":Ae("mouseleave",ne);break;case"focus":Ae(qre?"focusout":"blur",se);break;case"focusin":Ae("focusout",se);break}})}function $(){h.forEach(function(ke){var Qe=ke.node,qe=ke.eventType,xt=ke.handler,ct=ke.options;Qe.removeEventListener(qe,xt,ct)}),h=[]}function ue(ke){var Qe,qe=!1;if(!(!g.state.isEnabled||j(ke)||s)){var xt=((Qe=u)==null?void 0:Qe.type)==="focus";u=ke,m=ke.currentTarget,le(),!g.state.isVisible&&Bre(ke)&&gm.forEach(function(ct){return ct(ke)}),ke.type==="click"&&(g.props.trigger.indexOf("mouseenter")<0||a)&&g.props.hideOnClick!==!1&&g.state.isVisible?qe=!0:ve(ke),ke.type==="click"&&(a=!qe),qe&&!xt&&ye(ke)}}function X(ke){var Qe=ke.target,qe=E().contains(Qe)||w.contains(Qe);if(!(ke.type==="mousemove"&&qe)){var xt=ce().concat(w).map(function(ct){var ht,At=ct._tippy,Ft=(ht=At.popperInstance)==null?void 0:ht.state;return Ft?{popperRect:ct.getBoundingClientRect(),popperState:Ft,props:n}:null}).filter(Boolean);Gre(xt,ke)&&(D(),ye(ke))}}function ne(ke){var Qe=j(ke)||g.props.trigger.indexOf("click")>=0&&a;if(!Qe){if(g.props.interactive){g.hideWithInteractivity(ke);return}ye(ke)}}function se(ke){g.props.trigger.indexOf("focusin")<0&&ke.target!==E()||g.props.interactive&&ke.relatedTarget&&w.contains(ke.relatedTarget)||ye(ke)}function j(ke){return $a.isTouch?F()!==ke.type.indexOf("touch")>=0:!1}function q(){ae();var ke=g.props,Qe=ke.popperOptions,qe=ke.placement,xt=ke.offset,ct=ke.getReferenceClientRect,ht=ke.moveTransition,At=N()?Z3(w).arrow:null,Ft=ct?{getBoundingClientRect:ct,contextElement:ct.contextElement||E()}:e,Qt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_a){var io=_a.state;if(N()){var nf=_(),Tc=nf.box;["placement","reference-hidden","escaped"].forEach(function(Ms){Ms==="placement"?Tc.setAttribute("data-placement",io.placement):io.attributes.popper["data-popper-"+Ms]?Tc.setAttribute("data-"+Ms,""):Tc.removeAttribute("data-"+Ms)}),io.attributes.popper={}}}},Nn=[{name:"offset",options:{offset:xt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ht}},Qt];N()&&At&&Nn.push({name:"arrow",options:{element:At,padding:3}}),Nn.push.apply(Nn,(Qe==null?void 0:Qe.modifiers)||[]),g.popperInstance=Xre(Ft,w,Object.assign({},Qe,{placement:qe,onFirstUpdate:d,modifiers:Nn}))}function ae(){g.popperInstance&&(g.popperInstance.destroy(),g.popperInstance=null)}function ge(){var ke=g.props.appendTo,Qe,qe=E();g.props.interactive&&ke===aI||ke==="parent"?Qe=qe.parentNode:Qe=sI(ke,[qe]),Qe.contains(w)||Qe.appendChild(w),g.state.isMounted=!0,q()}function ce(){return qv(w.querySelectorAll("[data-tippy-root]"))}function ve(ke){g.clearDelayTimeouts(),ke&&Z("onTrigger",[g,ke]),U();var Qe=I(!0),qe=k(),xt=qe[0],ct=qe[1];$a.isTouch&&xt==="hold"&&ct&&(Qe=ct),Qe?r=setTimeout(function(){g.show()},Qe):g.show()}function ye(ke){if(g.clearDelayTimeouts(),Z("onUntrigger",[g,ke]),!g.state.isVisible){te();return}if(!(g.props.trigger.indexOf("mouseenter")>=0&&g.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ke.type)>=0&&a)){var Qe=I(!1);Qe?o=setTimeout(function(){g.state.isVisible&&g.hide()},Qe):i=requestAnimationFrame(function(){g.hide()})}}function _e(){g.state.isEnabled=!0}function Se(){g.hide(),g.state.isEnabled=!1}function xe(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function ut(ke){if(!g.state.isDestroyed){Z("onBeforeUpdate",[g,ke]),$();var Qe=g.props,qe=FO(e,Object.assign({},Qe,NO(ke),{ignoreAttributes:!0}));g.props=qe,me(),Qe.interactiveDebounce!==qe.interactiveDebounce&&(D(),p=TO(X,qe.interactiveDebounce)),Qe.triggerTarget&&!qe.triggerTarget?Yf(Qe.triggerTarget).forEach(function(xt){xt.removeAttribute("aria-expanded")}):qe.triggerTarget&&e.removeAttribute("aria-expanded"),le(),W(),T&&T(Qe,qe),g.popperInstance&&(q(),ce().forEach(function(xt){requestAnimationFrame(xt._tippy.popperInstance.forceUpdate)})),Z("onAfterUpdate",[g,ke])}}function tt(ke){g.setProps({content:ke})}function Oe(){var ke=g.state.isVisible,Qe=g.state.isDestroyed,qe=!g.state.isEnabled,xt=$a.isTouch&&!g.props.touch,ct=Fy(g.props.duration,0,Na.duration);if(!(ke||Qe||qe||xt)&&!E().hasAttribute("disabled")&&(Z("onShow",[g],!1),g.props.onShow(g)!==!1)){if(g.state.isVisible=!0,N()&&(w.style.visibility="visible"),W(),U(),g.state.isMounted||(w.style.transition="none"),N()){var ht=_(),At=ht.box,Ft=ht.content;_y([At,Ft],0)}d=function(){var Nn;if(!(!g.state.isVisible||l)){if(l=!0,w.offsetHeight,w.style.transition=g.props.moveTransition,N()&&g.props.animation){var aa=_(),_a=aa.box,io=aa.content;_y([_a,io],ct),PO([_a,io],"visible")}J(),le(),kO(Xy,g),(Nn=g.popperInstance)==null||Nn.forceUpdate(),Z("onMount",[g]),g.props.animation&&N()&&oe(ct,function(){g.state.isShown=!0,Z("onShown",[g])})}},ge()}}function Ne(){var ke=!g.state.isVisible,Qe=g.state.isDestroyed,qe=!g.state.isEnabled,xt=Fy(g.props.duration,1,Na.duration);if(!(ke||Qe||qe)&&(Z("onHide",[g],!1),g.props.onHide(g)!==!1)){if(g.state.isVisible=!1,g.state.isShown=!1,l=!1,a=!1,N()&&(w.style.visibility="hidden"),D(),te(),W(!0),N()){var ct=_(),ht=ct.box,At=ct.content;g.props.animation&&(_y([ht,At],xt),PO([ht,At],"hidden"))}J(),le(),g.props.animation?N()&&z(xt,g.unmount):g.unmount()}}function Fe(ke){C().addEventListener("mousemove",p),kO(gm,p),p(ke)}function Be(){g.state.isVisible&&g.hide(),g.state.isMounted&&(ae(),ce().forEach(function(ke){ke._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),Xy=Xy.filter(function(ke){return ke!==g}),g.state.isMounted=!1,Z("onHidden",[g]))}function je(){g.state.isDestroyed||(g.clearDelayTimeouts(),g.unmount(),$(),delete e._tippy,g.state.isDestroyed=!0,Z("onDestroy",[g]))}}function ju(e,t){t===void 0&&(t={});var n=Na.plugins.concat(t.plugins||[]);$re();var r=Object.assign({},t,{plugins:n}),o=Kre(e),i=o.reduce(function(a,s){var c=s&&soe(s,r);return c&&a.push(c),a},[]);return o2(e)?i[0]:i}ju.defaultProps=Na;ju.setDefaultProps=roe;ju.currentInput=$a;Object.assign({},JC,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});ju.setDefaultProps({render:uI});const loe=Ie({__name:"Popover",props:{value:{type:Boolean,default:!1},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{},contentStyle:{},center:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=he(),i=he(),a=he(),s=he(!1),c=Me(()=>n.contentStyle||{});return Tt(()=>n.value,()=>{o.value&&(n.value?o.value.show():o.value.hide())}),wn(()=>{o.value&&o.value.destroy()}),Gt(()=>{o.value=ju(i.value,{content:a.value,allowHTML:!0,trigger:n.trigger,placement:n.placement,interactive:!0,appendTo:n.appendTo||document.body,maxWidth:"none",offset:[0,8],duration:200,animation:"scale",theme:"popover",onShow(){s.value=!0},onShown(){n.value||r("update:value",!0)},onHidden(){n.value&&r("update:value",!1),s.value=!1}})}),(l,u)=>(Y(),ee("div",{class:Je(["popover",{center:l.center}]),ref_key:"triggerRef",ref:i},[V("div",{class:"popover-content",style:we(c.value),ref_key:"contentRef",ref:a},[s.value?lr(l.$slots,"content",{key:0},void 0,!0):Ze("",!0)],4),lr(l.$slots,"default",{},void 0,!0)],2))}}),Pt=Xe(loe,[["__scopeId","data-v-7277ff01"]]),coe=Ie({__name:"PopoverMenuItem",props:{center:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=t;return(r,o)=>(Y(),ee("div",{class:Je(["popover-menu-item",{center:r.center}]),onClick:o[0]||(o[0]=i=>n("click"))},[lr(r.$slots,"default",{},void 0,!0)],2))}}),Oo=Xe(coe,[["__scopeId","data-v-1f176c16"]]),uoe={class:"editor-header"},foe={class:"left"},doe={class:"menu-item"},hoe={class:"title"},poe=["title"],moe={class:"right"},voe={class:"group-menu-item"},goe={class:"arrow-btn"},Aoe={class:"github-link",href:"https://github.com/pipipi-pikachu/PPTist",target:"_blank"},Roe={class:"menu-item"},yoe=Ie({__name:"index",setup(e){const t=ft(),n=lt(),{title:r}=Ee(n),{enterScreening:o,enterScreeningFromStart:i}=Sc(),{importSpecificFile:a,importPPTXFile:s,exporting:c}=fne(),{resetSlides:l}=Bd(),u=he(!1),f=he(!1),d=he(!1),h=he(),p=he(""),m=()=>{p.value=r.value,d.value=!0,Wr(()=>{var R;return(R=h.value)==null?void 0:R.focus()})},A=()=>{n.setTitle(p.value),d.value=!1},x=R=>{window.open(R),u.value=!1},y=R=>{t.setDialogForExport(R),u.value=!1};return(R,g)=>{const b=be("IconHamburgerButton"),w=be("IconPpt"),T=be("IconDown"),M=be("IconDownload"),O=be("IconGithub"),k=Sn("tooltip");return Y(),ee("div",uoe,[V("div",foe,[L(Pt,{trigger:"click",placement:"bottom-start",value:u.value,"onUpdate:value":g[7]||(g[7]=F=>u.value=F)},{content:ie(()=>[L(Fu,{accept:".pptist",onChange:g[0]||(g[0]=F=>{G(a)(F),u.value=!1})},{default:ie(()=>[L(Oo,null,{default:ie(()=>[Ve("导入 pptist 文件")]),_:1})]),_:1}),L(Fu,{accept:"application/vnd.openxmlformats-officedocument.presentationml.presentation",onChange:g[1]||(g[1]=F=>{G(s)(F),u.value=!1})},{default:ie(()=>[L(Oo,null,{default:ie(()=>[Ve("导入 pptx 文件(测试版)")]),_:1})]),_:1}),L(Oo,{onClick:g[2]||(g[2]=F=>y("pptx"))},{default:ie(()=>[Ve("导出文件")]),_:1}),L(Oo,{onClick:g[3]||(g[3]=F=>{G(l)(),u.value=!1})},{default:ie(()=>[Ve("重置幻灯片")]),_:1}),L(Oo,{onClick:g[4]||(g[4]=F=>x("https://github.com/pipipi-pikachu/PPTist/issues"))},{default:ie(()=>[Ve("意见反馈")]),_:1}),L(Oo,{onClick:g[5]||(g[5]=F=>x("https://github.com/pipipi-pikachu/PPTist/blob/master/doc/Q&A.md"))},{default:ie(()=>[Ve("常见问题")]),_:1}),L(Oo,{onClick:g[6]||(g[6]=F=>{u.value=!1,f.value=!0})},{default:ie(()=>[Ve("快捷键")]),_:1})]),default:ie(()=>[V("div",doe,[L(b,{class:"icon"})])]),_:1},8,["value"]),V("div",hoe,[d.value?(Y(),Te(_u,{key:0,class:"title-input",ref_key:"titleInputRef",ref:h,value:p.value,"onUpdate:value":g[8]||(g[8]=F=>p.value=F),onBlur:g[9]||(g[9]=F=>A())},null,8,["value"])):(Y(),ee("div",{key:1,class:"title-text",onClick:g[10]||(g[10]=F=>m()),title:G(r)},gt(G(r)),9,poe))])]),V("div",moe,[V("div",voe,[Ke((Y(),ee("div",{class:"menu-item",onClick:g[11]||(g[11]=F=>G(o)())},[L(w,{class:"icon"})])),[[k,"幻灯片放映"]]),L(Pt,{trigger:"click",center:""},{content:ie(()=>[L(Oo,{onClick:g[12]||(g[12]=F=>G(i)())},{default:ie(()=>[Ve("从头开始")]),_:1}),L(Oo,{onClick:g[13]||(g[13]=F=>G(o)())},{default:ie(()=>[Ve("从当前页开始")]),_:1})]),default:ie(()=>[V("div",goe,[L(T,{class:"arrow"})])]),_:1})]),Ke((Y(),ee("div",{class:"menu-item",onClick:g[14]||(g[14]=F=>y("pptx"))},[L(M,{class:"icon"})])),[[k,"导出"]]),Ke((Y(),ee("a",Aoe,[V("div",Roe,[L(O,{class:"icon"})])])),[[k,"Copyright © 2020-PRESENT pipipi-pikachu"]])]),L(Tne,{width:320,visible:f.value,"onUpdate:visible":g[15]||(g[15]=F=>f.value=F),placement:"right"},{default:ie(()=>[L(gne)]),_:1},8,["visible"]),L(Jb,{loading:G(c),tip:"正在导入..."},null,8,["loading"])])}}}),xoe=Xe(yoe,[["__scopeId","data-v-89efe6b2"]]),qu=Symbol(),o5=Symbol(),fI=Symbol(),boe=()=>{const e=window.getSelection();e&&e.removeAllRanges()},Soe=e=>{const t=he(0),n=he(0),r=ft(),{canvasPercentage:o,canvasDragged:i}=Ee(r),{viewportRatio:a}=Ee(lt()),s=()=>{if(!e.value)return;const d=e.value.clientWidth,h=e.value.clientHeight;if(h/d>a.value){const p=d*(o.value/100);r.setCanvasScale(p/Ht),t.value=(d-p)/2,n.value=(h-p*a.value)/2}else{const p=h*(o.value/100);r.setCanvasScale(p/(Ht*a.value)),t.value=(d-p/a.value)/2,n.value=(h-p)/2}};Tt(o,(d,h)=>{if(!e.value)return;const p=e.value.clientWidth,m=e.value.clientHeight,A=p*(d/100),x=p*(h/100),y=m*(d/100),R=m*(h/100);m/p>a.value?r.setCanvasScale(A/Ht):r.setCanvasScale(y/(Ht*a.value)),t.value=t.value-(A-x)/2,n.value=n.value-(y-R)/2}),Tt(a,s),Tt(i,()=>{i.value||s()});const l=Me(()=>({width:Ht,height:Ht*a.value,left:t.value,top:n.value})),u=new ResizeObserver(s);return Gt(()=>{e.value&&u.observe(e.value)}),wn(()=>{e.value&&u.unobserve(e.value)}),{viewportStyles:l,dragViewport:d=>{let h=!0;const p=d.pageX,m=d.pageY,A=t.value,x=n.value;document.onmousemove=y=>{if(!h)return;const R=y.pageX,g=y.pageY;t.value=A+(R-p),n.value=x+(g-m)},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null,r.setCanvasDragged(!0)}}}},Moe=(e,t)=>{const n=ft(),{canvasScale:r,hiddenElementIdList:o}=Ee(n),i=he(!1),a=he(1),s=he({top:0,left:0,width:0,height:0});return{mouseSelection:s,mouseSelectionVisible:i,mouseSelectionQuadrant:a,updateMouseSelection:l=>{if(!t.value)return;let u=!0;const f=t.value.getBoundingClientRect(),d=5,h=l.pageX,p=l.pageY,m=(h-f.x)/r.value,A=(p-f.y)/r.value;s.value={top:A,left:m,width:0,height:0},i.value=!1,a.value=4,document.onmousemove=x=>{if(!u)return;const y=x.pageX,R=x.pageY,g=(y-h)/r.value,b=(R-p)/r.value,w=Math.abs(g),T=Math.abs(b);if(w0&&b>0?M=4:g<0&&b<0?M=2:g>0&&b<0?M=1:g<0&&b>0&&(M=3),s.value={...s.value,width:w,height:T},i.value=!0,a.value=M},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,u=!1;let x=[];for(let R=0;Rb&&kw&&Nb-T&&kw-M&&Nb&&kw-M&&Nb-T&&kw&&N{if(R.groupId){const g=x.map(w=>w.id);return e.value.filter(w=>w.groupId===R.groupId).every(w=>g.includes(w.id))}return!0});const y=x.map(R=>R.id);n.setActiveElementIdList(y),i.value=!1}}}},woe=e=>{const{disableHotkeys:t}=Ee(ft()),{createImageElement:n,createTextElement:r}=Ju(),o=i=>{if(!i.dataTransfer||i.dataTransfer.items.length===0)return;const a=i.dataTransfer.items[0];if(a.kind==="file"&&a.type.indexOf("image")!==-1){const s=a.getAsFile();s&&Hu(s).then(c=>n(c))}else a.kind==="string"&&a.type==="text/plain"&&a.getAsString(s=>{if(t.value)return;const c=kb(s);r({left:0,top:0,width:600,height:50},{content:c})})};Gt(()=>{e.value&&e.value.addEventListener("drop",o),document.ondragleave=i=>i.preventDefault(),document.ondrop=i=>i.preventDefault(),document.ondragenter=i=>i.preventDefault(),document.ondragover=i=>i.preventDefault()}),wn(()=>{e.value&&e.value.removeEventListener("drop",o),document.ondragleave=null,document.ondrop=null,document.ondragenter=null,document.ondragover=null})},Loe=(e,t)=>{const n=Math.atan2(e,t);return 180/Math.PI*n},dI=(e,t,n)=>{const r=lt(),{addHistorySnapshot:o}=Jt();return{rotateElement:(a,s)=>{const c=!(a instanceof MouseEvent);if(c&&(!a.changedTouches||!a.changedTouches[0]))return;let l=!0,u=0;const f=s.rotate||0,d=s.left,h=s.top,p=s.width,m=s.height,A=d+p/2,x=h+m/2;if(!t.value)return;const y=t.value.getBoundingClientRect(),R=b=>{if(!l)return;const w=b instanceof MouseEvent?b.pageX:b.changedTouches[0].pageX,T=b instanceof MouseEvent?b.pageY:b.changedTouches[0].pageY,M=(w-y.left)/n.value,O=(T-y.top)/n.value,k=M-A,F=x-O;u=Loe(k,F);const N=5;Math.abs(u)<=N?u=0:u>0&&Math.abs(u-45)<=N?u-=u-45:u<0&&Math.abs(u+45)<=N?u-=u+45:u>0&&Math.abs(u-90)<=N?u-=u-90:u<0&&Math.abs(u+90)<=N?u-=u+90:u>0&&Math.abs(u-135)<=N?u-=u-135:u<0&&Math.abs(u+135)<=N?u-=u+135:u>0&&Math.abs(u-180)<=N?u-=u-180:u<0&&Math.abs(u+180)<=N&&(u-=u+180),e.value=e.value.map(E=>s.id===E.id?{...E,rotate:u}:E)},g=()=>{l=!1,document.onmousemove=null,document.onmouseup=null,f!==u&&(r.updateSlide({elements:e.value}),o())};c?(document.ontouchmove=R,document.ontouchend=g):(document.onmousemove=R,document.onmouseup=g)}}},J0={text:"文本",image:"图片",shape:"形状",line:"线条",chart:"图表",table:"表格",video:"视频",audio:"音频",latex:"公式"},hI={text:20,image:20,shape:20,chart:200,table:20,video:250,audio:20,latex:20},XO=(e,t)=>{const{left:n,top:r,width:o,height:i}=e,a=Math.sqrt(Math.pow(o,2)+Math.pow(i,2))/2,s=Math.atan(i/o)*180/Math.PI,c=(180-t-s)*Math.PI/180,l=(s-t)*Math.PI/180,u=(90-t)*Math.PI/180,f=t*Math.PI/180,d=o/2,h=i/2,p=n+d,m=r+h,A={left:p+a*Math.cos(c),top:m-a*Math.sin(c)},x={left:p+h*Math.cos(u),top:m-h*Math.sin(u)},y={left:p+a*Math.cos(l),top:m-a*Math.sin(l)},R={left:p+d*Math.cos(f),top:m+d*Math.sin(f)},g={left:p-a*Math.cos(c),top:m+a*Math.sin(c)},b={left:p-h*Math.sin(f),top:m+h*Math.cos(f)},w={left:p-a*Math.cos(l),top:m+a*Math.sin(l)},T={left:p-d*Math.cos(f),top:m-d*Math.sin(f)};return{leftTopPoint:A,topPoint:x,rightTopPoint:y,rightPoint:R,rightBottomPoint:g,bottomPoint:b,leftBottomPoint:w,leftPoint:T}},WO=(e,t)=>({[mt.RIGHT_BOTTOM]:t.leftTopPoint,[mt.LEFT_BOTTOM]:t.rightTopPoint,[mt.LEFT_TOP]:t.rightBottomPoint,[mt.RIGHT_TOP]:t.leftBottomPoint,[mt.TOP]:t.bottomPoint,[mt.BOTTOM]:t.topPoint,[mt.LEFT]:t.rightPoint,[mt.RIGHT]:t.leftPoint})[e],pI=(e,t,n)=>{const r=ft(),o=lt(),{activeElementIdList:i,activeGroupElementId:a}=Ee(r),{viewportRatio:s}=Ee(o),{ctrlOrShiftKeyActive:c}=Ee(Ss()),{addHistorySnapshot:l}=Jt();return{scaleElement:(d,h,p)=>{const m=!(d instanceof MouseEvent);if(m&&(!d.changedTouches||!d.changedTouches[0]))return;let A=!0;r.setScalingState(!0);const x=h.left,y=h.top,R=h.width,g=h.height,b=h.type==="table"?h.cellMinHeight:0,w="rotate"in h&&h.rotate?h.rotate:0,T=Math.PI*w/180,M=c.value||"fixedRatio"in h&&h.fixedRatio,O=R/g,k=m?d.changedTouches[0].pageX:d.pageX,F=m?d.changedTouches[0].pageY:d.pageY,N=hI[h.type]||20,E=Q=>Q{const U=[];let te=!1,z=!1;const oe={offsetX:0,offsetY:0};if(B||B===0)for(let pe=0;pe{if(!A)return;const B=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,H=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY,U=B-k,te=H-F;let z=R,oe=g,pe=x,Ae=y;if(w){const me=(Math.cos(T)*U+Math.sin(T)*te)/n.value;let $=(Math.cos(T)*te-Math.sin(T)*U)/n.value;M&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&($=me/O),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&($=-me/O)),p===mt.RIGHT_BOTTOM?(z=E(R+me),oe=E(g+$)):p===mt.LEFT_BOTTOM?(z=E(R-me),oe=E(g+$),pe=x-(z-R)):p===mt.LEFT_TOP?(z=E(R-me),oe=E(g-$),pe=x-(z-R),Ae=y-(oe-g)):p===mt.RIGHT_TOP?(z=E(R+me),oe=E(g-$),Ae=y-(oe-g)):p===mt.TOP?(oe=E(g-$),Ae=y-(oe-g)):p===mt.BOTTOM?oe=E(g+$):p===mt.LEFT?(z=E(R-me),pe=x-(z-R)):p===mt.RIGHT&&(z=E(R+me));const ue=XO({width:z,height:oe,left:pe,top:Ae},w),X=WO(p,ue),ne=X.left,se=X.top,j=ne-_,q=se-I;pe=pe-j,Ae=Ae-q}else{let me=U/n.value,$=te/n.value;if(M&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&($=me/O),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&($=-me/O)),p===mt.RIGHT_BOTTOM){const{offsetX:ue,offsetY:X}=J(x+R+me,y+g+$);me=me-ue,$=$-X,M&&(X?me=$*O:$=me/O),z=E(R+me),oe=E(g+$)}else if(p===mt.LEFT_BOTTOM){const{offsetX:ue,offsetY:X}=J(x+me,y+g+$);me=me-ue,$=$-X,M&&(X?me=-$*O:$=-me/O),z=E(R-me),oe=E(g+$),pe=x-(z-R)}else if(p===mt.LEFT_TOP){const{offsetX:ue,offsetY:X}=J(x+me,y+$);me=me-ue,$=$-X,M&&(X?me=$*O:$=me/O),z=E(R-me),oe=E(g-$),pe=x-(z-R),Ae=y-(oe-g)}else if(p===mt.RIGHT_TOP){const{offsetX:ue,offsetY:X}=J(x+R+me,y+$);me=me-ue,$=$-X,M&&(X?me=-$*O:$=-me/O),z=E(R+me),oe=E(g-$),Ae=y-(oe-g)}else if(p===mt.LEFT){const{offsetX:ue}=J(x+me,null);me=me-ue,z=E(R-me),pe=x-(z-R)}else if(p===mt.RIGHT){const{offsetX:ue}=J(x+R+me,null);me=me-ue,z=E(R+me)}else if(p===mt.TOP){const{offsetY:ue}=J(null,y+$);$=$-ue,oe=E(g-$),Ae=y-(oe-g)}else if(p===mt.BOTTOM){const{offsetY:ue}=J(null,y+g+$);$=$-ue,oe=E(g+$)}}e.value=e.value.map(me=>{if(h.id!==me.id)return me;if(me.type==="shape"&&"pathFormula"in me&&me.pathFormula){const $=Gu[me.pathFormula];let ue="";return"editable"in $?ue=$.formula(z,oe,me.keypoint):ue=$.formula(z,oe),{...me,left:pe,top:Ae,width:z,height:oe,viewBox:[z,oe],path:ue}}if(me.type==="table"){let $=b+(oe-g)/me.data.length;return $=$<36?36:$,$===b?{...me,left:pe,width:z}:{...me,left:pe,top:Ae,width:z,height:oe,cellMinHeight:$<36?36:$}}return{...me,left:pe,top:Ae,width:z,height:oe}})},D=Q=>{A=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const B=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,H=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;k===B&&F===H||(o.updateSlide({elements:e.value}),r.setScalingState(!1),l())};m?(document.ontouchmove=le,document.ontouchend=D):(document.onmousemove=le,document.onmouseup=D)},scaleMultiElement:(d,h,p)=>{let m=!0;const{minX:A,maxX:x,minY:y,maxY:R}=h,g=x-A,b=R-y,w=g/b,T=d.pageX,M=d.pageY,O=JSON.parse(JSON.stringify(e.value));document.onmousemove=k=>{if(!m)return;const F=k.pageX,N=k.pageY,E=(F-T)/n.value;let C=(N-M)/n.value;c.value&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&(C=E/w),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&(C=-E/w));let _=A,I=x,W=y,Z=R;p===mt.RIGHT_BOTTOM?(I=x+E,Z=R+C):p===mt.LEFT_BOTTOM?(_=A+E,Z=R+C):p===mt.LEFT_TOP?(_=A+E,W=y+C):p===mt.RIGHT_TOP?(I=x+E,W=y+C):p===mt.TOP?W=y+C:p===mt.BOTTOM?Z=R+C:p===mt.LEFT?_=A+E:p===mt.RIGHT&&(I=x+E);const J=I-_,le=Z-W;let D=J/g,Q=le/b;D<=0&&(D=0),Q<=0&&(Q=0),e.value=e.value.map(B=>{if((B.type==="image"||B.type==="shape")&&i.value.includes(B.id)){const H=O.find(U=>U.id===B.id);return{...B,width:H.width*D,height:H.height*Q,left:_+(H.left-A)*D,top:W+(H.top-y)*Q}}return B})},document.onmouseup=k=>{m=!1,document.onmousemove=null,document.onmouseup=null,!(T===k.pageX&&M===k.pageY)&&(o.updateSlide({elements:e.value}),l())}}}},Ooe=(e,t)=>{const n=ft(),{activeElementIdList:r,activeGroupElementId:o,handleElementId:i,editorAreaFocus:a}=Ee(n),{ctrlOrShiftKeyActive:s}=Ee(Ss());return{selectElement:(l,u,f=!0)=>{if(a.value||n.setEditorareaFocus(!0),r.value.includes(u.id)){if(s.value){let d=[];if(u.groupId){const h=[];e.value.forEach(p=>{p.groupId===u.groupId&&h.push(p.id)}),d=r.value.filter(p=>!h.includes(p))}else d=r.value.filter(h=>h!==u.id);d.length>0&&n.setActiveElementIdList(d)}else if(i.value!==u.id)n.setHandleElementId(u.id);else if(o.value!==u.id){const d=l instanceof MouseEvent?l.pageX:l.changedTouches[0].pageX,h=l instanceof MouseEvent?l.pageY:l.changedTouches[0].pageY;l.target.onmouseup=p=>{const m=p.pageX,A=p.pageY;d===m&&h===A&&(n.setActiveGroupElementId(u.id),p.target.onmouseup=null)}}}else{let d=[];if(s.value?d=[...r.value,u.id]:d=[u.id],u.groupId){const h=[];e.value.forEach(p=>{p.groupId===u.groupId&&h.push(p.id)}),d=[...d,...h]}n.setActiveElementIdList(Fn.uniq(d)),n.setHandleElementId(u.id)}f&&t(l,u)}}},mI=(e,t,n)=>{const r=lt(),{activeElementIdList:o,activeGroupElementId:i}=Ee(ft()),{shiftKeyState:a}=Ee(Ss()),{viewportRatio:s}=Ee(r),{addHistorySnapshot:c}=Jt();return{dragElement:(u,f)=>{const d=!(u instanceof MouseEvent);if(d&&(!u.changedTouches||!u.changedTouches[0])||!o.value.includes(f.id))return;let h=!0;const p=Ht,m=Ht*s.value,A=5,y=JSON.parse(JSON.stringify(e.value)).filter(Q=>o.value.includes(Q.id)),R=f.left,g=f.top,b=f.width,w="height"in f&&f.height?f.height:0,T="rotate"in f&&f.rotate?f.rotate:0,M=d?u.changedTouches[0].pageX:u.pageX,O=d?u.changedTouches[0].pageY:u.pageY;let k=null;const F=f.id===i.value;let N=[],E=[];for(const Q of e.value){if(Q.type==="line"||F&&Q.id===f.id||!F&&o.value.includes(Q.id))continue;let B,H,U,te;if("rotate"in Q&&Q.rotate){const{xRange:j,yRange:q}=ud({left:Q.left,top:Q.top,width:Q.width,height:Q.height,rotate:Q.rotate});B=j[0],H=q[0],U=j[1]-j[0],te=q[1]-q[0]}else B=Q.left,H=Q.top,U=Q.width,te=Q.height;const z=B+U,oe=H+te,pe=H+te/2,Ae=B+U/2,me={value:H,range:[B,z]},$={value:oe,range:[B,z]},ue={value:pe,range:[B,z]},X={value:B,range:[H,oe]},ne={value:z,range:[H,oe]},se={value:Ae,range:[H,oe]};N.push(me,$,ue),E.push(X,ne,se)}const C={value:0,range:[0,p]},_={value:m,range:[0,p]},I={value:m/2,range:[0,p]},W={value:0,range:[0,m]},Z={value:p,range:[0,m]},J={value:p/2,range:[0,m]};N.push(C,_,I),E.push(W,Z,J),N=Wv(N),E=Wv(E);const le=Q=>{const B=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,H=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;if(k!==!1&&(k=Math.abs(M-B)Math.abs(te)&&(te=0),Math.abs(U)q.id===f.id?{...q,left:z,top:oe}:q);else{const q=e.value.find(ae=>ae.id===f.id);if(!q)return;e.value=e.value.map(ae=>o.value.includes(ae.id)?ae.id===f.id?{...ae,left:z,top:oe}:{...ae,left:ae.left+(z-q.left),top:ae.top+(oe-q.top)}:ae)}},D=Q=>{h=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const B=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,H=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;M===B&&O===H||(r.updateSlide({elements:e.value}),c())};d?(document.ontouchmove=le,document.ontouchend=D):(document.onmousemove=le,document.onmouseup=D)}}},Toe=e=>{const t=lt(),{canvasScale:n}=Ee(ft()),{ctrlOrShiftKeyActive:r}=Ee(Ss()),{addHistorySnapshot:o}=Jt();return{dragLineElement:(a,s,c)=>{let l=!0;const u=8,f=a.pageX,d=a.pageY,h=[];for(let p=0;p{if(!l)return;const m=p.pageX,A=p.pageY,x=(m-f)/n.value,y=(A-d)/n.value;let R=s.left+s.start[0],g=s.top+s.start[1],b=s.left+s.end[0],w=s.top+s.end[1];const T=s.broken||s.curve||[0,0];let M=s.left+T[0],O=s.top+T[1];const[k,F]=s.cubic||[[0,0],[0,0]];let N=s.left+k[0],E=s.top+k[1],C=s.left+F[0],_=s.top+F[1];if(c===Go.START){R=R+x,g=g+y,Math.abs(R-b)b&&(le[0]=Z-I,D[0]=0),g>w&&(le[1]=J-W,D[1]=0),e.value=e.value.map(Q=>{if(Q.id===s.id){const B={...Q,left:I,top:W,start:le,end:D};return c===Go.START||c===Go.END?r.value?(s.broken&&(B.broken=[M-I,O-W]),s.curve&&(B.curve=[M-I,O-W]),s.cubic&&(B.cubic=[[N-I,E-W],[C-I,_-W]])):(s.broken&&(B.broken=[(le[0]+D[0])/2,(le[1]+D[1])/2]),s.curve&&(B.curve=[(le[0]+D[0])/2,(le[1]+D[1])/2]),s.cubic&&(B.cubic=[[(le[0]+D[0])/2,(le[1]+D[1])/2],[(le[0]+D[0])/2,(le[1]+D[1])/2]])):c===Go.C?(s.broken&&(B.broken=[M-I,O-W]),s.curve&&(B.curve=[M-I,O-W])):s.cubic&&(B.cubic=[[N-I,E-W],[C-I,_-W]]),B}return Q})},document.onmouseup=p=>{l=!1,document.onmousemove=null,document.onmouseup=null;const m=p.pageX,A=p.pageY;f===m&&d===A||(t.updateSlide({elements:e.value}),o())}}}},koe=(e,t)=>{const n=lt(),{addHistorySnapshot:r}=Jt();return{moveShapeKeypoint:(i,a)=>{const s=!(i instanceof MouseEvent);if(s&&(!i.changedTouches||!i.changedTouches[0]))return;let c=!0;const l=s?i.changedTouches[0].pageX:i.pageX,u=s?i.changedTouches[0].pageY:i.pageY,f=Gu[a.pathFormula];let d=null;if("editable"in f){const m=f.getBaseSize(a.width,a.height),A=m*a.keypoint,[x,y]=f.range,R=f.relative;d={baseSize:m,originPos:A,min:x,max:y,relative:R}}const h=m=>{if(!c)return;const A=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,x=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY,y=(A-l)/t.value,R=(x-u)/t.value;e.value=e.value.map(g=>{if(g.id===a.id&&d){const{baseSize:b,originPos:w,min:T,max:M,relative:O}=d,k=g;let F=0;return O==="left"&&(F=(w+y)/b),O==="right"&&(F=(w-y)/b),O==="center"&&(F=(w-y*2)/b),O==="top"&&(F=(w+R)/b),O==="bottom"&&(F=(w-R)/b),FM&&(F=M),{...g,keypoint:F,path:f.formula(k.width,k.height,F)}}return g})},p=m=>{c=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null;const A=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,x=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY;l===A&&u===x||(n.updateSlide({elements:e.value}),r())};s?(document.ontouchmove=h,document.ontouchend=p):(document.onmousemove=h,document.onmouseup=p)}}},Noe=e=>{const t=ft(),{canvasScale:n,creatingElement:r}=Ee(t),o=u=>{const{start:f,end:d}=u;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,m]=f,[A,x]=d,y=Math.min(p,A),R=Math.max(p,A),g=Math.min(m,x),b=Math.max(m,x),w=(y-h.x)/n.value,T=(g-h.y)/n.value,M=(R-y)/n.value,O=(b-g)/n.value;return{left:w,top:T,width:M,height:O}},i=u=>{const{start:f,end:d}=u;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,m]=f,[A,x]=d,y=Math.min(p,A),R=Math.max(p,A),g=Math.min(m,x),b=Math.max(m,x),w=(y-h.x)/n.value,T=(g-h.y)/n.value,M=(R-y)/n.value,O=(b-g)/n.value;return{left:w,top:T,start:[p===y?0:M,m===g?0:O],end:[A===y?0:M,x===g?0:O]}},{createTextElement:a,createShapeElement:s,createLineElement:c}=Ju();return{formatCreateSelection:o,insertElementFromCreateSelection:u=>{if(!r.value)return;const f=r.value.type;if(f==="text"){const d=o(u);d&&a(d,{vertical:r.value.vertical})}else if(f==="shape"){const d=o(u);d&&s(d,r.value.data)}else if(f==="line"){const d=i(u);d&&c(d,r.value.data)}t.setCreatingElement(null)}}},i2=()=>{const e=lt(),{activeElementIdList:t,activeElementList:n}=Ee(ft()),{currentSlide:r,viewportRatio:o}=Ee(e),{addHistorySnapshot:i}=Jt();return{alignElementToCanvas:s=>{const c=Ht,l=Ht*o.value,{minX:u,maxX:f,minY:d,maxY:h}=ec(n.value),p=JSON.parse(JSON.stringify(r.value.elements));for(const m of p)if(t.value.includes(m.id)){if(s===nn.CENTER){const A=d+(h-d)/2-l/2,x=u+(f-u)/2-c/2;m.top=m.top-A,m.left=m.left-x}if(s===nn.TOP){const A=d-0;m.top=m.top-A}else if(s===nn.VERTICAL){const A=d+(h-d)/2-l/2;m.top=m.top-A}else if(s===nn.BOTTOM){const A=h-l;m.top=m.top-A}else if(s===nn.LEFT){const A=u-0;m.left=m.left-A}else if(s===nn.HORIZONTAL){const A=u+(f-u)/2-c/2;m.left=m.left-A}else if(s===nn.RIGHT){const A=f-c;m.left=m.left-A}}e.updateSlide({elements:p}),i()}}},wc=e=>({shadowStyle:Me(()=>{if(e.value){const{h:n,v:r,blur:o,color:i}=e.value;return`${n}px ${r}px ${o}px ${i}`}return""})}),a2=(e,t)=>({flipStyle:Me(()=>{let r="";return e.value&&t.value?r="rotateX(180deg) rotateY(180deg)":t.value?r="rotateX(180deg)":e.value&&(r="rotateY(180deg)"),r})});var vI=(e=>(e.RECT="rect",e.ELLIPSE="ellipse",e.POLYGON="polygon",e))(vI||{});const B3={rect:{name:"矩形",type:"rect",radius:"0",style:""},rect2:{name:"矩形2",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 0 100%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L 0 ${t} Z`},rect3:{name:"矩形3",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L ${e*.2} ${t} L 0 ${t*.8} Z`},roundRect:{name:"圆角矩形",type:"rect",radius:"10px",style:"inset(0 0 0 0 round 10px 10px 10px 10px)"},ellipse:{name:"圆形",type:"ellipse",style:"ellipse(50% 50% at 50% 50%)"},triangle:{name:"三角形",type:"polygon",style:"polygon(50% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M ${e*.5} 0 L 0 ${t} L ${e} ${t} Z`},triangle2:{name:"三角形2",type:"polygon",style:"polygon(50% 100%, 0% 0%, 100% 0%)",createPath:(e,t)=>`M ${e*.5} ${t} L 0 0 L ${e} 0 Z`},triangle3:{name:"三角形3",type:"polygon",style:"polygon(0% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M 0 0 L 0 ${t} L ${e} ${t} Z`},rhombus:{name:"菱形",type:"polygon",style:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${t*.5} L ${e*.5} ${t} L 0 ${t*.5} Z`},pentagon:{name:"五边形",type:"polygon",style:"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${.38*t} L ${.82*e} ${t} L ${.18*e} ${t} L 0 ${.38*t} Z`},hexagon:{name:"六边形",type:"polygon",style:"polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.2} 0 L ${e*.8} 0 L ${e} ${t*.5} L ${e*.8} ${t} L ${e*.2} ${t} L 0 ${t*.5} Z`},heptagon:{name:"七边形",type:"polygon",style:"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e*.9} ${t*.2} L ${e} ${t*.6} L ${e*.75} ${t} L ${e*.25} ${t} L 0 ${t*.6} L ${e*.1} ${t*.2} Z`},octagon:{name:"八边形",type:"polygon",style:"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e*.7} 0 L ${e} ${t*.3} L ${e} ${t*.7} L ${e*.7} ${t} L ${e*.3} ${t} L 0 ${t*.7} L 0 ${t*.3} Z`},chevron:{name:"V形",type:"polygon",style:"polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%)",createPath:(e,t)=>`M ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} L ${e*.25} ${t*.5} L 0 0 Z`},point:{name:"点",type:"polygon",style:"polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%)",createPath:(e,t)=>`M 0 0 L ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} Z`},arrow:{name:"箭头",type:"polygon",style:"polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%)",createPath:(e,t)=>`M 0 ${t*.2} L ${e*.6} ${t*.2} L ${e*.6} 0 L ${e} ${t*.5} L ${e*.6} ${t} L ${e*.6} ${t*.8} L 0 ${t*.8} Z`},parallelogram:{name:"平行四边形",type:"polygon",style:"polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e} 0 L ${e*.7} ${t} L 0 ${t} Z`},parallelogram2:{name:"平行四边形2",type:"polygon",style:"polygon(30% 100%, 100% 100%, 70% 0%, 0% 0%)",createPath:(e,t)=>`M ${e*.3} ${t} L ${e} ${t} L ${e*.7} 0 L 0 0 Z`},trapezoid:{name:"梯形",type:"polygon",style:"polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.25} 0 L ${e*.75} 0 L ${e} ${t} L 0 ${t} Z`},trapezoid2:{name:"梯形2",type:"polygon",style:"polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%)",createPath:(e,t)=>`M 0 0 L ${e} 0 L ${e*.75} ${t} L ${e*.25} ${t} Z`}},i5=e=>{const t=Me(()=>{if(!e.value)return B3.rect;const r=e.value.shape||vI.RECT;return B3[r]}),n=Me(()=>{if(!e.value)return{top:"0",left:"0",width:"100%",height:"100%"};const[r,o]=e.value.range,i=(o[0]-r[0])/100,a=(o[1]-r[1])/100,s=r[0]/i,c=r[1]/a;return{left:-s+"%",top:-c+"%",width:100/i+"%",height:100/a+"%"}});return{clipShape:t,imgPosition:n}},gI=e=>({filter:Me(()=>{if(!e.value)return"";let n="";const r=Object.keys(e.value);for(const o of r)n+=`${o}(${e.value[o]}) `;return n})}),Hd=e=>{const t=Me(()=>{var i;return((i=e.value)==null?void 0:i.width)??0}),n=Me(()=>{var i;return((i=e.value)==null?void 0:i.style)||"solid"}),r=Me(()=>{var i;return((i=e.value)==null?void 0:i.color)||"#d14424"}),o=Me(()=>{if(n.value!=="dashed")return"0 0";const i=t.value;return i<=6?`${i*4.5} ${i*2}`:`${i*4} ${i*1.5}`});return{outlineWidth:t,outlineStyle:n,outlineColor:r,strokeDashArray:o}},Poe=["width","height"],Coe=["rx","ry","width","height","stroke","stroke-width","stroke-dasharray"],Ioe=Ie({__name:"ImageRectOutline",props:{width:{},height:{},outline:{},radius:{default:"0"}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Hd(Xd(t,"outline"));return(i,a)=>i.outline?(Y(),ee("svg",{key:0,class:"image-rect-outline",overflow:"visible",width:i.width,height:i.height},[V("rect",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",rx:i.radius,ry:i.radius,width:i.width,height:i.height,stroke:G(r),"stroke-width":G(n),"stroke-dasharray":G(o)},null,8,Coe)],8,Poe)):Ze("",!0)}}),Foe=Xe(Ioe,[["__scopeId","data-v-09a0319c"]]),_oe=["width","height"],Eoe=["cx","cy","rx","ry","stroke","stroke-width","stroke-dasharray"],Xoe=Ie({__name:"ImageEllipseOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Hd(Xd(t,"outline"));return(i,a)=>i.outline?(Y(),ee("svg",{key:0,class:"image-ellipse-outline",overflow:"visible",width:i.width,height:i.height},[V("ellipse",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",cx:i.width/2,cy:i.height/2,rx:i.width/2,ry:i.height/2,stroke:G(r),"stroke-width":G(n),"stroke-dasharray":G(o)},null,8,Eoe)],8,_oe)):Ze("",!0)}}),Woe=Xe(Xoe,[["__scopeId","data-v-19e68d74"]]),Voe=["width","height"],Uoe=["d","stroke","stroke-width","stroke-dasharray"],Yoe=Ie({__name:"ImagePolygonOutline",props:{width:{},height:{},createPath:{type:Function},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Hd(Xd(t,"outline"));return(i,a)=>i.outline?(Y(),ee("svg",{key:0,class:"image-polygon-outline",overflow:"visible",width:i.width,height:i.height},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:i.createPath(i.width,i.height),stroke:G(r),"stroke-width":G(n),"stroke-dasharray":G(o)},null,8,Uoe)],8,Voe)):Ze("",!0)}}),Qoe=Xe(Yoe,[["__scopeId","data-v-a036b0a3"]]),Zoe={class:"image-outline"},AI=Ie({__name:"index",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.clip),{clipShape:r}=i5(n);return(o,i)=>(Y(),ee("div",Zoe,[G(r).type==="rect"?(Y(),Te(Foe,{key:0,width:o.elementInfo.width,height:o.elementInfo.height,radius:G(r).radius,outline:o.elementInfo.outline},null,8,["width","height","radius","outline"])):G(r).type==="ellipse"?(Y(),Te(Woe,{key:1,width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"])):G(r).type==="polygon"?(Y(),Te(Qoe,{key:2,width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline,createPath:G(r).createPath},null,8,["width","height","outline","createPath"])):Ze("",!0)]))}}),RI=e=>(rn("data-v-31b3b0f9"),e=e(),on(),e),Boe=["src"],Doe=["src"],Koe=["onMousedown"],Hoe=RI(()=>V("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[V("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 16 L 4 16 L 4 4 L 16 4 L 16 0 Z"})],-1)),Goe=[Hoe],Joe=["onMousedown"],zoe=RI(()=>V("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[V("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 4 L 16 4 Z"})],-1)),$oe=[zoe],joe=Ie({__name:"ImageClipHandler",props:{src:{},clipPath:{},width:{},height:{},top:{},left:{},rotate:{},clipData:{}},emits:["clip"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:o}=Ee(ft()),{ctrlOrShiftKeyActive:i}=Ee(Ss()),a=he({top:"0",left:"0"}),s=he(!1),c=he(null),l=()=>{const[M,O]=n.clipData?n.clipData.range:[[0,0],[100,100]],k=(O[0]-M[0])/100,F=(O[1]-M[1])/100,N=M[0]/k,E=M[1]/F;return{widthScale:k,heightScale:F,left:N,top:E}},u=Me(()=>{const{widthScale:M,heightScale:O,left:k,top:F}=l();return{left:-k,top:-F,width:100/M,height:100/O}}),f=Me(()=>({top:u.value.top+"%",left:u.value.left+"%",width:u.value.width+"%",height:u.value.height+"%"})),d=he({top:0,left:0,width:0,height:0}),h=Me(()=>{const{top:M,left:O,width:k,height:F}=d.value;return{top:M+"%",left:O+"%",width:k+"%",height:F+"%"}}),p=Me(()=>{const M=u.value.width,O=u.value.height,{top:k,left:F,width:N,height:E}=d.value;return{left:-F*(100/N)+"%",top:-k*(100/E)+"%",width:M/N*100+"%",height:O/E*100+"%"}}),m=()=>{const{left:M,top:O}=l();d.value={left:M,top:O,width:100,height:100},a.value={top:-O+"%",left:-M+"%"}},A=()=>{if(s.value)return;if(!c.value){r("clip",null);return}const{left:M,top:O}=l(),k={left:(d.value.left-M)/100*n.width,top:(d.value.top-O)/100*n.height,width:(d.value.width-100)/100*n.width,height:(d.value.height-100)/100*n.height},F={range:c.value,position:k};r("clip",F)},x=M=>{M.key.toUpperCase()===yt.ENTER&&A()};Gt(()=>{m(),document.addEventListener("keydown",x)}),wn(()=>{document.removeEventListener("keydown",x)});const y=()=>{const M={left:parseInt(p.value.left),top:parseInt(p.value.top),width:parseInt(p.value.width),height:parseInt(p.value.height)},O=100/M.width,k=100/M.height,F=[-M.left*O,-M.top*k],N=[O*100+F[0],k*100+F[1]];c.value=[F,N]},R=M=>{s.value=!0;let O=!0;const k=M.pageX,F=M.pageY,N=u.value,E={...d.value};document.onmousemove=C=>{if(!O)return;const _=C.pageX,I=C.pageY,W=(_-k)/o.value,Z=(I-F)/o.value,J=Math.sqrt(W*W+Z*Z),D=Math.atan2(Z,W)-n.rotate/180*Math.PI,Q=J*Math.cos(D)/n.width*100,B=J*Math.sin(D)/n.height*100;let H=E.left+Q,U=E.top+B;H<0?H=0:H+E.width>N.width&&(H=N.width-E.width),U<0?U=0:U+E.height>N.height&&(U=N.height-E.height),d.value={...d.value,left:H,top:U}},document.onmouseup=()=>{O=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>{s.value=!1},0)}},g=(M,O)=>{s.value=!0;let k=!0;const F=50/n.width*100,N=50/n.height*100,E=M.pageX,C=M.pageY,_=u.value,I={...d.value},W=d.value.width/d.value.height;document.onmousemove=Z=>{if(!k)return;const J=Z.pageX,le=Z.pageY,D=(J-E)/o.value,Q=(le-C)/o.value,B=Math.sqrt(D*D+Q*Q),U=Math.atan2(Q,D)-n.rotate/180*Math.PI;let te=B*Math.cos(U)/n.width*100,z=B*Math.sin(U)/n.height*100;i.value&&((O===mt.RIGHT_BOTTOM||O===mt.LEFT_TOP)&&(z=te/W),(O===mt.LEFT_BOTTOM||O===mt.RIGHT_TOP)&&(z=-te/W));let oe,pe,Ae,me;O===mt.LEFT_TOP?(I.left+te<0&&(te=-I.left),I.top+z<0&&(z=-I.top),I.width-te_.width&&(te=_.width-(I.left+I.width)),I.top+z<0&&(z=-I.top),I.width+te_.height&&(z=_.height-(I.top+I.height)),I.width-te_.width&&(te=_.width-(I.left+I.width)),I.top+I.height+z>_.height&&(z=_.height-(I.top+I.height)),I.width+te_.height&&(z=_.height-(I.top+I.height)),I.height+z_.width&&(te=_.width-(I.left+I.width)),I.width+te{k=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>s.value=!1,0)}},b=Me(()=>{const M="rotate-",O=n.rotate;return O>-22.5&&O<=22.5?M+0:O>22.5&&O<=67.5?M+45:O>67.5&&O<=112.5?M+90:O>112.5&&O<=157.5?M+135:O>157.5||O<=-157.5?M+0:O>-157.5&&O<=-112.5?M+45:O>-112.5&&O<=-67.5?M+90:O>-67.5&&O<=-22.5?M+135:M+0}),w=[mt.LEFT_TOP,mt.RIGHT_TOP,mt.LEFT_BOTTOM,mt.RIGHT_BOTTOM],T=[mt.TOP,mt.BOTTOM,mt.LEFT,mt.RIGHT];return(M,O)=>{const k=Sn("click-outside");return Ke((Y(),ee("div",{class:"image-clip-handler",style:we(a.value)},[V("img",{class:"bottom-img",src:M.src,draggable:!1,alt:"",style:we(f.value)},null,12,Boe),V("div",{class:"top-image-content",style:we({...h.value,clipPath:M.clipPath})},[V("img",{class:"top-img",src:M.src,draggable:!1,alt:"",style:we(p.value)},null,12,Doe)],4),V("div",{class:"operate",style:we(h.value),onMousedown:O[0]||(O[0]=Wt(F=>R(F),["stop"]))},[(Y(),ee(We,null,ot(w,F=>V("div",{class:Je(["clip-point",F,b.value]),key:F,onMousedown:Wt(N=>g(N,F),["stop"])},Goe,42,Koe)),64)),(Y(),ee(We,null,ot(T,F=>V("div",{class:Je(["clip-point",F,b.value]),key:F,onMousedown:Wt(N=>g(N,F),["stop"])},$oe,42,Joe)),64))],36)],4)),[[k,A]])}}}),qoe=Xe(joe,[["__scopeId","data-v-31b3b0f9"]]),eie=["src"],tie=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=lt(),{clipingImageElementId:o}=Ee(n),i=Me(()=>o.value===t.elementInfo.id),{addHistorySnapshot:a}=Jt(),s=Me(()=>t.elementInfo.shadow),{shadowStyle:c}=wc(s),l=Me(()=>t.elementInfo.flipH),u=Me(()=>t.elementInfo.flipV),{flipStyle:f}=a2(l,u),d=Me(()=>t.elementInfo.clip),{clipShape:h,imgPosition:p}=i5(d),m=Me(()=>t.elementInfo.filters),{filter:A}=gI(m),x=R=>{t.elementInfo.lock||(R.stopPropagation(),t.selectElement(R,t.elementInfo))},y=R=>{if(n.setClipingImageElementId(""),!R)return;const{range:g,position:b}=R,w=t.elementInfo.clip||{shape:"rect",range:[[0,0],[100,100]]},T=t.elementInfo.left+b.left,M=t.elementInfo.top+b.top,O=t.elementInfo.width+b.width,k=t.elementInfo.height+b.height;let F=0,N=0;if(t.elementInfo.rotate){const C=T+O/2-(t.elementInfo.left+t.elementInfo.width/2),_=-(M+k/2-(t.elementInfo.top+t.elementInfo.height/2)),I=-t.elementInfo.rotate*Math.PI/180,W=C*Math.cos(I)-_*Math.sin(I),Z=C*Math.sin(I)+_*Math.cos(I);F=W-C,N=-(Z-_)}const E={clip:{...w,range:g},left:T+F,top:M+N,width:O,height:k};r.updateElement({id:t.elementInfo.id,props:E}),a()};return(R,g)=>{const b=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-image",{lock:R.elementInfo.lock}]),style:we({top:R.elementInfo.top+"px",left:R.elementInfo.left+"px",width:R.elementInfo.width+"px",height:R.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${R.elementInfo.rotate}deg)`})},[i.value?(Y(),Te(qoe,{key:0,src:R.elementInfo.src,clipData:R.elementInfo.clip,width:R.elementInfo.width,height:R.elementInfo.height,top:R.elementInfo.top,left:R.elementInfo.left,rotate:R.elementInfo.rotate,clipPath:G(h).style,onClip:g[0]||(g[0]=w=>y(w))},null,8,["src","clipData","width","height","top","left","rotate","clipPath"])):Ke((Y(),ee("div",{key:1,class:"element-content",style:we({filter:G(c)?`drop-shadow(${G(c)})`:"",transform:G(f)}),onMousedown:g[2]||(g[2]=w=>x(w)),onTouchstart:g[3]||(g[3]=w=>x(w))},[L(AI,{elementInfo:R.elementInfo},null,8,["elementInfo"]),V("div",{class:"image-content",style:we({clipPath:G(h).style})},[V("img",{src:R.elementInfo.src,draggable:!1,style:we({top:G(p).top,left:G(p).left,width:G(p).width,height:G(p).height,filter:G(A)}),onDragstart:g[1]||(g[1]=Wt(()=>{},["prevent"])),alt:""},null,44,eie),R.elementInfo.colorMask?(Y(),ee("div",{key:0,class:"color-mask",style:we({backgroundColor:R.elementInfo.colorMask})},null,4)):Ze("",!0)],4)],36)),[[b,R.contextmenus]])],4)],6)}}}),yI=Xe(tie,[["__scopeId","data-v-d615c21a"]]),nie=["width","height"],rie=["d","stroke","stroke-width","stroke-dasharray"],oie=Ie({__name:"ElementOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Hd(Xd(t,"outline"));return(i,a)=>i.outline?(Y(),ee("svg",{key:0,class:"element-outline",overflow:"visible",width:i.width,height:i.height},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:`M0,0 L${i.width},0 L${i.width},${i.height} L0,${i.height} Z`,stroke:G(r),"stroke-width":G(n),"stroke-dasharray":G(o)},null,8,rie)],8,nie)):Ze("",!0)}}),s2=Xe(oie,[["__scopeId","data-v-e2ef58f5"]]),Co=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},op=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t};let VO=null;const Zs=function(e,t,n){let r=VO||(VO=document.createRange());return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},Xu=function(e,t,n,r){return n&&(UO(e,t,n,r,-1)||UO(e,t,n,r,1))},iie=/^(img|br|input|textarea|hr)$/i;function UO(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:rs(e))){let i=e.parentNode;if(!i||i.nodeType!=1||a5(e)||iie.test(e.nodeName)||e.contentEditable=="false")return!1;t=Co(e)+(o<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(o<0?-1:0)],e.contentEditable=="false")return!1;t=o<0?rs(e):0}else return!1}}function rs(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function aie(e,t,n){for(let r=t==0,o=t==rs(e);r||o;){if(e==n)return!0;let i=Co(e);if(e=e.parentNode,!e)return!1;r=r&&i==0,o=o&&i==rs(e)}}function a5(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const l2=function(e){return e.focusNode&&Xu(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function qc(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function sie(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function lie(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}const ms=typeof navigator<"u"?navigator:null,YO=typeof document<"u"?document:null,Lc=ms&&ms.userAgent||"",D3=/Edge\/(\d+)/.exec(Lc),xI=/MSIE \d/.exec(Lc),K3=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Lc),ni=!!(xI||K3||D3),lc=xI?document.documentMode:K3?+K3[1]:D3?+D3[1]:0,Ia=!ni&&/gecko\/(\d+)/i.test(Lc);Ia&&+(/Firefox\/(\d+)/.exec(Lc)||[0,0])[1];const H3=!ni&&/Chrome\/(\d+)/.exec(Lc),po=!!H3,cie=H3?+H3[1]:0,Eo=!ni&&!!ms&&/Apple Computer/.test(ms.vendor),Pd=Eo&&(/Mobile\/\w+/.test(Lc)||!!ms&&ms.maxTouchPoints>2),Ki=Pd||(ms?/Mac/.test(ms.platform):!1),uie=ms?/Win/.test(ms.platform):!1,wa=/Android \d/.test(Lc),Vp=!!YO&&"webkitFontSmoothing"in YO.documentElement.style,fie=Vp?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function die(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Ws(e,t){return typeof e=="number"?e:e[t]}function hie(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function QO(e,t,n){let r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument;for(let a=n||e.dom;a;a=op(a)){if(a.nodeType!=1)continue;let s=a,c=s==i.body,l=c?die(i):hie(s),u=0,f=0;if(t.topl.bottom-Ws(r,"bottom")&&(f=t.bottom-t.top>l.bottom-l.top?t.top+Ws(o,"top")-l.top:t.bottom-l.bottom+Ws(o,"bottom")),t.leftl.right-Ws(r,"right")&&(u=t.right-l.right+Ws(o,"right")),u||f)if(c)i.defaultView.scrollBy(u,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),u&&(s.scrollLeft+=u);let p=s.scrollLeft-d,m=s.scrollTop-h;t={left:t.left-p,top:t.top-m,right:t.right-p,bottom:t.bottom-m}}if(c||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function pie(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,o;for(let i=(t.left+t.right)/2,a=n+1;a=n-20){r=s,o=c.top;break}}return{refDOM:r,refTop:o,stack:bI(e.dom)}}function bI(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=op(r));return t}function mie({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;SI(n,r==0?0:r-t)}function SI(e,t){for(let n=0;n=s){a=Math.max(p.bottom,a),s=Math.min(p.top,s);let m=p.left>t.left?p.left-t.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!c&&p.left<=t.left&&p.right>=t.left&&(c=u,l={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(i=f+1)}}return!n&&c&&(n=c,o=l,r=0),n&&n.nodeType==3?gie(n,o):!n||r&&n.nodeType==1?{node:e,offset:i}:MI(n,o)}function gie(e,t){let n=e.nodeValue.length,r=document.createRange();for(let o=0;o=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}function s5(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function Aie(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,o,i)}function yie(e,t,n,r){let o=-1;for(let i=t,a=!1;i!=e.dom;){let s=e.docView.nearestDesc(i,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent&&!a||!s.contentDOM)){let c=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&!a&&(a=!0,c.left>r.left||c.top>r.top?o=s.posBefore:(c.right-1?o:e.docView.posFromDOM(t,n,-1)}function wI(e,t,n){let r=e.childNodes.length;if(r&&n.topt.top&&o++}let l;Vp&&o&&r.nodeType==1&&(l=r.childNodes[o-1]).nodeType==1&&l.contentEditable=="false"&&l.getBoundingClientRect().top>=t.top&&o--,r==e.dom&&o==r.childNodes.length-1&&r.lastChild.nodeType==1&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(o==0||r.nodeType!=1||r.childNodes[o-1].nodeName!="BR")&&(s=yie(e,r,o,t))}s==null&&(s=Rie(e,a,t));let c=e.docView.nearestDesc(a,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function ZO(e){return e.top=0&&o==r.nodeValue.length?(c--,u=1):n<0?c--:l++,g0(Wl(Zs(r,c,l),u),u<0)}if(!e.state.doc.resolve(t-(i||0)).parent.inlineContent){if(i==null&&o&&(n<0||o==rs(r))){let c=r.childNodes[o-1];if(c.nodeType==1)return Wy(c.getBoundingClientRect(),!1)}if(i==null&&o=0)}if(i==null&&o&&(n<0||o==rs(r))){let c=r.childNodes[o-1],l=c.nodeType==3?Zs(c,rs(c)-(a?0:1)):c.nodeType==1&&(c.nodeName!="BR"||!c.nextSibling)?c:null;if(l)return g0(Wl(l,1),!1)}if(i==null&&o=0)}function g0(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function Wy(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function OI(e,t,n){let r=e.state,o=e.root.activeElement;r!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),o!=e.dom&&o&&o.focus()}}function Sie(e,t,n){let r=t.selection,o=n=="up"?r.$from:r.$to;return OI(e,t,()=>{let{node:i}=e.docView.domFromPos(o.pos,n=="up"?-1:1);for(;;){let s=e.docView.nearestDesc(i,!0);if(!s)break;if(s.node.isBlock){i=s.contentDOM||s.dom;break}i=s.dom.parentNode}let a=LI(e,o.pos,1);for(let s=i.firstChild;s;s=s.nextSibling){let c;if(s.nodeType==1)c=s.getClientRects();else if(s.nodeType==3)c=Zs(s,0,s.nodeValue.length).getClientRects();else continue;for(let l=0;lu.top+1&&(n=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const Mie=/[\u0590-\u08ac]/;function wie(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,a=o==r.parent.content.size,s=e.domSelection();return!Mie.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?i:a:OI(e,t,()=>{let{focusNode:c,focusOffset:l,anchorNode:u,anchorOffset:f}=e.domSelectionRange(),d=s.caretBidiLevel;s.modify("move",n,"character");let h=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:p,focusOffset:m}=e.domSelectionRange(),A=p&&!h.contains(p.nodeType==1?p:p.parentNode)||c==p&&l==m;try{s.collapse(u,f),c&&(c!=u||l!=f)&&s.extend&&s.extend(c,l)}catch{}return d!=null&&(s.caretBidiLevel=d),A})}let BO=null,DO=null,KO=!1;function Lie(e,t,n){return BO==t&&DO==n?KO:(BO=t,DO=n,KO=n=="up"||n=="down"?Sie(e,t,n):wie(e,t,n))}const ji=0,HO=1,ou=2,vs=3;class Up{constructor(t,n,r,o){this.parent=t,this.children=n,this.dom=r,this.contentDOM=o,this.dirty=ji,r.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,n,r){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let n=0;nCo(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))o=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let i=t;;i=i.parentNode){if(i==this.dom){o=!1;break}if(i.previousSibling)break}if(o==null&&n==t.childNodes.length)for(let i=t;;i=i.parentNode){if(i==this.dom){o=!0;break}if(i.nextSibling)break}}return o??r>0?this.posAtEnd:this.posAtStart}nearestDesc(t,n=!1){for(let r=!0,o=t;o;o=o.parentNode){let i=this.getDesc(o),a;if(i&&(!n||i.node))if(r&&(a=i.nodeDOM)&&!(a.nodeType==1?a.contains(t.nodeType==1?t:t.parentNode):a==t))r=!1;else return i}}getDesc(t){let n=t.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(t,n,r){for(let o=t;o;o=o.parentNode){let i=this.getDesc(o);if(i)return i.localPosFromDOM(t,n,r)}return-1}descAt(t){for(let n=0,r=0;nt||a instanceof kI){o=t-i;break}i=s}if(o)return this.children[r].domFromPos(o-this.children[r].border,n);for(let i;r&&!(i=this.children[r-1]).size&&i instanceof TI&&i.side>=0;r--);if(n<=0){let i,a=!0;for(;i=r?this.children[r-1]:null,!(!i||i.dom.parentNode==this.contentDOM);r--,a=!1);return i&&n&&a&&!i.border&&!i.domAtom?i.domFromPos(i.size,n):{node:this.contentDOM,offset:i?Co(i.dom)+1:0}}else{let i,a=!0;for(;i=r=u&&n<=l-c.border&&c.node&&c.contentDOM&&this.contentDOM.contains(c.contentDOM))return c.parseRange(t,n,u);t=a;for(let f=s;f>0;f--){let d=this.children[f-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){o=Co(d.dom)+1;break}t-=d.size}o==-1&&(o=0)}if(o>-1&&(l>n||s==this.children.length-1)){n=l;for(let u=s+1;uh&&an){let h=s;s=c,c=h}let d=document.createRange();d.setEnd(c.node,c.offset),d.setStart(s.node,s.offset),l.removeAllRanges(),l.addRange(d)}}ignoreMutation(t){return!this.contentDOM&&t.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,n){for(let r=0,o=0;o=r:tr){let s=r+i.border,c=a-i.border;if(t>=s&&n<=c){this.dirty=t==r||n==a?ou:HO,t==s&&n==c&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=vs:i.markDirty(t-s,n-s);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?ou:vs}r=a}this.dirty=ou}markParentsDirty(){let t=1;for(let n=this.parent;n;n=n.parent,t++){let r=t==1?ou:HO;n.dirty{if(!i)return o;if(i.parent)return i.parent.posBeforeChild(i)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(t,[],a,null),this.widget=n,this.widget=n,i=this}matchesWidget(t){return this.dirty==ji&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let n=this.widget.spec.stopEvent;return n?n(t):!1}ignoreMutation(t){return t.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class Oie extends Up{constructor(t,n,r,o){super(t,[],n,null),this.textDOM=r,this.text=o}get size(){return this.text.length}localPosFromDOM(t,n){return t!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return t.type==="characterData"&&t.target.nodeValue==t.oldValue}}class Wu extends Up{constructor(t,n,r,o){super(t,[],r,o),this.mark=n}static create(t,n,r,o){let i=o.nodeViews[n.type.name],a=i&&i(n,o,r);return(!a||!a.dom)&&(a=zs.renderSpec(document,n.type.spec.toDOM(n,r))),new Wu(t,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&vs||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return this.dirty!=vs&&this.mark.eq(t)}markDirty(t,n){if(super.markDirty(t,n),this.dirty!=ji){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(i=z3(i,0,t,r));for(let s=0;s{if(!c)return a;if(c.parent)return c.parent.posBeforeChild(c)},r,o),u=l&&l.dom,f=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:f}=zs.renderSpec(document,n.type.spec.toDOM(n)));!f&&!n.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),n.type.spec.draggable&&(u.draggable=!0));let d=u;return u=CI(u,r,n),l?c=new Tie(t,n,r,o,u,f||null,d,l,i,a+1):n.isText?new c2(t,n,r,o,u,d,i):new cc(t,n,r,o,u,f||null,d,i,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(t.preserveWhitespace="full"),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){t.contentElement=r.dom.parentNode;break}}t.contentElement||(t.getContent=()=>st.empty)}return t}matchesNode(t,n,r){return this.dirty==ji&&t.eq(this.node)&&J3(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,n){let r=this.node.inlineContent,o=n,i=t.composing?this.localCompositionInfo(t,n):null,a=i&&i.pos>-1?i:null,s=i&&i.pos<0,c=new Nie(this,a&&a.node,t);Iie(this.node,this.innerDeco,(l,u,f)=>{l.spec.marks?c.syncToMarks(l.spec.marks,r,t):l.type.side>=0&&!f&&c.syncToMarks(u==this.node.childCount?In.none:this.node.child(u).marks,r,t),c.placeWidget(l,t,o)},(l,u,f,d)=>{c.syncToMarks(l.marks,r,t);let h;c.findNodeMatch(l,u,f,d)||s&&t.state.selection.from>o&&t.state.selection.to-1&&c.updateNodeAt(l,u,f,h,t)||c.updateNextNode(l,u,f,t,d,o)||c.addNode(l,u,f,t,o),o+=l.nodeSize}),c.syncToMarks([],r,t),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==ou)&&(a&&this.protectLocalComposition(t,a),NI(this.contentDOM,this.children,t),Pd&&Fie(this.dom))}localCompositionInfo(t,n){let{from:r,to:o}=t.state.selection;if(!(t.state.selection instanceof Xn)||rn+this.node.content.size)return null;let i=t.domSelectionRange(),a=_ie(i.focusNode,i.focusOffset);if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let s=a.nodeValue,c=Eie(this.node.content,s,r-n,o-n);return c<0?null:{node:a,pos:c,text:s}}else return{node:a,pos:-1,text:""}}protectLocalComposition(t,{node:n,pos:r,text:o}){if(this.getDesc(n))return;let i=n;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new Oie(this,i,n,o);t.input.compositionNodes.push(a),this.children=z3(this.children,r,r+o.length,t,a)}update(t,n,r,o){return this.dirty==vs||!t.sameMarkup(this.node)?!1:(this.updateInner(t,n,r,o),!0)}updateInner(t,n,r,o){this.updateOuterDeco(n),this.node=t,this.innerDeco=r,this.contentDOM&&this.updateChildren(o,this.posAtStart),this.dirty=ji}updateOuterDeco(t){if(J3(t,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=PI(this.dom,this.nodeDOM,G3(this.outerDeco,this.node,n),G3(t,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function GO(e,t,n,r,o){CI(r,t,e);let i=new cc(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}class c2 extends cc{constructor(t,n,r,o,i,a,s){super(t,n,r,o,i,null,a,s,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,n,r,o){return this.dirty==vs||this.dirty!=ji&&!this.inParent()||!t.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=ji||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,o.trackWrites==this.nodeDOM&&(o.trackWrites=null)),this.node=t,this.dirty=ji,!0)}inParent(){let t=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,n,r){return t==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(t,n,r)}ignoreMutation(t){return t.type!="characterData"&&t.type!="selection"}slice(t,n,r){let o=this.node.cut(t,n),i=document.createTextNode(o.text);return new c2(this.parent,o,this.outerDeco,this.innerDeco,i,i,r)}markDirty(t,n){super.markDirty(t,n),this.dom!=this.nodeDOM&&(t==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=vs)}get domAtom(){return!1}}class kI extends Up{parseRule(){return{ignore:!0}}matchesHack(t){return this.dirty==ji&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class Tie extends cc{constructor(t,n,r,o,i,a,s,c,l,u){super(t,n,r,o,i,a,s,l,u),this.spec=c}update(t,n,r,o){if(this.dirty==vs)return!1;if(this.spec.update){let i=this.spec.update(t,n,r);return i&&this.updateInner(t,n,r,o),i}else return!this.contentDOM&&!t.isLeaf?!1:super.update(t,n,r,o)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,n,r,o){this.spec.setSelection?this.spec.setSelection(t,n,r):super.setSelection(t,n,r,o)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return this.spec.stopEvent?this.spec.stopEvent(t):!1}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function NI(e,t,n){let r=e.firstChild,o=!1;for(let i=0;i>1,a=Math.min(i,t.length);for(;o-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let c=Wu.create(this.top,t[i],n,r);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,i++}}findNodeMatch(t,n,r,o){let i=-1,a;if(o>=this.preMatch.index&&(a=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&a.matchesNode(t,n,r))i=this.top.children.indexOf(a,this.index);else for(let s=this.index,c=Math.min(this.top.children.length,s+5);s0;){let s;for(;;)if(r){let l=n.children[r-1];if(l instanceof Wu)n=l,r=l.children.length;else{s=l,r--;break}}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let c=s.node;if(c){if(c!=e.child(o-1))break;--o,i.set(s,o),a.push(s)}}return{index:o,matched:i,matches:a.reverse()}}function Cie(e,t){return e.type.side-t.type.side}function Iie(e,t,n,r){let o=t.locals(e),i=0;if(o.length==0){for(let l=0;li;)s.push(o[a++]);let p=i+d.nodeSize;if(d.isText){let A=p;a!A.inline):s.slice();r(d,m,t.forChild(i,d),h),i=p}}function Fie(e){if(e.nodeName=="UL"||e.nodeName=="OL"){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}function _ie(e,t){for(;;){if(e.nodeType==3)return e;if(e.nodeType==1&&t>0){if(e.childNodes.length>t&&e.childNodes[t].nodeType==3)return e.childNodes[t];e=e.childNodes[t-1],t=rs(e)}else if(e.nodeType==1&&t=n){if(i>=r&&c.slice(r-t.length-s,r-s)==t)return r-t.length;let l=s=0&&l+t.length+s>=n)return s+l;if(n==r&&c.length>=r+t.length-s&&c.slice(r-s,r-s+t.length)==t)return r}}return-1}function z3(e,t,n,r,o){let i=[];for(let a=0,s=0;a=n||u<=t?i.push(c):(ln&&i.push(c.slice(n-l,c.size,r)))}return i}function l5(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),i=o&&o.size==0,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),c,l;if(l2(n)){for(c=s;o&&!o.node;)o=o.parent;let u=o.node;if(o&&u.isAtom&&Yt.isSelectable(u)&&o.parent&&!(u.isInline&&aie(n.focusNode,n.focusOffset,o.dom))){let f=o.posBefore;l=new Yt(a==f?s:r.resolve(f))}}else{let u=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(u<0)return null;c=r.resolve(u)}if(!l){let u=t=="pointer"||e.state.selection.head{(n.anchorNode!=r||n.anchorOffset!=o)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{(!II(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")},20))})}function Wie(e){let t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,o=r.nodeName=="IMG";o?n.setEnd(r.parentNode,Co(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&ni&&lc<=11&&(r.disabled=!0,r.disabled=!1)}function FI(e,t){if(t instanceof Yt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(qO(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else qO(e)}function qO(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function c5(e,t,n,r){return e.someProp("createSelectionBetween",o=>o(e,t,n))||Xn.between(t,n,r)}function eT(e){return e.editable&&!e.hasFocus()?!1:_I(e)}function _I(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(t.anchorNode.nodeType==3?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(t.focusNode.nodeType==3?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function Vie(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return Xu(t.node,t.offset,n.anchorNode,n.anchorOffset)}function $3(e,t){let{$anchor:n,$head:r}=e.selection,o=t>0?n.max(r):n.min(r),i=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return i&&xn.findFrom(i,t)}function Bl(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function tT(e,t,n){let r=e.state.selection;if(r instanceof Xn)if(n.indexOf("s")>-1){let{$head:o}=r,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(o.pos+i.nodeSize*(t<0?-1:1));return Bl(e,new Xn(r.$anchor,a))}else if(r.empty){if(e.endOfTextblock(t>0?"forward":"backward")){let o=$3(e.state,t);return o&&o instanceof Yt?Bl(e,o):!1}else if(!(Ki&&n.indexOf("m")>-1)){let o=r.$head,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter,a;if(!i||i.isText)return!1;let s=t<0?o.pos-i.nodeSize:o.pos;return i.isAtom||(a=e.docView.descAt(s))&&!a.contentDOM?Yt.isSelectable(i)?Bl(e,new Yt(t<0?e.state.doc.resolve(o.pos-i.nodeSize):o)):Vp?Bl(e,new Xn(e.state.doc.resolve(t<0?s:s+i.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Yt&&r.node.isInline)return Bl(e,new Xn(t>0?r.$to:r.$from));{let o=$3(e.state,t);return o?Bl(e,o):!1}}}function eg(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Oh(e,t){let n=e.pmViewDesc;return n&&n.size==0&&(t<0||e.nextSibling||e.nodeName!="BR")}function wf(e,t){return t<0?Uie(e):Yie(e)}function Uie(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,a=!1;for(Ia&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(Oh(s,-1))o=n,i=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(EI(n))break;{let s=n.previousSibling;for(;s&&Oh(s,-1);)o=n.parentNode,i=Co(s),s=s.previousSibling;if(s)n=s,r=eg(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?j3(e,n,r):o&&j3(e,o,i)}function Yie(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o=eg(n),i,a;for(;;)if(r{e.state==o&&nl(e)},50)}function nT(e,t){let n=e.state.doc.resolve(t);if(!(po||uie)&&n.parent.inlineContent){let o=e.coordsAtPos(t);if(t>n.start()){let i=e.coordsAtPos(t-1),a=(i.top+i.bottom)/2;if(a>o.top&&a1)return i.lefto.top&&a1)return i.left>o.left?"ltr":"rtl"}}return getComputedStyle(e.dom).direction=="rtl"?"rtl":"ltr"}function rT(e,t,n){let r=e.state.selection;if(r instanceof Xn&&!r.empty||n.indexOf("s")>-1||Ki&&n.indexOf("m")>-1)return!1;let{$from:o,$to:i}=r;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let a=$3(e.state,t);if(a&&a instanceof Yt)return Bl(e,a)}if(!o.parent.inlineContent){let a=t<0?o:i,s=r instanceof qo?xn.near(a,t):xn.findFrom(a,t);return s?Bl(e,s):!1}return!1}function oT(e,t){if(!(e.state.selection instanceof Xn))return!0;let{$head:n,$anchor:r,empty:o}=e.state.selection;if(!n.sameParent(r))return!0;if(!o)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let i=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(i&&!i.isText){let a=e.state.tr;return t<0?a.delete(n.pos-i.nodeSize,n.pos):a.delete(n.pos,n.pos+i.nodeSize),e.dispatch(a),!0}return!1}function iT(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Bie(e){if(!Eo||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&t.nodeType==1&&n==0&&t.firstChild&&t.firstChild.contentEditable=="false"){let r=t.firstChild;iT(e,r,"true"),setTimeout(()=>iT(e,r,"false"),20)}return!1}function Die(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function Kie(e,t){let n=t.keyCode,r=Die(t);if(n==8||Ki&&n==72&&r=="c")return oT(e,-1)||wf(e,-1);if(n==46&&!t.shiftKey||Ki&&n==68&&r=="c")return oT(e,1)||wf(e,1);if(n==13||n==27)return!0;if(n==37||Ki&&n==66&&r=="c"){let o=n==37?nT(e,e.state.selection.from)=="ltr"?-1:1:-1;return tT(e,o,r)||wf(e,o)}else if(n==39||Ki&&n==70&&r=="c"){let o=n==39?nT(e,e.state.selection.from)=="ltr"?1:-1:1;return tT(e,o,r)||wf(e,o)}else{if(n==38||Ki&&n==80&&r=="c")return rT(e,-1,r)||wf(e,-1);if(n==40||Ki&&n==78&&r=="c")return Bie(e)||rT(e,1,r)||wf(e,1);if(r==(Ki?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function XI(e,t){e.someProp("transformCopied",h=>{t=h(t,e)});let n=[],{content:r,openStart:o,openEnd:i}=t;for(;o>1&&i>1&&r.childCount==1&&r.firstChild.childCount==1;){o--,i--;let h=r.firstChild;n.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),r=h.content}let a=e.someProp("clipboardSerializer")||zs.fromSchema(e.state.schema),s=ZI(),c=s.createElement("div");c.appendChild(a.serializeFragment(r,{document:s}));let l=c.firstChild,u,f=0;for(;l&&l.nodeType==1&&(u=QI[l.nodeName.toLowerCase()]);){for(let h=u.length-1;h>=0;h--){let p=s.createElement(u[h]);for(;c.firstChild;)p.appendChild(c.firstChild);c.appendChild(p),f++}l=c.firstChild}l&&l.nodeType==1&&l.setAttribute("data-pm-slice",`${o} ${i}${f?` -${f}`:""} ${JSON.stringify(n)}`);let d=e.someProp("clipboardTextSerializer",h=>h(t,e))||t.content.textBetween(0,t.content.size,` +Line: `+(w.length-1)+` +Column: `+(w[w.length-1].length+1)+` +Char: `+e[n])}return n+1&&(n+=1),T}if(e.charCodeAt(n+1)===l){if(e.charCodeAt(n+2)==s){const F=n;for(;n!==-1&&(e.charCodeAt(n)!==a||e.charCodeAt(n-1)!=s||e.charCodeAt(n-2)!=s||n==-1);)n=e.indexOf(">",n+1);n===-1&&(n=e.length),r&&T.push(e.substring(F,n+1))}else{if(e.charCodeAt(n+2)===d&&e.charCodeAt(n+8)===d&&e.substr(n+3,5).toLowerCase()==="cdata"){var k=e.indexOf("]]>",n);k==-1?(T.push(e.substr(n+9)),n=e.length):(T.push(e.substring(n+9,k)),n=k+3);continue}{const F=n+1;n+=2;for(var _=!1;(e.charCodeAt(n)!==a||_===!0)&&e[n];)e.charCodeAt(n)===d?_=!0:_===!0&&e.charCodeAt(n)===h&&(_=!1),n++;T.push(e.substring(F,n))}}n++;continue}var P=y();T.push(P),P.tagName[0]==="?"&&(T.push(...P.children),P.children=[])}else{var E=m();if(o)E.length>0&&T.push(E);else{var I=E.trim();I.length>0&&T.push(I)}n++}return T}function m(){var L=n;return(n=e.indexOf("<",n)-1)===-2&&(n=e.length),e.slice(L,n+1)}function A(){for(var L=n;`\r + >/= `.indexOf(e[n])===-1&&e[n];)n++;return e.slice(L,n)}var x=t.noChildNodes||["img","br","input","meta","link","hr"];function y(){n++;const L=A(),T={};let M=[];for(;e.charCodeAt(n)!==a&&e[n];){var w=e.charCodeAt(n);if(w>64&&w<91||w>96&&w<123){for(var k=A(),_=e.charCodeAt(n);_&&_!==u&&_!==f&&!(_>64&&_<91||_>96&&_<123)&&_!==a;)n++,_=e.charCodeAt(n);if(_===u||_===f){var P=R();if(n===-1)return{tagName:L,attributes:T,children:M}}else P=null,n--;T[k]=P}n++}if(e.charCodeAt(n-1)!==c)if(L=="script"){var E=n+1;n=e.indexOf("<\/script>",n),M=[e.slice(E,n)],n+=9}else L=="style"?(E=n+1,n=e.indexOf("",n),M=[e.slice(E,n)],n+=8):x.indexOf(L)===-1?(n++,M=p(L)):n++;else n++;return{tagName:L,attributes:T,children:M}}function R(){var L=e[n],T=n+1;return n=e.indexOf(L,T),e.slice(T,n)}var g,b=null;if(t.attrValue!==void 0)for(t.attrName=t.attrName||"id",b=[];g=void 0,g=new RegExp("\\s"+t.attrName+`\\s*=['"]`+t.attrValue+`['"]`).exec(e),(n=g?g.index:-1)!==-1;)(n=e.lastIndexOf("<",n))!==-1&&b.push(y()),e=e.substr(n),n=0;else b=t.parseNode?y():p("");return t.filter&&(b=CC(b,t.filter)),t.simplify?PC(Array.isArray(b)?b:[b]):(t.setPos&&(b.pos=n),b)}function PC(e){var t={};if(!e.length)return"";if(e.length===1&&typeof e[0]=="string")return e[0];for(var n in e.forEach(function(r){if(typeof r=="object"){t[r.tagName]||(t[r.tagName]=[]);var o=PC(r.children);t[r.tagName].push(o),Object.keys(r.attributes).length&&typeof o!="string"&&(o._attributes=r.attributes)}}),t)t[n].length==1&&(t[n]=t[n][0]);return t}function CC(e,t,n=0,r=""){var o=[];return e.forEach(function(i,a){if(typeof i=="object"&&t(i,a,n,r)&&o.push(i),i.children){var s=CC(i.children,t,n+1,(r?r+".":"")+a+"."+i.tagName);o=o.concat(s)}}),o}function Ite(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return rO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return rO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function rO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n={};if(!e.length)return n;if(e.length===1&&typeof e[0]=="string")return Object.keys(t).length?{attrs:iO({order:aO++},t),value:e[0]}:e[0];var r,o=Ite(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(P3(i)!=="object")return;if(i.tagName!=="?xml"){n[i.tagName]||(n[i.tagName]=[]);var a=IC(i.children||[],i.attributes);n[i.tagName].push(a),Object.keys(i.attributes).length&&(a.attrs=iO({order:aO++},i.attributes))}}}catch(c){o.e(c)}finally{o.f()}for(var s in n)n[s].length===1&&(n[s]=n[s][0]);return n}function Lo(e,t){return FC.apply(this,arguments)}function FC(){return(FC=ii(Wn.mark(function e(t,n){var r;return Wn.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,t.file(n).async("string");case 3:return r=o.sent,o.abrupt("return",IC(Cte(r)));case 7:return o.prev=7,o.t0=o.catch(0),o.abrupt("return",null);case 10:case"end":return o.stop()}},e,null,[[0,7]])}))).apply(this,arguments)}function zv(e){return zv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zv(e)}var Fte=/^\s+/,_te=/\s+$/;function dt(e,t){if(t=t||{},(e=e||"")instanceof dt)return e;if(!(this instanceof dt))return new dt(e,t);var n=function(r){var o={r:0,g:0,b:0},i=1,a=null,s=null,c=null,l=!1,u=!1;typeof r=="string"&&(r=function(p){p=p.replace(Fte,"").replace(_te,"").toLowerCase();var m,A=!1;if(C3[p])p=C3[p],A=!0;else if(p=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(m=Aa.rgb.exec(p))?{r:m[1],g:m[2],b:m[3]}:(m=Aa.rgba.exec(p))?{r:m[1],g:m[2],b:m[3],a:m[4]}:(m=Aa.hsl.exec(p))?{h:m[1],s:m[2],l:m[3]}:(m=Aa.hsla.exec(p))?{h:m[1],s:m[2],l:m[3],a:m[4]}:(m=Aa.hsv.exec(p))?{h:m[1],s:m[2],v:m[3]}:(m=Aa.hsva.exec(p))?{h:m[1],s:m[2],v:m[3],a:m[4]}:(m=Aa.hex8.exec(p))?{r:mi(m[1]),g:mi(m[2]),b:mi(m[3]),a:dO(m[4]),format:A?"name":"hex8"}:(m=Aa.hex6.exec(p))?{r:mi(m[1]),g:mi(m[2]),b:mi(m[3]),format:A?"name":"hex"}:(m=Aa.hex4.exec(p))?{r:mi(m[1]+""+m[1]),g:mi(m[2]+""+m[2]),b:mi(m[3]+""+m[3]),a:dO(m[4]+""+m[4]),format:A?"name":"hex8"}:(m=Aa.hex3.exec(p))?{r:mi(m[1]+""+m[1]),g:mi(m[2]+""+m[2]),b:mi(m[3]+""+m[3]),format:A?"name":"hex"}:!1}(r)),zv(r)=="object"&&(Xs(r.r)&&Xs(r.g)&&Xs(r.b)?(f=r.r,d=r.g,h=r.b,o={r:255*nr(f,255),g:255*nr(d,255),b:255*nr(h,255)},l=!0,u=String(r.r).substr(-1)==="%"?"prgb":"rgb"):Xs(r.h)&&Xs(r.s)&&Xs(r.v)?(a=H0(r.s),s=H0(r.v),o=function(p,m,A){p=6*nr(p,360),m=nr(m,100),A=nr(A,100);var x=Math.floor(p),y=p-x,R=A*(1-m),g=A*(1-y*m),b=A*(1-(1-y)*m),L=x%6;return{r:255*[A,g,R,R,b,A][L],g:255*[b,A,A,g,R,R][L],b:255*[R,R,b,A,A,g][L]}}(r.h,a,s),l=!0,u="hsv"):Xs(r.h)&&Xs(r.s)&&Xs(r.l)&&(a=H0(r.s),c=H0(r.l),o=function(p,m,A){var x,y,R;function g(T,M,w){return w<0&&(w+=1),w>1&&(w-=1),w<1/6?T+6*(M-T)*w:w<.5?M:w<2/3?T+(M-T)*(2/3-w)*6:T}if(p=nr(p,360),m=nr(m,100),A=nr(A,100),m===0)x=y=R=A;else{var b=A<.5?A*(1+m):A+m-A*m,L=2*A-b;x=g(L,b,p+1/3),y=g(L,b,p),R=g(L,b,p-1/3)}return{r:255*x,g:255*y,b:255*R}}(r.h,a,c),l=!0,u="hsl"),r.hasOwnProperty("a")&&(i=r.a));var f,d,h;return i=_C(i),{ok:l,format:r.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function sO(e,t,n){e=nr(e,255),t=nr(t,255),n=nr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(dt(r));return i}function Kte(e,t){t=t||6;for(var n=dt(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(dt({h:r,s:o,v:i})),i=(i+s)%1;return a}dt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=_C(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=lO(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=lO(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return this._a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=sO(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=sO(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return this._a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return cO(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(t,n,r,o,i){var a=[ka(Math.round(t).toString(16)),ka(Math.round(n).toString(16)),ka(Math.round(r).toString(16)),ka(EC(o))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*nr(this._r,255))+"%",g:Math.round(100*nr(this._g,255))+"%",b:Math.round(100*nr(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*nr(this._r,255))+"%, "+Math.round(100*nr(this._g,255))+"%, "+Math.round(100*nr(this._b,255))+"%)":"rgba("+Math.round(100*nr(this._r,255))+"%, "+Math.round(100*nr(this._g,255))+"%, "+Math.round(100*nr(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(Hte[cO(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+uO(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=dt(e);n="#"+uO(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||e!=="hex"&&e!=="hex6"&&e!=="hex3"&&e!=="hex4"&&e!=="hex8"&&e!=="name"?(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),e!=="hex"&&e!=="hex6"||(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),n||this.toHexString()):e==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return dt(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(Vte,arguments)},brighten:function(){return this._applyModification(Ute,arguments)},darken:function(){return this._applyModification(Yte,arguments)},desaturate:function(){return this._applyModification(Ete,arguments)},saturate:function(){return this._applyModification(Xte,arguments)},greyscale:function(){return this._applyModification(Wte,arguments)},spin:function(){return this._applyModification(Qte,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Dte,arguments)},complement:function(){return this._applyCombination(Zte,arguments)},monochromatic:function(){return this._applyCombination(Kte,arguments)},splitcomplement:function(){return this._applyCombination(Bte,arguments)},triad:function(){return this._applyCombination(fO,[3])},tetrad:function(){return this._applyCombination(fO,[4])}},dt.fromRatio=function(e,t){if(zv(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=r==="a"?e[r]:H0(e[r]));e=n}return dt(e,t)},dt.equals=function(e,t){return!(!e||!t)&&dt(e).toRgbString()==dt(t).toRgbString()},dt.random=function(){return dt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},dt.mix=function(e,t,n){n=n===0?0:n||50;var r=dt(e).toRgb(),o=dt(t).toRgb(),i=n/100;return dt({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},dt.readability=function(e,t){var n=dt(e),r=dt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},dt.isReadable=function(e,t,n){var r,o,i=dt.readability(e,t);switch(o=!1,(r=function(a){var s,c;return s=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase(),c=(a.size||"small").toLowerCase(),s!=="AA"&&s!=="AAA"&&(s="AA"),c!=="small"&&c!=="large"&&(c="small"),{level:s,size:c}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},dt.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;lc&&(c=r,s=dt(t[l]));return dt.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,dt.mostReadable(e,["#fff","#000"],n))};var C3=dt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Hte=dt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(C3);function _C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function nr(e,t){(function(r){return typeof r=="string"&&r.indexOf(".")!=-1&&parseFloat(r)===1})(e)&&(e="100%");var n=function(r){return typeof r=="string"&&r.indexOf("%")!=-1}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function n2(e){return Math.min(1,Math.max(0,e))}function mi(e){return parseInt(e,16)}function ka(e){return e.length==1?"0"+e:""+e}function H0(e){return e<=1&&(e=100*e+"%"),e}function EC(e){return Math.round(255*parseFloat(e)).toString(16)}function dO(e){return mi(e)/255}var Ol,mm,vm,Aa=(mm="[\\s|\\(]+("+(Ol="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")\\s*\\)?",vm="[\\s|\\(]+("+Ol+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")[,|\\s]+("+Ol+")\\s*\\)?",{CSS_UNIT:new RegExp(Ol),rgb:new RegExp("rgb"+mm),rgba:new RegExp("rgba"+vm),hsl:new RegExp("hsl"+mm),hsla:new RegExp("hsla"+vm),hsv:new RegExp("hsv"+mm),hsva:new RegExp("hsva"+vm),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Xs(e){return!!Aa.CSS_UNIT.exec(e)}function Gte(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return hO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return hO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function hO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>18]+n[(258048&t)>>12]+n[(4032&t)>>6]+n[63&t];return i===1?s+=n[(252&(t=r[a]))>>2]+n[(3&t)<<4]+"==":i===2&&(s+=n[(64512&(t=r[a]<<8|r[a+1]))>>10]+n[(1008&t)>>4]+n[(15&t)<<2]+"="),s}function Ny(e){return e.substr(2+(~-e.lastIndexOf(".")>>>0))}function xf(e,t){if(!e)return e;var n="";if(e.constructor===Array)for(var r=0;r":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(n){return t[n]})}function I3(e){var t="";switch(e.toLowerCase()){case"jpg":case"jpeg":t="image/jpeg";break;case"png":t="image/png";break;case"gif":t="image/gif";break;case"emf":t="image/x-emf";break;case"wmf":t="image/x-wmf";break;case"svg":t="image/svg+xml";break;case"mp4":t="video/mp4";break;case"webm":t="video/webm";break;case"ogg":t="video/ogg";break;case"avi":t="video/avi";break;case"mpg":t="video/mpg";break;case"wmv":t="video/wmv";break;case"mp3":t="audio/mpeg";break;case"wav":t="audio/wav";break;case"tif":case"tiff":t="image/tiff"}return t}function Jte(e){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(e)}function Sf(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function G0(e,t){switch(e){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2"}var n=Ue(t.themeContent,["a:theme","a:themeElements","a:clrScheme",e]),r=Ue(n,["a:srgbClr","attrs","val"]);return!r&&n&&(r=Ue(n,["a:sysClr","attrs","lastClr"])),r}function Py(e,t,n){return n<0&&(n+=6),n>=6&&(n-=6),n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e}function Cy(e){var t="";return e["a:noFill"]&&(t="NO_FILL"),e["a:solidFill"]&&(t="SOLID_FILL"),e["a:gradFill"]&&(t="GRADIENT_FILL"),e["a:pattFill"]&&(t="PATTERN_FILL"),e["a:blipFill"]&&(t="PIC_FILL"),e["a:grpFill"]&&(t="GROUP_FILL"),t}function zte(e,t,n){return F3.apply(this,arguments)}function F3(){return F3=ii(Wn.mark(function e(t,n,r){var o,i,a,s,c,l;return Wn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(i=n["a:blip"].attrs["r:embed"],t==="slideBg"||t==="slide"?a=Ue(r,["slideResObj",i,"target"]):t==="slideLayoutBg"?a=Ue(r,["layoutResObj",i,"target"]):t==="slideMasterBg"?a=Ue(r,["masterResObj",i,"target"]):t==="themeBg"&&(a=Ue(r,["themeResObj",i,"target"])),a){u.next=4;break}return u.abrupt("return",a);case 4:if(o=Ue(r,["loaded-images",a])){u.next=15;break}if(a=WC(a),(s=a.split(".").pop())!=="xml"){u.next=10;break}return u.abrupt("return",void 0);case 10:return u.next=12,r.zip.file(a).async("arraybuffer");case 12:c=u.sent,l=I3(s),o="data:".concat(l,";base64,").concat(XC(c));case 15:return u.abrupt("return",o);case 16:case"end":return u.stop()}},e)})),F3.apply(this,arguments)}function Iy(e,t,n){return VC.apply(this,arguments)}function VC(){return(VC=ii(Wn.mark(function e(t,n,r){var o,i,a,s;return Wn.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,zte(n,t["a:blipFill"],r);case 2:return o=c.sent,i=t["a:blipFill"]["a:blip"],a=Ue(i,["a:alphaModFix","attrs"]),s=1,a&&a.amt&&a.amt!==""&&(s=parseInt(a.amt)/1e5),c.abrupt("return",{picBase64:o,opacity:s});case 8:case"end":return c.stop()}},e)}))).apply(this,arguments)}function Fy(e,t,n,r){if(e){for(var o=e["a:gradFill"],i=o["a:gsLst"]["a:gs"],a=[],s=0;s=360&&(E-=360),_?dt({h:E,s:P.s,l:P.l,a:P.a}).toHex8():dt({h:E,s:P.s,l:P.l,a:P.a}).toHex()}(i,R,A));var g=parseInt(Ue(o,["a:lumMod","attrs","val"]))/1e5;isNaN(g)||(i=function(w,k,_){var P=dt(w).toHsl(),E=P.l*k;return E>=1&&(E=1),_?dt({h:P.h,s:P.s,l:E,a:P.a}).toHex8():dt({h:P.h,s:P.s,l:E,a:P.a}).toHex()}(i,g,A));var b=parseInt(Ue(o,["a:lumOff","attrs","val"]))/1e5;isNaN(b)||(i=function(w,k,_){var P=dt(w).toHsl(),E=k+P.l;return E>=1?_?dt({h:P.h,s:P.s,l:1,a:P.a}).toHex8():dt({h:P.h,s:P.s,l:1,a:P.a}).toHex():_?dt({h:P.h,s:P.s,l:E,a:P.a}).toHex8():dt({h:P.h,s:P.s,l:E,a:P.a}).toHex()}(i,b,A));var L=parseInt(Ue(o,["a:satMod","attrs","val"]))/1e5;isNaN(L)||(i=function(w,k,_){var P=dt(w).toHsl(),E=P.s*k;return E>=1&&(E=1),_?dt({h:P.h,s:E,l:P.l,a:P.a}).toHex8():dt({h:P.h,s:E,l:P.l,a:P.a}).toHex()}(i,L,A));var T=parseInt(Ue(o,["a:shade","attrs","val"]))/1e5;isNaN(T)||(i=function(w,k,_){var P=dt(w).toHsl();k>=1&&(k=1);var E=Math.min(P.l*k,1);return _?dt({h:P.h,s:P.s,l:E,a:P.a}).toHex8():dt({h:P.h,s:P.s,l:E,a:P.a}).toHex()}(i,T,A));var M=parseInt(Ue(o,["a:tint","attrs","val"]))/1e5;return isNaN(M)||(i=function(w,k,_){var P=dt(w).toHsl();k>=1&&(k=1);var E=P.l*k+(1-k);return _?dt({h:P.h,s:P.s,l:E,a:P.a}).toHex8():dt({h:P.h,s:P.s,l:E,a:P.a}).toHex()}(i,M,A)),i}function So(e){var t=[];if(!e)return t;if(e["c:xVal"]){var n=[];xf(e["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n),n=[],xf(e["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n)}else xf(e,function(r,o){var i=[],a=Ue(r,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||o,s={};return Ue(r,["c:cat","c:strRef","c:strCache","c:pt"])?xf(r["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],function(c){return s[c.attrs.idx]=c["c:v"],""}):Ue(r,["c:cat","c:numRef","c:numCache","c:pt"])&&xf(r["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],function(c){return s[c.attrs.idx]=c["c:v"],""}),Ue(r,["c:val","c:numRef","c:numCache","c:pt"])&&xf(r["c:val"]["c:numRef"]["c:numCache"]["c:pt"],function(c){return i.push({x:c.attrs.idx,y:parseFloat(c["c:v"])}),""}),t.push({key:a,values:i,xlabels:s}),""});return t}function jte(e){var t=null;for(var n in e)switch(n){case"c:lineChart":t={type:"lineChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),marker:!!e[n]["c:marker"]};break;case"c:line3DChart":t={type:"line3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:barChart":t={type:"barChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),barDir:Ue(e[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":t={type:"bar3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"]),barDir:Ue(e[n],["c:barDir","attrs","val"])};break;case"c:pieChart":t={type:"pieChart",data:So(e[n]["c:ser"])};break;case"c:pie3DChart":t={type:"pie3DChart",data:So(e[n]["c:ser"])};break;case"c:doughnutChart":t={type:"doughnutChart",data:So(e[n]["c:ser"]),holeSize:Ue(e[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":t={type:"areaChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":t={type:"area3DChart",data:So(e[n]["c:ser"]),grouping:Ue(e[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":t={type:"scatterChart",data:So(e[n]["c:ser"]),style:Ue(e[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":t={type:"bubbleChart",data:So(e[n]["c:ser"])};break;case"c:radarChart":t={type:"radarChart",data:So(e[n]["c:ser"]),style:Ue(e[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":t={type:"surfaceChart",data:So(e[n]["c:ser"])};break;case"c:surface3DChart":t={type:"surface3DChart",data:So(e[n]["c:ser"])};break;case"c:stockChart":t={type:"stockChart",data:So(e[n]["c:ser"])}}return t}function qte(e,t,n,r){var o=Ue(e,["a:pPr","attrs","algn"]);if(o||(o=Ue(t,["a:pPr","attrs","algn"])),!o)if(n==="title"||n==="ctrTitle"||n==="subTitle"){var i=1,a=Ue(t,["a:pPr","attrs","lvl"]);a&&(i=parseInt(a)+1);var s="a:lvl"+i+"pPr";(o=Ue(r,["slideLayoutTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(o=Ue(r,["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"])),o||(o=Ue(r,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),o||n!=="subTitle"||(o=Ue(r,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else o=Ue(r,n==="body"?["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]:["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var c="left";if(o)switch(o){case"l":c="left";break;case"r":c="right";break;case"ctr":c="center";break;case"just":case"dist":c="justify";break;default:c="inherit"}return c}function Xp(e,t,n,r){var o;return e?o=e["a:off"].attrs:t?o=t["a:off"].attrs:n&&(o=n["a:off"].attrs),o?{top:parseFloat((parseInt(o.y)*r).toFixed(2)),left:parseFloat((parseInt(o.x)*r).toFixed(2))}:{top:0,left:0}}function Wp(e,t,n,r){var o;return e?o=e["a:ext"].attrs:t?o=t["a:ext"].attrs:n&&(o=n["a:ext"].attrs),o?{width:parseFloat((parseInt(o.cx)*r).toFixed(2)),height:parseFloat((parseInt(o.cy)*r).toFixed(2))}:{width:0,height:0}}function YC(e,t){var n=t.options.slideFactor,r=gu(e,0,0,t),o=e.attrs,i=o.dir?parseInt(o.dir)/6e4:0,a=parseInt(o.dist)*n,s=o.blurRad?parseFloat((parseInt(o.blurRad)*n).toFixed(2)):"",c=a*Math.sin(i*Math.PI/180),l=a*Math.cos(i*Math.PI/180);return{h:parseFloat(l.toFixed(2)),v:parseFloat(c.toFixed(2)),blur:s,color:"#"+r}}function pO(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(c,l){if(c){if(typeof c=="string")return mO(c,l);var u=Object.prototype.toString.call(c).slice(8,-1);if(u==="Object"&&c.constructor&&(u=c.constructor.name),u==="Map"||u==="Set")return Array.from(c);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return mO(c,l)}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function mO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&h.shift(),(f=f.concat(h)).sort(function(y,R){return!y.attrs||!R.attrs||y.attrs.order-R.attrs.order})));var p=qte(u,t,r,o),m=ene(u);if(m?(c?c&&c!==m&&(a+=""),a+="<".concat(m,">"),c=m):(a+="<".concat(m,">"),c=m),a+='
  • ')):(c&&(a+=""),c=""),a+='

    ')),f){var A,x=pO(f);try{for(x.s();!(A=x.n()).done;)a+=vO(A.value,n,r,o)}catch(y){x.e(y)}finally{x.f()}}else a+=vO(u,n,r,o);a+=m?"

  • ":"

    "}}catch(y){l.e(y)}finally{l.f()}return a}function ene(e){var t=e["a:pPr"];return t?t["a:buChar"]?"ul":t["a:buAutoNum"]?"ol":"":""}function vO(e,t,n,r){var o=r.slideMasterTextStyles,i=e["a:t"];typeof i!="string"&&(i=Ue(e,["a:fld","a:t"])),typeof i!="string"&&(i=" ");var a="",s=function(R){var g=Ue(R,["a:rPr","a:solidFill","a:srgbClr","attrs","val"]);return g?"#".concat(g):""}(e),c=function(R,g,b,L,T){var M,w;if(R["a:rPr"]&&(M=parseInt(R["a:rPr"].attrs.sz)/100),isNaN(M)||!M){var k=Ue(g,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);M=parseInt(k)/100}return!isNaN(M)&&M||(b==="title"||b==="subTitle"||b==="ctrTitle"?w=Ue(L,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):b==="body"?w=Ue(L,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):b==="dt"||b==="sldNum"?w="1200":b||(w=Ue(L,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),w&&(M=parseInt(w)/100)),Ue(R,["a:rPr","attrs","baseline"])&&!isNaN(M)&&(M-=10),M=isNaN(M)||!M?18:M,parseFloat((M*T).toFixed(2))+(T===1?"pt":"px")}(e,t,n,o,r.options.fontsizeFactor),l=function(R,g,b){var L=Ue(R,["a:rPr","a:latin","attrs","typeface"]);if(!L){var T=Ue(b.themeContent,["a:theme","a:themeElements","a:fontScheme"]);L=Ue(T,g==="title"||g==="subTitle"||g==="ctrTitle"?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return L||""}(e,n,r),u=function(R){return Ue(R,["a:rPr","attrs","b"])==="1"?"bold":""}(e),f=function(R){return Ue(R,["a:rPr","attrs","i"])==="1"?"italic":""}(e),d=function(R){return Ue(R,["a:rPr","attrs","u"])==="sng"?"underline":""}(e),h=function(R){return Ue(R,["a:rPr","attrs","strike"])==="sngStrike"?"line-through":""}(e),p=function(R,g){var b=Ue(R,["a:rPr","attrs","spc"]);return b?parseInt(b)/100*g+"px":""}(e,r.options.fontsizeFactor),m=function(R,g){var b=Ue(R,["a:rPr","a:effectLst","a:outerShdw"]);if(b){var L=YC(b,g);if(L){var T=L.h,M=L.v,w=L.blur,k=L.color;if(!isNaN(M)&&!isNaN(T))return T+"px "+M+"px "+(w?w+"px":"")+" "+k}}return""}(e,r),A=function(R){var g=Ue(R,["a:rPr","attrs","baseline"]);return g?parseInt(g)>0?"super":"sub":""}(e);s&&(a+="color: ".concat(s,";")),c&&(a+="font-size: ".concat(c,";")),l&&(a+="font-family: ".concat(l,";")),u&&(a+="font-weight: ".concat(u,";")),f&&(a+="font-style: ".concat(f,";")),d&&(a+="text-decoration: ".concat(d,";")),h&&(a+="text-decoration-line: ".concat(h,";")),p&&(a+="letter-spacing: ".concat(p,";")),A&&(a+="vertical-align: ".concat(A,"; font-size: smaller;")),m&&(a+="text-shadow: ".concat(m,";"));var x=Ue(e,["a:rPr","a:hlinkClick","attrs","r:id"]);if(x){var y=r.slideResObj[x].target;return'').concat(i.replace(/\t/g,"    ").replace(/\s/g," "),"")}return'').concat(i.replace(/\t/g,"    ").replace(/\s/g," "),"")}function tne(e,t,n,r,o,i,a){var s,c=o;if(i>=o)for(;c<=i;){var l=c*(Math.PI/180),u=e+Math.cos(l)*n,f=t+Math.sin(l)*r;c===o&&(s=" M"+u+" "+f),s+=" L"+u+" "+f,c++}else for(;c>i;){var d=c*(Math.PI/180),h=e+Math.cos(d)*n,p=t+Math.sin(d)*r;c===o&&(s=" M "+h+" "+p),s+=" L "+h+" "+p,c--}return s+=a?" z":""}function gO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function tc(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function AO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&m[1]!==void 0?m[1]:{},n=tc(tc({},{slideFactor:96/914400,fontsizeFactor:100/75}),n),r=[],A.next=6,Pte.loadAsync(t);case 6:return o=A.sent,A.next=9,rne(o);case 9:return i=A.sent,A.next=12,one(o,n);case 12:return a=A.sent,s=a.width,c=a.height,l=a.defaultTextStyle,A.next=18,ine(o);case 18:u=A.sent,f=Po(i.slides),A.prev=20,f.s();case 22:if((d=f.n()).done){A.next=30;break}return h=d.value,A.next=26,ane(o,h,u,l,n);case 26:p=A.sent,r.push(p);case 28:A.next=22;break;case 30:A.next=35;break;case 32:A.prev=32,A.t0=A.catch(20),f.e(A.t0);case 35:return A.prev=35,f.f(),A.finish(35);case 38:return A.abrupt("return",{slides:r,size:{width:s,height:c}});case 39:case"end":return A.stop()}},e,null,[[20,32,35,38]])})),_3.apply(this,arguments)}function rne(e){return QC.apply(this,arguments)}function QC(){return(QC=ii(Wn.mark(function e(t){var n,r,o,i,a,s,c,l;return Wn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,Lo(t,"[Content_Types].xml");case 2:n=u.sent,r=n.Types.Override,o=[],i=[],a=Po(r),u.prev=7,a.s();case 9:if((s=a.n()).done){u.next=20;break}c=s.value,u.t0=c.attrs.ContentType,u.next=u.t0==="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"?14:u.t0==="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"?16:18;break;case 14:return o.push(c.attrs.PartName.substr(1)),u.abrupt("break",18);case 16:return i.push(c.attrs.PartName.substr(1)),u.abrupt("break",18);case 18:u.next=9;break;case 20:u.next=25;break;case 22:u.prev=22,u.t1=u.catch(7),a.e(u.t1);case 25:return u.prev=25,a.f(),u.finish(25);case 28:return l=function(f,d){return+/(\d+)\.xml/.exec(f)[1]-+/(\d+)\.xml/.exec(d)[1]},o=o.sort(l),i=i.sort(l),u.abrupt("return",{slides:o,slideLayouts:i});case 32:case"end":return u.stop()}},e,null,[[7,22,25,28]])}))).apply(this,arguments)}function one(e,t){return ZC.apply(this,arguments)}function ZC(){return(ZC=ii(Wn.mark(function e(t,n){var r,o,i;return Wn.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Lo(t,"ppt/presentation.xml");case 2:return r=a.sent,o=r["p:presentation"]["p:sldSz"].attrs,i=r["p:presentation"]["p:defaultTextStyle"],a.abrupt("return",{width:parseInt(o.cx)*n.slideFactor,height:parseInt(o.cy)*n.slideFactor,defaultTextStyle:i});case 6:case"end":return a.stop()}},e)}))).apply(this,arguments)}function ine(e){return BC.apply(this,arguments)}function BC(){return(BC=ii(Wn.mark(function e(t){var n,r,o,i,a,s;return Wn.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Lo(t,"ppt/_rels/presentation.xml.rels");case 2:if(n=c.sent,(r=n.Relationships.Relationship).constructor!==Array){c.next=25;break}i=Po(r),c.prev=6,i.s();case 8:if((a=i.n()).done){c.next=15;break}if((s=a.value).attrs.Type!=="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"){c.next=13;break}return o=s.attrs.Target,c.abrupt("break",15);case 13:c.next=8;break;case 15:c.next=20;break;case 17:c.prev=17,c.t0=c.catch(6),i.e(c.t0);case 20:return c.prev=20,i.f(),c.finish(20);case 23:c.next=26;break;case 25:r.attrs.Type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"&&(o=r.attrs.Target);case 26:if(o){c.next=28;break}throw Error("Can't open theme file.");case 28:return c.next=30,Lo(t,"ppt/"+o);case 30:return c.abrupt("return",c.sent);case 31:case"end":return c.stop()}},e,null,[[6,17,20,23]])}))).apply(this,arguments)}function ane(e,t,n,r,o){return E3.apply(this,arguments)}function E3(){return E3=ii(Wn.mark(function e(t,n,r,o,i){var a,s,c,l,u,f,d,h,p,m,A,x,y,R,g,b,L,T,M,w,k,_,P,E,I,F,N,V,Z,J,se,D,Q,B,H,U,te,z,oe,pe,Ae,me,$,ue,X,ne,le,j,ee,ae,ge,ce,ve,ye,_e,Se;return Wn.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return a=n.replace("slides/slide","slides/_rels/slide")+".rels",be.next=3,Lo(t,a);case 3:if(s=be.sent,c=s.Relationships.Relationship,l="",u="",f={},c.constructor!==Array){be.next=35;break}d=Po(c),be.prev=10,d.s();case 12:if((h=d.n()).done){be.next=25;break}p=h.value,be.t0=p.attrs.Type,be.next=be.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"?17:be.t0==="http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"?19:(be.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"||be.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"||be.t0==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"||be.t0,22);break;case 17:return l=p.attrs.Target.replace("../","ppt/"),be.abrupt("break",23);case 19:return u=p.attrs.Target.replace("../","ppt/"),f[p.attrs.Id]={type:p.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:p.attrs.Target.replace("../","ppt/")},be.abrupt("break",23);case 22:f[p.attrs.Id]={type:p.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:p.attrs.Target.replace("../","ppt/")};case 23:be.next=12;break;case 25:be.next=30;break;case 27:be.prev=27,be.t1=be.catch(10),d.e(be.t1);case 30:return be.prev=30,d.f(),be.finish(30);case 33:be.next=36;break;case 35:l=c.attrs.Target.replace("../","ppt/");case 36:return be.next=38,Lo(t,l);case 38:return m=be.sent,be.next=41,RO(m);case 41:return A=be.sent,x=l.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",be.next=45,Lo(t,x);case 45:if(y=be.sent,c=y.Relationships.Relationship,R="",g={},c.constructor!==Array){be.next=73;break}b=Po(c),be.prev=51,b.s();case 53:if((L=b.n()).done){be.next=63;break}T=L.value,be.t2=T.attrs.Type,be.next=be.t2==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"?58:60;break;case 58:return R=T.attrs.Target.replace("../","ppt/"),be.abrupt("break",61);case 60:g[T.attrs.Id]={type:T.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:T.attrs.Target.replace("../","ppt/")};case 61:be.next=53;break;case 63:be.next=68;break;case 65:be.prev=65,be.t3=be.catch(51),b.e(be.t3);case 68:return be.prev=68,b.f(),be.finish(68);case 71:be.next=74;break;case 73:R=c.attrs.Target.replace("../","ppt/");case 74:return be.next=76,Lo(t,R);case 76:return M=be.sent,w=Ue(M,["p:sldMaster","p:txStyles"]),k=RO(M),_=R.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",be.next=82,Lo(t,_);case 82:if(P=be.sent,c=P.Relationships.Relationship,E="",I={},c.constructor!==Array){be.next=109;break}F=Po(c),be.prev=88,F.s();case 90:if((N=F.n()).done){be.next=99;break}V=N.value,be.t4=V.attrs.Type,be.next=be.t4==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"?95:96;break;case 95:return be.abrupt("break",97);case 96:I[V.attrs.Id]={type:V.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:V.attrs.Target.replace("../","ppt/")};case 97:be.next=90;break;case 99:be.next=104;break;case 101:be.prev=101,be.t5=be.catch(88),F.e(be.t5);case 104:return be.prev=104,F.f(),be.finish(104);case 107:be.next=110;break;case 109:E=c.attrs.Target.replace("../","ppt/");case 110:if(Z={},!E){be.next=118;break}return J=E.split("/").pop(),se=E.replace(J,"_rels/"+J)+".rels",be.next=116,Lo(t,se);case 116:if((D=be.sent)&&(c=D.Relationships.Relationship))if(c.constructor===Array){Q=Po(c);try{for(Q.s();!(B=Q.n()).done;)H=B.value,Z[H.attrs.Id]={type:H.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:H.attrs.Target.replace("../","ppt/")}}catch(ut){Q.e(ut)}finally{Q.f()}}else Z[c.attrs.Id]={type:c.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:c.attrs.Target.replace("../","ppt/")};case 118:if(U={},te={},!u){be.next=131;break}return z=u.split("/").pop(),oe=u.replace(z,"_rels/"+z)+".rels",be.next=125,Lo(t,u);case 125:return(te=be.sent)&&te&&te&&(pe=(pe=JSON.stringify(te)).replace(/dsp:/g,"p:"),te=JSON.parse(pe)),be.next=129,Lo(t,oe);case 129:if(Ae=be.sent)if((c=Ae.Relationships.Relationship).constructor===Array){me=Po(c);try{for(me.s();!($=me.n()).done;)ue=$.value,U[ue.attrs.Id]={type:ue.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:ue.attrs.Target.replace("../","ppt/")}}catch(ut){me.e(ut)}finally{me.f()}}else U[c.attrs.Id]={type:c.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:c.attrs.Target.replace("../","ppt/")};case 131:return be.next=133,Lo(t,"ppt/tableStyles.xml");case 133:return X=be.sent,be.next=136,Lo(t,n);case 136:return ne=be.sent,le=ne["p:sld"]["p:cSld"]["p:spTree"],j={zip:t,slideLayoutContent:m,slideLayoutTables:A,slideMasterContent:M,slideMasterTables:k,slideContent:ne,tableStyles:X,slideResObj:f,slideMasterTextStyles:w,layoutResObj:g,masterResObj:I,themeContent:r,themeResObj:Z,digramFileContent:te,diagramResObj:U,defaultTextStyle:o,options:i},be.next=141,$te(j);case 141:ee=be.sent,ae=[],be.t6=Wn.keys(le);case 144:if((be.t7=be.t6()).done){be.next=174;break}if(ge=be.t7.value,le[ge].constructor!==Array){be.next=168;break}ce=Po(le[ge]),be.prev=148,ce.s();case 150:if((ve=ce.n()).done){be.next=158;break}return ye=ve.value,be.next=154,jv(ge,ye,j,"slide");case 154:(_e=be.sent)&&ae.push(_e);case 156:be.next=150;break;case 158:be.next=163;break;case 160:be.prev=160,be.t8=be.catch(148),ce.e(be.t8);case 163:return be.prev=163,ce.f(),be.finish(163);case 166:be.next=172;break;case 168:return be.next=170,jv(ge,le[ge],j,"slide");case 170:(Se=be.sent)&&ae.push(Se);case 172:be.next=144;break;case 174:return be.abrupt("return",{fill:ee,elements:ae});case 175:case"end":return be.stop()}},e,null,[[10,27,30,33],[51,65,68,71],[88,101,104,107],[148,160,163,166]])})),E3.apply(this,arguments)}function RO(e){var t=e[Object.keys(e)[0]]["p:cSld"]["p:spTree"],n={},r={},o={};for(var i in t)if(i!=="p:nvGrpSpPr"&&i!=="p:grpSpPr"){var a=t[i];if(a.constructor===Array){var s,c=Po(a);try{for(c.s();!(s=c.n()).done;){var l=s.value,u=l["p:nvSpPr"],f=Ue(u,["p:cNvPr","attrs","id"]),d=Ue(u,["p:nvPr","p:ph","attrs","idx"]),h=Ue(u,["p:nvPr","p:ph","attrs","type"]);f&&(n[f]=l),d&&(r[d]=l),h&&(o[h]=l)}}catch(y){c.e(y)}finally{c.f()}}else{var p=a["p:nvSpPr"],m=Ue(p,["p:cNvPr","attrs","id"]),A=Ue(p,["p:nvPr","p:ph","attrs","idx"]),x=Ue(p,["p:nvPr","p:ph","attrs","type"]);m&&(n[m]=a),A&&(r[A]=a),x&&(o[x]=a)}}return{idTable:n,idxTable:r,typeTable:o}}function jv(e,t,n,r){return DC.apply(this,arguments)}function DC(){return(DC=ii(Wn.mark(function e(t,n,r,o){var i;return Wn.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:a.t0=t,a.next=a.t0==="p:sp"?3:a.t0==="p:cxnSp"?5:a.t0==="p:pic"?7:a.t0==="p:graphicFrame"?9:a.t0==="p:grpSp"?13:a.t0==="mc:AlternateContent"?17:21;break;case 3:return i=KC(n,r,o),a.abrupt("break",21);case 5:return i=sne(n,r),a.abrupt("break",21);case 7:return i=lne(n,r,o),a.abrupt("break",21);case 9:return a.next=11,cne(n,r,o);case 11:case 15:case 19:return i=a.sent,a.abrupt("break",21);case 13:return a.next=15,X3(n,r,o);case 17:return a.next=19,X3(Ue(n,["mc:Fallback"]),r,o);case 21:return a.abrupt("return",i);case 22:case"end":return a.stop()}},e)}))).apply(this,arguments)}function X3(e,t,n){return W3.apply(this,arguments)}function W3(){return W3=ii(Wn.mark(function e(t,n,r){var o,i,a,s,c,l,u,f,d,h,p,m,A,x,y,R,g,b;return Wn.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(o=Ue(t,["p:grpSpPr","a:xfrm"])){L.next=3;break}return L.abrupt("return",null);case 3:i=parseInt(o["a:off"].attrs.x)*n.options.slideFactor,a=parseInt(o["a:off"].attrs.y)*n.options.slideFactor,s=parseInt(o["a:chOff"].attrs.x)*n.options.slideFactor,c=parseInt(o["a:chOff"].attrs.y)*n.options.slideFactor,l=parseInt(o["a:ext"].attrs.cx)*n.options.slideFactor,u=parseInt(o["a:ext"].attrs.cy)*n.options.slideFactor,f=parseInt(o["a:chExt"].attrs.cx)*n.options.slideFactor,d=parseInt(o["a:chExt"].attrs.cy)*n.options.slideFactor,h=l/f,p=u/d,m=[],L.t0=Wn.keys(t);case 15:if((L.t1=L.t0()).done){L.next=45;break}if(A=L.t1.value,t[A].constructor!==Array){L.next=39;break}x=Po(t[A]),L.prev=19,x.s();case 21:if((y=x.n()).done){L.next=29;break}return R=y.value,L.next=25,jv(A,R,n,r);case 25:(g=L.sent)&&m.push(g);case 27:L.next=21;break;case 29:L.next=34;break;case 31:L.prev=31,L.t2=L.catch(19),x.e(L.t2);case 34:return L.prev=34,x.f(),L.finish(34);case 37:L.next=43;break;case 39:return L.next=41,jv(A,t[A],n,r);case 41:(b=L.sent)&&m.push(b);case 43:L.next=15;break;case 45:return L.abrupt("return",{type:"group",top:parseFloat(a.toFixed(2)),left:parseFloat(i.toFixed(2)),width:parseFloat(l.toFixed(2)),height:parseFloat(u.toFixed(2)),elements:m.map(function(T){return tc(tc({},T),{},{left:parseFloat(((T.left-s)*h).toFixed(2)),top:parseFloat(((T.top-c)*p).toFixed(2)),width:parseFloat((T.width*h).toFixed(2)),height:parseFloat((T.height*p).toFixed(2))})})});case 46:case"end":return L.stop()}},e,null,[[19,31,34,37]])})),W3.apply(this,arguments)}function KC(e,t,n){var r,o,i=Ue(e,["p:nvSpPr","p:cNvPr","attrs","name"]),a=Ue(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=Ue(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);return s?(r=t.slideLayoutTables.typeTable[s],o=t.slideMasterTables.typeTable[s]):a&&(r=t.slideLayoutTables.idxTable[a],o=t.slideMasterTables.idxTable[a]),s||Ue(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"&&(s="text"),s||(s=Ue(r,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=Ue(o,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=n==="diagramBg"?"diagram":"obj"),HC(e,r,o,i,s,t)}function sne(e,t){return HC(e,void 0,void 0,e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,t)}function HC(e,t,n,r,o,i){var a,s=["p:spPr","a:xfrm"],c=Ue(e,s),l=Ue(t,s),u=Ue(n,s),f=Ue(e,["p:spPr","a:prstGeom","attrs","prst"]),d=Ue(e,["p:spPr","a:custGeom"]),h=Xp(c,l,u,i.options.slideFactor),p=h.top,m=h.left,A=Wp(c,l,u,i.options.slideFactor),x=A.width,y=A.height,R=Ue(c,["attrs","flipV"])==="1",g=Ue(c,["attrs","flipH"])==="1",b=$v(Ue(c,["attrs","rot"])),L=Ue(e,["p:txXfrm"]);if(L){var T=Ue(L,["attrs","rot"]);T&&(a=$v(T)+90)}else a=b;var M="";e["p:txBody"]&&(M=J0(e["p:txBody"],e,t,o,i));var w,k=function(Q,B,H){var U=Q["p:spPr"]["a:ln"],te=parseInt(Ue(U,["attrs","w"]))/12700;isNaN(te)&&(te=U||B==="text"?0:1);var z=Ue(U,["a:solidFill","a:srgbClr","attrs","val"]);if(!z){var oe=Ue(U,["a:solidFill","a:schemeClr"]);z=G0("a:"+Ue(oe,["attrs","val"]),H)}if(!z){var pe=Ue(Q,["p:style","a:lnRef","a:schemeClr"]);if(z=G0("a:"+Ue(pe,["attrs","val"]),H)){var Ae=Ue(pe,["a:shade","attrs","val"]);if(Ae){Ae=parseInt(Ae)/1e5;var me=dt("#"+z).toHsl();z=dt({h:me.h,s:me.s,l:me.l*Ae,a:me.a}).toHex()}}}z=z?"#".concat(z):"#000";var $="solid",ue="0";switch(Ue(U,["a:prstDash","attrs","val"])){case"solid":$="solid",ue="0";break;case"dash":$="dashed",ue="5";break;case"dashDot":$="dashed",ue="5, 5, 1, 5";break;case"dot":$="dotted",ue="1, 5";break;case"lgDash":$="dashed",ue="10, 5";break;case"lgDashDotDot":$="dotted",ue="10, 5, 1, 5, 1, 5";break;case"sysDash":$="dashed",ue="5, 2";break;case"sysDashDot":$="dotted",ue="5, 2, 1, 5";break;case"sysDashDotDot":$="dotted",ue="5, 2, 1, 5, 1, 5";break;case"sysDot":$="dotted",ue="2, 5"}return{borderColor:z,borderWidth:te,borderType:$,strokeDasharray:ue}}(e,o,i),_=k.borderColor,P=k.borderWidth,E=k.borderType,I=k.strokeDasharray,F=function(Q,B,H){if(Ue(Q,["p:spPr","a:noFill"]))return B?"none":"";var U;if(U||(U=Ue(Q,["p:spPr","a:solidFill","a:srgbClr","attrs","val"])),U||(U=G0("a:"+Ue(Q,["p:spPr","a:solidFill","a:schemeClr","attrs","val"]),H)),U||(U=G0("a:"+Ue(Q,["p:style","a:fillRef","a:schemeClr","attrs","val"]),H)),U){U="#".concat(U);var te=parseInt(Ue(Q,["p:spPr","a:solidFill","a:schemeClr","a:lumMod","attrs","val"]))/1e5,z=parseInt(Ue(Q,["p:spPr","a:solidFill","a:schemeClr","a:lumOff","attrs","val"]))/1e5;isNaN(te)&&(te=1),isNaN(z)&&(z=0);var oe=dt(U).toHsl(),pe=oe.l*te+z;return dt({h:oe.h,s:oe.s,l:pe,a:oe.a}).toHexString()}return B?"none":U}(e,void 0,i)||"",N=Ue(e,["p:spPr","a:effectLst","a:outerShdw"]);N&&(w=YC(N,i));var V=function(Q,B,H){var U=Ue(Q,["p:txBody","a:bodyPr","attrs","anchor"]);return U||(U=Ue(B,["p:txBody","a:bodyPr","attrs","anchor"]))||(U=Ue(H,["p:txBody","a:bodyPr","attrs","anchor"]))||(U="t"),U==="ctr"?"mid":U==="b"?"down":"up"}(e,t,n),Z=Ue(e,["p:txBody","a:bodyPr","attrs","vert"])==="eaVert",J={left:m,top:p,width:x,height:y,borderColor:_,borderWidth:P,borderType:E,borderStrokeDasharray:I,fillColor:F,content:M,isFlipV:R,isFlipH:g,rotate:b,vAlign:V,name:r};if(w&&(J.shadow=w),d&&o!=="diagram"){var se=Ue(c,["a:ext","attrs"]),D=function(Q,B,H){var U=Ue(Q,["a:pathLst"]),te=Ue(U,["a:path"]);Array.isArray(te)&&(te=te.pop());var z=parseInt(te.attrs.w),oe=parseInt(te.attrs.h),pe=z===0?0:1/z*B,Ae=oe===0?0:1/oe*H,me="",$=Ue(te,["a:moveTo"]),ue=te["a:lnTo"],X=te["a:cubicBezTo"],ne=te["a:arcTo"],le=Ue(te,["a:close"]);Array.isArray($)||($=[$]);var j=[];if($.length>0){if(Object.keys($).forEach(function(Be){var qe=$[Be]["a:pt"];qe&&Object.keys(qe).forEach(function(ke){var Qe=qe[ke],et=Qe.x,bt=Qe.y,ct=Qe.order;j.push({type:"movto",x:et,y:bt,order:ct})})}),ue&&Object.keys(ue).forEach(function(Be){var qe=ue[Be]["a:pt"];qe&&Object.keys(qe).forEach(function(ke){var Qe=qe[ke],et=Qe.x,bt=Qe.y,ct=Qe.order;j.push({type:"lnto",x:et,y:bt,order:ct})})}),X){var ee=[];Array.isArray(X)||(X=[X]),Object.keys(X).forEach(function(Be){ee.push(X[Be]["a:pt"])}),ee.forEach(function(Be){var qe=[];Be.forEach(function(Qe){var et={x:Qe.attrs.x,y:Qe.attrs.y};qe.push(et)});var ke=Be[0].attrs.order;j.push({type:"cubicBezTo",cubBzPt:qe,order:ke})})}if(ne){var ae=ne.attrs,ge=ae.order,ce=ae.hR,ve=ae.wR,ye=ae.stAng,_e=ae.swAng,Se=0,be=0,ut=Ue(ne,["a:pt","attrs"]);ut&&(Se=ut.x,be=ut.y),j.push({type:"arcTo",hR:ce,wR:ve,stAng:ye,swAng:_e,shftX:Se,shftY:be,order:ge})}le&&(Array.isArray(le)||(le=[le]),Object.keys(le).forEach(function(){j.push({type:"close",order:1/0})})),j.sort(function(Be,qe){return Be.order-qe.order});for(var tt=0;tt{const e=st(),{theme:t}=Ee(st()),{addSlidesFromData:n,isEmptySlide:r}=Dg(),o=he(!1),i=(c,l=!1)=>{const u=c[0],f=new FileReader;f.addEventListener("load",()=>{try{const d=JSON.parse(HP(f.result));l||r.value?e.setSlides(d):n(d)}catch{xn.error("无法正确读取 / 解析该文件")}}),f.readAsText(u)},a=c=>{let l=[0,0],u=[0,0];return!c.isFlipV&&!c.isFlipH?(l=[0,0],u=[c.width,c.height]):c.isFlipV&&c.isFlipH?(l=[c.width,c.height],u=[0,0]):c.isFlipV&&!c.isFlipH?(l=[0,c.height],u=[c.width,0]):(l=[c.width,0],u=[0,c.height]),{type:"line",id:pn(10),width:c.borderWidth||1,left:c.left,top:c.top,start:l,end:u,style:c.borderType==="solid"?"solid":"dashed",color:c.borderColor,points:["",c.shapType==="straightConnector1"?"arrow":""]}};return{importSpecificFile:i,importPPTXFile:c=>{const l=c[0];if(!l)return;o.value=!0;const u=[];for(const d of Cx)u.push(...d.children);const f=new FileReader;f.onload=async d=>{const h=await nne(d.target.result,{slideFactor:8202099737532808e-20,fontsizeFactor:1.0204081632653061}),p=h.size.width,m=Gt/p,A=[];for(const x of h.slides){const{type:y,value:R}=x.fill;let g;y==="image"?g={type:"image",image:R.picBase64,imageSize:"cover"}:y==="gradient"?g={type:"gradient",gradientType:"linear",gradientColor:[R.colors[0].color,R.colors[R.colors.length-1].color],gradientRotate:R.rot}:g={type:"solid",color:R};const b={id:pn(10),elements:[],background:g},L=T=>{for(const M of T){const w=M.width||1,k=M.height||1,_=M.left,P=M.top;if(M.width=M.width*m,M.height=M.height*m,M.left=M.left*m,M.top=M.top*m,M.type==="text"){const E={type:"text",id:pn(10),width:M.width,height:M.height,left:M.left,top:M.top,rotate:M.rotate,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,content:M.content,lineHeight:1,outline:{color:M.borderColor,width:M.borderWidth,style:M.borderType==="solid"?"solid":"dashed"},fill:M.fillColor,vertical:M.isVertical};M.shadow&&(E.shadow=M.shadow),b.elements.push(E)}else if(M.type==="image")b.elements.push({type:"image",id:pn(10),src:M.src,width:M.width,height:M.height,left:M.left,top:M.top,fixedRatio:!0,rotate:M.rotate,flipH:M.isFlipH,flipV:M.isFlipV});else if(M.type==="audio")b.elements.push({type:"audio",id:pn(10),src:M.blob,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,fixedRatio:!1,color:t.value.themeColor,loop:!1,autoplay:!1});else if(M.type==="video")b.elements.push({type:"video",id:pn(10),src:M.blob||M.src,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,autoplay:!1});else if(M.type==="shape")if(M.shapType==="line"||/Connector/.test(M.shapType)){const E=a(M);b.elements.push(E)}else{const E=u.find(N=>N.pptxShapeType===M.shapType),I={mid:"middle",down:"bottom",up:"top"},F={type:"shape",id:pn(10),width:M.width,height:M.height,left:M.left,top:M.top,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:M.fillColor||"none",fixedRatio:!1,rotate:M.rotate,outline:{color:M.borderColor,width:M.borderWidth,style:M.borderType==="solid"?"solid":"dashed"},text:{content:M.content,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,align:I[M.vAlign]||"middle"},flipH:M.isFlipH,flipV:M.isFlipV};if(M.shadow&&(F.shadow=M.shadow),E&&(F.path=E.path,F.viewBox=E.viewBox,E.pathFormula)){F.pathFormula=E.pathFormula,F.viewBox=[M.width,M.height];const N=Gu[E.pathFormula];"editable"in N?(F.path=N.formula(M.width,M.height,N.defaultValue),F.keypoint=N.defaultValue):F.path=N.formula(M.width,M.height)}M.shapType==="custom"&&(F.special=!0,F.path=M.path,F.viewBox=[w,k]),b.elements.push(F)}else if(M.type==="table"){const E=M.data.length,I=M.data[0].length,F={fontname:t.value.fontName,color:t.value.fontColor},N=[];for(let Z=0;ZJ+""),I=["系列1"],F=[Z[1]]}else{const Z=M.data;E=Object.values(Z[0].xlabels),I=Z.map(J=>J.key),F=Z.map(J=>J.values.map(se=>se.y))}const N={};let V="bar";switch(M.chartType){case"barChart":case"bar3DChart":V="bar",M.barDir==="bar"&&(N.horizontalBars=!0),(M.grouping==="stacked"||M.grouping==="percentStacked")&&(N.stackBars=!0);break;case"lineChart":case"line3DChart":case"areaChart":case"area3DChart":case"scatterChart":case"bubbleChart":V="line",(M.chartType==="areaChart"||M.chartType==="area3DChart")&&(N.showArea=!0),(M.chartType==="scatterChart"||M.chartType==="bubbleChart")&&(N.showLine=!1);break;case"pieChart":case"pie3DChart":case"doughnutChart":V="pie",M.chartType==="doughnutChart"&&(N.donut=!0);break}b.elements.push({type:"chart",id:pn(10),chartType:V,width:M.width,height:M.height,left:M.left,top:M.top,rotate:0,themeColor:[t.value.themeColor],gridColor:t.value.fontColor,data:{labels:E,legends:I,series:F},options:N})}else if(M.type==="group"||M.type==="diagram"){const E=M.elements.map(I=>({...I,left:I.left+_,top:I.top+P}));L(E)}}};L(x.elements),A.push(b)}r.value?e.setSlides(A):n(A),o.value=!1},f.readAsArrayBuffer(l)},exporting:o}},pne={class:"hotkey-doc"},mne={class:"title"},vne={class:"label"},gne={class:"value"},Ane=Ie({__name:"HotkeyDoc",setup(e){return(t,n)=>(Y(),q("div",pne,[(Y(!0),q(Xe,null,ot(G(lz),r=>(Y(),q(Xe,{key:r.type},[W("div",mne,gt(r.type),1),(Y(!0),q(Xe,null,ot(r.children,o=>(Y(),q("div",{class:"hotkey-item",key:o.label},[W("div",vne,gt(o.label),1),W("div",gne,gt(o.value),1)]))),128))],64))),128))]))}}),Rne=Ve(Ane,[["__scopeId","data-v-0762be00"]]),yne=["accept"],bne=Ie({__name:"FileInput",props:{accept:{default:"image/*"}},emits:["change"],setup(e,{emit:t}){const n=t,r=he(),o=()=>{r.value&&(r.value.value="",r.value.click())},i=a=>{const s=a.target.files;s&&n("change",s)};return(a,s)=>(Y(),q("div",{class:"file-input",onClick:s[1]||(s[1]=c=>o())},[lr(a.$slots,"default",{},void 0,!0),W("input",{class:"input",type:"file",name:"upload",ref_key:"inputRef",ref:r,accept:a.accept,onChange:s[0]||(s[0]=c=>i(c))},null,40,yne)]))}}),Fu=Ve(bne,[["__scopeId","data-v-1bd53d05"]]),xne=e=>(qt("data-v-9856918a"),e=e(),en(),e),Sne={key:0,class:"fullscreen-spin"},Mne={class:"spin"},wne=xne(()=>W("div",{class:"spinner"},null,-1)),Lne={class:"text"},One=Ie({__name:"FullscreenSpin",props:{loading:{type:Boolean,default:!1},tip:{default:""}},setup(e){return(t,n)=>t.loading?(Y(),q("div",Sne,[W("div",Mne,[wne,W("div",Lne,gt(t.tip),1)])])):Ze("",!0)}}),$x=Ve(One,[["__scopeId","data-v-9856918a"]]),Tne={class:"header"},kne=Ie({__name:"Drawer",props:{visible:{type:Boolean},width:{default:320},contentStyle:{},placement:{default:"right"}},emits:["update:visible"],setup(e,{emit:t}){const n=e,r=t,o=he(!1),i=Me(()=>({width:n.width+"px",...n.contentStyle||{}}));return(a,s)=>{const c=xe("IconClose");return Y(),Te(nx,{to:"body"},[O(Ou,{name:`drawer-slide-${a.placement}`,onAfterLeave:s[1]||(s[1]=l=>o.value=!1),onBeforeEnter:s[2]||(s[2]=l=>o.value=!0)},{default:ie(()=>[Ke(W("div",{class:Ge(["drawer",a.placement]),style:we({width:n.width+"px"})},[W("div",Tne,[lr(a.$slots,"title",{},void 0,!0),W("span",{class:"close-btn",onClick:s[0]||(s[0]=l=>r("update:visible",!1))},[O(c)])]),o.value?(Y(),q("div",{key:0,class:"content",style:we(i.value)},[lr(a.$slots,"default",{},void 0,!0)],4)):Ze("",!0)],6),[[il,a.visible]])]),_:3},8,["name"])])}}}),Nne=Ve(kne,[["__scopeId","data-v-46f39759"]]),Pne={class:"prefix"},Cne=["disabled","value","placeholder"],Ine={class:"suffix"},Fne=Ie({__name:"Input",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{expose:t,emit:n}){const r=n,o=he(!1),i=u=>{r("update:value",u.target.value)},a=u=>{o.value=!1,r("blur",u)},s=u=>{o.value=!0,r("focus",u)},c=he();return t({focus:()=>{c.value&&c.value.focus()}}),(u,f)=>(Y(),q("div",{class:Ge(["input",{disabled:u.disabled,focused:o.value}])},[W("span",Pne,[lr(u.$slots,"prefix",{},void 0,!0)]),W("input",{type:"text",ref_key:"inputRef",ref:c,disabled:u.disabled,value:u.value,placeholder:u.placeholder,onInput:f[0]||(f[0]=d=>i(d)),onFocus:f[1]||(f[1]=d=>s(d)),onBlur:f[2]||(f[2]=d=>a(d)),onChange:f[3]||(f[3]=d=>r("change",d)),onKeydown:f[4]||(f[4]=gc(d=>r("enter",d),["enter"]))},null,40,Cne),W("span",Ine,[lr(u.$slots,"suffix",{},void 0,!0)])],2))}}),_u=Ve(Fne,[["__scopeId","data-v-08dd2583"]]);var ei="top",ta="bottom",na="right",ti="left",jx="auto",Vp=[ei,ta,na,ti],Od="start",rp="end",_ne="clippingParents",GC="viewport",g0="popper",Ene="reference",yO=Vp.reduce(function(e,t){return e.concat([t+"-"+Od,t+"-"+rp])},[]),JC=[].concat(Vp,[jx]).reduce(function(e,t){return e.concat([t,t+"-"+Od,t+"-"+rp])},[]),Xne="beforeRead",Wne="read",Vne="afterRead",Une="beforeMain",Yne="main",Qne="afterMain",Zne="beforeWrite",Bne="write",Dne="afterWrite",Kne=[Xne,Wne,Vne,Une,Yne,Qne,Zne,Bne,Dne];function ms(e){return e?(e.nodeName||"").toLowerCase():null}function Ci(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Eu(e){var t=Ci(e).Element;return e instanceof t||e instanceof Element}function $i(e){var t=Ci(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qx(e){if(typeof ShadowRoot>"u")return!1;var t=Ci(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Hne(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!$i(i)||!ms(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function Gne(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(c,l){return c[l]="",c},{});!$i(o)||!ms(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(c){o.removeAttribute(c)}))})}}const zC={name:"applyStyles",enabled:!0,phase:"write",fn:Hne,effect:Gne,requires:["computeStyles"]};function ds(e){return e.split("-")[0]}var Au=Math.max,qv=Math.min,Td=Math.round;function Q3(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function $C(){return!/^((?!chrome|android).)*safari/i.test(Q3())}function kd(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&$i(e)&&(o=e.offsetWidth>0&&Td(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Td(r.height)/e.offsetHeight||1);var a=Eu(e)?Ci(e):window,s=a.visualViewport,c=!$C()&&n,l=(r.left+(c&&s?s.offsetLeft:0))/o,u=(r.top+(c&&s?s.offsetTop:0))/i,f=r.width/o,d=r.height/i;return{width:f,height:d,top:u,right:l+f,bottom:u+d,left:l,x:l,y:u}}function e5(e){var t=kd(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function jC(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qx(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function sl(e){return Ci(e).getComputedStyle(e)}function Jne(e){return["table","td","th"].indexOf(ms(e))>=0}function Mc(e){return((Eu(e)?e.ownerDocument:e.document)||window.document).documentElement}function r2(e){return ms(e)==="html"?e:e.assignedSlot||e.parentNode||(qx(e)?e.host:null)||Mc(e)}function bO(e){return!$i(e)||sl(e).position==="fixed"?null:e.offsetParent}function zne(e){var t=/firefox/i.test(Q3()),n=/Trident/i.test(Q3());if(n&&$i(e)){var r=sl(e);if(r.position==="fixed")return null}var o=r2(e);for(qx(o)&&(o=o.host);$i(o)&&["html","body"].indexOf(ms(o))<0;){var i=sl(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Up(e){for(var t=Ci(e),n=bO(e);n&&Jne(n)&&sl(n).position==="static";)n=bO(n);return n&&(ms(n)==="html"||ms(n)==="body"&&sl(n).position==="static")?t:n||zne(e)||t}function t5(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mh(e,t,n){return Au(e,qv(t,n))}function $ne(e,t,n){var r=Mh(e,t,n);return r>n?n:r}function qC(){return{top:0,right:0,bottom:0,left:0}}function eI(e){return Object.assign({},qC(),e)}function tI(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var jne=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,eI(typeof t!="number"?t:tI(t,Vp))};function qne(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ds(n.placement),c=t5(s),l=[ti,na].indexOf(s)>=0,u=l?"height":"width";if(!(!i||!a)){var f=jne(o.padding,n),d=e5(i),h=c==="y"?ei:ti,p=c==="y"?ta:na,m=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],A=a[c]-n.rects.reference[c],x=Up(i),y=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,R=m/2-A/2,g=f[h],b=y-d[u]-f[p],L=y/2-d[u]/2+R,T=Mh(g,L,b),M=c;n.modifiersData[r]=(t={},t[M]=T,t.centerOffset=T-L,t)}}function ere(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||jC(t.elements.popper,o)&&(t.elements.arrow=o))}const tre={name:"arrow",enabled:!0,phase:"main",fn:qne,effect:ere,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Nd(e){return e.split("-")[1]}var nre={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rre(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Td(n*o)/o||0,y:Td(r*o)/o||0}}function xO(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,m=p===void 0?0:p,A=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=A.x,m=A.y;var x=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),R=ti,g=ei,b=window;if(l){var L=Up(n),T="clientHeight",M="clientWidth";if(L===Ci(n)&&(L=Mc(n),sl(L).position!=="static"&&s==="absolute"&&(T="scrollHeight",M="scrollWidth")),L=L,o===ei||(o===ti||o===na)&&i===rp){g=ta;var w=f&&L===b&&b.visualViewport?b.visualViewport.height:L[T];m-=w-r.height,m*=c?1:-1}if(o===ti||(o===ei||o===ta)&&i===rp){R=na;var k=f&&L===b&&b.visualViewport?b.visualViewport.width:L[M];h-=k-r.width,h*=c?1:-1}}var _=Object.assign({position:s},l&&nre),P=u===!0?rre({x:h,y:m},Ci(n)):{x:h,y:m};if(h=P.x,m=P.y,c){var E;return Object.assign({},_,(E={},E[g]=y?"0":"",E[R]=x?"0":"",E.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",E))}return Object.assign({},_,(t={},t[g]=y?m+"px":"",t[R]=x?h+"px":"",t.transform="",t))}function ore(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,c=s===void 0?!0:s,l={placement:ds(t.placement),variation:Nd(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,xO(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,xO(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ire={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ore,data:{}};var gm={passive:!0};function are(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,c=Ci(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",n.update,gm)}),s&&c.addEventListener("resize",n.update,gm),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",n.update,gm)}),s&&c.removeEventListener("resize",n.update,gm)}}const sre={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:are,data:{}};var lre={left:"right",right:"left",bottom:"top",top:"bottom"};function jm(e){return e.replace(/left|right|bottom|top/g,function(t){return lre[t]})}var cre={start:"end",end:"start"};function SO(e){return e.replace(/start|end/g,function(t){return cre[t]})}function n5(e){var t=Ci(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function r5(e){return kd(Mc(e)).left+n5(e).scrollLeft}function ure(e,t){var n=Ci(e),r=Mc(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=$C();(l||!l&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+r5(e),y:c}}function fre(e){var t,n=Mc(e),r=n5(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Au(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Au(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+r5(e),c=-r.scrollTop;return sl(o||n).direction==="rtl"&&(s+=Au(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function o5(e){var t=sl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function nI(e){return["html","body","#document"].indexOf(ms(e))>=0?e.ownerDocument.body:$i(e)&&o5(e)?e:nI(r2(e))}function wh(e,t){var n;t===void 0&&(t=[]);var r=nI(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ci(r),a=o?[i].concat(i.visualViewport||[],o5(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(wh(r2(a)))}function Z3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function dre(e,t){var n=kd(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function MO(e,t,n){return t===GC?Z3(ure(e,n)):Eu(t)?dre(t,n):Z3(fre(Mc(e)))}function hre(e){var t=wh(r2(e)),n=["absolute","fixed"].indexOf(sl(e).position)>=0,r=n&&$i(e)?Up(e):e;return Eu(r)?t.filter(function(o){return Eu(o)&&jC(o,r)&&ms(o)!=="body"}):[]}function pre(e,t,n,r){var o=t==="clippingParents"?hre(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(c,l){var u=MO(e,l,r);return c.top=Au(u.top,c.top),c.right=qv(u.right,c.right),c.bottom=qv(u.bottom,c.bottom),c.left=Au(u.left,c.left),c},MO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function rI(e){var t=e.reference,n=e.element,r=e.placement,o=r?ds(r):null,i=r?Nd(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(o){case ei:c={x:a,y:t.y-n.height};break;case ta:c={x:a,y:t.y+t.height};break;case na:c={x:t.x+t.width,y:s};break;case ti:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var l=o?t5(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case Od:c[l]=c[l]-(t[u]/2-n[u]/2);break;case rp:c[l]=c[l]+(t[u]/2-n[u]/2);break}}return c}function op(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,c=s===void 0?_ne:s,l=n.rootBoundary,u=l===void 0?GC:l,f=n.elementContext,d=f===void 0?g0:f,h=n.altBoundary,p=h===void 0?!1:h,m=n.padding,A=m===void 0?0:m,x=eI(typeof A!="number"?A:tI(A,Vp)),y=d===g0?Ene:g0,R=e.rects.popper,g=e.elements[p?y:d],b=pre(Eu(g)?g:g.contextElement||Mc(e.elements.popper),c,u,a),L=kd(e.elements.reference),T=rI({reference:L,element:R,strategy:"absolute",placement:o}),M=Z3(Object.assign({},R,T)),w=d===g0?M:L,k={top:b.top-w.top+x.top,bottom:w.bottom-b.bottom+x.bottom,left:b.left-w.left+x.left,right:w.right-b.right+x.right},_=e.modifiersData.offset;if(d===g0&&_){var P=_[o];Object.keys(k).forEach(function(E){var I=[na,ta].indexOf(E)>=0?1:-1,F=[ei,ta].indexOf(E)>=0?"y":"x";k[E]+=P[F]*I})}return k}function mre(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?JC:c,u=Nd(r),f=u?s?yO:yO.filter(function(p){return Nd(p)===u}):Vp,d=f.filter(function(p){return l.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,m){return p[m]=op(e,{placement:m,boundary:o,rootBoundary:i,padding:a})[ds(m)],p},{});return Object.keys(h).sort(function(p,m){return h[p]-h[m]})}function vre(e){if(ds(e)===jx)return[];var t=jm(e);return[SO(e),t,SO(t)]}function gre(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,m=n.allowedAutoPlacements,A=t.options.placement,x=ds(A),y=x===A,R=c||(y||!p?[jm(A)]:vre(A)),g=[A].concat(R).reduce(function(H,U){return H.concat(ds(U)===jx?mre(t,{placement:U,boundary:u,rootBoundary:f,padding:l,flipVariations:p,allowedAutoPlacements:m}):U)},[]),b=t.rects.reference,L=t.rects.popper,T=new Map,M=!0,w=g[0],k=0;k=0,F=I?"width":"height",N=op(t,{placement:_,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),V=I?E?na:ti:E?ta:ei;b[F]>L[F]&&(V=jm(V));var Z=jm(V),J=[];if(i&&J.push(N[P]<=0),s&&J.push(N[V]<=0,N[Z]<=0),J.every(function(H){return H})){w=_,M=!1;break}T.set(_,J)}if(M)for(var se=p?3:1,D=function(U){var te=g.find(function(z){var oe=T.get(z);if(oe)return oe.slice(0,U).every(function(pe){return pe})});if(te)return w=te,"break"},Q=se;Q>0;Q--){var B=D(Q);if(B==="break")break}t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}}const Are={name:"flip",enabled:!0,phase:"main",fn:gre,requiresIfExists:["offset"],data:{_skip:!1}};function wO(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function LO(e){return[ei,na,ta,ti].some(function(t){return e[t]>=0})}function Rre(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=op(t,{elementContext:"reference"}),s=op(t,{altBoundary:!0}),c=wO(a,r),l=wO(s,o,i),u=LO(c),f=LO(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const yre={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rre};function bre(e,t,n){var r=ds(e),o=[ti,ei].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ti,na].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function xre(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=JC.reduce(function(u,f){return u[f]=bre(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}const Sre={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:xre};function Mre(e){var t=e.state,n=e.name;t.modifiersData[n]=rI({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const wre={name:"popperOffsets",enabled:!0,phase:"read",fn:Mre,data:{}};function Lre(e){return e==="x"?"y":"x"}function Ore(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,m=p===void 0?0:p,A=op(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),x=ds(t.placement),y=Nd(t.placement),R=!y,g=t5(x),b=Lre(g),L=t.modifiersData.popperOffsets,T=t.rects.reference,M=t.rects.popper,w=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,k=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(L){if(i){var E,I=g==="y"?ei:ti,F=g==="y"?ta:na,N=g==="y"?"height":"width",V=L[g],Z=V+A[I],J=V-A[F],se=h?-M[N]/2:0,D=y===Od?T[N]:M[N],Q=y===Od?-M[N]:-T[N],B=t.elements.arrow,H=h&&B?e5(B):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:qC(),te=U[I],z=U[F],oe=Mh(0,T[N],H[N]),pe=R?T[N]/2-se-oe-te-k.mainAxis:D-oe-te-k.mainAxis,Ae=R?-T[N]/2+se+oe+z+k.mainAxis:Q+oe+z+k.mainAxis,me=t.elements.arrow&&Up(t.elements.arrow),$=me?g==="y"?me.clientTop||0:me.clientLeft||0:0,ue=(E=_==null?void 0:_[g])!=null?E:0,X=V+pe-ue-$,ne=V+Ae-ue,le=Mh(h?qv(Z,X):Z,V,h?Au(J,ne):J);L[g]=le,P[g]=le-V}if(s){var j,ee=g==="x"?ei:ti,ae=g==="x"?ta:na,ge=L[b],ce=b==="y"?"height":"width",ve=ge+A[ee],ye=ge-A[ae],_e=[ei,ti].indexOf(x)!==-1,Se=(j=_==null?void 0:_[b])!=null?j:0,be=_e?ve:ge-T[ce]-M[ce]-Se+k.altAxis,ut=_e?ge+T[ce]+M[ce]-Se-k.altAxis:ye,tt=h&&_e?$ne(be,ge,ut):Mh(h?be:ve,ge,h?ut:ye);L[b]=tt,P[b]=tt-ge}t.modifiersData[r]=P}}const Tre={name:"preventOverflow",enabled:!0,phase:"main",fn:Ore,requiresIfExists:["offset"]};function kre(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Nre(e){return e===Ci(e)||!$i(e)?n5(e):kre(e)}function Pre(e){var t=e.getBoundingClientRect(),n=Td(t.width)/e.offsetWidth||1,r=Td(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Cre(e,t,n){n===void 0&&(n=!1);var r=$i(t),o=$i(t)&&Pre(t),i=Mc(t),a=kd(e,o,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((ms(t)!=="body"||o5(i))&&(s=Nre(t)),$i(t)?(c=kd(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=r5(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Ire(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var c=t.get(s);c&&o(c)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function Fre(e){var t=Ire(e);return Kne.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function _re(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ere(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var OO={placement:"bottom",modifiers:[],strategy:"absolute"};function TO(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function lI(e,t){return typeof e=="function"?e.apply(void 0,t):e}function kO(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Qre(e){return e.split(/\s+/).filter(Boolean)}function Yf(e){return[].concat(e)}function NO(e,t){e.indexOf(t)===-1&&e.push(t)}function Zre(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Bre(e){return e.split("-")[0]}function eg(e){return[].slice.call(e)}function PO(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Lh(){return document.createElement("div")}function o2(e){return["Element","Fragment"].some(function(t){return i5(e,t)})}function Dre(e){return i5(e,"NodeList")}function Kre(e){return i5(e,"MouseEvent")}function Hre(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Gre(e){return o2(e)?[e]:Dre(e)?eg(e):Array.isArray(e)?e:eg(document.querySelectorAll(e))}function Ey(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function CO(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Jre(e){var t,n=Yf(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function zre(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var i=o.popperRect,a=o.popperState,s=o.props,c=s.interactiveBorder,l=Bre(a.placement),u=a.modifiersData.offset;if(!u)return!0;var f=l==="bottom"?u.top.y:0,d=l==="top"?u.bottom.y:0,h=l==="right"?u.left.x:0,p=l==="left"?u.right.x:0,m=i.top-r+f>c,A=r-i.bottom-d>c,x=i.left-n+h>c,y=n-i.right-p>c;return m||A||x||y})}function Xy(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function IO(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var ja={isTouch:!1},FO=0;function $re(){ja.isTouch||(ja.isTouch=!0,window.performance&&document.addEventListener("mousemove",cI))}function cI(){var e=performance.now();e-FO<20&&(ja.isTouch=!1,document.removeEventListener("mousemove",cI)),FO=e}function jre(){var e=document.activeElement;if(Hre(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function qre(){document.addEventListener("touchstart",$re,Gc),window.addEventListener("blur",jre)}var eoe=typeof window<"u"&&typeof document<"u",toe=eoe?!!window.msCrypto:!1,noe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},roe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Na=Object.assign({appendTo:sI,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},noe,roe),ooe=Object.keys(Na),ioe=function(t){var n=Object.keys(t);n.forEach(function(r){Na[r]=t[r]})};function uI(e){var t=e.plugins||[],n=t.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var s;r[i]=e[i]!==void 0?e[i]:(s=Na[i])!=null?s:a}return r},{});return Object.assign({},e,n)}function aoe(e,t){var n=t?Object.keys(uI(Object.assign({},Na,{plugins:t}))):ooe,r=n.reduce(function(o,i){var a=(e.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function _O(e,t){var n=Object.assign({},t,{content:lI(t.content,[e])},t.ignoreAttributes?{}:aoe(e,t.plugins));return n.aria=Object.assign({},Na.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var soe=function(){return"innerHTML"};function B3(e,t){e[soe()]=t}function EO(e){var t=Lh();return e===!0?t.className=iI:(t.className=aI,o2(e)?t.appendChild(e):B3(t,e)),t}function XO(e,t){o2(t.content)?(B3(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?B3(e,t.content):e.textContent=t.content)}function D3(e){var t=e.firstElementChild,n=eg(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(oI)}),arrow:n.find(function(r){return r.classList.contains(iI)||r.classList.contains(aI)}),backdrop:n.find(function(r){return r.classList.contains(Yre)})}}function fI(e){var t=Lh(),n=Lh();n.className=Ure,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Lh();r.className=oI,r.setAttribute("data-state","hidden"),XO(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(i,a){var s=D3(t),c=s.box,l=s.content,u=s.arrow;a.theme?c.setAttribute("data-theme",a.theme):c.removeAttribute("data-theme"),typeof a.animation=="string"?c.setAttribute("data-animation",a.animation):c.removeAttribute("data-animation"),a.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?c.setAttribute("role",a.role):c.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&XO(l,e.props),a.arrow?u?i.arrow!==a.arrow&&(c.removeChild(u),c.appendChild(EO(a.arrow))):c.appendChild(EO(a.arrow)):u&&c.removeChild(u)}return{popper:t,onUpdate:o}}fI.$$tippy=!0;var loe=1,Am=[],Wy=[];function coe(e,t){var n=_O(e,Object.assign({},Na,uI(PO(t)))),r,o,i,a=!1,s=!1,c=!1,l=!1,u,f,d,h=[],p=kO(X,n.interactiveDebounce),m,A=loe++,x=null,y=Zre(n.plugins),R={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},g={id:A,reference:e,popper:Lh(),popperInstance:x,props:n,state:R,plugins:y,clearDelayTimeouts:be,setProps:ut,setContent:tt,show:Oe,hide:Ne,hideWithInteractivity:Fe,enable:_e,disable:Se,unmount:Be,destroy:qe};if(!n.render)return g;var b=n.render(g),L=b.popper,T=b.onUpdate;L.setAttribute("data-tippy-root",""),L.id="tippy-"+g.id,g.popper=L,e._tippy=g,L._tippy=g;var M=y.map(function(ke){return ke.fn(g)}),w=e.hasAttribute("aria-expanded");return me(),se(),V(),Z("onCreate",[g]),n.showOnCreate&&ve(),L.addEventListener("mouseenter",function(){g.props.interactive&&g.state.isVisible&&g.clearDelayTimeouts()}),L.addEventListener("mouseleave",function(){g.props.interactive&&g.props.trigger.indexOf("mouseenter")>=0&&I().addEventListener("mousemove",p)}),g;function k(){var ke=g.props.touch;return Array.isArray(ke)?ke:[ke,0]}function _(){return k()[0]==="hold"}function P(){var ke;return!!((ke=g.props.render)!=null&&ke.$$tippy)}function E(){return m||e}function I(){var ke=E().parentNode;return ke?Jre(ke):document}function F(){return D3(L)}function N(ke){return g.state.isMounted&&!g.state.isVisible||ja.isTouch||u&&u.type==="focus"?0:_y(g.props.delay,ke?0:1,Na.delay)}function V(ke){ke===void 0&&(ke=!1),L.style.pointerEvents=g.props.interactive&&!ke?"":"none",L.style.zIndex=""+g.props.zIndex}function Z(ke,Qe,et){if(et===void 0&&(et=!0),M.forEach(function(ct){ct[ke]&&ct[ke].apply(ct,Qe)}),et){var bt;(bt=g.props)[ke].apply(bt,Qe)}}function J(){var ke=g.props.aria;if(ke.content){var Qe="aria-"+ke.content,et=L.id,bt=Yf(g.props.triggerTarget||e);bt.forEach(function(ct){var ht=ct.getAttribute(Qe);if(g.state.isVisible)ct.setAttribute(Qe,ht?ht+" "+et:et);else{var At=ht&&ht.replace(et,"").trim();At?ct.setAttribute(Qe,At):ct.removeAttribute(Qe)}})}}function se(){if(!(w||!g.props.aria.expanded)){var ke=Yf(g.props.triggerTarget||e);ke.forEach(function(Qe){g.props.interactive?Qe.setAttribute("aria-expanded",g.state.isVisible&&Qe===E()?"true":"false"):Qe.removeAttribute("aria-expanded")})}}function D(){I().removeEventListener("mousemove",p),Am=Am.filter(function(ke){return ke!==p})}function Q(ke){if(!(ja.isTouch&&(c||ke.type==="mousedown"))){var Qe=ke.composedPath&&ke.composedPath()[0]||ke.target;if(!(g.props.interactive&&IO(L,Qe))){if(Yf(g.props.triggerTarget||e).some(function(et){return IO(et,Qe)})){if(ja.isTouch||g.state.isVisible&&g.props.trigger.indexOf("click")>=0)return}else Z("onClickOutside",[g,ke]);g.props.hideOnClick===!0&&(g.clearDelayTimeouts(),g.hide(),s=!0,setTimeout(function(){s=!1}),g.state.isMounted||te())}}}function B(){c=!0}function H(){c=!1}function U(){var ke=I();ke.addEventListener("mousedown",Q,!0),ke.addEventListener("touchend",Q,Gc),ke.addEventListener("touchstart",H,Gc),ke.addEventListener("touchmove",B,Gc)}function te(){var ke=I();ke.removeEventListener("mousedown",Q,!0),ke.removeEventListener("touchend",Q,Gc),ke.removeEventListener("touchstart",H,Gc),ke.removeEventListener("touchmove",B,Gc)}function z(ke,Qe){pe(ke,function(){!g.state.isVisible&&L.parentNode&&L.parentNode.contains(L)&&Qe()})}function oe(ke,Qe){pe(ke,Qe)}function pe(ke,Qe){var et=F().box;function bt(ct){ct.target===et&&(Xy(et,"remove",bt),Qe())}if(ke===0)return Qe();Xy(et,"remove",f),Xy(et,"add",bt),f=bt}function Ae(ke,Qe,et){et===void 0&&(et=!1);var bt=Yf(g.props.triggerTarget||e);bt.forEach(function(ct){ct.addEventListener(ke,Qe,et),h.push({node:ct,eventType:ke,handler:Qe,options:et})})}function me(){_()&&(Ae("touchstart",ue,{passive:!0}),Ae("touchend",ne,{passive:!0})),Qre(g.props.trigger).forEach(function(ke){if(ke!=="manual")switch(Ae(ke,ue),ke){case"mouseenter":Ae("mouseleave",ne);break;case"focus":Ae(toe?"focusout":"blur",le);break;case"focusin":Ae("focusout",le);break}})}function $(){h.forEach(function(ke){var Qe=ke.node,et=ke.eventType,bt=ke.handler,ct=ke.options;Qe.removeEventListener(et,bt,ct)}),h=[]}function ue(ke){var Qe,et=!1;if(!(!g.state.isEnabled||j(ke)||s)){var bt=((Qe=u)==null?void 0:Qe.type)==="focus";u=ke,m=ke.currentTarget,se(),!g.state.isVisible&&Kre(ke)&&Am.forEach(function(ct){return ct(ke)}),ke.type==="click"&&(g.props.trigger.indexOf("mouseenter")<0||a)&&g.props.hideOnClick!==!1&&g.state.isVisible?et=!0:ve(ke),ke.type==="click"&&(a=!et),et&&!bt&&ye(ke)}}function X(ke){var Qe=ke.target,et=E().contains(Qe)||L.contains(Qe);if(!(ke.type==="mousemove"&&et)){var bt=ce().concat(L).map(function(ct){var ht,At=ct._tippy,Ft=(ht=At.popperInstance)==null?void 0:ht.state;return Ft?{popperRect:ct.getBoundingClientRect(),popperState:Ft,props:n}:null}).filter(Boolean);zre(bt,ke)&&(D(),ye(ke))}}function ne(ke){var Qe=j(ke)||g.props.trigger.indexOf("click")>=0&&a;if(!Qe){if(g.props.interactive){g.hideWithInteractivity(ke);return}ye(ke)}}function le(ke){g.props.trigger.indexOf("focusin")<0&&ke.target!==E()||g.props.interactive&&ke.relatedTarget&&L.contains(ke.relatedTarget)||ye(ke)}function j(ke){return ja.isTouch?_()!==ke.type.indexOf("touch")>=0:!1}function ee(){ae();var ke=g.props,Qe=ke.popperOptions,et=ke.placement,bt=ke.offset,ct=ke.getReferenceClientRect,ht=ke.moveTransition,At=P()?D3(L).arrow:null,Ft=ct?{getBoundingClientRect:ct,contextElement:ct.contextElement||E()}:e,Qt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ea){var io=Ea.state;if(P()){var nf=F(),Tc=nf.box;["placement","reference-hidden","escaped"].forEach(function(Ms){Ms==="placement"?Tc.setAttribute("data-placement",io.placement):io.attributes.popper["data-popper-"+Ms]?Tc.setAttribute("data-"+Ms,""):Tc.removeAttribute("data-"+Ms)}),io.attributes.popper={}}}},Nn=[{name:"offset",options:{offset:bt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ht}},Qt];P()&&At&&Nn.push({name:"arrow",options:{element:At,padding:3}}),Nn.push.apply(Nn,(Qe==null?void 0:Qe.modifiers)||[]),g.popperInstance=Vre(Ft,L,Object.assign({},Qe,{placement:et,onFirstUpdate:d,modifiers:Nn}))}function ae(){g.popperInstance&&(g.popperInstance.destroy(),g.popperInstance=null)}function ge(){var ke=g.props.appendTo,Qe,et=E();g.props.interactive&&ke===sI||ke==="parent"?Qe=et.parentNode:Qe=lI(ke,[et]),Qe.contains(L)||Qe.appendChild(L),g.state.isMounted=!0,ee()}function ce(){return eg(L.querySelectorAll("[data-tippy-root]"))}function ve(ke){g.clearDelayTimeouts(),ke&&Z("onTrigger",[g,ke]),U();var Qe=N(!0),et=k(),bt=et[0],ct=et[1];ja.isTouch&&bt==="hold"&&ct&&(Qe=ct),Qe?r=setTimeout(function(){g.show()},Qe):g.show()}function ye(ke){if(g.clearDelayTimeouts(),Z("onUntrigger",[g,ke]),!g.state.isVisible){te();return}if(!(g.props.trigger.indexOf("mouseenter")>=0&&g.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ke.type)>=0&&a)){var Qe=N(!1);Qe?o=setTimeout(function(){g.state.isVisible&&g.hide()},Qe):i=requestAnimationFrame(function(){g.hide()})}}function _e(){g.state.isEnabled=!0}function Se(){g.hide(),g.state.isEnabled=!1}function be(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function ut(ke){if(!g.state.isDestroyed){Z("onBeforeUpdate",[g,ke]),$();var Qe=g.props,et=_O(e,Object.assign({},Qe,PO(ke),{ignoreAttributes:!0}));g.props=et,me(),Qe.interactiveDebounce!==et.interactiveDebounce&&(D(),p=kO(X,et.interactiveDebounce)),Qe.triggerTarget&&!et.triggerTarget?Yf(Qe.triggerTarget).forEach(function(bt){bt.removeAttribute("aria-expanded")}):et.triggerTarget&&e.removeAttribute("aria-expanded"),se(),V(),T&&T(Qe,et),g.popperInstance&&(ee(),ce().forEach(function(bt){requestAnimationFrame(bt._tippy.popperInstance.forceUpdate)})),Z("onAfterUpdate",[g,ke])}}function tt(ke){g.setProps({content:ke})}function Oe(){var ke=g.state.isVisible,Qe=g.state.isDestroyed,et=!g.state.isEnabled,bt=ja.isTouch&&!g.props.touch,ct=_y(g.props.duration,0,Na.duration);if(!(ke||Qe||et||bt)&&!E().hasAttribute("disabled")&&(Z("onShow",[g],!1),g.props.onShow(g)!==!1)){if(g.state.isVisible=!0,P()&&(L.style.visibility="visible"),V(),U(),g.state.isMounted||(L.style.transition="none"),P()){var ht=F(),At=ht.box,Ft=ht.content;Ey([At,Ft],0)}d=function(){var Nn;if(!(!g.state.isVisible||l)){if(l=!0,L.offsetHeight,L.style.transition=g.props.moveTransition,P()&&g.props.animation){var aa=F(),Ea=aa.box,io=aa.content;Ey([Ea,io],ct),CO([Ea,io],"visible")}J(),se(),NO(Wy,g),(Nn=g.popperInstance)==null||Nn.forceUpdate(),Z("onMount",[g]),g.props.animation&&P()&&oe(ct,function(){g.state.isShown=!0,Z("onShown",[g])})}},ge()}}function Ne(){var ke=!g.state.isVisible,Qe=g.state.isDestroyed,et=!g.state.isEnabled,bt=_y(g.props.duration,1,Na.duration);if(!(ke||Qe||et)&&(Z("onHide",[g],!1),g.props.onHide(g)!==!1)){if(g.state.isVisible=!1,g.state.isShown=!1,l=!1,a=!1,P()&&(L.style.visibility="hidden"),D(),te(),V(!0),P()){var ct=F(),ht=ct.box,At=ct.content;g.props.animation&&(Ey([ht,At],bt),CO([ht,At],"hidden"))}J(),se(),g.props.animation?P()&&z(bt,g.unmount):g.unmount()}}function Fe(ke){I().addEventListener("mousemove",p),NO(Am,p),p(ke)}function Be(){g.state.isVisible&&g.hide(),g.state.isMounted&&(ae(),ce().forEach(function(ke){ke._tippy.unmount()}),L.parentNode&&L.parentNode.removeChild(L),Wy=Wy.filter(function(ke){return ke!==g}),g.state.isMounted=!1,Z("onHidden",[g]))}function qe(){g.state.isDestroyed||(g.clearDelayTimeouts(),g.unmount(),$(),delete e._tippy,g.state.isDestroyed=!0,Z("onDestroy",[g]))}}function ju(e,t){t===void 0&&(t={});var n=Na.plugins.concat(t.plugins||[]);qre();var r=Object.assign({},t,{plugins:n}),o=Gre(e),i=o.reduce(function(a,s){var c=s&&coe(s,r);return c&&a.push(c),a},[]);return o2(e)?i[0]:i}ju.defaultProps=Na;ju.setDefaultProps=ioe;ju.currentInput=ja;Object.assign({},zC,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});ju.setDefaultProps({render:fI});const uoe=Ie({__name:"Popover",props:{value:{type:Boolean,default:!1},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{},contentStyle:{},center:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=he(),i=he(),a=he(),s=he(!1),c=Me(()=>n.contentStyle||{});return Tt(()=>n.value,()=>{o.value&&(n.value?o.value.show():o.value.hide())}),wn(()=>{o.value&&o.value.destroy()}),Ht(()=>{o.value=ju(i.value,{content:a.value,allowHTML:!0,trigger:n.trigger,placement:n.placement,interactive:!0,appendTo:n.appendTo||document.body,maxWidth:"none",offset:[0,8],duration:200,animation:"scale",theme:"popover",onShow(){s.value=!0},onShown(){n.value||r("update:value",!0)},onHidden(){n.value&&r("update:value",!1),s.value=!1}})}),(l,u)=>(Y(),q("div",{class:Ge(["popover",{center:l.center}]),ref_key:"triggerRef",ref:i},[W("div",{class:"popover-content",style:we(c.value),ref_key:"contentRef",ref:a},[s.value?lr(l.$slots,"content",{key:0},void 0,!0):Ze("",!0)],4),lr(l.$slots,"default",{},void 0,!0)],2))}}),Pt=Ve(uoe,[["__scopeId","data-v-7277ff01"]]),foe=Ie({__name:"PopoverMenuItem",props:{center:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=t;return(r,o)=>(Y(),q("div",{class:Ge(["popover-menu-item",{center:r.center}]),onClick:o[0]||(o[0]=i=>n("click"))},[lr(r.$slots,"default",{},void 0,!0)],2))}}),Oo=Ve(foe,[["__scopeId","data-v-1f176c16"]]),doe={class:"editor-header"},hoe={class:"left"},poe={class:"menu-item"},moe={class:"title"},voe=["title"],goe={class:"right"},Aoe={class:"group-menu-item"},Roe={class:"arrow-btn"},yoe={class:"github-link",href:"https://github.com/pipipi-pikachu/PPTist",target:"_blank"},boe={class:"menu-item"},xoe=Ie({__name:"index",setup(e){const t=ft(),n=st(),{title:r}=Ee(n),{enterScreening:o,enterScreeningFromStart:i}=Sc(),{importSpecificFile:a,importPPTXFile:s,exporting:c}=hne(),{resetSlides:l}=Bd(),u=he(!1),f=he(!1),d=he(!1),h=he(),p=he(""),m=()=>{p.value=r.value,d.value=!0,Wr(()=>{var R;return(R=h.value)==null?void 0:R.focus()})},A=()=>{n.setTitle(p.value),d.value=!1},x=R=>{window.open(R),u.value=!1},y=R=>{t.setDialogForExport(R),u.value=!1};return(R,g)=>{const b=xe("IconHamburgerButton"),L=xe("IconPpt"),T=xe("IconDown"),M=xe("IconDownload"),w=xe("IconGithub"),k=Sn("tooltip");return Y(),q("div",doe,[W("div",hoe,[O(Pt,{trigger:"click",placement:"bottom-start",value:u.value,"onUpdate:value":g[7]||(g[7]=_=>u.value=_)},{content:ie(()=>[O(Fu,{accept:".pptist",onChange:g[0]||(g[0]=_=>{G(a)(_),u.value=!1})},{default:ie(()=>[O(Oo,null,{default:ie(()=>[We("导入 pptist 文件")]),_:1})]),_:1}),O(Fu,{accept:"application/vnd.openxmlformats-officedocument.presentationml.presentation",onChange:g[1]||(g[1]=_=>{G(s)(_),u.value=!1})},{default:ie(()=>[O(Oo,null,{default:ie(()=>[We("导入 pptx 文件(测试版)")]),_:1})]),_:1}),O(Oo,{onClick:g[2]||(g[2]=_=>y("pptx"))},{default:ie(()=>[We("导出文件")]),_:1}),O(Oo,{onClick:g[3]||(g[3]=_=>{G(l)(),u.value=!1})},{default:ie(()=>[We("重置幻灯片")]),_:1}),O(Oo,{onClick:g[4]||(g[4]=_=>x("https://github.com/pipipi-pikachu/PPTist/issues"))},{default:ie(()=>[We("意见反馈")]),_:1}),O(Oo,{onClick:g[5]||(g[5]=_=>x("https://github.com/pipipi-pikachu/PPTist/blob/master/doc/Q&A.md"))},{default:ie(()=>[We("常见问题")]),_:1}),O(Oo,{onClick:g[6]||(g[6]=_=>{u.value=!1,f.value=!0})},{default:ie(()=>[We("快捷键")]),_:1})]),default:ie(()=>[W("div",poe,[O(b,{class:"icon"})])]),_:1},8,["value"]),W("div",moe,[d.value?(Y(),Te(_u,{key:0,class:"title-input",ref_key:"titleInputRef",ref:h,value:p.value,"onUpdate:value":g[8]||(g[8]=_=>p.value=_),onBlur:g[9]||(g[9]=_=>A())},null,8,["value"])):(Y(),q("div",{key:1,class:"title-text",onClick:g[10]||(g[10]=_=>m()),title:G(r)},gt(G(r)),9,voe))])]),W("div",goe,[W("div",Aoe,[Ke((Y(),q("div",{class:"menu-item",onClick:g[11]||(g[11]=_=>G(o)())},[O(L,{class:"icon"})])),[[k,"幻灯片放映"]]),O(Pt,{trigger:"click",center:""},{content:ie(()=>[O(Oo,{onClick:g[12]||(g[12]=_=>G(i)())},{default:ie(()=>[We("从头开始")]),_:1}),O(Oo,{onClick:g[13]||(g[13]=_=>G(o)())},{default:ie(()=>[We("从当前页开始")]),_:1})]),default:ie(()=>[W("div",Roe,[O(T,{class:"arrow"})])]),_:1})]),Ke((Y(),q("div",{class:"menu-item",onClick:g[14]||(g[14]=_=>y("pptx"))},[O(M,{class:"icon"})])),[[k,"导出"]]),Ke((Y(),q("a",yoe,[W("div",boe,[O(w,{class:"icon"})])])),[[k,"Copyright © 2020-PRESENT pipipi-pikachu"]])]),O(Nne,{width:320,visible:f.value,"onUpdate:visible":g[15]||(g[15]=_=>f.value=_),placement:"right"},{default:ie(()=>[O(Rne)]),_:1},8,["visible"]),O($x,{loading:G(c),tip:"正在导入..."},null,8,["loading"])])}}}),Soe=Ve(xoe,[["__scopeId","data-v-89efe6b2"]]),qu=Symbol(),a5=Symbol(),dI=Symbol(),Moe=()=>{const e=window.getSelection();e&&e.removeAllRanges()},woe=e=>{const t=he(0),n=he(0),r=ft(),{canvasPercentage:o,canvasDragged:i}=Ee(r),{viewportRatio:a}=Ee(st()),s=()=>{if(!e.value)return;const d=e.value.clientWidth,h=e.value.clientHeight;if(h/d>a.value){const p=d*(o.value/100);r.setCanvasScale(p/Gt),t.value=(d-p)/2,n.value=(h-p*a.value)/2}else{const p=h*(o.value/100);r.setCanvasScale(p/(Gt*a.value)),t.value=(d-p/a.value)/2,n.value=(h-p)/2}};Tt(o,(d,h)=>{if(!e.value)return;const p=e.value.clientWidth,m=e.value.clientHeight,A=p*(d/100),x=p*(h/100),y=m*(d/100),R=m*(h/100);m/p>a.value?r.setCanvasScale(A/Gt):r.setCanvasScale(y/(Gt*a.value)),t.value=t.value-(A-x)/2,n.value=n.value-(y-R)/2}),Tt(a,s),Tt(i,()=>{i.value||s()});const l=Me(()=>({width:Gt,height:Gt*a.value,left:t.value,top:n.value})),u=new ResizeObserver(s);return Ht(()=>{e.value&&u.observe(e.value)}),wn(()=>{e.value&&u.unobserve(e.value)}),{viewportStyles:l,dragViewport:d=>{let h=!0;const p=d.pageX,m=d.pageY,A=t.value,x=n.value;document.onmousemove=y=>{if(!h)return;const R=y.pageX,g=y.pageY;t.value=A+(R-p),n.value=x+(g-m)},document.onmouseup=()=>{h=!1,document.onmousemove=null,document.onmouseup=null,r.setCanvasDragged(!0)}}}},Loe=(e,t)=>{const n=ft(),{canvasScale:r,hiddenElementIdList:o}=Ee(n),i=he(!1),a=he(1),s=he({top:0,left:0,width:0,height:0});return{mouseSelection:s,mouseSelectionVisible:i,mouseSelectionQuadrant:a,updateMouseSelection:l=>{if(!t.value)return;let u=!0;const f=t.value.getBoundingClientRect(),d=5,h=l.pageX,p=l.pageY,m=(h-f.x)/r.value,A=(p-f.y)/r.value;s.value={top:A,left:m,width:0,height:0},i.value=!1,a.value=4,document.onmousemove=x=>{if(!u)return;const y=x.pageX,R=x.pageY,g=(y-h)/r.value,b=(R-p)/r.value,L=Math.abs(g),T=Math.abs(b);if(L0&&b>0?M=4:g<0&&b<0?M=2:g>0&&b<0?M=1:g<0&&b>0&&(M=3),s.value={...s.value,width:L,height:T},i.value=!0,a.value=M},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,u=!1;let x=[];for(let R=0;Rb&&kL&&Pb-T&&kL-M&&Pb&&kL-M&&Pb-T&&kL&&P{if(R.groupId){const g=x.map(L=>L.id);return e.value.filter(L=>L.groupId===R.groupId).every(L=>g.includes(L.id))}return!0});const y=x.map(R=>R.id);n.setActiveElementIdList(y),i.value=!1}}}},Ooe=e=>{const{disableHotkeys:t}=Ee(ft()),{createImageElement:n,createTextElement:r}=Ju(),o=i=>{if(!i.dataTransfer||i.dataTransfer.items.length===0)return;const a=i.dataTransfer.items[0];if(a.kind==="file"&&a.type.indexOf("image")!==-1){const s=a.getAsFile();s&&Hu(s).then(c=>n(c))}else a.kind==="string"&&a.type==="text/plain"&&a.getAsString(s=>{if(t.value)return;const c=Px(s);r({left:0,top:0,width:600,height:50},{content:c})})};Ht(()=>{e.value&&e.value.addEventListener("drop",o),document.ondragleave=i=>i.preventDefault(),document.ondrop=i=>i.preventDefault(),document.ondragenter=i=>i.preventDefault(),document.ondragover=i=>i.preventDefault()}),wn(()=>{e.value&&e.value.removeEventListener("drop",o),document.ondragleave=null,document.ondrop=null,document.ondragenter=null,document.ondragover=null})},Toe=(e,t)=>{const n=Math.atan2(e,t);return 180/Math.PI*n},hI=(e,t,n)=>{const r=st(),{addHistorySnapshot:o}=Jt();return{rotateElement:(a,s)=>{const c=!(a instanceof MouseEvent);if(c&&(!a.changedTouches||!a.changedTouches[0]))return;let l=!0,u=0;const f=s.rotate||0,d=s.left,h=s.top,p=s.width,m=s.height,A=d+p/2,x=h+m/2;if(!t.value)return;const y=t.value.getBoundingClientRect(),R=b=>{if(!l)return;const L=b instanceof MouseEvent?b.pageX:b.changedTouches[0].pageX,T=b instanceof MouseEvent?b.pageY:b.changedTouches[0].pageY,M=(L-y.left)/n.value,w=(T-y.top)/n.value,k=M-A,_=x-w;u=Toe(k,_);const P=5;Math.abs(u)<=P?u=0:u>0&&Math.abs(u-45)<=P?u-=u-45:u<0&&Math.abs(u+45)<=P?u-=u+45:u>0&&Math.abs(u-90)<=P?u-=u-90:u<0&&Math.abs(u+90)<=P?u-=u+90:u>0&&Math.abs(u-135)<=P?u-=u-135:u<0&&Math.abs(u+135)<=P?u-=u+135:u>0&&Math.abs(u-180)<=P?u-=u-180:u<0&&Math.abs(u+180)<=P&&(u-=u+180),e.value=e.value.map(E=>s.id===E.id?{...E,rotate:u}:E)},g=()=>{l=!1,document.onmousemove=null,document.onmouseup=null,f!==u&&(r.updateSlide({elements:e.value}),o())};c?(document.ontouchmove=R,document.ontouchend=g):(document.onmousemove=R,document.onmouseup=g)}}},z0={text:"文本",image:"图片",shape:"形状",line:"线条",chart:"图表",table:"表格",video:"视频",audio:"音频",latex:"公式"},pI={text:20,image:20,shape:20,chart:200,table:20,video:250,audio:20,latex:20},WO=(e,t)=>{const{left:n,top:r,width:o,height:i}=e,a=Math.sqrt(Math.pow(o,2)+Math.pow(i,2))/2,s=Math.atan(i/o)*180/Math.PI,c=(180-t-s)*Math.PI/180,l=(s-t)*Math.PI/180,u=(90-t)*Math.PI/180,f=t*Math.PI/180,d=o/2,h=i/2,p=n+d,m=r+h,A={left:p+a*Math.cos(c),top:m-a*Math.sin(c)},x={left:p+h*Math.cos(u),top:m-h*Math.sin(u)},y={left:p+a*Math.cos(l),top:m-a*Math.sin(l)},R={left:p+d*Math.cos(f),top:m+d*Math.sin(f)},g={left:p-a*Math.cos(c),top:m+a*Math.sin(c)},b={left:p-h*Math.sin(f),top:m+h*Math.cos(f)},L={left:p-a*Math.cos(l),top:m+a*Math.sin(l)},T={left:p-d*Math.cos(f),top:m-d*Math.sin(f)};return{leftTopPoint:A,topPoint:x,rightTopPoint:y,rightPoint:R,rightBottomPoint:g,bottomPoint:b,leftBottomPoint:L,leftPoint:T}},VO=(e,t)=>({[mt.RIGHT_BOTTOM]:t.leftTopPoint,[mt.LEFT_BOTTOM]:t.rightTopPoint,[mt.LEFT_TOP]:t.rightBottomPoint,[mt.RIGHT_TOP]:t.leftBottomPoint,[mt.TOP]:t.bottomPoint,[mt.BOTTOM]:t.topPoint,[mt.LEFT]:t.rightPoint,[mt.RIGHT]:t.leftPoint})[e],mI=(e,t,n)=>{const r=ft(),o=st(),{activeElementIdList:i,activeGroupElementId:a}=Ee(r),{viewportRatio:s}=Ee(o),{ctrlOrShiftKeyActive:c}=Ee(Ss()),{addHistorySnapshot:l}=Jt();return{scaleElement:(d,h,p)=>{const m=!(d instanceof MouseEvent);if(m&&(!d.changedTouches||!d.changedTouches[0]))return;let A=!0;r.setScalingState(!0);const x=h.left,y=h.top,R=h.width,g=h.height,b=h.type==="table"?h.cellMinHeight:0,L="rotate"in h&&h.rotate?h.rotate:0,T=Math.PI*L/180,M=c.value||"fixedRatio"in h&&h.fixedRatio,w=R/g,k=m?d.changedTouches[0].pageX:d.pageX,_=m?d.changedTouches[0].pageY:d.pageY,P=pI[h.type]||20,E=Q=>Q{const U=[];let te=!1,z=!1;const oe={offsetX:0,offsetY:0};if(B||B===0)for(let pe=0;pe{if(!A)return;const B=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,H=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY,U=B-k,te=H-_;let z=R,oe=g,pe=x,Ae=y;if(L){const me=(Math.cos(T)*U+Math.sin(T)*te)/n.value;let $=(Math.cos(T)*te-Math.sin(T)*U)/n.value;M&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&($=me/w),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&($=-me/w)),p===mt.RIGHT_BOTTOM?(z=E(R+me),oe=E(g+$)):p===mt.LEFT_BOTTOM?(z=E(R-me),oe=E(g+$),pe=x-(z-R)):p===mt.LEFT_TOP?(z=E(R-me),oe=E(g-$),pe=x-(z-R),Ae=y-(oe-g)):p===mt.RIGHT_TOP?(z=E(R+me),oe=E(g-$),Ae=y-(oe-g)):p===mt.TOP?(oe=E(g-$),Ae=y-(oe-g)):p===mt.BOTTOM?oe=E(g+$):p===mt.LEFT?(z=E(R-me),pe=x-(z-R)):p===mt.RIGHT&&(z=E(R+me));const ue=WO({width:z,height:oe,left:pe,top:Ae},L),X=VO(p,ue),ne=X.left,le=X.top,j=ne-F,ee=le-N;pe=pe-j,Ae=Ae-ee}else{let me=U/n.value,$=te/n.value;if(M&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&($=me/w),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&($=-me/w)),p===mt.RIGHT_BOTTOM){const{offsetX:ue,offsetY:X}=J(x+R+me,y+g+$);me=me-ue,$=$-X,M&&(X?me=$*w:$=me/w),z=E(R+me),oe=E(g+$)}else if(p===mt.LEFT_BOTTOM){const{offsetX:ue,offsetY:X}=J(x+me,y+g+$);me=me-ue,$=$-X,M&&(X?me=-$*w:$=-me/w),z=E(R-me),oe=E(g+$),pe=x-(z-R)}else if(p===mt.LEFT_TOP){const{offsetX:ue,offsetY:X}=J(x+me,y+$);me=me-ue,$=$-X,M&&(X?me=$*w:$=me/w),z=E(R-me),oe=E(g-$),pe=x-(z-R),Ae=y-(oe-g)}else if(p===mt.RIGHT_TOP){const{offsetX:ue,offsetY:X}=J(x+R+me,y+$);me=me-ue,$=$-X,M&&(X?me=-$*w:$=-me/w),z=E(R+me),oe=E(g-$),Ae=y-(oe-g)}else if(p===mt.LEFT){const{offsetX:ue}=J(x+me,null);me=me-ue,z=E(R-me),pe=x-(z-R)}else if(p===mt.RIGHT){const{offsetX:ue}=J(x+R+me,null);me=me-ue,z=E(R+me)}else if(p===mt.TOP){const{offsetY:ue}=J(null,y+$);$=$-ue,oe=E(g-$),Ae=y-(oe-g)}else if(p===mt.BOTTOM){const{offsetY:ue}=J(null,y+g+$);$=$-ue,oe=E(g+$)}}e.value=e.value.map(me=>{if(h.id!==me.id)return me;if(me.type==="shape"&&"pathFormula"in me&&me.pathFormula){const $=Gu[me.pathFormula];let ue="";return"editable"in $?ue=$.formula(z,oe,me.keypoint):ue=$.formula(z,oe),{...me,left:pe,top:Ae,width:z,height:oe,viewBox:[z,oe],path:ue}}if(me.type==="table"){let $=b+(oe-g)/me.data.length;return $=$<36?36:$,$===b?{...me,left:pe,width:z}:{...me,left:pe,top:Ae,width:z,height:oe,cellMinHeight:$<36?36:$}}return{...me,left:pe,top:Ae,width:z,height:oe}})},D=Q=>{A=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const B=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,H=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;k===B&&_===H||(o.updateSlide({elements:e.value}),r.setScalingState(!1),l())};m?(document.ontouchmove=se,document.ontouchend=D):(document.onmousemove=se,document.onmouseup=D)},scaleMultiElement:(d,h,p)=>{let m=!0;const{minX:A,maxX:x,minY:y,maxY:R}=h,g=x-A,b=R-y,L=g/b,T=d.pageX,M=d.pageY,w=JSON.parse(JSON.stringify(e.value));document.onmousemove=k=>{if(!m)return;const _=k.pageX,P=k.pageY,E=(_-T)/n.value;let I=(P-M)/n.value;c.value&&((p===mt.RIGHT_BOTTOM||p===mt.LEFT_TOP)&&(I=E/L),(p===mt.LEFT_BOTTOM||p===mt.RIGHT_TOP)&&(I=-E/L));let F=A,N=x,V=y,Z=R;p===mt.RIGHT_BOTTOM?(N=x+E,Z=R+I):p===mt.LEFT_BOTTOM?(F=A+E,Z=R+I):p===mt.LEFT_TOP?(F=A+E,V=y+I):p===mt.RIGHT_TOP?(N=x+E,V=y+I):p===mt.TOP?V=y+I:p===mt.BOTTOM?Z=R+I:p===mt.LEFT?F=A+E:p===mt.RIGHT&&(N=x+E);const J=N-F,se=Z-V;let D=J/g,Q=se/b;D<=0&&(D=0),Q<=0&&(Q=0),e.value=e.value.map(B=>{if((B.type==="image"||B.type==="shape")&&i.value.includes(B.id)){const H=w.find(U=>U.id===B.id);return{...B,width:H.width*D,height:H.height*Q,left:F+(H.left-A)*D,top:V+(H.top-y)*Q}}return B})},document.onmouseup=k=>{m=!1,document.onmousemove=null,document.onmouseup=null,!(T===k.pageX&&M===k.pageY)&&(o.updateSlide({elements:e.value}),l())}}}},koe=(e,t)=>{const n=ft(),{activeElementIdList:r,activeGroupElementId:o,handleElementId:i,editorAreaFocus:a}=Ee(n),{ctrlOrShiftKeyActive:s}=Ee(Ss());return{selectElement:(l,u,f=!0)=>{if(a.value||n.setEditorareaFocus(!0),r.value.includes(u.id)){if(s.value){let d=[];if(u.groupId){const h=[];e.value.forEach(p=>{p.groupId===u.groupId&&h.push(p.id)}),d=r.value.filter(p=>!h.includes(p))}else d=r.value.filter(h=>h!==u.id);d.length>0&&n.setActiveElementIdList(d)}else if(i.value!==u.id)n.setHandleElementId(u.id);else if(o.value!==u.id){const d=l instanceof MouseEvent?l.pageX:l.changedTouches[0].pageX,h=l instanceof MouseEvent?l.pageY:l.changedTouches[0].pageY;l.target.onmouseup=p=>{const m=p.pageX,A=p.pageY;d===m&&h===A&&(n.setActiveGroupElementId(u.id),p.target.onmouseup=null)}}}else{let d=[];if(s.value?d=[...r.value,u.id]:d=[u.id],u.groupId){const h=[];e.value.forEach(p=>{p.groupId===u.groupId&&h.push(p.id)}),d=[...d,...h]}n.setActiveElementIdList(Fn.uniq(d)),n.setHandleElementId(u.id)}f&&t(l,u)}}},vI=(e,t,n)=>{const r=st(),{activeElementIdList:o,activeGroupElementId:i}=Ee(ft()),{shiftKeyState:a}=Ee(Ss()),{viewportRatio:s}=Ee(r),{addHistorySnapshot:c}=Jt();return{dragElement:(u,f)=>{const d=!(u instanceof MouseEvent);if(d&&(!u.changedTouches||!u.changedTouches[0])||!o.value.includes(f.id))return;let h=!0;const p=Gt,m=Gt*s.value,A=5,y=JSON.parse(JSON.stringify(e.value)).filter(Q=>o.value.includes(Q.id)),R=f.left,g=f.top,b=f.width,L="height"in f&&f.height?f.height:0,T="rotate"in f&&f.rotate?f.rotate:0,M=d?u.changedTouches[0].pageX:u.pageX,w=d?u.changedTouches[0].pageY:u.pageY;let k=null;const _=f.id===i.value;let P=[],E=[];for(const Q of e.value){if(Q.type==="line"||_&&Q.id===f.id||!_&&o.value.includes(Q.id))continue;let B,H,U,te;if("rotate"in Q&&Q.rotate){const{xRange:j,yRange:ee}=ud({left:Q.left,top:Q.top,width:Q.width,height:Q.height,rotate:Q.rotate});B=j[0],H=ee[0],U=j[1]-j[0],te=ee[1]-ee[0]}else B=Q.left,H=Q.top,U=Q.width,te=Q.height;const z=B+U,oe=H+te,pe=H+te/2,Ae=B+U/2,me={value:H,range:[B,z]},$={value:oe,range:[B,z]},ue={value:pe,range:[B,z]},X={value:B,range:[H,oe]},ne={value:z,range:[H,oe]},le={value:Ae,range:[H,oe]};P.push(me,$,ue),E.push(X,ne,le)}const I={value:0,range:[0,p]},F={value:m,range:[0,p]},N={value:m/2,range:[0,p]},V={value:0,range:[0,m]},Z={value:p,range:[0,m]},J={value:p/2,range:[0,m]};P.push(I,F,N),E.push(V,Z,J),P=Vv(P),E=Vv(E);const se=Q=>{const B=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,H=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;if(k!==!1&&(k=Math.abs(M-B)Math.abs(te)&&(te=0),Math.abs(U)ee.id===f.id?{...ee,left:z,top:oe}:ee);else{const ee=e.value.find(ae=>ae.id===f.id);if(!ee)return;e.value=e.value.map(ae=>o.value.includes(ae.id)?ae.id===f.id?{...ae,left:z,top:oe}:{...ae,left:ae.left+(z-ee.left),top:ae.top+(oe-ee.top)}:ae)}},D=Q=>{h=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const B=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,H=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;M===B&&w===H||(r.updateSlide({elements:e.value}),c())};d?(document.ontouchmove=se,document.ontouchend=D):(document.onmousemove=se,document.onmouseup=D)}}},Noe=e=>{const t=st(),{canvasScale:n}=Ee(ft()),{ctrlOrShiftKeyActive:r}=Ee(Ss()),{addHistorySnapshot:o}=Jt();return{dragLineElement:(a,s,c)=>{let l=!0;const u=8,f=a.pageX,d=a.pageY,h=[];for(let p=0;p{if(!l)return;const m=p.pageX,A=p.pageY,x=(m-f)/n.value,y=(A-d)/n.value;let R=s.left+s.start[0],g=s.top+s.start[1],b=s.left+s.end[0],L=s.top+s.end[1];const T=s.broken||s.curve||[0,0];let M=s.left+T[0],w=s.top+T[1];const[k,_]=s.cubic||[[0,0],[0,0]];let P=s.left+k[0],E=s.top+k[1],I=s.left+_[0],F=s.top+_[1];if(c===Go.START){R=R+x,g=g+y,Math.abs(R-b)b&&(se[0]=Z-N,D[0]=0),g>L&&(se[1]=J-V,D[1]=0),e.value=e.value.map(Q=>{if(Q.id===s.id){const B={...Q,left:N,top:V,start:se,end:D};return c===Go.START||c===Go.END?r.value?(s.broken&&(B.broken=[M-N,w-V]),s.curve&&(B.curve=[M-N,w-V]),s.cubic&&(B.cubic=[[P-N,E-V],[I-N,F-V]])):(s.broken&&(B.broken=[(se[0]+D[0])/2,(se[1]+D[1])/2]),s.curve&&(B.curve=[(se[0]+D[0])/2,(se[1]+D[1])/2]),s.cubic&&(B.cubic=[[(se[0]+D[0])/2,(se[1]+D[1])/2],[(se[0]+D[0])/2,(se[1]+D[1])/2]])):c===Go.C?(s.broken&&(B.broken=[M-N,w-V]),s.curve&&(B.curve=[M-N,w-V])):s.cubic&&(B.cubic=[[P-N,E-V],[I-N,F-V]]),B}return Q})},document.onmouseup=p=>{l=!1,document.onmousemove=null,document.onmouseup=null;const m=p.pageX,A=p.pageY;f===m&&d===A||(t.updateSlide({elements:e.value}),o())}}}},Poe=(e,t)=>{const n=st(),{addHistorySnapshot:r}=Jt();return{moveShapeKeypoint:(i,a)=>{const s=!(i instanceof MouseEvent);if(s&&(!i.changedTouches||!i.changedTouches[0]))return;let c=!0;const l=s?i.changedTouches[0].pageX:i.pageX,u=s?i.changedTouches[0].pageY:i.pageY,f=Gu[a.pathFormula];let d=null;if("editable"in f){const m=f.getBaseSize(a.width,a.height),A=m*a.keypoint,[x,y]=f.range,R=f.relative;d={baseSize:m,originPos:A,min:x,max:y,relative:R}}const h=m=>{if(!c)return;const A=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,x=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY,y=(A-l)/t.value,R=(x-u)/t.value;e.value=e.value.map(g=>{if(g.id===a.id&&d){const{baseSize:b,originPos:L,min:T,max:M,relative:w}=d,k=g;let _=0;return w==="left"&&(_=(L+y)/b),w==="right"&&(_=(L-y)/b),w==="center"&&(_=(L-y*2)/b),w==="top"&&(_=(L+R)/b),w==="bottom"&&(_=(L-R)/b),_M&&(_=M),{...g,keypoint:_,path:f.formula(k.width,k.height,_)}}return g})},p=m=>{c=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null;const A=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,x=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY;l===A&&u===x||(n.updateSlide({elements:e.value}),r())};s?(document.ontouchmove=h,document.ontouchend=p):(document.onmousemove=h,document.onmouseup=p)}}},Coe=e=>{const t=ft(),{canvasScale:n,creatingElement:r}=Ee(t),o=u=>{const{start:f,end:d}=u;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,m]=f,[A,x]=d,y=Math.min(p,A),R=Math.max(p,A),g=Math.min(m,x),b=Math.max(m,x),L=(y-h.x)/n.value,T=(g-h.y)/n.value,M=(R-y)/n.value,w=(b-g)/n.value;return{left:L,top:T,width:M,height:w}},i=u=>{const{start:f,end:d}=u;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,m]=f,[A,x]=d,y=Math.min(p,A),R=Math.max(p,A),g=Math.min(m,x),b=Math.max(m,x),L=(y-h.x)/n.value,T=(g-h.y)/n.value,M=(R-y)/n.value,w=(b-g)/n.value;return{left:L,top:T,start:[p===y?0:M,m===g?0:w],end:[A===y?0:M,x===g?0:w]}},{createTextElement:a,createShapeElement:s,createLineElement:c}=Ju();return{formatCreateSelection:o,insertElementFromCreateSelection:u=>{if(!r.value)return;const f=r.value.type;if(f==="text"){const d=o(u);d&&a(d,{vertical:r.value.vertical})}else if(f==="shape"){const d=o(u);d&&s(d,r.value.data)}else if(f==="line"){const d=i(u);d&&c(d,r.value.data)}t.setCreatingElement(null)}}},i2=()=>{const e=st(),{activeElementIdList:t,activeElementList:n}=Ee(ft()),{currentSlide:r,viewportRatio:o}=Ee(e),{addHistorySnapshot:i}=Jt();return{alignElementToCanvas:s=>{const c=Gt,l=Gt*o.value,{minX:u,maxX:f,minY:d,maxY:h}=ec(n.value),p=JSON.parse(JSON.stringify(r.value.elements));for(const m of p)if(t.value.includes(m.id)){if(s===on.CENTER){const A=d+(h-d)/2-l/2,x=u+(f-u)/2-c/2;m.top=m.top-A,m.left=m.left-x}if(s===on.TOP){const A=d-0;m.top=m.top-A}else if(s===on.VERTICAL){const A=d+(h-d)/2-l/2;m.top=m.top-A}else if(s===on.BOTTOM){const A=h-l;m.top=m.top-A}else if(s===on.LEFT){const A=u-0;m.left=m.left-A}else if(s===on.HORIZONTAL){const A=u+(f-u)/2-c/2;m.left=m.left-A}else if(s===on.RIGHT){const A=f-c;m.left=m.left-A}}e.updateSlide({elements:p}),i()}}},wc=e=>({shadowStyle:Me(()=>{if(e.value){const{h:n,v:r,blur:o,color:i}=e.value;return`${n}px ${r}px ${o}px ${i}`}return""})}),a2=(e,t)=>({flipStyle:Me(()=>{let r="";return e.value&&t.value?r="rotateX(180deg) rotateY(180deg)":t.value?r="rotateX(180deg)":e.value&&(r="rotateY(180deg)"),r})});var gI=(e=>(e.RECT="rect",e.ELLIPSE="ellipse",e.POLYGON="polygon",e))(gI||{});const K3={rect:{name:"矩形",type:"rect",radius:"0",style:""},rect2:{name:"矩形2",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 0 100%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L 0 ${t} Z`},rect3:{name:"矩形3",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L ${e*.2} ${t} L 0 ${t*.8} Z`},roundRect:{name:"圆角矩形",type:"rect",radius:"10px",style:"inset(0 0 0 0 round 10px 10px 10px 10px)"},ellipse:{name:"圆形",type:"ellipse",style:"ellipse(50% 50% at 50% 50%)"},triangle:{name:"三角形",type:"polygon",style:"polygon(50% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M ${e*.5} 0 L 0 ${t} L ${e} ${t} Z`},triangle2:{name:"三角形2",type:"polygon",style:"polygon(50% 100%, 0% 0%, 100% 0%)",createPath:(e,t)=>`M ${e*.5} ${t} L 0 0 L ${e} 0 Z`},triangle3:{name:"三角形3",type:"polygon",style:"polygon(0% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M 0 0 L 0 ${t} L ${e} ${t} Z`},rhombus:{name:"菱形",type:"polygon",style:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${t*.5} L ${e*.5} ${t} L 0 ${t*.5} Z`},pentagon:{name:"五边形",type:"polygon",style:"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${.38*t} L ${.82*e} ${t} L ${.18*e} ${t} L 0 ${.38*t} Z`},hexagon:{name:"六边形",type:"polygon",style:"polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.2} 0 L ${e*.8} 0 L ${e} ${t*.5} L ${e*.8} ${t} L ${e*.2} ${t} L 0 ${t*.5} Z`},heptagon:{name:"七边形",type:"polygon",style:"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e*.9} ${t*.2} L ${e} ${t*.6} L ${e*.75} ${t} L ${e*.25} ${t} L 0 ${t*.6} L ${e*.1} ${t*.2} Z`},octagon:{name:"八边形",type:"polygon",style:"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e*.7} 0 L ${e} ${t*.3} L ${e} ${t*.7} L ${e*.7} ${t} L ${e*.3} ${t} L 0 ${t*.7} L 0 ${t*.3} Z`},chevron:{name:"V形",type:"polygon",style:"polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%)",createPath:(e,t)=>`M ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} L ${e*.25} ${t*.5} L 0 0 Z`},point:{name:"点",type:"polygon",style:"polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%)",createPath:(e,t)=>`M 0 0 L ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} Z`},arrow:{name:"箭头",type:"polygon",style:"polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%)",createPath:(e,t)=>`M 0 ${t*.2} L ${e*.6} ${t*.2} L ${e*.6} 0 L ${e} ${t*.5} L ${e*.6} ${t} L ${e*.6} ${t*.8} L 0 ${t*.8} Z`},parallelogram:{name:"平行四边形",type:"polygon",style:"polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e} 0 L ${e*.7} ${t} L 0 ${t} Z`},parallelogram2:{name:"平行四边形2",type:"polygon",style:"polygon(30% 100%, 100% 100%, 70% 0%, 0% 0%)",createPath:(e,t)=>`M ${e*.3} ${t} L ${e} ${t} L ${e*.7} 0 L 0 0 Z`},trapezoid:{name:"梯形",type:"polygon",style:"polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.25} 0 L ${e*.75} 0 L ${e} ${t} L 0 ${t} Z`},trapezoid2:{name:"梯形2",type:"polygon",style:"polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%)",createPath:(e,t)=>`M 0 0 L ${e} 0 L ${e*.75} ${t} L ${e*.25} ${t} Z`}},s5=e=>{const t=Me(()=>{if(!e.value)return K3.rect;const r=e.value.shape||gI.RECT;return K3[r]}),n=Me(()=>{if(!e.value)return{top:"0",left:"0",width:"100%",height:"100%"};const[r,o]=e.value.range,i=(o[0]-r[0])/100,a=(o[1]-r[1])/100,s=r[0]/i,c=r[1]/a;return{left:-s+"%",top:-c+"%",width:100/i+"%",height:100/a+"%"}});return{clipShape:t,imgPosition:n}},AI=e=>({filter:Me(()=>{if(!e.value)return"";let n="";const r=Object.keys(e.value);for(const o of r)n+=`${o}(${e.value[o]}) `;return n})}),Hd=e=>{const t=Me(()=>{var i;return((i=e.value)==null?void 0:i.width)??0}),n=Me(()=>{var i;return((i=e.value)==null?void 0:i.style)||"solid"}),r=Me(()=>{var i;return((i=e.value)==null?void 0:i.color)||"#d14424"}),o=Me(()=>{if(n.value!=="dashed")return"0 0";const i=t.value;return i<=6?`${i*4.5} ${i*2}`:`${i*4} ${i*1.5}`});return{outlineWidth:t,outlineStyle:n,outlineColor:r,strokeDashArray:o}},Ioe=["width","height"],Foe=["rx","ry","width","height","stroke","stroke-width","stroke-dasharray"],_oe=Ie({__name:"ImageRectOutline",props:{width:{},height:{},outline:{},radius:{default:"0"}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Hd(Xd(t,"outline"));return(i,a)=>i.outline?(Y(),q("svg",{key:0,class:"image-rect-outline",overflow:"visible",width:i.width,height:i.height},[W("rect",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",rx:i.radius,ry:i.radius,width:i.width,height:i.height,stroke:G(r),"stroke-width":G(n),"stroke-dasharray":G(o)},null,8,Foe)],8,Ioe)):Ze("",!0)}}),Eoe=Ve(_oe,[["__scopeId","data-v-09a0319c"]]),Xoe=["width","height"],Woe=["cx","cy","rx","ry","stroke","stroke-width","stroke-dasharray"],Voe=Ie({__name:"ImageEllipseOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Hd(Xd(t,"outline"));return(i,a)=>i.outline?(Y(),q("svg",{key:0,class:"image-ellipse-outline",overflow:"visible",width:i.width,height:i.height},[W("ellipse",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",cx:i.width/2,cy:i.height/2,rx:i.width/2,ry:i.height/2,stroke:G(r),"stroke-width":G(n),"stroke-dasharray":G(o)},null,8,Woe)],8,Xoe)):Ze("",!0)}}),Uoe=Ve(Voe,[["__scopeId","data-v-19e68d74"]]),Yoe=["width","height"],Qoe=["d","stroke","stroke-width","stroke-dasharray"],Zoe=Ie({__name:"ImagePolygonOutline",props:{width:{},height:{},createPath:{type:Function},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Hd(Xd(t,"outline"));return(i,a)=>i.outline?(Y(),q("svg",{key:0,class:"image-polygon-outline",overflow:"visible",width:i.width,height:i.height},[W("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:i.createPath(i.width,i.height),stroke:G(r),"stroke-width":G(n),"stroke-dasharray":G(o)},null,8,Qoe)],8,Yoe)):Ze("",!0)}}),Boe=Ve(Zoe,[["__scopeId","data-v-a036b0a3"]]),Doe={class:"image-outline"},RI=Ie({__name:"index",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.clip),{clipShape:r}=s5(n);return(o,i)=>(Y(),q("div",Doe,[G(r).type==="rect"?(Y(),Te(Eoe,{key:0,width:o.elementInfo.width,height:o.elementInfo.height,radius:G(r).radius,outline:o.elementInfo.outline},null,8,["width","height","radius","outline"])):G(r).type==="ellipse"?(Y(),Te(Uoe,{key:1,width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"])):G(r).type==="polygon"?(Y(),Te(Boe,{key:2,width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline,createPath:G(r).createPath},null,8,["width","height","outline","createPath"])):Ze("",!0)]))}}),yI=e=>(qt("data-v-31b3b0f9"),e=e(),en(),e),Koe=["src"],Hoe=["src"],Goe=["onMousedown"],Joe=yI(()=>W("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[W("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 16 L 4 16 L 4 4 L 16 4 L 16 0 Z"})],-1)),zoe=[Joe],$oe=["onMousedown"],joe=yI(()=>W("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[W("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 4 L 16 4 Z"})],-1)),qoe=[joe],eie=Ie({__name:"ImageClipHandler",props:{src:{},clipPath:{},width:{},height:{},top:{},left:{},rotate:{},clipData:{}},emits:["clip"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:o}=Ee(ft()),{ctrlOrShiftKeyActive:i}=Ee(Ss()),a=he({top:"0",left:"0"}),s=he(!1),c=he(null),l=()=>{const[M,w]=n.clipData?n.clipData.range:[[0,0],[100,100]],k=(w[0]-M[0])/100,_=(w[1]-M[1])/100,P=M[0]/k,E=M[1]/_;return{widthScale:k,heightScale:_,left:P,top:E}},u=Me(()=>{const{widthScale:M,heightScale:w,left:k,top:_}=l();return{left:-k,top:-_,width:100/M,height:100/w}}),f=Me(()=>({top:u.value.top+"%",left:u.value.left+"%",width:u.value.width+"%",height:u.value.height+"%"})),d=he({top:0,left:0,width:0,height:0}),h=Me(()=>{const{top:M,left:w,width:k,height:_}=d.value;return{top:M+"%",left:w+"%",width:k+"%",height:_+"%"}}),p=Me(()=>{const M=u.value.width,w=u.value.height,{top:k,left:_,width:P,height:E}=d.value;return{left:-_*(100/P)+"%",top:-k*(100/E)+"%",width:M/P*100+"%",height:w/E*100+"%"}}),m=()=>{const{left:M,top:w}=l();d.value={left:M,top:w,width:100,height:100},a.value={top:-w+"%",left:-M+"%"}},A=()=>{if(s.value)return;if(!c.value){r("clip",null);return}const{left:M,top:w}=l(),k={left:(d.value.left-M)/100*n.width,top:(d.value.top-w)/100*n.height,width:(d.value.width-100)/100*n.width,height:(d.value.height-100)/100*n.height},_={range:c.value,position:k};r("clip",_)},x=M=>{M.key.toUpperCase()===yt.ENTER&&A()};Ht(()=>{m(),document.addEventListener("keydown",x)}),wn(()=>{document.removeEventListener("keydown",x)});const y=()=>{const M={left:parseInt(p.value.left),top:parseInt(p.value.top),width:parseInt(p.value.width),height:parseInt(p.value.height)},w=100/M.width,k=100/M.height,_=[-M.left*w,-M.top*k],P=[w*100+_[0],k*100+_[1]];c.value=[_,P]},R=M=>{s.value=!0;let w=!0;const k=M.pageX,_=M.pageY,P=u.value,E={...d.value};document.onmousemove=I=>{if(!w)return;const F=I.pageX,N=I.pageY,V=(F-k)/o.value,Z=(N-_)/o.value,J=Math.sqrt(V*V+Z*Z),D=Math.atan2(Z,V)-n.rotate/180*Math.PI,Q=J*Math.cos(D)/n.width*100,B=J*Math.sin(D)/n.height*100;let H=E.left+Q,U=E.top+B;H<0?H=0:H+E.width>P.width&&(H=P.width-E.width),U<0?U=0:U+E.height>P.height&&(U=P.height-E.height),d.value={...d.value,left:H,top:U}},document.onmouseup=()=>{w=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>{s.value=!1},0)}},g=(M,w)=>{s.value=!0;let k=!0;const _=50/n.width*100,P=50/n.height*100,E=M.pageX,I=M.pageY,F=u.value,N={...d.value},V=d.value.width/d.value.height;document.onmousemove=Z=>{if(!k)return;const J=Z.pageX,se=Z.pageY,D=(J-E)/o.value,Q=(se-I)/o.value,B=Math.sqrt(D*D+Q*Q),U=Math.atan2(Q,D)-n.rotate/180*Math.PI;let te=B*Math.cos(U)/n.width*100,z=B*Math.sin(U)/n.height*100;i.value&&((w===mt.RIGHT_BOTTOM||w===mt.LEFT_TOP)&&(z=te/V),(w===mt.LEFT_BOTTOM||w===mt.RIGHT_TOP)&&(z=-te/V));let oe,pe,Ae,me;w===mt.LEFT_TOP?(N.left+te<0&&(te=-N.left),N.top+z<0&&(z=-N.top),N.width-te<_&&(te=N.width-_),N.height-zF.width&&(te=F.width-(N.left+N.width)),N.top+z<0&&(z=-N.top),N.width+te<_&&(te=_-N.width),N.height-zF.height&&(z=F.height-(N.top+N.height)),N.width-te<_&&(te=N.width-_),N.height+zF.width&&(te=F.width-(N.left+N.width)),N.top+N.height+z>F.height&&(z=F.height-(N.top+N.height)),N.width+te<_&&(te=_-N.width),N.height+zF.height&&(z=F.height-(N.top+N.height)),N.height+zF.width&&(te=F.width-(N.left+N.width)),N.width+te<_&&(te=_-N.width),me=N.height,Ae=N.width+te,oe=N.left,pe=N.top),d.value={left:oe,top:pe,width:Ae,height:me}},document.onmouseup=()=>{k=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>s.value=!1,0)}},b=Me(()=>{const M="rotate-",w=n.rotate;return w>-22.5&&w<=22.5?M+0:w>22.5&&w<=67.5?M+45:w>67.5&&w<=112.5?M+90:w>112.5&&w<=157.5?M+135:w>157.5||w<=-157.5?M+0:w>-157.5&&w<=-112.5?M+45:w>-112.5&&w<=-67.5?M+90:w>-67.5&&w<=-22.5?M+135:M+0}),L=[mt.LEFT_TOP,mt.RIGHT_TOP,mt.LEFT_BOTTOM,mt.RIGHT_BOTTOM],T=[mt.TOP,mt.BOTTOM,mt.LEFT,mt.RIGHT];return(M,w)=>{const k=Sn("click-outside");return Ke((Y(),q("div",{class:"image-clip-handler",style:we(a.value)},[W("img",{class:"bottom-img",src:M.src,draggable:!1,alt:"",style:we(f.value)},null,12,Koe),W("div",{class:"top-image-content",style:we({...h.value,clipPath:M.clipPath})},[W("img",{class:"top-img",src:M.src,draggable:!1,alt:"",style:we(p.value)},null,12,Hoe)],4),W("div",{class:"operate",style:we(h.value),onMousedown:w[0]||(w[0]=Wt(_=>R(_),["stop"]))},[(Y(),q(Xe,null,ot(L,_=>W("div",{class:Ge(["clip-point",_,b.value]),key:_,onMousedown:Wt(P=>g(P,_),["stop"])},zoe,42,Goe)),64)),(Y(),q(Xe,null,ot(T,_=>W("div",{class:Ge(["clip-point",_,b.value]),key:_,onMousedown:Wt(P=>g(P,_),["stop"])},qoe,42,$oe)),64))],36)],4)),[[k,A]])}}}),tie=Ve(eie,[["__scopeId","data-v-31b3b0f9"]]),nie=["src"],rie=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{clipingImageElementId:o}=Ee(n),i=Me(()=>o.value===t.elementInfo.id),{addHistorySnapshot:a}=Jt(),s=Me(()=>t.elementInfo.shadow),{shadowStyle:c}=wc(s),l=Me(()=>t.elementInfo.flipH),u=Me(()=>t.elementInfo.flipV),{flipStyle:f}=a2(l,u),d=Me(()=>t.elementInfo.clip),{clipShape:h,imgPosition:p}=s5(d),m=Me(()=>t.elementInfo.filters),{filter:A}=AI(m),x=R=>{t.elementInfo.lock||(R.stopPropagation(),t.selectElement(R,t.elementInfo))},y=R=>{if(n.setClipingImageElementId(""),!R)return;const{range:g,position:b}=R,L=t.elementInfo.clip||{shape:"rect",range:[[0,0],[100,100]]},T=t.elementInfo.left+b.left,M=t.elementInfo.top+b.top,w=t.elementInfo.width+b.width,k=t.elementInfo.height+b.height;let _=0,P=0;if(t.elementInfo.rotate){const I=T+w/2-(t.elementInfo.left+t.elementInfo.width/2),F=-(M+k/2-(t.elementInfo.top+t.elementInfo.height/2)),N=-t.elementInfo.rotate*Math.PI/180,V=I*Math.cos(N)-F*Math.sin(N),Z=I*Math.sin(N)+F*Math.cos(N);_=V-I,P=-(Z-F)}const E={clip:{...L,range:g},left:T+_,top:M+P,width:w,height:k};r.updateElement({id:t.elementInfo.id,props:E}),a()};return(R,g)=>{const b=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-image",{lock:R.elementInfo.lock}]),style:we({top:R.elementInfo.top+"px",left:R.elementInfo.left+"px",width:R.elementInfo.width+"px",height:R.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${R.elementInfo.rotate}deg)`})},[i.value?(Y(),Te(tie,{key:0,src:R.elementInfo.src,clipData:R.elementInfo.clip,width:R.elementInfo.width,height:R.elementInfo.height,top:R.elementInfo.top,left:R.elementInfo.left,rotate:R.elementInfo.rotate,clipPath:G(h).style,onClip:g[0]||(g[0]=L=>y(L))},null,8,["src","clipData","width","height","top","left","rotate","clipPath"])):Ke((Y(),q("div",{key:1,class:"element-content",style:we({filter:G(c)?`drop-shadow(${G(c)})`:"",transform:G(f)}),onMousedown:g[2]||(g[2]=L=>x(L)),onTouchstart:g[3]||(g[3]=L=>x(L))},[O(RI,{elementInfo:R.elementInfo},null,8,["elementInfo"]),W("div",{class:"image-content",style:we({clipPath:G(h).style})},[W("img",{src:R.elementInfo.src,draggable:!1,style:we({top:G(p).top,left:G(p).left,width:G(p).width,height:G(p).height,filter:G(A)}),onDragstart:g[1]||(g[1]=Wt(()=>{},["prevent"])),alt:""},null,44,nie),R.elementInfo.colorMask?(Y(),q("div",{key:0,class:"color-mask",style:we({backgroundColor:R.elementInfo.colorMask})},null,4)):Ze("",!0)],4)],36)),[[b,R.contextmenus]])],4)],6)}}}),bI=Ve(rie,[["__scopeId","data-v-d615c21a"]]),oie=["width","height"],iie=["d","stroke","stroke-width","stroke-dasharray"],aie=Ie({__name:"ElementOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:o}=Hd(Xd(t,"outline"));return(i,a)=>i.outline?(Y(),q("svg",{key:0,class:"element-outline",overflow:"visible",width:i.width,height:i.height},[W("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:`M0,0 L${i.width},0 L${i.width},${i.height} L0,${i.height} Z`,stroke:G(r),"stroke-width":G(n),"stroke-dasharray":G(o)},null,8,iie)],8,oie)):Ze("",!0)}}),s2=Ve(aie,[["__scopeId","data-v-e2ef58f5"]]),Co=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},ip=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t};let UO=null;const Zs=function(e,t,n){let r=UO||(UO=document.createRange());return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},Xu=function(e,t,n,r){return n&&(YO(e,t,n,r,-1)||YO(e,t,n,r,1))},sie=/^(img|br|input|textarea|hr)$/i;function YO(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:is(e))){let i=e.parentNode;if(!i||i.nodeType!=1||l5(e)||sie.test(e.nodeName)||e.contentEditable=="false")return!1;t=Co(e)+(o<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(o<0?-1:0)],e.contentEditable=="false")return!1;t=o<0?is(e):0}else return!1}}function is(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function lie(e,t,n){for(let r=t==0,o=t==is(e);r||o;){if(e==n)return!0;let i=Co(e);if(e=e.parentNode,!e)return!1;r=r&&i==0,o=o&&i==is(e)}}function l5(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const l2=function(e){return e.focusNode&&Xu(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function qc(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function cie(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function uie(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}const vs=typeof navigator<"u"?navigator:null,QO=typeof document<"u"?document:null,Lc=vs&&vs.userAgent||"",H3=/Edge\/(\d+)/.exec(Lc),xI=/MSIE \d/.exec(Lc),G3=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Lc),ni=!!(xI||G3||H3),lc=xI?document.documentMode:G3?+G3[1]:H3?+H3[1]:0,Ia=!ni&&/gecko\/(\d+)/i.test(Lc);Ia&&+(/Firefox\/(\d+)/.exec(Lc)||[0,0])[1];const J3=!ni&&/Chrome\/(\d+)/.exec(Lc),po=!!J3,fie=J3?+J3[1]:0,Eo=!ni&&!!vs&&/Apple Computer/.test(vs.vendor),Pd=Eo&&(/Mobile\/\w+/.test(Lc)||!!vs&&vs.maxTouchPoints>2),Ki=Pd||(vs?/Mac/.test(vs.platform):!1),die=vs?/Win/.test(vs.platform):!1,wa=/Android \d/.test(Lc),Yp=!!QO&&"webkitFontSmoothing"in QO.documentElement.style,hie=Yp?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function pie(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Ws(e,t){return typeof e=="number"?e:e[t]}function mie(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function ZO(e,t,n){let r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument;for(let a=n||e.dom;a;a=ip(a)){if(a.nodeType!=1)continue;let s=a,c=s==i.body,l=c?pie(i):mie(s),u=0,f=0;if(t.topl.bottom-Ws(r,"bottom")&&(f=t.bottom-t.top>l.bottom-l.top?t.top+Ws(o,"top")-l.top:t.bottom-l.bottom+Ws(o,"bottom")),t.leftl.right-Ws(r,"right")&&(u=t.right-l.right+Ws(o,"right")),u||f)if(c)i.defaultView.scrollBy(u,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),u&&(s.scrollLeft+=u);let p=s.scrollLeft-d,m=s.scrollTop-h;t={left:t.left-p,top:t.top-m,right:t.right-p,bottom:t.bottom-m}}if(c||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function vie(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,o;for(let i=(t.left+t.right)/2,a=n+1;a=n-20){r=s,o=c.top;break}}return{refDOM:r,refTop:o,stack:SI(e.dom)}}function SI(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=ip(r));return t}function gie({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;MI(n,r==0?0:r-t)}function MI(e,t){for(let n=0;n=s){a=Math.max(p.bottom,a),s=Math.min(p.top,s);let m=p.left>t.left?p.left-t.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!c&&p.left<=t.left&&p.right>=t.left&&(c=u,l={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(i=f+1)}}return!n&&c&&(n=c,o=l,r=0),n&&n.nodeType==3?Rie(n,o):!n||r&&n.nodeType==1?{node:e,offset:i}:wI(n,o)}function Rie(e,t){let n=e.nodeValue.length,r=document.createRange();for(let o=0;o=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}function c5(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function yie(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,o,i)}function xie(e,t,n,r){let o=-1;for(let i=t,a=!1;i!=e.dom;){let s=e.docView.nearestDesc(i,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent&&!a||!s.contentDOM)){let c=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&!a&&(a=!0,c.left>r.left||c.top>r.top?o=s.posBefore:(c.right-1?o:e.docView.posFromDOM(t,n,-1)}function LI(e,t,n){let r=e.childNodes.length;if(r&&n.topt.top&&o++}let l;Yp&&o&&r.nodeType==1&&(l=r.childNodes[o-1]).nodeType==1&&l.contentEditable=="false"&&l.getBoundingClientRect().top>=t.top&&o--,r==e.dom&&o==r.childNodes.length-1&&r.lastChild.nodeType==1&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(o==0||r.nodeType!=1||r.childNodes[o-1].nodeName!="BR")&&(s=xie(e,r,o,t))}s==null&&(s=bie(e,a,t));let c=e.docView.nearestDesc(a,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function BO(e){return e.top=0&&o==r.nodeValue.length?(c--,u=1):n<0?c--:l++,A0(Wl(Zs(r,c,l),u),u<0)}if(!e.state.doc.resolve(t-(i||0)).parent.inlineContent){if(i==null&&o&&(n<0||o==is(r))){let c=r.childNodes[o-1];if(c.nodeType==1)return Vy(c.getBoundingClientRect(),!1)}if(i==null&&o=0)}if(i==null&&o&&(n<0||o==is(r))){let c=r.childNodes[o-1],l=c.nodeType==3?Zs(c,is(c)-(a?0:1)):c.nodeType==1&&(c.nodeName!="BR"||!c.nextSibling)?c:null;if(l)return A0(Wl(l,1),!1)}if(i==null&&o=0)}function A0(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function Vy(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function TI(e,t,n){let r=e.state,o=e.root.activeElement;r!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),o!=e.dom&&o&&o.focus()}}function wie(e,t,n){let r=t.selection,o=n=="up"?r.$from:r.$to;return TI(e,t,()=>{let{node:i}=e.docView.domFromPos(o.pos,n=="up"?-1:1);for(;;){let s=e.docView.nearestDesc(i,!0);if(!s)break;if(s.node.isBlock){i=s.contentDOM||s.dom;break}i=s.dom.parentNode}let a=OI(e,o.pos,1);for(let s=i.firstChild;s;s=s.nextSibling){let c;if(s.nodeType==1)c=s.getClientRects();else if(s.nodeType==3)c=Zs(s,0,s.nodeValue.length).getClientRects();else continue;for(let l=0;lu.top+1&&(n=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const Lie=/[\u0590-\u08ac]/;function Oie(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,a=o==r.parent.content.size,s=e.domSelection();return!Lie.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?i:a:TI(e,t,()=>{let{focusNode:c,focusOffset:l,anchorNode:u,anchorOffset:f}=e.domSelectionRange(),d=s.caretBidiLevel;s.modify("move",n,"character");let h=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:p,focusOffset:m}=e.domSelectionRange(),A=p&&!h.contains(p.nodeType==1?p:p.parentNode)||c==p&&l==m;try{s.collapse(u,f),c&&(c!=u||l!=f)&&s.extend&&s.extend(c,l)}catch{}return d!=null&&(s.caretBidiLevel=d),A})}let DO=null,KO=null,HO=!1;function Tie(e,t,n){return DO==t&&KO==n?HO:(DO=t,KO=n,HO=n=="up"||n=="down"?wie(e,t,n):Oie(e,t,n))}const ji=0,GO=1,ou=2,gs=3;class Qp{constructor(t,n,r,o){this.parent=t,this.children=n,this.dom=r,this.contentDOM=o,this.dirty=ji,r.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,n,r){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let n=0;nCo(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))o=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let i=t;;i=i.parentNode){if(i==this.dom){o=!1;break}if(i.previousSibling)break}if(o==null&&n==t.childNodes.length)for(let i=t;;i=i.parentNode){if(i==this.dom){o=!0;break}if(i.nextSibling)break}}return o??r>0?this.posAtEnd:this.posAtStart}nearestDesc(t,n=!1){for(let r=!0,o=t;o;o=o.parentNode){let i=this.getDesc(o),a;if(i&&(!n||i.node))if(r&&(a=i.nodeDOM)&&!(a.nodeType==1?a.contains(t.nodeType==1?t:t.parentNode):a==t))r=!1;else return i}}getDesc(t){let n=t.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(t,n,r){for(let o=t;o;o=o.parentNode){let i=this.getDesc(o);if(i)return i.localPosFromDOM(t,n,r)}return-1}descAt(t){for(let n=0,r=0;nt||a instanceof NI){o=t-i;break}i=s}if(o)return this.children[r].domFromPos(o-this.children[r].border,n);for(let i;r&&!(i=this.children[r-1]).size&&i instanceof kI&&i.side>=0;r--);if(n<=0){let i,a=!0;for(;i=r?this.children[r-1]:null,!(!i||i.dom.parentNode==this.contentDOM);r--,a=!1);return i&&n&&a&&!i.border&&!i.domAtom?i.domFromPos(i.size,n):{node:this.contentDOM,offset:i?Co(i.dom)+1:0}}else{let i,a=!0;for(;i=r=u&&n<=l-c.border&&c.node&&c.contentDOM&&this.contentDOM.contains(c.contentDOM))return c.parseRange(t,n,u);t=a;for(let f=s;f>0;f--){let d=this.children[f-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){o=Co(d.dom)+1;break}t-=d.size}o==-1&&(o=0)}if(o>-1&&(l>n||s==this.children.length-1)){n=l;for(let u=s+1;uh&&an){let h=s;s=c,c=h}let d=document.createRange();d.setEnd(c.node,c.offset),d.setStart(s.node,s.offset),l.removeAllRanges(),l.addRange(d)}}ignoreMutation(t){return!this.contentDOM&&t.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,n){for(let r=0,o=0;o=r:tr){let s=r+i.border,c=a-i.border;if(t>=s&&n<=c){this.dirty=t==r||n==a?ou:GO,t==s&&n==c&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=gs:i.markDirty(t-s,n-s);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?ou:gs}r=a}this.dirty=ou}markParentsDirty(){let t=1;for(let n=this.parent;n;n=n.parent,t++){let r=t==1?ou:GO;n.dirty{if(!i)return o;if(i.parent)return i.parent.posBeforeChild(i)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(t,[],a,null),this.widget=n,this.widget=n,i=this}matchesWidget(t){return this.dirty==ji&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let n=this.widget.spec.stopEvent;return n?n(t):!1}ignoreMutation(t){return t.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class kie extends Qp{constructor(t,n,r,o){super(t,[],n,null),this.textDOM=r,this.text=o}get size(){return this.text.length}localPosFromDOM(t,n){return t!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return t.type==="characterData"&&t.target.nodeValue==t.oldValue}}class Wu extends Qp{constructor(t,n,r,o){super(t,[],r,o),this.mark=n}static create(t,n,r,o){let i=o.nodeViews[n.type.name],a=i&&i(n,o,r);return(!a||!a.dom)&&(a=zs.renderSpec(document,n.type.spec.toDOM(n,r))),new Wu(t,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&gs||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return this.dirty!=gs&&this.mark.eq(t)}markDirty(t,n){if(super.markDirty(t,n),this.dirty!=ji){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(i=j3(i,0,t,r));for(let s=0;s{if(!c)return a;if(c.parent)return c.parent.posBeforeChild(c)},r,o),u=l&&l.dom,f=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:f}=zs.renderSpec(document,n.type.spec.toDOM(n)));!f&&!n.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),n.type.spec.draggable&&(u.draggable=!0));let d=u;return u=II(u,r,n),l?c=new Nie(t,n,r,o,u,f||null,d,l,i,a+1):n.isText?new c2(t,n,r,o,u,d,i):new cc(t,n,r,o,u,f||null,d,i,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(t.preserveWhitespace="full"),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){t.contentElement=r.dom.parentNode;break}}t.contentElement||(t.getContent=()=>lt.empty)}return t}matchesNode(t,n,r){return this.dirty==ji&&t.eq(this.node)&&$3(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,n){let r=this.node.inlineContent,o=n,i=t.composing?this.localCompositionInfo(t,n):null,a=i&&i.pos>-1?i:null,s=i&&i.pos<0,c=new Cie(this,a&&a.node,t);_ie(this.node,this.innerDeco,(l,u,f)=>{l.spec.marks?c.syncToMarks(l.spec.marks,r,t):l.type.side>=0&&!f&&c.syncToMarks(u==this.node.childCount?In.none:this.node.child(u).marks,r,t),c.placeWidget(l,t,o)},(l,u,f,d)=>{c.syncToMarks(l.marks,r,t);let h;c.findNodeMatch(l,u,f,d)||s&&t.state.selection.from>o&&t.state.selection.to-1&&c.updateNodeAt(l,u,f,h,t)||c.updateNextNode(l,u,f,t,d,o)||c.addNode(l,u,f,t,o),o+=l.nodeSize}),c.syncToMarks([],r,t),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==ou)&&(a&&this.protectLocalComposition(t,a),PI(this.contentDOM,this.children,t),Pd&&Eie(this.dom))}localCompositionInfo(t,n){let{from:r,to:o}=t.state.selection;if(!(t.state.selection instanceof Xn)||rn+this.node.content.size)return null;let i=t.domSelectionRange(),a=Xie(i.focusNode,i.focusOffset);if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let s=a.nodeValue,c=Wie(this.node.content,s,r-n,o-n);return c<0?null:{node:a,pos:c,text:s}}else return{node:a,pos:-1,text:""}}protectLocalComposition(t,{node:n,pos:r,text:o}){if(this.getDesc(n))return;let i=n;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new kie(this,i,n,o);t.input.compositionNodes.push(a),this.children=j3(this.children,r,r+o.length,t,a)}update(t,n,r,o){return this.dirty==gs||!t.sameMarkup(this.node)?!1:(this.updateInner(t,n,r,o),!0)}updateInner(t,n,r,o){this.updateOuterDeco(n),this.node=t,this.innerDeco=r,this.contentDOM&&this.updateChildren(o,this.posAtStart),this.dirty=ji}updateOuterDeco(t){if($3(t,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=CI(this.dom,this.nodeDOM,z3(this.outerDeco,this.node,n),z3(t,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function JO(e,t,n,r,o){II(r,t,e);let i=new cc(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}class c2 extends cc{constructor(t,n,r,o,i,a,s){super(t,n,r,o,i,null,a,s,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,n,r,o){return this.dirty==gs||this.dirty!=ji&&!this.inParent()||!t.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=ji||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,o.trackWrites==this.nodeDOM&&(o.trackWrites=null)),this.node=t,this.dirty=ji,!0)}inParent(){let t=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,n,r){return t==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(t,n,r)}ignoreMutation(t){return t.type!="characterData"&&t.type!="selection"}slice(t,n,r){let o=this.node.cut(t,n),i=document.createTextNode(o.text);return new c2(this.parent,o,this.outerDeco,this.innerDeco,i,i,r)}markDirty(t,n){super.markDirty(t,n),this.dom!=this.nodeDOM&&(t==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=gs)}get domAtom(){return!1}}class NI extends Qp{parseRule(){return{ignore:!0}}matchesHack(t){return this.dirty==ji&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class Nie extends cc{constructor(t,n,r,o,i,a,s,c,l,u){super(t,n,r,o,i,a,s,l,u),this.spec=c}update(t,n,r,o){if(this.dirty==gs)return!1;if(this.spec.update){let i=this.spec.update(t,n,r);return i&&this.updateInner(t,n,r,o),i}else return!this.contentDOM&&!t.isLeaf?!1:super.update(t,n,r,o)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,n,r,o){this.spec.setSelection?this.spec.setSelection(t,n,r):super.setSelection(t,n,r,o)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return this.spec.stopEvent?this.spec.stopEvent(t):!1}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function PI(e,t,n){let r=e.firstChild,o=!1;for(let i=0;i>1,a=Math.min(i,t.length);for(;o-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let c=Wu.create(this.top,t[i],n,r);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,i++}}findNodeMatch(t,n,r,o){let i=-1,a;if(o>=this.preMatch.index&&(a=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&a.matchesNode(t,n,r))i=this.top.children.indexOf(a,this.index);else for(let s=this.index,c=Math.min(this.top.children.length,s+5);s0;){let s;for(;;)if(r){let l=n.children[r-1];if(l instanceof Wu)n=l,r=l.children.length;else{s=l,r--;break}}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let c=s.node;if(c){if(c!=e.child(o-1))break;--o,i.set(s,o),a.push(s)}}return{index:o,matched:i,matches:a.reverse()}}function Fie(e,t){return e.type.side-t.type.side}function _ie(e,t,n,r){let o=t.locals(e),i=0;if(o.length==0){for(let l=0;li;)s.push(o[a++]);let p=i+d.nodeSize;if(d.isText){let A=p;a!A.inline):s.slice();r(d,m,t.forChild(i,d),h),i=p}}function Eie(e){if(e.nodeName=="UL"||e.nodeName=="OL"){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}function Xie(e,t){for(;;){if(e.nodeType==3)return e;if(e.nodeType==1&&t>0){if(e.childNodes.length>t&&e.childNodes[t].nodeType==3)return e.childNodes[t];e=e.childNodes[t-1],t=is(e)}else if(e.nodeType==1&&t=n){if(i>=r&&c.slice(r-t.length-s,r-s)==t)return r-t.length;let l=s=0&&l+t.length+s>=n)return s+l;if(n==r&&c.length>=r+t.length-s&&c.slice(r-s,r-s+t.length)==t)return r}}return-1}function j3(e,t,n,r,o){let i=[];for(let a=0,s=0;a=n||u<=t?i.push(c):(ln&&i.push(c.slice(n-l,c.size,r)))}return i}function u5(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),i=o&&o.size==0,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),c,l;if(l2(n)){for(c=s;o&&!o.node;)o=o.parent;let u=o.node;if(o&&u.isAtom&&Yt.isSelectable(u)&&o.parent&&!(u.isInline&&lie(n.focusNode,n.focusOffset,o.dom))){let f=o.posBefore;l=new Yt(a==f?s:r.resolve(f))}}else{let u=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(u<0)return null;c=r.resolve(u)}if(!l){let u=t=="pointer"||e.state.selection.head{(n.anchorNode!=r||n.anchorOffset!=o)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{(!FI(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")},20))})}function Uie(e){let t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,o=r.nodeName=="IMG";o?n.setEnd(r.parentNode,Co(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&ni&&lc<=11&&(r.disabled=!0,r.disabled=!1)}function _I(e,t){if(t instanceof Yt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(eT(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else eT(e)}function eT(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function f5(e,t,n,r){return e.someProp("createSelectionBetween",o=>o(e,t,n))||Xn.between(t,n,r)}function tT(e){return e.editable&&!e.hasFocus()?!1:EI(e)}function EI(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(t.anchorNode.nodeType==3?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(t.focusNode.nodeType==3?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function Yie(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return Xu(t.node,t.offset,n.anchorNode,n.anchorOffset)}function q3(e,t){let{$anchor:n,$head:r}=e.selection,o=t>0?n.max(r):n.min(r),i=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return i&&bn.findFrom(i,t)}function Bl(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function nT(e,t,n){let r=e.state.selection;if(r instanceof Xn)if(n.indexOf("s")>-1){let{$head:o}=r,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(o.pos+i.nodeSize*(t<0?-1:1));return Bl(e,new Xn(r.$anchor,a))}else if(r.empty){if(e.endOfTextblock(t>0?"forward":"backward")){let o=q3(e.state,t);return o&&o instanceof Yt?Bl(e,o):!1}else if(!(Ki&&n.indexOf("m")>-1)){let o=r.$head,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter,a;if(!i||i.isText)return!1;let s=t<0?o.pos-i.nodeSize:o.pos;return i.isAtom||(a=e.docView.descAt(s))&&!a.contentDOM?Yt.isSelectable(i)?Bl(e,new Yt(t<0?e.state.doc.resolve(o.pos-i.nodeSize):o)):Yp?Bl(e,new Xn(e.state.doc.resolve(t<0?s:s+i.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Yt&&r.node.isInline)return Bl(e,new Xn(t>0?r.$to:r.$from));{let o=q3(e.state,t);return o?Bl(e,o):!1}}}function tg(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Th(e,t){let n=e.pmViewDesc;return n&&n.size==0&&(t<0||e.nextSibling||e.nodeName!="BR")}function wf(e,t){return t<0?Qie(e):Zie(e)}function Qie(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,a=!1;for(Ia&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(Th(s,-1))o=n,i=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(XI(n))break;{let s=n.previousSibling;for(;s&&Th(s,-1);)o=n.parentNode,i=Co(s),s=s.previousSibling;if(s)n=s,r=tg(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?eb(e,n,r):o&&eb(e,o,i)}function Zie(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o=tg(n),i,a;for(;;)if(r{e.state==o&&nl(e)},50)}function rT(e,t){let n=e.state.doc.resolve(t);if(!(po||die)&&n.parent.inlineContent){let o=e.coordsAtPos(t);if(t>n.start()){let i=e.coordsAtPos(t-1),a=(i.top+i.bottom)/2;if(a>o.top&&a1)return i.lefto.top&&a1)return i.left>o.left?"ltr":"rtl"}}return getComputedStyle(e.dom).direction=="rtl"?"rtl":"ltr"}function oT(e,t,n){let r=e.state.selection;if(r instanceof Xn&&!r.empty||n.indexOf("s")>-1||Ki&&n.indexOf("m")>-1)return!1;let{$from:o,$to:i}=r;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let a=q3(e.state,t);if(a&&a instanceof Yt)return Bl(e,a)}if(!o.parent.inlineContent){let a=t<0?o:i,s=r instanceof qo?bn.near(a,t):bn.findFrom(a,t);return s?Bl(e,s):!1}return!1}function iT(e,t){if(!(e.state.selection instanceof Xn))return!0;let{$head:n,$anchor:r,empty:o}=e.state.selection;if(!n.sameParent(r))return!0;if(!o)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let i=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(i&&!i.isText){let a=e.state.tr;return t<0?a.delete(n.pos-i.nodeSize,n.pos):a.delete(n.pos,n.pos+i.nodeSize),e.dispatch(a),!0}return!1}function aT(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Kie(e){if(!Eo||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&t.nodeType==1&&n==0&&t.firstChild&&t.firstChild.contentEditable=="false"){let r=t.firstChild;aT(e,r,"true"),setTimeout(()=>aT(e,r,"false"),20)}return!1}function Hie(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function Gie(e,t){let n=t.keyCode,r=Hie(t);if(n==8||Ki&&n==72&&r=="c")return iT(e,-1)||wf(e,-1);if(n==46&&!t.shiftKey||Ki&&n==68&&r=="c")return iT(e,1)||wf(e,1);if(n==13||n==27)return!0;if(n==37||Ki&&n==66&&r=="c"){let o=n==37?rT(e,e.state.selection.from)=="ltr"?-1:1:-1;return nT(e,o,r)||wf(e,o)}else if(n==39||Ki&&n==70&&r=="c"){let o=n==39?rT(e,e.state.selection.from)=="ltr"?1:-1:1;return nT(e,o,r)||wf(e,o)}else{if(n==38||Ki&&n==80&&r=="c")return oT(e,-1,r)||wf(e,-1);if(n==40||Ki&&n==78&&r=="c")return Kie(e)||oT(e,1,r)||wf(e,1);if(r==(Ki?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function WI(e,t){e.someProp("transformCopied",h=>{t=h(t,e)});let n=[],{content:r,openStart:o,openEnd:i}=t;for(;o>1&&i>1&&r.childCount==1&&r.firstChild.childCount==1;){o--,i--;let h=r.firstChild;n.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),r=h.content}let a=e.someProp("clipboardSerializer")||zs.fromSchema(e.state.schema),s=BI(),c=s.createElement("div");c.appendChild(a.serializeFragment(r,{document:s}));let l=c.firstChild,u,f=0;for(;l&&l.nodeType==1&&(u=ZI[l.nodeName.toLowerCase()]);){for(let h=u.length-1;h>=0;h--){let p=s.createElement(u[h]);for(;c.firstChild;)p.appendChild(c.firstChild);c.appendChild(p),f++}l=c.firstChild}l&&l.nodeType==1&&l.setAttribute("data-pm-slice",`${o} ${i}${f?` -${f}`:""} ${JSON.stringify(n)}`);let d=e.someProp("clipboardTextSerializer",h=>h(t,e))||t.content.textBetween(0,t.content.size,` -`);return{dom:c,text:d}}function WI(e,t,n,r,o){let i=o.parent.type.spec.code,a,s;if(!n&&!t)return null;let c=t&&(r||i||!n);if(c){if(e.someProp("transformPastedText",d=>{t=d(t,i||r,e)}),i)return t?new Rt(st.from(e.state.schema.text(t.replace(/\r\n?/g,` -`))),0,0):Rt.empty;let f=e.someProp("clipboardTextParser",d=>d(t,o,r,e));if(f)s=f;else{let d=o.marks(),{schema:h}=e.state,p=zs.fromSchema(h);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(m=>{let A=a.appendChild(document.createElement("p"));m&&A.appendChild(p.serializeNode(h.text(m,d)))})}}else e.someProp("transformPastedHTML",f=>{n=f(n,e)}),a=Jie(n),Vp&&zie(a);let l=a&&a.querySelector("[data-pm-slice]"),u=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let f=+u[3];f>0;f--){let d=a.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;a=d}if(s||(s=(e.someProp("clipboardParser")||e.someProp("domParser")||xd.fromSchema(e.state.schema)).parseSlice(a,{preserveWhitespace:!!(c||u),context:o,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!Hie.test(d.parentNode.nodeName)?{ignore:!0}:null}})),u)s=$ie(aT(s,+u[1],+u[2]),u[4]);else if(s=Rt.maxOpen(Gie(s.content,o),!0),s.openStart||s.openEnd){let f=0,d=0;for(let h=s.content.firstChild;f{s=f(s,e)}),s}const Hie=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Gie(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let o=t.node(n).contentMatchAt(t.index(n)),i,a=[];if(e.forEach(s=>{if(!a)return;let c=o.findWrapping(s.type),l;if(!c)return a=null;if(l=a.length&&i.length&&UI(c,i,s,a[a.length-1],0))a[a.length-1]=l;else{a.length&&(a[a.length-1]=YI(a[a.length-1],i.length));let u=VI(s,c);a.push(u),o=o.matchType(u.type),i=c}}),a)return st.from(a)}return e}function VI(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,st.from(e));return e}function UI(e,t,n,r,o){if(o1&&(i=0),o=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,i<=o).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(st.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function aT(e,t,n){return t]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=ZI().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e),o;if((o=r&&QI[r[1].toLowerCase()])&&(e=o.map(i=>"<"+i+">").join("")+e+o.map(i=>"").reverse().join("")),n.innerHTML=e,o)for(let i=0;i=0;s-=2){let c=n.nodes[r[s]];if(!c||c.hasRequiredAttrs())break;o=st.from(c.create(r[s+1],o)),i++,a++}return new Rt(o,i,a)}const Xo={},Wo={},jie={touchstart:!0,touchmove:!0};class qie{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function eae(e){for(let t in Xo){let n=Xo[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=r=>{nae(e,r)&&!u5(e,r)&&(e.editable||!(r.type in Wo))&&n(e,r)},jie[t]?{passive:!0}:void 0)}Eo&&e.dom.addEventListener("input",()=>null),ex(e)}function nc(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function tae(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function ex(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=r=>u5(e,r))})}function u5(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function nae(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function rae(e,t){!u5(e,t)&&Xo[t.type]&&(e.editable||!(t.type in Wo))&&Xo[t.type](e,t)}Wo.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!DI(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(wa&&po&&n.keyCode==13)))if(n.keyCode!=229&&e.domObserver.forceFlush(),Pd&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();e.input.lastIOSEnter=r,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==r&&(e.someProp("handleKeyDown",o=>o(e,qc(13,"Enter"))),e.input.lastIOSEnter=0)},200)}else e.someProp("handleKeyDown",r=>r(e,n))||Kie(e,n)?n.preventDefault():nc(e,"key")};Wo.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)};Wo.keypress=(e,t)=>{let n=t;if(DI(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||Ki&&n.metaKey)return;if(e.someProp("handleKeyPress",o=>o(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof Xn)||!r.$from.sameParent(r.$to)){let o=String.fromCharCode(n.charCode);!/[\r\n]/.test(o)&&!e.someProp("handleTextInput",i=>i(e,r.$from.pos,r.$to.pos,o))&&e.dispatch(e.state.tr.insertText(o).scrollIntoView()),n.preventDefault()}};function u2(e){return{left:e.clientX,top:e.clientY}}function oae(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function f5(e,t,n,r,o){if(r==-1)return!1;let i=e.state.doc.resolve(r);for(let a=i.depth+1;a>0;a--)if(e.someProp(t,s=>a>i.depth?s(e,n,i.nodeAfter,i.before(a),o,!0):s(e,n,i.node(a),i.before(a),o,!1)))return!0;return!1}function pd(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);n=="pointer"&&r.setMeta("pointer",!0),e.dispatch(r)}function iae(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&Yt.isSelectable(r)?(pd(e,new Yt(n),"pointer"),!0):!1}function aae(e,t){if(t==-1)return!1;let n=e.state.selection,r,o;n instanceof Yt&&(r=n.node);let i=e.state.doc.resolve(t);for(let a=i.depth+1;a>0;a--){let s=a>i.depth?i.nodeAfter:i.node(a);if(Yt.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&i.before(n.$from.depth+1)==n.$from.pos?o=i.before(n.$from.depth):o=i.before(a);break}}return o!=null?(pd(e,Yt.create(e.state.doc,o),"pointer"),!0):!1}function sae(e,t,n,r,o){return f5(e,"handleClickOn",t,n,r)||e.someProp("handleClick",i=>i(e,t,r))||(o?aae(e,n):iae(e,n))}function lae(e,t,n,r){return f5(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",o=>o(e,t,r))}function cae(e,t,n,r){return f5(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",o=>o(e,t,r))||uae(e,n,r)}function uae(e,t,n){if(n.button!=0)return!1;let r=e.state.doc;if(t==-1)return r.inlineContent?(pd(e,Xn.create(r,0,r.content.size),"pointer"),!0):!1;let o=r.resolve(t);for(let i=o.depth+1;i>0;i--){let a=i>o.depth?o.nodeAfter:o.node(i),s=o.before(i);if(a.inlineContent)pd(e,Xn.create(r,s+1,s+1+a.content.size),"pointer");else if(Yt.isSelectable(a))pd(e,Yt.create(r,s),"pointer");else continue;return!0}}function d5(e){return tg(e)}const BI=Ki?"metaKey":"ctrlKey";Xo.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=d5(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time<500&&oae(n,e.input.lastClick)&&!n[BI]&&(e.input.lastClick.type=="singleClick"?i="doubleClick":e.input.lastClick.type=="doubleClick"&&(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};let a=e.posAtCoords(u2(n));a&&(i=="singleClick"?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new fae(e,a,n,!!r)):(i=="doubleClick"?lae:cae)(e,a.pos,a.inside,n)?n.preventDefault():nc(e,"pointer"))};class fae{constructor(t,n,r,o){this.view=t,this.pos=n,this.event=r,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[BI],this.allowDefault=r.shiftKey;let i,a;if(n.inside>-1)i=t.state.doc.nodeAt(n.inside),a=n.inside;else{let u=t.state.doc.resolve(n.pos);i=u.parent,a=u.depth?u.before():0}const s=o?null:r.target,c=s?t.docView.nearestDesc(s,!0):null;this.target=c?c.dom:null;let{selection:l}=t.state;(r.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||l instanceof Yt&&l.from<=a&&l.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Ia&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),nc(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>nl(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(u2(t))),this.updateAllowDefault(t),this.allowDefault||!n?nc(this.view,"pointer"):sae(this.view,n.pos,n.inside,t,this.selectNode)?t.preventDefault():t.button==0&&(this.flushed||Eo&&this.mightDrag&&!this.mightDrag.node.isAtom||po&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(pd(this.view,xn.near(this.view.state.doc.resolve(n.pos)),"pointer"),t.preventDefault()):nc(this.view,"pointer")}move(t){this.updateAllowDefault(t),nc(this.view,"pointer"),t.buttons==0&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}Xo.touchstart=e=>{e.input.lastTouch=Date.now(),d5(e),nc(e,"pointer")};Xo.touchmove=e=>{e.input.lastTouch=Date.now(),nc(e,"pointer")};Xo.contextmenu=e=>d5(e);function DI(e,t){return e.composing?!0:Eo&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}const dae=wa?5e3:-1;Wo.compositionstart=Wo.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))e.markCursor=e.state.storedMarks||n.marks(),tg(e,!0),e.markCursor=null;else if(tg(e),Ia&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=e.domSelectionRange();for(let o=r.focusNode,i=r.focusOffset;o&&o.nodeType==1&&i!=0;){let a=i<0?o.lastChild:o.childNodes[i-1];if(!a)break;if(a.nodeType==3){e.domSelection().collapse(a,a.nodeValue.length);break}else o=a,i=-1}}e.input.composing=!0}KI(e,dae)};Wo.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,KI(e,20))};function KI(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>tg(e),t))}function HI(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=hae());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function hae(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function tg(e,t=!1){if(!(wa&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),HI(e),t||e.docView&&e.docView.dirty){let n=l5(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}function pae(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}const ip=ni&&lc<15||Pd&&fie<604;Xo.copy=Wo.cut=(e,t)=>{let n=t,r=e.state.selection,o=n.type=="cut";if(r.empty)return;let i=ip?null:n.clipboardData,a=r.content(),{dom:s,text:c}=XI(e,a);i?(n.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",c)):pae(e,s),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function mae(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function vae(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let o=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?ap(e,r.value,null,o,t):ap(e,r.textContent,r.innerHTML,o,t)},50)}function ap(e,t,n,r,o){let i=WI(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",c=>c(e,o,i||Rt.empty)))return!0;if(!i)return!1;let a=mae(i),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(i);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function GI(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}Wo.paste=(e,t)=>{let n=t;if(e.composing&&!wa)return;let r=ip?null:n.clipboardData,o=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&ap(e,GI(r),r.getData("text/html"),o,n)?n.preventDefault():vae(e,n)};class JI{constructor(t,n,r){this.slice=t,this.move=n,this.node=r}}const zI=Ki?"altKey":"ctrlKey";Xo.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let o=e.state.selection,i=o.empty?null:e.posAtCoords(u2(n)),a;if(!(i&&i.pos>=o.from&&i.pos<=(o instanceof Yt?o.to-1:o.to))){if(r&&r.mightDrag)a=Yt.create(e.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let u=e.docView.nearestDesc(n.target,!0);u&&u.node.type.spec.draggable&&u!=e.docView&&(a=Yt.create(e.state.doc,u.posBefore))}}let s=(a||e.state.selection).content(),{dom:c,text:l}=XI(e,s);n.dataTransfer.clearData(),n.dataTransfer.setData(ip?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",ip||n.dataTransfer.setData("text/plain",l),e.dragging=new JI(s,!n[zI],a)};Xo.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)};Wo.dragover=Wo.dragenter=(e,t)=>t.preventDefault();Wo.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let o=e.posAtCoords(u2(n));if(!o)return;let i=e.state.doc.resolve(o.pos),a=r&&r.slice;a?e.someProp("transformPasted",p=>{a=p(a,e)}):a=WI(e,GI(n.dataTransfer),ip?null:n.dataTransfer.getData("text/html"),!1,i);let s=!!(r&&!n[zI]);if(e.someProp("handleDrop",p=>p(e,n,a||Rt.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let c=a?IN(e.state.doc,i.pos,a):i.pos;c==null&&(c=i.pos);let l=e.state.tr;if(s){let{node:p}=r;p?p.replace(l):l.deleteSelection()}let u=l.mapping.map(c),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=l.doc;if(f?l.replaceRangeWith(u,u,a.content.firstChild):l.replaceRange(u,u,a),l.doc.eq(d))return;let h=l.doc.resolve(u);if(f&&Yt.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))l.setSelection(new Yt(h));else{let p=l.mapping.map(c);l.mapping.maps[l.mapping.maps.length-1].forEach((m,A,x,y)=>p=y),l.setSelection(c5(e,h,l.doc.resolve(p)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))};Xo.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&nl(e)},20))};Xo.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)};Xo.beforeinput=(e,t)=>{if(po&&wa&&t.inputType=="deleteContentBackward"){e.domObserver.flushSoon();let{domChangeCount:r}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=r||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",i=>i(e,qc(8,"Backspace")))))return;let{$cursor:o}=e.state.selection;o&&o.pos>0&&e.dispatch(e.state.tr.delete(o.pos-1,o.pos).scrollIntoView())},50)}};for(let e in Wo)Xo[e]=Wo[e];function sp(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class ng{constructor(t,n){this.toDOM=t,this.spec=n||Ru,this.side=this.spec.side||0}map(t,n,r,o){let{pos:i,deleted:a}=t.mapResult(n.from+o,this.side<0?-1:1);return a?null:new ki(i-r,i-r,this)}valid(){return!0}eq(t){return this==t||t instanceof ng&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&sp(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class uc{constructor(t,n){this.attrs=t,this.spec=n||Ru}map(t,n,r,o){let i=t.map(n.from+o,this.spec.inclusiveStart?-1:1)-r,a=t.map(n.to+o,this.spec.inclusiveEnd?1:-1)-r;return i>=a?null:new ki(i,a,this)}valid(t,n){return n.from=t&&(!i||i(s.spec))&&r.push(s.copy(s.from+o,s.to+o))}for(let a=0;at){let s=this.children[a]+1;this.children[a+2].findInner(t-s,n-s,r,o+s,i)}}map(t,n,r){return this==co||t.maps.length==0?this:this.mapInner(t,n,0,0,r||Ru)}mapInner(t,n,r,o,i){let a;for(let s=0;s{let l=c+r,u;if(u=jI(n,s,l)){for(o||(o=this.children.slice());is&&f.to=t){this.children[s]==t&&(r=this.children[s+2]);break}let i=t+1,a=i+n.content.size;for(let s=0;si&&c.type instanceof uc){let l=Math.max(i,c.from)-i,u=Math.min(a,c.to)-i;lo.map(t,n,Ru));return zl.from(r)}forChild(t,n){if(n.isLeaf)return Nr.empty;let r=[];for(let o=0;on instanceof Nr)?t:t.reduce((n,r)=>n.concat(r instanceof Nr?r:r.members),[]))}}}function gae(e,t,n,r,o,i,a){let s=e.slice();for(let l=0,u=i;l{let A=m-p-(h-d);for(let x=0;xy+u-f)continue;let R=s[x]+u-f;h>=R?s[x+1]=d<=R?-2:-1:d>=u&&A&&(s[x]+=A,s[x+1]+=A)}f+=A}),u=n.maps[l].map(u,-1)}let c=!1;for(let l=0;l=r.content.size){c=!0;continue}let d=n.map(e[l+1]+i,-1),h=d-o,{index:p,offset:m}=r.content.findIndex(f),A=r.maybeChild(p);if(A&&m==f&&m+A.nodeSize==h){let x=s[l+2].mapInner(n,A,u+1,e[l]+i+1,a);x!=co?(s[l]=f,s[l+1]=h,s[l+2]=x):(s[l+1]=-2,c=!0)}else c=!0}if(c){let l=Aae(s,e,t,n,o,i,a),u=rg(l,r,0,a);t=u.local;for(let f=0;fn&&a.to{let l=jI(e,s,c+n);if(l){i=!0;let u=rg(l,s,n+c+1,r);u!=co&&o.push(c,c+s.nodeSize,u)}});let a=$I(i?qI(e):e,-n).sort(yu);for(let s=0;s0;)t++;e.splice(t,0,n)}function Uy(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=co&&t.push(r)}),e.cursorWrapper&&t.push(Nr.create(e.state.doc,[e.cursorWrapper.deco])),zl.from(t)}const Rae={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},yae=ni&&lc<=11;class xae{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class bae{constructor(t,n){this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new xae,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let o=0;oo.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),yae&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,Rae)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(eT(this.view)){if(this.suppressingSelectionUpdates)return nl(this.view);if(ni&&lc<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&Xu(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let n=new Set,r;for(let i=t.focusNode;i;i=op(i))n.add(i);for(let i=t.anchorNode;i;i=op(i))if(n.has(i)){r=i;break}let o=r&&this.view.docView.nearestDesc(r);if(o&&o.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=t.domSelectionRange(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&eT(t)&&!this.ignoreSelectionChange(r),i=-1,a=-1,s=!1,c=[];if(t.editable)for(let u=0;u1){let u=c.filter(f=>f.nodeName=="BR");if(u.length==2){let f=u[0],d=u[1];f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}}let l=null;i<0&&o&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)-1||o)&&(i>-1&&(t.docView.markDirty(i,a),Sae(t)),this.handleDOMChange(i,a,s,c),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(r)||nl(t),this.currentSelection.set(r))}registerMutation(t,n){if(n.indexOf(t.target)>-1)return null;let r=this.view.docView.nearestDesc(t.target);if(t.type=="attributes"&&(r==this.view.docView||t.attributeName=="contenteditable"||t.attributeName=="style"&&!t.oldValue&&!t.target.getAttribute("style"))||!r||r.ignoreMutation(t))return null;if(t.type=="childList"){for(let u=0;uo;A--){let x=r.childNodes[A-1],y=x.pmViewDesc;if(x.nodeName=="BR"&&!y){i=A;break}if(!y||y.size)break}let f=e.state.doc,d=e.someProp("domParser")||xd.fromSchema(e.state.schema),h=f.resolve(a),p=null,m=d.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:o,to:i,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:l,ruleFromNode:Lae,context:h});if(l&&l[0].pos!=null){let A=l[0].pos,x=l[1]&&l[1].pos;x==null&&(x=A),p={anchor:A+a,head:x+a}}return{doc:m,sel:p,from:a,to:s}}function Lae(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName=="BR"&&e.parentNode){if(Eo&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(e.parentNode.lastChild==e||Eo&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName=="IMG"&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const Oae=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Tae(e,t,n,r,o){let i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let O=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,k=l5(e,O);if(k&&!e.state.selection.eq(k)){if(po&&wa&&e.input.lastKeyCode===13&&Date.now()-100N(e,qc(13,"Enter"))))return;let F=e.state.tr.setSelection(k);O=="pointer"?F.setMeta("pointer",!0):O=="key"&&F.scrollIntoView(),i&&F.setMeta("composition",i),e.dispatch(F)}return}let a=e.state.doc.resolve(t),s=a.sharedDepth(n);t=a.before(s+1),n=e.state.doc.resolve(n).after(s+1);let c=e.state.selection,l=wae(e,t,n),u=e.state.doc,f=u.slice(l.from,l.to),d,h;e.input.lastKeyCode===8&&Date.now()-100Date.now()-225||wa)&&o.some(O=>O.nodeType==1&&!Oae.test(O.nodeName))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",O=>O(e,qc(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!p)if(r&&c instanceof Xn&&!c.empty&&c.$head.sameParent(c.$anchor)&&!e.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))p={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let O=fT(e,e.state.doc,l.sel);if(O&&!O.eq(e.state.selection)){let k=e.state.tr.setSelection(O);i&&k.setMeta("composition",i),e.dispatch(k)}}return}if(po&&e.cursorWrapper&&l.sel&&l.sel.anchor==e.cursorWrapper.deco.from&&l.sel.head==l.sel.anchor){let O=p.endB-p.start;l.sel={anchor:l.sel.anchor+O,head:l.sel.anchor+O}}e.input.domChangeCount++,e.state.selection.frome.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=l.from?p.start=e.state.selection.from:p.endA=e.state.selection.to-2&&e.state.selection.to<=l.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),ni&&lc<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>l.from&&l.doc.textBetween(p.start-l.from-1,p.start-l.from+1)=="  "&&(p.start--,p.endA--,p.endB--);let m=l.doc.resolveNoCache(p.start-l.from),A=l.doc.resolveNoCache(p.endB-l.from),x=u.resolve(p.start),y=m.sameParent(A)&&m.parent.inlineContent&&x.end()>=p.endA,R;if((Pd&&e.input.lastIOSEnter>Date.now()-225&&(!y||o.some(O=>O.nodeName=="DIV"||O.nodeName=="P"))||!y&&m.posO(e,qc(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>p.start&&Nae(u,p.start,p.endA,m,A)&&e.someProp("handleKeyDown",O=>O(e,qc(8,"Backspace")))){wa&&po&&e.domObserver.suppressSelectionUpdates();return}po&&wa&&p.endB==p.start&&(e.input.lastAndroidDelete=Date.now()),wa&&!y&&m.start()!=A.start()&&A.parentOffset==0&&m.depth==A.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==p.endA&&(p.endB-=2,A=l.doc.resolveNoCache(p.endB-l.from),setTimeout(()=>{e.someProp("handleKeyDown",function(O){return O(e,qc(13,"Enter"))})},20));let g=p.start,b=p.endA,w,T,M;if(y){if(m.pos==A.pos)ni&&lc<=11&&m.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>nl(e),20)),w=e.state.tr.delete(g,b),T=u.resolve(p.start).marksAcross(u.resolve(p.endA));else if(p.endA==p.endB&&(M=kae(m.parent.content.cut(m.parentOffset,A.parentOffset),x.parent.content.cut(x.parentOffset,p.endA-x.start()))))w=e.state.tr,M.type=="add"?w.addMark(g,b,M.mark):w.removeMark(g,b,M.mark);else if(m.parent.child(m.index()).isText&&m.index()==A.index()-(A.textOffset?0:1)){let O=m.parent.textBetween(m.parentOffset,A.parentOffset);if(e.someProp("handleTextInput",k=>k(e,g,b,O)))return;w=e.state.tr.insertText(O,g,b)}}if(w||(w=e.state.tr.replace(g,b,l.doc.slice(p.start-l.from,p.endB-l.from))),l.sel){let O=fT(e,w.doc,l.sel);O&&!(po&&wa&&e.composing&&O.empty&&(p.start!=p.endB||e.input.lastAndroidDeletet.content.size?null:c5(e,t.resolve(n.anchor),t.resolve(n.head))}function kae(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,o=n,i=r,a,s,c;for(let u=0;uu.mark(s.addToSet(u.marks));else if(o.length==0&&i.length==1)s=i[0],a="remove",c=u=>u.mark(s.removeFromSet(u.marks));else return null;let l=[];for(let u=0;un||Yy(a,!0,!1)0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n){let i=e.node(r).maybeChild(e.indexAfter(r));for(;i&&!i.isLeaf;)i=i.firstChild,o++}return o}function Pae(e,t,n,r,o){let i=e.findDiffStart(t,n);if(i==null)return null;let{a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if(o=="end"){let c=Math.max(0,i-Math.min(a,s));r-=a+c-i}if(a=a?i-r:0;i-=c,i&&i=s?i-r:0;i-=c,i&&i=56320&&t<=57343&&n>=55296&&n<=56319}class Cae{constructor(t,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new qie,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(gT),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):typeof t=="function"?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=mT(this),pT(this),this.nodeViews=vT(this),this.docView=GO(this.state.doc,hT(this),Uy(this),this.dom,this),this.domObserver=new bae(this,(r,o,i,a)=>Tae(this,r,o,i,a)),this.domObserver.start(),eae(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let n in t)this._props[n]=t[n];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&ex(this);let n=this._props;this._props=t,t.plugins&&(t.plugins.forEach(gT),this.directPlugins=t.plugins),this.updateStateInner(t.state,n)}setProps(t){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in t)n[r]=t[r];this.update(n)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,n){var r;let o=this.state,i=!1,a=!1;t.storedMarks&&this.composing&&(HI(this),a=!0),this.state=t;let s=o.plugins!=t.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=vT(this);Fae(h,this.nodeViews)&&(this.nodeViews=h,i=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&ex(this),this.editable=mT(this),pT(this);let c=Uy(this),l=hT(this),u=o.plugins!=t.plugins&&!o.doc.eq(t.doc)?"reset":t.scrollToSelection>o.scrollToSelection?"to selection":"preserve",f=i||!this.docView.matchesNode(t.doc,l,c);(f||!t.selection.eq(o.selection))&&(a=!0);let d=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&pie(this);if(a){this.domObserver.stop();let h=f&&(ni||po)&&!this.composing&&!o.selection.empty&&!t.selection.empty&&Iae(o.selection,t.selection);if(f){let p=po?this.trackWrites=this.domSelectionRange().focusNode:null;(i||!this.docView.update(t.doc,l,c,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=GO(t.doc,l,c,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Vie(this))?nl(this,h):(FI(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(o),!((r=this.dragging)===null||r===void 0)&&r.node&&!o.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,o),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():d&&mie(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Yt){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&QO(this,n.getBoundingClientRect(),t)}else QO(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(!t||t.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(i))==r.node&&(o=i)}this.dragging=new JI(t.slice,t.move,o<0?void 0:Yt.create(this.state.doc,o))}someProp(t,n){let r=this._props&&this._props[t],o;if(r!=null&&(o=n?n(r):r))return o;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return t||document}updateRoot(){this._root=null}posAtCoords(t){return xie(this,t)}coordsAtPos(t,n=1){return LI(this,t,n)}domAtPos(t,n=0){return this.docView.domFromPos(t,n)}nodeDOM(t){let n=this.docView.descAt(t);return n?n.nodeDOM:null}posAtDOM(t,n,r=-1){let o=this.docView.posFromDOM(t,n,r);if(o==null)throw new RangeError("DOM position not inside the editor");return o}endOfTextblock(t,n){return Lie(this,n||this.state,t)}pasteHTML(t,n){return ap(this,"",t,!1,n||new ClipboardEvent("paste"))}pasteText(t,n){return ap(this,t,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(tae(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Uy(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(t){return rae(this,t)}dispatch(t){let n=this._props.dispatchTransaction;n?n.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){return Eo&&this.root.nodeType===11&&sie(this.dom.ownerDocument)==this.dom?Mae(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function hT(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(e.state)),n)for(let r in n)r=="class"?t.class+=" "+n[r]:r=="style"?t.style=(t.style?t.style+";":"")+n[r]:!t[r]&&r!="contenteditable"&&r!="nodeName"&&(t[r]=String(n[r]))}),t.translate||(t.translate="no"),[ki.node(0,e.state.doc.content.size,t)]}function pT(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:ki.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function mT(e){return!e.someProp("editable",t=>t(e.state)===!1)}function Iae(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function vT(e){let t=Object.create(null);function n(r){for(let o in r)Object.prototype.hasOwnProperty.call(t,o)||(t[o]=r[o])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Fae(e,t){let n=0,r=0;for(let o in e){if(e[o]!=t[o])return!0;n++}for(let o in t)r++;return n!=r}function gT(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Rc={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},og={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},_ae=typeof navigator<"u"&&/Mac/.test(navigator.platform),Eae=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var eo=0;eo<10;eo++)Rc[48+eo]=Rc[96+eo]=String(eo);for(var eo=1;eo<=24;eo++)Rc[eo+111]="F"+eo;for(var eo=65;eo<=90;eo++)Rc[eo]=String.fromCharCode(eo+32),og[eo]=String.fromCharCode(eo);for(var Qy in Rc)og.hasOwnProperty(Qy)||(og[Qy]=Rc[Qy]);function Xae(e){var t=_ae&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Eae&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?og:Rc)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const Wae=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function Vae(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n=="Space"&&(n=" ");let r,o,i,a;for(let s=0;s127)&&(i=Rc[r.keyCode])&&i!=o){let s=t[Zy(i,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var ig=200,Zr=function(){};Zr.prototype.append=function(t){return t.length?(t=Zr.from(t),!this.length&&t||t.length=n?Zr.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))};Zr.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};Zr.prototype.forEach=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(t,n,r,0):this.forEachInvertedInner(t,n,r,0)};Zr.prototype.map=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var o=[];return this.forEach(function(i,a){return o.push(t(i,a))},n,r),o};Zr.from=function(t){return t instanceof Zr?t:t&&t.length?new tF(t):Zr.empty};var tF=function(e){function t(r){e.call(this),this.values=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(o,i){return o==0&&i==this.length?this:new t(this.values.slice(o,i))},t.prototype.getInner=function(o){return this.values[o]},t.prototype.forEachInner=function(o,i,a,s){for(var c=i;c=a;c--)if(o(this.values[c],s+c)===!1)return!1},t.prototype.leafAppend=function(o){if(this.length+o.length<=ig)return new t(this.values.concat(o.flatten()))},t.prototype.leafPrepend=function(o){if(this.length+o.length<=ig)return new t(o.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(Zr);Zr.empty=new tF([]);var Yae=function(e){function t(n,r){e.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(r){return rs&&this.right.forEachInner(r,Math.max(o-s,0),Math.min(this.length,i)-s,a+s)===!1)return!1},t.prototype.forEachInvertedInner=function(r,o,i,a){var s=this.left.length;if(o>s&&this.right.forEachInvertedInner(r,o-s,Math.max(i,s)-s,a+s)===!1||i=i?this.right.slice(r-i,o-i):this.left.slice(r,i).append(this.right.slice(0,o-i))},t.prototype.leafAppend=function(r){var o=this.right.leafAppend(r);if(o)return new t(this.left,o)},t.prototype.leafPrepend=function(r){var o=this.left.leafPrepend(r);if(o)return new t(o,this.right)},t.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new t(this.left,new t(this.right,r)):new t(this,r)},t}(Zr);const Qae=500;class Oa{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let o,i;n&&(o=this.remapping(r,this.items.length),i=o.maps.length);let a=t.tr,s,c,l=[],u=[];return this.items.forEach((f,d)=>{if(!f.step){o||(o=this.remapping(r,d+1),i=o.maps.length),i--,u.push(f);return}if(o){u.push(new Ka(f.map));let h=f.step.map(o.slice(i)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],l.push(new Ka(p,void 0,void 0,l.length+u.length))),i--,p&&o.appendMap(p,i)}else a.maybeStep(f.step);if(f.selection)return s=o?f.selection.map(o.slice(i)):f.selection,c=new Oa(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1},this.items.length,0),{remaining:c,transform:a,selection:s}}addTransform(t,n,r,o){let i=[],a=this.eventCount,s=this.items,c=!o&&s.length?s.get(s.length-1):null;for(let u=0;uBae&&(s=Zae(s,l),a-=l),new Oa(s.append(i),a)}remapping(t,n){let r=new ad;return this.items.forEach((o,i)=>{let a=o.mirrorOffset!=null&&i-o.mirrorOffset>=t?r.maps.length-o.mirrorOffset:void 0;r.appendMap(o.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new Oa(this.items.append(t.map(n=>new Ka(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],o=Math.max(0,this.items.length-n),i=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},o);let c=n;this.items.forEach(d=>{let h=i.getMirror(--c);if(h==null)return;a=Math.min(a,h);let p=i.maps[h];if(d.step){let m=t.steps[h].invert(t.docs[h]),A=d.selection&&d.selection.map(i.slice(c+1,h));A&&s++,r.push(new Ka(p,m,A))}else r.push(new Ka(p))},o);let l=[];for(let d=n;dQae&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,o=[],i=0;return this.items.forEach((a,s)=>{if(s>=t)o.push(a),a.selection&&i++;else if(a.step){let c=a.step.map(n.slice(r)),l=c&&c.getMap();if(r--,l&&n.appendMap(l,r),c){let u=a.selection&&a.selection.map(n.slice(r));u&&i++;let f=new Ka(l.invert(),c,u),d,h=o.length-1;(d=o.length&&o[h].merge(f))?o[h]=d:o.push(f)}}else a.map&&r--},this.items.length,0),new Oa(Zr.from(o.reverse()),i)}}Oa.empty=new Oa(Zr.empty,0);function Zae(e,t){let n;return e.forEach((r,o)=>{if(r.selection&&t--==0)return n=o,!1}),e.slice(n)}class Ka{constructor(t,n,r,o){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=o}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Ka(n.getMap().invert(),n,this.selection)}}}class Dl{constructor(t,n,r,o,i){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=o,this.prevComposition=i}}const Bae=20;function Dae(e,t,n,r){let o=n.getMeta(fc),i;if(o)return o.historyState;n.getMeta(Hae)&&(e=new Dl(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(fc))return a.getMeta(fc).redo?new Dl(e.done.addTransform(n,void 0,r,jm(t)),e.undone,RT(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new Dl(e.done,e.undone.addTransform(n,void 0,r,jm(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),c=e.prevTime==0||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!Kae(n,e.prevRanges)),l=a?By(e.prevRanges,n.mapping):RT(n.mapping.maps[n.steps.length-1]);return new Dl(e.done.addTransform(n,c?t.selection.getBookmark():void 0,r,jm(t)),Oa.empty,l,n.time,s??e.prevComposition)}else return(i=n.getMeta("rebased"))?new Dl(e.done.rebased(n,i),e.undone.rebased(n,i),By(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new Dl(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),By(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function Kae(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,o)=>{for(let i=0;i=t[i]&&(n=!0)}),n}function RT(e){let t=[];return e.forEach((n,r,o,i)=>t.push(o,i)),t}function By(e,t){if(!e)return null;let n=[];for(let r=0;r{let n=fc.getState(e);return!n||n.done.eventCount==0?!1:(t&&nF(n,e,t,!1),!0)},oF=(e,t)=>{let n=fc.getState(e);return!n||n.undone.eventCount==0?!1:(t&&nF(n,e,t,!0),!0)};function Jae(e={}){return new Ud({view(t){return new zae(t,e)}})}class zae{constructor(t,n){var r;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(o=>{let i=a=>{this[o](a)};return t.dom.addEventListener(o,i),{name:o,handler:i}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,r;if(n){let s=t.nodeBefore,c=t.nodeAfter;if(s||c){let l=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(l){let u=l.getBoundingClientRect(),f=s?u.bottom:u.top;s&&c&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let o=this.editorView.dom.offsetParent;this.element||(this.element=o.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let i,a;if(!o||o==document.body&&getComputedStyle(o).position=="static")i=-pageXOffset,a=-pageYOffset;else{let s=o.getBoundingClientRect();i=s.left-o.scrollLeft,a=s.top-o.scrollTop}this.element.style.left=r.left-i+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),o=r&&r.type.spec.disableDropCursor,i=typeof o=="function"?o(this.editorView,n,t):o;if(n&&!i){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=IN(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}class Rr extends xn{constructor(t){super(t,t)}map(t,n){let r=t.resolve(n.map(this.head));return Rr.valid(r)?new Rr(r):xn.near(r)}content(){return Rt.empty}eq(t){return t instanceof Rr&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Rr(t.resolve(n.pos))}getBookmark(){return new m5(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!$ae(t)||!jae(t))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let o=n.contentMatchAt(t.index()).defaultType;return o&&o.isTextblock}static findGapCursorFrom(t,n,r=!1){e:for(;;){if(!r&&Rr.valid(t))return t;let o=t.pos,i=null;for(let a=t.depth;;a--){let s=t.node(a);if(n>0?t.indexAfter(a)0){i=s.child(n>0?t.indexAfter(a):t.index(a)-1);break}else if(a==0)return null;o+=n;let c=t.doc.resolve(o);if(Rr.valid(c))return c}for(;;){let a=n>0?i.firstChild:i.lastChild;if(!a){if(i.isAtom&&!i.isText&&!Yt.isSelectable(i)){t=t.doc.resolve(o+i.nodeSize*n),r=!1;continue e}break}i=a,o+=n;let s=t.doc.resolve(o);if(Rr.valid(s))return s}return null}}}Rr.prototype.visible=!1;Rr.findFrom=Rr.findGapCursorFrom;xn.jsonID("gapcursor",Rr);class m5{constructor(t){this.pos=t}map(t){return new m5(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return Rr.valid(n)?new Rr(n):xn.near(n)}}function $ae(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let o=r.child(n-1);;o=o.lastChild){if(o.childCount==0&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}function jae(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let o=r.child(n);;o=o.firstChild){if(o.childCount==0&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}function qae(){return new Ud({props:{decorations:rse,createSelectionBetween(e,t,n){return t.pos==n.pos&&Rr.valid(n)?new Rr(n):null},handleClick:tse,handleKeyDown:ese,handleDOMEvents:{beforeinput:nse}}})}const ese=eF({ArrowLeft:Am("horiz",-1),ArrowRight:Am("horiz",1),ArrowUp:Am("vert",-1),ArrowDown:Am("vert",1)});function Am(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(r,o,i){let a=r.selection,s=t>0?a.$to:a.$from,c=a.empty;if(a instanceof Xn){if(!i.endOfTextblock(n)||s.depth==0)return!1;c=!1,s=r.doc.resolve(t>0?s.after():s.before())}let l=Rr.findGapCursorFrom(s,t,c);return l?(o&&o(r.tr.setSelection(new Rr(l))),!0):!1}}function tse(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!Rr.valid(r))return!1;let o=e.posAtCoords({left:n.clientX,top:n.clientY});return o&&o.inside>-1&&Yt.isSelectable(e.state.doc.nodeAt(o.inside))?!1:(e.dispatch(e.state.tr.setSelection(new Rr(r))),!0)}function nse(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof Rr))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let o=st.empty;for(let a=r.length-1;a>=0;a--)o=st.from(r[a].createAndFill(null,o));let i=e.state.tr.replace(n.pos,n.pos,new Rt(o,0,0));return i.setSelection(Xn.near(i.doc.resolve(n.pos+1))),e.dispatch(i),!1}function rse(e){if(!(e.selection instanceof Rr))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",Nr.create(e.doc,[ki.widget(e.selection.head,t,{key:"gapcursor"})])}const ose=["li",0],ise={parseDOM:[{tag:"li"}],toDOM(){return ose},defining:!0};function ase(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=!1,c=a;if(!a)return!1;if(a.depth>=2&&o.node(a.depth-1).type.compatibleContent(e)&&a.startIndex==0){if(o.index(a.depth-1)==0)return!1;let u=n.doc.resolve(a.start-2);c=new Sv(u,u,a.depth),a.endIndex=0;u--)i=st.from(n[u].type.create(n[u].attrs,i));e.step(new ro(t.start-(r?2:0),t.end,t.start,t.end,new Rt(i,0,0),n.length,!0));let a=0;for(let u=0;u=o.depth-3;x--)f=st.from(o.node(x).copy(f));let h=o.indexAfter(-1){if(A>-1)return!1;x.isTextblock&&x.content.size==0&&(A=y+1)}),A>-1&&m.setSelection(xn.near(m.doc.resolve(A))),r(m.scrollIntoView())}return!0}let c=i.pos==o.end()?s.contentMatchAt(0).defaultType:null,l=n.tr.delete(o.pos,i.pos),u=c?[t?{type:e,attrs:t}:null,{type:c}]:void 0;return sd(l.doc,o.pos,2,u)?(r&&r(l.split(o.pos,2,u).scrollIntoView()),!0):!1}}function iF(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,a=>a.childCount>0&&a.firstChild.type==e);return i?n?r.node(i.depth-1).type==e?cse(t,n,e,i):use(t,n,i):!0:!1}}function cse(e,t,n,r){let o=e.tr,i=r.end,a=r.$to.end(r.depth);im;p--)h-=o.child(p).nodeSize,r.delete(h-1,h+1);let i=r.doc.resolve(n.start),a=i.nodeAfter;if(r.mapping.map(n.end)!=n.start+i.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,c=n.endIndex==o.childCount,l=i.node(-1),u=i.index(-1);if(!l.canReplace(u+(s?0:1),u+1,a.content.append(c?st.empty:st.from(o))))return!1;let f=i.pos,d=f+a.nodeSize;return r.step(new ro(f-(s?1:0),d+(c?1:0),f+1,d-1,new Rt((s?st.empty:st.from(o.copy(st.empty))).append(c?st.empty:st.from(o.copy(st.empty))),s?0:1,c?0:1),s?0:1)),t(r.scrollIntoView()),!0}function xT(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,l=>l.childCount>0&&l.firstChild.type==e);if(!i)return!1;let a=i.startIndex;if(a==0)return!1;let s=i.parent,c=s.child(a-1);if(c.type!=e)return!1;if(n){let l=c.lastChild&&c.lastChild.type==s.type,u=st.from(l?e.create():null),f=new Rt(st.from(e.create(null,st.from(s.type.create(null,u)))),l?3:1,0),d=i.start,h=i.end;n(t.tr.step(new ro(d-(l?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}class fl{constructor(t,n,r={}){this.match=t,this.match=t,this.handler=typeof n=="string"?fse(n):n,this.undoable=r.undoable!==!1}}function fse(e){return function(t,n,r,o){let i=e;if(n[1]){let a=n[0].lastIndexOf(n[1]);i+=n[0].slice(a+n[1].length),r+=a;let s=r-o;s>0&&(i=n[0].slice(a-s,a)+i,r=o)}return t.tr.insertText(i,r,o)}}const dse=500;function hse({rules:e}){let t=new Ud({state:{init(){return null},apply(n,r){let o=n.getMeta(this);return o||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,o,i){return bT(n,r,o,i,e,t)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&bT(n,r.pos,r.pos,"",e,t)})}}},isInputRules:!0});return t}function bT(e,t,n,r,o,i){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t);if(s.parent.type.spec.code)return!1;let c=s.parent.textBetween(Math.max(0,s.parentOffset-dse),s.parentOffset,null,"")+r;for(let l=0;l{let n=e.plugins;for(let r=0;r=0;c--)a.step(s.steps[c].invert(s.docs[c]));if(i.text){let c=a.doc.resolve(i.from).marks();a.replaceWith(i.from,i.to,e.schema.text(i.text,c))}else a.delete(i.from,i.to);t(a)}return!0}}return!1},mse=new fl(/--$/,"—"),vse=new fl(/\.\.\.$/,"…"),gse=new fl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),Ase=new fl(/"$/,"”"),Rse=new fl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),yse=new fl(/'$/,"’"),xse=[gse,Ase,Rse,yse];function v5(e,t,n=null,r){return new fl(e,(o,i,a,s)=>{let c=n instanceof Function?n(i):n,l=o.tr.delete(a,s),u=l.doc.resolve(a),f=u.blockRange(),d=f&&sb(f,t,c);if(!d)return null;l.wrap(f,d);let h=l.doc.resolve(a-1).nodeBefore;return h&&h.type==t&&Vd(l.doc,a-1)&&(!r||r(i,h))&&l.join(a-1),l})}const bse=e=>{const t={},n=(r,o)=>t[r]=o;return n("Alt-ArrowUp",DH),n("Alt-ArrowDown",KH),n("Mod-z",rF),n("Mod-y",oF),n("Backspace",pse),n("Escape",$H),n("Mod-b",kr(e.marks.strong)),n("Mod-i",kr(e.marks.em)),n("Mod-u",kr(e.marks.underline)),n("Mod-d",kr(e.marks.strikethrough)),n("Mod-e",kr(e.marks.code)),n("Mod-;",kr(e.marks.superscript)),n("Mod-'",kr(e.marks.subscript)),n("Enter",Eg(lse(e.nodes.list_item),BN,DN,KN,zH)),n("Mod-[",iF(e.nodes.list_item)),n("Mod-]",xT(e.nodes.list_item)),n("Tab",xT(e.nodes.list_item)),t},Sse=e=>v5(/^\s*>\s$/,e),Mse=e=>v5(/^(\d+)\.\s$/,e,t=>({order:+t[1]}),(t,n)=>n.childCount+n.attrs.order===+t[1]),wse=e=>v5(/^\s*([-+*])\s$/,e),Lse=()=>{const e=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;return new fl(e,(t,n,r,o)=>{const{schema:i}=t,a=t.tr.insertText(`${n[2]} `,r,o),s=i.marks.code.create();return a.addMark(r,r+n[2].length,s)})},Ose=()=>{const e=/(?:https?:\/\/)?[\w-]+(?:\.[\w-]+)+\.?(?:\d+)?(?:\/\S*)?$/;return new fl(e,(t,n,r,o)=>{const{schema:i}=t,a=t.tr.insertText(n[0],r,o),s=i.marks.link.create({href:n[0],title:n[0]});return a.addMark(r,r+n[0].length,s)})},Tse=e=>{const t=[...xse,vse,mse];return t.push(Sse(e.nodes.blockquote)),t.push(Mse(e.nodes.ordered_list)),t.push(wse(e.nodes.bullet_list)),t.push(Lse()),t.push(Ose()),hse({rules:t})},kse=e=>e.type.name==="paragraph"&&e.nodeSize===2,Nse=e=>new Ud({props:{decorations(t){const{$from:n}=t.selection;if(kse(n.parent)){const r=ki.node(n.before(),n.after(),{"data-placeholder":e});return Nr.create(t.doc,[r])}}}}),Pse=(e,t)=>{const n=t==null?void 0:t.placeholder,r=[Tse(e),AT(bse(e)),AT(oG),Jae(),qae(),Gae()];return n&&r.push(Nse(n)),r},Cse=["p",0],Ise=["blockquote",0],Fse=["hr"],_se=["pre",["code",0]],Ese=["br"],aF={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return Cse}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return Ise}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return Fse}},heading:{attrs:{level:{default:1}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(e){return["h"+e.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return _se}},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(e){return{src:e.getAttribute("src"),title:e.getAttribute("title"),alt:e.getAttribute("alt")}}}],toDOM(e){let{src:t,alt:n,title:r}=e.attrs;return["img",{src:t,alt:n,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return Ese}}},Xse=["em",0],Wse=["strong",0],Vse=["code",0],sF={link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(e){return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM(e){let{href:t,title:n}=e.attrs;return["a",{href:t,title:n},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:e=>e.type.name=="em"}],toDOM(){return Xse}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name=="strong"},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],toDOM(){return Wse}},code:{parseDOM:[{tag:"code"}],toDOM(){return Vse}}};new SN({nodes:aF,marks:sF});const Use={attrs:{order:{default:1},listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ol",getAttrs:e=>{const n={order:+((e.hasAttribute("start")?e.getAttribute("start"):1)||1)},{listStyleType:r,fontSize:o,color:i}=e.style;return r&&(n.listStyleType=r),o&&(n.fontsize=o),i&&(n.color=i),n}}],toDOM:e=>{const{order:t,listStyleType:n,fontsize:r,color:o}=e.attrs;let i="";n&&(i+=`list-style-type: ${n};`),r&&(i+=`font-size: ${r};`),o&&(i+=`color: ${o};`);const a={style:i};return t!==1&&(a.start=t),["ol",a,0]}},Yse={attrs:{listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ul",getAttrs:e=>{const t={},{listStyleType:n,fontSize:r,color:o}=e.style;return n&&(t.listStyleType=n),r&&(t.fontsize=r),o&&(t.color=o),t}}],toDOM:e=>{const{listStyleType:t,fontsize:n,color:r}=e.attrs;let o="";return t&&(o+=`list-style-type: ${t};`),n&&(o+=`font-size: ${n};`),r&&(o+=`color: ${r};`),["ul",{style:o},0]}},Qse={...ise,content:"paragraph block*",group:"block"},Zse={attrs:{align:{default:""},indent:{default:0},textIndent:{default:0}},content:"inline*",group:"block",parseDOM:[{tag:"p",getAttrs:e=>{const{textAlign:t,textIndent:n}=e.style;let r=e.getAttribute("align")||t||"";r=/(left|right|center|justify)/.test(r)?r:"";let o=0;n&&(/em/.test(n)?o=parseInt(n):/px/.test(n)&&(o=Math.floor(parseInt(n)/20),o||(o=1)));const i=+(e.getAttribute("data-indent")||0);return{align:r,indent:i,textIndent:o}}},{tag:"img",ignore:!0},{tag:"pre",skip:!0}],toDOM:e=>{const{align:t,indent:n,textIndent:r}=e.attrs;let o="";t&&t!=="left"&&(o+=`text-align: ${t};`),r&&(o+=`text-indent: ${r*20}px;`);const i={style:o};return n&&(i["data-indent"]=n),["p",i,0]}},{doc:Bse,blockquote:Dse,text:Kse}=aF,Hse={doc:Bse,paragraph:Zse,blockquote:Dse,text:Kse,ordered_list:Use,bullet_list:Yse,list_item:Qse},Gse={excludes:"subscript",parseDOM:[{tag:"sub"},{style:"vertical-align",getAttrs:e=>e==="sub"&&null}],toDOM:()=>["sub",0]},Jse={excludes:"superscript",parseDOM:[{tag:"sup"},{style:"vertical-align",getAttrs:e=>e==="super"&&null}],toDOM:()=>["sup",0]},zse={parseDOM:[{tag:"strike"},{style:"text-decoration",getAttrs:e=>e==="line-through"&&null},{style:"text-decoration-line",getAttrs:e=>e==="line-through"&&null}],toDOM:()=>["span",{style:"text-decoration-line: line-through;"},0]},$se={parseDOM:[{tag:"u"},{style:"text-decoration",getAttrs:e=>e==="underline"&&null},{style:"text-decoration-line",getAttrs:e=>e==="underline"&&null}],toDOM:()=>["span",{style:"text-decoration: underline;"},0]},jse={attrs:{color:{}},inline:!0,group:"inline",parseDOM:[{style:"color",getAttrs:e=>e?{color:e}:{}}],toDOM:e=>{const{color:t}=e.attrs;let n="";return t&&(n+=`color: ${t};`),["span",{style:n},0]}},qse={attrs:{backcolor:{}},inline:!0,group:"inline",parseDOM:[{style:"background-color",getAttrs:e=>e?{backcolor:e}:{}}],toDOM:e=>{const{backcolor:t}=e.attrs;let n="";return t&&(n+=`background-color: ${t};`),["span",{style:n},0]}},ele={attrs:{fontsize:{}},inline:!0,group:"inline",parseDOM:[{style:"font-size",getAttrs:e=>e?{fontsize:e}:{}}],toDOM:e=>{const{fontsize:t}=e.attrs;let n="";return t&&(n+=`font-size: ${t};`),["span",{style:n},0]}},tle={attrs:{fontname:{}},inline:!0,group:"inline",parseDOM:[{style:"font-family",getAttrs:e=>({fontname:e&&typeof e=="string"?e.replace(/[\"\']/g,""):""})}],toDOM:e=>{const{fontname:t}=e.attrs;let n="";return t&&(n+=`font-family: ${t};`),["span",{style:n},0]}},nle={attrs:{href:{},title:{default:null},target:{default:"_blank"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href"),n=e.getAttribute("title");return{href:t,title:n}}}],toDOM:e=>["a",e.attrs,0]},rle={attrs:{index:{default:null}},parseDOM:[{tag:"mark",getAttrs:e=>({index:e.dataset.index})}],toDOM:e=>["mark",{"data-index":e.attrs.index},0]},{em:ole,strong:ile,code:ale}=sF,sle={em:ole,strong:ile,fontsize:ele,fontname:tle,code:ale,forecolor:jse,backcolor:qse,subscript:Gse,superscript:Jse,strikethrough:zse,underline:$se,link:nle,mark:rle},lle=Hse,cle=sle,lF=new SN({nodes:lle,marks:cle}),g5=e=>{const t=`
    ${e}
    `,r=new window.DOMParser().parseFromString(t,"text/html").body.firstElementChild;return xd.fromSchema(lF).parse(r)},cF=(e,t,n,r)=>new Cae(e,{state:Bf.create({doc:g5(t),plugins:Pse(lF,r)}),...n});function ule(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(t,n)})}}}var Qr=(e=>(e.RICH_TEXT_COMMAND="RICH_TEXT_COMMAND",e.SYNC_RICH_TEXT_ATTRS_TO_STORE="SYNC_RICH_TEXT_ATTRS_TO_STORE",e.OPEN_CHART_DATA_EDITOR="OPEN_CHART_DATA_EDITOR",e.OPEN_LATEX_EDITOR="OPEN_LATEX_EDITOR",e))(Qr||{});const to=ule(),fle=(e,t,n)=>{const{selection:r,doc:o}=e;if(!r||!o)return e;const{from:i,to:a}=r,{nodes:s}=t,c=s.blockquote,l=s.list_item,u=s.paragraph,f=[];n=n||"";const d=new Set([c,l,u]);return o.nodesBetween(i,a,(h,p)=>{const m=h.type;return(h.attrs.align||"")!==n&&d.has(m)&&f.push({node:h,pos:p,nodeType:m}),!0}),f.length&&f.forEach(h=>{const{node:p,pos:m,nodeType:A}=h;let{attrs:x}=p;n?x={...x,align:n}:x={...x,align:null},e=e.setNodeMarkup(m,A,x,p.marks)}),e},dle=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=fle(n.tr.setSelection(o),r,t);e.dispatch(i)};function hle(e,t,n,r){if(!e.doc)return e;const o=e.doc.nodeAt(t);if(!o)return e;const i=0,a=8;let s=(o.attrs[r]||0)+n;if(sa&&(s=a),s===o.attrs[r])return e;const c={...o.attrs,[r]:s};return e.setNodeMarkup(t,o.type,c,o.marks)}const uF=(e,t,n,r)=>{const{selection:o,doc:i}=e;if(!o||!i||!(o instanceof Xn||o instanceof qo))return e;const{from:a,to:s}=o;return i.nodesBetween(a,s,(c,l)=>{const u=c.type;return u.name==="paragraph"||u.name==="blockquote"?(e=hle(e,l,n,r),!1):!Ov(c,t)}),e},ple=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=uF(n.tr.setSelection(o),r,t,"indent");return i.docChanged?(e.dispatch(i),!0):!1},mle=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=uF(n.tr.setSelection(o),r,t,"textIndent");return i.docChanged?(e.dispatch(i),!0):!1},ag=(e,t,n,r={})=>(o,i)=>{const{schema:a,selection:s}=o,{$from:c,$to:l}=s,u=c.blockRange(l);if(!u)return!1;const f=jN(h=>Ov(h,a))(s);if(u.depth>=1&&f&&u.depth-f.depth<=1){if(f.node.type===e&&!n)return iF(t)(o,i);if(Ov(f.node,a)&&e.validContent(f.node.content)){const{tr:h}=o,p={...f.node.attrs,...r};return n&&(p.listStyleType=n),h.setNodeMarkup(f.pos,e,p),i&&i(h),!1}}const d={...r};return n&&(d.listStyleType=n),ase(e,d)(o,i)},A0=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=n.tr.setSelection(o),{doc:a}=i;if(!a)return i;const{from:s,to:c}=o;a.nodesBetween(s,c,(l,u)=>{if(Ov(l,r)&&s-3<=u&&c+3>=u+l.nodeSize){const f=Array.isArray(t)?t:[t];for(const d of f)i.setNodeAttribute(u,d.key,d.value)}return!1}),e.dispatch(i)},vle=Ie({__name:"ProsemirrorEditor",props:{elementId:{},defaultColor:{},defaultFontName:{},value:{},editable:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1}},emits:["update","focus","blur","mousedown"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=ft(),{handleElementId:a,textFormatPainter:s,richTextAttrs:c}=Ee(i),l=he();let u;const f=Fn.debounce(function(){o("update",u.dom.innerHTML)},300,{trailing:!0}),d=()=>{i.setDisableHotkeysState(!0),o("focus")},h=()=>{i.setDisableHotkeysState(!1),o("blur")},p=Fn.debounce(function(){const b=Q4(u,{color:r.defaultColor,fontname:r.defaultFontName});i.setRichtextAttrs(b)},30,{trailing:!0}),m=()=>{f(),p()},A=Me(()=>r.value);Tt(A,()=>{if(!u||u.hasFocus())return;const{doc:b,tr:w}=u.state;u.dispatch(w.replaceRangeWith(0,b.content.size,g5(A.value)))}),Tt(()=>r.editable,()=>{u.setProps({editable:()=>r.editable})}),t({focus:()=>u.focus()});const y=({target:b,action:w})=>{if(!b&&a.value!==r.elementId||b&&b!==r.elementId)return;const T="command"in w?[w]:w;for(const M of T)if(M.command==="fontname"&&M.value){const O=u.state.schema.marks.fontname.create({fontname:M.value});Er(u),Da(u,O)}else if(M.command==="fontsize"&&M.value){const O=u.state.schema.marks.fontsize.create({fontsize:M.value});Er(u),Da(u,O),A0(u,{key:"fontsize",value:M.value})}else if(M.command==="fontsize-add"){const O=M.value?+M.value:2;Er(u);const k=SM(u)+O+"px",F=u.state.schema.marks.fontsize.create({fontsize:k});Da(u,F),A0(u,{key:"fontsize",value:k})}else if(M.command==="fontsize-reduce"){const O=M.value?+M.value:2;Er(u);let k=SM(u)-O;k<12&&(k=12);const F=u.state.schema.marks.fontsize.create({fontsize:k+"px"});Da(u,F),A0(u,{key:"fontsize",value:k+"px"})}else if(M.command==="color"&&M.value){const O=u.state.schema.marks.forecolor.create({color:M.value});Er(u),Da(u,O),A0(u,{key:"color",value:M.value})}else if(M.command==="backcolor"&&M.value){const O=u.state.schema.marks.backcolor.create({backcolor:M.value});Er(u),Da(u,O)}else if(M.command==="bold")Er(u),kr(u.state.schema.marks.strong)(u.state,u.dispatch);else if(M.command==="em")Er(u),kr(u.state.schema.marks.em)(u.state,u.dispatch);else if(M.command==="underline")Er(u),kr(u.state.schema.marks.underline)(u.state,u.dispatch);else if(M.command==="strikethrough")Er(u),kr(u.state.schema.marks.strikethrough)(u.state,u.dispatch);else if(M.command==="subscript")kr(u.state.schema.marks.subscript)(u.state,u.dispatch);else if(M.command==="superscript")kr(u.state.schema.marks.superscript)(u.state,u.dispatch);else if(M.command==="blockquote")Fm("blockquote",u.state)?HH(u.state,u.dispatch):tG(u.state.schema.nodes.blockquote)(u.state,u.dispatch);else if(M.command==="code")kr(u.state.schema.marks.code)(u.state,u.dispatch);else if(M.command==="align"&&M.value)dle(u,M.value);else if(M.command==="indent"&&M.value)ple(u,+M.value);else if(M.command==="textIndent"&&M.value)mle(u,+M.value);else if(M.command==="bulletList"){const O=M.value||"",{bullet_list:k,list_item:F}=u.state.schema.nodes,N={color:c.value.color,fontsize:c.value.fontsize};ag(k,F,O,N)(u.state,u.dispatch)}else if(M.command==="orderedList"){const O=M.value||"",{ordered_list:k,list_item:F}=u.state.schema.nodes,N={color:c.value.color,fontsize:c.value.fontsize};ag(k,F,O,N)(u.state,u.dispatch)}else if(M.command==="clear"){Er(u);const{$from:O,$to:k}=u.state.selection;u.dispatch(u.state.tr.removeMark(O.pos,k.pos)),A0(u,[{key:"fontsize",value:""},{key:"color",value:""}])}else if(M.command==="link"){const O=u.state.schema.marks.link,{from:k,to:F}=u.state.selection,N=iG(u.state.doc,k,F,O);if(N)if(M.value){const E=u.state.schema.marks.link.create({href:M.value,title:M.value});Da(u,E,{from:N.from.pos,to:N.to.pos+1})}else u.dispatch(u.state.tr.removeMark(N.from.pos,N.to.pos+1,O));else if(cG(u.state,O))if(M.value){const E=u.state.schema.marks.link.create({href:M.value,title:M.value});Da(u,E)}else kr(O)(u.state,u.dispatch);else M.value&&(Er(u),kr(O,{href:M.value,title:M.value})(u.state,u.dispatch))}else M.command==="insert"&&M.value&&u.dispatch(u.state.tr.insertText(M.value));u.focus(),f(),p()},R=()=>{if(!s.value)return;const{keep:b,...w}=s.value,T=[{command:"clear"}];for(const M of Object.keys(w)){const O=M,k=s.value[M];k===!0?T.push({command:O}):k&&T.push({command:O,value:k})}y({action:T}),b||i.setTextFormatPainter(null)};Gt(()=>{u=cF(l.value,A.value,{handleDOMEvents:{focus:d,blur:h,keydown:m,click:p,mouseup:R},editable:()=>r.editable}),r.autoFocus&&u.focus()}),wn(()=>{u&&u.destroy()});const g=()=>{a.value===r.elementId&&p()};return to.on(Qr.RICH_TEXT_COMMAND,y),to.on(Qr.SYNC_RICH_TEXT_ATTRS_TO_STORE,g),wn(()=>{to.off(Qr.RICH_TEXT_COMMAND,y),to.off(Qr.SYNC_RICH_TEXT_ATTRS_TO_STORE,g)}),(b,w)=>(Y(),ee("div",{class:Je(["prosemirror-editor",{"format-painter":G(s)}]),ref_key:"editorViewRef",ref:l,onMousedown:w[0]||(w[0]=T=>o("mousedown",T))},null,34))}}),fF=Xe(vle,[["__scopeId","data-v-23fdc807"]]),dF=e=>(rn("data-v-88c920e1"),e=e(),on(),e),gle=dF(()=>V("div",{class:"drag-handler top"},null,-1)),Ale=dF(()=>V("div",{class:"drag-handler bottom"},null,-1)),Rle=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=lt(),{handleElementId:o,isScaling:i}=Ee(n),{addHistorySnapshot:a}=Jt(),s=he(),c=Me(()=>t.elementInfo.shadow),{shadowStyle:l}=wc(c),u=(y,R=!0)=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo,R))},f=he(-1),d=he(-1);Tt(i,()=>{o.value===t.elementInfo.id&&(i.value||(!t.elementInfo.vertical&&f.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:f.value}}),f.value=-1),t.elementInfo.vertical&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{width:d.value}}),d.value=-1)))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const g=R.height+20,b=R.width+20;!t.elementInfo.vertical&&t.elementInfo.height!==g&&(i.value?f.value=g:r.updateElement({id:t.elementInfo.id,props:{height:g}})),t.elementInfo.vertical&&t.elementInfo.width!==b&&(i.value?d.value=b:r.updateElement({id:t.elementInfo.id,props:{width:b}}))},p=new ResizeObserver(h);Gt(()=>{s.value&&p.observe(s.value)}),wn(()=>{s.value&&p.unobserve(s.value)});const m=y=>{r.updateElement({id:t.elementInfo.id,props:{content:y}}),a()},A=Fn.debounce(function(){t.elementInfo.content.replace(/<[^>]+>/g,"")||r.deleteElement(t.elementInfo.id)},300,{trailing:!0}),x=Me(()=>o.value===t.elementInfo.id);return Tt(x,()=>{x.value||A()}),(y,R)=>{const g=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-text",{lock:y.elementInfo.lock}]),style:we({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px",height:y.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${y.elementInfo.rotate}deg)`})},[Ke((Y(),ee("div",{class:"element-content",ref_key:"elementRef",ref:s,style:we({width:y.elementInfo.vertical?"auto":y.elementInfo.width+"px",height:y.elementInfo.vertical?y.elementInfo.height+"px":"auto",backgroundColor:y.elementInfo.fill,opacity:y.elementInfo.opacity,textShadow:G(l),lineHeight:y.elementInfo.lineHeight,letterSpacing:(y.elementInfo.wordSpace||0)+"px",color:y.elementInfo.defaultColor,fontFamily:y.elementInfo.defaultFontName,writingMode:y.elementInfo.vertical?"vertical-rl":"horizontal-tb"}),onMousedown:R[2]||(R[2]=b=>u(b)),onTouchstart:R[3]||(R[3]=b=>u(b))},[L(s2,{width:y.elementInfo.width,height:y.elementInfo.height,outline:y.elementInfo.outline},null,8,["width","height","outline"]),L(fF,{class:"text",elementId:y.elementInfo.id,defaultColor:y.elementInfo.defaultColor,defaultFontName:y.elementInfo.defaultFontName,editable:!y.elementInfo.lock,value:y.elementInfo.content,style:we({"--paragraphSpace":`${y.elementInfo.paragraphSpace===void 0?5:y.elementInfo.paragraphSpace}px`}),onUpdate:R[0]||(R[0]=b=>m(b)),onMousedown:R[1]||(R[1]=b=>u(b,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value","style"]),gle,Ale],36)),[[g,y.contextmenus]])],4)],6)}}}),hF=Xe(Rle,[["__scopeId","data-v-88c920e1"]]),yle=["id","gradientTransform"],xle=["stop-color"],ble=["stop-color"],Sle=["id"],Mle=["stop-color"],wle=["stop-color"],pF=Ie({__name:"GradientDefs",props:{id:{},type:{},color1:{},color2:{},rotate:{default:0}},setup(e){return(t,n)=>t.type==="linear"?(Y(),ee("linearGradient",{key:0,id:t.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%",gradientTransform:`rotate(${t.rotate},0.5,0.5)`},[V("stop",{offset:"0%","stop-color":t.color1},null,8,xle),V("stop",{offset:"100%","stop-color":t.color2},null,8,ble)],8,yle)):(Y(),ee("radialGradient",{key:1,id:t.id},[V("stop",{offset:"0%","stop-color":t.color1},null,8,Mle),V("stop",{offset:"100%","stop-color":t.color2},null,8,wle)],8,Sle))}}),Lle=["width","height"],Ole={key:0},Tle=["transform"],kle=["d","fill","stroke","stroke-width","stroke-dasharray"],Nle=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=lt(),{handleElementId:o,shapeFormatPainter:i}=Ee(n),{addHistorySnapshot:a}=Jt(),s=(M,O=!0)=>{t.elementInfo.lock||(M.stopPropagation(),t.selectElement(M,t.elementInfo,O))},c=()=>{if(!i.value)return;const{keep:M,...O}=i.value;r.updateElement({id:t.elementInfo.id,props:O}),a(),M||n.setShapeFormatPainter(null)},l=Me(()=>t.elementInfo.outline),{outlineWidth:u,outlineColor:f,strokeDashArray:d}=Hd(l),h=Me(()=>t.elementInfo.shadow),{shadowStyle:p}=wc(h),m=Me(()=>t.elementInfo.flipH),A=Me(()=>t.elementInfo.flipV),{flipStyle:x}=a2(m,A),y=he(!1);Tt(o,()=>{o.value!==t.elementInfo.id&&y.value&&(y.value=!1)});const R=Me(()=>{const M={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:M}),g=M=>{const O={...R.value,content:M};r.updateElement({id:t.elementInfo.id,props:{text:O}}),a()},b=()=>{if(!t.elementInfo.text)return;t.elementInfo.text.content.replace(/<[^>]+>/g,"")||(r.removeElementProps({id:t.elementInfo.id,propName:"text"}),a())},w=he(),T=()=>{y.value=!0,Wr(()=>w.value&&w.value.focus())};return(M,O)=>{const k=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-shape",{lock:M.elementInfo.lock,"format-painter":G(i)}]),style:we({top:M.elementInfo.top+"px",left:M.elementInfo.left+"px",width:M.elementInfo.width+"px",height:M.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${M.elementInfo.rotate}deg)`})},[Ke((Y(),ee("div",{class:"element-content",style:we({opacity:M.elementInfo.opacity,filter:G(p)?`drop-shadow(${G(p)})`:"",transform:G(x),color:R.value.defaultColor,fontFamily:R.value.defaultFontName}),onMousedown:O[3]||(O[3]=F=>s(F)),onMouseup:O[4]||(O[4]=F=>c()),onTouchstart:O[5]||(O[5]=F=>s(F)),onDblclick:O[6]||(O[6]=F=>T())},[(Y(),ee("svg",{overflow:"visible",width:M.elementInfo.width,height:M.elementInfo.height},[M.elementInfo.gradient?(Y(),ee("defs",Ole,[L(pF,{id:`editabel-gradient-${M.elementInfo.id}`,type:M.elementInfo.gradient.type,color1:M.elementInfo.gradient.color[0],color2:M.elementInfo.gradient.color[1],rotate:M.elementInfo.gradient.rotate},null,8,["id","type","color1","color2","rotate"])])):Ze("",!0),V("g",{transform:`scale(${M.elementInfo.width/M.elementInfo.viewBox[0]}, ${M.elementInfo.height/M.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{class:"shape-path","vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:M.elementInfo.path,fill:M.elementInfo.gradient?`url(#editabel-gradient-${M.elementInfo.id})`:M.elementInfo.fill,stroke:G(f),"stroke-width":G(u),"stroke-dasharray":G(d)},null,8,kle)],8,Tle)],8,Lle)),V("div",{class:Je(["shape-text",[R.value.align,{editable:y.value||R.value.content}]])},[y.value||R.value.content?(Y(),Te(fF,{key:0,ref_key:"prosemirrorEditorRef",ref:w,elementId:M.elementInfo.id,defaultColor:R.value.defaultColor,defaultFontName:R.value.defaultFontName,editable:!M.elementInfo.lock,value:R.value.content,onUpdate:O[0]||(O[0]=F=>g(F)),onBlur:O[1]||(O[1]=F=>b()),onMousedown:O[2]||(O[2]=F=>s(F,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value"])):Ze("",!0)],2)],36)),[[k,M.contextmenus]])],4)],6)}}}),mF=Xe(Nle,[["__scopeId","data-v-63255815"]]),Ple=["id","markerWidth","markerHeight","refX","refY"],Cle=["d","fill","transform"],Cd=Ie({__name:"LinePointMarker",props:{id:{},position:{},type:{},baseSize:{},color:{}},setup(e){const t=e,n={dot:"m0 5a5 5 0 1 0 10 0a5 5 0 1 0 -10 0z",arrow:"M0,0 L10,5 0,10 Z"},r={"arrow-start":180,"arrow-end":0},o=Me(()=>n[t.type]),i=Me(()=>r[`${t.type}-${t.position}`]||0),a=Me(()=>t.baseSize<2?2:t.baseSize);return(s,c)=>(Y(),ee("marker",{id:`${s.id}-${s.type}-${s.position}`,markerUnits:"userSpaceOnUse",orient:"auto",markerWidth:a.value*3,markerHeight:a.value*3,refX:a.value*1.5,refY:a.value*1.5},[V("path",{d:o.value,fill:s.color,transform:`scale(${a.value*.3}, ${a.value*.3}) rotate(${i.value}, 5, 5)`},null,8,Cle)],8,Ple))}}),Ile=["width","height"],Fle=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],_le=["d"],Ele=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=l=>{t.elementInfo.lock||(l.stopPropagation(),t.selectElement(l,t.elementInfo))},r=Me(()=>t.elementInfo.shadow),{shadowStyle:o}=wc(r),i=Me(()=>{const l=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return l<24?24:l}),a=Me(()=>{const l=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return l<24?24:l}),s=Me(()=>{if(t.elementInfo.style!=="dashed")return"0 0";const l=t.elementInfo.width;return l<=8?`${l*5} ${l*2.5}`:`${l*5} ${l*1.5}`}),c=Me(()=>Tb(t.elementInfo));return(l,u)=>{const f=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-shape",{lock:l.elementInfo.lock}]),style:we({top:l.elementInfo.top+"px",left:l.elementInfo.left+"px"})},[V("div",{class:"element-content",style:we({filter:G(o)?`drop-shadow(${G(o)})`:""}),onMousedown:u[0]||(u[0]=d=>n(d)),onTouchstart:u[1]||(u[1]=d=>n(d))},[(Y(),ee("svg",{overflow:"visible",width:i.value,height:a.value},[V("defs",null,[l.elementInfo.points[0]?(Y(),Te(Cd,{key:0,id:l.elementInfo.id,position:"start",type:l.elementInfo.points[0],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0),l.elementInfo.points[1]?(Y(),Te(Cd,{key:1,id:l.elementInfo.id,position:"end",type:l.elementInfo.points[1],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0)]),V("path",{class:"line-point",d:c.value,stroke:l.elementInfo.color,"stroke-width":l.elementInfo.width,"stroke-dasharray":s.value,fill:"none","marker-start":l.elementInfo.points[0]?`url(#${l.elementInfo.id}-${l.elementInfo.points[0]}-start)`:"","marker-end":l.elementInfo.points[1]?`url(#${l.elementInfo.id}-${l.elementInfo.points[1]}-end)`:""},null,8,Fle),Ke(V("path",{class:"line-path",d:c.value,stroke:"transparent","stroke-width":"20",fill:"none"},null,8,_le),[[f,l.contextmenus]])],8,Ile))],36)],6)}}}),vF=Xe(Ele,[["__scopeId","data-v-7ecafe01"]]),z0={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},Xle=8,ST={"&":"&","<":"<",">":">",'"':""","'":"'"};function MT(e,t){return typeof e=="number"?e+t:e}function sg(e){if(typeof e=="string"){const t=/^(\d+)\s*(.*)$/g.exec(e);return{value:t?+t[1]:0,unit:(t==null?void 0:t[2])||void 0}}return{value:Number(e)}}function A5(e){return String.fromCharCode(97+e%26)}const Ky=2221e-19;function Wle(e){return Math.floor(Math.log(Math.abs(e))/Math.LN10)}function R0(e,t,n){return t/n.range*e}function Vle(e,t){const n=Math.pow(10,t||Xle);return Math.round(e*n)/n}function Ule(e){if(e===1)return e;function t(a,s){return a%s===0?s:t(s,a%s)}function n(a){return a*a+1}let r=2,o=2,i;if(e%2===0)return 2;do r=n(r)%e,o=n(n(o))%e,i=t(Math.abs(r-o),e);while(i===1);return i}function Hy(e,t,n,r){const o=(r-90)*Math.PI/180;return{x:e+n*Math.cos(o),y:t+n*Math.sin(o)}}function Yle(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const o={high:t.high,low:t.low,valueRange:0,oom:0,step:0,min:0,max:0,range:0,numberOfSteps:0,values:[]};o.valueRange=o.high-o.low,o.oom=Wle(o.valueRange),o.step=Math.pow(10,o.oom),o.min=Math.floor(o.low/o.step)*o.step,o.max=Math.ceil(o.high/o.step)*o.step,o.range=o.max-o.min,o.numberOfSteps=Math.round(o.range/o.step);const a=R0(e,o.step,o)=n)o.step=1;else if(r&&s=n)o.step=s;else{let d=0;for(;;){if(a&&R0(e,o.step,o)<=n)o.step*=2;else if(!a&&R0(e,o.step/2,o)>=n){if(o.step/=2,r&&o.step%1!==0){o.step*=2;break}}else break;if(d++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}}o.step=Math.max(o.step,Ky);function c(d,h){return d===(d+=h)&&(d*=1+(h>0?Ky:-Ky)),d}let l=o.min,u=o.max;for(;l+o.step<=o.low;)l=c(l,o.step);for(;u-o.step>=o.high;)u=c(u,-o.step);o.min=l,o.max=u,o.range=o.max-o.min;const f=[];for(let d=o.min;d<=o.max;d=c(d,o.step)){const h=Vle(d);h!==f[f.length-1]&&f.push(h)}return o.values=f,o}function Vu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re;function tx(e,t){return Array.from({length:e},t?(n,r)=>t(r):()=>{})}const Qle=(e,t)=>e+(t||0),Zle=(e,t)=>tx(Math.max(...e.map(n=>n.length)),n=>t(...e.map(r=>r[n])));function zn(e,t){return e!==null&&typeof e=="object"&&Reflect.has(e,t)}function Th(e){return e!==null&&isFinite(e)}function gF(e){return!e&&e!==0}function md(e){return Th(e)?Number(e):void 0}function Ble(e){return Array.isArray(e)?e.every(Array.isArray):!1}function AF(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=0;e[n?"reduceRight":"reduce"]((o,i,a)=>t(i,r++,a),void 0)}function RF(e,t){const n=Array.isArray(e)?e[t]:zn(e,"data")?e.data[t]:null;return zn(n,"meta")?n.meta:void 0}function yF(e){return e==null||typeof e=="number"&&isNaN(e)}function Dle(e){return Array.isArray(e)&&e.every(t=>Array.isArray(t)||zn(t,"data"))}function Kle(e){return typeof e=="object"&&e!==null&&(Reflect.has(e,"x")||Reflect.has(e,"y"))}function R5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y";return Kle(e)&&zn(e,t)?md(e[t]):md(e)}function nx(e,t,n){t={...t,...n?n==="x"?t.axisX:t.axisY:{}};const r={high:t.high===void 0?-Number.MAX_VALUE:+t.high,low:t.low===void 0?Number.MAX_VALUE:+t.low},o=t.high===void 0,i=t.low===void 0;function a(s){if(!yF(s))if(Array.isArray(s))for(let c=0;cr.high&&(r.high=c),i&&c0||(r.high=1),r.low=0)),r}function y5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o;const i={labels:(e.labels||[]).slice(),series:Jle(e.series,n,r)},a=i.labels.length;return Ble(i.series)?(o=Math.max(a,...i.series.map(s=>s.length)),i.series.forEach(s=>{s.push(...tx(Math.max(0,o-s.length)))})):o=i.series.length,i.labels.push(...tx(Math.max(0,o-a),()=>"")),t&&Hle(i),i}function Hle(e){var t;(t=e.labels)===null||t===void 0||t.reverse(),e.series.reverse();for(const n of e.series)zn(n,"data")?n.data.reverse():Array.isArray(n)&&n.reverse()}function Gle(e,t){let n,r;if(typeof e!="object"){const o=md(e);t==="x"?n=o:r=o}else zn(e,"x")&&(n=md(e.x)),zn(e,"y")&&(r=md(e.y));if(!(n===void 0&&r===void 0))return{x:n,y:r}}function wT(e,t){if(!yF(e))return t?Gle(e,t):md(e)}function rx(e,t){return Array.isArray(e)?e.map(n=>zn(n,"value")?wT(n.value,t):wT(n,t)):rx(e.data,t)}function Jle(e,t,n){if(Dle(e))return e.map(o=>rx(o,t));const r=rx(e,t);return n?r.map(o=>[o]):r}function zle(e,t,n){const r={increasingX:!1,fillHoles:!1,...n},o=[];let i=!0;for(let a=0;a=2&&e[a]<=e[a-2]&&(i=!0),i&&(o.push({pathCoordinates:[],valueData:[]}),i=!1),o[o.length-1].pathCoordinates.push(e[a],e[a+1]),o[o.length-1].valueData.push(t[a/2]));return o}function cp(e){let t="";return e==null?e:(typeof e=="number"?t=""+e:typeof e=="object"?t=JSON.stringify({data:e}):t=String(e),Object.keys(ST).reduce((n,r)=>n.replaceAll(r,ST[r]),t))}class $le{call(t,n){return this.svgElements.forEach(r=>Reflect.apply(r[t],r,n)),this}attr(){for(var t=arguments.length,n=new Array(t),r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4?arguments[4]:void 0;const{easing:i,...a}=n,s={};let c,l;i&&(c=Array.isArray(i)?i:xF[i]),a.begin=MT(a.begin,"ms"),a.dur=MT(a.dur,"ms"),c&&(a.calcMode="spline",a.keySplines=c.join(" "),a.keyTimes="0;1"),r&&(a.fill="freeze",s[t]=a.from,e.attr(s),l=sg(a.begin||0).value,a.begin="indefinite");const u=e.elem("animate",{attributeName:t,...a});r&&setTimeout(()=>{try{u._node.beginElement()}catch{s[t]=a.to,e.attr(s),u.remove()}},l);const f=u.getNode();o&&f.addEventListener("beginEvent",()=>o.emit("animationBegin",{element:e,animate:f,params:n})),f.addEventListener("endEvent",()=>{o&&o.emit("animationEnd",{element:e,animate:f,params:n}),r&&(s[t]=a.to,e.attr(s),u.remove())})}class rc{attr(t,n){return typeof t=="string"?n?this._node.getAttributeNS(n,t):this._node.getAttribute(t):(Object.keys(t).forEach(r=>{if(t[r]!==void 0)if(r.indexOf(":")!==-1){const o=r.split(":");this._node.setAttributeNS(z0[o[0]],r,String(t[r]))}else this._node.setAttribute(r,String(t[r]))}),this)}elem(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return new rc(t,n,r,this,o)}parent(){return this._node.parentNode instanceof SVGElement?new rc(this._node.parentNode):null}root(){let t=this._node;for(;t.nodeName!=="svg"&&t.parentElement;)t=t.parentElement;return new rc(t)}querySelector(t){const n=this._node.querySelector(t);return n?new rc(n):null}querySelectorAll(t){const n=this._node.querySelectorAll(t);return new $le(n)}getNode(){return this._node}foreignObject(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;if(typeof t=="string"){const s=document.createElement("div");s.innerHTML=t,i=s.firstChild}else i=t;i instanceof Element&&i.setAttribute("xmlns",z0.xmlns);const a=this.elem("foreignObject",n,r,o);return a._node.appendChild(i),a}text(t){return this._node.appendChild(document.createTextNode(t)),this}empty(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this}remove(){var t;return(t=this._node.parentNode)===null||t===void 0||t.removeChild(this._node),this.parent()}replace(t){var n;return(n=this._node.parentNode)===null||n===void 0||n.replaceChild(t._node,this._node),t}append(t){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this}classes(){const t=this._node.getAttribute("class");return t?t.trim().split(/\s+/):[]}addClass(t){return this._node.setAttribute("class",this.classes().concat(t.trim().split(/\s+/)).filter(function(n,r,o){return o.indexOf(n)===r}).join(" ")),this}removeClass(t){const n=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes().filter(r=>n.indexOf(r)===-1).join(" ")),this}removeAllClasses(){return this._node.setAttribute("class",""),this}height(){return this._node.getBoundingClientRect().height}width(){return this._node.getBoundingClientRect().width}animate(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2?arguments[2]:void 0;return Object.keys(t).forEach(o=>{const i=t[o];Array.isArray(i)?i.forEach(a=>LT(this,o,a,!1,r)):LT(this,o,i,n,r)}),this}constructor(t,n,r,o,i=!1){t instanceof Element?this._node=t:(this._node=document.createElementNS(z0.svg,t),t==="svg"&&this.attr({"xmlns:ct":z0.ct})),n&&this.attr(n),r&&this.addClass(r),o&&(i&&o._node.firstChild?o._node.insertBefore(this._node,o._node.firstChild):o._node.appendChild(this._node))}}rc.Easing=xF;function x5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"100%",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"100%",r=arguments.length>3?arguments[3]:void 0;Array.from(e.querySelectorAll("svg")).filter(i=>i.getAttributeNS(z0.xmlns,"ct")).forEach(i=>e.removeChild(i));const o=new rc("svg").attr({width:t,height:n}).attr({style:"width: ".concat(t,"; height: ").concat(n,";")});return r&&o.addClass(r),e.appendChild(o.getNode()),o}function jle(e){return typeof e=="number"?{top:e,right:e,bottom:e,left:e}:e===void 0?{top:0,right:0,bottom:0,left:0}:{top:typeof e.top=="number"?e.top:0,right:typeof e.right=="number"?e.right:0,bottom:typeof e.bottom=="number"?e.bottom:0,left:typeof e.left=="number"?e.left:0}}function b5(e,t){var n,r,o,i;const a=!!(t.axisX||t.axisY),s=((n=t.axisY)===null||n===void 0?void 0:n.offset)||0,c=((r=t.axisX)===null||r===void 0?void 0:r.offset)||0,l=(o=t.axisY)===null||o===void 0?void 0:o.position,u=(i=t.axisX)===null||i===void 0?void 0:i.position;let f=e.width()||sg(t.width).value||0,d=e.height()||sg(t.height).value||0;const h=jle(t.chartPadding);f=Math.max(f,s+h.left+h.right),d=Math.max(d,c+h.top+h.bottom);const p={x1:0,x2:0,y1:0,y2:0,padding:h,width(){return this.x2-this.x1},height(){return this.y1-this.y2}};return a?(u==="start"?(p.y2=h.top+c,p.y1=Math.max(d-h.bottom,p.y2+1)):(p.y2=h.top,p.y1=Math.max(d-h.bottom-c,p.y2+1)),l==="start"?(p.x1=h.left+s,p.x2=Math.max(f-h.right,p.x1+1)):(p.x1=h.left,p.x2=Math.max(f-h.right-s,p.x1+1))):(p.x1=h.left,p.x2=Math.max(f-h.right,p.x1+1),p.y2=h.top,p.y1=Math.max(d-h.bottom,p.y2+1)),p}function qle(e,t,n,r,o,i,a,s){const c={["".concat(n.units.pos,"1")]:e,["".concat(n.units.pos,"2")]:e,["".concat(n.counterUnits.pos,"1")]:r,["".concat(n.counterUnits.pos,"2")]:r+o},l=i.elem("line",c,a.join(" "));s.emit("draw",{type:"grid",axis:n,index:t,group:i,element:l,...c})}function bF(e,t,n,r){const o=e.elem("rect",{x:t.x1,y:t.y2,width:t.width(),height:t.height()},n,!0);r.emit("draw",{type:"gridBackground",group:e,element:o})}function ece(e,t,n,r,o,i,a,s,c,l){const u={[o.units.pos]:e+a[o.units.pos],[o.counterUnits.pos]:a[o.counterUnits.pos],[o.units.len]:t,[o.counterUnits.len]:Math.max(0,i-10)},f=Math.round(u[o.units.len]),d=Math.round(u[o.counterUnits.len]),h=document.createElement("span");h.className=c.join(" "),h.style[o.units.len]=f+"px",h.style[o.counterUnits.len]=d+"px",h.textContent=String(r);const p=s.foreignObject(h,{style:"overflow: visible;",...u});l.emit("draw",{type:"label",axis:o,index:n,group:s,element:p,text:r,...u})}function OT(e,t,n){let r;const o=[];function i(s){const c=r;r=Vu({},e),t&&t.forEach(l=>{window.matchMedia(l[0]).matches&&(r=Vu(r,l[1]))}),n&&s&&n.emit("optionsChanged",{previousOptions:c,currentOptions:r})}function a(){o.forEach(s=>s.removeEventListener("change",i))}if(window.matchMedia)t&&t.forEach(s=>{const c=window.matchMedia(s[0]);c.addEventListener("change",i),o.push(c)});else throw new Error("window.matchMedia not found! Make sure you're using a polyfill.");return i(),{removeMediaQueryListeners:a,getCurrentOptions(){return r}}}const ox={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},tce={accuracy:3};function Rm(e,t,n,r,o,i){const a={command:o?e.toLowerCase():e.toUpperCase(),...t,...i?{data:i}:{}};n.splice(r,0,a)}function Gy(e,t){e.forEach((n,r)=>{ox[n.command.toLowerCase()].forEach((o,i)=>{t(n,o,r,i,e)})})}class qs{static join(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const o=new qs(n,r);for(let i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3?arguments[3]:void 0;return Rm("M",{x:+t,y:+n},this.pathElements,this.pos++,r,o),this}line(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3?arguments[3]:void 0;return Rm("L",{x:+t,y:+n},this.pathElements,this.pos++,r,o),this}curve(t,n,r,o,i,a){let s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,c=arguments.length>7?arguments[7]:void 0;return Rm("C",{x1:+t,y1:+n,x2:+r,y2:+o,x:+i,y:+a},this.pathElements,this.pos++,s,c),this}arc(t,n,r,o,i,a,s){let c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l=arguments.length>8?arguments[8]:void 0;return Rm("A",{rx:t,ry:n,xAr:r,lAf:o,sf:i,x:a,y:s},this.pathElements,this.pos++,c,l),this}parse(t){const n=t.replace(/([A-Za-z])(-?[0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce((o,i)=>(i.match(/[A-Za-z]/)&&o.push([]),o[o.length-1].push(i),o),[]);n[n.length-1][0].toUpperCase()==="Z"&&n.pop();const r=n.map(o=>{const i=o.shift(),a=ox[i.toLowerCase()];return{command:i,...a.reduce((s,c,l)=>(s[c]=+o[l],s),{})}});return this.pathElements.splice(this.pos,0,...r),this.pos+=r.length,this}stringify(){const t=Math.pow(10,this.options.accuracy);return this.pathElements.reduce((n,r)=>{const o=ox[r.command.toLowerCase()].map(i=>{const a=r[i];return this.options.accuracy?Math.round(a*t)/t:a});return n+r.command+o.join(",")},"")+(this.close?"Z":"")}scale(t,n){return Gy(this.pathElements,(r,o)=>{r[o]*=o[0]==="x"?t:n}),this}translate(t,n){return Gy(this.pathElements,(r,o)=>{r[o]+=o[0]==="x"?t:n}),this}transform(t){return Gy(this.pathElements,(n,r,o,i,a)=>{const s=t(n,r,o,i,a);(s||s===0)&&(n[r]=s)}),this}clone(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const n=new qs(t||this.close);return n.pos=this.pos,n.pathElements=this.pathElements.slice().map(r=>({...r})),n.options={...this.options},n}splitByCommand(t){const n=[new qs];return this.pathElements.forEach(r=>{r.command===t.toUpperCase()&&n[n.length-1].pathElements.length!==0&&n.push(new qs),n[n.length-1].pathElements.push(r)}),n}constructor(t=!1,n){this.close=t,this.pathElements=[],this.pos=0,this.options={...tce,...n}}}function ix(e){const t={fillHoles:!1,...e};return function(r,o){const i=new qs;let a=!0;for(let s=0;s1)return qs.join(i.map(a=>n(a.pathCoordinates,a.valueData)));{if(r=i[0].pathCoordinates,o=i[0].valueData,r.length<=4)return ix()(r,o);const a=[],s=[],c=r.length/2,l=[],u=[],f=[],d=[];for(let p=0;p0!=u[p]>0?l[p]=0:(l[p]=3*(d[p-1]+d[p])/((2*d[p]+d[p-1])/u[p-1]+(d[p]+2*d[p-1])/u[p]),isFinite(l[p])||(l[p]=0));const h=new qs().move(a[0],s[0],!1,o[0]);for(let p=0;pi(n)),r.forEach(i=>i(t,n))}constructor(){this.listeners=new Map,this.allListeners=new Set}}const Jy=new WeakMap;class S5{update(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(t&&(this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),n&&(this.options=Vu({},r?this.options:this.defaultOptions,n),!this.initializeTimeoutId)){var o;(o=this.optionsProvider)===null||o===void 0||o.removeMediaQueryListeners(),this.optionsProvider=OT(this.options,this.responsiveOptions,this.eventEmitter)}return!this.initializeTimeoutId&&this.optionsProvider&&this.createChart(this.optionsProvider.getCurrentOptions()),this}detach(){if(this.initializeTimeoutId)window.clearTimeout(this.initializeTimeoutId);else{var t;window.removeEventListener("resize",this.resizeListener),(t=this.optionsProvider)===null||t===void 0||t.removeMediaQueryListeners()}return Jy.delete(this.container),this}on(t,n){return this.eventEmitter.on(t,n),this}off(t,n){return this.eventEmitter.off(t,n),this}initialize(){window.addEventListener("resize",this.resizeListener),this.optionsProvider=OT(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.on("optionsChanged",()=>this.update()),this.options.plugins&&this.options.plugins.forEach(t=>{Array.isArray(t)?t[0](this,t[1]):t(this)}),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=null}constructor(t,n,r,o,i){this.data=n,this.defaultOptions=r,this.options=o,this.responsiveOptions=i,this.eventEmitter=new rce,this.resizeListener=()=>this.update(),this.initializeTimeoutId=setTimeout(()=>this.initialize(),0);const a=typeof t=="string"?document.querySelector(t):t;if(!a)throw new Error("Target element is not found");this.container=a;const s=Jy.get(a);s&&s.detach(),Jy.set(a,this)}}const ko={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}};class SF{createGridAndLabels(t,n,r,o){const i=this.units.pos==="x"?r.axisX:r.axisY,a=this.ticks.map((c,l)=>this.projectValue(c,l)),s=this.ticks.map(i.labelInterpolationFnc);a.forEach((c,l)=>{const u=s[l],f={x:0,y:0};let d;a[l+1]?d=a[l+1]-c:d=Math.max(this.axisLength-c,this.axisLength/this.ticks.length),!(u!==""&&gF(u))&&(this.units.pos==="x"?(c=this.chartRect.x1+c,f.x=r.axisX.labelOffset.x,r.axisX.position==="start"?f.y=this.chartRect.padding.top+r.axisX.labelOffset.y+5:f.y=this.chartRect.y1+r.axisX.labelOffset.y+5):(c=this.chartRect.y1-c,f.y=r.axisY.labelOffset.y-d,r.axisY.position==="start"?f.x=this.chartRect.padding.left+r.axisY.labelOffset.x:f.x=this.chartRect.x2+r.axisY.labelOffset.x+10),i.showGrid&&qle(c,l,this,this.gridOffset,this.chartRect[this.counterUnits.len](),t,[r.classNames.grid,r.classNames[this.units.dir]],o),i.showLabel&&ece(c,d,l,u,this,i.offset,f,n,[r.classNames.label,r.classNames[this.units.dir],i.position==="start"?r.classNames[i.position]:r.classNames.end],o))})}constructor(t,n,r){this.units=t,this.chartRect=n,this.ticks=r,this.counterUnits=t===ko.x?ko.y:ko.x,this.axisLength=n[this.units.rectEnd]-n[this.units.rectStart],this.gridOffset=n[this.units.rectOffset]}}class ax extends SF{projectValue(t){const n=Number(R5(t,this.units.pos));return this.axisLength*(n-this.bounds.min)/this.bounds.range}constructor(t,n,r,o){const i=o.highLow||nx(n,o,t.pos),a=Yle(r[t.rectEnd]-r[t.rectStart],i,o.scaleMinSpace||20,o.onlyInteger),s={min:a.min,max:a.max};super(t,r,a.values),this.bounds=a,this.range=s}}class qm extends SF{projectValue(t,n){return this.stepLength*n}constructor(t,n,r,o){const i=o.ticks||[];super(t,r,i);const a=Math.max(1,i.length-(o.stretch?1:0));this.stepLength=this.axisLength/a,this.stretch=!!o.stretch}}function y0(e,t,n){var r;if(zn(e,"name")&&e.name&&(!((r=t.series)===null||r===void 0)&&r[e.name])){const i=(t==null?void 0:t.series[e.name])[n];return i===void 0?t[n]:i}else return t[n]}const TT={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:lp,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:lp,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};class oce extends S5{createChart(t){const{data:n}=this,r=y5(n,t.reverseData,!0),o=x5(this.container,t.width,t.height,t.classNames.chart);this.svg=o;const i=o.elem("g").addClass(t.classNames.gridGroup),a=o.elem("g"),s=o.elem("g").addClass(t.classNames.labelGroup),c=b5(o,t);let l,u;t.axisX.type===void 0?l=new qm(ko.x,r.series,c,{...t.axisX,ticks:r.labels,stretch:t.fullWidth}):l=new t.axisX.type(ko.x,r.series,c,t.axisX),t.axisY.type===void 0?u=new ax(ko.y,r.series,c,{...t.axisY,high:Th(t.high)?t.high:t.axisY.high,low:Th(t.low)?t.low:t.axisY.low}):u=new t.axisY.type(ko.y,r.series,c,t.axisY),l.createGridAndLabels(i,s,t,this.eventEmitter),u.createGridAndLabels(i,s,t,this.eventEmitter),t.showGridBackground&&bF(i,c,t.classNames.gridBackground,this.eventEmitter),AF(n.series,(f,d)=>{const h=a.elem("g"),p=zn(f,"name")&&f.name,m=zn(f,"className")&&f.className,A=zn(f,"meta")?f.meta:void 0;p&&h.attr({"ct:series-name":p}),A&&h.attr({"ct:meta":cp(A)}),h.addClass([t.classNames.series,m||"".concat(t.classNames.series,"-").concat(A5(d))].join(" "));const x=[],y=[];r.series[d].forEach((w,T)=>{const M={x:c.x1+l.projectValue(w,T,r.series[d]),y:c.y1-u.projectValue(w,T,r.series[d])};x.push(M.x,M.y),y.push({value:w,valueIndex:T,meta:RF(f,T)})});const R={lineSmooth:y0(f,t,"lineSmooth"),showPoint:y0(f,t,"showPoint"),showLine:y0(f,t,"showLine"),showArea:y0(f,t,"showArea"),areaBase:y0(f,t,"areaBase")};let g;typeof R.lineSmooth=="function"?g=R.lineSmooth:g=R.lineSmooth?nce():ix();const b=g(x,y);if(R.showPoint&&b.pathElements.forEach(w=>{const{data:T}=w,M=h.elem("line",{x1:w.x,y1:w.y,x2:w.x+.01,y2:w.y},t.classNames.point);if(T){let O,k;zn(T.value,"x")&&(O=T.value.x),zn(T.value,"y")&&(k=T.value.y),M.attr({"ct:value":[O,k].filter(Th).join(","),"ct:meta":cp(T.meta)})}this.eventEmitter.emit("draw",{type:"point",value:T==null?void 0:T.value,index:(T==null?void 0:T.valueIndex)||0,meta:T==null?void 0:T.meta,series:f,seriesIndex:d,axisX:l,axisY:u,group:h,element:M,x:w.x,y:w.y,chartRect:c})}),R.showLine){const w=h.elem("path",{d:b.stringify()},t.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:r.series[d],path:b.clone(),chartRect:c,index:d,series:f,seriesIndex:d,meta:A,axisX:l,axisY:u,group:h,element:w})}if(R.showArea&&u.range){const w=Math.max(Math.min(R.areaBase,u.range.max),u.range.min),T=c.y1-u.projectValue(w);b.splitByCommand("M").filter(M=>M.pathElements.length>1).map(M=>{const O=M.pathElements[0],k=M.pathElements[M.pathElements.length-1];return M.clone(!0).position(0).remove(1).move(O.x,T).line(O.x,O.y).position(M.pathElements.length+1).line(k.x,T)}).forEach(M=>{const O=h.elem("path",{d:M.stringify()},t.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:r.series[d],path:M.clone(),series:f,seriesIndex:d,axisX:l,axisY:u,chartRect:c,index:d,group:h,element:O,meta:A})})}},t.reverseData),this.eventEmitter.emit("created",{chartRect:c,axisX:l,axisY:u,svg:o,options:t})}constructor(t,n,r,o){super(t,n,TT,Vu({},TT,r),o),this.data=n}}function ice(e){return Zle(e,function(){for(var t=arguments.length,n=new Array(t),r=0;r({x:o.x+(zn(i,"x")?i.x:0),y:o.y+(zn(i,"y")?i.y:0)}),{x:0,y:0})})}const kT={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:lp,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:lp,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};class ace extends S5{createChart(t){const{data:n}=this,r=y5(n,t.reverseData,t.horizontalBars?"x":"y",!0),o=x5(this.container,t.width,t.height,t.classNames.chart+(t.horizontalBars?" "+t.classNames.horizontalBars:"")),i=t.stackBars&&t.stackMode!==!0&&r.series.length?nx([ice(r.series)],t,t.horizontalBars?"x":"y"):nx(r.series,t,t.horizontalBars?"x":"y");this.svg=o;const a=o.elem("g").addClass(t.classNames.gridGroup),s=o.elem("g"),c=o.elem("g").addClass(t.classNames.labelGroup);typeof t.high=="number"&&(i.high=t.high),typeof t.low=="number"&&(i.low=t.low);const l=b5(o,t);let u;const f=t.distributeSeries&&t.stackBars?r.labels.slice(0,1):r.labels;let d,h,p;t.horizontalBars?(t.axisX.type===void 0?u=h=new ax(ko.x,r.series,l,{...t.axisX,highLow:i,referenceValue:0}):u=h=new t.axisX.type(ko.x,r.series,l,{...t.axisX,highLow:i,referenceValue:0}),t.axisY.type===void 0?d=p=new qm(ko.y,r.series,l,{ticks:f}):d=p=new t.axisY.type(ko.y,r.series,l,t.axisY)):(t.axisX.type===void 0?d=h=new qm(ko.x,r.series,l,{ticks:f}):d=h=new t.axisX.type(ko.x,r.series,l,t.axisX),t.axisY.type===void 0?u=p=new ax(ko.y,r.series,l,{...t.axisY,highLow:i,referenceValue:0}):u=p=new t.axisY.type(ko.y,r.series,l,{...t.axisY,highLow:i,referenceValue:0}));const m=t.horizontalBars?l.x1+u.projectValue(0):l.y1-u.projectValue(0),A=t.stackMode==="accumulate",x=t.stackMode==="accumulate-relative",y=[],R=[];let g=y;d.createGridAndLabels(a,c,t,this.eventEmitter),u.createGridAndLabels(a,c,t,this.eventEmitter),t.showGridBackground&&bF(a,l,t.classNames.gridBackground,this.eventEmitter),AF(n.series,(b,w)=>{const T=w-(n.series.length-1)/2;let M;t.distributeSeries&&!t.stackBars?M=d.axisLength/r.series.length/2:t.distributeSeries&&t.stackBars?M=d.axisLength/2:M=d.axisLength/r.series[w].length/2;const O=s.elem("g"),k=zn(b,"name")&&b.name,F=zn(b,"className")&&b.className,N=zn(b,"meta")?b.meta:void 0;k&&O.attr({"ct:series-name":k}),N&&O.attr({"ct:meta":cp(N)}),O.addClass([t.classNames.series,F||"".concat(t.classNames.series,"-").concat(A5(w))].join(" ")),r.series[w].forEach((E,C)=>{const _=zn(E,"x")&&E.x,I=zn(E,"y")&&E.y;let W;t.distributeSeries&&!t.stackBars?W=w:t.distributeSeries&&t.stackBars?W=0:W=C;let Z;t.horizontalBars?Z={x:l.x1+u.projectValue(_||0,C,r.series[w]),y:l.y1-d.projectValue(I||0,W,r.series[w])}:Z={x:l.x1+d.projectValue(_||0,W,r.series[w]),y:l.y1-u.projectValue(I||0,C,r.series[w])},d instanceof qm&&(d.stretch||(Z[d.units.pos]+=M*(t.horizontalBars?-1:1)),Z[d.units.pos]+=t.stackBars||t.distributeSeries?0:T*t.seriesBarDistance*(t.horizontalBars?-1:1)),x&&(g=I>=0||_>=0?y:R);const J=g[C]||m;if(g[C]=J-(m-Z[d.counterUnits.pos]),E===void 0)return;const le={["".concat(d.units.pos,"1")]:Z[d.units.pos],["".concat(d.units.pos,"2")]:Z[d.units.pos]};t.stackBars&&(A||x||!t.stackMode)?(le["".concat(d.counterUnits.pos,"1")]=J,le["".concat(d.counterUnits.pos,"2")]=g[C]):(le["".concat(d.counterUnits.pos,"1")]=m,le["".concat(d.counterUnits.pos,"2")]=Z[d.counterUnits.pos]),le.x1=Math.min(Math.max(le.x1,l.x1),l.x2),le.x2=Math.min(Math.max(le.x2,l.x1),l.x2),le.y1=Math.min(Math.max(le.y1,l.y2),l.y1),le.y2=Math.min(Math.max(le.y2,l.y2),l.y1);const D=RF(b,C),Q=O.elem("line",le,t.classNames.bar).attr({"ct:value":[_,I].filter(Th).join(","),"ct:meta":cp(D)});this.eventEmitter.emit("draw",{type:"bar",value:E,index:C,meta:D,series:b,seriesIndex:w,axisX:h,axisY:p,chartRect:l,group:O,element:Q,...le})})},t.reverseData),this.eventEmitter.emit("created",{chartRect:l,axisX:h,axisY:p,svg:o,options:t})}constructor(t,n,r,o){super(t,n,kT,Vu({},kT,r),o),this.data=n}}const NT={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:lp,labelDirection:"neutral",ignoreEmptyValues:!1};function sce(e,t,n){const r=t.x>e.x;return r&&n==="explode"||!r&&n==="implode"?"start":r&&n==="implode"||!r&&n==="explode"?"end":"middle"}class lce extends S5{createChart(t){const{data:n}=this,r=y5(n),o=[];let i,a,s=t.startAngle;const c=x5(this.container,t.width,t.height,t.donut?t.classNames.chartDonut:t.classNames.chartPie);this.svg=c;const l=b5(c,t);let u=Math.min(l.width()/2,l.height()/2);const f=t.total||r.series.reduce(Qle,0),d=sg(t.donutWidth);d.unit==="%"&&(d.value*=u/100),u-=t.donut?d.value/2:0,t.labelPosition==="outside"||t.donut?a=u:t.labelPosition==="center"?a=0:a=u/2,t.labelOffset&&(a+=t.labelOffset);const h={x:l.x1+l.width()/2,y:l.y2+l.height()/2},p=n.series.filter(m=>zn(m,"value")?m.value!==0:m!==0).length===1;n.series.forEach((m,A)=>o[A]=c.elem("g")),t.showLabel&&(i=c.elem("g")),n.series.forEach((m,A)=>{var x,y;if(r.series[A]===0&&t.ignoreEmptyValues)return;const R=zn(m,"name")&&m.name,g=zn(m,"className")&&m.className,b=zn(m,"meta")?m.meta:void 0;R&&o[A].attr({"ct:series-name":R}),o[A].addClass([(x=t.classNames)===null||x===void 0?void 0:x.series,g||"".concat((y=t.classNames)===null||y===void 0?void 0:y.series,"-").concat(A5(A))].join(" "));let w=f>0?s+r.series[A]/f*360:0;const T=Math.max(0,s-(A===0||p?0:.2));w-T>=359.99&&(w=T+359.99);const M=Hy(h.x,h.y,u,T),O=Hy(h.x,h.y,u,w),k=new qs(!t.donut).move(O.x,O.y).arc(u,u,0,+(w-s>180),0,M.x,M.y);t.donut||k.line(h.x,h.y);const F=o[A].elem("path",{d:k.stringify()},t.donut?t.classNames.sliceDonut:t.classNames.slicePie);if(F.attr({"ct:value":r.series[A],"ct:meta":cp(b)}),t.donut&&F.attr({style:"stroke-width: "+d.value+"px"}),this.eventEmitter.emit("draw",{type:"slice",value:r.series[A],totalDataSum:f,index:A,meta:b,series:m,group:o[A],element:F,path:k.clone(),center:h,radius:u,startAngle:s,endAngle:w,chartRect:l}),t.showLabel){let N;n.series.length===1?N={x:h.x,y:h.y}:N=Hy(h.x,h.y,a,s+(w-s)/2);let E;r.labels&&!gF(r.labels[A])?E=r.labels[A]:E=r.series[A];const C=t.labelInterpolationFnc(E,A);if(C||C===0){const _=i.elem("text",{dx:N.x,dy:N.y,"text-anchor":sce(h,N,t.labelDirection)},t.classNames.label).text(String(C));this.eventEmitter.emit("draw",{type:"label",index:A,group:i,element:_,text:""+C,chartRect:l,series:m,meta:b,...N})}}s=w}),this.eventEmitter.emit("created",{chartRect:l,svg:c,options:t})}constructor(t,n,r,o){super(t,n,NT,Vu({},NT,r),o),this.data=n}}const cce=Ie({__name:"Chart",props:{width:{},height:{},type:{},data:{},themeColor:{},legends:{},options:{},gridColor:{},legend:{}},setup(e){const t=e,n=he(),r=jo(qu)||he(1);let o;const i=Me(()=>t.legend?t.height-20:t.height),a=()=>({...t.data,series:t.data.series[0]}),s=()=>({...t.options||{},width:t.width*r.value,height:i.value*r.value}),c=()=>{if(!n.value)return;const h=s();t.type==="bar"&&(o=new ace(n.value,t.data,h)),t.type==="line"&&(o=new oce(n.value,t.data,h)),t.type==="pie"&&(o=new lce(n.value,a(),h))};Tt([()=>t.width,()=>t.height,()=>t.data,()=>t.options,r],()=>{if(!o){c();return}const h=s(),p=t.type==="pie"?a():t.data;o.update(p,h)}),Gt(c);const u=Me(()=>{let h=[];if(t.themeColor.length>=10)h=t.themeColor;else if(t.themeColor.length===1)h=rt(t.themeColor[0]).analogous(10).map(p=>p.toRgbString());else{const p=t.themeColor.length,m=rt(t.themeColor[p-1]).analogous(11-p).map(A=>A.toRgbString());h=[...t.themeColor.slice(0,p-1),...m]}return h}),f=()=>{if(n.value)for(let h=0;h<10;h++)n.value.style.setProperty(`--theme-color-${h+1}`,u.value[h])};Tt(u,f),Gt(f);const d=()=>{n.value&&t.gridColor&&n.value.style.setProperty("--grid-color",t.gridColor)};return Tt(()=>t.gridColor,d),Gt(d),(h,p)=>(Y(),ee("div",{class:"chart",style:we({flexDirection:h.legend==="top"?"column-reverse":"column"})},[V("div",{class:"chart-content",ref_key:"chartRef",ref:n,style:we({width:h.width+"px",height:i.value+"px",transform:`scale(${1/G(r)})`})},null,4),h.legend?(Y(),ee("div",{key:0,class:"legends",style:we({transform:`scale(${1/G(r)})`})},[(Y(!0),ee(We,null,ot(h.legends,(m,A)=>(Y(),ee("div",{class:"legend",key:A,style:we({color:h.gridColor})},[V("div",{class:"block",style:we({backgroundColor:u.value[A]})},null,4),Ve(" "+gt(m),1)],4))),128))],4)):Ze("",!0)],4))}}),MF=Xe(cce,[["__scopeId","data-v-786c4a79"]]),uce=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=o=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo))},r=()=>{to.emit(Qr.OPEN_CHART_DATA_EDITOR)};return(o,i)=>{const a=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-chart",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ke((Y(),ee("div",{class:"element-content",style:we({backgroundColor:o.elementInfo.fill}),onMousedown:i[0]||(i[0]=s=>n(s)),onTouchstart:i[1]||(i[1]=s=>n(s)),onDblclick:i[2]||(i[2]=s=>r())},[L(s2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),L(MF,{width:o.elementInfo.width,height:o.elementInfo.height,type:o.elementInfo.chartType,data:o.elementInfo.data,options:o.elementInfo.options,themeColor:o.elementInfo.themeColor,gridColor:o.elementInfo.gridColor,legends:o.elementInfo.data.legends,legend:o.elementInfo.legend||""},null,8,["width","height","type","data","options","themeColor","gridColor","legends","legend"])],36)),[[a,o.contextmenus]])],4)],6)}}}),wF=Xe(uce,[["__scopeId","data-v-e98d2ede"]]),LF=e=>{if(!e)return{};const{bold:t,em:n,underline:r,strikethrough:o,color:i,backcolor:a,fontsize:s,fontname:c,align:l}=e;let u=`${r?"underline":""} ${o?"line-through":""}`;return u===" "&&(u="none"),{fontWeight:t?"bold":"normal",fontStyle:n?"italic":"normal",textDecoration:u,color:i||"#000",backgroundColor:a||"",fontSize:s||"14px",fontFamily:c||"微软雅黑",textAlign:l||"left"}},OF=e=>e.replace(/\n/g,"
    ").replace(/ /g," "),TF=e=>({hideCells:Me(()=>{const n=[];for(let r=0;r1||a.rowspan>1)for(let s=r;s{const t=he(["",""]);return Tt(()=>e.value,()=>{e.value&&(t.value=zP(e.value.color))},{immediate:!0}),{subThemeColor:t}},fce=["innerHTML"],dce=Ie({__name:"CustomTextarea",props:{value:{default:""}},emits:["updateValue","insertExcelData"],setup(e,{emit:t}){const n=e,r=t,o=he(),i=he(""),a=he(!1);Tt(()=>n.value,()=>{a.value||(i.value=n.value,o.value&&(o.value.innerHTML=n.value))},{immediate:!0});const s=()=>{if(!o.value)return;const u=o.value.innerHTML;r("updateValue",u)},c=()=>{a.value=!0,o.value&&(o.value.onpaste=u=>{if(u.preventDefault(),!u.clipboardData)return;const f=u.clipboardData.items[0];f&&f.kind==="string"&&f.type==="text/plain"&&f.getAsString(d=>{if(typeof Ob(d)=="object")return;const p=JP(d);if(p){r("insertExcelData",p),o.value&&(o.value.innerHTML=p[0][0]);return}document.execCommand("insertText",!1,d)})})},l=()=>{a.value=!1,o.value&&(o.value.onpaste=null)};return Wd(()=>{o.value&&(o.value.onpaste=null)}),(u,f)=>(Y(),ee("div",{class:"custom-textarea",ref_key:"textareaRef",ref:o,contenteditable:!0,onFocus:f[0]||(f[0]=d=>c()),onBlur:f[1]||(f[1]=d=>l()),onInput:f[2]||(f[2]=d=>s()),innerHTML:i.value},null,40,fce))}}),hce=Xe(dce,[["__scopeId","data-v-cfadb975"]]),pce={key:0,class:"handler"},mce=["onMousedown"],vce=["width"],gce=["rowspan","colspan","data-cell-index","onMousedown","onMouseenter"],Ace=["innerHTML"],Rce=Ie({__name:"EditableTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},emits:["change","changeColWidths","changeSelectedCells"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:o}=Ee(ft()),i=he(!1),a=he([]),s=he([]),c=Me({get(){return n.data},set(z){r("change",z)}}),l=Me(()=>n.theme),{subThemeColor:u}=kF(l),f=he([]),d=Me(()=>f.value.reduce((z,oe)=>z+oe));Tt([()=>n.colWidths,()=>n.width],()=>{f.value=n.colWidths.map(z=>z*n.width)},{immediate:!0});const h=()=>{a.value=[],s.value=[]};Tt(()=>n.editable,()=>{n.editable||h()});const p=Me(()=>{const z=[];for(let oe=1;oeAe+me);z.push(pe)}return z}),m=Me(()=>n.data),{hideCells:A}=TF(m),x=Me(()=>{if(!a.value.length)return[];const[z,oe]=a.value;if(!s.value.length)return[`${z}_${oe}`];const[pe,Ae]=s.value;if(z===pe&&oe===Ae)return[`${z}_${oe}`];const me=[],$=Math.min(z,pe),ue=Math.min(oe,Ae),X=Math.max(z,pe),ne=Math.max(oe,Ae);for(let se=0;se=$&&se<=X&&q>=ue&&q<=ne&&me.push(`${se}_${q}`)}return me});Tt(x,(z,oe)=>{Fn.isEqual(z,oe)||r("changeSelectedCells",x.value)});const y=Me(()=>x.value.length>1?null:x.value[0]),R=()=>i.value=!1,g=(z,oe,pe)=>{z.button===0&&(s.value=[],i.value=!0,a.value=[oe,pe])},b=(z,oe)=>{i.value&&(s.value=[z,oe])};Gt(()=>{document.addEventListener("mouseup",R)}),wn(()=>{document.removeEventListener("mouseup",R)});const w=(z,oe)=>A.value.includes(`${z}_${oe}`),T=z=>{const oe=c.value.length-1;a.value=[0,z],s.value=[oe,z]},M=z=>{const oe=c.value[z].length-1;a.value=[z,0],s.value=[z,oe]},O=()=>{const z=c.value.length-1,oe=c.value[z].length-1;a.value=[0,0],s.value=[z,oe]},k=z=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=c.value[z],Ae=[];for(let me=0;me=0;$--)if(!w($,me)){oe[$][me].rowspan=oe[$][me].rowspan-1;break}oe.splice(z,1),c.value=oe},F=z=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=[];for(let Ae=0;Ae=0;me--)if(!w(Ae,me)){oe[Ae][me].colspan=oe[Ae][me].colspan-1;break}c.value=oe.map(Ae=>(Ae.splice(z,1),Ae)),f.value.splice(z,1),r("changeColWidths",f.value)},N=z=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=[];for(let Ae=0;Ae{c.value=c.value.map(oe=>{const pe={colspan:1,rowspan:1,text:"",id:pn(10)};return oe.splice(z,0,pe),oe}),f.value.splice(z,0,100),r("changeColWidths",f.value)},C=(z,oe)=>{let pe=JSON.parse(JSON.stringify(c.value));const Ae={colspan:1,rowspan:1,text:""};if(z){const me=[];for(let $=0;${const $=[];for(let ue=0;ue{const[z,oe]=a.value,[pe,Ae]=s.value,me=Math.min(z,pe),$=Math.min(oe,Ae),ue=Math.max(z,pe),X=Math.max(oe,Ae),ne=JSON.parse(JSON.stringify(c.value));ne[me][$].rowspan=ue-me+1,ne[me][$].colspan=X-$+1,c.value=ne,h()},I=(z,oe)=>{const pe=JSON.parse(JSON.stringify(c.value));pe[z][oe].rowspan=1,pe[z][oe].colspan=1,c.value=pe,h()},W=(z,oe)=>{h();let pe=!0;const Ae=f.value[oe],me=z.pageX,$=50;document.onmousemove=ue=>{if(!pe)return;const X=(ue.pageX-me)/o.value,ne=Ae+X<$?$:Math.round(Ae+X);f.value[oe]=ne},document.onmouseup=()=>{pe=!1,document.onmousemove=null,document.onmouseup=null,r("changeColWidths",f.value)}},Z=()=>{const z=JSON.parse(JSON.stringify(c.value));for(let oe=0;oe{const z=(me,$)=>c.value[me]?c.value[me][$]?w(me,$)?z(me,$+1):[me,$]:z(me+1,0):null;s.value=[];const oe=a.value[0],pe=a.value[1]+1,Ae=z(oe,pe);Ae?a.value=Ae:(N(oe+1),a.value=[oe+1,0]),Wr(()=>{const me=document.querySelector(".cell-text.active");me&&me.focus()})},le=z=>{if(!n.editable||!x.value.length)return;const oe=z.key.toUpperCase();if(x.value.length<2){if(oe===yt.TAB&&(z.preventDefault(),J()),z.ctrlKey&&oe===yt.UP){z.preventDefault();const pe=+x.value[0].split("_")[0];N(pe)}if(z.ctrlKey&&oe===yt.DOWN){z.preventDefault();const pe=+x.value[0].split("_")[0];N(pe+1)}if(z.ctrlKey&&oe===yt.LEFT){z.preventDefault();const pe=+x.value[0].split("_")[1];E(pe)}if(z.ctrlKey&&oe===yt.RIGHT){z.preventDefault();const pe=+x.value[0].split("_")[1];E(pe+1)}}else oe===yt.DELETE&&Z()};Gt(()=>{document.addEventListener("keydown",le)}),wn(()=>{document.removeEventListener("keydown",le)});const D=Fn.debounce(function(z,oe,pe){c.value[oe][pe].text=z,r("change",c.value)},300,{trailing:!0}),Q=(z,oe,pe)=>{const Ae=z.length,me=z[0].length;let $=0,ue=0;oe+Ae>c.value.length&&($=oe+Ae-c.value.length),pe+me>c.value[0].length&&(ue=pe+me-c.value[0].length),($||ue)&&C($,ue),Wr(()=>{for(let X=0;X{const z=[];for(let oe=0;oe{const z=B(),oe=z.length>1,pe=z[0].length>1;return{canDeleteRow:oe,canDeleteCol:pe}},U=(z,oe)=>{const pe=x.value.length>1,Ae=c.value[z][oe],me=pe,$=!pe&&(Ae.rowspan>1||Ae.colspan>1);return{canMerge:me,canSplit:$}},te=z=>{const oe=z.dataset.cellIndex,pe=+oe.split("_")[0],Ae=+oe.split("_")[1];x.value.includes(`${pe}_${Ae}`)||(a.value=[pe,Ae],s.value=[]);const{canMerge:me,canSplit:$}=U(pe,Ae),{canDeleteRow:ue,canDeleteCol:X}=H();return[{text:"插入列",children:[{text:"到左侧",handler:()=>E(Ae)},{text:"到右侧",handler:()=>E(Ae+1)}]},{text:"插入行",children:[{text:"到上方",handler:()=>N(pe)},{text:"到下方",handler:()=>N(pe+1)}]},{text:"删除列",disable:!X,handler:()=>F(Ae)},{text:"删除行",disable:!ue,handler:()=>k(pe)},{divider:!0},{text:"合并单元格",disable:!me,handler:_},{text:"取消合并单元格",disable:!$,handler:()=>I(pe,Ae)},{divider:!0},{text:"选中当前列",handler:()=>T(Ae)},{text:"选中当前行",handler:()=>M(pe)},{text:"选中全部单元格",handler:O}]};return(z,oe)=>{var Ae,me,$,ue,X;const pe=Sn("contextmenu");return Y(),ee("div",{class:"editable-table",style:we({width:d.value+"px"})},[z.editable?(Y(),ee("div",pce,[(Y(!0),ee(We,null,ot(p.value,(ne,se)=>(Y(),ee("div",{class:"drag-line",key:se,style:we({left:ne+"px"}),onMousedown:j=>W(j,se)},null,44,mce))),128))])):Ze("",!0),V("table",{class:Je({theme:l.value,"row-header":(Ae=l.value)==null?void 0:Ae.rowHeader,"row-footer":(me=l.value)==null?void 0:me.rowFooter,"col-header":($=l.value)==null?void 0:$.colHeader,"col-footer":(ue=l.value)==null?void 0:ue.colFooter}),style:we(`--themeColor: ${(X=l.value)==null?void 0:X.color}; --subThemeColor1: ${G(u)[0]}; --subThemeColor2: ${G(u)[1]}`)},[V("colgroup",null,[(Y(!0),ee(We,null,ot(f.value,(ne,se)=>(Y(),ee("col",{span:"1",key:se,width:ne},null,8,vce))),128))]),V("tbody",null,[(Y(!0),ee(We,null,ot(c.value,(ne,se)=>(Y(),ee("tr",{key:se,style:we({height:z.cellMinHeight+"px"})},[(Y(!0),ee(We,null,ot(ne,(j,q)=>Ke((Y(),ee("td",{class:Je(["cell",{selected:x.value.includes(`${se}_${q}`)&&x.value.length>1,active:y.value===`${se}_${q}`}]),style:we({borderStyle:z.outline.style,borderColor:z.outline.color,borderWidth:z.outline.width+"px",...G(LF)(j.style)}),key:j.id,rowspan:j.rowspan,colspan:j.colspan,"data-cell-index":`${se}_${q}`,onMousedown:ae=>g(ae,se,q),onMouseenter:ae=>b(se,q)},[y.value===`${se}_${q}`?(Y(),Te(hce,{key:0,class:Je(["cell-text",{active:y.value===`${se}_${q}`}]),style:we({minHeight:z.cellMinHeight-4+"px"}),value:j.text,onUpdateValue:ae=>G(D)(ae,se,q),onInsertExcelData:ae=>Q(ae,se,q)},null,8,["class","style","value","onUpdateValue","onInsertExcelData"])):(Y(),ee("div",{key:1,class:"cell-text",style:we({minHeight:z.cellMinHeight-4+"px"}),innerHTML:G(OF)(j.text)},null,12,Ace))],46,gce)),[[il,!G(A).includes(`${se}_${q}`)],[pe,ae=>te(ae)]])),128))],4))),128))])],6)],4)}}}),yce=Xe(Rce,[["__scopeId","data-v-d040a5e0"]]),xce={class:"element-content"},bce=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=lt(),{canvasScale:o,handleElementId:i,isScaling:a}=Ee(n),s=he(),{addHistorySnapshot:c}=Jt(),l=y=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo))},u=he(!1);Tt(i,()=>{i.value!==t.elementInfo.id&&(u.value=!1)}),Tt(u,()=>{n.setDisableHotkeysState(u.value)});const f=()=>{t.elementInfo.lock||(u.value=!0)},d=he(-1);Tt(a,()=>{i.value===t.elementInfo.id&&(a.value&&(u.value=!1),!a.value&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:d.value}}),d.value=-1))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const g=R.height;t.elementInfo.height!==g&&(a.value?d.value=g:r.updateElement({id:t.elementInfo.id,props:{height:g}}))},p=new ResizeObserver(h);Gt(()=>{s.value&&p.observe(s.value)}),wn(()=>{s.value&&p.unobserve(s.value)});const m=y=>{r.updateElement({id:t.elementInfo.id,props:{data:y}}),c()},A=y=>{const R=y.reduce((b,w)=>b+w),g=y.map(b=>b/R);r.updateElement({id:t.elementInfo.id,props:{width:R,colWidths:g}}),c()},x=y=>{Wr(()=>n.setSelectedTableCells(y))};return(y,R)=>{const g=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-table",{lock:y.elementInfo.lock}]),ref_key:"elementRef",ref:s,style:we({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${y.elementInfo.rotate}deg)`})},[Ke((Y(),ee("div",xce,[L(yce,{onMousedown:R[0]||(R[0]=Wt(()=>{},["stop"])),data:y.elementInfo.data,width:y.elementInfo.width,cellMinHeight:y.elementInfo.cellMinHeight,colWidths:y.elementInfo.colWidths,outline:y.elementInfo.outline,theme:y.elementInfo.theme,editable:u.value,onChange:R[1]||(R[1]=b=>m(b)),onChangeColWidths:R[2]||(R[2]=b=>A(b)),onChangeSelectedCells:R[3]||(R[3]=b=>x(b))},null,8,["data","width","cellMinHeight","colWidths","outline","theme","editable"]),!u.value||y.elementInfo.lock?(Y(),ee("div",{key:0,class:Je(["table-mask",{lock:y.elementInfo.lock}]),onDblclick:R[4]||(R[4]=b=>f()),onMousedown:R[5]||(R[5]=b=>l(b)),onTouchstart:R[6]||(R[6]=b=>l(b))},[G(i)===y.elementInfo.id?(Y(),ee("div",{key:0,class:"mask-tip",style:we({transform:`scale(${1/G(o)})`})},"双击编辑",4)):Ze("",!0)],34)):Ze("",!0)])),[[g,y.contextmenus]])],4)],6)}}}),NF=Xe(bce,[["__scopeId","data-v-7795910a"]]),Sce=["width","height","stroke","stroke-width"],Mce=["transform"],wce=["d"],Lce=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=o=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo))},r=()=>{to.emit(Qr.OPEN_LATEX_EDITOR)};return(o,i)=>{const a=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-latex",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ke((Y(),ee("div",{class:"element-content",onMousedown:i[0]||(i[0]=s=>n(s)),onTouchstart:i[1]||(i[1]=s=>n(s)),onDblclick:i[2]||(i[2]=s=>r())},[(Y(),ee("svg",{overflow:"visible",width:o.elementInfo.width,height:o.elementInfo.height,stroke:o.elementInfo.color,"stroke-width":o.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${o.elementInfo.width/o.elementInfo.viewBox[0]}, ${o.elementInfo.height/o.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{d:o.elementInfo.path},null,8,wce)],8,Mce)],8,Sce))],32)),[[a,o.contextmenus]])],4)],6)}}}),PF=Xe(Lce,[["__scopeId","data-v-b73586f6"]]),Oce=(e,t)=>{Gt(()=>{if(!t.value)return;let n="normal";if(/m3u8(#|\?|$)/i.exec(e)?n="hls":/.flv(#|\?|$)/i.exec(e)&&(n="flv"),t.value&&n==="hls"&&(t.value.canPlayType("application/x-mpegURL")||t.value.canPlayType("application/vnd.apple.mpegURL"))&&(n="normal"),n==="hls"){const r=window.Hls;if(r&&r.isSupported()){const o=new r;o.loadSource(e),o.attachMedia(t.value)}}else if(n==="flv"){const r=window.flvjs;if(r&&r.isSupported()){const o=r.createPlayer({type:"flv",url:e});o.attachMediaElement(t.value),o.load()}}})},M5=e=>(rn("data-v-597c0901"),e=e(),on(),e),Tce={key:0,class:"load-error"},kce=["src","autoplay","poster"],Nce={class:"bezel"},Pce=M5(()=>V("div",{class:"controller-mask"},null,-1)),Cce={class:"controller"},Ice={class:"icons icons-left"},Fce={class:"icon-content"},_ce={class:"volume"},Ece={class:"icon-content"},Xce=M5(()=>V("span",{class:"thumb"},null,-1)),Wce=[Xce],Vce={class:"time"},Uce={class:"ptime"},Yce={class:"dtime"},Qce={class:"icons icons-right"},Zce={class:"speed"},Bce={class:"icon speed-icon"},Dce=["onClick"],Kce={class:"icon-content"},Hce={class:"bar"},Gce=M5(()=>V("span",{class:"thumb"},null,-1)),Jce=[Gce],zce=Ie({__name:"index",props:{width:{},height:{},src:{},poster:{default:""},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e){const t=e,n=(X=0)=>{if(X===0||isNaN(X))return"00:00";const ne=ae=>ae<10?"0"+ae:""+ae,se=Math.floor(X/3600),j=Math.floor((X-se*3600)/60),q=Math.floor(X-se*3600-j*60);return(se>0?[se,j,q]:[j,q]).map(ne).join(":")},r=X=>X.getBoundingClientRect().left,o=he(),i=he(),a=he(),s=he(.5),c=he(!0),l=he(0),u=he(0),f=he(0),d=he(!1),h=he(!1),p=he(1),m=he(!1),A=he("00:00"),x=he("0"),y=Me(()=>n(l.value)),R=Me(()=>n(u.value)),g=Me(()=>l.value/u.value*100+"%"),b=Me(()=>f.value/u.value*100+"%"),w=Me(()=>s.value*100+"%"),T=he(!1),M=[{label:"2x",value:2},{label:"1.5x",value:1.5},{label:"1.25x",value:1.25},{label:"1x",value:1},{label:"0.75x",value:.75},{label:"0.5x",value:.5}],O=X=>{o.value&&(X=Math.max(X,0),X=Math.min(X,u.value),o.value.currentTime=X,l.value=X)},k=()=>{o.value&&(c.value=!1,o.value.play(),h.value=!0)},F=()=>{o.value&&(c.value=!0,o.value.pause(),h.value=!0)},N=()=>{c.value?k():F()},E=X=>{o.value&&(X=Math.max(X,0),X=Math.min(X,1),o.value.volume=X,s.value=X,o.value.muted&&X!==0&&(o.value.muted=!1))},C=X=>{o.value&&(o.value.playbackRate=X),p.value=X},_=()=>{var X;u.value=((X=o.value)==null?void 0:X.duration)||0},I=()=>{var X;l.value=((X=o.value)==null?void 0:X.currentTime)||0},W=()=>{d.value?(O(0),k()):F()},Z=()=>{var X;f.value=(X=o.value)!=null&&X.buffered.length?o.value.buffered.end(o.value.buffered.length-1):0},J=he(!1),le=()=>J.value=!0,D=X=>{if(!o.value||!i.value)return;let se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(i.value))/i.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const j=se*u.value;o.value.currentTime=j,l.value=j},Q=X=>{if(!o.value||!i.value)return;let se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(i.value))/i.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const j=se*u.value;o.value.currentTime=j,l.value=j,document.removeEventListener("mousemove",D),document.removeEventListener("touchmove",D),document.removeEventListener("mouseup",Q),document.removeEventListener("touchend",Q)},B=()=>{document.addEventListener("mousemove",D),document.addEventListener("touchmove",D),document.addEventListener("mouseup",Q),document.addEventListener("touchend",Q)},H=X=>{if(!a.value)return;const se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(a.value))/45;E(se)},U=()=>{document.removeEventListener("mousemove",H),document.removeEventListener("touchmove",H),document.removeEventListener("mouseup",U),document.removeEventListener("touchend",U)},te=()=>{document.addEventListener("mousemove",H),document.addEventListener("touchmove",H),document.addEventListener("mouseup",U),document.addEventListener("touchend",U)},z=X=>{if(!a.value)return;const ne=(X.clientX-r(a.value))/45;E(ne)},oe=X=>{if(u.value&&i.value){const ne=i.value.getBoundingClientRect().left,se=X.clientX-ne;if(se<0||se>i.value.offsetWidth)return;const j=u.value*(se/i.value.offsetWidth);x.value=`${se-(j>=3600?25:20)}px`,A.value=n(j),m.value=!0}},pe=()=>{o.value&&(o.value.muted?(o.value.muted=!1,E(.5)):(o.value.muted=!0,E(0)))},Ae=()=>{d.value=!d.value},me=he(-1),$=he(!1),ue=()=>{$.value=!1,clearTimeout(me.value),me.value=setTimeout(()=>{var X;(X=o.value)!=null&&X.played.length&&($.value=!0)},3e3)};return Oce(t.src,o),(X,ne)=>{const se=be("IconPause"),j=be("IconPlayOne"),q=be("IconVolumeMute"),ae=be("IconVolumeNotice"),ge=be("IconVolumeSmall");return Y(),ee("div",{class:Je(["video-player",{"hide-controller":$.value}]),style:we({width:X.width*X.scale+"px",height:X.height*X.scale+"px",transform:`scale(${1/X.scale})`}),onMousemove:ne[22]||(ne[22]=ce=>ue()),onClick:ne[23]||(ne[23]=ce=>ue())},[V("div",{class:"video-wrap",onClick:ne[8]||(ne[8]=ce=>N())},[J.value?(Y(),ee("div",Tce,"视频加载失败")):Ze("",!0),V("video",{class:"video",ref_key:"videoRef",ref:o,src:X.src,autoplay:X.autoplay,poster:X.poster,"webkit-playsinline":"",playsinline:"",onDurationchange:ne[0]||(ne[0]=ce=>_()),onTimeupdate:ne[1]||(ne[1]=ce=>I()),onEnded:ne[2]||(ne[2]=ce=>W()),onProgress:ne[3]||(ne[3]=ce=>Z()),onPlay:ne[4]||(ne[4]=ce=>{ue(),c.value=!1}),onPause:ne[5]||(ne[5]=ce=>ue()),onError:ne[6]||(ne[6]=ce=>le())},null,40,kce),V("div",Nce,[V("span",{class:Je(["bezel-icon",{"bezel-transition":h.value}]),onAnimationend:ne[7]||(ne[7]=ce=>h.value=!1)},[c.value?(Y(),Te(se,{key:0})):(Y(),Te(j,{key:1}))],34)])]),Pce,V("div",Cce,[V("div",Ice,[V("div",{class:"icon play-icon",onClick:ne[9]||(ne[9]=ce=>N())},[V("span",Fce,[c.value?(Y(),Te(j,{key:0})):(Y(),Te(se,{key:1}))])]),V("div",_ce,[V("div",{class:"icon volume-icon",onClick:ne[10]||(ne[10]=ce=>pe())},[V("span",Ece,[s.value===0?(Y(),Te(q,{key:0})):s.value===1?(Y(),Te(ae,{key:1})):(Y(),Te(ge,{key:2}))])]),V("div",{class:"volume-bar-wrap",onMousedown:ne[11]||(ne[11]=ce=>te()),onTouchstart:ne[12]||(ne[12]=ce=>te()),onClick:ne[13]||(ne[13]=ce=>z(ce))},[V("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:a},[V("div",{class:"volume-bar-inner",style:we({width:w.value})},Wce,4)],512)],32)]),V("span",Vce,[V("span",Uce,gt(y.value),1),Ve(" / "),V("span",Yce,gt(R.value),1)])]),V("div",Qce,[V("div",Zce,[V("div",Bce,[V("span",{class:"icon-content",onClick:ne[14]||(ne[14]=ce=>T.value=!T.value)},gt(p.value===1?"倍速":p.value+"x"),1),T.value?(Y(),ee("div",{key:0,class:"speed-menu",onMouseleave:ne[15]||(ne[15]=ce=>T.value=!1)},[(Y(),ee(We,null,ot(M,ce=>V("div",{class:Je(["speed-menu-item",{active:ce.value===p.value}]),key:ce.label,onClick:ve=>C(ce.value)},gt(ce.label),11,Dce)),64))],32)):Ze("",!0)])]),V("div",{class:"loop",onClick:ne[16]||(ne[16]=ce=>Ae())},[V("div",{class:Je(["icon loop-icon",{active:d.value}])},[V("span",Kce,"循环"+gt(d.value?"开":"关"),1)],2)])]),V("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:i,onMousedown:ne[17]||(ne[17]=ce=>B()),onTouchstart:ne[18]||(ne[18]=ce=>B()),onMousemove:ne[19]||(ne[19]=ce=>oe(ce)),onMouseenter:ne[20]||(ne[20]=ce=>m.value=!0),onMouseleave:ne[21]||(ne[21]=ce=>m.value=!1)},[V("div",{class:Je(["bar-time",{hidden:!m.value}]),style:we({left:x.value})},gt(A.value),7),V("div",Hce,[V("div",{class:"loaded",style:we({width:b.value})},null,4),V("div",{class:"played",style:we({width:g.value})},Jce,4)])],544)])],38)}}}),CF=Xe(zce,[["__scopeId","data-v-597c0901"]]),$ce=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=(o,i=!0)=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo,i))};return(o,i)=>{const a=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-video",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ke((Y(),ee("div",{class:"element-content",onMousedown:i[2]||(i[2]=s=>r(s,!1)),onTouchstart:i[3]||(i[3]=s=>r(s,!1))},[L(CF,{width:o.elementInfo.width,height:o.elementInfo.height,src:o.elementInfo.src,poster:o.elementInfo.poster,scale:G(n)},null,8,["width","height","src","poster","scale"]),(Y(),ee(We,null,ot(["t","b","l","r"],s=>V("div",{class:Je(["handler-border",s]),key:s,onMousedown:i[0]||(i[0]=c=>r(c)),onTouchstart:i[1]||(i[1]=c=>r(c))},null,34)),64))],32)),[[a,o.contextmenus]])],4)],6)}}}),IF=Xe($ce,[["__scopeId","data-v-c50d3bc7"]]),FF=e=>(rn("data-v-32038f5c"),e=e(),on(),e),jce=["src","autoplay"],qce={class:"controller"},eue={class:"icons"},tue={class:"icon-content"},nue={class:"volume"},rue={class:"icon-content"},oue=FF(()=>V("span",{class:"thumb"},null,-1)),iue=[oue],aue={class:"time"},sue={class:"ptime"},lue={class:"dtime"},cue={class:"bar"},uue=FF(()=>V("span",{class:"thumb"},null,-1)),fue=[uue],due=Ie({__name:"AudioPlayer",props:{src:{},loop:{type:Boolean},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e,{expose:t}){const n=e,r=(U=0)=>{if(U===0||isNaN(U))return"00:00";const te=Ae=>Ae<10?"0"+Ae:""+Ae,z=Math.floor(U/3600),oe=Math.floor((U-z*3600)/60),pe=Math.floor(U-z*3600-oe*60);return(z>0?[z,oe,pe]:[oe,pe]).map(te).join(":")},o=U=>U.getBoundingClientRect().left,i=he(),a=he(),s=he(),c=he(.5),l=he(!0),u=he(0),f=he(0),d=he(0),h=he(!1),p=he("00:00"),m=he("0"),A=Me(()=>r(u.value)),x=Me(()=>r(f.value)),y=Me(()=>u.value/f.value*100+"%"),R=Me(()=>d.value/f.value*100+"%"),g=Me(()=>c.value*100+"%"),b=U=>{i.value&&(U=Math.max(U,0),U=Math.min(U,f.value),i.value.currentTime=U,u.value=U)},w=()=>{i.value&&(l.value=!1,i.value.play())},T=()=>{i.value&&(l.value=!0,i.value.pause())},M=()=>{l.value?w():T()},O=U=>{i.value&&(U=Math.max(U,0),U=Math.min(U,1),i.value.volume=U,c.value=U,i.value.muted&&U!==0&&(i.value.muted=!1))},k=()=>{var U;f.value=((U=i.value)==null?void 0:U.duration)||0},F=()=>{var U;u.value=((U=i.value)==null?void 0:U.currentTime)||0},N=()=>{l.value=!1},E=()=>{n.loop?(b(0),w()):T()},C=()=>{var U;d.value=(U=i.value)!=null&&U.buffered.length?i.value.buffered.end(i.value.buffered.length-1):0},_=()=>bn.error("视频加载失败"),I=U=>{if(!i.value||!a.value)return;let z=(("clientX"in U?U.clientX:U.changedTouches[0].clientX)-o(a.value))/a.value.clientWidth;z=Math.max(z,0),z=Math.min(z,1);const oe=z*f.value;i.value.currentTime=oe,u.value=oe},W=U=>{if(!i.value||!a.value)return;let z=(("clientX"in U?U.clientX:U.changedTouches[0].clientX)-o(a.value))/a.value.clientWidth;z=Math.max(z,0),z=Math.min(z,1);const oe=z*f.value;i.value.currentTime=oe,u.value=oe,document.removeEventListener("mousemove",I),document.removeEventListener("touchmove",I),document.removeEventListener("mouseup",W),document.removeEventListener("touchend",W)},Z=()=>{document.addEventListener("mousemove",I),document.addEventListener("touchmove",I),document.addEventListener("mouseup",W),document.addEventListener("touchend",W)},J=U=>{if(!s.value)return;const z=(("clientX"in U?U.clientX:U.changedTouches[0].clientX)-o(s.value))/45;O(z)},le=()=>{document.removeEventListener("mousemove",J),document.removeEventListener("touchmove",J),document.removeEventListener("mouseup",le),document.removeEventListener("touchend",le)},D=()=>{document.addEventListener("mousemove",J),document.addEventListener("touchmove",J),document.addEventListener("mouseup",le),document.addEventListener("touchend",le)},Q=U=>{if(!s.value)return;const te=(U.clientX-o(s.value))/45;O(te)},B=U=>{if(f.value&&a.value){const te=a.value.getBoundingClientRect().left,z=U.clientX-te;if(z<0||z>a.value.offsetWidth)return;const oe=f.value*(z/a.value.offsetWidth);m.value=`${z-(oe>=3600?25:20)}px`,p.value=r(oe),h.value=!0}},H=()=>{i.value&&(i.value.muted?(i.value.muted=!1,O(.5)):(i.value.muted=!0,O(0)))};return t({toggle:M}),(U,te)=>{const z=be("IconPlayOne"),oe=be("IconPause"),pe=be("IconVolumeMute"),Ae=be("IconVolumeNotice"),me=be("IconVolumeSmall");return Y(),ee("div",{class:"audio-player",style:we({transform:`scale(${1/U.scale})`})},[V("audio",{class:"audio",ref_key:"audioRef",ref:i,src:U.src,autoplay:U.autoplay,onDurationchange:te[0]||(te[0]=$=>k()),onTimeupdate:te[1]||(te[1]=$=>F()),onPlay:te[2]||(te[2]=$=>N()),onEnded:te[3]||(te[3]=$=>E()),onProgress:te[4]||(te[4]=$=>C()),onError:te[5]||(te[5]=$=>_())},null,40,jce),V("div",qce,[V("div",eue,[V("div",{class:"icon play-icon",onClick:te[6]||(te[6]=$=>M())},[V("span",tue,[l.value?(Y(),Te(z,{key:0})):(Y(),Te(oe,{key:1}))])]),V("div",nue,[V("div",{class:"icon volume-icon",onClick:te[7]||(te[7]=$=>H())},[V("span",rue,[c.value===0?(Y(),Te(pe,{key:0})):c.value===1?(Y(),Te(Ae,{key:1})):(Y(),Te(me,{key:2}))])]),V("div",{class:"volume-bar-wrap",onMousedown:te[8]||(te[8]=$=>D()),onTouchstart:te[9]||(te[9]=$=>D()),onClick:te[10]||(te[10]=$=>Q($))},[V("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:s},[V("div",{class:"volume-bar-inner",style:we({width:g.value})},iue,4)],512)],32)])]),V("span",aue,[V("span",sue,gt(A.value),1),Ve(" / "),V("span",lue,gt(x.value),1)]),V("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:a,onMousedown:te[11]||(te[11]=$=>Z()),onTouchstart:te[12]||(te[12]=$=>Z()),onMousemove:te[13]||(te[13]=$=>B($)),onMouseenter:te[14]||(te[14]=$=>h.value=!0),onMouseleave:te[15]||(te[15]=$=>h.value=!1)},[V("div",{class:Je(["bar-time",{hidden:!h.value}]),style:we({left:m.value})},gt(p.value),7),V("div",cue,[V("div",{class:"loaded",style:we({width:R.value})},null,4),V("div",{class:"played",style:we({width:y.value})},fue,4)])],544)])],4)}}}),_F=Xe(due,[["__scopeId","data-v-32038f5c"]]),hue=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n,handleElementId:r}=Ee(ft()),{viewportRatio:o}=Ee(lt()),i=Me(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),a=Me(()=>{const c=Ht,l=Ht*o.value,u=280/n.value,f=50/n.value,d=t.elementInfo.width,h=t.elementInfo.height,p=t.elementInfo.left,m=t.elementInfo.top;let A=0,x=h;return p+u>=c&&(A=d-u),m+h+f>=l&&(x=-f),{left:A+"px",top:x+"px"}}),s=c=>{t.elementInfo.lock||(c.stopPropagation(),t.selectElement(c,t.elementInfo))};return(c,l)=>{const u=be("IconVolumeNotice"),f=Sn("contextmenu");return Y(),ee("div",{class:Je(["editable-element-audio",{lock:c.elementInfo.lock}]),style:we({top:c.elementInfo.top+"px",left:c.elementInfo.left+"px",width:c.elementInfo.width+"px",height:c.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${c.elementInfo.rotate}deg)`})},[Ke((Y(),ee("div",{class:"element-content",onMousedown:l[1]||(l[1]=d=>s(d)),onTouchstart:l[2]||(l[2]=d=>s(d))},[L(u,{class:"audio-icon",style:we({fontSize:i.value,color:c.elementInfo.color})},null,8,["style"]),G(r)===c.elementInfo.id?(Y(),Te(_F,{key:0,class:"audio-player",style:we({...a.value}),src:c.elementInfo.src,loop:c.elementInfo.loop,scale:G(n),onMousedown:l[0]||(l[0]=Wt(()=>{},["stop"]))},null,8,["style","src","loop","scale"])):Ze("",!0)],32)),[[f,c.contextmenus]])],4)],6)}}}),EF=Xe(hue,[["__scopeId","data-v-5d8373ba"]]),pue=["id"],mue=Ie({__name:"EditableElement",props:{elementInfo:{},elementIndex:{},isMultiSelect:{type:Boolean},selectElement:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,n=Me(()=>({[kt.IMAGE]:yI,[kt.TEXT]:hF,[kt.SHAPE]:mF,[kt.LINE]:vF,[kt.CHART]:wF,[kt.TABLE]:NF,[kt.LATEX]:PF,[kt.VIDEO]:IF,[kt.AUDIO]:EF})[t.elementInfo.type]||null),{orderElement:r}=Tp(),{alignElementToCanvas:o}=i2(),{combineElements:i,uncombineElements:a}=Cb(),{deleteElement:s}=Op(),{lockElement:c,unlockElement:l}=$P(),{copyElement:u,pasteElement:f,cutElement:d}=Ib(),{selectAllElements:h}=Kg(),p=()=>t.elementInfo.lock?[{text:"解锁",handler:()=>l(t.elementInfo)}]:[{text:"剪切",subText:"Ctrl + X",handler:d},{text:"复制",subText:"Ctrl + C",handler:u},{text:"粘贴",subText:"Ctrl + V",handler:f},{divider:!0},{text:"水平居中",handler:()=>o(nn.HORIZONTAL),children:[{text:"水平垂直居中",handler:()=>o(nn.CENTER)},{text:"水平居中",handler:()=>o(nn.HORIZONTAL)},{text:"左对齐",handler:()=>o(nn.LEFT)},{text:"右对齐",handler:()=>o(nn.RIGHT)}]},{text:"垂直居中",handler:()=>o(nn.VERTICAL),children:[{text:"水平垂直居中",handler:()=>o(nn.CENTER)},{text:"垂直居中",handler:()=>o(nn.VERTICAL)},{text:"顶部对齐",handler:()=>o(nn.TOP)},{text:"底部对齐",handler:()=>o(nn.BOTTOM)}]},{divider:!0},{text:"置于顶层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,hr.TOP),children:[{text:"置于顶层",handler:()=>r(t.elementInfo,hr.TOP)},{text:"上移一层",handler:()=>r(t.elementInfo,hr.UP)}]},{text:"置于底层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,hr.BOTTOM),children:[{text:"置于底层",handler:()=>r(t.elementInfo,hr.BOTTOM)},{text:"下移一层",handler:()=>r(t.elementInfo,hr.DOWN)}]},{divider:!0},{text:"设置链接",handler:t.openLinkDialog},{text:t.elementInfo.groupId?"取消组合":"组合",subText:"Ctrl + G",handler:t.elementInfo.groupId?a:i,hide:!t.isMultiSelect},{text:"全选",subText:"Ctrl + A",handler:h},{text:"锁定",subText:"Ctrl + L",handler:c},{text:"删除",subText:"Delete",handler:s}];return(m,A)=>(Y(),ee("div",{class:"editable-element",ref:"elementRef",id:`editable-element-${m.elementInfo.id}`,style:we({zIndex:m.elementIndex})},[(Y(),Te(xs(n.value),{elementInfo:m.elementInfo,selectElement:m.selectElement,contextmenus:p},null,8,["elementInfo","selectElement"]))],12,pue))}}),vue=Ie({__name:"MouseSelection",props:{top:{},left:{},width:{},height:{},quadrant:{}},setup(e){return(t,n)=>(Y(),ee("div",{class:Je(`mouse-selection quadrant-${t.quadrant}`),style:we({top:t.top+"px",left:t.left+"px",width:t.width+"px",height:t.height+"px"})},null,6))}}),gue=Xe(vue,[["__scopeId","data-v-053bfa3e"]]),Aue={class:"grid-lines"},Rue=["d","stroke"],yue=Ie({__name:"GridLines",setup(e){const{canvasScale:t,gridLineSize:n}=Ee(ft()),{currentSlide:r,viewportRatio:o}=Ee(lt()),i=Me(()=>{var c;return(c=r.value)==null?void 0:c.background}),a=Me(()=>{var u;const c=((u=i.value)==null?void 0:u.color)||"#fff",l=["#000","#fff"];return rt.mostReadable(c,l,{includeFallbackColors:!0}).setAlpha(.5).toRgbString()}),s=Me(()=>{const c=Ht,l=Ht*o.value;let u="";for(let f=0;f<=Math.floor(l/n.value);f++)u+=`M0 ${f*n.value} L${c} ${f*n.value} `;for(let f=0;f<=Math.floor(c/n.value);f++)u+=`M${f*n.value} 0 L${f*n.value} ${l} `;return u});return(c,l)=>(Y(),ee("svg",Aue,[V("path",{style:we({transform:`scale(${G(t)})`}),d:s.value,fill:"none",stroke:a.value,"stroke-width":"0.3","stroke-dasharray":"5"},null,12,Rue)]))}}),xue=Xe(yue,[["__scopeId","data-v-d6e1ea18"]]),f2=e=>({backgroundStyle:Me(()=>{if(!e.value)return{backgroundColor:"#fff"};const{type:n,color:r,image:o,imageSize:i,gradientColor:a,gradientRotate:s,gradientType:c}=e.value;if(n==="solid")return{backgroundColor:r};if(n==="image")return o?i==="repeat"?{backgroundImage:`url(${o}`,backgroundRepeat:"repeat",backgroundSize:"contain"}:{backgroundImage:`url(${o}`,backgroundRepeat:"no-repeat",backgroundSize:i||"cover"}:{backgroundColor:"#fff"};if(n==="gradient"){const l=s||0,u=a?a[0]:"#fff",f=a?a[1]:"#fff";return c==="radial"?{backgroundImage:`radial-gradient(${u}, ${f}`}:{backgroundImage:`linear-gradient(${l}deg, ${u}, ${f}`}}return{backgroundColor:"#fff"}})}),bue=Ie({__name:"ViewportBackground",setup(e){const{gridLineSize:t}=Ee(ft()),{currentSlide:n}=Ee(lt()),r=Me(()=>{var i;return(i=n.value)==null?void 0:i.background}),{backgroundStyle:o}=f2(r);return(i,a)=>(Y(),ee("div",{class:"viewport-background",style:we(G(o))},[G(t)?(Y(),Te(xue,{key:0})):Ze("",!0)],4))}}),Sue=Xe(bue,[["__scopeId","data-v-203ea8ff"]]),Mue=Ie({__name:"AlignmentLine",props:{type:{},axis:{},length:{},canvasScale:{}},setup(e){const t=e,n=Me(()=>t.axis.x*t.canvasScale+"px"),r=Me(()=>t.axis.y*t.canvasScale+"px"),o=Me(()=>t.type==="vertical"?{height:t.length*t.canvasScale+"px"}:{width:t.length*t.canvasScale+"px"});return(i,a)=>(Y(),ee("div",{class:"alignment-line",style:we({left:n.value,top:r.value})},[V("div",{class:Je(["line",i.type]),style:we(o.value)},null,6)],4))}}),XF=Xe(Mue,[["__scopeId","data-v-7cd3d25d"]]),wue={class:"ruler"},Lue=Ie({__name:"Ruler",props:{viewportStyles:{}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.viewportStyles.width*n.value/10);return(o,i)=>(Y(),ee("div",wue,[V("div",{class:"h",style:we({width:o.viewportStyles.width*G(n)+"px",left:o.viewportStyles.left+"px"})},[(Y(),ee(We,null,ot(20,a=>V("div",{class:Je(["ruler-marker-100",{hide:r.value<36,omit:r.value<72}]),key:`marker-100-${a}`},[V("span",null,gt(a),1)],2)),64))],4),V("div",{class:"v",style:we({height:o.viewportStyles.height*G(n)+"px",top:o.viewportStyles.top+"px"})},[(Y(),ee(We,null,ot(20,a=>V("div",{class:Je(["ruler-marker-100",{hide:r.value<36,omit:r.value<72}]),key:a,style:we({height:r.value+"px"})},[V("span",null,gt(a),1)],6)),64))],4)]))}}),Oue=Xe(Lue,[["__scopeId","data-v-b01be305"]]),Tue=["width","height"],kue=["d"],Nue=Ie({__name:"ElementCreateSelection",emits:["created"],setup(e,{emit:t}){const n=t,r=ft(),{creatingElement:o}=Ee(r),{ctrlOrShiftKeyActive:i}=Ee(Ss()),a=he(),s=he(),c=he(),l=he({x:0,y:0});Gt(()=>{if(!c.value)return;const{x:h,y:p}=c.value.getBoundingClientRect();l.value={x:h,y:p}});const u=h=>{let p=!0;const m=h.pageX,A=h.pageY;a.value=[m,A],document.onmousemove=x=>{if(!o.value||!p)return;let y=x.pageX,R=x.pageY;if(i.value){const g=y-m,b=R-A,w=Math.abs(g),T=Math.abs(b);if(o.value.type==="shape"){const M=b>0&&g<0||b<0&&g>0;w>T?R=M?A-g:A+g:y=M?m-b:m+b}else o.value.type==="line"&&(w>T?R=A:y=m)}s.value=[y,R]},document.onmouseup=x=>{var b,w;if(document.onmousemove=null,document.onmouseup=null,x.button===2){setTimeout(()=>r.setCreatingElement(null),0);return}p=!1;const y=x.pageX,R=x.pageY,g=30;if(((b=o.value)==null?void 0:b.type)==="line"&&(Math.abs(y-m)>=g||Math.abs(R-A)>=g))n("created",{start:a.value,end:s.value});else if(((w=o.value)==null?void 0:w.type)!=="line"&&Math.abs(y-m)>=g&&Math.abs(R-A)>=g)n("created",{start:a.value,end:s.value});else{const M=Math.min(y,m),O=Math.min(R,A),k=Math.max(y,m),F=Math.max(R,A),N=k-M>=g?k-M:200,E=F-O>=g?F-O:200;n("created",{start:[M,O],end:[M+N,O+E]})}}},f=Me(()=>{if(!a.value||!s.value||!o.value||o.value.type!=="line")return null;const[h,p]=a.value,[m,A]=s.value,x=Math.min(h,m),y=Math.max(h,m),R=Math.min(p,A),g=Math.max(p,A),b=y-x>=24?y-x:24,w=g-R>=24?g-R:24,T=h===x?0:y-x,M=p===R?0:g-R,O=m===x?0:y-x,k=A===R?0:g-R,F=`M${T}, ${M} L${O}, ${k}`;return{svgWidth:b,svgHeight:w,startX:T,startY:M,endX:O,endY:k,path:F}}),d=Me(()=>{if(!a.value||!s.value)return{};const[h,p]=a.value,[m,A]=s.value,x=Math.min(h,m),y=Math.max(h,m),R=Math.min(p,A),g=Math.max(p,A),b=y-x,w=g-R;return{left:x-l.value.x+"px",top:R-l.value.y+"px",width:b+"px",height:w+"px"}});return(h,p)=>{var m,A;return Y(),ee("div",{class:"element-create-selection",ref_key:"selectionRef",ref:c,onMousedown:p[0]||(p[0]=Wt(x=>u(x),["stop"])),onContextmenu:p[1]||(p[1]=Wt(()=>{},["stop","prevent"]))},[a.value&&s.value?(Y(),ee("div",{key:0,class:Je(["selection",(m=G(o))==null?void 0:m.type]),style:we(d.value)},[((A=G(o))==null?void 0:A.type)==="line"&&f.value?(Y(),ee("svg",{key:0,overflow:"visible",width:f.value.svgWidth,height:f.value.svgHeight},[V("path",{d:f.value.path,stroke:"#d14424",fill:"none","stroke-width":"2"},null,8,kue)],8,Tue)):Ze("",!0)],6)):Ze("",!0)],544)}}}),Pue=Xe(Nue,[["__scopeId","data-v-7b17a883"]]),Cue={overflow:"visible"},Iue=["d","fill"],Fue=Ie({__name:"ShapeCreateCanvas",emits:["created"],setup(e,{emit:t}){const n=t,r=ft(),{ctrlOrShiftKeyActive:o}=Ee(Ss()),{theme:i}=Ee(lt()),a=he(),s=he(!1),c=he({x:0,y:0});Gt(()=>{if(!a.value)return;const{x:g,y:b}=a.value.getBoundingClientRect();c.value={x:g,y:b}});const l=he(null),u=he([]),f=he(!1),d=(g,b=!1)=>{let w=g.pageX-c.value.x,T=g.pageY-c.value.y;if(b)return{pageX:w,pageY:T};if(o.value&&u.value.length){const[M,O]=u.value[u.value.length-1];Math.abs(M-w)-Math.abs(O-T)>0?T=O:w=M}return{pageX:w,pageY:T}},h=g=>{if(s.value){const{pageX:T,pageY:M}=d(g,!0);u.value.push([T,M]),l.value=null;return}const{pageX:b,pageY:w}=d(g);if(l.value=[b,w],u.value.length>=2){const[T,M]=u.value[0];Math.abs(T-b)<5&&Math.abs(M-w)<5?f.value=!0:f.value=!1}else f.value=!1},p=Me(()=>{let g="";for(let b=0;b{const b=u.value.map(I=>I[0]),w=u.value.map(I=>I[1]),T=Math.min(...b),M=Math.min(...w),O=Math.max(...b),k=Math.max(...w),F=u.value.map(I=>[I[0]-T,I[1]-M]);let N="";for(let I=0;I{const{pageX:b,pageY:w}=d(g);s.value=!0,f.value?n("created",m()):u.value.push([b,w]),document.onmouseup=()=>{s.value=!1}},x=()=>{r.setCreatingCustomShapeState(!1)},y=()=>{n("created",{...m(!1),fill:"rgba(0, 0, 0, 0)",outline:{width:2,color:i.value.themeColor,style:"solid"}}),x()},R=g=>{const b=g.key.toUpperCase();b===yt.ESC&&x(),b===yt.ENTER&&y()};return Gt(()=>{bn.success("点击绘制任意形状,首尾闭合完成绘制,按 ESC 键或鼠标右键取消,按 ENTER 键提前完成",{duration:0}),document.addEventListener("keydown",R)}),wn(()=>{document.removeEventListener("keydown",R),bn.closeAll()}),(g,b)=>(Y(),ee("div",{class:"shape-create-canvas",ref_key:"shapeCanvasRef",ref:a,onMousedown:b[0]||(b[0]=Wt(w=>A(w),["stop"])),onMousemove:b[1]||(b[1]=w=>h(w)),onContextmenu:b[2]||(b[2]=Wt(w=>x(),["stop","prevent"]))},[(Y(),ee("svg",Cue,[V("path",{d:p.value,stroke:"#d14424",fill:f.value?"rgba(226, 83, 77, 0.15)":"none","stroke-width":"2"},null,8,Iue)]))],544))}}),_ue=Xe(Fue,[["__scopeId","data-v-8ea8c340"]]),ef=(e,t)=>{const n=Me(()=>[{direction:mt.LEFT_TOP,style:{}},{direction:mt.TOP,style:{left:e.value/2+"px"}},{direction:mt.RIGHT_TOP,style:{left:e.value+"px"}},{direction:mt.LEFT,style:{top:t.value/2+"px"}},{direction:mt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}},{direction:mt.LEFT_BOTTOM,style:{top:t.value+"px"}},{direction:mt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}},{direction:mt.RIGHT_BOTTOM,style:{left:e.value+"px",top:t.value+"px"}}]),r=Me(()=>[{direction:mt.LEFT,style:{top:t.value/2+"px"}},{direction:mt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}}]),o=Me(()=>[{direction:mt.TOP,style:{left:e.value/2+"px"}},{direction:mt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}}]),i=Me(()=>[{type:X0.T,style:{width:e.value+"px"}},{type:X0.B,style:{top:t.value+"px",width:e.value+"px"}},{type:X0.L,style:{height:t.value+"px"}},{type:X0.R,style:{left:e.value+"px",height:t.value+"px"}}]);return{resizeHandlers:n,textElementResizeHandlers:r,verticalTextElementResizeHandlers:o,borderLines:i}},Eue=Ie({__name:"ResizeHandler",props:{type:{},rotate:{default:0}},setup(e){const t=e,n=Me(()=>{const r="rotate-",o=t.rotate;return o>-22.5&&o<=22.5?r+0:o>22.5&&o<=67.5?r+45:o>67.5&&o<=112.5?r+90:o>112.5&&o<=157.5?r+135:o>157.5||o<=-157.5?r+0:o>-157.5&&o<=-112.5?r+45:o>-112.5&&o<=-67.5?r+90:o>-67.5&&o<=-22.5?r+135:r+0});return(r,o)=>(Y(),ee("div",{class:Je(["resize-handler",n.value,r.type])},null,2))}}),Oc=Xe(Eue,[["__scopeId","data-v-bb3f9e62"]]),Xue=Ie({__name:"BorderLine",props:{type:{},isWide:{type:Boolean,default:!1}},setup(e){return(t,n)=>(Y(),ee("div",{class:Je(["border-line",t.type,{wide:t.isWide}])},null,2))}}),tf=Xe(Xue,[["__scopeId","data-v-7114fb45"]]),Wue=Ie({__name:"MultiSelectOperate",props:{elementList:{},scaleMultiElement:{type:Function}},setup(e){const t=e,{activeElementIdList:n,canvasScale:r}=Ee(ft()),o=Me(()=>t.elementList.filter(d=>n.value.includes(d.id))),i=he({minX:0,maxX:0,minY:0,maxY:0}),a=Me(()=>(i.value.maxX-i.value.minX)*r.value),s=Me(()=>(i.value.maxY-i.value.minY)*r.value),{resizeHandlers:c,borderLines:l}=ef(a,s);Lg(()=>{const{minX:d,maxX:h,minY:p,maxY:m}=ec(o.value);i.value={minX:d,maxX:h,minY:p,maxY:m}});const f=Me(()=>o.value.some(d=>!((d.type==="image"||d.type==="shape")&&!d.rotate)));return(d,h)=>(Y(),ee("div",{class:"multi-select-operate",style:we({left:i.value.minX*G(r)+"px",top:i.value.minY*G(r)+"px"})},[(Y(!0),ee(We,null,ot(G(l),p=>(Y(),Te(tf,{key:p.type,type:p.type,style:we(p.style)},null,8,["type","style"]))),128)),f.value?Ze("",!0):(Y(!0),ee(We,{key:0},ot(G(c),p=>(Y(),Te(Oc,{key:p.direction,type:p.direction,style:we(p.style),onMousedown:Wt(m=>d.scaleMultiElement(m,i.value,p.direction),["stop"])},null,8,["type","style","onMousedown"]))),128))],4))}}),Vue=Xe(Wue,[["__scopeId","data-v-135c8cb7"]]),Uue={},Yue={class:"rotate-handler"};function Que(e,t){return Y(),ee("div",Yue)}const Gd=Xe(Uue,[["render",Que],["__scopeId","data-v-9f21fc0f"]]),Zue={inheritAttrs:!1},Bue=Ie({...Zue,__name:"ImageElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n,clipingImageElementId:r}=Ee(ft()),o=Me(()=>r.value===t.elementInfo.id),i=Me(()=>t.elementInfo.width*n.value),a=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:s,borderLines:c}=ef(i,a);return(l,u)=>(Y(),ee("div",{class:Je(["image-element-operate",{cliping:o.value}])},[(Y(!0),ee(We,null,ot(G(c),f=>(Y(),Te(tf,{class:"operate-border-line",key:f.type,type:f.type,style:we(f.style)},null,8,["type","style"]))),128)),l.handlerVisible?(Y(),ee(We,{key:0},[(Y(!0),ee(We,null,ot(G(s),f=>(Y(),Te(Oc,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:l.elementInfo.rotate,style:we(f.style),onMousedown:Wt(d=>l.scaleElement(d,l.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),L(Gd,{class:"operate-rotate-handler",style:we({left:i.value/2+"px"}),onMousedown:u[0]||(u[0]=Wt(f=>l.rotateElement(f,l.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)],2))}}),Due=Xe(Bue,[["__scopeId","data-v-2a1bef4e"]]),Kue={class:"text-element-operate"},Hue={inheritAttrs:!1},Gue=Ie({...Hue,__name:"TextElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{textElementResizeHandlers:i,verticalTextElementResizeHandlers:a,borderLines:s}=ef(r,o),c=Me(()=>t.elementInfo.vertical?a.value:i.value);return(l,u)=>(Y(),ee("div",Kue,[(Y(!0),ee(We,null,ot(G(s),f=>(Y(),Te(tf,{class:"operate-border-line",key:f.type,type:f.type,style:we(f.style)},null,8,["type","style"]))),128)),l.handlerVisible?(Y(),ee(We,{key:0},[(Y(!0),ee(We,null,ot(c.value,f=>(Y(),Te(Oc,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:l.elementInfo.rotate,style:we(f.style),onMousedown:Wt(d=>l.scaleElement(d,l.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),L(Gd,{class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Wt(f=>l.rotateElement(f,l.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)]))}}),Jue={class:"shape-element-operate"},zue={inheritAttrs:!1},$ue=Ie({...zue,__name:"ShapeElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},moveShapeKeypoint:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:i,borderLines:a}=ef(r,o),s=Me(()=>{if(!t.elementInfo.pathFormula||t.elementInfo.keypoint===void 0)return{};const c=Gu[t.elementInfo.pathFormula];if("editable"in c){const l=c.getBaseSize(t.elementInfo.width,t.elementInfo.height)*t.elementInfo.keypoint;if(c.relative==="left")return{left:l*n.value+"px"};if(c.relative==="right")return{left:(t.elementInfo.width-l)*n.value+"px"};if(c.relative==="center")return{left:(t.elementInfo.width-l)/2*n.value+"px"};if(c.relative==="top")return{top:l*n.value+"px"};if(c.relative==="bottom")return{top:(t.elementInfo.height-l)*n.value+"px"}}return{}});return(c,l)=>(Y(),ee("div",Jue,[(Y(!0),ee(We,null,ot(G(a),u=>(Y(),Te(tf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Y(),ee(We,{key:0},[(Y(!0),ee(We,null,ot(G(i),u=>(Y(),Te(Oc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Wt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),L(Gd,{class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:l[0]||(l[0]=Wt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"]),c.elementInfo.keypoint!==void 0?(Y(),ee("div",{key:0,class:"operate-keypoint-handler",style:we(s.value),onMousedown:l[1]||(l[1]=Wt(u=>c.moveShapeKeypoint(u,c.elementInfo),["stop"]))},null,36)):Ze("",!0)],64)):Ze("",!0)]))}}),jue=Xe($ue,[["__scopeId","data-v-e65e73bd"]]),que={class:"line-element-operate"},efe=["width","height","stroke"],tfe={key:0},nfe=["x1","y1","x2","y2"],rfe=["x1","y1","x2","y2"],ofe=["x1","y1","x2","y2"],ife=["x1","y1","x2","y2"],afe={inheritAttrs:!1},sfe=Ie({...afe,__name:"LineElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},dragLineElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>Math.max(t.elementInfo.start[0],t.elementInfo.end[0])),o=Me(()=>Math.max(t.elementInfo.start[1],t.elementInfo.end[1])),i=Me(()=>{const a=[{handler:Go.START,style:{left:t.elementInfo.start[0]*n.value+"px",top:t.elementInfo.start[1]*n.value+"px"}},{handler:Go.END,style:{left:t.elementInfo.end[0]*n.value+"px",top:t.elementInfo.end[1]*n.value+"px"}}];if(t.elementInfo.curve||t.elementInfo.broken){const s=t.elementInfo.curve||t.elementInfo.broken;a.push({handler:Go.C,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}})}else if(t.elementInfo.cubic){const[s,c]=t.elementInfo.cubic;a.push({handler:Go.C1,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}}),a.push({handler:Go.C2,style:{left:c[0]*n.value+"px",top:c[1]*n.value+"px"}})}return a});return(a,s)=>(Y(),ee("div",que,[a.handlerVisible?(Y(),ee(We,{key:0},[(Y(!0),ee(We,null,ot(i.value,c=>(Y(),Te(Oc,{class:"operate-resize-handler",key:c.handler,style:we(c.style),onMousedown:Wt(l=>a.dragLineElement(l,a.elementInfo,c.handler),["stop"])},null,8,["style","onMousedown"]))),128)),(Y(),ee("svg",{width:r.value||1,height:o.value||1,stroke:a.elementInfo.color,overflow:"visible",style:we({transform:`scale(${G(n)})`})},[a.elementInfo.curve?(Y(),ee("g",tfe,[V("line",{class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,nfe),V("line",{class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,rfe)])):Ze("",!0),a.elementInfo.cubic?(Y(!0),ee(We,{key:1},ot(a.elementInfo.cubic,(c,l)=>(Y(),ee("g",{key:l},[l===0?(Y(),ee("line",{key:0,class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:c[0],y2:c[1]},null,8,ofe)):Ze("",!0),l===1?(Y(),ee("line",{key:1,class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:c[0],y2:c[1]},null,8,ife)):Ze("",!0)]))),128)):Ze("",!0)],12,efe))],64)):Ze("",!0)]))}}),lfe=Xe(sfe,[["__scopeId","data-v-32a06240"]]),cfe={class:"table-element-operate"},ufe={inheritAttrs:!1},ffe=Ie({...ufe,__name:"TableElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.elementInfo.outline.width||1),o=Me(()=>(t.elementInfo.width+r.value)*n.value),i=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:a,borderLines:s}=ef(o,i);return(c,l)=>(Y(),ee("div",cfe,[(Y(!0),ee(We,null,ot(G(s),u=>(Y(),Te(tf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Y(),ee(We,{key:0},[(Y(!0),ee(We,null,ot(G(a),u=>(Y(),Te(Oc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Wt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),L(Gd,{class:"operate-rotate-handler",style:we({left:o.value/2+"px"}),onMousedown:l[0]||(l[0]=Wt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)]))}}),dfe={class:"common-element-operate"},hfe={inheritAttrs:!1},ym=Ie({...hfe,__name:"CommonElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:i,borderLines:a}=ef(r,o),s=Me(()=>["chart","video","audio"].includes(t.elementInfo.type));return(c,l)=>(Y(),ee("div",dfe,[(Y(!0),ee(We,null,ot(G(a),u=>(Y(),Te(tf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Y(),ee(We,{key:0},[(Y(!0),ee(We,null,ot(G(i),u=>(Y(),Te(Oc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Wt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),s.value?Ze("",!0):(Y(),Te(Gd,{key:0,class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:l[0]||(l[0]=Wt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"]))],64)):Ze("",!0)]))}}),WF=()=>{const e=lt(),{addHistorySnapshot:t}=Jt();return{setLink:(o,i)=>{const a=/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/;if(i.type==="web"&&!a.test(i.target))return bn.error("不是正确的网页链接地址"),!1;if(i.type==="slide"&&!i.target)return bn.error("请先选择链接目标"),!1;const s={link:i};return e.updateElement({id:o.id,props:s}),t(),!0},removeLink:o=>{e.removeElementProps({id:o.id,propName:"link"}),t()}}},pfe=Ie({__name:"Divider",props:{type:{default:"horizontal"},margin:{default:0}},setup(e){return(t,n)=>(Y(),ee("div",{class:Je(["divider",t.type]),style:we({margin:t.type==="horizontal"?`${t.margin||24}px 0`:`0 ${t.margin||8}px`})},null,6))}}),Ut=Xe(pfe,[["__scopeId","data-v-c7c64e0b"]]),mfe=["href"],vfe={class:"btns"},gfe=Ie({__name:"LinkHandler",props:{elementInfo:{},link:{},openLinkDialog:{type:Function}},setup(e){const t=e,n=ft(),r=lt(),{canvasScale:o}=Ee(n),{slides:i}=Ee(r),{removeLink:a}=WF(),s=Me(()=>t.elementInfo.type==="line"?0:t.elementInfo.height),c=l=>{const u=i.value.findIndex(f=>f.id===l);u!==-1&&(n.setActiveElementIdList([]),r.updateSlideIndex(u))};return(l,u)=>(Y(),ee("div",{class:"link-handler",style:we({top:s.value*G(o)+10+"px"})},[l.link.type==="web"?(Y(),ee("a",{key:0,class:"link",href:l.link.target,target:"_blank"},gt(l.link.target),9,mfe)):(Y(),ee("a",{key:1,class:"link",onClick:u[0]||(u[0]=f=>c(l.link.target))},"幻灯片页面 "+gt(l.link.target),1)),V("div",vfe,[V("div",{class:"btn",onClick:u[1]||(u[1]=f=>l.openLinkDialog())},"更换"),L(Ut,{type:"vertical"}),V("div",{class:"btn",onClick:u[2]||(u[2]=f=>G(a)(l.elementInfo))},"移除")])],4))}}),Afe=Xe(gfe,[["__scopeId","data-v-f8f46f78"]]),Rfe={key:1,class:"animation-index"},yfe=Ie({__name:"index",props:{elementInfo:{},isSelected:{type:Boolean},isActive:{type:Boolean},isActiveGroupElement:{type:Boolean},isMultiSelect:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},dragLineElement:{type:Function},moveShapeKeypoint:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,{canvasScale:n,toolbarState:r}=Ee(ft()),{formatedAnimations:o}=Ee(lt()),i=Me(()=>({[kt.IMAGE]:Due,[kt.TEXT]:Gue,[kt.SHAPE]:jue,[kt.LINE]:lfe,[kt.TABLE]:ffe,[kt.CHART]:ym,[kt.LATEX]:ym,[kt.VIDEO]:ym,[kt.AUDIO]:ym})[t.elementInfo.type]||null),a=Me(()=>{const l=[];for(let u=0;ud.elId).includes(t.elementInfo.id)&&l.push(u);return l}),s=Me(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),c=Me(()=>"height"in t.elementInfo?t.elementInfo.height:0);return(l,u)=>(Y(),ee("div",{class:Je(["operate",{"multi-select":l.isMultiSelect&&!l.isActive}]),style:we({top:l.elementInfo.top*G(n)+"px",left:l.elementInfo.left*G(n)+"px",transform:`rotate(${s.value}deg)`,transformOrigin:`${l.elementInfo.width*G(n)/2}px ${c.value*G(n)/2}px`})},[l.isSelected?(Y(),Te(xs(i.value),{key:0,elementInfo:l.elementInfo,handlerVisible:!l.elementInfo.lock&&(l.isActiveGroupElement||!l.isMultiSelect),rotateElement:l.rotateElement,scaleElement:l.scaleElement,dragLineElement:l.dragLineElement,moveShapeKeypoint:l.moveShapeKeypoint},null,8,["elementInfo","handlerVisible","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])):Ze("",!0),G(r)==="elAnimation"&&a.value.length?(Y(),ee("div",Rfe,[(Y(!0),ee(We,null,ot(a.value,f=>(Y(),ee("div",{class:"index-item",key:f},gt(f+1),1))),128))])):Ze("",!0),l.isActive&&l.elementInfo.link?(Y(),Te(Afe,{key:2,elementInfo:l.elementInfo,link:l.elementInfo.link,openLinkDialog:l.openLinkDialog,onMousedown:u[0]||(u[0]=Wt(()=>{},["stop"]))},null,8,["elementInfo","link","openLinkDialog"])):Ze("",!0)],6))}}),xfe=Xe(yfe,[["__scopeId","data-v-b96daa51"]]),bfe=["src"],Sfe=Ie({__name:"BaseImageElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=wc(n),o=Me(()=>t.elementInfo.flipH),i=Me(()=>t.elementInfo.flipV),{flipStyle:a}=a2(o,i),s=Me(()=>t.elementInfo.clip),{clipShape:c,imgPosition:l}=i5(s),u=Me(()=>t.elementInfo.filters),{filter:f}=gI(u);return(d,h)=>(Y(),ee("div",{class:"base-element-image",style:we({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({filter:G(r)?`drop-shadow(${G(r)})`:"",transform:G(a)})},[L(AI,{elementInfo:d.elementInfo},null,8,["elementInfo"]),V("div",{class:"image-content",style:we({clipPath:G(c).style})},[V("img",{src:d.elementInfo.src,draggable:!1,style:we({top:G(l).top,left:G(l).left,width:G(l).width,height:G(l).height,filter:G(f)}),alt:""},null,12,bfe),d.elementInfo.colorMask?(Y(),ee("div",{key:0,class:"color-mask",style:we({backgroundColor:d.elementInfo.colorMask})},null,4)):Ze("",!0)],4)],4)],4)],4))}}),VF=Xe(Sfe,[["__scopeId","data-v-71d24108"]]),Mfe=["innerHTML"],wfe=Ie({__name:"BaseTextElement",props:{elementInfo:{},target:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=wc(n);return(o,i)=>(Y(),ee("div",{class:"base-element-text",style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({width:o.elementInfo.vertical?"auto":o.elementInfo.width+"px",height:o.elementInfo.vertical?o.elementInfo.height+"px":"auto",backgroundColor:o.elementInfo.fill,opacity:o.elementInfo.opacity,textShadow:G(r),lineHeight:o.elementInfo.lineHeight,letterSpacing:(o.elementInfo.wordSpace||0)+"px",color:o.elementInfo.defaultColor,fontFamily:o.elementInfo.defaultFontName,writingMode:o.elementInfo.vertical?"vertical-rl":"horizontal-tb"})},[L(s2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),V("div",{class:Je(["text ProseMirror-static",{thumbnail:o.target==="thumbnail"}]),style:we({"--paragraphSpace":`${o.elementInfo.paragraphSpace===void 0?5:o.elementInfo.paragraphSpace}px`}),innerHTML:o.elementInfo.content},null,14,Mfe)],4)],4)],4))}}),UF=Xe(wfe,[["__scopeId","data-v-a3ec163d"]]),Lfe=["width","height"],Ofe={key:0},Tfe=["transform"],kfe=["d","fill","stroke","stroke-width","stroke-dasharray"],Nfe=["innerHTML"],Pfe=Ie({__name:"BaseShapeElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.outline),{outlineWidth:r,outlineColor:o,strokeDashArray:i}=Hd(n),a=Me(()=>t.elementInfo.shadow),{shadowStyle:s}=wc(a),c=Me(()=>t.elementInfo.flipH),l=Me(()=>t.elementInfo.flipV),{flipStyle:u}=a2(c,l),f=Me(()=>{const d={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:d});return(d,h)=>(Y(),ee("div",{class:"base-element-shape",style:we({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({opacity:d.elementInfo.opacity,filter:G(s)?`drop-shadow(${G(s)})`:"",transform:G(u),color:f.value.defaultColor,fontFamily:f.value.defaultFontName})},[(Y(),ee("svg",{overflow:"visible",width:d.elementInfo.width,height:d.elementInfo.height},[d.elementInfo.gradient?(Y(),ee("defs",Ofe,[L(pF,{id:`base-gradient-${d.elementInfo.id}`,type:d.elementInfo.gradient.type,color1:d.elementInfo.gradient.color[0],color2:d.elementInfo.gradient.color[1],rotate:d.elementInfo.gradient.rotate},null,8,["id","type","color1","color2","rotate"])])):Ze("",!0),V("g",{transform:`scale(${d.elementInfo.width/d.elementInfo.viewBox[0]}, ${d.elementInfo.height/d.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:d.elementInfo.path,fill:d.elementInfo.gradient?`url(#base-gradient-${d.elementInfo.id})`:d.elementInfo.fill,stroke:G(o),"stroke-width":G(r),"stroke-dasharray":G(i)},null,8,kfe)],8,Tfe)],8,Lfe)),V("div",{class:Je(["shape-text",f.value.align])},[V("div",{class:"ProseMirror-static",innerHTML:f.value.content},null,8,Nfe)],2)],4)],4)],4))}}),YF=Xe(Pfe,[["__scopeId","data-v-2d39d3d1"]]),Cfe=["width","height"],Ife=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Ffe=Ie({__name:"BaseLineElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=wc(n),o=Me(()=>{const c=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return c<24?24:c}),i=Me(()=>{const c=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return c<24?24:c}),a=Me(()=>{if(t.elementInfo.style!=="dashed")return"0 0";const c=t.elementInfo.width;return c<=8?`${c*5} ${c*2.5}`:`${c*5} ${c*1.5}`}),s=Me(()=>Tb(t.elementInfo));return(c,l)=>(Y(),ee("div",{class:"base-element-line",style:we({top:c.elementInfo.top+"px",left:c.elementInfo.left+"px"})},[V("div",{class:"element-content",style:we({filter:G(r)?`drop-shadow(${G(r)})`:""})},[(Y(),ee("svg",{overflow:"visible",width:o.value,height:i.value},[V("defs",null,[c.elementInfo.points[0]?(Y(),Te(Cd,{key:0,id:c.elementInfo.id,position:"start",type:c.elementInfo.points[0],color:c.elementInfo.color,baseSize:c.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0),c.elementInfo.points[1]?(Y(),Te(Cd,{key:1,id:c.elementInfo.id,position:"end",type:c.elementInfo.points[1],color:c.elementInfo.color,baseSize:c.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0)]),V("path",{d:s.value,stroke:c.elementInfo.color,"stroke-width":c.elementInfo.width,"stroke-dasharray":a.value,fill:"none","marker-start":c.elementInfo.points[0]?`url(#${c.elementInfo.id}-${c.elementInfo.points[0]}-start)`:"","marker-end":c.elementInfo.points[1]?`url(#${c.elementInfo.id}-${c.elementInfo.points[1]}-end)`:""},null,8,Ife)],8,Cfe))],4)],4))}}),QF=Xe(Ffe,[["__scopeId","data-v-e7dc2b42"]]),_fe=Ie({__name:"BaseChartElement",props:{elementInfo:{}},setup(e){const t=jo(qu)||he(1),n=Me(()=>t.value<1),r=Me(()=>n.value?1/t.value:1);return(o,i)=>(Y(),ee("div",{class:"base-element-chart",style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({backgroundColor:o.elementInfo.fill})},[L(s2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),L(MF,{width:o.elementInfo.width*r.value,height:o.elementInfo.height*r.value,type:o.elementInfo.chartType,data:o.elementInfo.data,options:o.elementInfo.options,themeColor:o.elementInfo.themeColor,gridColor:o.elementInfo.gridColor,legends:o.elementInfo.data.legends,legend:o.elementInfo.legend||"",style:we({zoom:1/r.value})},null,8,["width","height","type","data","options","themeColor","gridColor","legends","legend","style"])],4)],4)],4))}}),ZF=Xe(_fe,[["__scopeId","data-v-37ca5799"]]),Efe=["width"],Xfe=["rowspan","colspan"],Wfe=["innerHTML"],Vfe=Ie({__name:"StaticTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},setup(e){const t=e,n=he([]),r=Me(()=>n.value.reduce((c,l)=>c+l));Tt([()=>t.colWidths,()=>t.width],()=>{n.value=t.colWidths.map(c=>c*t.width)},{immediate:!0});const o=Me(()=>t.data),{hideCells:i}=TF(o),a=Me(()=>t.theme),{subThemeColor:s}=kF(a);return(c,l)=>{var u,f,d,h,p;return Y(),ee("div",{class:"static-table",style:we({width:r.value+"px"})},[V("table",{class:Je({theme:a.value,"row-header":(u=a.value)==null?void 0:u.rowHeader,"row-footer":(f=a.value)==null?void 0:f.rowFooter,"col-header":(d=a.value)==null?void 0:d.colHeader,"col-footer":(h=a.value)==null?void 0:h.colFooter}),style:we(`--themeColor: ${(p=a.value)==null?void 0:p.color}; --subThemeColor1: ${G(s)[0]}; --subThemeColor2: ${G(s)[1]}`)},[V("colgroup",null,[(Y(!0),ee(We,null,ot(n.value,(m,A)=>(Y(),ee("col",{span:"1",key:A,width:m},null,8,Efe))),128))]),V("tbody",null,[(Y(!0),ee(We,null,ot(c.data,(m,A)=>(Y(),ee("tr",{key:A,style:we({height:c.cellMinHeight+"px"})},[(Y(!0),ee(We,null,ot(m,(x,y)=>Ke((Y(),ee("td",{class:"cell",style:we({borderStyle:c.outline.style,borderColor:c.outline.color,borderWidth:c.outline.width+"px",...G(LF)(x.style)}),key:x.id,rowspan:x.rowspan,colspan:x.colspan},[V("div",{class:"cell-text",style:we({minHeight:c.cellMinHeight-4+"px"}),innerHTML:G(OF)(x.text)},null,12,Wfe)],12,Xfe)),[[il,!G(i).includes(`${A}_${y}`)]])),128))],4))),128))])],6)],4)}}}),Ufe=Xe(Vfe,[["__scopeId","data-v-6d887dcd"]]),Yfe={class:"element-content"},Qfe=Ie({__name:"BaseTableElement",props:{elementInfo:{}},setup(e){return(t,n)=>(Y(),ee("div",{class:"base-element-table",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",Yfe,[L(Ufe,{data:t.elementInfo.data,width:t.elementInfo.width,cellMinHeight:t.elementInfo.cellMinHeight,colWidths:t.elementInfo.colWidths,outline:t.elementInfo.outline,theme:t.elementInfo.theme},null,8,["data","width","cellMinHeight","colWidths","outline","theme"])])],4)],4))}}),BF=Xe(Qfe,[["__scopeId","data-v-77cfa6e4"]]),Zfe={class:"element-content"},Bfe=["width","height","stroke","stroke-width"],Dfe=["transform"],Kfe=["d"],Hfe=Ie({__name:"BaseLatexElement",props:{elementInfo:{}},setup(e){return(t,n)=>(Y(),ee("div",{class:"base-element-latex",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",Zfe,[(Y(),ee("svg",{overflow:"visible",width:t.elementInfo.width,height:t.elementInfo.height,stroke:t.elementInfo.color,"stroke-width":t.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${t.elementInfo.width/t.elementInfo.viewBox[0]}, ${t.elementInfo.height/t.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{d:t.elementInfo.path},null,8,Kfe)],8,Dfe)],8,Bfe))])],4)],4))}}),DF=Xe(Hfe,[["__scopeId","data-v-93374af9"]]),Gfe=Ie({__name:"BaseVideoElement",props:{elementInfo:{}},setup(e){return(t,n)=>{const r=be("IconPlayOne");return Y(),ee("div",{class:"base-element-video",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:we({backgroundImage:t.elementInfo.poster?`url(${t.elementInfo.poster})`:""})},[L(r,{class:"icon"})],4)],4)],4)}}}),Jfe=Xe(Gfe,[["__scopeId","data-v-2fb0e771"]]),zfe={class:"element-content"},$fe=Ie({__name:"BaseAudioElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px");return(r,o)=>{const i=be("IconVolumeNotice");return Y(),ee("div",{class:"base-element-audio",style:we({top:r.elementInfo.top+"px",left:r.elementInfo.left+"px",width:r.elementInfo.width+"px",height:r.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:we({transform:`rotate(${r.elementInfo.rotate}deg)`})},[V("div",zfe,[L(i,{class:"audio-icon",style:we({fontSize:n.value,color:r.elementInfo.color})},null,8,["style"])])],4)],4)}}}),jfe=Xe($fe,[["__scopeId","data-v-b33e6120"]]),qfe=Ie({__name:"ThumbnailElement",props:{elementInfo:{},elementIndex:{}},setup(e){const t=e,n=Me(()=>({[kt.IMAGE]:VF,[kt.TEXT]:UF,[kt.SHAPE]:YF,[kt.LINE]:QF,[kt.CHART]:ZF,[kt.TABLE]:BF,[kt.LATEX]:DF,[kt.VIDEO]:Jfe,[kt.AUDIO]:jfe})[t.elementInfo.type]||null);return(r,o)=>(Y(),ee("div",{class:Je(["base-element",`base-element-${r.elementInfo.id}`]),style:we({zIndex:r.elementIndex})},[(Y(),Te(xs(n.value),{elementInfo:r.elementInfo,target:"thumbnail"},null,8,["elementInfo"]))],6))}}),ede={key:1,class:"placeholder"},tde=Ie({__name:"index",props:{slide:{},size:{},visible:{type:Boolean,default:!0}},setup(e){const t=e,{viewportRatio:n}=Ee(lt()),r=Me(()=>t.slide.background),{backgroundStyle:o}=f2(r),i=Me(()=>t.size/Ht);return Bu(qu,i),(a,s)=>(Y(),ee("div",{class:"thumbnail-slide",style:we({width:a.size+"px",height:a.size*G(n)+"px"})},[a.visible?(Y(),ee("div",{key:0,class:"elements",style:we({width:G(Ht)+"px",height:G(Ht)*G(n)+"px",transform:`scale(${i.value})`})},[V("div",{class:"background",style:we(G(o))},null,4),(Y(!0),ee(We,null,ot(a.slide.elements,(c,l)=>(Y(),Te(qfe,{key:c.id,elementInfo:c,elementIndex:l+1},null,8,["elementInfo","elementIndex"]))),128))],4)):(Y(),ee("div",ede,"加载中 ..."))],4))}}),Fa=Xe(tde,[["__scopeId","data-v-cbd76d0a"]]),nde=["onClick"],rde=Ie({__name:"Tabs",props:{value:{},tabs:{},card:{type:Boolean,default:!1},tabsStyle:{},tabStyle:{},spaceAround:{type:Boolean,default:!1},spaceBetween:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=t;return(r,o)=>(Y(),ee("div",{class:Je(["tabs",{card:r.card,"space-around":r.spaceAround,"space-between":r.spaceBetween}]),style:we(r.tabsStyle||{})},[(Y(!0),ee(We,null,ot(r.tabs,i=>(Y(),ee("div",{class:Je(["tab",{active:i.key===r.value}]),key:i.key,style:we({...r.tabStyle||{},"--color":i.color}),onClick:a=>n("update:value",i.key)},gt(i.label),15,nde))),128))],6))}}),gs=Xe(rde,[["__scopeId","data-v-c7f9dce0"]]),ode=Ie({__name:"Button",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{default:"default"},size:{default:"normal"},first:{type:Boolean,default:!1},last:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=()=>{n.disabled||r("click")};return(i,a)=>(Y(),ee("button",{class:Je(["button",{disabled:i.disabled,checked:!i.disabled&&i.checked,default:!i.disabled&&i.type==="default",primary:!i.disabled&&i.type==="primary",checkbox:!i.disabled&&i.type==="checkbox",radio:!i.disabled&&i.type==="radio",small:i.size==="small",first:i.first,last:i.last}]),onClick:a[0]||(a[0]=s=>o())},[lr(i.$slots,"default",{},void 0,!0)],2))}}),et=Xe(ode,[["__scopeId","data-v-3e3d85be"]]),ide={key:0,class:"select-wrap"},ade={class:"selector"},sde={class:"icon"},lde=["onClick"],cde={class:"selector"},ude={class:"icon"},fde=Ie({__name:"Select",props:{value:{},options:{},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=Me(()=>{var f;return((f=n.options.find(d=>d.value===n.value))==null?void 0:f.label)||n.value}),o=t,i=he(!1),a=he(),s=he(0),c=()=>{a.value&&(s.value=a.value.clientWidth)},l=new ResizeObserver(c);Gt(()=>{a.value&&l.observe(a.value)}),wn(()=>{a.value&&l.unobserve(a.value)});const u=f=>{f.disabled||(o("update:value",f.value),i.value=!1)};return(f,d)=>{const h=be("IconDown");return f.disabled?(Y(),ee("div",ide,[V("div",{class:"select disabled",ref_key:"selectRef",ref:a},[V("div",ade,gt(f.value),1),V("div",sde,[lr(f.$slots,"icon",{},()=>[L(h,{size:14})],!0)])],512)])):(Y(),Te(Pt,{key:1,class:"select-wrap",trigger:"click",value:i.value,"onUpdate:value":d[0]||(d[0]=p=>i.value=p),placement:"bottom",contentStyle:{padding:0,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)"}},{content:ie(()=>[V("div",{class:"options",style:we({width:s.value+2+"px"})},[(Y(!0),ee(We,null,ot(f.options,p=>(Y(),ee("div",{class:Je(["option",{disabled:p.disabled,selected:p.value===f.value}]),key:p.value,onClick:m=>u(p)},gt(p.label),11,lde))),128))],4)]),default:ie(()=>[V("div",{class:"select",ref_key:"selectRef",ref:a},[V("div",cde,gt(r.value),1),V("div",ude,[lr(f.$slots,"icon",{},()=>[L(h,{size:14})],!0)])],512)]),_:3},8,["value","contentStyle"]))}}}),Gn=Xe(fde,[["__scopeId","data-v-618af0ca"]]),dde=e=>(rn("data-v-de4d9db3"),e=e(),on(),e),hde={class:"link-dialog"},pde={key:2,class:"preview"},mde=dde(()=>V("div",null,"预览:",-1)),vde={class:"btns"},gde=Ie({__name:"LinkDialog",emits:["close"],setup(e,{emit:t}){var p;const n=t,{handleElement:r}=Ee(ft()),{slides:o,currentSlide:i}=Ee(lt()),a=he("web"),s=he(""),c=he(""),l=Me(()=>o.value.map((m,A)=>({label:`幻灯片 ${A+1}`,value:m.id,disabled:i.value.id===m.id})));c.value=((p=o.value.find(m=>m.id!==i.value.id))==null?void 0:p.id)||"";const u=Me(()=>c.value&&o.value.find(m=>m.id===c.value)||null),f=[{key:"web",label:"网页链接"},{key:"slide",label:"幻灯片页面"}],{setLink:d}=WF();Gt(()=>{var m;(m=r.value)!=null&&m.link&&(r.value.link.type==="web"?s.value=r.value.link.target:r.value.link.type==="slide"&&(c.value=r.value.link.target),a.value=r.value.link.type)});const h=()=>{const m={type:a.value,target:a.value==="web"?s.value:c.value};r.value&&(d(r.value,m)?n("close"):s.value="")};return(m,A)=>(Y(),ee("div",hde,[L(gs,{tabs:f,value:a.value,"onUpdate:value":A[0]||(A[0]=x=>a.value=x),tabsStyle:{marginBottom:"20px"}},null,8,["value"]),a.value==="web"?(Y(),Te(_u,{key:0,class:"input",value:s.value,"onUpdate:value":A[1]||(A[1]=x=>s.value=x),placeholder:"请输入网页链接地址"},null,8,["value"])):Ze("",!0),a.value==="slide"?(Y(),Te(Gn,{key:1,class:"input",value:c.value,"onUpdate:value":A[2]||(A[2]=x=>c.value=x),options:l.value},null,8,["value","options"])):Ze("",!0),a.value==="slide"&&u.value?(Y(),ee("div",pde,[mde,L(Fa,{class:"thumbnail",slide:u.value,size:500},null,8,["slide"])])):Ze("",!0),V("div",vde,[L(et,{onClick:A[3]||(A[3]=x=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ve("取消")]),_:1}),L(et,{type:"primary",onClick:A[4]||(A[4]=x=>h())},{default:ie(()=>[Ve("确认")]),_:1})])]))}}),Ade=Xe(gde,[["__scopeId","data-v-de4d9db3"]]),Rde=Ie({__name:"Modal",props:{visible:{type:Boolean},width:{default:480},closeButton:{type:Boolean,default:!1},closeOnClickMask:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},contentStyle:{}},emits:["update:visible","closed"],setup(e,{emit:t}){const{IconClose:n}=Vv,r=e,o=he(),i=t,a=he(!1),s=Me(()=>({width:r.width+"px",...r.contentStyle||{}}));Tt(()=>r.visible,()=>{r.visible&&Wr(()=>o.value.focus())});const c=()=>{i("update:visible",!1),i("closed")},l=()=>{r.visible&&r.closeOnEsc&&c()},u=()=>{r.closeOnClickMask&&c()};return(f,d)=>(Y(),Te(eb,{to:"body"},[L(Ou,{name:"modal-fade"},{default:ie(()=>[Ke(V("div",{class:"modal",ref_key:"modalRef",ref:o,tabindex:"-1",onKeyup:d[4]||(d[4]=gc(h=>l(),["esc"]))},[V("div",{class:"mask",onClick:d[0]||(d[0]=h=>u())}),L(Ou,{name:"modal-zoom",onAfterLeave:d[2]||(d[2]=h=>a.value=!1),onBeforeEnter:d[3]||(d[3]=h=>a.value=!0)},{default:ie(()=>[Ke(V("div",{class:"modal-content",style:we(s.value)},[f.closeButton?(Y(),ee("span",{key:0,class:"close-btn",onClick:d[1]||(d[1]=h=>c())},[L(G(n))])):Ze("",!0),a.value?lr(f.$slots,"default",{key:1},void 0,!0):Ze("",!0)],4),[[il,f.visible]])]),_:3})],544),[[il,f.visible]])]),_:3})]))}}),Yp=Xe(Rde,[["__scopeId","data-v-4d27bcca"]]),yde={class:"operates"},xde={key:2,class:"drag-mask"},bde=Ie({__name:"index",setup(e){const t=ft(),{activeElementIdList:n,activeGroupElementId:r,handleElementId:o,hiddenElementIdList:i,editorAreaFocus:a,gridLineSize:s,showRuler:c,creatingElement:l,creatingCustomShape:u,canvasScale:f,textFormatPainter:d}=Ee(t),{currentSlide:h}=Ee(lt()),{ctrlKeyState:p,spaceKeyState:m}=Ee(Ss()),A=he(),x=he([]),y=he(!1),R=()=>y.value=!0;Tt(o,()=>{t.setActiveGroupElementId("")});const g=he([]);Lg(()=>{g.value=h.value?JSON.parse(JSON.stringify(h.value.elements)):[]});const w=he(),{dragViewport:T,viewportStyles:M}=Soe(w);woe(w);const{mouseSelection:O,mouseSelectionVisible:k,mouseSelectionQuadrant:F,updateMouseSelection:N}=Moe(g,A),{dragElement:E}=mI(g,x,f),{dragLineElement:C}=Toe(g),{selectElement:_}=Ooe(g,E),{scaleElement:I,scaleMultiElement:W}=pI(g,x,f),{rotateElement:Z}=dI(g,A,f),{moveShapeKeypoint:J}=koe(g,f),{selectAllElements:le}=Kg(),{deleteAllElements:D}=Op(),{pasteElement:Q}=Ib(),{enterScreeningFromStart:B}=Sc(),{updateSlideIndex:H}=Bd(),{createTextElement:U,createShapeElement:te}=Ju();Gt(()=>{n.value.length&&Wr(()=>t.setActiveElementIdList([]))});const z=ae=>{n.value.length&&t.setActiveElementIdList([]),m.value?T(ae):N(ae),a.value||t.setEditorareaFocus(!0),d.value&&t.setTextFormatPainter(null),boe()},oe=ae=>{if(n.value.length||l.value||u.value||!A.value)return;const ge=A.value.getBoundingClientRect(),ce=(ae.pageX-ge.x)/f.value,ve=(ae.pageY-ge.y)/f.value;U({left:ce,top:ve,width:200/f.value,height:0})};wn(()=>{d.value&&t.setTextFormatPainter(null)});const pe=()=>{a.value&&t.setEditorareaFocus(!1)},{scaleCanvas:Ae}=_b(),me=Fn.throttle(Ae,100,{leading:!0,trailing:!1}),$=Fn.throttle(H,300,{leading:!0,trailing:!1}),ue=ae=>{ae.preventDefault(),p.value?ae.deltaY>0?me("-"):ae.deltaY<0&&me("+"):ae.deltaY>0?$(yt.DOWN):ae.deltaY<0&&$(yt.UP)},X=()=>{t.setRulerState(!c.value)},{insertElementFromCreateSelection:ne,formatCreateSelection:se}=Noe(A),j=ae=>{const{start:ge,end:ce,path:ve,viewBox:ye}=ae,_e=se({start:ge,end:ce});if(_e){const Se={};ae.fill&&(Se.fill=ae.fill),ae.outline&&(Se.outline=ae.outline),te(_e,{path:ve,viewBox:ye},Se)}t.setCreatingCustomShapeState(!1)},q=()=>[{text:"粘贴",subText:"Ctrl + V",handler:Q},{text:"全选",subText:"Ctrl + A",handler:le},{text:"标尺",subText:c.value?"√":"",handler:X},{text:"网格线",handler:()=>t.setGridLineSize(s.value?0:50),children:[{text:"无",subText:s.value===0?"√":"",handler:()=>t.setGridLineSize(0)},{text:"小",subText:s.value===25?"√":"",handler:()=>t.setGridLineSize(25)},{text:"中",subText:s.value===50?"√":"",handler:()=>t.setGridLineSize(50)},{text:"大",subText:s.value===100?"√":"",handler:()=>t.setGridLineSize(100)}]},{text:"重置当前页",handler:D},{divider:!0},{text:"幻灯片放映",subText:"F5",handler:B}];return Bu(qu,f),(ae,ge)=>{const ce=Sn("contextmenu"),ve=Sn("click-outside");return Ke((Y(),ee("div",{class:"canvas",ref_key:"canvasRef",ref:w,onWheel:ge[4]||(ge[4]=ye=>ue(ye)),onMousedown:ge[5]||(ge[5]=ye=>z(ye)),onDblclick:ge[6]||(ge[6]=ye=>oe(ye))},[G(l)?(Y(),Te(Pue,{key:0,onCreated:ge[0]||(ge[0]=ye=>G(ne)(ye))})):Ze("",!0),G(u)?(Y(),Te(_ue,{key:1,onCreated:ge[1]||(ge[1]=ye=>j(ye))})):Ze("",!0),V("div",{class:"viewport-wrapper",style:we({width:G(M).width*G(f)+"px",height:G(M).height*G(f)+"px",left:G(M).left+"px",top:G(M).top+"px"})},[V("div",yde,[(Y(!0),ee(We,null,ot(x.value,(ye,_e)=>(Y(),Te(XF,{key:_e,type:ye.type,axis:ye.axis,length:ye.length,canvasScale:G(f)},null,8,["type","axis","length","canvasScale"]))),128)),G(n).length>1?(Y(),Te(Vue,{key:0,elementList:g.value,scaleMultiElement:G(W)},null,8,["elementList","scaleMultiElement"])):Ze("",!0),(Y(!0),ee(We,null,ot(g.value,ye=>Ke((Y(),Te(xfe,{key:ye.id,elementInfo:ye,isSelected:G(n).includes(ye.id),isActive:G(o)===ye.id,isActiveGroupElement:G(r)===ye.id,isMultiSelect:G(n).length>1,rotateElement:G(Z),scaleElement:G(I),openLinkDialog:R,dragLineElement:G(C),moveShapeKeypoint:G(J)},null,8,["elementInfo","isSelected","isActive","isActiveGroupElement","isMultiSelect","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])),[[il,!G(i).includes(ye.id)]])),128)),L(Sue)]),V("div",{class:"viewport",ref_key:"viewportRef",ref:A,style:we({transform:`scale(${G(f)})`})},[G(k)?(Y(),Te(gue,{key:0,top:G(O).top,left:G(O).left,width:G(O).width,height:G(O).height,quadrant:G(F)},null,8,["top","left","width","height","quadrant"])):Ze("",!0),(Y(!0),ee(We,null,ot(g.value,(ye,_e)=>Ke((Y(),Te(mue,{key:ye.id,elementInfo:ye,elementIndex:_e+1,isMultiSelect:G(n).length>1,selectElement:G(_),openLinkDialog:R},null,8,["elementInfo","elementIndex","isMultiSelect","selectElement"])),[[il,!G(i).includes(ye.id)]])),128))],4)],4),G(m)?(Y(),ee("div",xde)):Ze("",!0),G(c)?(Y(),Te(Oue,{key:3,viewportStyles:G(M)},null,8,["viewportStyles"])):Ze("",!0),L(Yp,{visible:y.value,"onUpdate:visible":ge[3]||(ge[3]=ye=>y.value=ye),width:540},{default:ie(()=>[L(Ade,{onClose:ge[2]||(ge[2]=ye=>y.value=!1)})]),_:1},8,["visible"])],32)),[[ce,q],[ve,pe]])}}}),Sde=Xe(bde,[["__scopeId","data-v-47bbcf7b"]]),Mde={class:"shape-item-thumbnail"},wde={class:"shape-content"},Lde={overflow:"visible",width:"18",height:"18"},Ode=["transform"],Tde=["fill","stroke","d"],kde=Ie({__name:"ShapeItemThumbnail",props:{shape:{}},setup(e){return(t,n)=>(Y(),ee("div",Mde,[V("div",wde,[(Y(),ee("svg",Lde,[V("g",{transform:`scale(${18/t.shape.viewBox[0]}, ${18/t.shape.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{class:Je(["shape-path",{outlined:t.shape.outlined}]),"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:t.shape.outlined?"#999":"transparent",stroke:t.shape.outlined?"transparent":"#999","stroke-width":"2",d:t.shape.path},null,10,Tde)],8,Ode)]))])]))}}),KF=Xe(kde,[["__scopeId","data-v-2896ae03"]]),Nde={class:"shape-pool"},Pde={class:"category-name"},Cde={class:"shape-list"},Ide=Ie({__name:"ShapePool",emits:["select"],setup(e,{emit:t}){const n=t,r=o=>{n("select",o)};return(o,i)=>(Y(),ee("div",Nde,[(Y(!0),ee(We,null,ot(G(Nb),a=>(Y(),ee("div",{class:"category",key:a.type},[V("div",Pde,gt(a.type),1),V("div",Cde,[(Y(!0),ee(We,null,ot(a.children,(s,c)=>(Y(),Te(KF,{class:"shape-item",key:c,shape:s,onClick:l=>r(s)},null,8,["shape","onClick"]))),128))])]))),128))]))}}),Fde=Xe(Ide,[["__scopeId","data-v-553b0d02"]]),_de=[{type:"直线",children:[{path:"M 0 0 L 20 20",style:"solid",points:["",""]},{path:"M 0 0 L 20 20",style:"dashed",points:["",""]},{path:"M 0 0 L 20 20",style:"solid",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"dashed",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"solid",points:["","dot"]}]},{type:"折线、曲线",children:[{path:"M 0 0 L 0 20 L 20 20",style:"solid",points:["","arrow"],isBroken:!0},{path:"M 0 0 Q 0 20 20 20",style:"solid",points:["","arrow"],isCurve:!0},{path:"M 0 0 C 20 0 0 20 20 20",style:"solid",points:["","arrow"],isCubic:!0}]}],Ede={class:"line-pool"},Xde={class:"category-name"},Wde={class:"line-list"},Vde=["onClick"],Ude={overflow:"visible",width:"20",height:"20"},Yde=["d","stroke-dasharray","marker-start","marker-end"],Qde=Ie({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const n=t,r=o=>{n("select",o)};return(o,i)=>(Y(),ee("div",Ede,[(Y(!0),ee(We,null,ot(G(_de),(a,s)=>(Y(),ee("div",{class:"category",key:a.type},[V("div",Xde,gt(a.type),1),V("div",Wde,[(Y(!0),ee(We,null,ot(a.children,(c,l)=>(Y(),ee("div",{class:"line-item",key:l},[V("div",{class:"line-content",onClick:u=>r(c)},[(Y(),ee("svg",Ude,[V("defs",null,[c.points[0]?(Y(),Te(Cd,{key:0,class:"line-marker",id:`preset-line-${s}-${l}`,position:"start",type:c.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):Ze("",!0),c.points[1]?(Y(),Te(Cd,{key:1,class:"line-marker",id:`preset-line-${s}-${l}`,position:"end",type:c.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):Ze("",!0)]),V("path",{class:"line-path",d:c.path,stroke:"currentColor",fill:"none","stroke-width":"2","stroke-dasharray":c.style==="solid"?"0, 0":"4, 1","marker-start":c.points[0]?`url(#${`preset-line-${s}-${l}`}-${c.points[0]}-start)`:"","marker-end":c.points[1]?`url(#${`preset-line-${s}-${l}`}-${c.points[1]}-end)`:""},null,8,Yde)]))],8,Vde)]))),128))])]))),128))]))}}),Zde=Xe(Qde,[["__scopeId","data-v-b07efd40"]]),Bde={class:"chart-pool"},Dde=["onClick"],Kde=Ie({__name:"ChartPool",emits:["select"],setup(e,{emit:t}){const n=t,r=["bar","horizontalBar","line","area","scatter","pie","ring"],o=i=>{n("select",i)};return(i,a)=>{const s=be("IconChartLine"),c=be("IconChartHistogram"),l=be("IconChartPie"),u=be("IconChartHistogramOne"),f=be("IconChartLineArea"),d=be("IconChartRing"),h=be("IconChartScatter");return Y(),ee("ul",Bde,[(Y(),ee(We,null,ot(r,(p,m)=>V("li",{class:"chart-item",key:m},[V("div",{class:"chart-content",onClick:A=>o(p)},[p==="line"?(Y(),Te(s,{key:0,size:"24"})):p==="bar"?(Y(),Te(c,{key:1,size:"24"})):p==="pie"?(Y(),Te(l,{key:2,size:"24"})):p==="horizontalBar"?(Y(),Te(u,{key:3,size:"24"})):p==="area"?(Y(),Te(f,{key:4,size:"24"})):p==="ring"?(Y(),Te(d,{key:5,size:"24"})):p==="scatter"?(Y(),Te(h,{key:6,size:"24"})):Ze("",!0)],8,Dde)])),64))])}}}),Hde=Xe(Kde,[["__scopeId","data-v-a4bc3ce2"]]),HF=e=>(rn("data-v-246b23f6"),e=e(),on(),e),Gde={class:"prefix"},Jde={class:"input-wrap"},zde=["disabled","placeholder"],$de={class:"handlers"},jde=HF(()=>V("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[V("path",{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"})],-1)),qde=[jde],e0e=HF(()=>V("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[V("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"})],-1)),t0e=[e0e],n0e={class:"suffix"},r0e=Ie({__name:"NumberInput",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},min:{default:0},max:{default:1/0},step:{default:1}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{emit:t}){const n=e,r=t,o=he(0),i=he(!1);Tt(()=>n.value,()=>{n.value!==o.value&&(o.value=n.value)},{immediate:!0}),Tt(o,()=>{const u=+o.value;if(!isNaN(u)){{if(u>n.max)return;if(u{let u=+o.value;isNaN(u)?u=n.min:u>n.max?u=n.max:u{a(),r("enter",u)},c=u=>{a(),i.value=!1,r("blur",u)},l=u=>{i.value=!0,r("focus",u)};return(u,f)=>(Y(),ee("div",{class:Je(["number-input",{disabled:u.disabled,focused:i.value}])},[V("span",Gde,[lr(u.$slots,"prefix",{},void 0,!0)]),V("div",Jde,[Ke(V("input",{type:"text",disabled:u.disabled,"onUpdate:modelValue":f[0]||(f[0]=d=>o.value=d),placeholder:u.placeholder,onInput:f[1]||(f[1]=d=>r("input",d)),onFocus:f[2]||(f[2]=d=>l(d)),onBlur:f[3]||(f[3]=d=>c(d)),onChange:f[4]||(f[4]=d=>r("change",d)),onKeydown:f[5]||(f[5]=gc(d=>s(d),["enter"]))},null,40,zde),[[Bh,o.value]]),V("div",$de,[V("span",{class:"handler",onClick:f[6]||(f[6]=d=>o.value+=u.step)},qde),V("span",{class:"handler",onClick:f[7]||(f[7]=d=>o.value-=u.step)},t0e)])]),V("span",n0e,[lr(u.$slots,"suffix",{},void 0,!0)])],2))}}),Li=Xe(r0e,[["__scopeId","data-v-246b23f6"]]),GF=e=>(rn("data-v-81680e19"),e=e(),on(),e),o0e={class:"table-generator"},i0e={class:"title"},a0e={class:"lef"},s0e=["onMouseenter"],l0e={key:1,class:"custom"},c0e={class:"row"},u0e=GF(()=>V("div",{class:"label",style:{width:"25%"}},"行数:",-1)),f0e={class:"row"},d0e=GF(()=>V("div",{class:"label",style:{width:"25%"}},"列数:",-1)),h0e={class:"btns"},p0e=Ie({__name:"TableGenerator",emits:["insert","close"],setup(e,{emit:t}){const n=t,r=he([]),o=he(3),i=he(3),a=he(!1),s=()=>{if(!r.value.length)return;const[u,f]=r.value;n("insert",{row:u,col:f})},c=()=>{if(o.value<1||o.value>20||i.value<1||i.value>20)return bn.warning("行数/列数必须在0~20之间!");n("insert",{row:o.value,col:i.value}),a.value=!1},l=()=>{n("close"),a.value=!1};return(u,f)=>(Y(),ee("div",o0e,[V("div",i0e,[V("div",a0e,"表格 "+gt(r.value.length?`${r.value[0]} x ${r.value[1]}`:""),1),V("div",{class:"right",onClick:f[0]||(f[0]=d=>a.value=!a.value)},gt(a.value?"返回":"自定义"),1)]),a.value?(Y(),ee("div",l0e,[V("div",c0e,[u0e,L(Li,{min:1,max:20,value:o.value,"onUpdate:value":f[3]||(f[3]=d=>o.value=d),style:{width:"75%"}},null,8,["value"])]),V("div",f0e,[d0e,L(Li,{min:1,max:20,value:i.value,"onUpdate:value":f[4]||(f[4]=d=>i.value=d),style:{width:"75%"}},null,8,["value"])]),V("div",h0e,[L(et,{class:"btn",onClick:f[5]||(f[5]=d=>l())},{default:ie(()=>[Ve("取消")]),_:1}),L(et,{class:"btn",type:"primary",onClick:f[6]||(f[6]=d=>c())},{default:ie(()=>[Ve("确认")]),_:1})])])):(Y(),ee("table",{key:0,onMouseleave:f[1]||(f[1]=d=>r.value=[]),onClick:f[2]||(f[2]=d=>s())},[V("tbody",null,[(Y(),ee(We,null,ot(10,d=>V("tr",{key:d},[(Y(),ee(We,null,ot(10,h=>V("td",{onMouseenter:p=>r.value=[d,h],key:h},[V("div",{class:Je(["cell",{active:r.value.length&&d<=r.value[0]&&h<=r.value[1]}])},null,2)],40,s0e)),64))])),64))])],32))]))}}),m0e=Xe(p0e,[["__scopeId","data-v-81680e19"]]),v0e={class:"media-input"},g0e={class:"btns"},A0e={class:"btns"},R0e=Ie({__name:"MediaInput",emits:["insertVideo","insertAudio","close"],setup(e,{emit:t}){const n=t,r=he("video"),o=he("https://mazwai.com/videvo_files/video/free/2019-01/small_watermarked/181004_04_Dolphins-Whale_06_preview.webm"),i=he("https://freesound.org/data/previews/614/614107_11861866-lq.mp3"),a=[{key:"video",label:"视频"},{key:"audio",label:"音频"}],s=()=>{if(!o.value)return bn.error("请先输入正确的视频地址");n("insertVideo",o.value)},c=()=>{if(!i.value)return bn.error("请先输入正确的音频地址");n("insertAudio",i.value)};return(l,u)=>(Y(),ee("div",v0e,[L(gs,{tabs:a,value:r.value,"onUpdate:value":u[0]||(u[0]=f=>r.value=f),tabsStyle:{marginBottom:"15px"}},null,8,["value"]),r.value==="video"?(Y(),ee(We,{key:0},[L(_u,{value:o.value,"onUpdate:value":u[1]||(u[1]=f=>o.value=f),placeholder:"请输入视频地址,e.g. https://xxx.mp4"},null,8,["value"]),V("div",g0e,[L(et,{onClick:u[2]||(u[2]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ve("取消")]),_:1}),L(et,{type:"primary",onClick:u[3]||(u[3]=f=>s())},{default:ie(()=>[Ve("确认")]),_:1})])],64)):Ze("",!0),r.value==="audio"?(Y(),ee(We,{key:1},[L(_u,{value:i.value,"onUpdate:value":u[4]||(u[4]=f=>i.value=f),placeholder:"请输入音频地址,e.g. https://xxx.mp3"},null,8,["value"]),V("div",A0e,[L(et,{onClick:u[5]||(u[5]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ve("取消")]),_:1}),L(et,{type:"primary",onClick:u[6]||(u[6]=f=>c())},{default:ie(()=>[Ve("确认")]),_:1})])],64)):Ze("",!0)]))}}),y0e=Xe(R0e,[["__scopeId","data-v-999b18ca"]]);var xm=82;function Jf(e){return sx[e]==null&&x0e(e),sx[e]}function x0e(e){var t=b0e[e];if(t!=null){for(var n=t.substring(3,5),r=1*n.charCodeAt(0)-xm,o=1*n.charCodeAt(1)-xm,i=t.substring(5),a=[[]],s=1/0,c=-1/0,l=1/0,u=-1/0,f=0;ff>RfR",797:" 3D`D``D",798:" 3RRR>Rf",799:" 3D`DD``",800:" 3D`DR`R",801:" 3F^FY^K",802:" 3KYK^YF",803:" 3RRRDR`",804:" 3KYKFY^",805:" 3F^FK^Y",806:" 3KYKRYR",807:" 3MWMWWM",808:" 3RRRKRY",809:" 3MWMMWW",810:" 8GRRGPGMHJJHMGPGR",811:" 8GRGRGTHWJZM\\P]R]",812:" 8R]R]T]W\\ZZ\\W]T]R",813:" 8R]]R]P\\MZJWHTGRG",814:" 9D`DOGQKSPTTTYS]Q`O",815:" 9PUUDSGQKPPPTQYS]U`",816:" 9OTODQGSKTPTTSYQ]O`",817:" 9D`DUGSKQPPTPYQ]S`U",818:" 5KYRJYNKVRZ",819:" 5JZJRNKVYZR",820:" 5KYKVKNYVYN",821:" 5JZLXJPZTXL",822:" 23JZJ]L]O\\Q[TXUVVSVOULTJSIQIPJOLNONSOVPXS[U\\X]Z]",823:" 23I]]Z]X\\U[SXPVOSNONLOJPIQISJTLUOVSVVUXT[Q\\O]L]J",824:" 23JZZGXGUHSIPLONNQNUOXPZQ[S[TZUXVUVQUNTLQIOHLGJG",825:" 23G[GJGLHOIQLTNUQVUVXUZT[S[QZPXOUNQNNOLPISHUGXGZ",826:" 21E[EPFRHTJUMVQVUUXSZP[NZLWLSMQNNPLSKVKYL\\M^",827:" 19EYETHVKWPWSVVTXQYNYLXKVKSLPNNQMTMYN\\P_",828:" 26OUQOOQOSQUSUUSUQSOQO RQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",829:" 11RWRMSMUNVOWQWSVUUVSWRW",830:" 9D`DRJR RORUR RZR`R",831:" 5D`DUDO`O`U",832:" 6JZRDJR RRDZR",833:" 9D`DR`R RJYZY RP`T`",834:" 9D`DR`R RDRRb R`RRb",840:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",841:" 6LXLLLXXXXLLL",842:" 5KYRJKVYVRJ",843:" 6LXRHLRR\\XRRH",844:" 12JZRIPOJOOSMYRUWYUSZOTORI",845:" 6KYRKRY RKRYR",846:" 6MWMMWW RWMMW",847:" 9MWRLRX RMOWU RWOMU",850:" 35NVQNOONQNSOUQVSVUUVSVQUOSNQN ROQOS RPPPT RQOQU RRORU RSOSU RTPTT RUQUS",851:" 27NVNNNVVVVNNN ROOOU RPOPU RQOQU RRORU RSOSU RTOTU RUOUU",852:" 17MWRLMUWURL RROOT RROUT RRRQT RRRST",853:" 17LULRUWUMLR RORTU RORTO RRRTS RRRTQ",854:" 17MWRXWOMORX RRUUP RRUOP RRRSP RRRQP",855:" 17OXXROMOWXR RURPO RURPU RRRPQ RRRPS",856:" 22LXRLNWXPLPVWRL RRRRL RRRLP RRRNW RRRVW RRRXP",857:" 11RYRKRY RRKYNRQ RSMVNSO",860:" 13MWRLRX ROOUO RMUOWQXSXUWWU",861:" 11LXRLRX RLQMOWOXQ RPWTW",862:" 14KYMNWX RWNMX ROLLOKQ RULXOYQ",863:" 18I[NII[ RVI[[ RMM[[ RWMI[ RNIVI RMMWM",864:" 21I[RGRV RMJWP RWJMP RIVL\\ R[VX\\ RIV[V RL\\X\\",865:" 11G[MJSV RKPSL RG\\[\\[RG\\",866:" 14LXPLPPLPLTPTPXTXTTXTXPTPTLPL",867:" 32KYYPXNVLSKQKNLLNKQKSLVNXQYSYVXXVYT RYPWNUMSMQNPOOQOSPUQVSWUWWVYT",868:" 10KYRJKVYVRJ RRZYNKNRZ",869:" 34G]PIPGQFSFTGTI RGZHXJVKTLPLKMJOIUIWJXKXPYTZV\\X]Z RGZ]Z RQZP[Q\\S\\T[SZ",870:" 64JZRMRS RRSQ\\ RRSS\\ RQ\\S\\ RRMQJPHNG RQJNG RRMSJTHVG RSJVG RRMNKLKJM RPLLLJM RRMVKXKZM RTLXLZM RRMPNOOOR RRMPOOR RRMTNUOUR RRMTOUR",871:" 94JZRIRK RRNRP RRSRU RRYQ\\ RRYS\\ RQ\\S\\ RRGQIPJ RRGSITJ RPJRITJ RRKPNNOMN RRKTNVOWN RNOPORNTOVO RRPPSNTLTKRKSLT RRPTSVTXTYRYSXT RNTPTRSTTVT RRUPXOYMZLZKYJWJYLZ RRUTXUYWZXZYYZWZYXZ RMZOZRYUZWZ",872:" 40JZRYQ\\ RRYS\\ RQ\\S\\ RRYUZXZZXZUYTWTYRZOYMWLUMVJUHSGQGOHNJOMMLKMJOKRMTKTJUJXLZOZRY",873:" 32JZRYQ\\ RRYS\\ RQ\\S\\ RRYVXVVXUXRZQZLYIXHVHTGPGNHLHKIJLJQLRLUNVNXRY",874:" 15I[IPKR RLKNP RRGRO RXKVP R[PYR",899:" 6QSRQQRRSSRRQ",900:" 10PTQPPQPSQTSTTSTQSPQP",901:" 14NVQNOONQNSOUQVSVUUVSVQUOSNQN",902:" 18MWQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM",903:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",904:" 22G]PGMHJJHMGPGTHWJZM\\P]T]W\\ZZ\\W]T]P\\MZJWHTGPG",905:" 34AcPALBJCGEEGCJBLAPATBXCZE]G_JaLbPcTcXbZa]__]aZbXcTcPbLaJ_G]EZCXBTAPA",906:" 34fRAPCMDJDGCEA>H@JAMAZB]D_G`M`PaRc RRATCWDZD]C_AfHdJcMcZb]`_]`W`TaRc",909:" 33AcRAPCMDJDGCEABGAKAPBTDXG\\L`Rc RRATCWDZD]C_AbGcKcPbT`X]\\X`Rc RBHbH",997:" 3MWMXWX",998:" 3JZJZZZ",999:" 3JZJ]Z]",1001:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1002:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1003:" 24KYVLWKWOVLTKQKOLNMMPMSNVOWQXTXVWWU RQKOMNPNSOVQX",1004:" 26JZNKNX ROKOX RLKSKVLWMXPXSWVVWSXLX RSKULVMWPWSVVUWSX",1005:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1006:" 20JXNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXQX",1007:" 36K[VLWKWOVLTKQKOLNMMPMSNVOWQXTXVW RQKOMNPNSOVQX RTXUWVU RVSVX RWSWX RTSYS",1008:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1009:" 12NWRKRX RSKSX RPKUK RPXUX",1010:" 19LXSKSURWQX RTKTUSWQXPXNWMUNTOUNV RQKVK",1011:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1012:" 14KXOKOX RPKPX RMKRK RMXWXWTVX",1013:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1014:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1015:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1016:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1017:" 47KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RPWPUQTSTTUUZV[W[XZ RTUUXVZW[",1018:" 37JZNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX RSRTSUWVXWXXW RSRUSVWWX",1019:" 32KZVMWKWOVMULSKQKOLNMNOOPQQTRVSWT RNNOOQPTQVRWSWVVWTXRXPWOVNTNXOV",1020:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1021:" 20J[NKNUOWQXTXVWWUWK ROKOUPWQX RLKQK RUKYK",1022:" 15KYMKRX RNKRU RWKRX RKKPK RTKYK",1023:" 24I[LKOX RMKOT RRKOX RRKUX RSKUT RXKUX RJKOK RVKZK",1024:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1025:" 20LYNKRRRX ROKSR RWKSRSX RLKQK RTKYK RPXUX",1026:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1027:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1028:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1029:" 14KXOKOX RPKPX RMKWKWOVK RMXRX",1030:" 15KYRKLX RRMWX RRKXX RMWVW RLXXX",1031:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1032:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1033:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1034:" 44KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RQOQT RTOTT RQQTQ RQRTR",1035:" 12NWRKRX RSKSX RPKUK RPXUX",1036:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1037:" 15KYRKMX RRNVX RRKWX RKXPX RTXYX",1038:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1039:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1040:" 36JZMJLM RXJWM RPPOS RUPTS RMVLY RXVWY RMKWK RMLWL RPQTQ RPRTR RMWWW RMXWX",1041:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1042:" 21J[NKNX ROKOX RVKVX RWKWX RLKYK RLXQX RTXYX",1043:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1044:" 20K[MKRQ RNKSQMX RMKWKXOVK RNWWW RMXWXXTVX",1045:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1046:" 33KZMONLOKPKQLRORX RXOWLVKUKTLSOSX RMONMOLPLQMRO RXOWMVLULTMSO RPXUX",1047:" 40KZRKRX RSKSX RQNNOMQMRNTQUTUWTXRXQWOTNQN RQNOONQNROTQU RTUVTWRWQVOTN RPKUK RPXUX",1048:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1049:" 33J[RKRX RSKSX RLPMONOOSQU RTUVSWOXOYP RMONROTQUTUVTWRXO RPKUK RPXUX",1050:" 35KZMVNXQXMRMONMOLQKTKVLWMXOXRTXWXXV ROUNRNOOMQK RTKVMWOWRVU RNWPW RUWWW",1051:" 18KYTKKX RSMTX RTKUX RNTTT RIXNX RRXWX",1052:" 34JYPKLX RQKMX RNKUKWLWNVPSQ RUKVLVNUPSQ ROQRQTRUSUUTWQXJX RRQTSTUSWQX",1053:" 25KXVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUU RRKPMOONRNVPX",1054:" 26JYPKLX RQKMX RNKTKVLWNWQVTUVTWQXJX RTKULVNVQUTTVSWQX",1055:" 22JYPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXTXUUSX",1056:" 20JXPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXOX",1057:" 33KYVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUVVS RRKPMOONRNVPX RRXTVUS RSSXS",1058:" 27J[PKLX RQKMX RXKTX RYKUX RNKSK RVK[K ROQVQ RJXOX RRXWX",1059:" 12NWTKPX RUKQX RRKWK RNXSX",1060:" 19LXUKRUQWPX RVKSURWPXOXMWLUMTNUMV RSKXK",1061:" 27JZPKLX RQKMX RYKOR RRPTX RSPUX RNKSK RVK[K RJXOX RRXWX",1062:" 14KXQKMX RRKNX ROKTK RKXUXVUTX",1063:" 30I\\OKKX ROMPX RPKQV RYKPX RYKUX RZKVX RMKPK RYK\\K RIXMX RSXXX",1064:" 21JZPKLX RPKTX RQKTU RXKTX RNKQK RVKZK RJXNX",1065:" 32KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK",1066:" 24JYPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RJXOX",1067:" 46KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK ROWOVPUQURVRZS[T[UZ RRVSZT[",1068:" 35JZPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RSRTWUXVXWW RSRTSUWVX RJXOX",1069:" 28KZWLXLYKXNWLUKRKPLOMOOPPUSVT RONPOURVSVVUWSXPXNWMULXMWNW",1070:" 16KZTKPX RUKQX RPKNNOKZKYNYK RNXSX",1071:" 20J[PKMUMWOXSXUWVUYK RQKNUNWOX RNKSK RWK[K",1072:" 15KYOKPX RPKQV RYKPX RMKRK RVK[K",1073:" 24I[NKMX ROKNV RTKMX RTKSX RUKTV RZKSX RLKQK RXK\\K",1074:" 21KZPKTX RQKUX RYKLX RNKSK RVK[K RJXOX RRXWX",1075:" 20LYPKRQPX RQKSQ RYKSQQX RNKSK RVK[K RNXSX",1076:" 16LYXKLX RYKMX RQKONPKYK RLXUXVUTX",1101:" 32LZQOPPPQOQOPQOTOVQVWWXXX RTOUQUWWX RURRSPTOUOWPXSXTWUU RRSPUPWQX",1102:" 29JYNKNX ROKOX RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLKOK",1103:" 24LXVQUQURVRVQUPSOQOOPNRNUOWQXSXUWVV RQOPPOROUPWQX",1104:" 32L[VKVX RWKWX RVRUPSOQOOPNRNUOWQXSXUWVU RQOPPOROUPWQX RTKWK RVXYX",1105:" 26LXOSVSVRUPSOQOOPNRNUOWQXSXUWVV RUSUQSO RQOPPOROUPWQX",1106:" 20LWTKULUMVMVLTKRKPMPX RRKQMQX RNOSO RNXSX",1107:" 42LYQOOQOSQUSUUSUQSOQO RQOPQPSQU RSUTSTQSO RTPUOVO RPTOUOXPYTYVZ ROWPXTXVYV[T\\P\\N[NYPX",1108:" 28J[NKNX ROKOX RORPPROTOVPWRWX RTOUPVRVX RLKOK RLXQX RTXYX",1109:" 18NWRKRLSLSKRK RRORX RSOSX RPOSO RPXUX",1110:" 23NWSKSLTLTKSK RSOSZR\\ RTOTZR\\P\\O[OZPZP[O[ RQOTO",1111:" 27JZNKNX ROKOX RWOOU RRSVX RSSWX RLKOK RTOYO RLXQX RTXYX",1112:" 12NWRKRX RSKSX RPKSK RPXUX",1113:" 44F_JOJX RKOKX RKRLPNOPORPSRSX RPOQPRRRX RSRTPVOXOZP[R[X RXOYPZRZX RHOKO RHXMX RPXUX RXX]X",1114:" 28J[NONX ROOOX RORPPROTOVPWRWX RTOUPVRVX RLOOO RLXQX RTXYX",1115:" 28LYQOOPNRNUOWQXTXVWWUWRVPTOQO RQOPPOROUPWQX RTXUWVUVRUPTO",1116:" 32JYNON\\ ROOO\\ RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLOOO RL\\Q\\",1117:" 29KYUOU\\ RVOV\\ RURTPROPONPMRMUNWPXRXTWUU RPOOPNRNUOWPX RS\\X\\",1118:" 22KXOOOX RPOPX RPRQPSOUOVPVQUQUPVP RMOPO RMXRX",1119:" 26LYTOUPUQVQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWOVPVPWQX",1120:" 14LWPKPVRXTXUWUV RQKQVRX RNOTO",1121:" 28J[NONUOWQXSXUWVU ROOOUPWQX RVOVX RWOWX RLOOO RTOWO RVXYX",1122:" 15KYNORX ROORV RVORX RLOQO RTOXO",1123:" 24I[LOOX RMOOU RROOX RROUX RSOUU RXOUX RJOOO RVOZO",1124:" 21KYNOUX ROOVX RVONX RLOQO RTOXO RLXPX RSXXX",1125:" 23KYNORX ROORV RVORXP[N\\M\\L[LZMZM[L[ RLOQO RTOXO",1126:" 16LXUONX RVOOX ROONQNOVO RNXVXVVUX",1127:" 32K[QOOPNQMSMUNWPXQXSWUUWRXO RQOOQNSNUOWPX RQOSOUPWWXX RSOTPVWXXYX",1128:" 40KXRKPMOOMUK\\ RQLPNNTL\\ RRKTKVLVNUPRQ RTKULUNTPRQ RRQTRUTUVTWRXQXOWNT RRQSRTTTVRX",1129:" 19KYLQNOPORPSSSXR\\ RLQNPPPRQSS RWOVRSXQ\\",1130:" 39KYSOQOOPNQMSMUNWPXRXTWUVVTVRUPRNQLQKRJTJUKVM RQOOQNSNVPX RRXTVUTUQSO RQLRKTKVM",1131:" 27LXVPTOQOOPOQPRRS RQOPPPQRS RRSOTNUNWPXSXUW RRSPTOUOWPX",1132:" 28LWRKQLQMSNVNVMSNPOOPNRNTOVPWRXSYS[R\\P\\O[ RSNQOPPOROTPVRX",1133:" 26IYJRKPLONOOPOQMX RMONPNQLX ROQPPROTOVPVRS\\ RTOUPURR\\",1134:" 35IYJSKQLPNPOQOVPX RMPNQNUOWPXQXSWTVUTVQVNULTKRKQLQNRPURWS RQXSVTTUQUNTK",1135:" 13NWROPVPWQXSXUWVU RSOQVQWRX",1136:" 26KYOOLX RPOMX RUOVPWPVOTORQOR RORPSRWTXVWWU RORQSSWTX",1137:" 15LXLKNKPLWX RNKOLVX RRPMX RRPNX",1138:" 26KZOOK\\ RPOL\\ RNUNWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1139:" 19JYNOMX ROONUMX RVRVOWOVRTUQWNXMX RLOOO",1140:" 36MXRKQLQMSNVN RTNQOPPPRRSUS RTNROQPQRRS RSSPTOUOWQXSYTZT[S\\Q\\ RSSQTPUPWQX",1141:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1142:" 20IZPPMX RPPNX RTPSX RTPTX RKQMOXO RKQMPXP",1143:" 29JXSOQOOPNQMSJ\\ RQOOQNSK\\ RSOUPVRVTUVTWRXPXNWMU RSOUQUTTVRX",1144:" 28K[YOQOOPNQMSMUNWPXRXTWUVVTVRUPYP RQOOQNSNVPX RRXTVUTUQSO",1145:" 14KZSPQX RSPRX RMQOOXO RMQOPXP",1146:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1147:" 35KZOPNQMSMUNWPXRXUWWUXRXPWOUOTPSRRUO\\ RMUNVPWRWUVWTXR RXQWPUPSR RRUQXP\\",1148:" 17KXMONOPPS[T\\ RNOOPR[T\\U\\ RVOTRNYL\\",1149:" 28I[TKQ\\ RUKP\\ RJRKPLONOOPOVPWSWUVWT RMONPNTOWPXSXUWWTXRYO",1150:" 36JZNPPPPONPMQLSLUMWNXPXQWRUSR RLUNWPWRU RRRRWSXUXWVXTXRWPVOVPWP RRUSWUWWV",1151:" 32KZVOTVTWUXWXXWYU RWOUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1152:" 32JXOKMR RPKNRNVPX RNROPQOSOUPVRVTUVTWRXPXNWMUMR RSOUQUTTVRX RMKPK",1153:" 22KXUPUQVQUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1154:" 35KZWKTVTWUXWXXWYU RXKUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RUKXK",1155:" 23KWNURTTSURUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1156:" 23MXWKXLXKVKTLSNPYO[N\\ RVKULTNQYP[N\\L\\L[M\\ RPOVO",1157:" 34KYVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1158:" 29KZPKLX RQKMX ROQPPROTOVPVRUUUWVX RTOUPURTUTWUXWXXWYU RNKQK",1159:" 26MWSKSLTLTKSK RNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1160:" 26MWTKTLULUKTK RORPPQOSOTPTRRYQ[O\\M\\M[N\\ RROSPSRQYP[O\\",1161:" 32KXPKLX RQKMX RVPUQVQVPUOTORQPROR RORPSQWRXTXUWVU RORQSRWSX RNKQK",1162:" 16NVSKPVPWQXSXTWUU RTKQVQWRX RQKTK",1163:" 46F^GRHPIOKOLPLQJX RJOKPKQIX RLQMPOOQOSPSQQX RQORPRQPX RSQTPVOXOZPZRYUYWZX RXOYPYRXUXWYX[X\\W]U",1164:" 33J[KRLPMOOOPPPQNX RNOOPOQMX RPQQPSOUOWPWRVUVWWX RUOVPVRUUUWVXXXYWZU",1165:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1166:" 35JYKRLPMOOOPPPQM\\ RNOOPOQL\\ RPQROTOVPWRWTVVUWSXQXOVOT RTOVQVTUVSX RJ\\O\\",1167:" 28KYVOR\\ RWOS\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RP\\U\\",1168:" 22LXMRNPOOQORPRQPX RPOQPQQOX RRQSPUOVOWPWQVQWP",1169:" 24LYVPVQWQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWNVOVOW",1170:" 16NWSKPVPWQXSXTWUU RTKQVQWRX RPOUO",1171:" 33IZJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1172:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1173:" 37H\\IRJPKOMONPNRMUMWNX RLOMPMRLULWNXOXQWRV RTORVRWTX RUOSVSWTXUXWWYUZRZOYOZP",1174:" 38JZMRNPPOROSPSR RQORPRRQUPWNXMXLWLVMVLW RXPWQXQXPWOVOTPSRRURWSX RQUQWRXTXVWWU",1175:" 35IYJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\",1176:" 27KYWOWPVQNVMWMX RNQOOROUQ ROPRPUQVQ RNVOVRWUW ROVRXUXVV",1177:" 39H[RKSLSMTMTLRKOKMLLNLX ROKNLMNMX RXKYLYMZMZLXKVKTMTX RVKUMUX RJOWO RJXOX RRXWX",1178:" 29J[UKVLWLWKQKOLNNNX RQKPLONOX RVOVX RWOWX RLOWO RLXQX RTXYX",1179:" 27J[WKQKOLNNNX RQKPLONOX RUKVLVX RWKWX RLOVO RLXQX RTXYX",1180:" 48F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX RYKZL[L[KUKSLRNRX RUKTLSNSX RZOZX R[O[X RHO[O RHXMX RPXUX RXX]X",1181:" 46F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX R[KUKSLRNRX RUKTLSNSX RYKZLZX R[K[X RHOZO RHXMX RPXUX RXX]X",1182:" 12NWRORX RSOSX RPOSO RPXUX",1184:" 21LXVPTOROPPOQNSNUOWQXSXUW RROPQOSOVQX ROSSS",1185:" 35LYSKQLPMOONRNUOWPXRXTWUVVTWQWNVLUKSK RSKQMPOOSOVPX RRXTVUTVPVMUK ROQVQ",1186:" 34KZTKQ\\ RUKP\\ RQONPMRMUNWQXTXWWXUXRWPTOQO RQOOPNRNUOWQX RTXVWWUWRVPTO",1187:" 22LXUPVRVQUPSOQOOPNRNTOVRX RQOOQOTPVRXSYS[R\\P\\",1191:" 45I[VKWLXLVKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RZK[L[KYKWLVNSYR[Q\\ RYKXLWNTYS[Q\\O\\O[P\\ RLOYO",1192:" 38IZVKWLXLXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RVOTVTWUXWXXWYU RWOUVUWVX RLOWO",1193:" 38IZVKWL RXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RWKTVTWUXWXXWYU RXKUVUWVX RLOVO",1194:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L\\L\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ RZOXVXWYX[X\\W]U R[OYVYWZX RIO[O",1195:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L R\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ R[KXVXWYX[X\\W]U R\\KYVYWZX RIOZO",1196:" 20MWNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1200:" 28LYQKOLNONTOWQXTXVWWTWOVLTKQK RQKPLOOOTPWQX RTXUWVTVOULTK",1201:" 10LYPNSKSX RRLRX ROXVX",1202:" 35LYOMONNNNMOLQKTKVLWNVPTQQROSNUNX RTKULVNUPTQ RNWOVPVSWVWWV RPVSXVXWVWU",1203:" 39LYOMONNNNMOLQKTKVLWNVPTQ RTKULVNUPTQ RRQTQVRWTWUVWTXQXOWNVNUOUOV RTQURVTVUUWTX",1204:" 13LYSMSX RTKTX RTKMTXT RQXVX",1205:" 33LYOKNQ ROKVK ROLSLVK RNQOPQOTOVPWRWUVWTXQXOWNVNUOUOV RTOUPVRVUUWTX",1206:" 36LYVMVNWNWMVLTKRKPLOMNPNUOWQXTXVWWUWSVQTPQPNR RRKPMOPOUPWQX RTXUWVUVSUQTP",1207:" 22LYNKNO RVMRTPX RWKTQQX RNMPKRKUM RNMPLRLUMVM",1208:" 51LYQKOLNNOPQQTQVPWNVLTKQK RQKPLONPPQQ RTQUPVNULTK RQQORNTNUOWQXTXVWWUWTVRTQ RQQPROTOUPWQX RTXUWVUVTURTQ",1209:" 36LYOVOUNUNVOWQXSXUWVVWSWNVLTKQKOLNNNPORQSTSWQ RSXUVVSVNULTK RQKPLONOPPRQS",1210:" 6NVRVQWRXSWRV",1211:" 8NVSWRXQWRVSWSYQ[",1212:" 12NVROQPRQSPRO RRVQWRXSWRV",1213:" 14NVROQPRQSPRO RSWRXQWRVSWSYQ[",1214:" 15NVRKQLRSSLRK RRLRO RRVQWRXSWRV",1215:" 29LYNNONOONONNOLQKTKVLWNWOVQSRRSRTST RTKVMVPUQSR RRWRXSXSWRW",1216:" 6OVRKRP RSKRP",1217:" 12LXOKOP RPKOP RUKUP RVKUP",1218:" 10MWQKPLPNQOSOTNTLSKQK",1219:" 9MWRJRP ROKUO RUKOO",1220:" 3KZXHM\\",1221:" 16MWUHSJQMPPPTQWSZU\\ RSJRLQPQTRXSZ",1222:" 16MWOHQJSMTPTTSWQZO\\ RQJRLSPSTRXQZ",1223:" 12MWPHP\\ RQHQ\\ RPHUH RP\\U\\",1224:" 12MWSHS\\ RTHT\\ ROHTH RO\\T\\",1225:" 38LWSHQIPJPLRNSP RQIPL RSNRQ RPJQLSNSPRQPRRSSTSVQXPZ RRSSV RPXQ[ RSTRVPXPZQ[S\\",1226:" 38MXQHSITJTLRNQP RSITL RQNRQ RTJSLQNQPRQTRRSQTQVSXTZ RRSQV RTXS[ RQTRVTXTZS[Q\\",1227:" 4MWTHPRT\\",1228:" 4MWPHTRP\\",1229:" 3OURHR\\",1230:" 6MWPHP\\ RTHT\\",1231:" 3I[LRXR",1232:" 6I[RLRX RLRXR",1233:" 9JZRMRX RMRWR RMXWX",1234:" 9JZRMRX RMMWM RMRWR",1235:" 6JZMMWW RWMMW",1236:" 6NVRQQRRSSRRQ",1237:" 15I[RLQMRNSMRL RLRXR RRVQWRXSWRV",1238:" 6I[LPXP RLTXT",1239:" 9I[WLMX RLPXP RLTXT",1240:" 9I[LNXN RLRXR RLVXV",1241:" 4JZWLMRWX",1242:" 4JZMLWRMX",1243:" 10JZWKMOWS RMTWT RMXWX",1244:" 10JZMKWOMS RMTWT RMXWX",1245:" 21H[YUWUUTTSRPQOONNNLOKQKRLTNUOUQTRSTPUOWNYN",1246:" 16JZLTLRMPOPUSWSXR RLRMQOQUTWTXRXP",1247:" 8JZMSRPWS RMSRQWS",1248:" 7NVSKPO RSKTLPO",1249:" 7NVQKTO RQKPLTO",1250:" 14LXNKOMQNSNUMVK RNKONQOSOUNVK",1251:" 8NVSLRMQLRKSLSNQP",1252:" 8NVSKQMQORPSORNQO",1253:" 8NVQLRMSLRKQLQNSP",1254:" 8NVQKSMSORPQORNSO",1256:" 11JZWMQMONNOMQMSNUOVQWWW",1257:" 11JZMMMSNUOVQWSWUVVUWSWM",1258:" 11JZMMSMUNVOWQWSVUUVSWMW",1259:" 11JZMWMQNOONQMSMUNVOWQWW",1260:" 14JZWMQMONNOMQMSNUOVQWWW RMRUR",1261:" 13I[TOUPXRUTTU RUPWRUT RLRWR",1262:" 13MWRMRX ROPPORLTOUP RPORMTO",1263:" 13I[POOPLROTPU ROPMROT RMRXR",1264:" 13MWRLRW ROTPURXTUUT RPURWTU",1265:" 37KYVSUPSOQOOPNQMSMUNWPXRXTWUVVTWQWNVLTKQKPLQLRK RQOOQNSNVPX RRXTVUTVQVNULTK",1266:" 15JZLKRX RMKRV RXKRX RLKXK RNLWL",1267:" 10G[IOLORW RKORX R[FRX",1268:" 26I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[",1269:" 40I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[ RQNOONQNSOUQVSVUUVSVQUOSNQN",1270:" 26H\\ZRYTWUVUTTSSQPPONNMNKOJQJRKTMUNUPTQSSPTOVNWNYOZQZR",1271:" 26JZXKLX ROKPLPNOOMOLNLLMKOKSLVLXK RUTTUTWUXWXXWXUWTUT",1272:" 41J[YPXPXQYQYPXOWOVPUTTVSWQXOXMWLVLTMSORRPSNSLRKPKOLONPQUWWXXXYW ROXMVMTOR RONPPVWWX",1273:" 29J[UPSOQOPQPRQTSTUS RUOUSVTXTYRYQXNVLSKRKOLMNLQLRMUOWRXSXVW",1274:" 34KZQHQ\\ RTHT\\ RWLVLVMWMWLUKPKNLNNOPVSWT RNNOOVRWTWVVWTXQXOWNVNUOUOVNV",1275:" 12KYRKN\\ RVKR\\ RNQWQ RMVVV",1276:" 40LXTLSLSMTMTLSKQKPLPNQPTRUS RPNQOTQUSUUSW RQPOROTPVSXTY ROTPUSWTYT[S\\Q\\P[PZQZQ[P[",1277:" 29LXRKQLRMSLRK RRMRQ RRQQSRVSSRQ RRVR\\ RPOONNOOPPOTOUNVOUPTO",1278:" 42LXRMSLRKQLRMRQQRSURV RRQSRQURVRZQ[R\\S[RZ RPOONNOOPPOTOUNVOUPTO RPXOWNXOYPXTXUWVXUYTX",1279:" 12LYVKVX RNKVK RQQVQ RNXVX",1281:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRQQRRSSRRQ",1282:" 33LYQKPLPMQN RTKULUMTN RRNPOOQORPTRUSUUTVRVQUOSNRN RRURY RSUSY ROWVW",1283:" 23LYRKPLONOOPQRRSRUQVOVNULSKRK RRRRX RSRSX ROUVU",1284:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRKRY RKRYR",1285:" 25JYRRPQOQMRLTLUMWOXPXRWSUSTRR RWMRR RRMWMWR RRMVNWR",1286:" 25JZLLMKOKQLRNRPQRPSNT ROKPLQNQQPS RVKUX RWKTX RNTXT",1287:" 27JYNKNU ROKNR RNROPQOSOUPVQVTTVTXUYVYWX RSOUQUTTV RLKOK",1288:" 27LYONRKRQ RVNSKSQ RRQPROTOUPWRXSXUWVUVTURSQ RRTRUSUSTRT",1289:" 27JZRKRY RMKMPNRPSTSVRWPWK RLMMKNM RQMRKSM RVMWKXM ROVUV",1290:" 27JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXVXVUUX",1291:" 20LYWKTKQLONNQNSOVQXTYWY RWKTLRNQQQSRVTXWY",1292:" 23JZRRPQOQMRLTLUMWOXPXRWSUSTRR RSLQQ RWMRR RXQSS",1293:" 12KYPMTW RTMPW RMPWT RWPMT",1294:" 34J[OUMULVLXMYOYPXPVNTMRMONMOLQKTKVLWMXOXRWTUVUXVYXYYXYVXUVU RNMPLULWM",1295:" 34J[OOMOLNLLMKOKPLPNNPMRMUNWOXQYTYVXWWXUXRWPUNULVKXKYLYNXOVO RNWPXUXWW",1401:" 21F^KHK\\ RLHL\\ RXHX\\ RYHY\\ RHH\\H RH\\O\\ RU\\\\\\",1402:" 20H]KHRQJ\\ RJHQQ RJHYHZMXH RK[X[ RJ\\Y\\ZWX\\",1403:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",1404:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",1405:" 12KYOBOb RPBPb ROBVB RObVb",1406:" 12KYTBTb RUBUb RNBUB RNbUb",1407:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",1408:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",1409:" 24KYU@RCPFOIOLPOSVTYT\\S_Ra RRCQEPHPKQNTUUXU[T^RaOd",1410:" 24KYO@RCTFUIULTOQVPYP\\Q_Ra RRCSETHTKSNPUOXO[P^RaUd",1411:" 13AXCRGRR` RGSRa RFSRb RX:Rb",1412:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2001:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2002:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2003:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2004:" 30G]LFL[ RMFM[ RIFSFVGXIYKZNZSYVXXVZS[I[ RSFUGWIXKYNYSXVWXUZS[",2005:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2006:" 20G[LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[P[",2007:" 40G^XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXX RQFOGMILKKNKSLVMXOZQ[ RXSX[ RYSY[ RUS\\S",2008:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2009:" 12MXRFR[ RSFS[ ROFVF RO[V[",2010:" 20KZUFUWTZR[P[NZMXMVNUOVNW RTFTWSZR[ RQFXF",2011:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2012:" 14I[NFN[ ROFO[ RKFRF RK[Z[ZUY[",2013:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2014:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2015:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2016:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2017:" 64G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF RNYNXOVQURUTVUXV_W`Y`Z^Z] RUXV\\W^X_Y_Z^",2018:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUPMP RUFWGXHYJYLXNWOUP RI[P[ RRPTQURXYYZZZ[Y RTQUSWZX[Z[[Y[X",2019:" 34H\\XIYFYLXIVGSFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[Q[NZLXKUK[LX",2020:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2021:" 23F^KFKULXNZQ[S[VZXXYUYF RLFLUMXOZQ[ RHFOF RVF\\F",2022:" 15H\\KFR[ RLFRX RYFR[ RIFOF RUF[F",2023:" 24F^JFN[ RKFNV RRFN[ RRFV[ RSFVV RZFV[ RGFNF RWF]F",2024:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2025:" 20H]KFRQR[ RLFSQS[ RZFSQ RIFOF RVF\\F RO[V[",2026:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2027:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2028:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2029:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2030:" 15H\\RFJ[ RRFZ[ RRIY[ RKZYZ RJ[Z[",2031:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2032:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2033:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2034:" 56G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF ROMOT RUMUT ROPUP ROQUQ",2035:" 12MXRFR[ RSFS[ ROFVF RO[V[",2036:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2037:" 15H\\RFK[ RRFY[ RRIX[ RI[O[ RU[[[",2038:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2039:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2040:" 36G]KEJJ RZEYJ RONNS RVNUS RKWJ\\ RZWY\\ RKGYG RKHYH ROPUP ROQUQ RKYYY RKZYZ",2041:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2042:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2043:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2044:" 20H]KFRPJ[ RJFQP RJFYFZLXF RKZXZ RJ[Y[ZUX[",2045:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2046:" 33I\\KKKILGMFOFPGQIRMR[ RKIMGOGQI RZKZIYGXFVFUGTISMS[ RZIXGVGTI RO[V[",2047:" 48H]RFR[ RSFS[ RPKMLLMKOKRLTMUPVUVXUYTZRZOYMXLUKPK RPKNLMMLOLRMTNUPV RUVWUXTYRYOXMWLUK ROFVF RO[V[",2048:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2049:" 41G^RFR[ RSFS[ RIMJLLMMQNSOTQU RJLKMLQMSNTQUTUWTXSYQZM[L RTUVTWSXQYM[L\\M ROFVF RO[V[",2050:" 43G]JXK[O[MWKSJPJLKIMGPFTFWGYIZLZPYSWWU[Y[ZX RMWLTKPKLLINGPF RTFVGXIYLYPXTWW RKZNZ RVZYZ",2051:" 18H\\UFH[ RUFV[ RTHU[ RLUUU RF[L[ RR[X[",2052:" 41F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVP RWFYGZIZKYNXOVP RMPVPXQYSYUXXVZR[F[ RVPWQXSXUWXUZR[",2053:" 34H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RTFRGPINLMOLSLVMYNZP[",2054:" 30F]OFI[ RPFJ[ RLFUFXGYHZKZOYSWWUYSZO[F[ RUFWGXHYKYOXSVWTYRZO[",2055:" 22F]OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[U[WVT[",2056:" 20F\\OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[M[",2057:" 42H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RTFRGPINLMOLSLVMYNZP[ RR[TZVXXT RUT\\T",2058:" 27E_NFH[ ROFI[ R[FU[ R\\FV[ RKFRF RXF_F RLPXP RE[L[ RR[Y[",2059:" 12LYUFO[ RVFP[ RRFYF RL[S[",2060:" 21I[XFSWRYQZO[M[KZJXJVKULVKW RWFRWQYO[ RTF[F",2061:" 27F]OFI[ RPFJ[ R]FLS RSOW[ RROV[ RLFSF RYF_F RF[M[ RS[Y[",2062:" 14H\\QFK[ RRFL[ RNFUF RH[W[YUV[",2063:" 30E`NFH[ RNFO[ ROFPY R\\FO[ R\\FV[ R]FW[ RKFOF R\\F`F RE[K[ RS[Z[",2064:" 21F_OFI[ ROFVX ROIV[ R\\FV[ RLFOF RYF_F RF[L[",2065:" 42G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF",2066:" 27F]OFI[ RPFJ[ RLFXF[G\\I\\K[NYPUQMQ RXFZG[I[KZNXPUQ RF[M[",2067:" 61G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF RLYLXMVOUPURVSXS_T`V`W^W] RSXT^U_V_W^",2068:" 42F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVPMP RWFYGZIZKYNXOVP RRPTQURVZW[Y[ZYZX RURWYXZYZZY RF[M[",2069:" 35G^ZH[H\\F[L[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJUI[JYKY",2070:" 16H]UFO[ RVFP[ ROFLLNF]F\\L\\F RL[S[",2071:" 25F_NFKQJUJXKZN[R[UZWXXU\\F ROFLQKUKXLZN[ RKFRF RYF_F",2072:" 15H\\NFO[ ROFPY R\\FO[ RLFRF RXF^F",2073:" 24E_MFK[ RNFLY RUFK[ RUFS[ RVFTY R]FS[ RJFQF RZF`F",2074:" 21G]NFU[ ROFV[ R\\FH[ RLFRF RXF^F RF[L[ RR[X[",2075:" 20H]NFRPO[ ROFSPP[ R]FSP RLFRF RYF_F RL[S[",2076:" 16G][FH[ R\\FI[ ROFLLNF\\F RH[V[XUU[",2077:" 46H\\KILKXWYYY[ RLLXX RKIKKLMXYY[ RPPLTKVKXLZK[ RKVMZ RLTLVMXMZK[ RSSXN RVIVLWNYNYLWKVI RVIWLYN",2101:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2102:" 33G\\LFL[ RMFM[ RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIFMF",2103:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2104:" 36H]WFW[ RXFX[ RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTFXF RW[[[",2105:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2106:" 22KXUGTHUIVHVGUFSFQGPIP[ RSFRGQIQ[ RMMUM RM[T[",2107:" 60I\\QMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM RONNPNTOV RUVVTVPUN RVOWNYMYNWN RNUMVLXLYM[P\\U\\X]Y^ RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[",2108:" 28G]LFL[ RMFM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIFMF RI[P[ RT[[[",2109:" 18MXRFQGRHSGRF RRMR[ RSMS[ ROMSM RO[V[",2110:" 25MXSFRGSHTGSF RTMT_SaQbObNaN`O_P`Oa RSMS_RaQb RPMTM",2111:" 27G\\LFL[ RMFM[ RWMMW RRSX[ RQSW[ RIFMF RTMZM RI[P[ RT[Z[",2112:" 12MXRFR[ RSFS[ ROFSF RO[V[",2113:" 44BcGMG[ RHMH[ RHPJNMMOMRNSPS[ ROMQNRPR[ RSPUNXMZM]N^P^[ RZM\\N]P][ RDMHM RD[K[ RO[V[ RZ[a[",2114:" 28G]LML[ RMMM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIMMM RI[P[ RT[[[",2115:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2116:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2117:" 33H\\WMWb RXMXb RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTb[b",2118:" 23IZNMN[ ROMO[ ROSPPRNTMWMXNXOWPVOWN RKMOM RK[R[",2119:" 32J[WOXMXQWOVNTMPMNNMOMQNRPSUUWVXW RMPNQPRUTWUXVXYWZU[Q[OZNYMWM[NY",2120:" 16KZPFPWQZS[U[WZXX RQFQWRZS[ RMMUM",2121:" 28G]LMLXMZP[R[UZWX RMMMXNZP[ RWMW[ RXMX[ RIMMM RTMXM RW[[[",2122:" 15I[LMR[ RMMRY RXMR[ RJMPM RTMZM",2123:" 24F^JMN[ RKMNX RRMN[ RRMV[ RSMVX RZMV[ RGMNM RWM]M",2124:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2125:" 22H[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2126:" 16I[WML[ RXMM[ RMMLQLMXM RL[X[XWW[",2127:" 40G^QMNNLPKRJUJXKZN[P[RZUWWTYPZM RQMONMPLRKUKXLZN[ RQMSMUNVPXXYZZ[ RSMTNUPWXXZZ[[[",2128:" 57G\\TFQGOIMMLPKTJZIb RTFRGPINMMPLTKZJb RTFVFXGYHYKXMWNTOPO RVFXHXKWMVNTO RPOTPVRWTWWVYUZR[P[NZMYLV RPOSPURVTVWUYTZR[",2129:" 28H\\IPKNMMOMQNROSRSVRZOb RJOLNPNRO RZMYPXRSYP^Nb RYMXPWRSY",2130:" 44I\\VNTMRMONMQLTLWMYNZP[R[UZWWXTXQWOSJRHRFSEUEWFYH RRMPNNQMTMXNZ RR[TZVWWTWPVNTKSISGTFVFYH",2131:" 32I[XPVNTMPMNNNPPRSS RPMONOPQRSS RSSNTLVLXMZP[S[UZWX RSSOTMVMXNZP[",2132:" 31I[TFRGQHQIRJUKZKZJWKSMPOMRLULWMYP[S]T_TaSbQbPa RULQONRMUMWNYP[",2133:" 32G]HQIOKMNMONOPNTL[ RMMNNNPMTK[ RNTPPRNTMVMXNYOYRXWUb RVMXOXRWWTb",2134:" 44F]GQHOJMMMNNNPMUMXNZO[ RLMMNMPLULXMZO[Q[SZUXWUXRYMYIXGVFTFRHRJSMUPWRZT RSZUWVUWRXMXIWGVF",2135:" 15LXRMPTOXOZP[S[UYVW RSMQTPXPZQ[",2136:" 29H\\NMJ[ ROMK[ RXMYNZNYMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW",2137:" 23H\\KFMFOGPHQJWXXZY[ RMFOHPJVXWZY[Z[ RRMJ[ RRMK[",2138:" 28F]MMGb RNMHb RMPLVLYN[P[RZTXVU RXMUXUZV[Y[[Y\\W RYMVXVZW[",2139:" 24H\\NML[ ROMNSMXL[ RYMXQVU RZMYPXRVUTWQYOZL[ RKMOM",2140:" 45IZTFRGQHQIRJUKXK RUKQLOMNONQPSSTVT RUKRLPMOOOQQSST RSTOUMVLXLZN\\S^T_TaRbPb RSTPUNVMXMZO\\S^",2141:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2142:" 22G]PNL[ RPNM[ RVNV[ RVNW[ RIPKNNM[M RIPKONN[N",2143:" 31H[LVMYNZP[R[UZWWXTXQWOVNTMRMONMQLTHb RR[TZVWWTWPVN RRMPNNQMTIb",2144:" 35H][MQMNNLQKTKWLYMZO[Q[TZVWWTWQVOUNSM RQMONMQLTLXMZ RQ[SZUWVTVPUN RUN[N",2145:" 16H\\SNP[ RSNQ[ RJPLNOMZM RJPLOONZN",2146:" 31H\\IQJOLMOMPNPPNVNYP[ RNMONOPMVMYNZP[Q[TZVXXUYRYOXMWNXOYR RXUYO",2147:" 37G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb RJWLYNZQZTYWWYU RZOXNVNTPRSPYNb",2148:" 23I[KMMMONPPU_VaWb RMMNNOPT_UaWbYb RZMYOWRM]K`Jb",2149:" 34F]UFOb RVFNb RGQHOJMMMNNNPMUMXOZRZTYWVYS RLMMNMPLULXMZO[R[TZVXXUYS[M",2150:" 44F]JQLOONNMLNJQITIWJZK[M[OZQWRT RIWJYKZMZOYQW RQTQWRZS[U[WZYWZTZQYNXMWNYOZQ RQWRYSZUZWYYW",2151:" 39H]XMVTUXUZV[Y[[Y\\W RYMWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2152:" 36H[PFLSLVMYNZ RQFMS RMSNPPNRMTMVNWOXQXTWWUZR[P[NZMWMS RVNWPWTVWTZR[ RMFQF",2153:" 25I[WPWQXQXPWNUMRMONMQLTLWMYNZP[R[UZWW RRMPNNQMTMXNZ",2154:" 42H]ZFVTUXUZV[Y[[Y\\W R[FWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RWF[F",2155:" 26I[MVQUTTWRXPWNUMRMONMQLTLWMYNZP[R[UZWX RRMPNNQMTMXNZ",2156:" 35KZZGYHZI[H[GZFXFVGUHTJSMP[O_Na RXFVHUJTNRWQ[P^O`NaLbJbIaI`J_K`Ja ROMYM",2157:" 43H\\YMU[T^RaObLbJaI`I_J^K_J` RXMT[S^QaOb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2158:" 31H]PFJ[ RQFK[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W RMFQF",2159:" 26LYUFTGUHVGUF RMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2160:" 32LYVFUGVHWGVF RNQOOQMTMUNUQR[Q^P`OaMbKbJaJ`K_L`Ka RSMTNTQQ[P^O`Mb",2161:" 34H\\PFJ[ RQFK[ RXNWOXPYOYNXMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW RMFQF",2162:" 18MYUFQTPXPZQ[T[VYWW RVFRTQXQZR[ RRFVF",2163:" 52AbBQCOEMHMINIPHTF[ RGMHNHPGTE[ RHTJPLNNMPMRNSOSQP[ RPMRORQO[ RRTTPVNXMZM\\N]O]Q[W[Z\\[ RZM\\O\\QZWZZ[[^[`YaW",2164:" 37F]GQHOJMMMNNNPMTK[ RLMMNMPLTJ[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W",2165:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2166:" 42G\\HQIOKMNMONOPNTJb RMMNNNPMTIb RNTOQQNSMUMWNXOYQYTXWVZS[Q[OZNWNT RWNXPXTWWUZS[ RFbMb",2167:" 33H\\XMRb RYMSb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RObVb",2168:" 26IZJQKOMMPMQNQPPTN[ ROMPNPPOTM[ RPTRPTNVMXMYNYOXPWOXN",2169:" 28J[XOXPYPYOXNUMRMONNONQORVVWW RNPOQVUWVWYVZS[P[MZLYLXMXMY",2170:" 18KYTFPTOXOZP[S[UYVW RUFQTPXPZQ[ RNMWM",2171:" 37F]GQHOJMMMNNNQLWLYN[ RLMMNMQKWKYLZN[P[RZTXVT RXMVTUXUZV[Y[[Y\\W RYMWTVXVZW[",2172:" 26H\\IQJOLMOMPNPQNWNYP[ RNMONOQMWMYNZP[Q[TZVXXUYQYMXMYO",2173:" 41C`DQEOGMJMKNKQIWIYK[ RIMJNJQHWHYIZK[M[OZQXRV RTMRVRYSZU[W[YZ[X\\V]R]M\\M]O RUMSVSYU[",2174:" 42H\\KQMNOMRMSOSR RQMRORRQVPXNZL[K[JZJYKXLYKZ RQVQYR[U[WZYW RYNXOYPZOZNYMXMVNTPSRRVRYS[",2175:" 41G\\HQIOKMNMONOQMWMYO[ RMMNNNQLWLYMZO[Q[SZUXWT RZMV[U^SaPbMbKaJ`J_K^L_K` RYMU[T^RaPb",2176:" 31H\\YMXOVQNWLYK[ RLQMOOMRMVO RMOONRNVOXO RLYNYRZUZWY RNYR[U[WYXW",2177:" 43G^VGUHVIWHWGUFRFOGMILLL[ RRFPGNIMLM[ R\\G[H\\I]H]G\\FZFXGWIW[ RZFYGXIX[ RIM[M RI[P[ RT[[[",2178:" 33G]WGVHWIXHWGUFRFOGMILLL[ RRFPGNIMLM[ RWMW[ RXMX[ RIMXM RI[P[ RT[[[",2179:" 35G]VGUHVIWHWGUF RXFRFOGMILLL[ RRFPGNIMLM[ RWHW[ RXFX[ RIMWM RI[P[ RT[[[",2180:" 54BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R]G\\H]I^H]G[FXFUGSIRLR[ RXFVGTISLS[ R]M][ R^M^[ RDM^M RD[K[ RO[V[ RZ[a[",2181:" 56BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R\\G[H\\I]H]G[F R^FXFUGSIRLR[ RXFVGTISLS[ R]H][ R^F^[ RDM]M RD[K[ RO[V[ RZ[a[",2182:" 12MXRMR[ RSMS[ ROMSM RO[V[",2184:" 25IZWNUMRMONMPLSLVMYNZQ[T[VZ RRMPNNPMSMVNYOZQ[ RMTUT",2185:" 43I\\TFQGOJNLMOLTLXMZO[Q[TZVWWUXRYMYIXGVFTF RTFRGPJOLNOMTMXNZO[ RQ[SZUWVUWRXMXIWGVF RNPWP",2186:" 42G]UFOb RVFNb RQMMNKPJSJVKXMZP[S[WZYXZUZRYPWNTMQM RQMNNLPKSKVLXNZP[ RS[VZXXYUYRXPVNTM",2187:" 27I[TMVNXPXOWNTMQMNNMOLQLSMUOWSZ RQMONNOMQMSNUSZT\\T^S_Q_",2190:" 45G]LMKNJPJRKUOYP[ RJRKTOXP[P]O`MbLbKaJ_J\\KXMTOQRNTMVMYNZPZTYXWZU[T[SZSXTWUXTY RVMXNYPYTXXWZ",2191:" 69E_YGXHYIZHYGWFTFQGOINKMNLRJ[I_Ha RTFRGPIOKNNLWK[J^I`HaFbDbCaC`D_E`Da R_G^H_I`H`G_F]F[GZHYJXMU[T_Sa R]F[HZJYNWWV[U^T`SaQbObNaN`O_P`Oa RIM^M",2192:" 52F^[GZH[I\\H[GXFUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea RYMWTVXVZW[Z[\\Y]W RZMXTWXWZX[ RJMZM",2193:" 54F^YGXHYIZHZGXF R\\FUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea R[FWTVXVZW[Z[\\Y]W R\\FXTWXWZX[ RJMYM",2194:" 86@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R`G_H`IaH`G]FZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R^M\\T[X[Z\\[_[aYbW R_M]T\\X\\Z][ RDM_M",2195:" 88@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R^G]H^I_H_G]F RaFZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R`F\\T[X[Z\\[_[aYbW RaF]T\\X\\Z][ RDM^M",2196:" 20LYMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2200:" 40H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RQFOGNHMJLOLRMWNYOZQ[ RS[UZVYWWXRXOWJVHUGSF",2201:" 11H\\NJPISFS[ RRGR[ RN[W[",2202:" 45H\\LJMKLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RTFVGWHXJXLWNTPPR RKYLXNXSZVZXYYX RNXS[W[XZYXYV",2203:" 47H\\LJMKLLKKKJLHMGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[P[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2204:" 13H\\THT[ RUFU[ RUFJUZU RQ[X[",2205:" 39H\\MFKP RKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMVLW RSMUNWPXSXUWXUZS[ RMFWF RMGRGWF",2206:" 48H\\WIVJWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNRNOOMQLT RRFPGNIMKLOLUMXOZQ[ RS[UZWXXUXTWQUOSN",2207:" 31H\\KFKL RKJLHNFPFUIWIXHYF RLHNGPGUI RYFYIXLTQSSRVR[ RXLSQRSQVQ[",2208:" 63H\\PFMGLILLMNPOTOWNXLXIWGTFPF RPFNGMIMLNNPO RTOVNWLWIVGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RPONPMQLSLWMYNZP[ RT[VZWYXWXSWQVPTO",2209:" 48H\\XMWPURRSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNWMX RQSORMPLMLLMIOGQF RSFUGWIXLXRWVVXTZR[",2210:" 6MWRYQZR[SZRY",2211:" 8MWR[QZRYSZS\\R^Q_",2212:" 12MWRMQNROSNRM RRYQZR[SZRY",2213:" 14MWRMQNROSNRM RR[QZRYSZS\\R^Q_",2214:" 15MWRFQHRTSHRF RRHRN RRYQZR[SZRY",2215:" 32I[MJNKMLLKLJMHNGPFSFVGWHXJXLWNVORQRT RSFUGVHWJWLVNTP RRYQZR[SZRY",2216:" 6NVRFQM RSFQM",2217:" 12JZNFMM ROFMM RVFUM RWFUM",2218:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",2219:" 9JZRFRR RMIWO RWIMO",2220:" 3G][BIb",2221:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",2222:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",2223:" 12KYOBOb RPBPb ROBVB RObVb",2224:" 12KYTBTb RUBUb RNBUB RNbUb",2225:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",2226:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",2227:" 4KYUBNRUb",2228:" 4KYOBVROb",2229:" 3NVRBRb",2230:" 6KYOBOb RUBUb",2231:" 3E_IR[R",2232:" 6E_RIR[ RIR[R",2233:" 9F^RJR[ RJRZR RJ[Z[",2234:" 9F^RJR[ RJJZJ RJRZR",2235:" 6G]KKYY RYKKY",2236:" 6MWRQQRRSSRRQ",2237:" 15E_RIQJRKSJRI RIR[R RRYQZR[SZRY",2238:" 6E_IO[O RIU[U",2239:" 9E_YIK[ RIO[O RIU[U",2240:" 9E_IM[M RIR[R RIW[W",2241:" 4F^ZIJRZ[",2242:" 4F^JIZRJ[",2243:" 10F^ZFJMZT RJVZV RJ[Z[",2244:" 10F^JFZMJT RJVZV RJ[Z[",2245:" 21F_[WYWWVUTRPQOONMNKOJQJSKUMVOVQURTUPWNYM[M",2246:" 24F^IUISJPLONOPPTSVTXTZS[Q RISJQLPNPPQTTVUXUZT[Q[O",2247:" 8G]JTROZT RJTRPZT",2248:" 7LXTFOL RTFUGOL",2249:" 7LXPFUL RPFOGUL",2250:" 18H\\KFLHNJQKSKVJXHYF RKFLINKQLSLVKXIYF",2251:" 8MWRHQGRFSGSIRKQL",2252:" 8MWSFRGQIQKRLSKRJ",2253:" 8MWRHSGRFQGQIRKSL",2254:" 8MWQFRGSISKRLQKRJ",2255:" 10E[HMLMRY RKMR[ R[BR[",2256:" 13F^ZJSJOKMLKNJQJSKVMXOYSZZZ",2257:" 13F^JJJQKULWNYQZSZVYXWYUZQZJ",2258:" 13F^JJQJUKWLYNZQZSYVWXUYQZJZ",2259:" 13F^JZJSKOLMNKQJSJVKXMYOZSZZ",2260:" 16F^ZJSJOKMLKNJQJSKVMXOYSZZZ RJRVR",2261:" 11E_XP[RXT RUMZRUW RIRZR",2262:" 11JZPLRITL RMORJWO RRJR[",2263:" 11E_LPIRLT ROMJROW RJR[R",2264:" 11JZPXR[TX RMURZWU RRIRZ",2265:" 44I\\XRWOVNTMRMONMQLTLWMYNZP[R[UZWXXUYPYKXHWGUFRFPGOHOIPIPH RRMPNNQMTMXNZ RR[TZVXWUXPXKWHUF",2266:" 15H\\JFR[ RKFRY RZFR[ RJFZF RKGYG",2267:" 10AbDMIMRY RHNR[ Rb:R[",2268:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2269:" 50F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia RQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",2270:" 26F_\\S[UYVWVUUTTQPPONNLNJOIQISJULVNVPUQTTPUOWNYN[O\\Q\\S",2271:" 32F^[FI[ RNFPHPJOLMMKMIKIIJGLFNFPGSHVHYG[F RWTUUTWTYV[X[ZZ[X[VYTWT",2272:" 49F_[NZO[P\\O\\N[MZMYNXPVUTXRZP[M[JZIXIUJSPORMSKSIRGPFNGMIMKNNPQUXWZZ[[[\\Z\\Y RM[KZJXJUKSMQ RMKNMVXXZZ[",2273:" 56E`WNVLTKQKOLNMMPMSNUPVSVUUVS RQKOMNPNSOUPV RWKVSVUXVZV\\T]Q]O\\L[JYHWGTFQFNGLHJJILHOHRIUJWLYNZQ[T[WZYYZX RXKWSWUXV",2274:" 42H\\PBP_ RTBT_ RXIWJXKYJYIWGTFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[P[MZKXKWLVMWLX",2275:" 12H]SFLb RYFRb RLQZQ RKWYW",2276:" 46JZUITJUKVJVIUGSFQFOGNINKOMQOVR ROMTPVRWTWVVXTZ RPNNPMRMTNVPXU[ RNVSYU[V]V_UaSbQbOaN_N^O]P^O_",2277:" 30JZRFQHRJSHRF RRFRb RRQQTRbSTRQ RLMNNPMNLLM RLMXM RTMVNXMVLTM",2278:" 56JZRFQHRJSHRF RRFRT RRPQRSVRXQVSRRP RRTRb RR^Q`RbS`R^ RLMNNPMNLLM RLMXM RTMVNXMVLTM RL[N\\P[NZL[ RL[X[ RT[V\\X[VZT[",2279:" 12I\\XFX[ RKFXF RPPXP RK[X[",2281:" 38E`QFNGKIILHOHRIUKXNZQ[T[WZZX\\U]R]O\\LZIWGTFQF RROQPQQRRSRTQTPSORO RRPRQSQSPRP",2282:" 45J[PFNGOIQJ RPFOGOI RUFWGVITJ RUFVGVI RQJOKNLMNMQNSOTQUTUVTWSXQXNWLVKTJQJ RRUR[ RSUS[ RNXWX",2283:" 27I\\RFOGMILLLMMPORRSSSVRXPYMYLXIVGSFRF RRSR[ RSSS[ RNWWW",2284:" 28D`PFMGJIHLGOGSHVJYM[P\\T\\W[ZY\\V]S]O\\LZIWGTFPF RRFR\\ RGQ]Q",2285:" 31G`PMMNKPJSJTKWMYPZQZTYVWWTWSVPTNQMPM R]GWG[HUN R]G]M\\IVO R\\HVN",2286:" 28F\\IIJGLFOFQGRIRLQOPQNSKU ROFPGQIQMPPNS RVFT[ RWFS[ RKUYU",2287:" 30I\\MFMU RNFMQ RMQNOONQMTMWNXPXRWTUV RTMVNWPWRTXTZU[W[YY RKFNF",2288:" 44I\\RNOOMQLTLUMXOZR[S[VZXXYUYTXQVOSNRN RRHNJRFRN RSHWJSFSN RRSQTQURVSVTUTTSSRS RRTRUSUSTRT",2289:" 37G^QHRFR[ RTHSFS[ RJHKFKMLPNRQSRS RMHLFLNMQ R[HZFZMYPWRTSSS RXHYFYNXQ RNWWW",2290:" 31G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[Y[YVX[",2291:" 24H[YGUGQHNJLMKPKSLVNYQ[U\\Y\\ RYGVHSJQMPPPSQVSYV[Y\\",2292:" 27F_OQMQKRJSIUIWJYKZM[O[QZRYSWSURSQROQ RSHPQ RZJRR R\\QST",2293:" 12H\\OKUY RUKOY RKOYU RYOKU",2294:" 48F^NVLUKUIVHXHYI[K\\L\\N[OYOXNVKRJOJMKJMHPGTGWHYJZMZOYRVVUXUYV[X\\Y\\[[\\Y\\X[VYUXUVV RJMKKMIPHTHWIYKZM",2295:" 48F^NMLNKNIMHKHJIHKGLGNHOJOKNMKQJTJVKYM[P\\T\\W[YYZVZTYQVMUKUJVHXGYG[H\\J\\K[MYNXNVM RJVKXMZP[T[WZYXZV",2301:" 40F_JMILIJJHLGNGPHQIRKSP RIJKHMHOIPJQLRPR[ R[M\\L\\J[HYGWGUHTISKRP R\\JZHXHVIUJTLSPS[",2302:" 51F^IGJKKMMOPPTPWOYMZK[G RIGJJKLMNPOTOWNYLZJ[G RPONPMQLSLVMXOZQ[S[UZWXXVXSWQVPTO RPPNQMSMVNY RVYWVWSVQTP",2303:" 30F^MJMV RNKNU RVKVU RWJWV RIGKIMJPKTKWJYI[G RIYKWMVPUTUWVYW[Y",2304:" 48F^[ILIJJILINJPLQNQPPQNQLPJ[J RIMJOKPMQ RQMPKOJMI RIXXXZW[U[SZQXPVPTQSSSUTWIW R[TZRYQWP RSTTVUWWX",2305:" 48F]OUMTLTJUIWIXJZL[M[OZPXPWOUJPINIKJILHOGSGWHYJZLZOYRVUUWUYV[X[YZZX RMSKPJNJKKILH RSGVHXJYLYOXRVU",2306:" 48G_HKKHMKMV RJILLLV RMKPHRKRU ROIQLQU RRKUHWKW[ RTIVLV[ RWKZH[J\\M\\P[SZUXWUYP[ RYIZJ[M[PZSYUWWTYP[",2307:" 41F^ISMSLRKOKMLJNHQGSGVHXJYMYOXRWS[S RITOTMRLOLMMJOHQG RSGUHWJXMXOWRUT[T RKXYX RKYYY",2308:" 30F_GLJIMLMX RIJLMLX RMLPISLSX ROJRMRX RSLVIYLYW[Y RUJXMXXZZ]W",2309:" 33G]ZIJY RZIWJQJ RXKUKQJ RZIYLYR RXKXNYR RQRJR RPSMSJR RQRQY RPSPVQY",2310:" 33F^HOJKOU RJMOWRPWPZO[M[KZIXHWHUITKTMUPVRWUWXUZ RWHVIUKUMWQXTXWWYUZ",2311:" 36F^IOLLPN RKMOORLUN RQMTOWLYN RVMXO[L RIULRPT RKSOURRUT RQSTUWRYT RVSXU[R",2312:" 48F^JHNJPLQOQRPUNWJY RJHMIOJQLRO RRRQUOWMXJY RZHWIUJSLRO RRRSUUWWXZY RZHVJTLSOSRTUVWZY RIP[P RIQ[Q",2317:" 12NVQQQSSSSQQQ RQQSS RSQQS",2318:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2319:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2320:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2321:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2322:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2323:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2324:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2325:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2326:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2327:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2328:" 49JZMLWX RMLONQOTOVNWMWKUKUMTO RONTO RQOWM RVKVN RULWL RWXUVSUPUNVMWMYOYOWPU RUVPU RSUMW RNVNY RMXOX",2329:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLWY",2330:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2331:"103EfNSOUQVSVUUVSVQUOSNQNOONPMSMVNYP[S\\V\\Y[[Y\\W]T]P\\MZJXIUHRHOIMJKLIOHSHXI]KaMcPeTfYf]e`cba RKLJNIRIXJ\\L`NbQdUeYe]d_cba RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU RaLaNcNcLaL RbLbN RaMcM RaVaXcXcVaV RbVbX RaWcW",2332:" 30D`H@Hd RM@Md RW@Wd R\\@\\d RMMWK RMNWL RMOWM RMWWU RMXWV RMYWW",2367:" 12NVQQQSSSSQQQ RQQSS RSQQS",2368:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2369:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2370:" 32H\\PMMNLOKQKSLUMVPWTWWVXUYSYQXOWNTMPM RMNLPLSMUNVPW RWVXTXQWOVNTM",2371:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2372:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2373:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2374:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2375:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2376:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2377:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2378:" 36JZQCVMRTRU RULQS RTITKPRRUUY RW\\UYSXQXOYN[N]O_Ra RW\\UZSYOYO]P_Ra RSXPZN]",2379:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLSY",2380:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2381:" 89IjNQOOQNSNUOVQVSUUSVQVOUNTMQMNNKPISHWH[I^K`NaRaW`[_]]`ZcVfQiMk RWHZI]K_N`R`W_[^]\\`YcTgQi RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU ReLeNgNgLeL RfLfN ReMgM ReVeXgXgVeV RfVfX ReWgW",2382:" 85D`H>Hf RI>If RM>Mf RQBSBSDQDQAR?T>W>Y?[A\\D\\I[LYNWOUOSNRLQNOQNROSQVRXSVUUWUYV[X\\[\\`[cYeWfTfReQcQ`S`SbQb RRBRD RQCSC RY?ZA[D[IZLYN RRLRNPQNRPSRVRX RYVZX[[[`ZcYe RR`Rb RQaSa",2401:" 21AcHBHb RIBIb R[B[b R\\B\\b RDB`B RDbMb RWb`b",2402:" 23BaGBQPFb RFBPP REBPQ REB\\B^I[B RGa\\a RFb\\b^[[b",2403:" 28I[X+U1R8P=OANFMNMVN^OcPgRlUsXy RU1S6Q":2242,"~":2246,"@":2273,"\\":804}[e]}var xi={SUB_SUP_SCALE:.75,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function S0e(e){e=e.replace(/\n/g," ");let t=0,n=[],r="";for(;t0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;u=e[f].bbox.y,e[l].text=="'"?e[l].bbox.y=u:(To(e[l],xi.SUB_SUP_SCALE,null,0,0),hn[e[f].text]&&hn[e[f].text].flags.big?e[l].bbox.y=u-e[l].bbox.h:e[f].text=="\\int"?e[l].bbox.y=u:e[l].bbox.y=u-e[l].bbox.h/2)}else if(e[l].text=="_"){let u=1,f=l;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;u=e[f].bbox.y+e[f].bbox.h,To(e[l],xi.SUB_SUP_SCALE,null,0,0),hn[e[f].text]&&hn[e[f].text].flags.big?e[l].bbox.y=u:e[f].text=="\\int"?e[l].bbox.y=u-e[l].bbox.h:e[l].bbox.y=u-e[l].bbox.h/2}function n(l,u,f,d,h){let p=l,m=h,A=1/0,x=-1/0;for(;d>0?p=0;){if(e[p].text==u)m++;else if(e[p].text==f){if(m--,m==0)break}else e[p].text=="^"||e[p].text=="_"||e[p].bbox&&(A=Math.min(A,e[p].bbox.y),x=Math.max(x,e[p].bbox.y+e[p].bbox.h));p+=d}return[A,x]}for(let l=0;ll.text=="&"||l.text=="\\\\"))return;let r=[],o=[],i=[];for(let l=0;l0&&(e.chld[y].text=="^"||e.chld[y].text=="_"||e.chld[y].text=="'");)y--;let R=hn[e.chld[y].text]&&hn[e.chld[y].text].flags.big;if(A.text=="'"){let g=y+1,b=0;for(;g1;L0e(e.chld,f);let p=zF(e.chld);e.text=="\\text"&&(p.x-=1,p.w+=2);for(let m=0;mr.bbox.w)u=u/Math.max(a.w,1)*r.bbox.w,u+=r.bbox.x;else{u=u/16*o;let d=(r.bbox.w-a.w/16*o)/2;u+=r.bbox.x+d}if(hn[r.text].flags.yfl)f=(f-a.ymin)/Math.max(a.ymax-a.ymin,1)*r.bbox.h,f+=r.bbox.y;else{if(f=f/16*o,i){let d=(a.ymax+a.ymin)/2;f-=d/16*o}f+=r.bbox.y+r.bbox.h/2}c.push([u,f])}t.push(c)}}else if(hn[r.text]&&hn[r.text].flags.txt||r.type=="char"){let a=r.bbox.x,s=!!(hn[r.text]&&hn[r.text].flags.txt);for(let c=Number(s);c16?h*=16/l.w:h+=(16-l.w)/2/16),h+=a,p+=r.bbox.y+r.bbox.h/2,f.push([h,p])}t.push(f)}r.mode=="tt"?a+=o:a+=l.w/16*o}}}return t}function Qa(e){return Math.round(e*100)/100}var w5=class{constructor(e){this._latex=e,this._tokens=S0e(e),this._tree=lx(this._tokens),JF(this._tree.chld),Ba(this._tree),O0e(this._tree),this._polylines=T0e(this._tree)}resolveScale(e){var t,n,r,o;if(e==null)return[16,16,16,16];let i=(t=e.SCALE_X)!=null?t:16,a=(n=e.SCALE_Y)!=null?n:16;if(e.MIN_CHAR_H!=null){let l=0;for(let f=0;f{t=d(t,i||r,e)}),i)return t?new Rt(lt.from(e.state.schema.text(t.replace(/\r\n?/g,` +`))),0,0):Rt.empty;let f=e.someProp("clipboardTextParser",d=>d(t,o,r,e));if(f)s=f;else{let d=o.marks(),{schema:h}=e.state,p=zs.fromSchema(h);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(m=>{let A=a.appendChild(document.createElement("p"));m&&A.appendChild(p.serializeNode(h.text(m,d)))})}}else e.someProp("transformPastedHTML",f=>{n=f(n,e)}),a=$ie(n),Yp&&jie(a);let l=a&&a.querySelector("[data-pm-slice]"),u=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let f=+u[3];f>0;f--){let d=a.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;a=d}if(s||(s=(e.someProp("clipboardParser")||e.someProp("domParser")||bd.fromSchema(e.state.schema)).parseSlice(a,{preserveWhitespace:!!(c||u),context:o,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!Jie.test(d.parentNode.nodeName)?{ignore:!0}:null}})),u)s=qie(sT(s,+u[1],+u[2]),u[4]);else if(s=Rt.maxOpen(zie(s.content,o),!0),s.openStart||s.openEnd){let f=0,d=0;for(let h=s.content.firstChild;f{s=f(s,e)}),s}const Jie=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function zie(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let o=t.node(n).contentMatchAt(t.index(n)),i,a=[];if(e.forEach(s=>{if(!a)return;let c=o.findWrapping(s.type),l;if(!c)return a=null;if(l=a.length&&i.length&&YI(c,i,s,a[a.length-1],0))a[a.length-1]=l;else{a.length&&(a[a.length-1]=QI(a[a.length-1],i.length));let u=UI(s,c);a.push(u),o=o.matchType(u.type),i=c}}),a)return lt.from(a)}return e}function UI(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,lt.from(e));return e}function YI(e,t,n,r,o){if(o1&&(i=0),o=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,i<=o).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(lt.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function sT(e,t,n){return t]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=BI().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e),o;if((o=r&&ZI[r[1].toLowerCase()])&&(e=o.map(i=>"<"+i+">").join("")+e+o.map(i=>"").reverse().join("")),n.innerHTML=e,o)for(let i=0;i=0;s-=2){let c=n.nodes[r[s]];if(!c||c.hasRequiredAttrs())break;o=lt.from(c.create(r[s+1],o)),i++,a++}return new Rt(o,i,a)}const Xo={},Wo={},eae={touchstart:!0,touchmove:!0};class tae{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function nae(e){for(let t in Xo){let n=Xo[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=r=>{oae(e,r)&&!d5(e,r)&&(e.editable||!(r.type in Wo))&&n(e,r)},eae[t]?{passive:!0}:void 0)}Eo&&e.dom.addEventListener("input",()=>null),nb(e)}function nc(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function rae(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function nb(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=r=>d5(e,r))})}function d5(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function oae(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function iae(e,t){!d5(e,t)&&Xo[t.type]&&(e.editable||!(t.type in Wo))&&Xo[t.type](e,t)}Wo.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!KI(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(wa&&po&&n.keyCode==13)))if(n.keyCode!=229&&e.domObserver.forceFlush(),Pd&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();e.input.lastIOSEnter=r,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==r&&(e.someProp("handleKeyDown",o=>o(e,qc(13,"Enter"))),e.input.lastIOSEnter=0)},200)}else e.someProp("handleKeyDown",r=>r(e,n))||Gie(e,n)?n.preventDefault():nc(e,"key")};Wo.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)};Wo.keypress=(e,t)=>{let n=t;if(KI(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||Ki&&n.metaKey)return;if(e.someProp("handleKeyPress",o=>o(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof Xn)||!r.$from.sameParent(r.$to)){let o=String.fromCharCode(n.charCode);!/[\r\n]/.test(o)&&!e.someProp("handleTextInput",i=>i(e,r.$from.pos,r.$to.pos,o))&&e.dispatch(e.state.tr.insertText(o).scrollIntoView()),n.preventDefault()}};function u2(e){return{left:e.clientX,top:e.clientY}}function aae(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function h5(e,t,n,r,o){if(r==-1)return!1;let i=e.state.doc.resolve(r);for(let a=i.depth+1;a>0;a--)if(e.someProp(t,s=>a>i.depth?s(e,n,i.nodeAfter,i.before(a),o,!0):s(e,n,i.node(a),i.before(a),o,!1)))return!0;return!1}function pd(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);n=="pointer"&&r.setMeta("pointer",!0),e.dispatch(r)}function sae(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&Yt.isSelectable(r)?(pd(e,new Yt(n),"pointer"),!0):!1}function lae(e,t){if(t==-1)return!1;let n=e.state.selection,r,o;n instanceof Yt&&(r=n.node);let i=e.state.doc.resolve(t);for(let a=i.depth+1;a>0;a--){let s=a>i.depth?i.nodeAfter:i.node(a);if(Yt.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&i.before(n.$from.depth+1)==n.$from.pos?o=i.before(n.$from.depth):o=i.before(a);break}}return o!=null?(pd(e,Yt.create(e.state.doc,o),"pointer"),!0):!1}function cae(e,t,n,r,o){return h5(e,"handleClickOn",t,n,r)||e.someProp("handleClick",i=>i(e,t,r))||(o?lae(e,n):sae(e,n))}function uae(e,t,n,r){return h5(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",o=>o(e,t,r))}function fae(e,t,n,r){return h5(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",o=>o(e,t,r))||dae(e,n,r)}function dae(e,t,n){if(n.button!=0)return!1;let r=e.state.doc;if(t==-1)return r.inlineContent?(pd(e,Xn.create(r,0,r.content.size),"pointer"),!0):!1;let o=r.resolve(t);for(let i=o.depth+1;i>0;i--){let a=i>o.depth?o.nodeAfter:o.node(i),s=o.before(i);if(a.inlineContent)pd(e,Xn.create(r,s+1,s+1+a.content.size),"pointer");else if(Yt.isSelectable(a))pd(e,Yt.create(r,s),"pointer");else continue;return!0}}function p5(e){return ng(e)}const DI=Ki?"metaKey":"ctrlKey";Xo.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=p5(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time<500&&aae(n,e.input.lastClick)&&!n[DI]&&(e.input.lastClick.type=="singleClick"?i="doubleClick":e.input.lastClick.type=="doubleClick"&&(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};let a=e.posAtCoords(u2(n));a&&(i=="singleClick"?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new hae(e,a,n,!!r)):(i=="doubleClick"?uae:fae)(e,a.pos,a.inside,n)?n.preventDefault():nc(e,"pointer"))};class hae{constructor(t,n,r,o){this.view=t,this.pos=n,this.event=r,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[DI],this.allowDefault=r.shiftKey;let i,a;if(n.inside>-1)i=t.state.doc.nodeAt(n.inside),a=n.inside;else{let u=t.state.doc.resolve(n.pos);i=u.parent,a=u.depth?u.before():0}const s=o?null:r.target,c=s?t.docView.nearestDesc(s,!0):null;this.target=c?c.dom:null;let{selection:l}=t.state;(r.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||l instanceof Yt&&l.from<=a&&l.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Ia&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),nc(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>nl(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(u2(t))),this.updateAllowDefault(t),this.allowDefault||!n?nc(this.view,"pointer"):cae(this.view,n.pos,n.inside,t,this.selectNode)?t.preventDefault():t.button==0&&(this.flushed||Eo&&this.mightDrag&&!this.mightDrag.node.isAtom||po&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(pd(this.view,bn.near(this.view.state.doc.resolve(n.pos)),"pointer"),t.preventDefault()):nc(this.view,"pointer")}move(t){this.updateAllowDefault(t),nc(this.view,"pointer"),t.buttons==0&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}Xo.touchstart=e=>{e.input.lastTouch=Date.now(),p5(e),nc(e,"pointer")};Xo.touchmove=e=>{e.input.lastTouch=Date.now(),nc(e,"pointer")};Xo.contextmenu=e=>p5(e);function KI(e,t){return e.composing?!0:Eo&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}const pae=wa?5e3:-1;Wo.compositionstart=Wo.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))e.markCursor=e.state.storedMarks||n.marks(),ng(e,!0),e.markCursor=null;else if(ng(e),Ia&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=e.domSelectionRange();for(let o=r.focusNode,i=r.focusOffset;o&&o.nodeType==1&&i!=0;){let a=i<0?o.lastChild:o.childNodes[i-1];if(!a)break;if(a.nodeType==3){e.domSelection().collapse(a,a.nodeValue.length);break}else o=a,i=-1}}e.input.composing=!0}HI(e,pae)};Wo.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,HI(e,20))};function HI(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>ng(e),t))}function GI(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=mae());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function mae(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function ng(e,t=!1){if(!(wa&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),GI(e),t||e.docView&&e.docView.dirty){let n=u5(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}function vae(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}const ap=ni&&lc<15||Pd&&hie<604;Xo.copy=Wo.cut=(e,t)=>{let n=t,r=e.state.selection,o=n.type=="cut";if(r.empty)return;let i=ap?null:n.clipboardData,a=r.content(),{dom:s,text:c}=WI(e,a);i?(n.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",c)):vae(e,s),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function gae(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function Aae(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let o=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?sp(e,r.value,null,o,t):sp(e,r.textContent,r.innerHTML,o,t)},50)}function sp(e,t,n,r,o){let i=VI(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",c=>c(e,o,i||Rt.empty)))return!0;if(!i)return!1;let a=gae(i),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(i);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function JI(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}Wo.paste=(e,t)=>{let n=t;if(e.composing&&!wa)return;let r=ap?null:n.clipboardData,o=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&sp(e,JI(r),r.getData("text/html"),o,n)?n.preventDefault():Aae(e,n)};class zI{constructor(t,n,r){this.slice=t,this.move=n,this.node=r}}const $I=Ki?"altKey":"ctrlKey";Xo.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let o=e.state.selection,i=o.empty?null:e.posAtCoords(u2(n)),a;if(!(i&&i.pos>=o.from&&i.pos<=(o instanceof Yt?o.to-1:o.to))){if(r&&r.mightDrag)a=Yt.create(e.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let u=e.docView.nearestDesc(n.target,!0);u&&u.node.type.spec.draggable&&u!=e.docView&&(a=Yt.create(e.state.doc,u.posBefore))}}let s=(a||e.state.selection).content(),{dom:c,text:l}=WI(e,s);n.dataTransfer.clearData(),n.dataTransfer.setData(ap?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",ap||n.dataTransfer.setData("text/plain",l),e.dragging=new zI(s,!n[$I],a)};Xo.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)};Wo.dragover=Wo.dragenter=(e,t)=>t.preventDefault();Wo.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let o=e.posAtCoords(u2(n));if(!o)return;let i=e.state.doc.resolve(o.pos),a=r&&r.slice;a?e.someProp("transformPasted",p=>{a=p(a,e)}):a=VI(e,JI(n.dataTransfer),ap?null:n.dataTransfer.getData("text/html"),!1,i);let s=!!(r&&!n[$I]);if(e.someProp("handleDrop",p=>p(e,n,a||Rt.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let c=a?FN(e.state.doc,i.pos,a):i.pos;c==null&&(c=i.pos);let l=e.state.tr;if(s){let{node:p}=r;p?p.replace(l):l.deleteSelection()}let u=l.mapping.map(c),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=l.doc;if(f?l.replaceRangeWith(u,u,a.content.firstChild):l.replaceRange(u,u,a),l.doc.eq(d))return;let h=l.doc.resolve(u);if(f&&Yt.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))l.setSelection(new Yt(h));else{let p=l.mapping.map(c);l.mapping.maps[l.mapping.maps.length-1].forEach((m,A,x,y)=>p=y),l.setSelection(f5(e,h,l.doc.resolve(p)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))};Xo.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&nl(e)},20))};Xo.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)};Xo.beforeinput=(e,t)=>{if(po&&wa&&t.inputType=="deleteContentBackward"){e.domObserver.flushSoon();let{domChangeCount:r}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=r||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",i=>i(e,qc(8,"Backspace")))))return;let{$cursor:o}=e.state.selection;o&&o.pos>0&&e.dispatch(e.state.tr.delete(o.pos-1,o.pos).scrollIntoView())},50)}};for(let e in Wo)Xo[e]=Wo[e];function lp(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class rg{constructor(t,n){this.toDOM=t,this.spec=n||Ru,this.side=this.spec.side||0}map(t,n,r,o){let{pos:i,deleted:a}=t.mapResult(n.from+o,this.side<0?-1:1);return a?null:new ki(i-r,i-r,this)}valid(){return!0}eq(t){return this==t||t instanceof rg&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&lp(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class uc{constructor(t,n){this.attrs=t,this.spec=n||Ru}map(t,n,r,o){let i=t.map(n.from+o,this.spec.inclusiveStart?-1:1)-r,a=t.map(n.to+o,this.spec.inclusiveEnd?1:-1)-r;return i>=a?null:new ki(i,a,this)}valid(t,n){return n.from=t&&(!i||i(s.spec))&&r.push(s.copy(s.from+o,s.to+o))}for(let a=0;at){let s=this.children[a]+1;this.children[a+2].findInner(t-s,n-s,r,o+s,i)}}map(t,n,r){return this==co||t.maps.length==0?this:this.mapInner(t,n,0,0,r||Ru)}mapInner(t,n,r,o,i){let a;for(let s=0;s{let l=c+r,u;if(u=qI(n,s,l)){for(o||(o=this.children.slice());is&&f.to=t){this.children[s]==t&&(r=this.children[s+2]);break}let i=t+1,a=i+n.content.size;for(let s=0;si&&c.type instanceof uc){let l=Math.max(i,c.from)-i,u=Math.min(a,c.to)-i;lo.map(t,n,Ru));return zl.from(r)}forChild(t,n){if(n.isLeaf)return Nr.empty;let r=[];for(let o=0;on instanceof Nr)?t:t.reduce((n,r)=>n.concat(r instanceof Nr?r:r.members),[]))}}}function Rae(e,t,n,r,o,i,a){let s=e.slice();for(let l=0,u=i;l{let A=m-p-(h-d);for(let x=0;xy+u-f)continue;let R=s[x]+u-f;h>=R?s[x+1]=d<=R?-2:-1:d>=u&&A&&(s[x]+=A,s[x+1]+=A)}f+=A}),u=n.maps[l].map(u,-1)}let c=!1;for(let l=0;l=r.content.size){c=!0;continue}let d=n.map(e[l+1]+i,-1),h=d-o,{index:p,offset:m}=r.content.findIndex(f),A=r.maybeChild(p);if(A&&m==f&&m+A.nodeSize==h){let x=s[l+2].mapInner(n,A,u+1,e[l]+i+1,a);x!=co?(s[l]=f,s[l+1]=h,s[l+2]=x):(s[l+1]=-2,c=!0)}else c=!0}if(c){let l=yae(s,e,t,n,o,i,a),u=og(l,r,0,a);t=u.local;for(let f=0;fn&&a.to{let l=qI(e,s,c+n);if(l){i=!0;let u=og(l,s,n+c+1,r);u!=co&&o.push(c,c+s.nodeSize,u)}});let a=jI(i?eF(e):e,-n).sort(yu);for(let s=0;s0;)t++;e.splice(t,0,n)}function Yy(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=co&&t.push(r)}),e.cursorWrapper&&t.push(Nr.create(e.state.doc,[e.cursorWrapper.deco])),zl.from(t)}const bae={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},xae=ni&&lc<=11;class Sae{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class Mae{constructor(t,n){this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new Sae,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let o=0;oo.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),xae&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,bae)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(tT(this.view)){if(this.suppressingSelectionUpdates)return nl(this.view);if(ni&&lc<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&Xu(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let n=new Set,r;for(let i=t.focusNode;i;i=ip(i))n.add(i);for(let i=t.anchorNode;i;i=ip(i))if(n.has(i)){r=i;break}let o=r&&this.view.docView.nearestDesc(r);if(o&&o.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=t.domSelectionRange(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&tT(t)&&!this.ignoreSelectionChange(r),i=-1,a=-1,s=!1,c=[];if(t.editable)for(let u=0;u1){let u=c.filter(f=>f.nodeName=="BR");if(u.length==2){let f=u[0],d=u[1];f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}}let l=null;i<0&&o&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)-1||o)&&(i>-1&&(t.docView.markDirty(i,a),wae(t)),this.handleDOMChange(i,a,s,c),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(r)||nl(t),this.currentSelection.set(r))}registerMutation(t,n){if(n.indexOf(t.target)>-1)return null;let r=this.view.docView.nearestDesc(t.target);if(t.type=="attributes"&&(r==this.view.docView||t.attributeName=="contenteditable"||t.attributeName=="style"&&!t.oldValue&&!t.target.getAttribute("style"))||!r||r.ignoreMutation(t))return null;if(t.type=="childList"){for(let u=0;uo;A--){let x=r.childNodes[A-1],y=x.pmViewDesc;if(x.nodeName=="BR"&&!y){i=A;break}if(!y||y.size)break}let f=e.state.doc,d=e.someProp("domParser")||bd.fromSchema(e.state.schema),h=f.resolve(a),p=null,m=d.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:o,to:i,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:l,ruleFromNode:Tae,context:h});if(l&&l[0].pos!=null){let A=l[0].pos,x=l[1]&&l[1].pos;x==null&&(x=A),p={anchor:A+a,head:x+a}}return{doc:m,sel:p,from:a,to:s}}function Tae(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName=="BR"&&e.parentNode){if(Eo&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(e.parentNode.lastChild==e||Eo&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName=="IMG"&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const kae=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Nae(e,t,n,r,o){let i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let w=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,k=u5(e,w);if(k&&!e.state.selection.eq(k)){if(po&&wa&&e.input.lastKeyCode===13&&Date.now()-100P(e,qc(13,"Enter"))))return;let _=e.state.tr.setSelection(k);w=="pointer"?_.setMeta("pointer",!0):w=="key"&&_.scrollIntoView(),i&&_.setMeta("composition",i),e.dispatch(_)}return}let a=e.state.doc.resolve(t),s=a.sharedDepth(n);t=a.before(s+1),n=e.state.doc.resolve(n).after(s+1);let c=e.state.selection,l=Oae(e,t,n),u=e.state.doc,f=u.slice(l.from,l.to),d,h;e.input.lastKeyCode===8&&Date.now()-100Date.now()-225||wa)&&o.some(w=>w.nodeType==1&&!kae.test(w.nodeName))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",w=>w(e,qc(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!p)if(r&&c instanceof Xn&&!c.empty&&c.$head.sameParent(c.$anchor)&&!e.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))p={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let w=dT(e,e.state.doc,l.sel);if(w&&!w.eq(e.state.selection)){let k=e.state.tr.setSelection(w);i&&k.setMeta("composition",i),e.dispatch(k)}}return}if(po&&e.cursorWrapper&&l.sel&&l.sel.anchor==e.cursorWrapper.deco.from&&l.sel.head==l.sel.anchor){let w=p.endB-p.start;l.sel={anchor:l.sel.anchor+w,head:l.sel.anchor+w}}e.input.domChangeCount++,e.state.selection.frome.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=l.from?p.start=e.state.selection.from:p.endA=e.state.selection.to-2&&e.state.selection.to<=l.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),ni&&lc<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>l.from&&l.doc.textBetween(p.start-l.from-1,p.start-l.from+1)=="  "&&(p.start--,p.endA--,p.endB--);let m=l.doc.resolveNoCache(p.start-l.from),A=l.doc.resolveNoCache(p.endB-l.from),x=u.resolve(p.start),y=m.sameParent(A)&&m.parent.inlineContent&&x.end()>=p.endA,R;if((Pd&&e.input.lastIOSEnter>Date.now()-225&&(!y||o.some(w=>w.nodeName=="DIV"||w.nodeName=="P"))||!y&&m.posw(e,qc(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>p.start&&Cae(u,p.start,p.endA,m,A)&&e.someProp("handleKeyDown",w=>w(e,qc(8,"Backspace")))){wa&&po&&e.domObserver.suppressSelectionUpdates();return}po&&wa&&p.endB==p.start&&(e.input.lastAndroidDelete=Date.now()),wa&&!y&&m.start()!=A.start()&&A.parentOffset==0&&m.depth==A.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==p.endA&&(p.endB-=2,A=l.doc.resolveNoCache(p.endB-l.from),setTimeout(()=>{e.someProp("handleKeyDown",function(w){return w(e,qc(13,"Enter"))})},20));let g=p.start,b=p.endA,L,T,M;if(y){if(m.pos==A.pos)ni&&lc<=11&&m.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>nl(e),20)),L=e.state.tr.delete(g,b),T=u.resolve(p.start).marksAcross(u.resolve(p.endA));else if(p.endA==p.endB&&(M=Pae(m.parent.content.cut(m.parentOffset,A.parentOffset),x.parent.content.cut(x.parentOffset,p.endA-x.start()))))L=e.state.tr,M.type=="add"?L.addMark(g,b,M.mark):L.removeMark(g,b,M.mark);else if(m.parent.child(m.index()).isText&&m.index()==A.index()-(A.textOffset?0:1)){let w=m.parent.textBetween(m.parentOffset,A.parentOffset);if(e.someProp("handleTextInput",k=>k(e,g,b,w)))return;L=e.state.tr.insertText(w,g,b)}}if(L||(L=e.state.tr.replace(g,b,l.doc.slice(p.start-l.from,p.endB-l.from))),l.sel){let w=dT(e,L.doc,l.sel);w&&!(po&&wa&&e.composing&&w.empty&&(p.start!=p.endB||e.input.lastAndroidDeletet.content.size?null:f5(e,t.resolve(n.anchor),t.resolve(n.head))}function Pae(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,o=n,i=r,a,s,c;for(let u=0;uu.mark(s.addToSet(u.marks));else if(o.length==0&&i.length==1)s=i[0],a="remove",c=u=>u.mark(s.removeFromSet(u.marks));else return null;let l=[];for(let u=0;un||Qy(a,!0,!1)0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n){let i=e.node(r).maybeChild(e.indexAfter(r));for(;i&&!i.isLeaf;)i=i.firstChild,o++}return o}function Iae(e,t,n,r,o){let i=e.findDiffStart(t,n);if(i==null)return null;let{a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if(o=="end"){let c=Math.max(0,i-Math.min(a,s));r-=a+c-i}if(a=a?i-r:0;i-=c,i&&i=s?i-r:0;i-=c,i&&i=56320&&t<=57343&&n>=55296&&n<=56319}class Fae{constructor(t,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new tae,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(AT),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):typeof t=="function"?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=vT(this),mT(this),this.nodeViews=gT(this),this.docView=JO(this.state.doc,pT(this),Yy(this),this.dom,this),this.domObserver=new Mae(this,(r,o,i,a)=>Nae(this,r,o,i,a)),this.domObserver.start(),nae(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let n in t)this._props[n]=t[n];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&nb(this);let n=this._props;this._props=t,t.plugins&&(t.plugins.forEach(AT),this.directPlugins=t.plugins),this.updateStateInner(t.state,n)}setProps(t){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in t)n[r]=t[r];this.update(n)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,n){var r;let o=this.state,i=!1,a=!1;t.storedMarks&&this.composing&&(GI(this),a=!0),this.state=t;let s=o.plugins!=t.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=gT(this);Eae(h,this.nodeViews)&&(this.nodeViews=h,i=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&nb(this),this.editable=vT(this),mT(this);let c=Yy(this),l=pT(this),u=o.plugins!=t.plugins&&!o.doc.eq(t.doc)?"reset":t.scrollToSelection>o.scrollToSelection?"to selection":"preserve",f=i||!this.docView.matchesNode(t.doc,l,c);(f||!t.selection.eq(o.selection))&&(a=!0);let d=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&vie(this);if(a){this.domObserver.stop();let h=f&&(ni||po)&&!this.composing&&!o.selection.empty&&!t.selection.empty&&_ae(o.selection,t.selection);if(f){let p=po?this.trackWrites=this.domSelectionRange().focusNode:null;(i||!this.docView.update(t.doc,l,c,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=JO(t.doc,l,c,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Yie(this))?nl(this,h):(_I(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(o),!((r=this.dragging)===null||r===void 0)&&r.node&&!o.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,o),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():d&&gie(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Yt){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&ZO(this,n.getBoundingClientRect(),t)}else ZO(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(!t||t.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(i))==r.node&&(o=i)}this.dragging=new zI(t.slice,t.move,o<0?void 0:Yt.create(this.state.doc,o))}someProp(t,n){let r=this._props&&this._props[t],o;if(r!=null&&(o=n?n(r):r))return o;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return t||document}updateRoot(){this._root=null}posAtCoords(t){return Sie(this,t)}coordsAtPos(t,n=1){return OI(this,t,n)}domAtPos(t,n=0){return this.docView.domFromPos(t,n)}nodeDOM(t){let n=this.docView.descAt(t);return n?n.nodeDOM:null}posAtDOM(t,n,r=-1){let o=this.docView.posFromDOM(t,n,r);if(o==null)throw new RangeError("DOM position not inside the editor");return o}endOfTextblock(t,n){return Tie(this,n||this.state,t)}pasteHTML(t,n){return sp(this,"",t,!1,n||new ClipboardEvent("paste"))}pasteText(t,n){return sp(this,t,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(rae(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Yy(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(t){return iae(this,t)}dispatch(t){let n=this._props.dispatchTransaction;n?n.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){return Eo&&this.root.nodeType===11&&cie(this.dom.ownerDocument)==this.dom?Lae(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function pT(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(e.state)),n)for(let r in n)r=="class"?t.class+=" "+n[r]:r=="style"?t.style=(t.style?t.style+";":"")+n[r]:!t[r]&&r!="contenteditable"&&r!="nodeName"&&(t[r]=String(n[r]))}),t.translate||(t.translate="no"),[ki.node(0,e.state.doc.content.size,t)]}function mT(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:ki.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function vT(e){return!e.someProp("editable",t=>t(e.state)===!1)}function _ae(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function gT(e){let t=Object.create(null);function n(r){for(let o in r)Object.prototype.hasOwnProperty.call(t,o)||(t[o]=r[o])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Eae(e,t){let n=0,r=0;for(let o in e){if(e[o]!=t[o])return!0;n++}for(let o in t)r++;return n!=r}function AT(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Rc={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},ig={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Xae=typeof navigator<"u"&&/Mac/.test(navigator.platform),Wae=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var eo=0;eo<10;eo++)Rc[48+eo]=Rc[96+eo]=String(eo);for(var eo=1;eo<=24;eo++)Rc[eo+111]="F"+eo;for(var eo=65;eo<=90;eo++)Rc[eo]=String.fromCharCode(eo+32),ig[eo]=String.fromCharCode(eo);for(var Zy in Rc)ig.hasOwnProperty(Zy)||(ig[Zy]=Rc[Zy]);function Vae(e){var t=Xae&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Wae&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?ig:Rc)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const Uae=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function Yae(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n=="Space"&&(n=" ");let r,o,i,a;for(let s=0;s127)&&(i=Rc[r.keyCode])&&i!=o){let s=t[By(i,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var ag=200,Zr=function(){};Zr.prototype.append=function(t){return t.length?(t=Zr.from(t),!this.length&&t||t.length=n?Zr.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))};Zr.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};Zr.prototype.forEach=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(t,n,r,0):this.forEachInvertedInner(t,n,r,0)};Zr.prototype.map=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var o=[];return this.forEach(function(i,a){return o.push(t(i,a))},n,r),o};Zr.from=function(t){return t instanceof Zr?t:t&&t.length?new nF(t):Zr.empty};var nF=function(e){function t(r){e.call(this),this.values=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(o,i){return o==0&&i==this.length?this:new t(this.values.slice(o,i))},t.prototype.getInner=function(o){return this.values[o]},t.prototype.forEachInner=function(o,i,a,s){for(var c=i;c=a;c--)if(o(this.values[c],s+c)===!1)return!1},t.prototype.leafAppend=function(o){if(this.length+o.length<=ag)return new t(this.values.concat(o.flatten()))},t.prototype.leafPrepend=function(o){if(this.length+o.length<=ag)return new t(o.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(Zr);Zr.empty=new nF([]);var Zae=function(e){function t(n,r){e.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(r){return rs&&this.right.forEachInner(r,Math.max(o-s,0),Math.min(this.length,i)-s,a+s)===!1)return!1},t.prototype.forEachInvertedInner=function(r,o,i,a){var s=this.left.length;if(o>s&&this.right.forEachInvertedInner(r,o-s,Math.max(i,s)-s,a+s)===!1||i=i?this.right.slice(r-i,o-i):this.left.slice(r,i).append(this.right.slice(0,o-i))},t.prototype.leafAppend=function(r){var o=this.right.leafAppend(r);if(o)return new t(this.left,o)},t.prototype.leafPrepend=function(r){var o=this.left.leafPrepend(r);if(o)return new t(o,this.right)},t.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new t(this.left,new t(this.right,r)):new t(this,r)},t}(Zr);const Bae=500;class Oa{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let o,i;n&&(o=this.remapping(r,this.items.length),i=o.maps.length);let a=t.tr,s,c,l=[],u=[];return this.items.forEach((f,d)=>{if(!f.step){o||(o=this.remapping(r,d+1),i=o.maps.length),i--,u.push(f);return}if(o){u.push(new Ha(f.map));let h=f.step.map(o.slice(i)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],l.push(new Ha(p,void 0,void 0,l.length+u.length))),i--,p&&o.appendMap(p,i)}else a.maybeStep(f.step);if(f.selection)return s=o?f.selection.map(o.slice(i)):f.selection,c=new Oa(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1},this.items.length,0),{remaining:c,transform:a,selection:s}}addTransform(t,n,r,o){let i=[],a=this.eventCount,s=this.items,c=!o&&s.length?s.get(s.length-1):null;for(let u=0;uKae&&(s=Dae(s,l),a-=l),new Oa(s.append(i),a)}remapping(t,n){let r=new ad;return this.items.forEach((o,i)=>{let a=o.mirrorOffset!=null&&i-o.mirrorOffset>=t?r.maps.length-o.mirrorOffset:void 0;r.appendMap(o.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new Oa(this.items.append(t.map(n=>new Ha(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],o=Math.max(0,this.items.length-n),i=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},o);let c=n;this.items.forEach(d=>{let h=i.getMirror(--c);if(h==null)return;a=Math.min(a,h);let p=i.maps[h];if(d.step){let m=t.steps[h].invert(t.docs[h]),A=d.selection&&d.selection.map(i.slice(c+1,h));A&&s++,r.push(new Ha(p,m,A))}else r.push(new Ha(p))},o);let l=[];for(let d=n;dBae&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,o=[],i=0;return this.items.forEach((a,s)=>{if(s>=t)o.push(a),a.selection&&i++;else if(a.step){let c=a.step.map(n.slice(r)),l=c&&c.getMap();if(r--,l&&n.appendMap(l,r),c){let u=a.selection&&a.selection.map(n.slice(r));u&&i++;let f=new Ha(l.invert(),c,u),d,h=o.length-1;(d=o.length&&o[h].merge(f))?o[h]=d:o.push(f)}}else a.map&&r--},this.items.length,0),new Oa(Zr.from(o.reverse()),i)}}Oa.empty=new Oa(Zr.empty,0);function Dae(e,t){let n;return e.forEach((r,o)=>{if(r.selection&&t--==0)return n=o,!1}),e.slice(n)}class Ha{constructor(t,n,r,o){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=o}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Ha(n.getMap().invert(),n,this.selection)}}}class Dl{constructor(t,n,r,o,i){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=o,this.prevComposition=i}}const Kae=20;function Hae(e,t,n,r){let o=n.getMeta(fc),i;if(o)return o.historyState;n.getMeta(Jae)&&(e=new Dl(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(fc))return a.getMeta(fc).redo?new Dl(e.done.addTransform(n,void 0,r,qm(t)),e.undone,yT(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new Dl(e.done,e.undone.addTransform(n,void 0,r,qm(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),c=e.prevTime==0||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!Gae(n,e.prevRanges)),l=a?Dy(e.prevRanges,n.mapping):yT(n.mapping.maps[n.steps.length-1]);return new Dl(e.done.addTransform(n,c?t.selection.getBookmark():void 0,r,qm(t)),Oa.empty,l,n.time,s??e.prevComposition)}else return(i=n.getMeta("rebased"))?new Dl(e.done.rebased(n,i),e.undone.rebased(n,i),Dy(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new Dl(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),Dy(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function Gae(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,o)=>{for(let i=0;i=t[i]&&(n=!0)}),n}function yT(e){let t=[];return e.forEach((n,r,o,i)=>t.push(o,i)),t}function Dy(e,t){if(!e)return null;let n=[];for(let r=0;r{let n=fc.getState(e);return!n||n.done.eventCount==0?!1:(t&&rF(n,e,t,!1),!0)},iF=(e,t)=>{let n=fc.getState(e);return!n||n.undone.eventCount==0?!1:(t&&rF(n,e,t,!0),!0)};function $ae(e={}){return new Ud({view(t){return new jae(t,e)}})}class jae{constructor(t,n){var r;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(o=>{let i=a=>{this[o](a)};return t.dom.addEventListener(o,i),{name:o,handler:i}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,r;if(n){let s=t.nodeBefore,c=t.nodeAfter;if(s||c){let l=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(l){let u=l.getBoundingClientRect(),f=s?u.bottom:u.top;s&&c&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let o=this.editorView.dom.offsetParent;this.element||(this.element=o.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let i,a;if(!o||o==document.body&&getComputedStyle(o).position=="static")i=-pageXOffset,a=-pageYOffset;else{let s=o.getBoundingClientRect();i=s.left-o.scrollLeft,a=s.top-o.scrollTop}this.element.style.left=r.left-i+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),o=r&&r.type.spec.disableDropCursor,i=typeof o=="function"?o(this.editorView,n,t):o;if(n&&!i){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=FN(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}class Rr extends bn{constructor(t){super(t,t)}map(t,n){let r=t.resolve(n.map(this.head));return Rr.valid(r)?new Rr(r):bn.near(r)}content(){return Rt.empty}eq(t){return t instanceof Rr&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Rr(t.resolve(n.pos))}getBookmark(){return new g5(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!qae(t)||!ese(t))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let o=n.contentMatchAt(t.index()).defaultType;return o&&o.isTextblock}static findGapCursorFrom(t,n,r=!1){e:for(;;){if(!r&&Rr.valid(t))return t;let o=t.pos,i=null;for(let a=t.depth;;a--){let s=t.node(a);if(n>0?t.indexAfter(a)0){i=s.child(n>0?t.indexAfter(a):t.index(a)-1);break}else if(a==0)return null;o+=n;let c=t.doc.resolve(o);if(Rr.valid(c))return c}for(;;){let a=n>0?i.firstChild:i.lastChild;if(!a){if(i.isAtom&&!i.isText&&!Yt.isSelectable(i)){t=t.doc.resolve(o+i.nodeSize*n),r=!1;continue e}break}i=a,o+=n;let s=t.doc.resolve(o);if(Rr.valid(s))return s}return null}}}Rr.prototype.visible=!1;Rr.findFrom=Rr.findGapCursorFrom;bn.jsonID("gapcursor",Rr);class g5{constructor(t){this.pos=t}map(t){return new g5(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return Rr.valid(n)?new Rr(n):bn.near(n)}}function qae(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let o=r.child(n-1);;o=o.lastChild){if(o.childCount==0&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}function ese(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let o=r.child(n);;o=o.firstChild){if(o.childCount==0&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}function tse(){return new Ud({props:{decorations:ise,createSelectionBetween(e,t,n){return t.pos==n.pos&&Rr.valid(n)?new Rr(n):null},handleClick:rse,handleKeyDown:nse,handleDOMEvents:{beforeinput:ose}}})}const nse=tF({ArrowLeft:Rm("horiz",-1),ArrowRight:Rm("horiz",1),ArrowUp:Rm("vert",-1),ArrowDown:Rm("vert",1)});function Rm(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(r,o,i){let a=r.selection,s=t>0?a.$to:a.$from,c=a.empty;if(a instanceof Xn){if(!i.endOfTextblock(n)||s.depth==0)return!1;c=!1,s=r.doc.resolve(t>0?s.after():s.before())}let l=Rr.findGapCursorFrom(s,t,c);return l?(o&&o(r.tr.setSelection(new Rr(l))),!0):!1}}function rse(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!Rr.valid(r))return!1;let o=e.posAtCoords({left:n.clientX,top:n.clientY});return o&&o.inside>-1&&Yt.isSelectable(e.state.doc.nodeAt(o.inside))?!1:(e.dispatch(e.state.tr.setSelection(new Rr(r))),!0)}function ose(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof Rr))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let o=lt.empty;for(let a=r.length-1;a>=0;a--)o=lt.from(r[a].createAndFill(null,o));let i=e.state.tr.replace(n.pos,n.pos,new Rt(o,0,0));return i.setSelection(Xn.near(i.doc.resolve(n.pos+1))),e.dispatch(i),!1}function ise(e){if(!(e.selection instanceof Rr))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",Nr.create(e.doc,[ki.widget(e.selection.head,t,{key:"gapcursor"})])}const ase=["li",0],sse={parseDOM:[{tag:"li"}],toDOM(){return ase},defining:!0};function lse(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=!1,c=a;if(!a)return!1;if(a.depth>=2&&o.node(a.depth-1).type.compatibleContent(e)&&a.startIndex==0){if(o.index(a.depth-1)==0)return!1;let u=n.doc.resolve(a.start-2);c=new Mv(u,u,a.depth),a.endIndex=0;u--)i=lt.from(n[u].type.create(n[u].attrs,i));e.step(new ro(t.start-(r?2:0),t.end,t.start,t.end,new Rt(i,0,0),n.length,!0));let a=0;for(let u=0;u=o.depth-3;x--)f=lt.from(o.node(x).copy(f));let h=o.indexAfter(-1){if(A>-1)return!1;x.isTextblock&&x.content.size==0&&(A=y+1)}),A>-1&&m.setSelection(bn.near(m.doc.resolve(A))),r(m.scrollIntoView())}return!0}let c=i.pos==o.end()?s.contentMatchAt(0).defaultType:null,l=n.tr.delete(o.pos,i.pos),u=c?[t?{type:e,attrs:t}:null,{type:c}]:void 0;return sd(l.doc,o.pos,2,u)?(r&&r(l.split(o.pos,2,u).scrollIntoView()),!0):!1}}function aF(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,a=>a.childCount>0&&a.firstChild.type==e);return i?n?r.node(i.depth-1).type==e?fse(t,n,e,i):dse(t,n,i):!0:!1}}function fse(e,t,n,r){let o=e.tr,i=r.end,a=r.$to.end(r.depth);im;p--)h-=o.child(p).nodeSize,r.delete(h-1,h+1);let i=r.doc.resolve(n.start),a=i.nodeAfter;if(r.mapping.map(n.end)!=n.start+i.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,c=n.endIndex==o.childCount,l=i.node(-1),u=i.index(-1);if(!l.canReplace(u+(s?0:1),u+1,a.content.append(c?lt.empty:lt.from(o))))return!1;let f=i.pos,d=f+a.nodeSize;return r.step(new ro(f-(s?1:0),d+(c?1:0),f+1,d-1,new Rt((s?lt.empty:lt.from(o.copy(lt.empty))).append(c?lt.empty:lt.from(o.copy(lt.empty))),s?0:1,c?0:1),s?0:1)),t(r.scrollIntoView()),!0}function xT(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,l=>l.childCount>0&&l.firstChild.type==e);if(!i)return!1;let a=i.startIndex;if(a==0)return!1;let s=i.parent,c=s.child(a-1);if(c.type!=e)return!1;if(n){let l=c.lastChild&&c.lastChild.type==s.type,u=lt.from(l?e.create():null),f=new Rt(lt.from(e.create(null,lt.from(s.type.create(null,u)))),l?3:1,0),d=i.start,h=i.end;n(t.tr.step(new ro(d-(l?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}class fl{constructor(t,n,r={}){this.match=t,this.match=t,this.handler=typeof n=="string"?hse(n):n,this.undoable=r.undoable!==!1}}function hse(e){return function(t,n,r,o){let i=e;if(n[1]){let a=n[0].lastIndexOf(n[1]);i+=n[0].slice(a+n[1].length),r+=a;let s=r-o;s>0&&(i=n[0].slice(a-s,a)+i,r=o)}return t.tr.insertText(i,r,o)}}const pse=500;function mse({rules:e}){let t=new Ud({state:{init(){return null},apply(n,r){let o=n.getMeta(this);return o||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,o,i){return ST(n,r,o,i,e,t)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&ST(n,r.pos,r.pos,"",e,t)})}}},isInputRules:!0});return t}function ST(e,t,n,r,o,i){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t);if(s.parent.type.spec.code)return!1;let c=s.parent.textBetween(Math.max(0,s.parentOffset-pse),s.parentOffset,null,"")+r;for(let l=0;l{let n=e.plugins;for(let r=0;r=0;c--)a.step(s.steps[c].invert(s.docs[c]));if(i.text){let c=a.doc.resolve(i.from).marks();a.replaceWith(i.from,i.to,e.schema.text(i.text,c))}else a.delete(i.from,i.to);t(a)}return!0}}return!1},gse=new fl(/--$/,"—"),Ase=new fl(/\.\.\.$/,"…"),Rse=new fl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),yse=new fl(/"$/,"”"),bse=new fl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),xse=new fl(/'$/,"’"),Sse=[Rse,yse,bse,xse];function A5(e,t,n=null,r){return new fl(e,(o,i,a,s)=>{let c=n instanceof Function?n(i):n,l=o.tr.delete(a,s),u=l.doc.resolve(a),f=u.blockRange(),d=f&&cx(f,t,c);if(!d)return null;l.wrap(f,d);let h=l.doc.resolve(a-1).nodeBefore;return h&&h.type==t&&Vd(l.doc,a-1)&&(!r||r(i,h))&&l.join(a-1),l})}const Mse=e=>{const t={},n=(r,o)=>t[r]=o;return n("Alt-ArrowUp",HH),n("Alt-ArrowDown",GH),n("Mod-z",oF),n("Mod-y",iF),n("Backspace",vse),n("Escape",qH),n("Mod-b",kr(e.marks.strong)),n("Mod-i",kr(e.marks.em)),n("Mod-u",kr(e.marks.underline)),n("Mod-d",kr(e.marks.strikethrough)),n("Mod-e",kr(e.marks.code)),n("Mod-;",kr(e.marks.superscript)),n("Mod-'",kr(e.marks.subscript)),n("Enter",Xg(use(e.nodes.list_item),DN,KN,HN,jH)),n("Mod-[",aF(e.nodes.list_item)),n("Mod-]",xT(e.nodes.list_item)),n("Tab",xT(e.nodes.list_item)),t},wse=e=>A5(/^\s*>\s$/,e),Lse=e=>A5(/^(\d+)\.\s$/,e,t=>({order:+t[1]}),(t,n)=>n.childCount+n.attrs.order===+t[1]),Ose=e=>A5(/^\s*([-+*])\s$/,e),Tse=()=>{const e=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;return new fl(e,(t,n,r,o)=>{const{schema:i}=t,a=t.tr.insertText(`${n[2]} `,r,o),s=i.marks.code.create();return a.addMark(r,r+n[2].length,s)})},kse=()=>{const e=/(?:https?:\/\/)?[\w-]+(?:\.[\w-]+)+\.?(?:\d+)?(?:\/\S*)?$/;return new fl(e,(t,n,r,o)=>{const{schema:i}=t,a=t.tr.insertText(n[0],r,o),s=i.marks.link.create({href:n[0],title:n[0]});return a.addMark(r,r+n[0].length,s)})},Nse=e=>{const t=[...Sse,Ase,gse];return t.push(wse(e.nodes.blockquote)),t.push(Lse(e.nodes.ordered_list)),t.push(Ose(e.nodes.bullet_list)),t.push(Tse()),t.push(kse()),mse({rules:t})},Pse=e=>e.type.name==="paragraph"&&e.nodeSize===2,Cse=e=>new Ud({props:{decorations(t){const{$from:n}=t.selection;if(Pse(n.parent)){const r=ki.node(n.before(),n.after(),{"data-placeholder":e});return Nr.create(t.doc,[r])}}}}),Ise=(e,t)=>{const n=t==null?void 0:t.placeholder,r=[Nse(e),RT(Mse(e)),RT(aG),$ae(),tse(),zae()];return n&&r.push(Cse(n)),r},Fse=["p",0],_se=["blockquote",0],Ese=["hr"],Xse=["pre",["code",0]],Wse=["br"],sF={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return Fse}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return _se}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return Ese}},heading:{attrs:{level:{default:1}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(e){return["h"+e.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return Xse}},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(e){return{src:e.getAttribute("src"),title:e.getAttribute("title"),alt:e.getAttribute("alt")}}}],toDOM(e){let{src:t,alt:n,title:r}=e.attrs;return["img",{src:t,alt:n,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return Wse}}},Vse=["em",0],Use=["strong",0],Yse=["code",0],lF={link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(e){return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM(e){let{href:t,title:n}=e.attrs;return["a",{href:t,title:n},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:e=>e.type.name=="em"}],toDOM(){return Vse}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name=="strong"},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],toDOM(){return Use}},code:{parseDOM:[{tag:"code"}],toDOM(){return Yse}}};new MN({nodes:sF,marks:lF});const Qse={attrs:{order:{default:1},listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ol",getAttrs:e=>{const n={order:+((e.hasAttribute("start")?e.getAttribute("start"):1)||1)},{listStyleType:r,fontSize:o,color:i}=e.style;return r&&(n.listStyleType=r),o&&(n.fontsize=o),i&&(n.color=i),n}}],toDOM:e=>{const{order:t,listStyleType:n,fontsize:r,color:o}=e.attrs;let i="";n&&(i+=`list-style-type: ${n};`),r&&(i+=`font-size: ${r};`),o&&(i+=`color: ${o};`);const a={style:i};return t!==1&&(a.start=t),["ol",a,0]}},Zse={attrs:{listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ul",getAttrs:e=>{const t={},{listStyleType:n,fontSize:r,color:o}=e.style;return n&&(t.listStyleType=n),r&&(t.fontsize=r),o&&(t.color=o),t}}],toDOM:e=>{const{listStyleType:t,fontsize:n,color:r}=e.attrs;let o="";return t&&(o+=`list-style-type: ${t};`),n&&(o+=`font-size: ${n};`),r&&(o+=`color: ${r};`),["ul",{style:o},0]}},Bse={...sse,content:"paragraph block*",group:"block"},Dse={attrs:{align:{default:""},indent:{default:0},textIndent:{default:0}},content:"inline*",group:"block",parseDOM:[{tag:"p",getAttrs:e=>{const{textAlign:t,textIndent:n}=e.style;let r=e.getAttribute("align")||t||"";r=/(left|right|center|justify)/.test(r)?r:"";let o=0;n&&(/em/.test(n)?o=parseInt(n):/px/.test(n)&&(o=Math.floor(parseInt(n)/20),o||(o=1)));const i=+(e.getAttribute("data-indent")||0);return{align:r,indent:i,textIndent:o}}},{tag:"img",ignore:!0},{tag:"pre",skip:!0}],toDOM:e=>{const{align:t,indent:n,textIndent:r}=e.attrs;let o="";t&&t!=="left"&&(o+=`text-align: ${t};`),r&&(o+=`text-indent: ${r*20}px;`);const i={style:o};return n&&(i["data-indent"]=n),["p",i,0]}},{doc:Kse,blockquote:Hse,text:Gse}=sF,Jse={doc:Kse,paragraph:Dse,blockquote:Hse,text:Gse,ordered_list:Qse,bullet_list:Zse,list_item:Bse},zse={excludes:"subscript",parseDOM:[{tag:"sub"},{style:"vertical-align",getAttrs:e=>e==="sub"&&null}],toDOM:()=>["sub",0]},$se={excludes:"superscript",parseDOM:[{tag:"sup"},{style:"vertical-align",getAttrs:e=>e==="super"&&null}],toDOM:()=>["sup",0]},jse={parseDOM:[{tag:"strike"},{style:"text-decoration",getAttrs:e=>e==="line-through"&&null},{style:"text-decoration-line",getAttrs:e=>e==="line-through"&&null}],toDOM:()=>["span",{style:"text-decoration-line: line-through;"},0]},qse={parseDOM:[{tag:"u"},{style:"text-decoration",getAttrs:e=>e==="underline"&&null},{style:"text-decoration-line",getAttrs:e=>e==="underline"&&null}],toDOM:()=>["span",{style:"text-decoration: underline;"},0]},ele={attrs:{color:{}},inline:!0,group:"inline",parseDOM:[{style:"color",getAttrs:e=>e?{color:e}:{}}],toDOM:e=>{const{color:t}=e.attrs;let n="";return t&&(n+=`color: ${t};`),["span",{style:n},0]}},tle={attrs:{backcolor:{}},inline:!0,group:"inline",parseDOM:[{style:"background-color",getAttrs:e=>e?{backcolor:e}:{}}],toDOM:e=>{const{backcolor:t}=e.attrs;let n="";return t&&(n+=`background-color: ${t};`),["span",{style:n},0]}},nle={attrs:{fontsize:{}},inline:!0,group:"inline",parseDOM:[{style:"font-size",getAttrs:e=>e?{fontsize:e}:{}}],toDOM:e=>{const{fontsize:t}=e.attrs;let n="";return t&&(n+=`font-size: ${t};`),["span",{style:n},0]}},rle={attrs:{fontname:{}},inline:!0,group:"inline",parseDOM:[{style:"font-family",getAttrs:e=>({fontname:e&&typeof e=="string"?e.replace(/[\"\']/g,""):""})}],toDOM:e=>{const{fontname:t}=e.attrs;let n="";return t&&(n+=`font-family: ${t};`),["span",{style:n},0]}},ole={attrs:{href:{},title:{default:null},target:{default:"_blank"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href"),n=e.getAttribute("title");return{href:t,title:n}}}],toDOM:e=>["a",e.attrs,0]},ile={attrs:{index:{default:null}},parseDOM:[{tag:"mark",getAttrs:e=>({index:e.dataset.index})}],toDOM:e=>["mark",{"data-index":e.attrs.index},0]},{em:ale,strong:sle,code:lle}=lF,cle={em:ale,strong:sle,fontsize:nle,fontname:rle,code:lle,forecolor:ele,backcolor:tle,subscript:zse,superscript:$se,strikethrough:jse,underline:qse,link:ole,mark:ile},ule=Jse,fle=cle,cF=new MN({nodes:ule,marks:fle}),R5=e=>{const t=`
    ${e}
    `,r=new window.DOMParser().parseFromString(t,"text/html").body.firstElementChild;return bd.fromSchema(cF).parse(r)},uF=(e,t,n,r)=>new Fae(e,{state:Bf.create({doc:R5(t),plugins:Ise(cF,r)}),...n});function dle(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(t,n)})}}}var Qr=(e=>(e.RICH_TEXT_COMMAND="RICH_TEXT_COMMAND",e.SYNC_RICH_TEXT_ATTRS_TO_STORE="SYNC_RICH_TEXT_ATTRS_TO_STORE",e.OPEN_CHART_DATA_EDITOR="OPEN_CHART_DATA_EDITOR",e.OPEN_LATEX_EDITOR="OPEN_LATEX_EDITOR",e))(Qr||{});const to=dle(),hle=(e,t,n)=>{const{selection:r,doc:o}=e;if(!r||!o)return e;const{from:i,to:a}=r,{nodes:s}=t,c=s.blockquote,l=s.list_item,u=s.paragraph,f=[];n=n||"";const d=new Set([c,l,u]);return o.nodesBetween(i,a,(h,p)=>{const m=h.type;return(h.attrs.align||"")!==n&&d.has(m)&&f.push({node:h,pos:p,nodeType:m}),!0}),f.length&&f.forEach(h=>{const{node:p,pos:m,nodeType:A}=h;let{attrs:x}=p;n?x={...x,align:n}:x={...x,align:null},e=e.setNodeMarkup(m,A,x,p.marks)}),e},ple=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=hle(n.tr.setSelection(o),r,t);e.dispatch(i)};function mle(e,t,n,r){if(!e.doc)return e;const o=e.doc.nodeAt(t);if(!o)return e;const i=0,a=8;let s=(o.attrs[r]||0)+n;if(sa&&(s=a),s===o.attrs[r])return e;const c={...o.attrs,[r]:s};return e.setNodeMarkup(t,o.type,c,o.marks)}const fF=(e,t,n,r)=>{const{selection:o,doc:i}=e;if(!o||!i||!(o instanceof Xn||o instanceof qo))return e;const{from:a,to:s}=o;return i.nodesBetween(a,s,(c,l)=>{const u=c.type;return u.name==="paragraph"||u.name==="blockquote"?(e=mle(e,l,n,r),!1):!Tv(c,t)}),e},vle=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=fF(n.tr.setSelection(o),r,t,"indent");return i.docChanged?(e.dispatch(i),!0):!1},gle=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=fF(n.tr.setSelection(o),r,t,"textIndent");return i.docChanged?(e.dispatch(i),!0):!1},sg=(e,t,n,r={})=>(o,i)=>{const{schema:a,selection:s}=o,{$from:c,$to:l}=s,u=c.blockRange(l);if(!u)return!1;const f=qN(h=>Tv(h,a))(s);if(u.depth>=1&&f&&u.depth-f.depth<=1){if(f.node.type===e&&!n)return aF(t)(o,i);if(Tv(f.node,a)&&e.validContent(f.node.content)){const{tr:h}=o,p={...f.node.attrs,...r};return n&&(p.listStyleType=n),h.setNodeMarkup(f.pos,e,p),i&&i(h),!1}}const d={...r};return n&&(d.listStyleType=n),lse(e,d)(o,i)},R0=(e,t)=>{const{state:n}=e,{schema:r,selection:o}=n,i=n.tr.setSelection(o),{doc:a}=i;if(!a)return i;const{from:s,to:c}=o;a.nodesBetween(s,c,(l,u)=>{if(Tv(l,r)&&s-3<=u&&c+3>=u+l.nodeSize){const f=Array.isArray(t)?t:[t];for(const d of f)i.setNodeAttribute(u,d.key,d.value)}return!1}),e.dispatch(i)},Ale=Ie({__name:"ProsemirrorEditor",props:{elementId:{},defaultColor:{},defaultFontName:{},value:{},editable:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1}},emits:["update","focus","blur","mousedown"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=ft(),{handleElementId:a,textFormatPainter:s,richTextAttrs:c}=Ee(i),l=he();let u;const f=Fn.debounce(function(){o("update",u.dom.innerHTML)},300,{trailing:!0}),d=()=>{i.setDisableHotkeysState(!0),o("focus")},h=()=>{i.setDisableHotkeysState(!1),o("blur")},p=Fn.debounce(function(){const b=Z4(u,{color:r.defaultColor,fontname:r.defaultFontName});i.setRichtextAttrs(b)},30,{trailing:!0}),m=()=>{f(),p()},A=Me(()=>r.value);Tt(A,()=>{if(!u||u.hasFocus())return;const{doc:b,tr:L}=u.state;u.dispatch(L.replaceRangeWith(0,b.content.size,R5(A.value)))}),Tt(()=>r.editable,()=>{u.setProps({editable:()=>r.editable})}),t({focus:()=>u.focus()});const y=({target:b,action:L})=>{if(!b&&a.value!==r.elementId||b&&b!==r.elementId)return;const T="command"in L?[L]:L;for(const M of T)if(M.command==="fontname"&&M.value){const w=u.state.schema.marks.fontname.create({fontname:M.value});Er(u),Ka(u,w)}else if(M.command==="fontsize"&&M.value){const w=u.state.schema.marks.fontsize.create({fontsize:M.value});Er(u),Ka(u,w),R0(u,{key:"fontsize",value:M.value})}else if(M.command==="fontsize-add"){const w=M.value?+M.value:2;Er(u);const k=wM(u)+w+"px",_=u.state.schema.marks.fontsize.create({fontsize:k});Ka(u,_),R0(u,{key:"fontsize",value:k})}else if(M.command==="fontsize-reduce"){const w=M.value?+M.value:2;Er(u);let k=wM(u)-w;k<12&&(k=12);const _=u.state.schema.marks.fontsize.create({fontsize:k+"px"});Ka(u,_),R0(u,{key:"fontsize",value:k+"px"})}else if(M.command==="color"&&M.value){const w=u.state.schema.marks.forecolor.create({color:M.value});Er(u),Ka(u,w),R0(u,{key:"color",value:M.value})}else if(M.command==="backcolor"&&M.value){const w=u.state.schema.marks.backcolor.create({backcolor:M.value});Er(u),Ka(u,w)}else if(M.command==="bold")Er(u),kr(u.state.schema.marks.strong)(u.state,u.dispatch);else if(M.command==="em")Er(u),kr(u.state.schema.marks.em)(u.state,u.dispatch);else if(M.command==="underline")Er(u),kr(u.state.schema.marks.underline)(u.state,u.dispatch);else if(M.command==="strikethrough")Er(u),kr(u.state.schema.marks.strikethrough)(u.state,u.dispatch);else if(M.command==="subscript")kr(u.state.schema.marks.subscript)(u.state,u.dispatch);else if(M.command==="superscript")kr(u.state.schema.marks.superscript)(u.state,u.dispatch);else if(M.command==="blockquote")_m("blockquote",u.state)?JH(u.state,u.dispatch):rG(u.state.schema.nodes.blockquote)(u.state,u.dispatch);else if(M.command==="code")kr(u.state.schema.marks.code)(u.state,u.dispatch);else if(M.command==="align"&&M.value)ple(u,M.value);else if(M.command==="indent"&&M.value)vle(u,+M.value);else if(M.command==="textIndent"&&M.value)gle(u,+M.value);else if(M.command==="bulletList"){const w=M.value||"",{bullet_list:k,list_item:_}=u.state.schema.nodes,P={color:c.value.color,fontsize:c.value.fontsize};sg(k,_,w,P)(u.state,u.dispatch)}else if(M.command==="orderedList"){const w=M.value||"",{ordered_list:k,list_item:_}=u.state.schema.nodes,P={color:c.value.color,fontsize:c.value.fontsize};sg(k,_,w,P)(u.state,u.dispatch)}else if(M.command==="clear"){Er(u);const{$from:w,$to:k}=u.state.selection;u.dispatch(u.state.tr.removeMark(w.pos,k.pos)),R0(u,[{key:"fontsize",value:""},{key:"color",value:""}])}else if(M.command==="link"){const w=u.state.schema.marks.link,{from:k,to:_}=u.state.selection,P=sG(u.state.doc,k,_,w);if(P)if(M.value){const E=u.state.schema.marks.link.create({href:M.value,title:M.value});Ka(u,E,{from:P.from.pos,to:P.to.pos+1})}else u.dispatch(u.state.tr.removeMark(P.from.pos,P.to.pos+1,w));else if(fG(u.state,w))if(M.value){const E=u.state.schema.marks.link.create({href:M.value,title:M.value});Ka(u,E)}else kr(w)(u.state,u.dispatch);else M.value&&(Er(u),kr(w,{href:M.value,title:M.value})(u.state,u.dispatch))}else M.command==="insert"&&M.value&&u.dispatch(u.state.tr.insertText(M.value));u.focus(),f(),p()},R=()=>{if(!s.value)return;const{keep:b,...L}=s.value,T=[{command:"clear"}];for(const M of Object.keys(L)){const w=M,k=s.value[M];k===!0?T.push({command:w}):k&&T.push({command:w,value:k})}y({action:T}),b||i.setTextFormatPainter(null)};Ht(()=>{u=uF(l.value,A.value,{handleDOMEvents:{focus:d,blur:h,keydown:m,click:p,mouseup:R},editable:()=>r.editable}),r.autoFocus&&u.focus()}),wn(()=>{u&&u.destroy()});const g=()=>{a.value===r.elementId&&p()};return to.on(Qr.RICH_TEXT_COMMAND,y),to.on(Qr.SYNC_RICH_TEXT_ATTRS_TO_STORE,g),wn(()=>{to.off(Qr.RICH_TEXT_COMMAND,y),to.off(Qr.SYNC_RICH_TEXT_ATTRS_TO_STORE,g)}),(b,L)=>(Y(),q("div",{class:Ge(["prosemirror-editor",{"format-painter":G(s)}]),ref_key:"editorViewRef",ref:l,onMousedown:L[0]||(L[0]=T=>o("mousedown",T))},null,34))}}),dF=Ve(Ale,[["__scopeId","data-v-23fdc807"]]),hF=e=>(qt("data-v-88c920e1"),e=e(),en(),e),Rle=hF(()=>W("div",{class:"drag-handler top"},null,-1)),yle=hF(()=>W("div",{class:"drag-handler bottom"},null,-1)),ble=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{handleElementId:o,isScaling:i}=Ee(n),{addHistorySnapshot:a}=Jt(),s=he(),c=Me(()=>t.elementInfo.shadow),{shadowStyle:l}=wc(c),u=(y,R=!0)=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo,R))},f=he(-1),d=he(-1);Tt(i,()=>{o.value===t.elementInfo.id&&(i.value||(!t.elementInfo.vertical&&f.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:f.value}}),f.value=-1),t.elementInfo.vertical&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{width:d.value}}),d.value=-1)))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const g=R.height+20,b=R.width+20;!t.elementInfo.vertical&&t.elementInfo.height!==g&&(i.value?f.value=g:r.updateElement({id:t.elementInfo.id,props:{height:g}})),t.elementInfo.vertical&&t.elementInfo.width!==b&&(i.value?d.value=b:r.updateElement({id:t.elementInfo.id,props:{width:b}}))},p=new ResizeObserver(h);Ht(()=>{s.value&&p.observe(s.value)}),wn(()=>{s.value&&p.unobserve(s.value)});const m=y=>{r.updateElement({id:t.elementInfo.id,props:{content:y}}),a()},A=Fn.debounce(function(){t.elementInfo.content.replace(/<[^>]+>/g,"")||r.deleteElement(t.elementInfo.id)},300,{trailing:!0}),x=Me(()=>o.value===t.elementInfo.id);return Tt(x,()=>{x.value||A()}),(y,R)=>{const g=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-text",{lock:y.elementInfo.lock}]),style:we({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px",height:y.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${y.elementInfo.rotate}deg)`})},[Ke((Y(),q("div",{class:"element-content",ref_key:"elementRef",ref:s,style:we({width:y.elementInfo.vertical?"auto":y.elementInfo.width+"px",height:y.elementInfo.vertical?y.elementInfo.height+"px":"auto",backgroundColor:y.elementInfo.fill,opacity:y.elementInfo.opacity,textShadow:G(l),lineHeight:y.elementInfo.lineHeight,letterSpacing:(y.elementInfo.wordSpace||0)+"px",color:y.elementInfo.defaultColor,fontFamily:y.elementInfo.defaultFontName,writingMode:y.elementInfo.vertical?"vertical-rl":"horizontal-tb"}),onMousedown:R[2]||(R[2]=b=>u(b)),onTouchstart:R[3]||(R[3]=b=>u(b))},[O(s2,{width:y.elementInfo.width,height:y.elementInfo.height,outline:y.elementInfo.outline},null,8,["width","height","outline"]),O(dF,{class:"text",elementId:y.elementInfo.id,defaultColor:y.elementInfo.defaultColor,defaultFontName:y.elementInfo.defaultFontName,editable:!y.elementInfo.lock,value:y.elementInfo.content,style:we({"--paragraphSpace":`${y.elementInfo.paragraphSpace===void 0?5:y.elementInfo.paragraphSpace}px`}),onUpdate:R[0]||(R[0]=b=>m(b)),onMousedown:R[1]||(R[1]=b=>u(b,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value","style"]),Rle,yle],36)),[[g,y.contextmenus]])],4)],6)}}}),pF=Ve(ble,[["__scopeId","data-v-88c920e1"]]),xle=["id","gradientTransform"],Sle=["stop-color"],Mle=["stop-color"],wle=["id"],Lle=["stop-color"],Ole=["stop-color"],mF=Ie({__name:"GradientDefs",props:{id:{},type:{},color1:{},color2:{},rotate:{default:0}},setup(e){return(t,n)=>t.type==="linear"?(Y(),q("linearGradient",{key:0,id:t.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%",gradientTransform:`rotate(${t.rotate},0.5,0.5)`},[W("stop",{offset:"0%","stop-color":t.color1},null,8,Sle),W("stop",{offset:"100%","stop-color":t.color2},null,8,Mle)],8,xle)):(Y(),q("radialGradient",{key:1,id:t.id},[W("stop",{offset:"0%","stop-color":t.color1},null,8,Lle),W("stop",{offset:"100%","stop-color":t.color2},null,8,Ole)],8,wle))}}),Tle=["width","height"],kle={key:0},Nle=["transform"],Ple=["d","fill","stroke","stroke-width","stroke-dasharray"],Cle=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{handleElementId:o,shapeFormatPainter:i}=Ee(n),{addHistorySnapshot:a}=Jt(),s=(M,w=!0)=>{t.elementInfo.lock||(M.stopPropagation(),t.selectElement(M,t.elementInfo,w))},c=()=>{if(!i.value)return;const{keep:M,...w}=i.value;r.updateElement({id:t.elementInfo.id,props:w}),a(),M||n.setShapeFormatPainter(null)},l=Me(()=>t.elementInfo.outline),{outlineWidth:u,outlineColor:f,strokeDashArray:d}=Hd(l),h=Me(()=>t.elementInfo.shadow),{shadowStyle:p}=wc(h),m=Me(()=>t.elementInfo.flipH),A=Me(()=>t.elementInfo.flipV),{flipStyle:x}=a2(m,A),y=he(!1);Tt(o,()=>{o.value!==t.elementInfo.id&&y.value&&(y.value=!1)});const R=Me(()=>{const M={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:M}),g=M=>{const w={...R.value,content:M};r.updateElement({id:t.elementInfo.id,props:{text:w}}),a()},b=()=>{if(!t.elementInfo.text)return;t.elementInfo.text.content.replace(/<[^>]+>/g,"")||(r.removeElementProps({id:t.elementInfo.id,propName:"text"}),a())},L=he(),T=()=>{y.value=!0,Wr(()=>L.value&&L.value.focus())};return(M,w)=>{const k=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-shape",{lock:M.elementInfo.lock,"format-painter":G(i)}]),style:we({top:M.elementInfo.top+"px",left:M.elementInfo.left+"px",width:M.elementInfo.width+"px",height:M.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${M.elementInfo.rotate}deg)`})},[Ke((Y(),q("div",{class:"element-content",style:we({opacity:M.elementInfo.opacity,filter:G(p)?`drop-shadow(${G(p)})`:"",transform:G(x),color:R.value.defaultColor,fontFamily:R.value.defaultFontName}),onMousedown:w[3]||(w[3]=_=>s(_)),onMouseup:w[4]||(w[4]=_=>c()),onTouchstart:w[5]||(w[5]=_=>s(_)),onDblclick:w[6]||(w[6]=_=>T())},[(Y(),q("svg",{overflow:"visible",width:M.elementInfo.width,height:M.elementInfo.height},[M.elementInfo.gradient?(Y(),q("defs",kle,[O(mF,{id:`editabel-gradient-${M.elementInfo.id}`,type:M.elementInfo.gradient.type,color1:M.elementInfo.gradient.color[0],color2:M.elementInfo.gradient.color[1],rotate:M.elementInfo.gradient.rotate},null,8,["id","type","color1","color2","rotate"])])):Ze("",!0),W("g",{transform:`scale(${M.elementInfo.width/M.elementInfo.viewBox[0]}, ${M.elementInfo.height/M.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[W("path",{class:"shape-path","vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:M.elementInfo.path,fill:M.elementInfo.gradient?`url(#editabel-gradient-${M.elementInfo.id})`:M.elementInfo.fill,stroke:G(f),"stroke-width":G(u),"stroke-dasharray":G(d)},null,8,Ple)],8,Nle)],8,Tle)),W("div",{class:Ge(["shape-text",[R.value.align,{editable:y.value||R.value.content}]])},[y.value||R.value.content?(Y(),Te(dF,{key:0,ref_key:"prosemirrorEditorRef",ref:L,elementId:M.elementInfo.id,defaultColor:R.value.defaultColor,defaultFontName:R.value.defaultFontName,editable:!M.elementInfo.lock,value:R.value.content,onUpdate:w[0]||(w[0]=_=>g(_)),onBlur:w[1]||(w[1]=_=>b()),onMousedown:w[2]||(w[2]=_=>s(_,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value"])):Ze("",!0)],2)],36)),[[k,M.contextmenus]])],4)],6)}}}),vF=Ve(Cle,[["__scopeId","data-v-63255815"]]),Ile=["id","markerWidth","markerHeight","refX","refY"],Fle=["d","fill","transform"],Cd=Ie({__name:"LinePointMarker",props:{id:{},position:{},type:{},baseSize:{},color:{}},setup(e){const t=e,n={dot:"m0 5a5 5 0 1 0 10 0a5 5 0 1 0 -10 0z",arrow:"M0,0 L10,5 0,10 Z"},r={"arrow-start":180,"arrow-end":0},o=Me(()=>n[t.type]),i=Me(()=>r[`${t.type}-${t.position}`]||0),a=Me(()=>t.baseSize<2?2:t.baseSize);return(s,c)=>(Y(),q("marker",{id:`${s.id}-${s.type}-${s.position}`,markerUnits:"userSpaceOnUse",orient:"auto",markerWidth:a.value*3,markerHeight:a.value*3,refX:a.value*1.5,refY:a.value*1.5},[W("path",{d:o.value,fill:s.color,transform:`scale(${a.value*.3}, ${a.value*.3}) rotate(${i.value}, 5, 5)`},null,8,Fle)],8,Ile))}}),_le=["width","height"],Ele=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Xle=["d"],Wle=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=l=>{t.elementInfo.lock||(l.stopPropagation(),t.selectElement(l,t.elementInfo))},r=Me(()=>t.elementInfo.shadow),{shadowStyle:o}=wc(r),i=Me(()=>{const l=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return l<24?24:l}),a=Me(()=>{const l=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return l<24?24:l}),s=Me(()=>{if(t.elementInfo.style!=="dashed")return"0 0";const l=t.elementInfo.width;return l<=8?`${l*5} ${l*2.5}`:`${l*5} ${l*1.5}`}),c=Me(()=>Nx(t.elementInfo));return(l,u)=>{const f=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-shape",{lock:l.elementInfo.lock}]),style:we({top:l.elementInfo.top+"px",left:l.elementInfo.left+"px"})},[W("div",{class:"element-content",style:we({filter:G(o)?`drop-shadow(${G(o)})`:""}),onMousedown:u[0]||(u[0]=d=>n(d)),onTouchstart:u[1]||(u[1]=d=>n(d))},[(Y(),q("svg",{overflow:"visible",width:i.value,height:a.value},[W("defs",null,[l.elementInfo.points[0]?(Y(),Te(Cd,{key:0,id:l.elementInfo.id,position:"start",type:l.elementInfo.points[0],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0),l.elementInfo.points[1]?(Y(),Te(Cd,{key:1,id:l.elementInfo.id,position:"end",type:l.elementInfo.points[1],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0)]),W("path",{class:"line-point",d:c.value,stroke:l.elementInfo.color,"stroke-width":l.elementInfo.width,"stroke-dasharray":s.value,fill:"none","marker-start":l.elementInfo.points[0]?`url(#${l.elementInfo.id}-${l.elementInfo.points[0]}-start)`:"","marker-end":l.elementInfo.points[1]?`url(#${l.elementInfo.id}-${l.elementInfo.points[1]}-end)`:""},null,8,Ele),Ke(W("path",{class:"line-path",d:c.value,stroke:"transparent","stroke-width":"20",fill:"none"},null,8,Xle),[[f,l.contextmenus]])],8,_le))],36)],6)}}}),gF=Ve(Wle,[["__scopeId","data-v-7ecafe01"]]),$0={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},Vle=8,MT={"&":"&","<":"<",">":">",'"':""","'":"'"};function wT(e,t){return typeof e=="number"?e+t:e}function lg(e){if(typeof e=="string"){const t=/^(\d+)\s*(.*)$/g.exec(e);return{value:t?+t[1]:0,unit:(t==null?void 0:t[2])||void 0}}return{value:Number(e)}}function y5(e){return String.fromCharCode(97+e%26)}const Hy=2221e-19;function Ule(e){return Math.floor(Math.log(Math.abs(e))/Math.LN10)}function y0(e,t,n){return t/n.range*e}function Yle(e,t){const n=Math.pow(10,t||Vle);return Math.round(e*n)/n}function Qle(e){if(e===1)return e;function t(a,s){return a%s===0?s:t(s,a%s)}function n(a){return a*a+1}let r=2,o=2,i;if(e%2===0)return 2;do r=n(r)%e,o=n(n(o))%e,i=t(Math.abs(r-o),e);while(i===1);return i}function Gy(e,t,n,r){const o=(r-90)*Math.PI/180;return{x:e+n*Math.cos(o),y:t+n*Math.sin(o)}}function Zle(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const o={high:t.high,low:t.low,valueRange:0,oom:0,step:0,min:0,max:0,range:0,numberOfSteps:0,values:[]};o.valueRange=o.high-o.low,o.oom=Ule(o.valueRange),o.step=Math.pow(10,o.oom),o.min=Math.floor(o.low/o.step)*o.step,o.max=Math.ceil(o.high/o.step)*o.step,o.range=o.max-o.min,o.numberOfSteps=Math.round(o.range/o.step);const a=y0(e,o.step,o)=n)o.step=1;else if(r&&s=n)o.step=s;else{let d=0;for(;;){if(a&&y0(e,o.step,o)<=n)o.step*=2;else if(!a&&y0(e,o.step/2,o)>=n){if(o.step/=2,r&&o.step%1!==0){o.step*=2;break}}else break;if(d++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}}o.step=Math.max(o.step,Hy);function c(d,h){return d===(d+=h)&&(d*=1+(h>0?Hy:-Hy)),d}let l=o.min,u=o.max;for(;l+o.step<=o.low;)l=c(l,o.step);for(;u-o.step>=o.high;)u=c(u,-o.step);o.min=l,o.max=u,o.range=o.max-o.min;const f=[];for(let d=o.min;d<=o.max;d=c(d,o.step)){const h=Yle(d);h!==f[f.length-1]&&f.push(h)}return o.values=f,o}function Vu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re;function rb(e,t){return Array.from({length:e},t?(n,r)=>t(r):()=>{})}const Ble=(e,t)=>e+(t||0),Dle=(e,t)=>rb(Math.max(...e.map(n=>n.length)),n=>t(...e.map(r=>r[n])));function zn(e,t){return e!==null&&typeof e=="object"&&Reflect.has(e,t)}function kh(e){return e!==null&&isFinite(e)}function AF(e){return!e&&e!==0}function md(e){return kh(e)?Number(e):void 0}function Kle(e){return Array.isArray(e)?e.every(Array.isArray):!1}function RF(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=0;e[n?"reduceRight":"reduce"]((o,i,a)=>t(i,r++,a),void 0)}function yF(e,t){const n=Array.isArray(e)?e[t]:zn(e,"data")?e.data[t]:null;return zn(n,"meta")?n.meta:void 0}function bF(e){return e==null||typeof e=="number"&&isNaN(e)}function Hle(e){return Array.isArray(e)&&e.every(t=>Array.isArray(t)||zn(t,"data"))}function Gle(e){return typeof e=="object"&&e!==null&&(Reflect.has(e,"x")||Reflect.has(e,"y"))}function b5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y";return Gle(e)&&zn(e,t)?md(e[t]):md(e)}function ob(e,t,n){t={...t,...n?n==="x"?t.axisX:t.axisY:{}};const r={high:t.high===void 0?-Number.MAX_VALUE:+t.high,low:t.low===void 0?Number.MAX_VALUE:+t.low},o=t.high===void 0,i=t.low===void 0;function a(s){if(!bF(s))if(Array.isArray(s))for(let c=0;cr.high&&(r.high=c),i&&c0||(r.high=1),r.low=0)),r}function x5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o;const i={labels:(e.labels||[]).slice(),series:$le(e.series,n,r)},a=i.labels.length;return Kle(i.series)?(o=Math.max(a,...i.series.map(s=>s.length)),i.series.forEach(s=>{s.push(...rb(Math.max(0,o-s.length)))})):o=i.series.length,i.labels.push(...rb(Math.max(0,o-a),()=>"")),t&&Jle(i),i}function Jle(e){var t;(t=e.labels)===null||t===void 0||t.reverse(),e.series.reverse();for(const n of e.series)zn(n,"data")?n.data.reverse():Array.isArray(n)&&n.reverse()}function zle(e,t){let n,r;if(typeof e!="object"){const o=md(e);t==="x"?n=o:r=o}else zn(e,"x")&&(n=md(e.x)),zn(e,"y")&&(r=md(e.y));if(!(n===void 0&&r===void 0))return{x:n,y:r}}function LT(e,t){if(!bF(e))return t?zle(e,t):md(e)}function ib(e,t){return Array.isArray(e)?e.map(n=>zn(n,"value")?LT(n.value,t):LT(n,t)):ib(e.data,t)}function $le(e,t,n){if(Hle(e))return e.map(o=>ib(o,t));const r=ib(e,t);return n?r.map(o=>[o]):r}function jle(e,t,n){const r={increasingX:!1,fillHoles:!1,...n},o=[];let i=!0;for(let a=0;a=2&&e[a]<=e[a-2]&&(i=!0),i&&(o.push({pathCoordinates:[],valueData:[]}),i=!1),o[o.length-1].pathCoordinates.push(e[a],e[a+1]),o[o.length-1].valueData.push(t[a/2]));return o}function up(e){let t="";return e==null?e:(typeof e=="number"?t=""+e:typeof e=="object"?t=JSON.stringify({data:e}):t=String(e),Object.keys(MT).reduce((n,r)=>n.replaceAll(r,MT[r]),t))}class qle{call(t,n){return this.svgElements.forEach(r=>Reflect.apply(r[t],r,n)),this}attr(){for(var t=arguments.length,n=new Array(t),r=0;r3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4?arguments[4]:void 0;const{easing:i,...a}=n,s={};let c,l;i&&(c=Array.isArray(i)?i:xF[i]),a.begin=wT(a.begin,"ms"),a.dur=wT(a.dur,"ms"),c&&(a.calcMode="spline",a.keySplines=c.join(" "),a.keyTimes="0;1"),r&&(a.fill="freeze",s[t]=a.from,e.attr(s),l=lg(a.begin||0).value,a.begin="indefinite");const u=e.elem("animate",{attributeName:t,...a});r&&setTimeout(()=>{try{u._node.beginElement()}catch{s[t]=a.to,e.attr(s),u.remove()}},l);const f=u.getNode();o&&f.addEventListener("beginEvent",()=>o.emit("animationBegin",{element:e,animate:f,params:n})),f.addEventListener("endEvent",()=>{o&&o.emit("animationEnd",{element:e,animate:f,params:n}),r&&(s[t]=a.to,e.attr(s),u.remove())})}class rc{attr(t,n){return typeof t=="string"?n?this._node.getAttributeNS(n,t):this._node.getAttribute(t):(Object.keys(t).forEach(r=>{if(t[r]!==void 0)if(r.indexOf(":")!==-1){const o=r.split(":");this._node.setAttributeNS($0[o[0]],r,String(t[r]))}else this._node.setAttribute(r,String(t[r]))}),this)}elem(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return new rc(t,n,r,this,o)}parent(){return this._node.parentNode instanceof SVGElement?new rc(this._node.parentNode):null}root(){let t=this._node;for(;t.nodeName!=="svg"&&t.parentElement;)t=t.parentElement;return new rc(t)}querySelector(t){const n=this._node.querySelector(t);return n?new rc(n):null}querySelectorAll(t){const n=this._node.querySelectorAll(t);return new qle(n)}getNode(){return this._node}foreignObject(t,n,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;if(typeof t=="string"){const s=document.createElement("div");s.innerHTML=t,i=s.firstChild}else i=t;i instanceof Element&&i.setAttribute("xmlns",$0.xmlns);const a=this.elem("foreignObject",n,r,o);return a._node.appendChild(i),a}text(t){return this._node.appendChild(document.createTextNode(t)),this}empty(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this}remove(){var t;return(t=this._node.parentNode)===null||t===void 0||t.removeChild(this._node),this.parent()}replace(t){var n;return(n=this._node.parentNode)===null||n===void 0||n.replaceChild(t._node,this._node),t}append(t){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this}classes(){const t=this._node.getAttribute("class");return t?t.trim().split(/\s+/):[]}addClass(t){return this._node.setAttribute("class",this.classes().concat(t.trim().split(/\s+/)).filter(function(n,r,o){return o.indexOf(n)===r}).join(" ")),this}removeClass(t){const n=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes().filter(r=>n.indexOf(r)===-1).join(" ")),this}removeAllClasses(){return this._node.setAttribute("class",""),this}height(){return this._node.getBoundingClientRect().height}width(){return this._node.getBoundingClientRect().width}animate(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2?arguments[2]:void 0;return Object.keys(t).forEach(o=>{const i=t[o];Array.isArray(i)?i.forEach(a=>OT(this,o,a,!1,r)):OT(this,o,i,n,r)}),this}constructor(t,n,r,o,i=!1){t instanceof Element?this._node=t:(this._node=document.createElementNS($0.svg,t),t==="svg"&&this.attr({"xmlns:ct":$0.ct})),n&&this.attr(n),r&&this.addClass(r),o&&(i&&o._node.firstChild?o._node.insertBefore(this._node,o._node.firstChild):o._node.appendChild(this._node))}}rc.Easing=xF;function S5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"100%",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"100%",r=arguments.length>3?arguments[3]:void 0;Array.from(e.querySelectorAll("svg")).filter(i=>i.getAttributeNS($0.xmlns,"ct")).forEach(i=>e.removeChild(i));const o=new rc("svg").attr({width:t,height:n}).attr({style:"width: ".concat(t,"; height: ").concat(n,";")});return r&&o.addClass(r),e.appendChild(o.getNode()),o}function ece(e){return typeof e=="number"?{top:e,right:e,bottom:e,left:e}:e===void 0?{top:0,right:0,bottom:0,left:0}:{top:typeof e.top=="number"?e.top:0,right:typeof e.right=="number"?e.right:0,bottom:typeof e.bottom=="number"?e.bottom:0,left:typeof e.left=="number"?e.left:0}}function M5(e,t){var n,r,o,i;const a=!!(t.axisX||t.axisY),s=((n=t.axisY)===null||n===void 0?void 0:n.offset)||0,c=((r=t.axisX)===null||r===void 0?void 0:r.offset)||0,l=(o=t.axisY)===null||o===void 0?void 0:o.position,u=(i=t.axisX)===null||i===void 0?void 0:i.position;let f=e.width()||lg(t.width).value||0,d=e.height()||lg(t.height).value||0;const h=ece(t.chartPadding);f=Math.max(f,s+h.left+h.right),d=Math.max(d,c+h.top+h.bottom);const p={x1:0,x2:0,y1:0,y2:0,padding:h,width(){return this.x2-this.x1},height(){return this.y1-this.y2}};return a?(u==="start"?(p.y2=h.top+c,p.y1=Math.max(d-h.bottom,p.y2+1)):(p.y2=h.top,p.y1=Math.max(d-h.bottom-c,p.y2+1)),l==="start"?(p.x1=h.left+s,p.x2=Math.max(f-h.right,p.x1+1)):(p.x1=h.left,p.x2=Math.max(f-h.right-s,p.x1+1))):(p.x1=h.left,p.x2=Math.max(f-h.right,p.x1+1),p.y2=h.top,p.y1=Math.max(d-h.bottom,p.y2+1)),p}function tce(e,t,n,r,o,i,a,s){const c={["".concat(n.units.pos,"1")]:e,["".concat(n.units.pos,"2")]:e,["".concat(n.counterUnits.pos,"1")]:r,["".concat(n.counterUnits.pos,"2")]:r+o},l=i.elem("line",c,a.join(" "));s.emit("draw",{type:"grid",axis:n,index:t,group:i,element:l,...c})}function SF(e,t,n,r){const o=e.elem("rect",{x:t.x1,y:t.y2,width:t.width(),height:t.height()},n,!0);r.emit("draw",{type:"gridBackground",group:e,element:o})}function nce(e,t,n,r,o,i,a,s,c,l){const u={[o.units.pos]:e+a[o.units.pos],[o.counterUnits.pos]:a[o.counterUnits.pos],[o.units.len]:t,[o.counterUnits.len]:Math.max(0,i-10)},f=Math.round(u[o.units.len]),d=Math.round(u[o.counterUnits.len]),h=document.createElement("span");h.className=c.join(" "),h.style[o.units.len]=f+"px",h.style[o.counterUnits.len]=d+"px",h.textContent=String(r);const p=s.foreignObject(h,{style:"overflow: visible;",...u});l.emit("draw",{type:"label",axis:o,index:n,group:s,element:p,text:r,...u})}function TT(e,t,n){let r;const o=[];function i(s){const c=r;r=Vu({},e),t&&t.forEach(l=>{window.matchMedia(l[0]).matches&&(r=Vu(r,l[1]))}),n&&s&&n.emit("optionsChanged",{previousOptions:c,currentOptions:r})}function a(){o.forEach(s=>s.removeEventListener("change",i))}if(window.matchMedia)t&&t.forEach(s=>{const c=window.matchMedia(s[0]);c.addEventListener("change",i),o.push(c)});else throw new Error("window.matchMedia not found! Make sure you're using a polyfill.");return i(),{removeMediaQueryListeners:a,getCurrentOptions(){return r}}}const ab={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},rce={accuracy:3};function ym(e,t,n,r,o,i){const a={command:o?e.toLowerCase():e.toUpperCase(),...t,...i?{data:i}:{}};n.splice(r,0,a)}function Jy(e,t){e.forEach((n,r)=>{ab[n.command.toLowerCase()].forEach((o,i)=>{t(n,o,r,i,e)})})}class qs{static join(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const o=new qs(n,r);for(let i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3?arguments[3]:void 0;return ym("M",{x:+t,y:+n},this.pathElements,this.pos++,r,o),this}line(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3?arguments[3]:void 0;return ym("L",{x:+t,y:+n},this.pathElements,this.pos++,r,o),this}curve(t,n,r,o,i,a){let s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,c=arguments.length>7?arguments[7]:void 0;return ym("C",{x1:+t,y1:+n,x2:+r,y2:+o,x:+i,y:+a},this.pathElements,this.pos++,s,c),this}arc(t,n,r,o,i,a,s){let c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!1,l=arguments.length>8?arguments[8]:void 0;return ym("A",{rx:t,ry:n,xAr:r,lAf:o,sf:i,x:a,y:s},this.pathElements,this.pos++,c,l),this}parse(t){const n=t.replace(/([A-Za-z])(-?[0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce((o,i)=>(i.match(/[A-Za-z]/)&&o.push([]),o[o.length-1].push(i),o),[]);n[n.length-1][0].toUpperCase()==="Z"&&n.pop();const r=n.map(o=>{const i=o.shift(),a=ab[i.toLowerCase()];return{command:i,...a.reduce((s,c,l)=>(s[c]=+o[l],s),{})}});return this.pathElements.splice(this.pos,0,...r),this.pos+=r.length,this}stringify(){const t=Math.pow(10,this.options.accuracy);return this.pathElements.reduce((n,r)=>{const o=ab[r.command.toLowerCase()].map(i=>{const a=r[i];return this.options.accuracy?Math.round(a*t)/t:a});return n+r.command+o.join(",")},"")+(this.close?"Z":"")}scale(t,n){return Jy(this.pathElements,(r,o)=>{r[o]*=o[0]==="x"?t:n}),this}translate(t,n){return Jy(this.pathElements,(r,o)=>{r[o]+=o[0]==="x"?t:n}),this}transform(t){return Jy(this.pathElements,(n,r,o,i,a)=>{const s=t(n,r,o,i,a);(s||s===0)&&(n[r]=s)}),this}clone(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const n=new qs(t||this.close);return n.pos=this.pos,n.pathElements=this.pathElements.slice().map(r=>({...r})),n.options={...this.options},n}splitByCommand(t){const n=[new qs];return this.pathElements.forEach(r=>{r.command===t.toUpperCase()&&n[n.length-1].pathElements.length!==0&&n.push(new qs),n[n.length-1].pathElements.push(r)}),n}constructor(t=!1,n){this.close=t,this.pathElements=[],this.pos=0,this.options={...rce,...n}}}function sb(e){const t={fillHoles:!1,...e};return function(r,o){const i=new qs;let a=!0;for(let s=0;s1)return qs.join(i.map(a=>n(a.pathCoordinates,a.valueData)));{if(r=i[0].pathCoordinates,o=i[0].valueData,r.length<=4)return sb()(r,o);const a=[],s=[],c=r.length/2,l=[],u=[],f=[],d=[];for(let p=0;p0!=u[p]>0?l[p]=0:(l[p]=3*(d[p-1]+d[p])/((2*d[p]+d[p-1])/u[p-1]+(d[p]+2*d[p-1])/u[p]),isFinite(l[p])||(l[p]=0));const h=new qs().move(a[0],s[0],!1,o[0]);for(let p=0;pi(n)),r.forEach(i=>i(t,n))}constructor(){this.listeners=new Map,this.allListeners=new Set}}const zy=new WeakMap;class w5{update(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(t&&(this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),n&&(this.options=Vu({},r?this.options:this.defaultOptions,n),!this.initializeTimeoutId)){var o;(o=this.optionsProvider)===null||o===void 0||o.removeMediaQueryListeners(),this.optionsProvider=TT(this.options,this.responsiveOptions,this.eventEmitter)}return!this.initializeTimeoutId&&this.optionsProvider&&this.createChart(this.optionsProvider.getCurrentOptions()),this}detach(){if(this.initializeTimeoutId)window.clearTimeout(this.initializeTimeoutId);else{var t;window.removeEventListener("resize",this.resizeListener),(t=this.optionsProvider)===null||t===void 0||t.removeMediaQueryListeners()}return zy.delete(this.container),this}on(t,n){return this.eventEmitter.on(t,n),this}off(t,n){return this.eventEmitter.off(t,n),this}initialize(){window.addEventListener("resize",this.resizeListener),this.optionsProvider=TT(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.on("optionsChanged",()=>this.update()),this.options.plugins&&this.options.plugins.forEach(t=>{Array.isArray(t)?t[0](this,t[1]):t(this)}),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=null}constructor(t,n,r,o,i){this.data=n,this.defaultOptions=r,this.options=o,this.responsiveOptions=i,this.eventEmitter=new ice,this.resizeListener=()=>this.update(),this.initializeTimeoutId=setTimeout(()=>this.initialize(),0);const a=typeof t=="string"?document.querySelector(t):t;if(!a)throw new Error("Target element is not found");this.container=a;const s=zy.get(a);s&&s.detach(),zy.set(a,this)}}const ko={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}};class MF{createGridAndLabels(t,n,r,o){const i=this.units.pos==="x"?r.axisX:r.axisY,a=this.ticks.map((c,l)=>this.projectValue(c,l)),s=this.ticks.map(i.labelInterpolationFnc);a.forEach((c,l)=>{const u=s[l],f={x:0,y:0};let d;a[l+1]?d=a[l+1]-c:d=Math.max(this.axisLength-c,this.axisLength/this.ticks.length),!(u!==""&&AF(u))&&(this.units.pos==="x"?(c=this.chartRect.x1+c,f.x=r.axisX.labelOffset.x,r.axisX.position==="start"?f.y=this.chartRect.padding.top+r.axisX.labelOffset.y+5:f.y=this.chartRect.y1+r.axisX.labelOffset.y+5):(c=this.chartRect.y1-c,f.y=r.axisY.labelOffset.y-d,r.axisY.position==="start"?f.x=this.chartRect.padding.left+r.axisY.labelOffset.x:f.x=this.chartRect.x2+r.axisY.labelOffset.x+10),i.showGrid&&tce(c,l,this,this.gridOffset,this.chartRect[this.counterUnits.len](),t,[r.classNames.grid,r.classNames[this.units.dir]],o),i.showLabel&&nce(c,d,l,u,this,i.offset,f,n,[r.classNames.label,r.classNames[this.units.dir],i.position==="start"?r.classNames[i.position]:r.classNames.end],o))})}constructor(t,n,r){this.units=t,this.chartRect=n,this.ticks=r,this.counterUnits=t===ko.x?ko.y:ko.x,this.axisLength=n[this.units.rectEnd]-n[this.units.rectStart],this.gridOffset=n[this.units.rectOffset]}}class lb extends MF{projectValue(t){const n=Number(b5(t,this.units.pos));return this.axisLength*(n-this.bounds.min)/this.bounds.range}constructor(t,n,r,o){const i=o.highLow||ob(n,o,t.pos),a=Zle(r[t.rectEnd]-r[t.rectStart],i,o.scaleMinSpace||20,o.onlyInteger),s={min:a.min,max:a.max};super(t,r,a.values),this.bounds=a,this.range=s}}class ev extends MF{projectValue(t,n){return this.stepLength*n}constructor(t,n,r,o){const i=o.ticks||[];super(t,r,i);const a=Math.max(1,i.length-(o.stretch?1:0));this.stepLength=this.axisLength/a,this.stretch=!!o.stretch}}function b0(e,t,n){var r;if(zn(e,"name")&&e.name&&(!((r=t.series)===null||r===void 0)&&r[e.name])){const i=(t==null?void 0:t.series[e.name])[n];return i===void 0?t[n]:i}else return t[n]}const kT={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:cp,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:cp,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};class ace extends w5{createChart(t){const{data:n}=this,r=x5(n,t.reverseData,!0),o=S5(this.container,t.width,t.height,t.classNames.chart);this.svg=o;const i=o.elem("g").addClass(t.classNames.gridGroup),a=o.elem("g"),s=o.elem("g").addClass(t.classNames.labelGroup),c=M5(o,t);let l,u;t.axisX.type===void 0?l=new ev(ko.x,r.series,c,{...t.axisX,ticks:r.labels,stretch:t.fullWidth}):l=new t.axisX.type(ko.x,r.series,c,t.axisX),t.axisY.type===void 0?u=new lb(ko.y,r.series,c,{...t.axisY,high:kh(t.high)?t.high:t.axisY.high,low:kh(t.low)?t.low:t.axisY.low}):u=new t.axisY.type(ko.y,r.series,c,t.axisY),l.createGridAndLabels(i,s,t,this.eventEmitter),u.createGridAndLabels(i,s,t,this.eventEmitter),t.showGridBackground&&SF(i,c,t.classNames.gridBackground,this.eventEmitter),RF(n.series,(f,d)=>{const h=a.elem("g"),p=zn(f,"name")&&f.name,m=zn(f,"className")&&f.className,A=zn(f,"meta")?f.meta:void 0;p&&h.attr({"ct:series-name":p}),A&&h.attr({"ct:meta":up(A)}),h.addClass([t.classNames.series,m||"".concat(t.classNames.series,"-").concat(y5(d))].join(" "));const x=[],y=[];r.series[d].forEach((L,T)=>{const M={x:c.x1+l.projectValue(L,T,r.series[d]),y:c.y1-u.projectValue(L,T,r.series[d])};x.push(M.x,M.y),y.push({value:L,valueIndex:T,meta:yF(f,T)})});const R={lineSmooth:b0(f,t,"lineSmooth"),showPoint:b0(f,t,"showPoint"),showLine:b0(f,t,"showLine"),showArea:b0(f,t,"showArea"),areaBase:b0(f,t,"areaBase")};let g;typeof R.lineSmooth=="function"?g=R.lineSmooth:g=R.lineSmooth?oce():sb();const b=g(x,y);if(R.showPoint&&b.pathElements.forEach(L=>{const{data:T}=L,M=h.elem("line",{x1:L.x,y1:L.y,x2:L.x+.01,y2:L.y},t.classNames.point);if(T){let w,k;zn(T.value,"x")&&(w=T.value.x),zn(T.value,"y")&&(k=T.value.y),M.attr({"ct:value":[w,k].filter(kh).join(","),"ct:meta":up(T.meta)})}this.eventEmitter.emit("draw",{type:"point",value:T==null?void 0:T.value,index:(T==null?void 0:T.valueIndex)||0,meta:T==null?void 0:T.meta,series:f,seriesIndex:d,axisX:l,axisY:u,group:h,element:M,x:L.x,y:L.y,chartRect:c})}),R.showLine){const L=h.elem("path",{d:b.stringify()},t.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:r.series[d],path:b.clone(),chartRect:c,index:d,series:f,seriesIndex:d,meta:A,axisX:l,axisY:u,group:h,element:L})}if(R.showArea&&u.range){const L=Math.max(Math.min(R.areaBase,u.range.max),u.range.min),T=c.y1-u.projectValue(L);b.splitByCommand("M").filter(M=>M.pathElements.length>1).map(M=>{const w=M.pathElements[0],k=M.pathElements[M.pathElements.length-1];return M.clone(!0).position(0).remove(1).move(w.x,T).line(w.x,w.y).position(M.pathElements.length+1).line(k.x,T)}).forEach(M=>{const w=h.elem("path",{d:M.stringify()},t.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:r.series[d],path:M.clone(),series:f,seriesIndex:d,axisX:l,axisY:u,chartRect:c,index:d,group:h,element:w,meta:A})})}},t.reverseData),this.eventEmitter.emit("created",{chartRect:c,axisX:l,axisY:u,svg:o,options:t})}constructor(t,n,r,o){super(t,n,kT,Vu({},kT,r),o),this.data=n}}function sce(e){return Dle(e,function(){for(var t=arguments.length,n=new Array(t),r=0;r({x:o.x+(zn(i,"x")?i.x:0),y:o.y+(zn(i,"y")?i.y:0)}),{x:0,y:0})})}const NT={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:cp,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:cp,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};class lce extends w5{createChart(t){const{data:n}=this,r=x5(n,t.reverseData,t.horizontalBars?"x":"y",!0),o=S5(this.container,t.width,t.height,t.classNames.chart+(t.horizontalBars?" "+t.classNames.horizontalBars:"")),i=t.stackBars&&t.stackMode!==!0&&r.series.length?ob([sce(r.series)],t,t.horizontalBars?"x":"y"):ob(r.series,t,t.horizontalBars?"x":"y");this.svg=o;const a=o.elem("g").addClass(t.classNames.gridGroup),s=o.elem("g"),c=o.elem("g").addClass(t.classNames.labelGroup);typeof t.high=="number"&&(i.high=t.high),typeof t.low=="number"&&(i.low=t.low);const l=M5(o,t);let u;const f=t.distributeSeries&&t.stackBars?r.labels.slice(0,1):r.labels;let d,h,p;t.horizontalBars?(t.axisX.type===void 0?u=h=new lb(ko.x,r.series,l,{...t.axisX,highLow:i,referenceValue:0}):u=h=new t.axisX.type(ko.x,r.series,l,{...t.axisX,highLow:i,referenceValue:0}),t.axisY.type===void 0?d=p=new ev(ko.y,r.series,l,{ticks:f}):d=p=new t.axisY.type(ko.y,r.series,l,t.axisY)):(t.axisX.type===void 0?d=h=new ev(ko.x,r.series,l,{ticks:f}):d=h=new t.axisX.type(ko.x,r.series,l,t.axisX),t.axisY.type===void 0?u=p=new lb(ko.y,r.series,l,{...t.axisY,highLow:i,referenceValue:0}):u=p=new t.axisY.type(ko.y,r.series,l,{...t.axisY,highLow:i,referenceValue:0}));const m=t.horizontalBars?l.x1+u.projectValue(0):l.y1-u.projectValue(0),A=t.stackMode==="accumulate",x=t.stackMode==="accumulate-relative",y=[],R=[];let g=y;d.createGridAndLabels(a,c,t,this.eventEmitter),u.createGridAndLabels(a,c,t,this.eventEmitter),t.showGridBackground&&SF(a,l,t.classNames.gridBackground,this.eventEmitter),RF(n.series,(b,L)=>{const T=L-(n.series.length-1)/2;let M;t.distributeSeries&&!t.stackBars?M=d.axisLength/r.series.length/2:t.distributeSeries&&t.stackBars?M=d.axisLength/2:M=d.axisLength/r.series[L].length/2;const w=s.elem("g"),k=zn(b,"name")&&b.name,_=zn(b,"className")&&b.className,P=zn(b,"meta")?b.meta:void 0;k&&w.attr({"ct:series-name":k}),P&&w.attr({"ct:meta":up(P)}),w.addClass([t.classNames.series,_||"".concat(t.classNames.series,"-").concat(y5(L))].join(" ")),r.series[L].forEach((E,I)=>{const F=zn(E,"x")&&E.x,N=zn(E,"y")&&E.y;let V;t.distributeSeries&&!t.stackBars?V=L:t.distributeSeries&&t.stackBars?V=0:V=I;let Z;t.horizontalBars?Z={x:l.x1+u.projectValue(F||0,I,r.series[L]),y:l.y1-d.projectValue(N||0,V,r.series[L])}:Z={x:l.x1+d.projectValue(F||0,V,r.series[L]),y:l.y1-u.projectValue(N||0,I,r.series[L])},d instanceof ev&&(d.stretch||(Z[d.units.pos]+=M*(t.horizontalBars?-1:1)),Z[d.units.pos]+=t.stackBars||t.distributeSeries?0:T*t.seriesBarDistance*(t.horizontalBars?-1:1)),x&&(g=N>=0||F>=0?y:R);const J=g[I]||m;if(g[I]=J-(m-Z[d.counterUnits.pos]),E===void 0)return;const se={["".concat(d.units.pos,"1")]:Z[d.units.pos],["".concat(d.units.pos,"2")]:Z[d.units.pos]};t.stackBars&&(A||x||!t.stackMode)?(se["".concat(d.counterUnits.pos,"1")]=J,se["".concat(d.counterUnits.pos,"2")]=g[I]):(se["".concat(d.counterUnits.pos,"1")]=m,se["".concat(d.counterUnits.pos,"2")]=Z[d.counterUnits.pos]),se.x1=Math.min(Math.max(se.x1,l.x1),l.x2),se.x2=Math.min(Math.max(se.x2,l.x1),l.x2),se.y1=Math.min(Math.max(se.y1,l.y2),l.y1),se.y2=Math.min(Math.max(se.y2,l.y2),l.y1);const D=yF(b,I),Q=w.elem("line",se,t.classNames.bar).attr({"ct:value":[F,N].filter(kh).join(","),"ct:meta":up(D)});this.eventEmitter.emit("draw",{type:"bar",value:E,index:I,meta:D,series:b,seriesIndex:L,axisX:h,axisY:p,chartRect:l,group:w,element:Q,...se})})},t.reverseData),this.eventEmitter.emit("created",{chartRect:l,axisX:h,axisY:p,svg:o,options:t})}constructor(t,n,r,o){super(t,n,NT,Vu({},NT,r),o),this.data=n}}const PT={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:cp,labelDirection:"neutral",ignoreEmptyValues:!1};function cce(e,t,n){const r=t.x>e.x;return r&&n==="explode"||!r&&n==="implode"?"start":r&&n==="implode"||!r&&n==="explode"?"end":"middle"}class uce extends w5{createChart(t){const{data:n}=this,r=x5(n),o=[];let i,a,s=t.startAngle;const c=S5(this.container,t.width,t.height,t.donut?t.classNames.chartDonut:t.classNames.chartPie);this.svg=c;const l=M5(c,t);let u=Math.min(l.width()/2,l.height()/2);const f=t.total||r.series.reduce(Ble,0),d=lg(t.donutWidth);d.unit==="%"&&(d.value*=u/100),u-=t.donut?d.value/2:0,t.labelPosition==="outside"||t.donut?a=u:t.labelPosition==="center"?a=0:a=u/2,t.labelOffset&&(a+=t.labelOffset);const h={x:l.x1+l.width()/2,y:l.y2+l.height()/2},p=n.series.filter(m=>zn(m,"value")?m.value!==0:m!==0).length===1;n.series.forEach((m,A)=>o[A]=c.elem("g")),t.showLabel&&(i=c.elem("g")),n.series.forEach((m,A)=>{var x,y;if(r.series[A]===0&&t.ignoreEmptyValues)return;const R=zn(m,"name")&&m.name,g=zn(m,"className")&&m.className,b=zn(m,"meta")?m.meta:void 0;R&&o[A].attr({"ct:series-name":R}),o[A].addClass([(x=t.classNames)===null||x===void 0?void 0:x.series,g||"".concat((y=t.classNames)===null||y===void 0?void 0:y.series,"-").concat(y5(A))].join(" "));let L=f>0?s+r.series[A]/f*360:0;const T=Math.max(0,s-(A===0||p?0:.2));L-T>=359.99&&(L=T+359.99);const M=Gy(h.x,h.y,u,T),w=Gy(h.x,h.y,u,L),k=new qs(!t.donut).move(w.x,w.y).arc(u,u,0,+(L-s>180),0,M.x,M.y);t.donut||k.line(h.x,h.y);const _=o[A].elem("path",{d:k.stringify()},t.donut?t.classNames.sliceDonut:t.classNames.slicePie);if(_.attr({"ct:value":r.series[A],"ct:meta":up(b)}),t.donut&&_.attr({style:"stroke-width: "+d.value+"px"}),this.eventEmitter.emit("draw",{type:"slice",value:r.series[A],totalDataSum:f,index:A,meta:b,series:m,group:o[A],element:_,path:k.clone(),center:h,radius:u,startAngle:s,endAngle:L,chartRect:l}),t.showLabel){let P;n.series.length===1?P={x:h.x,y:h.y}:P=Gy(h.x,h.y,a,s+(L-s)/2);let E;r.labels&&!AF(r.labels[A])?E=r.labels[A]:E=r.series[A];const I=t.labelInterpolationFnc(E,A);if(I||I===0){const F=i.elem("text",{dx:P.x,dy:P.y,"text-anchor":cce(h,P,t.labelDirection)},t.classNames.label).text(String(I));this.eventEmitter.emit("draw",{type:"label",index:A,group:i,element:F,text:""+I,chartRect:l,series:m,meta:b,...P})}}s=L}),this.eventEmitter.emit("created",{chartRect:l,svg:c,options:t})}constructor(t,n,r,o){super(t,n,PT,Vu({},PT,r),o),this.data=n}}const fce=Ie({__name:"Chart",props:{width:{},height:{},type:{},data:{},themeColor:{},legends:{},options:{},gridColor:{},legend:{}},setup(e){const t=e,n=he(),r=jo(qu)||he(1);let o;const i=Me(()=>t.legend?t.height-20:t.height),a=()=>({...t.data,series:t.data.series[0]}),s=()=>({...t.options||{},width:t.width*r.value,height:i.value*r.value}),c=()=>{if(!n.value)return;const h=s();t.type==="bar"&&(o=new lce(n.value,t.data,h)),t.type==="line"&&(o=new ace(n.value,t.data,h)),t.type==="pie"&&(o=new uce(n.value,a(),h))};Tt([()=>t.width,()=>t.height,()=>t.data,()=>t.options,r],()=>{if(!o){c();return}const h=s(),p=t.type==="pie"?a():t.data;o.update(p,h)}),Ht(c);const u=Me(()=>{let h=[];if(t.themeColor.length>=10)h=t.themeColor;else if(t.themeColor.length===1)h=rt(t.themeColor[0]).analogous(10).map(p=>p.toRgbString());else{const p=t.themeColor.length,m=rt(t.themeColor[p-1]).analogous(11-p).map(A=>A.toRgbString());h=[...t.themeColor.slice(0,p-1),...m]}return h}),f=()=>{if(n.value)for(let h=0;h<10;h++)n.value.style.setProperty(`--theme-color-${h+1}`,u.value[h])};Tt(u,f),Ht(f);const d=()=>{n.value&&t.gridColor&&n.value.style.setProperty("--grid-color",t.gridColor)};return Tt(()=>t.gridColor,d),Ht(d),(h,p)=>(Y(),q("div",{class:"chart",style:we({flexDirection:h.legend==="top"?"column-reverse":"column"})},[W("div",{class:"chart-content",ref_key:"chartRef",ref:n,style:we({width:h.width+"px",height:i.value+"px",transform:`scale(${1/G(r)})`})},null,4),h.legend?(Y(),q("div",{key:0,class:"legends",style:we({transform:`scale(${1/G(r)})`})},[(Y(!0),q(Xe,null,ot(h.legends,(m,A)=>(Y(),q("div",{class:"legend",key:A,style:we({color:h.gridColor})},[W("div",{class:"block",style:we({backgroundColor:u.value[A]})},null,4),We(" "+gt(m),1)],4))),128))],4)):Ze("",!0)],4))}}),wF=Ve(fce,[["__scopeId","data-v-786c4a79"]]),dce=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=o=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo))},r=()=>{to.emit(Qr.OPEN_CHART_DATA_EDITOR)};return(o,i)=>{const a=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-chart",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ke((Y(),q("div",{class:"element-content",style:we({backgroundColor:o.elementInfo.fill}),onMousedown:i[0]||(i[0]=s=>n(s)),onTouchstart:i[1]||(i[1]=s=>n(s)),onDblclick:i[2]||(i[2]=s=>r())},[O(s2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),O(wF,{width:o.elementInfo.width,height:o.elementInfo.height,type:o.elementInfo.chartType,data:o.elementInfo.data,options:o.elementInfo.options,themeColor:o.elementInfo.themeColor,gridColor:o.elementInfo.gridColor,legends:o.elementInfo.data.legends,legend:o.elementInfo.legend||""},null,8,["width","height","type","data","options","themeColor","gridColor","legends","legend"])],36)),[[a,o.contextmenus]])],4)],6)}}}),LF=Ve(dce,[["__scopeId","data-v-e98d2ede"]]),OF=e=>{if(!e)return{};const{bold:t,em:n,underline:r,strikethrough:o,color:i,backcolor:a,fontsize:s,fontname:c,align:l}=e;let u=`${r?"underline":""} ${o?"line-through":""}`;return u===" "&&(u="none"),{fontWeight:t?"bold":"normal",fontStyle:n?"italic":"normal",textDecoration:u,color:i||"#000",backgroundColor:a||"",fontSize:s||"14px",fontFamily:c||"微软雅黑",textAlign:l||"left"}},TF=e=>e.replace(/\n/g,"
    ").replace(/ /g," "),kF=e=>({hideCells:Me(()=>{const n=[];for(let r=0;r1||a.rowspan>1)for(let s=r;s{const t=he(["",""]);return Tt(()=>e.value,()=>{e.value&&(t.value=$P(e.value.color))},{immediate:!0}),{subThemeColor:t}},hce=["innerHTML"],pce=Ie({__name:"CustomTextarea",props:{value:{default:""}},emits:["updateValue","insertExcelData"],setup(e,{emit:t}){const n=e,r=t,o=he(),i=he(""),a=he(!1);Tt(()=>n.value,()=>{a.value||(i.value=n.value,o.value&&(o.value.innerHTML=n.value))},{immediate:!0});const s=()=>{if(!o.value)return;const u=o.value.innerHTML;r("updateValue",u)},c=()=>{a.value=!0,o.value&&(o.value.onpaste=u=>{if(u.preventDefault(),!u.clipboardData)return;const f=u.clipboardData.items[0];f&&f.kind==="string"&&f.type==="text/plain"&&f.getAsString(d=>{if(typeof kx(d)=="object")return;const p=zP(d);if(p){r("insertExcelData",p),o.value&&(o.value.innerHTML=p[0][0]);return}document.execCommand("insertText",!1,d)})})},l=()=>{a.value=!1,o.value&&(o.value.onpaste=null)};return Wd(()=>{o.value&&(o.value.onpaste=null)}),(u,f)=>(Y(),q("div",{class:"custom-textarea",ref_key:"textareaRef",ref:o,contenteditable:!0,onFocus:f[0]||(f[0]=d=>c()),onBlur:f[1]||(f[1]=d=>l()),onInput:f[2]||(f[2]=d=>s()),innerHTML:i.value},null,40,hce))}}),mce=Ve(pce,[["__scopeId","data-v-cfadb975"]]),vce={key:0,class:"handler"},gce=["onMousedown"],Ace=["width"],Rce=["rowspan","colspan","data-cell-index","onMousedown","onMouseenter"],yce=["innerHTML"],bce=Ie({__name:"EditableTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},emits:["change","changeColWidths","changeSelectedCells"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:o}=Ee(ft()),i=he(!1),a=he([]),s=he([]),c=Me({get(){return n.data},set(z){r("change",z)}}),l=Me(()=>n.theme),{subThemeColor:u}=NF(l),f=he([]),d=Me(()=>f.value.reduce((z,oe)=>z+oe));Tt([()=>n.colWidths,()=>n.width],()=>{f.value=n.colWidths.map(z=>z*n.width)},{immediate:!0});const h=()=>{a.value=[],s.value=[]};Tt(()=>n.editable,()=>{n.editable||h()});const p=Me(()=>{const z=[];for(let oe=1;oeAe+me);z.push(pe)}return z}),m=Me(()=>n.data),{hideCells:A}=kF(m),x=Me(()=>{if(!a.value.length)return[];const[z,oe]=a.value;if(!s.value.length)return[`${z}_${oe}`];const[pe,Ae]=s.value;if(z===pe&&oe===Ae)return[`${z}_${oe}`];const me=[],$=Math.min(z,pe),ue=Math.min(oe,Ae),X=Math.max(z,pe),ne=Math.max(oe,Ae);for(let le=0;le=$&&le<=X&&ee>=ue&&ee<=ne&&me.push(`${le}_${ee}`)}return me});Tt(x,(z,oe)=>{Fn.isEqual(z,oe)||r("changeSelectedCells",x.value)});const y=Me(()=>x.value.length>1?null:x.value[0]),R=()=>i.value=!1,g=(z,oe,pe)=>{z.button===0&&(s.value=[],i.value=!0,a.value=[oe,pe])},b=(z,oe)=>{i.value&&(s.value=[z,oe])};Ht(()=>{document.addEventListener("mouseup",R)}),wn(()=>{document.removeEventListener("mouseup",R)});const L=(z,oe)=>A.value.includes(`${z}_${oe}`),T=z=>{const oe=c.value.length-1;a.value=[0,z],s.value=[oe,z]},M=z=>{const oe=c.value[z].length-1;a.value=[z,0],s.value=[z,oe]},w=()=>{const z=c.value.length-1,oe=c.value[z].length-1;a.value=[0,0],s.value=[z,oe]},k=z=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=c.value[z],Ae=[];for(let me=0;me=0;$--)if(!L($,me)){oe[$][me].rowspan=oe[$][me].rowspan-1;break}oe.splice(z,1),c.value=oe},_=z=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=[];for(let Ae=0;Ae=0;me--)if(!L(Ae,me)){oe[Ae][me].colspan=oe[Ae][me].colspan-1;break}c.value=oe.map(Ae=>(Ae.splice(z,1),Ae)),f.value.splice(z,1),r("changeColWidths",f.value)},P=z=>{const oe=JSON.parse(JSON.stringify(c.value)),pe=[];for(let Ae=0;Ae{c.value=c.value.map(oe=>{const pe={colspan:1,rowspan:1,text:"",id:pn(10)};return oe.splice(z,0,pe),oe}),f.value.splice(z,0,100),r("changeColWidths",f.value)},I=(z,oe)=>{let pe=JSON.parse(JSON.stringify(c.value));const Ae={colspan:1,rowspan:1,text:""};if(z){const me=[];for(let $=0;${const $=[];for(let ue=0;ue{const[z,oe]=a.value,[pe,Ae]=s.value,me=Math.min(z,pe),$=Math.min(oe,Ae),ue=Math.max(z,pe),X=Math.max(oe,Ae),ne=JSON.parse(JSON.stringify(c.value));ne[me][$].rowspan=ue-me+1,ne[me][$].colspan=X-$+1,c.value=ne,h()},N=(z,oe)=>{const pe=JSON.parse(JSON.stringify(c.value));pe[z][oe].rowspan=1,pe[z][oe].colspan=1,c.value=pe,h()},V=(z,oe)=>{h();let pe=!0;const Ae=f.value[oe],me=z.pageX,$=50;document.onmousemove=ue=>{if(!pe)return;const X=(ue.pageX-me)/o.value,ne=Ae+X<$?$:Math.round(Ae+X);f.value[oe]=ne},document.onmouseup=()=>{pe=!1,document.onmousemove=null,document.onmouseup=null,r("changeColWidths",f.value)}},Z=()=>{const z=JSON.parse(JSON.stringify(c.value));for(let oe=0;oe{const z=(me,$)=>c.value[me]?c.value[me][$]?L(me,$)?z(me,$+1):[me,$]:z(me+1,0):null;s.value=[];const oe=a.value[0],pe=a.value[1]+1,Ae=z(oe,pe);Ae?a.value=Ae:(P(oe+1),a.value=[oe+1,0]),Wr(()=>{const me=document.querySelector(".cell-text.active");me&&me.focus()})},se=z=>{if(!n.editable||!x.value.length)return;const oe=z.key.toUpperCase();if(x.value.length<2){if(oe===yt.TAB&&(z.preventDefault(),J()),z.ctrlKey&&oe===yt.UP){z.preventDefault();const pe=+x.value[0].split("_")[0];P(pe)}if(z.ctrlKey&&oe===yt.DOWN){z.preventDefault();const pe=+x.value[0].split("_")[0];P(pe+1)}if(z.ctrlKey&&oe===yt.LEFT){z.preventDefault();const pe=+x.value[0].split("_")[1];E(pe)}if(z.ctrlKey&&oe===yt.RIGHT){z.preventDefault();const pe=+x.value[0].split("_")[1];E(pe+1)}}else oe===yt.DELETE&&Z()};Ht(()=>{document.addEventListener("keydown",se)}),wn(()=>{document.removeEventListener("keydown",se)});const D=Fn.debounce(function(z,oe,pe){c.value[oe][pe].text=z,r("change",c.value)},300,{trailing:!0}),Q=(z,oe,pe)=>{const Ae=z.length,me=z[0].length;let $=0,ue=0;oe+Ae>c.value.length&&($=oe+Ae-c.value.length),pe+me>c.value[0].length&&(ue=pe+me-c.value[0].length),($||ue)&&I($,ue),Wr(()=>{for(let X=0;X{const z=[];for(let oe=0;oe{const z=B(),oe=z.length>1,pe=z[0].length>1;return{canDeleteRow:oe,canDeleteCol:pe}},U=(z,oe)=>{const pe=x.value.length>1,Ae=c.value[z][oe],me=pe,$=!pe&&(Ae.rowspan>1||Ae.colspan>1);return{canMerge:me,canSplit:$}},te=z=>{const oe=z.dataset.cellIndex,pe=+oe.split("_")[0],Ae=+oe.split("_")[1];x.value.includes(`${pe}_${Ae}`)||(a.value=[pe,Ae],s.value=[]);const{canMerge:me,canSplit:$}=U(pe,Ae),{canDeleteRow:ue,canDeleteCol:X}=H();return[{text:"插入列",children:[{text:"到左侧",handler:()=>E(Ae)},{text:"到右侧",handler:()=>E(Ae+1)}]},{text:"插入行",children:[{text:"到上方",handler:()=>P(pe)},{text:"到下方",handler:()=>P(pe+1)}]},{text:"删除列",disable:!X,handler:()=>_(Ae)},{text:"删除行",disable:!ue,handler:()=>k(pe)},{divider:!0},{text:"合并单元格",disable:!me,handler:F},{text:"取消合并单元格",disable:!$,handler:()=>N(pe,Ae)},{divider:!0},{text:"选中当前列",handler:()=>T(Ae)},{text:"选中当前行",handler:()=>M(pe)},{text:"选中全部单元格",handler:w}]};return(z,oe)=>{var Ae,me,$,ue,X;const pe=Sn("contextmenu");return Y(),q("div",{class:"editable-table",style:we({width:d.value+"px"})},[z.editable?(Y(),q("div",vce,[(Y(!0),q(Xe,null,ot(p.value,(ne,le)=>(Y(),q("div",{class:"drag-line",key:le,style:we({left:ne+"px"}),onMousedown:j=>V(j,le)},null,44,gce))),128))])):Ze("",!0),W("table",{class:Ge({theme:l.value,"row-header":(Ae=l.value)==null?void 0:Ae.rowHeader,"row-footer":(me=l.value)==null?void 0:me.rowFooter,"col-header":($=l.value)==null?void 0:$.colHeader,"col-footer":(ue=l.value)==null?void 0:ue.colFooter}),style:we(`--themeColor: ${(X=l.value)==null?void 0:X.color}; --subThemeColor1: ${G(u)[0]}; --subThemeColor2: ${G(u)[1]}`)},[W("colgroup",null,[(Y(!0),q(Xe,null,ot(f.value,(ne,le)=>(Y(),q("col",{span:"1",key:le,width:ne},null,8,Ace))),128))]),W("tbody",null,[(Y(!0),q(Xe,null,ot(c.value,(ne,le)=>(Y(),q("tr",{key:le,style:we({height:z.cellMinHeight+"px"})},[(Y(!0),q(Xe,null,ot(ne,(j,ee)=>Ke((Y(),q("td",{class:Ge(["cell",{selected:x.value.includes(`${le}_${ee}`)&&x.value.length>1,active:y.value===`${le}_${ee}`}]),style:we({borderStyle:z.outline.style,borderColor:z.outline.color,borderWidth:z.outline.width+"px",...G(OF)(j.style)}),key:j.id,rowspan:j.rowspan,colspan:j.colspan,"data-cell-index":`${le}_${ee}`,onMousedown:ae=>g(ae,le,ee),onMouseenter:ae=>b(le,ee)},[y.value===`${le}_${ee}`?(Y(),Te(mce,{key:0,class:Ge(["cell-text",{active:y.value===`${le}_${ee}`}]),style:we({minHeight:z.cellMinHeight-4+"px"}),value:j.text,onUpdateValue:ae=>G(D)(ae,le,ee),onInsertExcelData:ae=>Q(ae,le,ee)},null,8,["class","style","value","onUpdateValue","onInsertExcelData"])):(Y(),q("div",{key:1,class:"cell-text",style:we({minHeight:z.cellMinHeight-4+"px"}),innerHTML:G(TF)(j.text)},null,12,yce))],46,Rce)),[[il,!G(A).includes(`${le}_${ee}`)],[pe,ae=>te(ae)]])),128))],4))),128))])],6)],4)}}}),xce=Ve(bce,[["__scopeId","data-v-d040a5e0"]]),Sce={class:"element-content"},Mce=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{canvasScale:o,handleElementId:i,isScaling:a}=Ee(n),s=he(),{addHistorySnapshot:c}=Jt(),l=y=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo))},u=he(!1);Tt(i,()=>{i.value!==t.elementInfo.id&&(u.value=!1)}),Tt(u,()=>{n.setDisableHotkeysState(u.value)});const f=()=>{t.elementInfo.lock||(u.value=!0)},d=he(-1);Tt(a,()=>{i.value===t.elementInfo.id&&(a.value&&(u.value=!1),!a.value&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:d.value}}),d.value=-1))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const g=R.height;t.elementInfo.height!==g&&(a.value?d.value=g:r.updateElement({id:t.elementInfo.id,props:{height:g}}))},p=new ResizeObserver(h);Ht(()=>{s.value&&p.observe(s.value)}),wn(()=>{s.value&&p.unobserve(s.value)});const m=y=>{r.updateElement({id:t.elementInfo.id,props:{data:y}}),c()},A=y=>{const R=y.reduce((b,L)=>b+L),g=y.map(b=>b/R);r.updateElement({id:t.elementInfo.id,props:{width:R,colWidths:g}}),c()},x=y=>{Wr(()=>n.setSelectedTableCells(y))};return(y,R)=>{const g=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-table",{lock:y.elementInfo.lock}]),ref_key:"elementRef",ref:s,style:we({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${y.elementInfo.rotate}deg)`})},[Ke((Y(),q("div",Sce,[O(xce,{onMousedown:R[0]||(R[0]=Wt(()=>{},["stop"])),data:y.elementInfo.data,width:y.elementInfo.width,cellMinHeight:y.elementInfo.cellMinHeight,colWidths:y.elementInfo.colWidths,outline:y.elementInfo.outline,theme:y.elementInfo.theme,editable:u.value,onChange:R[1]||(R[1]=b=>m(b)),onChangeColWidths:R[2]||(R[2]=b=>A(b)),onChangeSelectedCells:R[3]||(R[3]=b=>x(b))},null,8,["data","width","cellMinHeight","colWidths","outline","theme","editable"]),!u.value||y.elementInfo.lock?(Y(),q("div",{key:0,class:Ge(["table-mask",{lock:y.elementInfo.lock}]),onDblclick:R[4]||(R[4]=b=>f()),onMousedown:R[5]||(R[5]=b=>l(b)),onTouchstart:R[6]||(R[6]=b=>l(b))},[G(i)===y.elementInfo.id?(Y(),q("div",{key:0,class:"mask-tip",style:we({transform:`scale(${1/G(o)})`})},"双击编辑",4)):Ze("",!0)],34)):Ze("",!0)])),[[g,y.contextmenus]])],4)],6)}}}),PF=Ve(Mce,[["__scopeId","data-v-7795910a"]]),wce=["width","height","stroke","stroke-width"],Lce=["transform"],Oce=["d"],Tce=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=o=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo))},r=()=>{to.emit(Qr.OPEN_LATEX_EDITOR)};return(o,i)=>{const a=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-latex",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ke((Y(),q("div",{class:"element-content",onMousedown:i[0]||(i[0]=s=>n(s)),onTouchstart:i[1]||(i[1]=s=>n(s)),onDblclick:i[2]||(i[2]=s=>r())},[(Y(),q("svg",{overflow:"visible",width:o.elementInfo.width,height:o.elementInfo.height,stroke:o.elementInfo.color,"stroke-width":o.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[W("g",{transform:`scale(${o.elementInfo.width/o.elementInfo.viewBox[0]}, ${o.elementInfo.height/o.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[W("path",{d:o.elementInfo.path},null,8,Oce)],8,Lce)],8,wce))],32)),[[a,o.contextmenus]])],4)],6)}}}),CF=Ve(Tce,[["__scopeId","data-v-b73586f6"]]),kce=(e,t)=>{Ht(()=>{if(!t.value)return;let n="normal";if(/m3u8(#|\?|$)/i.exec(e)?n="hls":/.flv(#|\?|$)/i.exec(e)&&(n="flv"),t.value&&n==="hls"&&(t.value.canPlayType("application/x-mpegURL")||t.value.canPlayType("application/vnd.apple.mpegURL"))&&(n="normal"),n==="hls"){const r=window.Hls;if(r&&r.isSupported()){const o=new r;o.loadSource(e),o.attachMedia(t.value)}}else if(n==="flv"){const r=window.flvjs;if(r&&r.isSupported()){const o=r.createPlayer({type:"flv",url:e});o.attachMediaElement(t.value),o.load()}}})},L5=e=>(qt("data-v-597c0901"),e=e(),en(),e),Nce={key:0,class:"load-error"},Pce=["src","autoplay","poster"],Cce={class:"bezel"},Ice=L5(()=>W("div",{class:"controller-mask"},null,-1)),Fce={class:"controller"},_ce={class:"icons icons-left"},Ece={class:"icon-content"},Xce={class:"volume"},Wce={class:"icon-content"},Vce=L5(()=>W("span",{class:"thumb"},null,-1)),Uce=[Vce],Yce={class:"time"},Qce={class:"ptime"},Zce={class:"dtime"},Bce={class:"icons icons-right"},Dce={class:"speed"},Kce={class:"icon speed-icon"},Hce=["onClick"],Gce={class:"icon-content"},Jce={class:"bar"},zce=L5(()=>W("span",{class:"thumb"},null,-1)),$ce=[zce],jce=Ie({__name:"index",props:{width:{},height:{},src:{},poster:{default:""},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e){const t=e,n=(X=0)=>{if(X===0||isNaN(X))return"00:00";const ne=ae=>ae<10?"0"+ae:""+ae,le=Math.floor(X/3600),j=Math.floor((X-le*3600)/60),ee=Math.floor(X-le*3600-j*60);return(le>0?[le,j,ee]:[j,ee]).map(ne).join(":")},r=X=>X.getBoundingClientRect().left,o=he(),i=he(),a=he(),s=he(.5),c=he(!0),l=he(0),u=he(0),f=he(0),d=he(!1),h=he(!1),p=he(1),m=he(!1),A=he("00:00"),x=he("0"),y=Me(()=>n(l.value)),R=Me(()=>n(u.value)),g=Me(()=>l.value/u.value*100+"%"),b=Me(()=>f.value/u.value*100+"%"),L=Me(()=>s.value*100+"%"),T=he(!1),M=[{label:"2x",value:2},{label:"1.5x",value:1.5},{label:"1.25x",value:1.25},{label:"1x",value:1},{label:"0.75x",value:.75},{label:"0.5x",value:.5}],w=X=>{o.value&&(X=Math.max(X,0),X=Math.min(X,u.value),o.value.currentTime=X,l.value=X)},k=()=>{o.value&&(c.value=!1,o.value.play(),h.value=!0)},_=()=>{o.value&&(c.value=!0,o.value.pause(),h.value=!0)},P=()=>{c.value?k():_()},E=X=>{o.value&&(X=Math.max(X,0),X=Math.min(X,1),o.value.volume=X,s.value=X,o.value.muted&&X!==0&&(o.value.muted=!1))},I=X=>{o.value&&(o.value.playbackRate=X),p.value=X},F=()=>{var X;u.value=((X=o.value)==null?void 0:X.duration)||0},N=()=>{var X;l.value=((X=o.value)==null?void 0:X.currentTime)||0},V=()=>{d.value?(w(0),k()):_()},Z=()=>{var X;f.value=(X=o.value)!=null&&X.buffered.length?o.value.buffered.end(o.value.buffered.length-1):0},J=he(!1),se=()=>J.value=!0,D=X=>{if(!o.value||!i.value)return;let le=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(i.value))/i.value.clientWidth;le=Math.max(le,0),le=Math.min(le,1);const j=le*u.value;o.value.currentTime=j,l.value=j},Q=X=>{if(!o.value||!i.value)return;let le=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(i.value))/i.value.clientWidth;le=Math.max(le,0),le=Math.min(le,1);const j=le*u.value;o.value.currentTime=j,l.value=j,document.removeEventListener("mousemove",D),document.removeEventListener("touchmove",D),document.removeEventListener("mouseup",Q),document.removeEventListener("touchend",Q)},B=()=>{document.addEventListener("mousemove",D),document.addEventListener("touchmove",D),document.addEventListener("mouseup",Q),document.addEventListener("touchend",Q)},H=X=>{if(!a.value)return;const le=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(a.value))/45;E(le)},U=()=>{document.removeEventListener("mousemove",H),document.removeEventListener("touchmove",H),document.removeEventListener("mouseup",U),document.removeEventListener("touchend",U)},te=()=>{document.addEventListener("mousemove",H),document.addEventListener("touchmove",H),document.addEventListener("mouseup",U),document.addEventListener("touchend",U)},z=X=>{if(!a.value)return;const ne=(X.clientX-r(a.value))/45;E(ne)},oe=X=>{if(u.value&&i.value){const ne=i.value.getBoundingClientRect().left,le=X.clientX-ne;if(le<0||le>i.value.offsetWidth)return;const j=u.value*(le/i.value.offsetWidth);x.value=`${le-(j>=3600?25:20)}px`,A.value=n(j),m.value=!0}},pe=()=>{o.value&&(o.value.muted?(o.value.muted=!1,E(.5)):(o.value.muted=!0,E(0)))},Ae=()=>{d.value=!d.value},me=he(-1),$=he(!1),ue=()=>{$.value=!1,clearTimeout(me.value),me.value=setTimeout(()=>{var X;(X=o.value)!=null&&X.played.length&&($.value=!0)},3e3)};return kce(t.src,o),(X,ne)=>{const le=xe("IconPause"),j=xe("IconPlayOne"),ee=xe("IconVolumeMute"),ae=xe("IconVolumeNotice"),ge=xe("IconVolumeSmall");return Y(),q("div",{class:Ge(["video-player",{"hide-controller":$.value}]),style:we({width:X.width*X.scale+"px",height:X.height*X.scale+"px",transform:`scale(${1/X.scale})`}),onMousemove:ne[22]||(ne[22]=ce=>ue()),onClick:ne[23]||(ne[23]=ce=>ue())},[W("div",{class:"video-wrap",onClick:ne[8]||(ne[8]=ce=>P())},[J.value?(Y(),q("div",Nce,"视频加载失败")):Ze("",!0),W("video",{class:"video",ref_key:"videoRef",ref:o,src:X.src,autoplay:X.autoplay,poster:X.poster,"webkit-playsinline":"",playsinline:"",onDurationchange:ne[0]||(ne[0]=ce=>F()),onTimeupdate:ne[1]||(ne[1]=ce=>N()),onEnded:ne[2]||(ne[2]=ce=>V()),onProgress:ne[3]||(ne[3]=ce=>Z()),onPlay:ne[4]||(ne[4]=ce=>{ue(),c.value=!1}),onPause:ne[5]||(ne[5]=ce=>ue()),onError:ne[6]||(ne[6]=ce=>se())},null,40,Pce),W("div",Cce,[W("span",{class:Ge(["bezel-icon",{"bezel-transition":h.value}]),onAnimationend:ne[7]||(ne[7]=ce=>h.value=!1)},[c.value?(Y(),Te(le,{key:0})):(Y(),Te(j,{key:1}))],34)])]),Ice,W("div",Fce,[W("div",_ce,[W("div",{class:"icon play-icon",onClick:ne[9]||(ne[9]=ce=>P())},[W("span",Ece,[c.value?(Y(),Te(j,{key:0})):(Y(),Te(le,{key:1}))])]),W("div",Xce,[W("div",{class:"icon volume-icon",onClick:ne[10]||(ne[10]=ce=>pe())},[W("span",Wce,[s.value===0?(Y(),Te(ee,{key:0})):s.value===1?(Y(),Te(ae,{key:1})):(Y(),Te(ge,{key:2}))])]),W("div",{class:"volume-bar-wrap",onMousedown:ne[11]||(ne[11]=ce=>te()),onTouchstart:ne[12]||(ne[12]=ce=>te()),onClick:ne[13]||(ne[13]=ce=>z(ce))},[W("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:a},[W("div",{class:"volume-bar-inner",style:we({width:L.value})},Uce,4)],512)],32)]),W("span",Yce,[W("span",Qce,gt(y.value),1),We(" / "),W("span",Zce,gt(R.value),1)])]),W("div",Bce,[W("div",Dce,[W("div",Kce,[W("span",{class:"icon-content",onClick:ne[14]||(ne[14]=ce=>T.value=!T.value)},gt(p.value===1?"倍速":p.value+"x"),1),T.value?(Y(),q("div",{key:0,class:"speed-menu",onMouseleave:ne[15]||(ne[15]=ce=>T.value=!1)},[(Y(),q(Xe,null,ot(M,ce=>W("div",{class:Ge(["speed-menu-item",{active:ce.value===p.value}]),key:ce.label,onClick:ve=>I(ce.value)},gt(ce.label),11,Hce)),64))],32)):Ze("",!0)])]),W("div",{class:"loop",onClick:ne[16]||(ne[16]=ce=>Ae())},[W("div",{class:Ge(["icon loop-icon",{active:d.value}])},[W("span",Gce,"循环"+gt(d.value?"开":"关"),1)],2)])]),W("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:i,onMousedown:ne[17]||(ne[17]=ce=>B()),onTouchstart:ne[18]||(ne[18]=ce=>B()),onMousemove:ne[19]||(ne[19]=ce=>oe(ce)),onMouseenter:ne[20]||(ne[20]=ce=>m.value=!0),onMouseleave:ne[21]||(ne[21]=ce=>m.value=!1)},[W("div",{class:Ge(["bar-time",{hidden:!m.value}]),style:we({left:x.value})},gt(A.value),7),W("div",Jce,[W("div",{class:"loaded",style:we({width:b.value})},null,4),W("div",{class:"played",style:we({width:g.value})},$ce,4)])],544)])],38)}}}),IF=Ve(jce,[["__scopeId","data-v-597c0901"]]),qce=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=(o,i=!0)=>{t.elementInfo.lock||(o.stopPropagation(),t.selectElement(o,t.elementInfo,i))};return(o,i)=>{const a=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-video",{lock:o.elementInfo.lock}]),style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[Ke((Y(),q("div",{class:"element-content",onMousedown:i[2]||(i[2]=s=>r(s,!1)),onTouchstart:i[3]||(i[3]=s=>r(s,!1))},[O(IF,{width:o.elementInfo.width,height:o.elementInfo.height,src:o.elementInfo.src,poster:o.elementInfo.poster,scale:G(n)},null,8,["width","height","src","poster","scale"]),(Y(),q(Xe,null,ot(["t","b","l","r"],s=>W("div",{class:Ge(["handler-border",s]),key:s,onMousedown:i[0]||(i[0]=c=>r(c)),onTouchstart:i[1]||(i[1]=c=>r(c))},null,34)),64))],32)),[[a,o.contextmenus]])],4)],6)}}}),FF=Ve(qce,[["__scopeId","data-v-c50d3bc7"]]),_F=e=>(qt("data-v-32038f5c"),e=e(),en(),e),eue=["src","autoplay"],tue={class:"controller"},nue={class:"icons"},rue={class:"icon-content"},oue={class:"volume"},iue={class:"icon-content"},aue=_F(()=>W("span",{class:"thumb"},null,-1)),sue=[aue],lue={class:"time"},cue={class:"ptime"},uue={class:"dtime"},fue={class:"bar"},due=_F(()=>W("span",{class:"thumb"},null,-1)),hue=[due],pue=Ie({__name:"AudioPlayer",props:{src:{},loop:{type:Boolean},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e,{expose:t}){const n=e,r=(U=0)=>{if(U===0||isNaN(U))return"00:00";const te=Ae=>Ae<10?"0"+Ae:""+Ae,z=Math.floor(U/3600),oe=Math.floor((U-z*3600)/60),pe=Math.floor(U-z*3600-oe*60);return(z>0?[z,oe,pe]:[oe,pe]).map(te).join(":")},o=U=>U.getBoundingClientRect().left,i=he(),a=he(),s=he(),c=he(.5),l=he(!0),u=he(0),f=he(0),d=he(0),h=he(!1),p=he("00:00"),m=he("0"),A=Me(()=>r(u.value)),x=Me(()=>r(f.value)),y=Me(()=>u.value/f.value*100+"%"),R=Me(()=>d.value/f.value*100+"%"),g=Me(()=>c.value*100+"%"),b=U=>{i.value&&(U=Math.max(U,0),U=Math.min(U,f.value),i.value.currentTime=U,u.value=U)},L=()=>{i.value&&(l.value=!1,i.value.play())},T=()=>{i.value&&(l.value=!0,i.value.pause())},M=()=>{l.value?L():T()},w=U=>{i.value&&(U=Math.max(U,0),U=Math.min(U,1),i.value.volume=U,c.value=U,i.value.muted&&U!==0&&(i.value.muted=!1))},k=()=>{var U;f.value=((U=i.value)==null?void 0:U.duration)||0},_=()=>{var U;u.value=((U=i.value)==null?void 0:U.currentTime)||0},P=()=>{l.value=!1},E=()=>{n.loop?(b(0),L()):T()},I=()=>{var U;d.value=(U=i.value)!=null&&U.buffered.length?i.value.buffered.end(i.value.buffered.length-1):0},F=()=>xn.error("视频加载失败"),N=U=>{if(!i.value||!a.value)return;let z=(("clientX"in U?U.clientX:U.changedTouches[0].clientX)-o(a.value))/a.value.clientWidth;z=Math.max(z,0),z=Math.min(z,1);const oe=z*f.value;i.value.currentTime=oe,u.value=oe},V=U=>{if(!i.value||!a.value)return;let z=(("clientX"in U?U.clientX:U.changedTouches[0].clientX)-o(a.value))/a.value.clientWidth;z=Math.max(z,0),z=Math.min(z,1);const oe=z*f.value;i.value.currentTime=oe,u.value=oe,document.removeEventListener("mousemove",N),document.removeEventListener("touchmove",N),document.removeEventListener("mouseup",V),document.removeEventListener("touchend",V)},Z=()=>{document.addEventListener("mousemove",N),document.addEventListener("touchmove",N),document.addEventListener("mouseup",V),document.addEventListener("touchend",V)},J=U=>{if(!s.value)return;const z=(("clientX"in U?U.clientX:U.changedTouches[0].clientX)-o(s.value))/45;w(z)},se=()=>{document.removeEventListener("mousemove",J),document.removeEventListener("touchmove",J),document.removeEventListener("mouseup",se),document.removeEventListener("touchend",se)},D=()=>{document.addEventListener("mousemove",J),document.addEventListener("touchmove",J),document.addEventListener("mouseup",se),document.addEventListener("touchend",se)},Q=U=>{if(!s.value)return;const te=(U.clientX-o(s.value))/45;w(te)},B=U=>{if(f.value&&a.value){const te=a.value.getBoundingClientRect().left,z=U.clientX-te;if(z<0||z>a.value.offsetWidth)return;const oe=f.value*(z/a.value.offsetWidth);m.value=`${z-(oe>=3600?25:20)}px`,p.value=r(oe),h.value=!0}},H=()=>{i.value&&(i.value.muted?(i.value.muted=!1,w(.5)):(i.value.muted=!0,w(0)))};return t({toggle:M}),(U,te)=>{const z=xe("IconPlayOne"),oe=xe("IconPause"),pe=xe("IconVolumeMute"),Ae=xe("IconVolumeNotice"),me=xe("IconVolumeSmall");return Y(),q("div",{class:"audio-player",style:we({transform:`scale(${1/U.scale})`})},[W("audio",{class:"audio",ref_key:"audioRef",ref:i,src:U.src,autoplay:U.autoplay,onDurationchange:te[0]||(te[0]=$=>k()),onTimeupdate:te[1]||(te[1]=$=>_()),onPlay:te[2]||(te[2]=$=>P()),onEnded:te[3]||(te[3]=$=>E()),onProgress:te[4]||(te[4]=$=>I()),onError:te[5]||(te[5]=$=>F())},null,40,eue),W("div",tue,[W("div",nue,[W("div",{class:"icon play-icon",onClick:te[6]||(te[6]=$=>M())},[W("span",rue,[l.value?(Y(),Te(z,{key:0})):(Y(),Te(oe,{key:1}))])]),W("div",oue,[W("div",{class:"icon volume-icon",onClick:te[7]||(te[7]=$=>H())},[W("span",iue,[c.value===0?(Y(),Te(pe,{key:0})):c.value===1?(Y(),Te(Ae,{key:1})):(Y(),Te(me,{key:2}))])]),W("div",{class:"volume-bar-wrap",onMousedown:te[8]||(te[8]=$=>D()),onTouchstart:te[9]||(te[9]=$=>D()),onClick:te[10]||(te[10]=$=>Q($))},[W("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:s},[W("div",{class:"volume-bar-inner",style:we({width:g.value})},sue,4)],512)],32)])]),W("span",lue,[W("span",cue,gt(A.value),1),We(" / "),W("span",uue,gt(x.value),1)]),W("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:a,onMousedown:te[11]||(te[11]=$=>Z()),onTouchstart:te[12]||(te[12]=$=>Z()),onMousemove:te[13]||(te[13]=$=>B($)),onMouseenter:te[14]||(te[14]=$=>h.value=!0),onMouseleave:te[15]||(te[15]=$=>h.value=!1)},[W("div",{class:Ge(["bar-time",{hidden:!h.value}]),style:we({left:m.value})},gt(p.value),7),W("div",fue,[W("div",{class:"loaded",style:we({width:R.value})},null,4),W("div",{class:"played",style:we({width:y.value})},hue,4)])],544)])],4)}}}),EF=Ve(pue,[["__scopeId","data-v-32038f5c"]]),mue=Ie({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n,handleElementId:r}=Ee(ft()),{viewportRatio:o}=Ee(st()),i=Me(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),a=Me(()=>{const c=Gt,l=Gt*o.value,u=280/n.value,f=50/n.value,d=t.elementInfo.width,h=t.elementInfo.height,p=t.elementInfo.left,m=t.elementInfo.top;let A=0,x=h;return p+u>=c&&(A=d-u),m+h+f>=l&&(x=-f),{left:A+"px",top:x+"px"}}),s=c=>{t.elementInfo.lock||(c.stopPropagation(),t.selectElement(c,t.elementInfo))};return(c,l)=>{const u=xe("IconVolumeNotice"),f=Sn("contextmenu");return Y(),q("div",{class:Ge(["editable-element-audio",{lock:c.elementInfo.lock}]),style:we({top:c.elementInfo.top+"px",left:c.elementInfo.left+"px",width:c.elementInfo.width+"px",height:c.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${c.elementInfo.rotate}deg)`})},[Ke((Y(),q("div",{class:"element-content",onMousedown:l[1]||(l[1]=d=>s(d)),onTouchstart:l[2]||(l[2]=d=>s(d))},[O(u,{class:"audio-icon",style:we({fontSize:i.value,color:c.elementInfo.color})},null,8,["style"]),G(r)===c.elementInfo.id?(Y(),Te(EF,{key:0,class:"audio-player",style:we({...a.value}),src:c.elementInfo.src,loop:c.elementInfo.loop,scale:G(n),onMousedown:l[0]||(l[0]=Wt(()=>{},["stop"]))},null,8,["style","src","loop","scale"])):Ze("",!0)],32)),[[f,c.contextmenus]])],4)],6)}}}),XF=Ve(mue,[["__scopeId","data-v-5d8373ba"]]),vue=["id"],gue=Ie({__name:"EditableElement",props:{elementInfo:{},elementIndex:{},isMultiSelect:{type:Boolean},selectElement:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,n=Me(()=>({[kt.IMAGE]:bI,[kt.TEXT]:pF,[kt.SHAPE]:vF,[kt.LINE]:gF,[kt.CHART]:LF,[kt.TABLE]:PF,[kt.LATEX]:CF,[kt.VIDEO]:FF,[kt.AUDIO]:XF})[t.elementInfo.type]||null),{orderElement:r}=Np(),{alignElementToCanvas:o}=i2(),{combineElements:i,uncombineElements:a}=Fx(),{deleteElement:s}=kp(),{lockElement:c,unlockElement:l}=jP(),{copyElement:u,pasteElement:f,cutElement:d}=_x(),{selectAllElements:h}=Kg(),p=()=>t.elementInfo.lock?[{text:"解锁",handler:()=>l(t.elementInfo)}]:[{text:"剪切",subText:"Ctrl + X",handler:d},{text:"复制",subText:"Ctrl + C",handler:u},{text:"粘贴",subText:"Ctrl + V",handler:f},{divider:!0},{text:"水平居中",handler:()=>o(on.HORIZONTAL),children:[{text:"水平垂直居中",handler:()=>o(on.CENTER)},{text:"水平居中",handler:()=>o(on.HORIZONTAL)},{text:"左对齐",handler:()=>o(on.LEFT)},{text:"右对齐",handler:()=>o(on.RIGHT)}]},{text:"垂直居中",handler:()=>o(on.VERTICAL),children:[{text:"水平垂直居中",handler:()=>o(on.CENTER)},{text:"垂直居中",handler:()=>o(on.VERTICAL)},{text:"顶部对齐",handler:()=>o(on.TOP)},{text:"底部对齐",handler:()=>o(on.BOTTOM)}]},{divider:!0},{text:"置于顶层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,hr.TOP),children:[{text:"置于顶层",handler:()=>r(t.elementInfo,hr.TOP)},{text:"上移一层",handler:()=>r(t.elementInfo,hr.UP)}]},{text:"置于底层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,hr.BOTTOM),children:[{text:"置于底层",handler:()=>r(t.elementInfo,hr.BOTTOM)},{text:"下移一层",handler:()=>r(t.elementInfo,hr.DOWN)}]},{divider:!0},{text:"设置链接",handler:t.openLinkDialog},{text:t.elementInfo.groupId?"取消组合":"组合",subText:"Ctrl + G",handler:t.elementInfo.groupId?a:i,hide:!t.isMultiSelect},{text:"全选",subText:"Ctrl + A",handler:h},{text:"锁定",subText:"Ctrl + L",handler:c},{text:"删除",subText:"Delete",handler:s}];return(m,A)=>(Y(),q("div",{class:"editable-element",ref:"elementRef",id:`editable-element-${m.elementInfo.id}`,style:we({zIndex:m.elementIndex})},[(Y(),Te(bs(n.value),{elementInfo:m.elementInfo,selectElement:m.selectElement,contextmenus:p},null,8,["elementInfo","selectElement"]))],12,vue))}}),Aue=Ie({__name:"MouseSelection",props:{top:{},left:{},width:{},height:{},quadrant:{}},setup(e){return(t,n)=>(Y(),q("div",{class:Ge(`mouse-selection quadrant-${t.quadrant}`),style:we({top:t.top+"px",left:t.left+"px",width:t.width+"px",height:t.height+"px"})},null,6))}}),Rue=Ve(Aue,[["__scopeId","data-v-053bfa3e"]]),yue={class:"grid-lines"},bue=["d","stroke"],xue=Ie({__name:"GridLines",setup(e){const{canvasScale:t,gridLineSize:n}=Ee(ft()),{currentSlide:r,viewportRatio:o}=Ee(st()),i=Me(()=>{var c;return(c=r.value)==null?void 0:c.background}),a=Me(()=>{var u;const c=((u=i.value)==null?void 0:u.color)||"#fff",l=["#000","#fff"];return rt.mostReadable(c,l,{includeFallbackColors:!0}).setAlpha(.5).toRgbString()}),s=Me(()=>{const c=Gt,l=Gt*o.value;let u="";for(let f=0;f<=Math.floor(l/n.value);f++)u+=`M0 ${f*n.value} L${c} ${f*n.value} `;for(let f=0;f<=Math.floor(c/n.value);f++)u+=`M${f*n.value} 0 L${f*n.value} ${l} `;return u});return(c,l)=>(Y(),q("svg",yue,[W("path",{style:we({transform:`scale(${G(t)})`}),d:s.value,fill:"none",stroke:a.value,"stroke-width":"0.3","stroke-dasharray":"5"},null,12,bue)]))}}),Sue=Ve(xue,[["__scopeId","data-v-d6e1ea18"]]),f2=e=>({backgroundStyle:Me(()=>{if(!e.value)return{backgroundColor:"#fff"};const{type:n,color:r,image:o,imageSize:i,gradientColor:a,gradientRotate:s,gradientType:c}=e.value;if(n==="solid")return{backgroundColor:r};if(n==="image")return o?i==="repeat"?{backgroundImage:`url(${o}`,backgroundRepeat:"repeat",backgroundSize:"contain"}:{backgroundImage:`url(${o}`,backgroundRepeat:"no-repeat",backgroundSize:i||"cover"}:{backgroundColor:"#fff"};if(n==="gradient"){const l=s||0,u=a?a[0]:"#fff",f=a?a[1]:"#fff";return c==="radial"?{backgroundImage:`radial-gradient(${u}, ${f}`}:{backgroundImage:`linear-gradient(${l}deg, ${u}, ${f}`}}return{backgroundColor:"#fff"}})}),Mue=Ie({__name:"ViewportBackground",setup(e){const{gridLineSize:t}=Ee(ft()),{currentSlide:n}=Ee(st()),r=Me(()=>{var i;return(i=n.value)==null?void 0:i.background}),{backgroundStyle:o}=f2(r);return(i,a)=>(Y(),q("div",{class:"viewport-background",style:we(G(o))},[G(t)?(Y(),Te(Sue,{key:0})):Ze("",!0)],4))}}),wue=Ve(Mue,[["__scopeId","data-v-203ea8ff"]]),Lue=Ie({__name:"AlignmentLine",props:{type:{},axis:{},length:{},canvasScale:{}},setup(e){const t=e,n=Me(()=>t.axis.x*t.canvasScale+"px"),r=Me(()=>t.axis.y*t.canvasScale+"px"),o=Me(()=>t.type==="vertical"?{height:t.length*t.canvasScale+"px"}:{width:t.length*t.canvasScale+"px"});return(i,a)=>(Y(),q("div",{class:"alignment-line",style:we({left:n.value,top:r.value})},[W("div",{class:Ge(["line",i.type]),style:we(o.value)},null,6)],4))}}),WF=Ve(Lue,[["__scopeId","data-v-7cd3d25d"]]),Oue={class:"ruler"},Tue=Ie({__name:"Ruler",props:{viewportStyles:{}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.viewportStyles.width*n.value/10);return(o,i)=>(Y(),q("div",Oue,[W("div",{class:"h",style:we({width:o.viewportStyles.width*G(n)+"px",left:o.viewportStyles.left+"px"})},[(Y(),q(Xe,null,ot(20,a=>W("div",{class:Ge(["ruler-marker-100",{hide:r.value<36,omit:r.value<72}]),key:`marker-100-${a}`},[W("span",null,gt(a),1)],2)),64))],4),W("div",{class:"v",style:we({height:o.viewportStyles.height*G(n)+"px",top:o.viewportStyles.top+"px"})},[(Y(),q(Xe,null,ot(20,a=>W("div",{class:Ge(["ruler-marker-100",{hide:r.value<36,omit:r.value<72}]),key:a,style:we({height:r.value+"px"})},[W("span",null,gt(a),1)],6)),64))],4)]))}}),kue=Ve(Tue,[["__scopeId","data-v-b01be305"]]),Nue=["width","height"],Pue=["d"],Cue=Ie({__name:"ElementCreateSelection",emits:["created"],setup(e,{emit:t}){const n=t,r=ft(),{creatingElement:o}=Ee(r),{ctrlOrShiftKeyActive:i}=Ee(Ss()),a=he(),s=he(),c=he(),l=he({x:0,y:0});Ht(()=>{if(!c.value)return;const{x:h,y:p}=c.value.getBoundingClientRect();l.value={x:h,y:p}});const u=h=>{let p=!0;const m=h.pageX,A=h.pageY;a.value=[m,A],document.onmousemove=x=>{if(!o.value||!p)return;let y=x.pageX,R=x.pageY;if(i.value){const g=y-m,b=R-A,L=Math.abs(g),T=Math.abs(b);if(o.value.type==="shape"){const M=b>0&&g<0||b<0&&g>0;L>T?R=M?A-g:A+g:y=M?m-b:m+b}else o.value.type==="line"&&(L>T?R=A:y=m)}s.value=[y,R]},document.onmouseup=x=>{var b,L;if(document.onmousemove=null,document.onmouseup=null,x.button===2){setTimeout(()=>r.setCreatingElement(null),0);return}p=!1;const y=x.pageX,R=x.pageY,g=30;if(((b=o.value)==null?void 0:b.type)==="line"&&(Math.abs(y-m)>=g||Math.abs(R-A)>=g))n("created",{start:a.value,end:s.value});else if(((L=o.value)==null?void 0:L.type)!=="line"&&Math.abs(y-m)>=g&&Math.abs(R-A)>=g)n("created",{start:a.value,end:s.value});else{const M=Math.min(y,m),w=Math.min(R,A),k=Math.max(y,m),_=Math.max(R,A),P=k-M>=g?k-M:200,E=_-w>=g?_-w:200;n("created",{start:[M,w],end:[M+P,w+E]})}}},f=Me(()=>{if(!a.value||!s.value||!o.value||o.value.type!=="line")return null;const[h,p]=a.value,[m,A]=s.value,x=Math.min(h,m),y=Math.max(h,m),R=Math.min(p,A),g=Math.max(p,A),b=y-x>=24?y-x:24,L=g-R>=24?g-R:24,T=h===x?0:y-x,M=p===R?0:g-R,w=m===x?0:y-x,k=A===R?0:g-R,_=`M${T}, ${M} L${w}, ${k}`;return{svgWidth:b,svgHeight:L,startX:T,startY:M,endX:w,endY:k,path:_}}),d=Me(()=>{if(!a.value||!s.value)return{};const[h,p]=a.value,[m,A]=s.value,x=Math.min(h,m),y=Math.max(h,m),R=Math.min(p,A),g=Math.max(p,A),b=y-x,L=g-R;return{left:x-l.value.x+"px",top:R-l.value.y+"px",width:b+"px",height:L+"px"}});return(h,p)=>{var m,A;return Y(),q("div",{class:"element-create-selection",ref_key:"selectionRef",ref:c,onMousedown:p[0]||(p[0]=Wt(x=>u(x),["stop"])),onContextmenu:p[1]||(p[1]=Wt(()=>{},["stop","prevent"]))},[a.value&&s.value?(Y(),q("div",{key:0,class:Ge(["selection",(m=G(o))==null?void 0:m.type]),style:we(d.value)},[((A=G(o))==null?void 0:A.type)==="line"&&f.value?(Y(),q("svg",{key:0,overflow:"visible",width:f.value.svgWidth,height:f.value.svgHeight},[W("path",{d:f.value.path,stroke:"#d14424",fill:"none","stroke-width":"2"},null,8,Pue)],8,Nue)):Ze("",!0)],6)):Ze("",!0)],544)}}}),Iue=Ve(Cue,[["__scopeId","data-v-7b17a883"]]),Fue={overflow:"visible"},_ue=["d","fill"],Eue=Ie({__name:"ShapeCreateCanvas",emits:["created"],setup(e,{emit:t}){const n=t,r=ft(),{ctrlOrShiftKeyActive:o}=Ee(Ss()),{theme:i}=Ee(st()),a=he(),s=he(!1),c=he({x:0,y:0});Ht(()=>{if(!a.value)return;const{x:g,y:b}=a.value.getBoundingClientRect();c.value={x:g,y:b}});const l=he(null),u=he([]),f=he(!1),d=(g,b=!1)=>{let L=g.pageX-c.value.x,T=g.pageY-c.value.y;if(b)return{pageX:L,pageY:T};if(o.value&&u.value.length){const[M,w]=u.value[u.value.length-1];Math.abs(M-L)-Math.abs(w-T)>0?T=w:L=M}return{pageX:L,pageY:T}},h=g=>{if(s.value){const{pageX:T,pageY:M}=d(g,!0);u.value.push([T,M]),l.value=null;return}const{pageX:b,pageY:L}=d(g);if(l.value=[b,L],u.value.length>=2){const[T,M]=u.value[0];Math.abs(T-b)<5&&Math.abs(M-L)<5?f.value=!0:f.value=!1}else f.value=!1},p=Me(()=>{let g="";for(let b=0;b{const b=u.value.map(N=>N[0]),L=u.value.map(N=>N[1]),T=Math.min(...b),M=Math.min(...L),w=Math.max(...b),k=Math.max(...L),_=u.value.map(N=>[N[0]-T,N[1]-M]);let P="";for(let N=0;N<_.length;N++){const V=_[N];N===0?P+=`M ${V[0]} ${V[1]} `:P+=`L ${V[0]} ${V[1]} `}g&&(P+="Z");const E=[T+c.value.x,M+c.value.y],I=[w+c.value.x,k+c.value.y],F=[w-T,k-M];return{start:E,end:I,path:P,viewBox:F}},A=g=>{const{pageX:b,pageY:L}=d(g);s.value=!0,f.value?n("created",m()):u.value.push([b,L]),document.onmouseup=()=>{s.value=!1}},x=()=>{r.setCreatingCustomShapeState(!1)},y=()=>{n("created",{...m(!1),fill:"rgba(0, 0, 0, 0)",outline:{width:2,color:i.value.themeColor,style:"solid"}}),x()},R=g=>{const b=g.key.toUpperCase();b===yt.ESC&&x(),b===yt.ENTER&&y()};return Ht(()=>{xn.success("点击绘制任意形状,首尾闭合完成绘制,按 ESC 键或鼠标右键取消,按 ENTER 键提前完成",{duration:0}),document.addEventListener("keydown",R)}),wn(()=>{document.removeEventListener("keydown",R),xn.closeAll()}),(g,b)=>(Y(),q("div",{class:"shape-create-canvas",ref_key:"shapeCanvasRef",ref:a,onMousedown:b[0]||(b[0]=Wt(L=>A(L),["stop"])),onMousemove:b[1]||(b[1]=L=>h(L)),onContextmenu:b[2]||(b[2]=Wt(L=>x(),["stop","prevent"]))},[(Y(),q("svg",Fue,[W("path",{d:p.value,stroke:"#d14424",fill:f.value?"rgba(226, 83, 77, 0.15)":"none","stroke-width":"2"},null,8,_ue)]))],544))}}),Xue=Ve(Eue,[["__scopeId","data-v-8ea8c340"]]),ef=(e,t)=>{const n=Me(()=>[{direction:mt.LEFT_TOP,style:{}},{direction:mt.TOP,style:{left:e.value/2+"px"}},{direction:mt.RIGHT_TOP,style:{left:e.value+"px"}},{direction:mt.LEFT,style:{top:t.value/2+"px"}},{direction:mt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}},{direction:mt.LEFT_BOTTOM,style:{top:t.value+"px"}},{direction:mt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}},{direction:mt.RIGHT_BOTTOM,style:{left:e.value+"px",top:t.value+"px"}}]),r=Me(()=>[{direction:mt.LEFT,style:{top:t.value/2+"px"}},{direction:mt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}}]),o=Me(()=>[{direction:mt.TOP,style:{left:e.value/2+"px"}},{direction:mt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}}]),i=Me(()=>[{type:W0.T,style:{width:e.value+"px"}},{type:W0.B,style:{top:t.value+"px",width:e.value+"px"}},{type:W0.L,style:{height:t.value+"px"}},{type:W0.R,style:{left:e.value+"px",height:t.value+"px"}}]);return{resizeHandlers:n,textElementResizeHandlers:r,verticalTextElementResizeHandlers:o,borderLines:i}},Wue=Ie({__name:"ResizeHandler",props:{type:{},rotate:{default:0}},setup(e){const t=e,n=Me(()=>{const r="rotate-",o=t.rotate;return o>-22.5&&o<=22.5?r+0:o>22.5&&o<=67.5?r+45:o>67.5&&o<=112.5?r+90:o>112.5&&o<=157.5?r+135:o>157.5||o<=-157.5?r+0:o>-157.5&&o<=-112.5?r+45:o>-112.5&&o<=-67.5?r+90:o>-67.5&&o<=-22.5?r+135:r+0});return(r,o)=>(Y(),q("div",{class:Ge(["resize-handler",n.value,r.type])},null,2))}}),Oc=Ve(Wue,[["__scopeId","data-v-bb3f9e62"]]),Vue=Ie({__name:"BorderLine",props:{type:{},isWide:{type:Boolean,default:!1}},setup(e){return(t,n)=>(Y(),q("div",{class:Ge(["border-line",t.type,{wide:t.isWide}])},null,2))}}),tf=Ve(Vue,[["__scopeId","data-v-7114fb45"]]),Uue=Ie({__name:"MultiSelectOperate",props:{elementList:{},scaleMultiElement:{type:Function}},setup(e){const t=e,{activeElementIdList:n,canvasScale:r}=Ee(ft()),o=Me(()=>t.elementList.filter(d=>n.value.includes(d.id))),i=he({minX:0,maxX:0,minY:0,maxY:0}),a=Me(()=>(i.value.maxX-i.value.minX)*r.value),s=Me(()=>(i.value.maxY-i.value.minY)*r.value),{resizeHandlers:c,borderLines:l}=ef(a,s);Og(()=>{const{minX:d,maxX:h,minY:p,maxY:m}=ec(o.value);i.value={minX:d,maxX:h,minY:p,maxY:m}});const f=Me(()=>o.value.some(d=>!((d.type==="image"||d.type==="shape")&&!d.rotate)));return(d,h)=>(Y(),q("div",{class:"multi-select-operate",style:we({left:i.value.minX*G(r)+"px",top:i.value.minY*G(r)+"px"})},[(Y(!0),q(Xe,null,ot(G(l),p=>(Y(),Te(tf,{key:p.type,type:p.type,style:we(p.style)},null,8,["type","style"]))),128)),f.value?Ze("",!0):(Y(!0),q(Xe,{key:0},ot(G(c),p=>(Y(),Te(Oc,{key:p.direction,type:p.direction,style:we(p.style),onMousedown:Wt(m=>d.scaleMultiElement(m,i.value,p.direction),["stop"])},null,8,["type","style","onMousedown"]))),128))],4))}}),Yue=Ve(Uue,[["__scopeId","data-v-135c8cb7"]]),Que={},Zue={class:"rotate-handler"};function Bue(e,t){return Y(),q("div",Zue)}const Gd=Ve(Que,[["render",Bue],["__scopeId","data-v-9f21fc0f"]]),Due={inheritAttrs:!1},Kue=Ie({...Due,__name:"ImageElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n,clipingImageElementId:r}=Ee(ft()),o=Me(()=>r.value===t.elementInfo.id),i=Me(()=>t.elementInfo.width*n.value),a=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:s,borderLines:c}=ef(i,a);return(l,u)=>(Y(),q("div",{class:Ge(["image-element-operate",{cliping:o.value}])},[(Y(!0),q(Xe,null,ot(G(c),f=>(Y(),Te(tf,{class:"operate-border-line",key:f.type,type:f.type,style:we(f.style)},null,8,["type","style"]))),128)),l.handlerVisible?(Y(),q(Xe,{key:0},[(Y(!0),q(Xe,null,ot(G(s),f=>(Y(),Te(Oc,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:l.elementInfo.rotate,style:we(f.style),onMousedown:Wt(d=>l.scaleElement(d,l.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(Gd,{class:"operate-rotate-handler",style:we({left:i.value/2+"px"}),onMousedown:u[0]||(u[0]=Wt(f=>l.rotateElement(f,l.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)],2))}}),Hue=Ve(Kue,[["__scopeId","data-v-2a1bef4e"]]),Gue={class:"text-element-operate"},Jue={inheritAttrs:!1},zue=Ie({...Jue,__name:"TextElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{textElementResizeHandlers:i,verticalTextElementResizeHandlers:a,borderLines:s}=ef(r,o),c=Me(()=>t.elementInfo.vertical?a.value:i.value);return(l,u)=>(Y(),q("div",Gue,[(Y(!0),q(Xe,null,ot(G(s),f=>(Y(),Te(tf,{class:"operate-border-line",key:f.type,type:f.type,style:we(f.style)},null,8,["type","style"]))),128)),l.handlerVisible?(Y(),q(Xe,{key:0},[(Y(!0),q(Xe,null,ot(c.value,f=>(Y(),Te(Oc,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:l.elementInfo.rotate,style:we(f.style),onMousedown:Wt(d=>l.scaleElement(d,l.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(Gd,{class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Wt(f=>l.rotateElement(f,l.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)]))}}),$ue={class:"shape-element-operate"},jue={inheritAttrs:!1},que=Ie({...jue,__name:"ShapeElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},moveShapeKeypoint:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:i,borderLines:a}=ef(r,o),s=Me(()=>{if(!t.elementInfo.pathFormula||t.elementInfo.keypoint===void 0)return{};const c=Gu[t.elementInfo.pathFormula];if("editable"in c){const l=c.getBaseSize(t.elementInfo.width,t.elementInfo.height)*t.elementInfo.keypoint;if(c.relative==="left")return{left:l*n.value+"px"};if(c.relative==="right")return{left:(t.elementInfo.width-l)*n.value+"px"};if(c.relative==="center")return{left:(t.elementInfo.width-l)/2*n.value+"px"};if(c.relative==="top")return{top:l*n.value+"px"};if(c.relative==="bottom")return{top:(t.elementInfo.height-l)*n.value+"px"}}return{}});return(c,l)=>(Y(),q("div",$ue,[(Y(!0),q(Xe,null,ot(G(a),u=>(Y(),Te(tf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Y(),q(Xe,{key:0},[(Y(!0),q(Xe,null,ot(G(i),u=>(Y(),Te(Oc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Wt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(Gd,{class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:l[0]||(l[0]=Wt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"]),c.elementInfo.keypoint!==void 0?(Y(),q("div",{key:0,class:"operate-keypoint-handler",style:we(s.value),onMousedown:l[1]||(l[1]=Wt(u=>c.moveShapeKeypoint(u,c.elementInfo),["stop"]))},null,36)):Ze("",!0)],64)):Ze("",!0)]))}}),efe=Ve(que,[["__scopeId","data-v-e65e73bd"]]),tfe={class:"line-element-operate"},nfe=["width","height","stroke"],rfe={key:0},ofe=["x1","y1","x2","y2"],ife=["x1","y1","x2","y2"],afe=["x1","y1","x2","y2"],sfe=["x1","y1","x2","y2"],lfe={inheritAttrs:!1},cfe=Ie({...lfe,__name:"LineElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},dragLineElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>Math.max(t.elementInfo.start[0],t.elementInfo.end[0])),o=Me(()=>Math.max(t.elementInfo.start[1],t.elementInfo.end[1])),i=Me(()=>{const a=[{handler:Go.START,style:{left:t.elementInfo.start[0]*n.value+"px",top:t.elementInfo.start[1]*n.value+"px"}},{handler:Go.END,style:{left:t.elementInfo.end[0]*n.value+"px",top:t.elementInfo.end[1]*n.value+"px"}}];if(t.elementInfo.curve||t.elementInfo.broken){const s=t.elementInfo.curve||t.elementInfo.broken;a.push({handler:Go.C,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}})}else if(t.elementInfo.cubic){const[s,c]=t.elementInfo.cubic;a.push({handler:Go.C1,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}}),a.push({handler:Go.C2,style:{left:c[0]*n.value+"px",top:c[1]*n.value+"px"}})}return a});return(a,s)=>(Y(),q("div",tfe,[a.handlerVisible?(Y(),q(Xe,{key:0},[(Y(!0),q(Xe,null,ot(i.value,c=>(Y(),Te(Oc,{class:"operate-resize-handler",key:c.handler,style:we(c.style),onMousedown:Wt(l=>a.dragLineElement(l,a.elementInfo,c.handler),["stop"])},null,8,["style","onMousedown"]))),128)),(Y(),q("svg",{width:r.value||1,height:o.value||1,stroke:a.elementInfo.color,overflow:"visible",style:we({transform:`scale(${G(n)})`})},[a.elementInfo.curve?(Y(),q("g",rfe,[W("line",{class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,ofe),W("line",{class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,ife)])):Ze("",!0),a.elementInfo.cubic?(Y(!0),q(Xe,{key:1},ot(a.elementInfo.cubic,(c,l)=>(Y(),q("g",{key:l},[l===0?(Y(),q("line",{key:0,class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:c[0],y2:c[1]},null,8,afe)):Ze("",!0),l===1?(Y(),q("line",{key:1,class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:c[0],y2:c[1]},null,8,sfe)):Ze("",!0)]))),128)):Ze("",!0)],12,nfe))],64)):Ze("",!0)]))}}),ufe=Ve(cfe,[["__scopeId","data-v-32a06240"]]),ffe={class:"table-element-operate"},dfe={inheritAttrs:!1},hfe=Ie({...dfe,__name:"TableElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.elementInfo.outline.width||1),o=Me(()=>(t.elementInfo.width+r.value)*n.value),i=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:a,borderLines:s}=ef(o,i);return(c,l)=>(Y(),q("div",ffe,[(Y(!0),q(Xe,null,ot(G(s),u=>(Y(),Te(tf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Y(),q(Xe,{key:0},[(Y(!0),q(Xe,null,ot(G(a),u=>(Y(),Te(Oc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Wt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(Gd,{class:"operate-rotate-handler",style:we({left:o.value/2+"px"}),onMousedown:l[0]||(l[0]=Wt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)]))}}),pfe={class:"common-element-operate"},mfe={inheritAttrs:!1},bm=Ie({...mfe,__name:"CommonElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=Ee(ft()),r=Me(()=>t.elementInfo.width*n.value),o=Me(()=>t.elementInfo.height*n.value),{resizeHandlers:i,borderLines:a}=ef(r,o),s=Me(()=>["chart","video","audio"].includes(t.elementInfo.type));return(c,l)=>(Y(),q("div",pfe,[(Y(!0),q(Xe,null,ot(G(a),u=>(Y(),Te(tf,{class:"operate-border-line",key:u.type,type:u.type,style:we(u.style)},null,8,["type","style"]))),128)),c.handlerVisible?(Y(),q(Xe,{key:0},[(Y(!0),q(Xe,null,ot(G(i),u=>(Y(),Te(Oc,{class:"operate-resize-handler",key:u.direction,type:u.direction,rotate:c.elementInfo.rotate,style:we(u.style),onMousedown:Wt(f=>c.scaleElement(f,c.elementInfo,u.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),s.value?Ze("",!0):(Y(),Te(Gd,{key:0,class:"operate-rotate-handler",style:we({left:r.value/2+"px"}),onMousedown:l[0]||(l[0]=Wt(u=>c.rotateElement(u,c.elementInfo),["stop"]))},null,8,["style"]))],64)):Ze("",!0)]))}}),VF=()=>{const e=st(),{addHistorySnapshot:t}=Jt();return{setLink:(o,i)=>{const a=/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/;if(i.type==="web"&&!a.test(i.target))return xn.error("不是正确的网页链接地址"),!1;if(i.type==="slide"&&!i.target)return xn.error("请先选择链接目标"),!1;const s={link:i};return e.updateElement({id:o.id,props:s}),t(),!0},removeLink:o=>{e.removeElementProps({id:o.id,propName:"link"}),t()}}},vfe=Ie({__name:"Divider",props:{type:{default:"horizontal"},margin:{default:0}},setup(e){return(t,n)=>(Y(),q("div",{class:Ge(["divider",t.type]),style:we({margin:t.type==="horizontal"?`${t.margin||24}px 0`:`0 ${t.margin||8}px`})},null,6))}}),Ut=Ve(vfe,[["__scopeId","data-v-c7c64e0b"]]),gfe=["href"],Afe={class:"btns"},Rfe=Ie({__name:"LinkHandler",props:{elementInfo:{},link:{},openLinkDialog:{type:Function}},setup(e){const t=e,n=ft(),r=st(),{canvasScale:o}=Ee(n),{slides:i}=Ee(r),{removeLink:a}=VF(),s=Me(()=>t.elementInfo.type==="line"?0:t.elementInfo.height),c=l=>{const u=i.value.findIndex(f=>f.id===l);u!==-1&&(n.setActiveElementIdList([]),r.updateSlideIndex(u))};return(l,u)=>(Y(),q("div",{class:"link-handler",style:we({top:s.value*G(o)+10+"px"})},[l.link.type==="web"?(Y(),q("a",{key:0,class:"link",href:l.link.target,target:"_blank"},gt(l.link.target),9,gfe)):(Y(),q("a",{key:1,class:"link",onClick:u[0]||(u[0]=f=>c(l.link.target))},"幻灯片页面 "+gt(l.link.target),1)),W("div",Afe,[W("div",{class:"btn",onClick:u[1]||(u[1]=f=>l.openLinkDialog())},"更换"),O(Ut,{type:"vertical"}),W("div",{class:"btn",onClick:u[2]||(u[2]=f=>G(a)(l.elementInfo))},"移除")])],4))}}),yfe=Ve(Rfe,[["__scopeId","data-v-f8f46f78"]]),bfe={key:1,class:"animation-index"},xfe=Ie({__name:"index",props:{elementInfo:{},isSelected:{type:Boolean},isActive:{type:Boolean},isActiveGroupElement:{type:Boolean},isMultiSelect:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},dragLineElement:{type:Function},moveShapeKeypoint:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,{canvasScale:n,toolbarState:r}=Ee(ft()),{formatedAnimations:o}=Ee(st()),i=Me(()=>({[kt.IMAGE]:Hue,[kt.TEXT]:zue,[kt.SHAPE]:efe,[kt.LINE]:ufe,[kt.TABLE]:hfe,[kt.CHART]:bm,[kt.LATEX]:bm,[kt.VIDEO]:bm,[kt.AUDIO]:bm})[t.elementInfo.type]||null),a=Me(()=>{const l=[];for(let u=0;ud.elId).includes(t.elementInfo.id)&&l.push(u);return l}),s=Me(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),c=Me(()=>"height"in t.elementInfo?t.elementInfo.height:0);return(l,u)=>(Y(),q("div",{class:Ge(["operate",{"multi-select":l.isMultiSelect&&!l.isActive}]),style:we({top:l.elementInfo.top*G(n)+"px",left:l.elementInfo.left*G(n)+"px",transform:`rotate(${s.value}deg)`,transformOrigin:`${l.elementInfo.width*G(n)/2}px ${c.value*G(n)/2}px`})},[l.isSelected?(Y(),Te(bs(i.value),{key:0,elementInfo:l.elementInfo,handlerVisible:!l.elementInfo.lock&&(l.isActiveGroupElement||!l.isMultiSelect),rotateElement:l.rotateElement,scaleElement:l.scaleElement,dragLineElement:l.dragLineElement,moveShapeKeypoint:l.moveShapeKeypoint},null,8,["elementInfo","handlerVisible","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])):Ze("",!0),G(r)==="elAnimation"&&a.value.length?(Y(),q("div",bfe,[(Y(!0),q(Xe,null,ot(a.value,f=>(Y(),q("div",{class:"index-item",key:f},gt(f+1),1))),128))])):Ze("",!0),l.isActive&&l.elementInfo.link?(Y(),Te(yfe,{key:2,elementInfo:l.elementInfo,link:l.elementInfo.link,openLinkDialog:l.openLinkDialog,onMousedown:u[0]||(u[0]=Wt(()=>{},["stop"]))},null,8,["elementInfo","link","openLinkDialog"])):Ze("",!0)],6))}}),Sfe=Ve(xfe,[["__scopeId","data-v-b96daa51"]]),Mfe=["src"],wfe=Ie({__name:"BaseImageElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=wc(n),o=Me(()=>t.elementInfo.flipH),i=Me(()=>t.elementInfo.flipV),{flipStyle:a}=a2(o,i),s=Me(()=>t.elementInfo.clip),{clipShape:c,imgPosition:l}=s5(s),u=Me(()=>t.elementInfo.filters),{filter:f}=AI(u);return(d,h)=>(Y(),q("div",{class:"base-element-image",style:we({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[W("div",{class:"element-content",style:we({filter:G(r)?`drop-shadow(${G(r)})`:"",transform:G(a)})},[O(RI,{elementInfo:d.elementInfo},null,8,["elementInfo"]),W("div",{class:"image-content",style:we({clipPath:G(c).style})},[W("img",{src:d.elementInfo.src,draggable:!1,style:we({top:G(l).top,left:G(l).left,width:G(l).width,height:G(l).height,filter:G(f)}),alt:""},null,12,Mfe),d.elementInfo.colorMask?(Y(),q("div",{key:0,class:"color-mask",style:we({backgroundColor:d.elementInfo.colorMask})},null,4)):Ze("",!0)],4)],4)],4)],4))}}),UF=Ve(wfe,[["__scopeId","data-v-71d24108"]]),Lfe=["innerHTML"],Ofe=Ie({__name:"BaseTextElement",props:{elementInfo:{},target:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=wc(n);return(o,i)=>(Y(),q("div",{class:"base-element-text",style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[W("div",{class:"element-content",style:we({width:o.elementInfo.vertical?"auto":o.elementInfo.width+"px",height:o.elementInfo.vertical?o.elementInfo.height+"px":"auto",backgroundColor:o.elementInfo.fill,opacity:o.elementInfo.opacity,textShadow:G(r),lineHeight:o.elementInfo.lineHeight,letterSpacing:(o.elementInfo.wordSpace||0)+"px",color:o.elementInfo.defaultColor,fontFamily:o.elementInfo.defaultFontName,writingMode:o.elementInfo.vertical?"vertical-rl":"horizontal-tb"})},[O(s2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),W("div",{class:Ge(["text ProseMirror-static",{thumbnail:o.target==="thumbnail"}]),style:we({"--paragraphSpace":`${o.elementInfo.paragraphSpace===void 0?5:o.elementInfo.paragraphSpace}px`}),innerHTML:o.elementInfo.content},null,14,Lfe)],4)],4)],4))}}),YF=Ve(Ofe,[["__scopeId","data-v-a3ec163d"]]),Tfe=["width","height"],kfe={key:0},Nfe=["transform"],Pfe=["d","fill","stroke","stroke-width","stroke-dasharray"],Cfe=["innerHTML"],Ife=Ie({__name:"BaseShapeElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.outline),{outlineWidth:r,outlineColor:o,strokeDashArray:i}=Hd(n),a=Me(()=>t.elementInfo.shadow),{shadowStyle:s}=wc(a),c=Me(()=>t.elementInfo.flipH),l=Me(()=>t.elementInfo.flipV),{flipStyle:u}=a2(c,l),f=Me(()=>{const d={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:d});return(d,h)=>(Y(),q("div",{class:"base-element-shape",style:we({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${d.elementInfo.rotate}deg)`})},[W("div",{class:"element-content",style:we({opacity:d.elementInfo.opacity,filter:G(s)?`drop-shadow(${G(s)})`:"",transform:G(u),color:f.value.defaultColor,fontFamily:f.value.defaultFontName})},[(Y(),q("svg",{overflow:"visible",width:d.elementInfo.width,height:d.elementInfo.height},[d.elementInfo.gradient?(Y(),q("defs",kfe,[O(mF,{id:`base-gradient-${d.elementInfo.id}`,type:d.elementInfo.gradient.type,color1:d.elementInfo.gradient.color[0],color2:d.elementInfo.gradient.color[1],rotate:d.elementInfo.gradient.rotate},null,8,["id","type","color1","color2","rotate"])])):Ze("",!0),W("g",{transform:`scale(${d.elementInfo.width/d.elementInfo.viewBox[0]}, ${d.elementInfo.height/d.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[W("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:d.elementInfo.path,fill:d.elementInfo.gradient?`url(#base-gradient-${d.elementInfo.id})`:d.elementInfo.fill,stroke:G(o),"stroke-width":G(r),"stroke-dasharray":G(i)},null,8,Pfe)],8,Nfe)],8,Tfe)),W("div",{class:Ge(["shape-text",f.value.align])},[W("div",{class:"ProseMirror-static",innerHTML:f.value.content},null,8,Cfe)],2)],4)],4)],4))}}),QF=Ve(Ife,[["__scopeId","data-v-2d39d3d1"]]),Ffe=["width","height"],_fe=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Efe=Ie({__name:"BaseLineElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>t.elementInfo.shadow),{shadowStyle:r}=wc(n),o=Me(()=>{const c=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return c<24?24:c}),i=Me(()=>{const c=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return c<24?24:c}),a=Me(()=>{if(t.elementInfo.style!=="dashed")return"0 0";const c=t.elementInfo.width;return c<=8?`${c*5} ${c*2.5}`:`${c*5} ${c*1.5}`}),s=Me(()=>Nx(t.elementInfo));return(c,l)=>(Y(),q("div",{class:"base-element-line",style:we({top:c.elementInfo.top+"px",left:c.elementInfo.left+"px"})},[W("div",{class:"element-content",style:we({filter:G(r)?`drop-shadow(${G(r)})`:""})},[(Y(),q("svg",{overflow:"visible",width:o.value,height:i.value},[W("defs",null,[c.elementInfo.points[0]?(Y(),Te(Cd,{key:0,id:c.elementInfo.id,position:"start",type:c.elementInfo.points[0],color:c.elementInfo.color,baseSize:c.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0),c.elementInfo.points[1]?(Y(),Te(Cd,{key:1,id:c.elementInfo.id,position:"end",type:c.elementInfo.points[1],color:c.elementInfo.color,baseSize:c.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0)]),W("path",{d:s.value,stroke:c.elementInfo.color,"stroke-width":c.elementInfo.width,"stroke-dasharray":a.value,fill:"none","marker-start":c.elementInfo.points[0]?`url(#${c.elementInfo.id}-${c.elementInfo.points[0]}-start)`:"","marker-end":c.elementInfo.points[1]?`url(#${c.elementInfo.id}-${c.elementInfo.points[1]}-end)`:""},null,8,_fe)],8,Ffe))],4)],4))}}),ZF=Ve(Efe,[["__scopeId","data-v-e7dc2b42"]]),Xfe=Ie({__name:"BaseChartElement",props:{elementInfo:{}},setup(e){const t=jo(qu)||he(1),n=Me(()=>t.value<1),r=Me(()=>n.value?1/t.value:1);return(o,i)=>(Y(),q("div",{class:"base-element-chart",style:we({top:o.elementInfo.top+"px",left:o.elementInfo.left+"px",width:o.elementInfo.width+"px",height:o.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${o.elementInfo.rotate}deg)`})},[W("div",{class:"element-content",style:we({backgroundColor:o.elementInfo.fill})},[O(s2,{width:o.elementInfo.width,height:o.elementInfo.height,outline:o.elementInfo.outline},null,8,["width","height","outline"]),O(wF,{width:o.elementInfo.width*r.value,height:o.elementInfo.height*r.value,type:o.elementInfo.chartType,data:o.elementInfo.data,options:o.elementInfo.options,themeColor:o.elementInfo.themeColor,gridColor:o.elementInfo.gridColor,legends:o.elementInfo.data.legends,legend:o.elementInfo.legend||"",style:we({zoom:1/r.value})},null,8,["width","height","type","data","options","themeColor","gridColor","legends","legend","style"])],4)],4)],4))}}),BF=Ve(Xfe,[["__scopeId","data-v-37ca5799"]]),Wfe=["width"],Vfe=["rowspan","colspan"],Ufe=["innerHTML"],Yfe=Ie({__name:"StaticTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},setup(e){const t=e,n=he([]),r=Me(()=>n.value.reduce((c,l)=>c+l));Tt([()=>t.colWidths,()=>t.width],()=>{n.value=t.colWidths.map(c=>c*t.width)},{immediate:!0});const o=Me(()=>t.data),{hideCells:i}=kF(o),a=Me(()=>t.theme),{subThemeColor:s}=NF(a);return(c,l)=>{var u,f,d,h,p;return Y(),q("div",{class:"static-table",style:we({width:r.value+"px"})},[W("table",{class:Ge({theme:a.value,"row-header":(u=a.value)==null?void 0:u.rowHeader,"row-footer":(f=a.value)==null?void 0:f.rowFooter,"col-header":(d=a.value)==null?void 0:d.colHeader,"col-footer":(h=a.value)==null?void 0:h.colFooter}),style:we(`--themeColor: ${(p=a.value)==null?void 0:p.color}; --subThemeColor1: ${G(s)[0]}; --subThemeColor2: ${G(s)[1]}`)},[W("colgroup",null,[(Y(!0),q(Xe,null,ot(n.value,(m,A)=>(Y(),q("col",{span:"1",key:A,width:m},null,8,Wfe))),128))]),W("tbody",null,[(Y(!0),q(Xe,null,ot(c.data,(m,A)=>(Y(),q("tr",{key:A,style:we({height:c.cellMinHeight+"px"})},[(Y(!0),q(Xe,null,ot(m,(x,y)=>Ke((Y(),q("td",{class:"cell",style:we({borderStyle:c.outline.style,borderColor:c.outline.color,borderWidth:c.outline.width+"px",...G(OF)(x.style)}),key:x.id,rowspan:x.rowspan,colspan:x.colspan},[W("div",{class:"cell-text",style:we({minHeight:c.cellMinHeight-4+"px"}),innerHTML:G(TF)(x.text)},null,12,Ufe)],12,Vfe)),[[il,!G(i).includes(`${A}_${y}`)]])),128))],4))),128))])],6)],4)}}}),Qfe=Ve(Yfe,[["__scopeId","data-v-6d887dcd"]]),Zfe={class:"element-content"},Bfe=Ie({__name:"BaseTableElement",props:{elementInfo:{}},setup(e){return(t,n)=>(Y(),q("div",{class:"base-element-table",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[W("div",Zfe,[O(Qfe,{data:t.elementInfo.data,width:t.elementInfo.width,cellMinHeight:t.elementInfo.cellMinHeight,colWidths:t.elementInfo.colWidths,outline:t.elementInfo.outline,theme:t.elementInfo.theme},null,8,["data","width","cellMinHeight","colWidths","outline","theme"])])],4)],4))}}),DF=Ve(Bfe,[["__scopeId","data-v-77cfa6e4"]]),Dfe={class:"element-content"},Kfe=["width","height","stroke","stroke-width"],Hfe=["transform"],Gfe=["d"],Jfe=Ie({__name:"BaseLatexElement",props:{elementInfo:{}},setup(e){return(t,n)=>(Y(),q("div",{class:"base-element-latex",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[W("div",Dfe,[(Y(),q("svg",{overflow:"visible",width:t.elementInfo.width,height:t.elementInfo.height,stroke:t.elementInfo.color,"stroke-width":t.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[W("g",{transform:`scale(${t.elementInfo.width/t.elementInfo.viewBox[0]}, ${t.elementInfo.height/t.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[W("path",{d:t.elementInfo.path},null,8,Gfe)],8,Hfe)],8,Kfe))])],4)],4))}}),KF=Ve(Jfe,[["__scopeId","data-v-93374af9"]]),zfe=Ie({__name:"BaseVideoElement",props:{elementInfo:{}},setup(e){return(t,n)=>{const r=xe("IconPlayOne");return Y(),q("div",{class:"base-element-video",style:we({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${t.elementInfo.rotate}deg)`})},[W("div",{class:"element-content",style:we({backgroundImage:t.elementInfo.poster?`url(${t.elementInfo.poster})`:""})},[O(r,{class:"icon"})],4)],4)],4)}}}),$fe=Ve(zfe,[["__scopeId","data-v-2fb0e771"]]),jfe={class:"element-content"},qfe=Ie({__name:"BaseAudioElement",props:{elementInfo:{}},setup(e){const t=e,n=Me(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px");return(r,o)=>{const i=xe("IconVolumeNotice");return Y(),q("div",{class:"base-element-audio",style:we({top:r.elementInfo.top+"px",left:r.elementInfo.left+"px",width:r.elementInfo.width+"px",height:r.elementInfo.height+"px"})},[W("div",{class:"rotate-wrapper",style:we({transform:`rotate(${r.elementInfo.rotate}deg)`})},[W("div",jfe,[O(i,{class:"audio-icon",style:we({fontSize:n.value,color:r.elementInfo.color})},null,8,["style"])])],4)],4)}}}),ede=Ve(qfe,[["__scopeId","data-v-b33e6120"]]),tde=Ie({__name:"ThumbnailElement",props:{elementInfo:{},elementIndex:{}},setup(e){const t=e,n=Me(()=>({[kt.IMAGE]:UF,[kt.TEXT]:YF,[kt.SHAPE]:QF,[kt.LINE]:ZF,[kt.CHART]:BF,[kt.TABLE]:DF,[kt.LATEX]:KF,[kt.VIDEO]:$fe,[kt.AUDIO]:ede})[t.elementInfo.type]||null);return(r,o)=>(Y(),q("div",{class:Ge(["base-element",`base-element-${r.elementInfo.id}`]),style:we({zIndex:r.elementIndex})},[(Y(),Te(bs(n.value),{elementInfo:r.elementInfo,target:"thumbnail"},null,8,["elementInfo"]))],6))}}),nde={key:1,class:"placeholder"},rde=Ie({__name:"index",props:{slide:{},size:{},visible:{type:Boolean,default:!0}},setup(e){const t=e,{viewportRatio:n}=Ee(st()),r=Me(()=>t.slide.background),{backgroundStyle:o}=f2(r),i=Me(()=>t.size/Gt);return Bu(qu,i),(a,s)=>(Y(),q("div",{class:"thumbnail-slide",style:we({width:a.size+"px",height:a.size*G(n)+"px"})},[a.visible?(Y(),q("div",{key:0,class:"elements",style:we({width:G(Gt)+"px",height:G(Gt)*G(n)+"px",transform:`scale(${i.value})`})},[W("div",{class:"background",style:we(G(o))},null,4),(Y(!0),q(Xe,null,ot(a.slide.elements,(c,l)=>(Y(),Te(tde,{key:c.id,elementInfo:c,elementIndex:l+1},null,8,["elementInfo","elementIndex"]))),128))],4)):(Y(),q("div",nde,"加载中 ..."))],4))}}),Fa=Ve(rde,[["__scopeId","data-v-cbd76d0a"]]),ode=["onClick"],ide=Ie({__name:"Tabs",props:{value:{},tabs:{},card:{type:Boolean,default:!1},tabsStyle:{},tabStyle:{},spaceAround:{type:Boolean,default:!1},spaceBetween:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=t;return(r,o)=>(Y(),q("div",{class:Ge(["tabs",{card:r.card,"space-around":r.spaceAround,"space-between":r.spaceBetween}]),style:we(r.tabsStyle||{})},[(Y(!0),q(Xe,null,ot(r.tabs,i=>(Y(),q("div",{class:Ge(["tab",{active:i.key===r.value}]),key:i.key,style:we({...r.tabStyle||{},"--color":i.color}),onClick:a=>n("update:value",i.key)},gt(i.label),15,ode))),128))],6))}}),_a=Ve(ide,[["__scopeId","data-v-c7f9dce0"]]),ade=Ie({__name:"Button",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{default:"default"},size:{default:"normal"},first:{type:Boolean,default:!1},last:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=()=>{n.disabled||r("click")};return(i,a)=>(Y(),q("button",{class:Ge(["button",{disabled:i.disabled,checked:!i.disabled&&i.checked,default:!i.disabled&&i.type==="default",primary:!i.disabled&&i.type==="primary",checkbox:!i.disabled&&i.type==="checkbox",radio:!i.disabled&&i.type==="radio",small:i.size==="small",first:i.first,last:i.last}]),onClick:a[0]||(a[0]=s=>o())},[lr(i.$slots,"default",{},void 0,!0)],2))}}),$e=Ve(ade,[["__scopeId","data-v-3a484f58"]]),sde={key:0,class:"select-wrap"},lde={class:"selector"},cde={class:"icon"},ude=["onClick"],fde={class:"selector"},dde={class:"icon"},hde=Ie({__name:"Select",props:{value:{},options:{},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=Me(()=>{var f;return((f=n.options.find(d=>d.value===n.value))==null?void 0:f.label)||n.value}),o=t,i=he(!1),a=he(),s=he(0),c=()=>{a.value&&(s.value=a.value.clientWidth)},l=new ResizeObserver(c);Ht(()=>{a.value&&l.observe(a.value)}),wn(()=>{a.value&&l.unobserve(a.value)});const u=f=>{f.disabled||(o("update:value",f.value),i.value=!1)};return(f,d)=>{const h=xe("IconDown");return f.disabled?(Y(),q("div",sde,[W("div",{class:"select disabled",ref_key:"selectRef",ref:a},[W("div",lde,gt(f.value),1),W("div",cde,[lr(f.$slots,"icon",{},()=>[O(h,{size:14})],!0)])],512)])):(Y(),Te(Pt,{key:1,class:"select-wrap",trigger:"click",value:i.value,"onUpdate:value":d[0]||(d[0]=p=>i.value=p),placement:"bottom",contentStyle:{padding:0,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)"}},{content:ie(()=>[W("div",{class:"options",style:we({width:s.value+2+"px"})},[(Y(!0),q(Xe,null,ot(f.options,p=>(Y(),q("div",{class:Ge(["option",{disabled:p.disabled,selected:p.value===f.value}]),key:p.value,onClick:m=>u(p)},gt(p.label),11,ude))),128))],4)]),default:ie(()=>[W("div",{class:"select",ref_key:"selectRef",ref:a},[W("div",fde,gt(r.value),1),W("div",dde,[lr(f.$slots,"icon",{},()=>[O(h,{size:14})],!0)])],512)]),_:3},8,["value","contentStyle"]))}}}),Gn=Ve(hde,[["__scopeId","data-v-618af0ca"]]),pde=e=>(qt("data-v-de4d9db3"),e=e(),en(),e),mde={class:"link-dialog"},vde={key:2,class:"preview"},gde=pde(()=>W("div",null,"预览:",-1)),Ade={class:"btns"},Rde=Ie({__name:"LinkDialog",emits:["close"],setup(e,{emit:t}){var p;const n=t,{handleElement:r}=Ee(ft()),{slides:o,currentSlide:i}=Ee(st()),a=he("web"),s=he(""),c=he(""),l=Me(()=>o.value.map((m,A)=>({label:`幻灯片 ${A+1}`,value:m.id,disabled:i.value.id===m.id})));c.value=((p=o.value.find(m=>m.id!==i.value.id))==null?void 0:p.id)||"";const u=Me(()=>c.value&&o.value.find(m=>m.id===c.value)||null),f=[{key:"web",label:"网页链接"},{key:"slide",label:"幻灯片页面"}],{setLink:d}=VF();Ht(()=>{var m;(m=r.value)!=null&&m.link&&(r.value.link.type==="web"?s.value=r.value.link.target:r.value.link.type==="slide"&&(c.value=r.value.link.target),a.value=r.value.link.type)});const h=()=>{const m={type:a.value,target:a.value==="web"?s.value:c.value};r.value&&(d(r.value,m)?n("close"):s.value="")};return(m,A)=>(Y(),q("div",mde,[O(_a,{tabs:f,value:a.value,"onUpdate:value":A[0]||(A[0]=x=>a.value=x),tabsStyle:{marginBottom:"20px"}},null,8,["value"]),a.value==="web"?(Y(),Te(_u,{key:0,class:"input",value:s.value,"onUpdate:value":A[1]||(A[1]=x=>s.value=x),placeholder:"请输入网页链接地址"},null,8,["value"])):Ze("",!0),a.value==="slide"?(Y(),Te(Gn,{key:1,class:"input",value:c.value,"onUpdate:value":A[2]||(A[2]=x=>c.value=x),options:l.value},null,8,["value","options"])):Ze("",!0),a.value==="slide"&&u.value?(Y(),q("div",vde,[gde,O(Fa,{class:"thumbnail",slide:u.value,size:500},null,8,["slide"])])):Ze("",!0),W("div",Ade,[O($e,{onClick:A[3]||(A[3]=x=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[We("取消")]),_:1}),O($e,{type:"primary",onClick:A[4]||(A[4]=x=>h())},{default:ie(()=>[We("确认")]),_:1})])]))}}),yde=Ve(Rde,[["__scopeId","data-v-de4d9db3"]]),bde=Ie({__name:"Modal",props:{visible:{type:Boolean},width:{default:480},closeButton:{type:Boolean,default:!1},closeOnClickMask:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},contentStyle:{}},emits:["update:visible","closed"],setup(e,{emit:t}){const{IconClose:n}=Uv,r=e,o=he(),i=t,a=he(!1),s=Me(()=>({width:r.width+"px",...r.contentStyle||{}}));Tt(()=>r.visible,()=>{r.visible&&Wr(()=>o.value.focus())});const c=()=>{i("update:visible",!1),i("closed")},l=()=>{r.visible&&r.closeOnEsc&&c()},u=()=>{r.closeOnClickMask&&c()};return(f,d)=>(Y(),Te(nx,{to:"body"},[O(Ou,{name:"modal-fade"},{default:ie(()=>[Ke(W("div",{class:"modal",ref_key:"modalRef",ref:o,tabindex:"-1",onKeyup:d[4]||(d[4]=gc(h=>l(),["esc"]))},[W("div",{class:"mask",onClick:d[0]||(d[0]=h=>u())}),O(Ou,{name:"modal-zoom",onAfterLeave:d[2]||(d[2]=h=>a.value=!1),onBeforeEnter:d[3]||(d[3]=h=>a.value=!0)},{default:ie(()=>[Ke(W("div",{class:"modal-content",style:we(s.value)},[f.closeButton?(Y(),q("span",{key:0,class:"close-btn",onClick:d[1]||(d[1]=h=>c())},[O(G(n))])):Ze("",!0),a.value?lr(f.$slots,"default",{key:1},void 0,!0):Ze("",!0)],4),[[il,f.visible]])]),_:3})],544),[[il,f.visible]])]),_:3})]))}}),Jd=Ve(bde,[["__scopeId","data-v-4d27bcca"]]),xde={class:"operates"},Sde={key:2,class:"drag-mask"},Mde=Ie({__name:"index",setup(e){const t=ft(),{activeElementIdList:n,activeGroupElementId:r,handleElementId:o,hiddenElementIdList:i,editorAreaFocus:a,gridLineSize:s,showRuler:c,creatingElement:l,creatingCustomShape:u,canvasScale:f,textFormatPainter:d}=Ee(t),{currentSlide:h}=Ee(st()),{ctrlKeyState:p,spaceKeyState:m}=Ee(Ss()),A=he(),x=he([]),y=he(!1),R=()=>y.value=!0;Tt(o,()=>{t.setActiveGroupElementId("")});const g=he([]);Og(()=>{g.value=h.value?JSON.parse(JSON.stringify(h.value.elements)):[]});const L=he(),{dragViewport:T,viewportStyles:M}=woe(L);Ooe(L);const{mouseSelection:w,mouseSelectionVisible:k,mouseSelectionQuadrant:_,updateMouseSelection:P}=Loe(g,A),{dragElement:E}=vI(g,x,f),{dragLineElement:I}=Noe(g),{selectElement:F}=koe(g,E),{scaleElement:N,scaleMultiElement:V}=mI(g,x,f),{rotateElement:Z}=hI(g,A,f),{moveShapeKeypoint:J}=Poe(g,f),{selectAllElements:se}=Kg(),{deleteAllElements:D}=kp(),{pasteElement:Q}=_x(),{enterScreeningFromStart:B}=Sc(),{updateSlideIndex:H}=Bd(),{createTextElement:U,createShapeElement:te}=Ju();Ht(()=>{n.value.length&&Wr(()=>t.setActiveElementIdList([]))});const z=ae=>{n.value.length&&t.setActiveElementIdList([]),m.value?T(ae):P(ae),a.value||t.setEditorareaFocus(!0),d.value&&t.setTextFormatPainter(null),Moe()},oe=ae=>{if(n.value.length||l.value||u.value||!A.value)return;const ge=A.value.getBoundingClientRect(),ce=(ae.pageX-ge.x)/f.value,ve=(ae.pageY-ge.y)/f.value;U({left:ce,top:ve,width:200/f.value,height:0})};wn(()=>{d.value&&t.setTextFormatPainter(null)});const pe=()=>{a.value&&t.setEditorareaFocus(!1)},{scaleCanvas:Ae}=Xx(),me=Fn.throttle(Ae,100,{leading:!0,trailing:!1}),$=Fn.throttle(H,300,{leading:!0,trailing:!1}),ue=ae=>{ae.preventDefault(),p.value?ae.deltaY>0?me("-"):ae.deltaY<0&&me("+"):ae.deltaY>0?$(yt.DOWN):ae.deltaY<0&&$(yt.UP)},X=()=>{t.setRulerState(!c.value)},{insertElementFromCreateSelection:ne,formatCreateSelection:le}=Coe(A),j=ae=>{const{start:ge,end:ce,path:ve,viewBox:ye}=ae,_e=le({start:ge,end:ce});if(_e){const Se={};ae.fill&&(Se.fill=ae.fill),ae.outline&&(Se.outline=ae.outline),te(_e,{path:ve,viewBox:ye},Se)}t.setCreatingCustomShapeState(!1)},ee=()=>[{text:"粘贴",subText:"Ctrl + V",handler:Q},{text:"全选",subText:"Ctrl + A",handler:se},{text:"标尺",subText:c.value?"√":"",handler:X},{text:"网格线",handler:()=>t.setGridLineSize(s.value?0:50),children:[{text:"无",subText:s.value===0?"√":"",handler:()=>t.setGridLineSize(0)},{text:"小",subText:s.value===25?"√":"",handler:()=>t.setGridLineSize(25)},{text:"中",subText:s.value===50?"√":"",handler:()=>t.setGridLineSize(50)},{text:"大",subText:s.value===100?"√":"",handler:()=>t.setGridLineSize(100)}]},{text:"重置当前页",handler:D},{divider:!0},{text:"幻灯片放映",subText:"F5",handler:B}];return Bu(qu,f),(ae,ge)=>{const ce=Sn("contextmenu"),ve=Sn("click-outside");return Ke((Y(),q("div",{class:"canvas",ref_key:"canvasRef",ref:L,onWheel:ge[4]||(ge[4]=ye=>ue(ye)),onMousedown:ge[5]||(ge[5]=ye=>z(ye)),onDblclick:ge[6]||(ge[6]=ye=>oe(ye))},[G(l)?(Y(),Te(Iue,{key:0,onCreated:ge[0]||(ge[0]=ye=>G(ne)(ye))})):Ze("",!0),G(u)?(Y(),Te(Xue,{key:1,onCreated:ge[1]||(ge[1]=ye=>j(ye))})):Ze("",!0),W("div",{class:"viewport-wrapper",style:we({width:G(M).width*G(f)+"px",height:G(M).height*G(f)+"px",left:G(M).left+"px",top:G(M).top+"px"})},[W("div",xde,[(Y(!0),q(Xe,null,ot(x.value,(ye,_e)=>(Y(),Te(WF,{key:_e,type:ye.type,axis:ye.axis,length:ye.length,canvasScale:G(f)},null,8,["type","axis","length","canvasScale"]))),128)),G(n).length>1?(Y(),Te(Yue,{key:0,elementList:g.value,scaleMultiElement:G(V)},null,8,["elementList","scaleMultiElement"])):Ze("",!0),(Y(!0),q(Xe,null,ot(g.value,ye=>Ke((Y(),Te(Sfe,{key:ye.id,elementInfo:ye,isSelected:G(n).includes(ye.id),isActive:G(o)===ye.id,isActiveGroupElement:G(r)===ye.id,isMultiSelect:G(n).length>1,rotateElement:G(Z),scaleElement:G(N),openLinkDialog:R,dragLineElement:G(I),moveShapeKeypoint:G(J)},null,8,["elementInfo","isSelected","isActive","isActiveGroupElement","isMultiSelect","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])),[[il,!G(i).includes(ye.id)]])),128)),O(wue)]),W("div",{class:"viewport",ref_key:"viewportRef",ref:A,style:we({transform:`scale(${G(f)})`})},[G(k)?(Y(),Te(Rue,{key:0,top:G(w).top,left:G(w).left,width:G(w).width,height:G(w).height,quadrant:G(_)},null,8,["top","left","width","height","quadrant"])):Ze("",!0),(Y(!0),q(Xe,null,ot(g.value,(ye,_e)=>Ke((Y(),Te(gue,{key:ye.id,elementInfo:ye,elementIndex:_e+1,isMultiSelect:G(n).length>1,selectElement:G(F),openLinkDialog:R},null,8,["elementInfo","elementIndex","isMultiSelect","selectElement"])),[[il,!G(i).includes(ye.id)]])),128))],4)],4),G(m)?(Y(),q("div",Sde)):Ze("",!0),G(c)?(Y(),Te(kue,{key:3,viewportStyles:G(M)},null,8,["viewportStyles"])):Ze("",!0),O(Jd,{visible:y.value,"onUpdate:visible":ge[3]||(ge[3]=ye=>y.value=ye),width:540},{default:ie(()=>[O(yde,{onClose:ge[2]||(ge[2]=ye=>y.value=!1)})]),_:1},8,["visible"])],32)),[[ce,ee],[ve,pe]])}}}),wde=Ve(Mde,[["__scopeId","data-v-47bbcf7b"]]),Lde={class:"shape-item-thumbnail"},Ode={class:"shape-content"},Tde={overflow:"visible",width:"18",height:"18"},kde=["transform"],Nde=["fill","stroke","d"],Pde=Ie({__name:"ShapeItemThumbnail",props:{shape:{}},setup(e){return(t,n)=>(Y(),q("div",Lde,[W("div",Ode,[(Y(),q("svg",Tde,[W("g",{transform:`scale(${18/t.shape.viewBox[0]}, ${18/t.shape.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[W("path",{class:Ge(["shape-path",{outlined:t.shape.outlined}]),"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:t.shape.outlined?"#999":"transparent",stroke:t.shape.outlined?"transparent":"#999","stroke-width":"2",d:t.shape.path},null,10,Nde)],8,kde)]))])]))}}),HF=Ve(Pde,[["__scopeId","data-v-2896ae03"]]),Cde={class:"shape-pool"},Ide={class:"category-name"},Fde={class:"shape-list"},_de=Ie({__name:"ShapePool",emits:["select"],setup(e,{emit:t}){const n=t,r=o=>{n("select",o)};return(o,i)=>(Y(),q("div",Cde,[(Y(!0),q(Xe,null,ot(G(Cx),a=>(Y(),q("div",{class:"category",key:a.type},[W("div",Ide,gt(a.type),1),W("div",Fde,[(Y(!0),q(Xe,null,ot(a.children,(s,c)=>(Y(),Te(HF,{class:"shape-item",key:c,shape:s,onClick:l=>r(s)},null,8,["shape","onClick"]))),128))])]))),128))]))}}),Ede=Ve(_de,[["__scopeId","data-v-553b0d02"]]),Xde=[{type:"直线",children:[{path:"M 0 0 L 20 20",style:"solid",points:["",""]},{path:"M 0 0 L 20 20",style:"dashed",points:["",""]},{path:"M 0 0 L 20 20",style:"solid",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"dashed",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"solid",points:["","dot"]}]},{type:"折线、曲线",children:[{path:"M 0 0 L 0 20 L 20 20",style:"solid",points:["","arrow"],isBroken:!0},{path:"M 0 0 Q 0 20 20 20",style:"solid",points:["","arrow"],isCurve:!0},{path:"M 0 0 C 20 0 0 20 20 20",style:"solid",points:["","arrow"],isCubic:!0}]}],Wde={class:"line-pool"},Vde={class:"category-name"},Ude={class:"line-list"},Yde=["onClick"],Qde={overflow:"visible",width:"20",height:"20"},Zde=["d","stroke-dasharray","marker-start","marker-end"],Bde=Ie({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const n=t,r=o=>{n("select",o)};return(o,i)=>(Y(),q("div",Wde,[(Y(!0),q(Xe,null,ot(G(Xde),(a,s)=>(Y(),q("div",{class:"category",key:a.type},[W("div",Vde,gt(a.type),1),W("div",Ude,[(Y(!0),q(Xe,null,ot(a.children,(c,l)=>(Y(),q("div",{class:"line-item",key:l},[W("div",{class:"line-content",onClick:u=>r(c)},[(Y(),q("svg",Qde,[W("defs",null,[c.points[0]?(Y(),Te(Cd,{key:0,class:"line-marker",id:`preset-line-${s}-${l}`,position:"start",type:c.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):Ze("",!0),c.points[1]?(Y(),Te(Cd,{key:1,class:"line-marker",id:`preset-line-${s}-${l}`,position:"end",type:c.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):Ze("",!0)]),W("path",{class:"line-path",d:c.path,stroke:"currentColor",fill:"none","stroke-width":"2","stroke-dasharray":c.style==="solid"?"0, 0":"4, 1","marker-start":c.points[0]?`url(#${`preset-line-${s}-${l}`}-${c.points[0]}-start)`:"","marker-end":c.points[1]?`url(#${`preset-line-${s}-${l}`}-${c.points[1]}-end)`:""},null,8,Zde)]))],8,Yde)]))),128))])]))),128))]))}}),Dde=Ve(Bde,[["__scopeId","data-v-b07efd40"]]),Kde={class:"chart-pool"},Hde=["onClick"],Gde=Ie({__name:"ChartPool",emits:["select"],setup(e,{emit:t}){const n=t,r=["bar","horizontalBar","line","area","scatter","pie","ring"],o=i=>{n("select",i)};return(i,a)=>{const s=xe("IconChartLine"),c=xe("IconChartHistogram"),l=xe("IconChartPie"),u=xe("IconChartHistogramOne"),f=xe("IconChartLineArea"),d=xe("IconChartRing"),h=xe("IconChartScatter");return Y(),q("ul",Kde,[(Y(),q(Xe,null,ot(r,(p,m)=>W("li",{class:"chart-item",key:m},[W("div",{class:"chart-content",onClick:A=>o(p)},[p==="line"?(Y(),Te(s,{key:0,size:"24"})):p==="bar"?(Y(),Te(c,{key:1,size:"24"})):p==="pie"?(Y(),Te(l,{key:2,size:"24"})):p==="horizontalBar"?(Y(),Te(u,{key:3,size:"24"})):p==="area"?(Y(),Te(f,{key:4,size:"24"})):p==="ring"?(Y(),Te(d,{key:5,size:"24"})):p==="scatter"?(Y(),Te(h,{key:6,size:"24"})):Ze("",!0)],8,Hde)])),64))])}}}),Jde=Ve(Gde,[["__scopeId","data-v-a4bc3ce2"]]),GF=e=>(qt("data-v-246b23f6"),e=e(),en(),e),zde={class:"prefix"},$de={class:"input-wrap"},jde=["disabled","placeholder"],qde={class:"handlers"},e0e=GF(()=>W("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[W("path",{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"})],-1)),t0e=[e0e],n0e=GF(()=>W("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[W("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"})],-1)),r0e=[n0e],o0e={class:"suffix"},i0e=Ie({__name:"NumberInput",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},min:{default:0},max:{default:1/0},step:{default:1}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{emit:t}){const n=e,r=t,o=he(0),i=he(!1);Tt(()=>n.value,()=>{n.value!==o.value&&(o.value=n.value)},{immediate:!0}),Tt(o,()=>{const u=+o.value;if(!isNaN(u)){{if(u>n.max)return;if(u{let u=+o.value;isNaN(u)?u=n.min:u>n.max?u=n.max:u{a(),r("enter",u)},c=u=>{a(),i.value=!1,r("blur",u)},l=u=>{i.value=!0,r("focus",u)};return(u,f)=>(Y(),q("div",{class:Ge(["number-input",{disabled:u.disabled,focused:i.value}])},[W("span",zde,[lr(u.$slots,"prefix",{},void 0,!0)]),W("div",$de,[Ke(W("input",{type:"text",disabled:u.disabled,"onUpdate:modelValue":f[0]||(f[0]=d=>o.value=d),placeholder:u.placeholder,onInput:f[1]||(f[1]=d=>r("input",d)),onFocus:f[2]||(f[2]=d=>l(d)),onBlur:f[3]||(f[3]=d=>c(d)),onChange:f[4]||(f[4]=d=>r("change",d)),onKeydown:f[5]||(f[5]=gc(d=>s(d),["enter"]))},null,40,jde),[[Dh,o.value]]),W("div",qde,[W("span",{class:"handler",onClick:f[6]||(f[6]=d=>o.value+=u.step)},t0e),W("span",{class:"handler",onClick:f[7]||(f[7]=d=>o.value-=u.step)},r0e)])]),W("span",o0e,[lr(u.$slots,"suffix",{},void 0,!0)])],2))}}),Li=Ve(i0e,[["__scopeId","data-v-246b23f6"]]),JF=e=>(qt("data-v-81680e19"),e=e(),en(),e),a0e={class:"table-generator"},s0e={class:"title"},l0e={class:"lef"},c0e=["onMouseenter"],u0e={key:1,class:"custom"},f0e={class:"row"},d0e=JF(()=>W("div",{class:"label",style:{width:"25%"}},"行数:",-1)),h0e={class:"row"},p0e=JF(()=>W("div",{class:"label",style:{width:"25%"}},"列数:",-1)),m0e={class:"btns"},v0e=Ie({__name:"TableGenerator",emits:["insert","close"],setup(e,{emit:t}){const n=t,r=he([]),o=he(3),i=he(3),a=he(!1),s=()=>{if(!r.value.length)return;const[u,f]=r.value;n("insert",{row:u,col:f})},c=()=>{if(o.value<1||o.value>20||i.value<1||i.value>20)return xn.warning("行数/列数必须在0~20之间!");n("insert",{row:o.value,col:i.value}),a.value=!1},l=()=>{n("close"),a.value=!1};return(u,f)=>(Y(),q("div",a0e,[W("div",s0e,[W("div",l0e,"表格 "+gt(r.value.length?`${r.value[0]} x ${r.value[1]}`:""),1),W("div",{class:"right",onClick:f[0]||(f[0]=d=>a.value=!a.value)},gt(a.value?"返回":"自定义"),1)]),a.value?(Y(),q("div",u0e,[W("div",f0e,[d0e,O(Li,{min:1,max:20,value:o.value,"onUpdate:value":f[3]||(f[3]=d=>o.value=d),style:{width:"75%"}},null,8,["value"])]),W("div",h0e,[p0e,O(Li,{min:1,max:20,value:i.value,"onUpdate:value":f[4]||(f[4]=d=>i.value=d),style:{width:"75%"}},null,8,["value"])]),W("div",m0e,[O($e,{class:"btn",onClick:f[5]||(f[5]=d=>l())},{default:ie(()=>[We("取消")]),_:1}),O($e,{class:"btn",type:"primary",onClick:f[6]||(f[6]=d=>c())},{default:ie(()=>[We("确认")]),_:1})])])):(Y(),q("table",{key:0,onMouseleave:f[1]||(f[1]=d=>r.value=[]),onClick:f[2]||(f[2]=d=>s())},[W("tbody",null,[(Y(),q(Xe,null,ot(10,d=>W("tr",{key:d},[(Y(),q(Xe,null,ot(10,h=>W("td",{onMouseenter:p=>r.value=[d,h],key:h},[W("div",{class:Ge(["cell",{active:r.value.length&&d<=r.value[0]&&h<=r.value[1]}])},null,2)],40,c0e)),64))])),64))])],32))]))}}),g0e=Ve(v0e,[["__scopeId","data-v-81680e19"]]),A0e={class:"media-input"},R0e={class:"btns"},y0e={class:"btns"},b0e=Ie({__name:"MediaInput",emits:["insertVideo","insertAudio","close"],setup(e,{emit:t}){const n=t,r=he("video"),o=he("https://mazwai.com/videvo_files/video/free/2019-01/small_watermarked/181004_04_Dolphins-Whale_06_preview.webm"),i=he("https://freesound.org/data/previews/614/614107_11861866-lq.mp3"),a=[{key:"video",label:"视频"},{key:"audio",label:"音频"}],s=()=>{if(!o.value)return xn.error("请先输入正确的视频地址");n("insertVideo",o.value)},c=()=>{if(!i.value)return xn.error("请先输入正确的音频地址");n("insertAudio",i.value)};return(l,u)=>(Y(),q("div",A0e,[O(_a,{tabs:a,value:r.value,"onUpdate:value":u[0]||(u[0]=f=>r.value=f),tabsStyle:{marginBottom:"15px"}},null,8,["value"]),r.value==="video"?(Y(),q(Xe,{key:0},[O(_u,{value:o.value,"onUpdate:value":u[1]||(u[1]=f=>o.value=f),placeholder:"请输入视频地址,e.g. https://xxx.mp4"},null,8,["value"]),W("div",R0e,[O($e,{onClick:u[2]||(u[2]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[We("取消")]),_:1}),O($e,{type:"primary",onClick:u[3]||(u[3]=f=>s())},{default:ie(()=>[We("确认")]),_:1})])],64)):Ze("",!0),r.value==="audio"?(Y(),q(Xe,{key:1},[O(_u,{value:i.value,"onUpdate:value":u[4]||(u[4]=f=>i.value=f),placeholder:"请输入音频地址,e.g. https://xxx.mp3"},null,8,["value"]),W("div",y0e,[O($e,{onClick:u[5]||(u[5]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[We("取消")]),_:1}),O($e,{type:"primary",onClick:u[6]||(u[6]=f=>c())},{default:ie(()=>[We("确认")]),_:1})])],64)):Ze("",!0)]))}}),x0e=Ve(b0e,[["__scopeId","data-v-999b18ca"]]);var xm=82;function Jf(e){return cb[e]==null&&S0e(e),cb[e]}function S0e(e){var t=M0e[e];if(t!=null){for(var n=t.substring(3,5),r=1*n.charCodeAt(0)-xm,o=1*n.charCodeAt(1)-xm,i=t.substring(5),a=[[]],s=1/0,c=-1/0,l=1/0,u=-1/0,f=0;ff>RfR",797:" 3D`D``D",798:" 3RRR>Rf",799:" 3D`DD``",800:" 3D`DR`R",801:" 3F^FY^K",802:" 3KYK^YF",803:" 3RRRDR`",804:" 3KYKFY^",805:" 3F^FK^Y",806:" 3KYKRYR",807:" 3MWMWWM",808:" 3RRRKRY",809:" 3MWMMWW",810:" 8GRRGPGMHJJHMGPGR",811:" 8GRGRGTHWJZM\\P]R]",812:" 8R]R]T]W\\ZZ\\W]T]R",813:" 8R]]R]P\\MZJWHTGRG",814:" 9D`DOGQKSPTTTYS]Q`O",815:" 9PUUDSGQKPPPTQYS]U`",816:" 9OTODQGSKTPTTSYQ]O`",817:" 9D`DUGSKQPPTPYQ]S`U",818:" 5KYRJYNKVRZ",819:" 5JZJRNKVYZR",820:" 5KYKVKNYVYN",821:" 5JZLXJPZTXL",822:" 23JZJ]L]O\\Q[TXUVVSVOULTJSIQIPJOLNONSOVPXS[U\\X]Z]",823:" 23I]]Z]X\\U[SXPVOSNONLOJPIQISJTLUOVSVVUXT[Q\\O]L]J",824:" 23JZZGXGUHSIPLONNQNUOXPZQ[S[TZUXVUVQUNTLQIOHLGJG",825:" 23G[GJGLHOIQLTNUQVUVXUZT[S[QZPXOUNQNNOLPISHUGXGZ",826:" 21E[EPFRHTJUMVQVUUXSZP[NZLWLSMQNNPLSKVKYL\\M^",827:" 19EYETHVKWPWSVVTXQYNYLXKVKSLPNNQMTMYN\\P_",828:" 26OUQOOQOSQUSUUSUQSOQO RQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",829:" 11RWRMSMUNVOWQWSVUUVSWRW",830:" 9D`DRJR RORUR RZR`R",831:" 5D`DUDO`O`U",832:" 6JZRDJR RRDZR",833:" 9D`DR`R RJYZY RP`T`",834:" 9D`DR`R RDRRb R`RRb",840:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",841:" 6LXLLLXXXXLLL",842:" 5KYRJKVYVRJ",843:" 6LXRHLRR\\XRRH",844:" 12JZRIPOJOOSMYRUWYUSZOTORI",845:" 6KYRKRY RKRYR",846:" 6MWMMWW RWMMW",847:" 9MWRLRX RMOWU RWOMU",850:" 35NVQNOONQNSOUQVSVUUVSVQUOSNQN ROQOS RPPPT RQOQU RRORU RSOSU RTPTT RUQUS",851:" 27NVNNNVVVVNNN ROOOU RPOPU RQOQU RRORU RSOSU RTOTU RUOUU",852:" 17MWRLMUWURL RROOT RROUT RRRQT RRRST",853:" 17LULRUWUMLR RORTU RORTO RRRTS RRRTQ",854:" 17MWRXWOMORX RRUUP RRUOP RRRSP RRRQP",855:" 17OXXROMOWXR RURPO RURPU RRRPQ RRRPS",856:" 22LXRLNWXPLPVWRL RRRRL RRRLP RRRNW RRRVW RRRXP",857:" 11RYRKRY RRKYNRQ RSMVNSO",860:" 13MWRLRX ROOUO RMUOWQXSXUWWU",861:" 11LXRLRX RLQMOWOXQ RPWTW",862:" 14KYMNWX RWNMX ROLLOKQ RULXOYQ",863:" 18I[NII[ RVI[[ RMM[[ RWMI[ RNIVI RMMWM",864:" 21I[RGRV RMJWP RWJMP RIVL\\ R[VX\\ RIV[V RL\\X\\",865:" 11G[MJSV RKPSL RG\\[\\[RG\\",866:" 14LXPLPPLPLTPTPXTXTTXTXPTPTLPL",867:" 32KYYPXNVLSKQKNLLNKQKSLVNXQYSYVXXVYT RYPWNUMSMQNPOOQOSPUQVSWUWWVYT",868:" 10KYRJKVYVRJ RRZYNKNRZ",869:" 34G]PIPGQFSFTGTI RGZHXJVKTLPLKMJOIUIWJXKXPYTZV\\X]Z RGZ]Z RQZP[Q\\S\\T[SZ",870:" 64JZRMRS RRSQ\\ RRSS\\ RQ\\S\\ RRMQJPHNG RQJNG RRMSJTHVG RSJVG RRMNKLKJM RPLLLJM RRMVKXKZM RTLXLZM RRMPNOOOR RRMPOOR RRMTNUOUR RRMTOUR",871:" 94JZRIRK RRNRP RRSRU RRYQ\\ RRYS\\ RQ\\S\\ RRGQIPJ RRGSITJ RPJRITJ RRKPNNOMN RRKTNVOWN RNOPORNTOVO RRPPSNTLTKRKSLT RRPTSVTXTYRYSXT RNTPTRSTTVT RRUPXOYMZLZKYJWJYLZ RRUTXUYWZXZYYZWZYXZ RMZOZRYUZWZ",872:" 40JZRYQ\\ RRYS\\ RQ\\S\\ RRYUZXZZXZUYTWTYRZOYMWLUMVJUHSGQGOHNJOMMLKMJOKRMTKTJUJXLZOZRY",873:" 32JZRYQ\\ RRYS\\ RQ\\S\\ RRYVXVVXUXRZQZLYIXHVHTGPGNHLHKIJLJQLRLUNVNXRY",874:" 15I[IPKR RLKNP RRGRO RXKVP R[PYR",899:" 6QSRQQRRSSRRQ",900:" 10PTQPPQPSQTSTTSTQSPQP",901:" 14NVQNOONQNSOUQVSVUUVSVQUOSNQN",902:" 18MWQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM",903:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",904:" 22G]PGMHJJHMGPGTHWJZM\\P]T]W\\ZZ\\W]T]P\\MZJWHTGPG",905:" 34AcPALBJCGEEGCJBLAPATBXCZE]G_JaLbPcTcXbZa]__]aZbXcTcPbLaJ_G]EZCXBTAPA",906:" 34fRAPCMDJDGCEA>H@JAMAZB]D_G`M`PaRc RRATCWDZD]C_AfHdJcMcZb]`_]`W`TaRc",909:" 33AcRAPCMDJDGCEABGAKAPBTDXG\\L`Rc RRATCWDZD]C_AbGcKcPbT`X]\\X`Rc RBHbH",997:" 3MWMXWX",998:" 3JZJZZZ",999:" 3JZJ]Z]",1001:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1002:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1003:" 24KYVLWKWOVLTKQKOLNMMPMSNVOWQXTXVWWU RQKOMNPNSOVQX",1004:" 26JZNKNX ROKOX RLKSKVLWMXPXSWVVWSXLX RSKULVMWPWSVVUWSX",1005:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1006:" 20JXNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXQX",1007:" 36K[VLWKWOVLTKQKOLNMMPMSNVOWQXTXVW RQKOMNPNSOVQX RTXUWVU RVSVX RWSWX RTSYS",1008:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1009:" 12NWRKRX RSKSX RPKUK RPXUX",1010:" 19LXSKSURWQX RTKTUSWQXPXNWMUNTOUNV RQKVK",1011:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1012:" 14KXOKOX RPKPX RMKRK RMXWXWTVX",1013:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1014:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1015:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1016:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1017:" 47KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RPWPUQTSTTUUZV[W[XZ RTUUXVZW[",1018:" 37JZNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX RSRTSUWVXWXXW RSRUSVWWX",1019:" 32KZVMWKWOVMULSKQKOLNMNOOPQQTRVSWT RNNOOQPTQVRWSWVVWTXRXPWOVNTNXOV",1020:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1021:" 20J[NKNUOWQXTXVWWUWK ROKOUPWQX RLKQK RUKYK",1022:" 15KYMKRX RNKRU RWKRX RKKPK RTKYK",1023:" 24I[LKOX RMKOT RRKOX RRKUX RSKUT RXKUX RJKOK RVKZK",1024:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1025:" 20LYNKRRRX ROKSR RWKSRSX RLKQK RTKYK RPXUX",1026:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1027:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1028:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1029:" 14KXOKOX RPKPX RMKWKWOVK RMXRX",1030:" 15KYRKLX RRMWX RRKXX RMWVW RLXXX",1031:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1032:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1033:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1034:" 44KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RQOQT RTOTT RQQTQ RQRTR",1035:" 12NWRKRX RSKSX RPKUK RPXUX",1036:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1037:" 15KYRKMX RRNVX RRKWX RKXPX RTXYX",1038:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1039:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1040:" 36JZMJLM RXJWM RPPOS RUPTS RMVLY RXVWY RMKWK RMLWL RPQTQ RPRTR RMWWW RMXWX",1041:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1042:" 21J[NKNX ROKOX RVKVX RWKWX RLKYK RLXQX RTXYX",1043:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1044:" 20K[MKRQ RNKSQMX RMKWKXOVK RNWWW RMXWXXTVX",1045:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1046:" 33KZMONLOKPKQLRORX RXOWLVKUKTLSOSX RMONMOLPLQMRO RXOWMVLULTMSO RPXUX",1047:" 40KZRKRX RSKSX RQNNOMQMRNTQUTUWTXRXQWOTNQN RQNOONQNROTQU RTUVTWRWQVOTN RPKUK RPXUX",1048:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1049:" 33J[RKRX RSKSX RLPMONOOSQU RTUVSWOXOYP RMONROTQUTUVTWRXO RPKUK RPXUX",1050:" 35KZMVNXQXMRMONMOLQKTKVLWMXOXRTXWXXV ROUNRNOOMQK RTKVMWOWRVU RNWPW RUWWW",1051:" 18KYTKKX RSMTX RTKUX RNTTT RIXNX RRXWX",1052:" 34JYPKLX RQKMX RNKUKWLWNVPSQ RUKVLVNUPSQ ROQRQTRUSUUTWQXJX RRQTSTUSWQX",1053:" 25KXVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUU RRKPMOONRNVPX",1054:" 26JYPKLX RQKMX RNKTKVLWNWQVTUVTWQXJX RTKULVNVQUTTVSWQX",1055:" 22JYPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXTXUUSX",1056:" 20JXPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXOX",1057:" 33KYVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUVVS RRKPMOONRNVPX RRXTVUS RSSXS",1058:" 27J[PKLX RQKMX RXKTX RYKUX RNKSK RVK[K ROQVQ RJXOX RRXWX",1059:" 12NWTKPX RUKQX RRKWK RNXSX",1060:" 19LXUKRUQWPX RVKSURWPXOXMWLUMTNUMV RSKXK",1061:" 27JZPKLX RQKMX RYKOR RRPTX RSPUX RNKSK RVK[K RJXOX RRXWX",1062:" 14KXQKMX RRKNX ROKTK RKXUXVUTX",1063:" 30I\\OKKX ROMPX RPKQV RYKPX RYKUX RZKVX RMKPK RYK\\K RIXMX RSXXX",1064:" 21JZPKLX RPKTX RQKTU RXKTX RNKQK RVKZK RJXNX",1065:" 32KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK",1066:" 24JYPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RJXOX",1067:" 46KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK ROWOVPUQURVRZS[T[UZ RRVSZT[",1068:" 35JZPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RSRTWUXVXWW RSRTSUWVX RJXOX",1069:" 28KZWLXLYKXNWLUKRKPLOMOOPPUSVT RONPOURVSVVUWSXPXNWMULXMWNW",1070:" 16KZTKPX RUKQX RPKNNOKZKYNYK RNXSX",1071:" 20J[PKMUMWOXSXUWVUYK RQKNUNWOX RNKSK RWK[K",1072:" 15KYOKPX RPKQV RYKPX RMKRK RVK[K",1073:" 24I[NKMX ROKNV RTKMX RTKSX RUKTV RZKSX RLKQK RXK\\K",1074:" 21KZPKTX RQKUX RYKLX RNKSK RVK[K RJXOX RRXWX",1075:" 20LYPKRQPX RQKSQ RYKSQQX RNKSK RVK[K RNXSX",1076:" 16LYXKLX RYKMX RQKONPKYK RLXUXVUTX",1101:" 32LZQOPPPQOQOPQOTOVQVWWXXX RTOUQUWWX RURRSPTOUOWPXSXTWUU RRSPUPWQX",1102:" 29JYNKNX ROKOX RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLKOK",1103:" 24LXVQUQURVRVQUPSOQOOPNRNUOWQXSXUWVV RQOPPOROUPWQX",1104:" 32L[VKVX RWKWX RVRUPSOQOOPNRNUOWQXSXUWVU RQOPPOROUPWQX RTKWK RVXYX",1105:" 26LXOSVSVRUPSOQOOPNRNUOWQXSXUWVV RUSUQSO RQOPPOROUPWQX",1106:" 20LWTKULUMVMVLTKRKPMPX RRKQMQX RNOSO RNXSX",1107:" 42LYQOOQOSQUSUUSUQSOQO RQOPQPSQU RSUTSTQSO RTPUOVO RPTOUOXPYTYVZ ROWPXTXVYV[T\\P\\N[NYPX",1108:" 28J[NKNX ROKOX RORPPROTOVPWRWX RTOUPVRVX RLKOK RLXQX RTXYX",1109:" 18NWRKRLSLSKRK RRORX RSOSX RPOSO RPXUX",1110:" 23NWSKSLTLTKSK RSOSZR\\ RTOTZR\\P\\O[OZPZP[O[ RQOTO",1111:" 27JZNKNX ROKOX RWOOU RRSVX RSSWX RLKOK RTOYO RLXQX RTXYX",1112:" 12NWRKRX RSKSX RPKSK RPXUX",1113:" 44F_JOJX RKOKX RKRLPNOPORPSRSX RPOQPRRRX RSRTPVOXOZP[R[X RXOYPZRZX RHOKO RHXMX RPXUX RXX]X",1114:" 28J[NONX ROOOX RORPPROTOVPWRWX RTOUPVRVX RLOOO RLXQX RTXYX",1115:" 28LYQOOPNRNUOWQXTXVWWUWRVPTOQO RQOPPOROUPWQX RTXUWVUVRUPTO",1116:" 32JYNON\\ ROOO\\ RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLOOO RL\\Q\\",1117:" 29KYUOU\\ RVOV\\ RURTPROPONPMRMUNWPXRXTWUU RPOOPNRNUOWPX RS\\X\\",1118:" 22KXOOOX RPOPX RPRQPSOUOVPVQUQUPVP RMOPO RMXRX",1119:" 26LYTOUPUQVQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWOVPVPWQX",1120:" 14LWPKPVRXTXUWUV RQKQVRX RNOTO",1121:" 28J[NONUOWQXSXUWVU ROOOUPWQX RVOVX RWOWX RLOOO RTOWO RVXYX",1122:" 15KYNORX ROORV RVORX RLOQO RTOXO",1123:" 24I[LOOX RMOOU RROOX RROUX RSOUU RXOUX RJOOO RVOZO",1124:" 21KYNOUX ROOVX RVONX RLOQO RTOXO RLXPX RSXXX",1125:" 23KYNORX ROORV RVORXP[N\\M\\L[LZMZM[L[ RLOQO RTOXO",1126:" 16LXUONX RVOOX ROONQNOVO RNXVXVVUX",1127:" 32K[QOOPNQMSMUNWPXQXSWUUWRXO RQOOQNSNUOWPX RQOSOUPWWXX RSOTPVWXXYX",1128:" 40KXRKPMOOMUK\\ RQLPNNTL\\ RRKTKVLVNUPRQ RTKULUNTPRQ RRQTRUTUVTWRXQXOWNT RRQSRTTTVRX",1129:" 19KYLQNOPORPSSSXR\\ RLQNPPPRQSS RWOVRSXQ\\",1130:" 39KYSOQOOPNQMSMUNWPXRXTWUVVTVRUPRNQLQKRJTJUKVM RQOOQNSNVPX RRXTVUTUQSO RQLRKTKVM",1131:" 27LXVPTOQOOPOQPRRS RQOPPPQRS RRSOTNUNWPXSXUW RRSPTOUOWPX",1132:" 28LWRKQLQMSNVNVMSNPOOPNRNTOVPWRXSYS[R\\P\\O[ RSNQOPPOROTPVRX",1133:" 26IYJRKPLONOOPOQMX RMONPNQLX ROQPPROTOVPVRS\\ RTOUPURR\\",1134:" 35IYJSKQLPNPOQOVPX RMPNQNUOWPXQXSWTVUTVQVNULTKRKQLQNRPURWS RQXSVTTUQUNTK",1135:" 13NWROPVPWQXSXUWVU RSOQVQWRX",1136:" 26KYOOLX RPOMX RUOVPWPVOTORQOR RORPSRWTXVWWU RORQSSWTX",1137:" 15LXLKNKPLWX RNKOLVX RRPMX RRPNX",1138:" 26KZOOK\\ RPOL\\ RNUNWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1139:" 19JYNOMX ROONUMX RVRVOWOVRTUQWNXMX RLOOO",1140:" 36MXRKQLQMSNVN RTNQOPPPRRSUS RTNROQPQRRS RSSPTOUOWQXSYTZT[S\\Q\\ RSSQTPUPWQX",1141:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1142:" 20IZPPMX RPPNX RTPSX RTPTX RKQMOXO RKQMPXP",1143:" 29JXSOQOOPNQMSJ\\ RQOOQNSK\\ RSOUPVRVTUVTWRXPXNWMU RSOUQUTTVRX",1144:" 28K[YOQOOPNQMSMUNWPXRXTWUVVTVRUPYP RQOOQNSNVPX RRXTVUTUQSO",1145:" 14KZSPQX RSPRX RMQOOXO RMQOPXP",1146:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1147:" 35KZOPNQMSMUNWPXRXUWWUXRXPWOUOTPSRRUO\\ RMUNVPWRWUVWTXR RXQWPUPSR RRUQXP\\",1148:" 17KXMONOPPS[T\\ RNOOPR[T\\U\\ RVOTRNYL\\",1149:" 28I[TKQ\\ RUKP\\ RJRKPLONOOPOVPWSWUVWT RMONPNTOWPXSXUWWTXRYO",1150:" 36JZNPPPPONPMQLSLUMWNXPXQWRUSR RLUNWPWRU RRRRWSXUXWVXTXRWPVOVPWP RRUSWUWWV",1151:" 32KZVOTVTWUXWXXWYU RWOUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1152:" 32JXOKMR RPKNRNVPX RNROPQOSOUPVRVTUVTWRXPXNWMUMR RSOUQUTTVRX RMKPK",1153:" 22KXUPUQVQUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1154:" 35KZWKTVTWUXWXXWYU RXKUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RUKXK",1155:" 23KWNURTTSURUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1156:" 23MXWKXLXKVKTLSNPYO[N\\ RVKULTNQYP[N\\L\\L[M\\ RPOVO",1157:" 34KYVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1158:" 29KZPKLX RQKMX ROQPPROTOVPVRUUUWVX RTOUPURTUTWUXWXXWYU RNKQK",1159:" 26MWSKSLTLTKSK RNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1160:" 26MWTKTLULUKTK RORPPQOSOTPTRRYQ[O\\M\\M[N\\ RROSPSRQYP[O\\",1161:" 32KXPKLX RQKMX RVPUQVQVPUOTORQPROR RORPSQWRXTXUWVU RORQSRWSX RNKQK",1162:" 16NVSKPVPWQXSXTWUU RTKQVQWRX RQKTK",1163:" 46F^GRHPIOKOLPLQJX RJOKPKQIX RLQMPOOQOSPSQQX RQORPRQPX RSQTPVOXOZPZRYUYWZX RXOYPYRXUXWYX[X\\W]U",1164:" 33J[KRLPMOOOPPPQNX RNOOPOQMX RPQQPSOUOWPWRVUVWWX RUOVPVRUUUWVXXXYWZU",1165:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1166:" 35JYKRLPMOOOPPPQM\\ RNOOPOQL\\ RPQROTOVPWRWTVVUWSXQXOVOT RTOVQVTUVSX RJ\\O\\",1167:" 28KYVOR\\ RWOS\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RP\\U\\",1168:" 22LXMRNPOOQORPRQPX RPOQPQQOX RRQSPUOVOWPWQVQWP",1169:" 24LYVPVQWQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWNVOVOW",1170:" 16NWSKPVPWQXSXTWUU RTKQVQWRX RPOUO",1171:" 33IZJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1172:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1173:" 37H\\IRJPKOMONPNRMUMWNX RLOMPMRLULWNXOXQWRV RTORVRWTX RUOSVSWTXUXWWYUZRZOYOZP",1174:" 38JZMRNPPOROSPSR RQORPRRQUPWNXMXLWLVMVLW RXPWQXQXPWOVOTPSRRURWSX RQUQWRXTXVWWU",1175:" 35IYJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\",1176:" 27KYWOWPVQNVMWMX RNQOOROUQ ROPRPUQVQ RNVOVRWUW ROVRXUXVV",1177:" 39H[RKSLSMTMTLRKOKMLLNLX ROKNLMNMX RXKYLYMZMZLXKVKTMTX RVKUMUX RJOWO RJXOX RRXWX",1178:" 29J[UKVLWLWKQKOLNNNX RQKPLONOX RVOVX RWOWX RLOWO RLXQX RTXYX",1179:" 27J[WKQKOLNNNX RQKPLONOX RUKVLVX RWKWX RLOVO RLXQX RTXYX",1180:" 48F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX RYKZL[L[KUKSLRNRX RUKTLSNSX RZOZX R[O[X RHO[O RHXMX RPXUX RXX]X",1181:" 46F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX R[KUKSLRNRX RUKTLSNSX RYKZLZX R[K[X RHOZO RHXMX RPXUX RXX]X",1182:" 12NWRORX RSOSX RPOSO RPXUX",1184:" 21LXVPTOROPPOQNSNUOWQXSXUW RROPQOSOVQX ROSSS",1185:" 35LYSKQLPMOONRNUOWPXRXTWUVVTWQWNVLUKSK RSKQMPOOSOVPX RRXTVUTVPVMUK ROQVQ",1186:" 34KZTKQ\\ RUKP\\ RQONPMRMUNWQXTXWWXUXRWPTOQO RQOOPNRNUOWQX RTXVWWUWRVPTO",1187:" 22LXUPVRVQUPSOQOOPNRNTOVRX RQOOQOTPVRXSYS[R\\P\\",1191:" 45I[VKWLXLVKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RZK[L[KYKWLVNSYR[Q\\ RYKXLWNTYS[Q\\O\\O[P\\ RLOYO",1192:" 38IZVKWLXLXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RVOTVTWUXWXXWYU RWOUVUWVX RLOWO",1193:" 38IZVKWL RXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RWKTVTWUXWXXWYU RXKUVUWVX RLOVO",1194:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L\\L\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ RZOXVXWYX[X\\W]U R[OYVYWZX RIO[O",1195:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L R\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ R[KXVXWYX[X\\W]U R\\KYVYWZX RIOZO",1196:" 20MWNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1200:" 28LYQKOLNONTOWQXTXVWWTWOVLTKQK RQKPLOOOTPWQX RTXUWVTVOULTK",1201:" 10LYPNSKSX RRLRX ROXVX",1202:" 35LYOMONNNNMOLQKTKVLWNVPTQQROSNUNX RTKULVNUPTQ RNWOVPVSWVWWV RPVSXVXWVWU",1203:" 39LYOMONNNNMOLQKTKVLWNVPTQ RTKULVNUPTQ RRQTQVRWTWUVWTXQXOWNVNUOUOV RTQURVTVUUWTX",1204:" 13LYSMSX RTKTX RTKMTXT RQXVX",1205:" 33LYOKNQ ROKVK ROLSLVK RNQOPQOTOVPWRWUVWTXQXOWNVNUOUOV RTOUPVRVUUWTX",1206:" 36LYVMVNWNWMVLTKRKPLOMNPNUOWQXTXVWWUWSVQTPQPNR RRKPMOPOUPWQX RTXUWVUVSUQTP",1207:" 22LYNKNO RVMRTPX RWKTQQX RNMPKRKUM RNMPLRLUMVM",1208:" 51LYQKOLNNOPQQTQVPWNVLTKQK RQKPLONPPQQ RTQUPVNULTK RQQORNTNUOWQXTXVWWUWTVRTQ RQQPROTOUPWQX RTXUWVUVTURTQ",1209:" 36LYOVOUNUNVOWQXSXUWVVWSWNVLTKQKOLNNNPORQSTSWQ RSXUVVSVNULTK RQKPLONOPPRQS",1210:" 6NVRVQWRXSWRV",1211:" 8NVSWRXQWRVSWSYQ[",1212:" 12NVROQPRQSPRO RRVQWRXSWRV",1213:" 14NVROQPRQSPRO RSWRXQWRVSWSYQ[",1214:" 15NVRKQLRSSLRK RRLRO RRVQWRXSWRV",1215:" 29LYNNONOONONNOLQKTKVLWNWOVQSRRSRTST RTKVMVPUQSR RRWRXSXSWRW",1216:" 6OVRKRP RSKRP",1217:" 12LXOKOP RPKOP RUKUP RVKUP",1218:" 10MWQKPLPNQOSOTNTLSKQK",1219:" 9MWRJRP ROKUO RUKOO",1220:" 3KZXHM\\",1221:" 16MWUHSJQMPPPTQWSZU\\ RSJRLQPQTRXSZ",1222:" 16MWOHQJSMTPTTSWQZO\\ RQJRLSPSTRXQZ",1223:" 12MWPHP\\ RQHQ\\ RPHUH RP\\U\\",1224:" 12MWSHS\\ RTHT\\ ROHTH RO\\T\\",1225:" 38LWSHQIPJPLRNSP RQIPL RSNRQ RPJQLSNSPRQPRRSSTSVQXPZ RRSSV RPXQ[ RSTRVPXPZQ[S\\",1226:" 38MXQHSITJTLRNQP RSITL RQNRQ RTJSLQNQPRQTRRSQTQVSXTZ RRSQV RTXS[ RQTRVTXTZS[Q\\",1227:" 4MWTHPRT\\",1228:" 4MWPHTRP\\",1229:" 3OURHR\\",1230:" 6MWPHP\\ RTHT\\",1231:" 3I[LRXR",1232:" 6I[RLRX RLRXR",1233:" 9JZRMRX RMRWR RMXWX",1234:" 9JZRMRX RMMWM RMRWR",1235:" 6JZMMWW RWMMW",1236:" 6NVRQQRRSSRRQ",1237:" 15I[RLQMRNSMRL RLRXR RRVQWRXSWRV",1238:" 6I[LPXP RLTXT",1239:" 9I[WLMX RLPXP RLTXT",1240:" 9I[LNXN RLRXR RLVXV",1241:" 4JZWLMRWX",1242:" 4JZMLWRMX",1243:" 10JZWKMOWS RMTWT RMXWX",1244:" 10JZMKWOMS RMTWT RMXWX",1245:" 21H[YUWUUTTSRPQOONNNLOKQKRLTNUOUQTRSTPUOWNYN",1246:" 16JZLTLRMPOPUSWSXR RLRMQOQUTWTXRXP",1247:" 8JZMSRPWS RMSRQWS",1248:" 7NVSKPO RSKTLPO",1249:" 7NVQKTO RQKPLTO",1250:" 14LXNKOMQNSNUMVK RNKONQOSOUNVK",1251:" 8NVSLRMQLRKSLSNQP",1252:" 8NVSKQMQORPSORNQO",1253:" 8NVQLRMSLRKQLQNSP",1254:" 8NVQKSMSORPQORNSO",1256:" 11JZWMQMONNOMQMSNUOVQWWW",1257:" 11JZMMMSNUOVQWSWUVVUWSWM",1258:" 11JZMMSMUNVOWQWSVUUVSWMW",1259:" 11JZMWMQNOONQMSMUNVOWQWW",1260:" 14JZWMQMONNOMQMSNUOVQWWW RMRUR",1261:" 13I[TOUPXRUTTU RUPWRUT RLRWR",1262:" 13MWRMRX ROPPORLTOUP RPORMTO",1263:" 13I[POOPLROTPU ROPMROT RMRXR",1264:" 13MWRLRW ROTPURXTUUT RPURWTU",1265:" 37KYVSUPSOQOOPNQMSMUNWPXRXTWUVVTWQWNVLTKQKPLQLRK RQOOQNSNVPX RRXTVUTVQVNULTK",1266:" 15JZLKRX RMKRV RXKRX RLKXK RNLWL",1267:" 10G[IOLORW RKORX R[FRX",1268:" 26I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[",1269:" 40I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[ RQNOONQNSOUQVSVUUVSVQUOSNQN",1270:" 26H\\ZRYTWUVUTTSSQPPONNMNKOJQJRKTMUNUPTQSSPTOVNWNYOZQZR",1271:" 26JZXKLX ROKPLPNOOMOLNLLMKOKSLVLXK RUTTUTWUXWXXWXUWTUT",1272:" 41J[YPXPXQYQYPXOWOVPUTTVSWQXOXMWLVLTMSORRPSNSLRKPKOLONPQUWWXXXYW ROXMVMTOR RONPPVWWX",1273:" 29J[UPSOQOPQPRQTSTUS RUOUSVTXTYRYQXNVLSKRKOLMNLQLRMUOWRXSXVW",1274:" 34KZQHQ\\ RTHT\\ RWLVLVMWMWLUKPKNLNNOPVSWT RNNOOVRWTWVVWTXQXOWNVNUOUOVNV",1275:" 12KYRKN\\ RVKR\\ RNQWQ RMVVV",1276:" 40LXTLSLSMTMTLSKQKPLPNQPTRUS RPNQOTQUSUUSW RQPOROTPVSXTY ROTPUSWTYT[S\\Q\\P[PZQZQ[P[",1277:" 29LXRKQLRMSLRK RRMRQ RRQQSRVSSRQ RRVR\\ RPOONNOOPPOTOUNVOUPTO",1278:" 42LXRMSLRKQLRMRQQRSURV RRQSRQURVRZQ[R\\S[RZ RPOONNOOPPOTOUNVOUPTO RPXOWNXOYPXTXUWVXUYTX",1279:" 12LYVKVX RNKVK RQQVQ RNXVX",1281:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRQQRRSSRRQ",1282:" 33LYQKPLPMQN RTKULUMTN RRNPOOQORPTRUSUUTVRVQUOSNRN RRURY RSUSY ROWVW",1283:" 23LYRKPLONOOPQRRSRUQVOVNULSKRK RRRRX RSRSX ROUVU",1284:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRKRY RKRYR",1285:" 25JYRRPQOQMRLTLUMWOXPXRWSUSTRR RWMRR RRMWMWR RRMVNWR",1286:" 25JZLLMKOKQLRNRPQRPSNT ROKPLQNQQPS RVKUX RWKTX RNTXT",1287:" 27JYNKNU ROKNR RNROPQOSOUPVQVTTVTXUYVYWX RSOUQUTTV RLKOK",1288:" 27LYONRKRQ RVNSKSQ RRQPROTOUPWRXSXUWVUVTURSQ RRTRUSUSTRT",1289:" 27JZRKRY RMKMPNRPSTSVRWPWK RLMMKNM RQMRKSM RVMWKXM ROVUV",1290:" 27JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXVXVUUX",1291:" 20LYWKTKQLONNQNSOVQXTYWY RWKTLRNQQQSRVTXWY",1292:" 23JZRRPQOQMRLTLUMWOXPXRWSUSTRR RSLQQ RWMRR RXQSS",1293:" 12KYPMTW RTMPW RMPWT RWPMT",1294:" 34J[OUMULVLXMYOYPXPVNTMRMONMOLQKTKVLWMXOXRWTUVUXVYXYYXYVXUVU RNMPLULWM",1295:" 34J[OOMOLNLLMKOKPLPNNPMRMUNWOXQYTYVXWWXUXRWPUNULVKXKYLYNXOVO RNWPXUXWW",1401:" 21F^KHK\\ RLHL\\ RXHX\\ RYHY\\ RHH\\H RH\\O\\ RU\\\\\\",1402:" 20H]KHRQJ\\ RJHQQ RJHYHZMXH RK[X[ RJ\\Y\\ZWX\\",1403:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",1404:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",1405:" 12KYOBOb RPBPb ROBVB RObVb",1406:" 12KYTBTb RUBUb RNBUB RNbUb",1407:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",1408:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",1409:" 24KYU@RCPFOIOLPOSVTYT\\S_Ra RRCQEPHPKQNTUUXU[T^RaOd",1410:" 24KYO@RCTFUIULTOQVPYP\\Q_Ra RRCSETHTKSNPUOXO[P^RaUd",1411:" 13AXCRGRR` RGSRa RFSRb RX:Rb",1412:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2001:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2002:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2003:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2004:" 30G]LFL[ RMFM[ RIFSFVGXIYKZNZSYVXXVZS[I[ RSFUGWIXKYNYSXVWXUZS[",2005:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2006:" 20G[LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[P[",2007:" 40G^XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXX RQFOGMILKKNKSLVMXOZQ[ RXSX[ RYSY[ RUS\\S",2008:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2009:" 12MXRFR[ RSFS[ ROFVF RO[V[",2010:" 20KZUFUWTZR[P[NZMXMVNUOVNW RTFTWSZR[ RQFXF",2011:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2012:" 14I[NFN[ ROFO[ RKFRF RK[Z[ZUY[",2013:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2014:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2015:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2016:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2017:" 64G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF RNYNXOVQURUTVUXV_W`Y`Z^Z] RUXV\\W^X_Y_Z^",2018:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUPMP RUFWGXHYJYLXNWOUP RI[P[ RRPTQURXYYZZZ[Y RTQUSWZX[Z[[Y[X",2019:" 34H\\XIYFYLXIVGSFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[Q[NZLXKUK[LX",2020:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2021:" 23F^KFKULXNZQ[S[VZXXYUYF RLFLUMXOZQ[ RHFOF RVF\\F",2022:" 15H\\KFR[ RLFRX RYFR[ RIFOF RUF[F",2023:" 24F^JFN[ RKFNV RRFN[ RRFV[ RSFVV RZFV[ RGFNF RWF]F",2024:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2025:" 20H]KFRQR[ RLFSQS[ RZFSQ RIFOF RVF\\F RO[V[",2026:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2027:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2028:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2029:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2030:" 15H\\RFJ[ RRFZ[ RRIY[ RKZYZ RJ[Z[",2031:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2032:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2033:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2034:" 56G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF ROMOT RUMUT ROPUP ROQUQ",2035:" 12MXRFR[ RSFS[ ROFVF RO[V[",2036:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2037:" 15H\\RFK[ RRFY[ RRIX[ RI[O[ RU[[[",2038:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2039:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2040:" 36G]KEJJ RZEYJ RONNS RVNUS RKWJ\\ RZWY\\ RKGYG RKHYH ROPUP ROQUQ RKYYY RKZYZ",2041:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2042:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2043:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2044:" 20H]KFRPJ[ RJFQP RJFYFZLXF RKZXZ RJ[Y[ZUX[",2045:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2046:" 33I\\KKKILGMFOFPGQIRMR[ RKIMGOGQI RZKZIYGXFVFUGTISMS[ RZIXGVGTI RO[V[",2047:" 48H]RFR[ RSFS[ RPKMLLMKOKRLTMUPVUVXUYTZRZOYMXLUKPK RPKNLMMLOLRMTNUPV RUVWUXTYRYOXMWLUK ROFVF RO[V[",2048:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2049:" 41G^RFR[ RSFS[ RIMJLLMMQNSOTQU RJLKMLQMSNTQUTUWTXSYQZM[L RTUVTWSXQYM[L\\M ROFVF RO[V[",2050:" 43G]JXK[O[MWKSJPJLKIMGPFTFWGYIZLZPYSWWU[Y[ZX RMWLTKPKLLINGPF RTFVGXIYLYPXTWW RKZNZ RVZYZ",2051:" 18H\\UFH[ RUFV[ RTHU[ RLUUU RF[L[ RR[X[",2052:" 41F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVP RWFYGZIZKYNXOVP RMPVPXQYSYUXXVZR[F[ RVPWQXSXUWXUZR[",2053:" 34H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RTFRGPINLMOLSLVMYNZP[",2054:" 30F]OFI[ RPFJ[ RLFUFXGYHZKZOYSWWUYSZO[F[ RUFWGXHYKYOXSVWTYRZO[",2055:" 22F]OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[U[WVT[",2056:" 20F\\OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[M[",2057:" 42H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RTFRGPINLMOLSLVMYNZP[ RR[TZVXXT RUT\\T",2058:" 27E_NFH[ ROFI[ R[FU[ R\\FV[ RKFRF RXF_F RLPXP RE[L[ RR[Y[",2059:" 12LYUFO[ RVFP[ RRFYF RL[S[",2060:" 21I[XFSWRYQZO[M[KZJXJVKULVKW RWFRWQYO[ RTF[F",2061:" 27F]OFI[ RPFJ[ R]FLS RSOW[ RROV[ RLFSF RYF_F RF[M[ RS[Y[",2062:" 14H\\QFK[ RRFL[ RNFUF RH[W[YUV[",2063:" 30E`NFH[ RNFO[ ROFPY R\\FO[ R\\FV[ R]FW[ RKFOF R\\F`F RE[K[ RS[Z[",2064:" 21F_OFI[ ROFVX ROIV[ R\\FV[ RLFOF RYF_F RF[L[",2065:" 42G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF",2066:" 27F]OFI[ RPFJ[ RLFXF[G\\I\\K[NYPUQMQ RXFZG[I[KZNXPUQ RF[M[",2067:" 61G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF RLYLXMVOUPURVSXS_T`V`W^W] RSXT^U_V_W^",2068:" 42F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVPMP RWFYGZIZKYNXOVP RRPTQURVZW[Y[ZYZX RURWYXZYZZY RF[M[",2069:" 35G^ZH[H\\F[L[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJUI[JYKY",2070:" 16H]UFO[ RVFP[ ROFLLNF]F\\L\\F RL[S[",2071:" 25F_NFKQJUJXKZN[R[UZWXXU\\F ROFLQKUKXLZN[ RKFRF RYF_F",2072:" 15H\\NFO[ ROFPY R\\FO[ RLFRF RXF^F",2073:" 24E_MFK[ RNFLY RUFK[ RUFS[ RVFTY R]FS[ RJFQF RZF`F",2074:" 21G]NFU[ ROFV[ R\\FH[ RLFRF RXF^F RF[L[ RR[X[",2075:" 20H]NFRPO[ ROFSPP[ R]FSP RLFRF RYF_F RL[S[",2076:" 16G][FH[ R\\FI[ ROFLLNF\\F RH[V[XUU[",2077:" 46H\\KILKXWYYY[ RLLXX RKIKKLMXYY[ RPPLTKVKXLZK[ RKVMZ RLTLVMXMZK[ RSSXN RVIVLWNYNYLWKVI RVIWLYN",2101:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2102:" 33G\\LFL[ RMFM[ RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIFMF",2103:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2104:" 36H]WFW[ RXFX[ RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTFXF RW[[[",2105:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2106:" 22KXUGTHUIVHVGUFSFQGPIP[ RSFRGQIQ[ RMMUM RM[T[",2107:" 60I\\QMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM RONNPNTOV RUVVTVPUN RVOWNYMYNWN RNUMVLXLYM[P\\U\\X]Y^ RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[",2108:" 28G]LFL[ RMFM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIFMF RI[P[ RT[[[",2109:" 18MXRFQGRHSGRF RRMR[ RSMS[ ROMSM RO[V[",2110:" 25MXSFRGSHTGSF RTMT_SaQbObNaN`O_P`Oa RSMS_RaQb RPMTM",2111:" 27G\\LFL[ RMFM[ RWMMW RRSX[ RQSW[ RIFMF RTMZM RI[P[ RT[Z[",2112:" 12MXRFR[ RSFS[ ROFSF RO[V[",2113:" 44BcGMG[ RHMH[ RHPJNMMOMRNSPS[ ROMQNRPR[ RSPUNXMZM]N^P^[ RZM\\N]P][ RDMHM RD[K[ RO[V[ RZ[a[",2114:" 28G]LML[ RMMM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIMMM RI[P[ RT[[[",2115:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2116:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2117:" 33H\\WMWb RXMXb RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTb[b",2118:" 23IZNMN[ ROMO[ ROSPPRNTMWMXNXOWPVOWN RKMOM RK[R[",2119:" 32J[WOXMXQWOVNTMPMNNMOMQNRPSUUWVXW RMPNQPRUTWUXVXYWZU[Q[OZNYMWM[NY",2120:" 16KZPFPWQZS[U[WZXX RQFQWRZS[ RMMUM",2121:" 28G]LMLXMZP[R[UZWX RMMMXNZP[ RWMW[ RXMX[ RIMMM RTMXM RW[[[",2122:" 15I[LMR[ RMMRY RXMR[ RJMPM RTMZM",2123:" 24F^JMN[ RKMNX RRMN[ RRMV[ RSMVX RZMV[ RGMNM RWM]M",2124:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2125:" 22H[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2126:" 16I[WML[ RXMM[ RMMLQLMXM RL[X[XWW[",2127:" 40G^QMNNLPKRJUJXKZN[P[RZUWWTYPZM RQMONMPLRKUKXLZN[ RQMSMUNVPXXYZZ[ RSMTNUPWXXZZ[[[",2128:" 57G\\TFQGOIMMLPKTJZIb RTFRGPINMMPLTKZJb RTFVFXGYHYKXMWNTOPO RVFXHXKWMVNTO RPOTPVRWTWWVYUZR[P[NZMYLV RPOSPURVTVWUYTZR[",2129:" 28H\\IPKNMMOMQNROSRSVRZOb RJOLNPNRO RZMYPXRSYP^Nb RYMXPWRSY",2130:" 44I\\VNTMRMONMQLTLWMYNZP[R[UZWWXTXQWOSJRHRFSEUEWFYH RRMPNNQMTMXNZ RR[TZVWWTWPVNTKSISGTFVFYH",2131:" 32I[XPVNTMPMNNNPPRSS RPMONOPQRSS RSSNTLVLXMZP[S[UZWX RSSOTMVMXNZP[",2132:" 31I[TFRGQHQIRJUKZKZJWKSMPOMRLULWMYP[S]T_TaSbQbPa RULQONRMUMWNYP[",2133:" 32G]HQIOKMNMONOPNTL[ RMMNNNPMTK[ RNTPPRNTMVMXNYOYRXWUb RVMXOXRWWTb",2134:" 44F]GQHOJMMMNNNPMUMXNZO[ RLMMNMPLULXMZO[Q[SZUXWUXRYMYIXGVFTFRHRJSMUPWRZT RSZUWVUWRXMXIWGVF",2135:" 15LXRMPTOXOZP[S[UYVW RSMQTPXPZQ[",2136:" 29H\\NMJ[ ROMK[ RXMYNZNYMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW",2137:" 23H\\KFMFOGPHQJWXXZY[ RMFOHPJVXWZY[Z[ RRMJ[ RRMK[",2138:" 28F]MMGb RNMHb RMPLVLYN[P[RZTXVU RXMUXUZV[Y[[Y\\W RYMVXVZW[",2139:" 24H\\NML[ ROMNSMXL[ RYMXQVU RZMYPXRVUTWQYOZL[ RKMOM",2140:" 45IZTFRGQHQIRJUKXK RUKQLOMNONQPSSTVT RUKRLPMOOOQQSST RSTOUMVLXLZN\\S^T_TaRbPb RSTPUNVMXMZO\\S^",2141:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2142:" 22G]PNL[ RPNM[ RVNV[ RVNW[ RIPKNNM[M RIPKONN[N",2143:" 31H[LVMYNZP[R[UZWWXTXQWOVNTMRMONMQLTHb RR[TZVWWTWPVN RRMPNNQMTIb",2144:" 35H][MQMNNLQKTKWLYMZO[Q[TZVWWTWQVOUNSM RQMONMQLTLXMZ RQ[SZUWVTVPUN RUN[N",2145:" 16H\\SNP[ RSNQ[ RJPLNOMZM RJPLOONZN",2146:" 31H\\IQJOLMOMPNPPNVNYP[ RNMONOPMVMYNZP[Q[TZVXXUYRYOXMWNXOYR RXUYO",2147:" 37G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb RJWLYNZQZTYWWYU RZOXNVNTPRSPYNb",2148:" 23I[KMMMONPPU_VaWb RMMNNOPT_UaWbYb RZMYOWRM]K`Jb",2149:" 34F]UFOb RVFNb RGQHOJMMMNNNPMUMXOZRZTYWVYS RLMMNMPLULXMZO[R[TZVXXUYS[M",2150:" 44F]JQLOONNMLNJQITIWJZK[M[OZQWRT RIWJYKZMZOYQW RQTQWRZS[U[WZYWZTZQYNXMWNYOZQ RQWRYSZUZWYYW",2151:" 39H]XMVTUXUZV[Y[[Y\\W RYMWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2152:" 36H[PFLSLVMYNZ RQFMS RMSNPPNRMTMVNWOXQXTWWUZR[P[NZMWMS RVNWPWTVWTZR[ RMFQF",2153:" 25I[WPWQXQXPWNUMRMONMQLTLWMYNZP[R[UZWW RRMPNNQMTMXNZ",2154:" 42H]ZFVTUXUZV[Y[[Y\\W R[FWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RWF[F",2155:" 26I[MVQUTTWRXPWNUMRMONMQLTLWMYNZP[R[UZWX RRMPNNQMTMXNZ",2156:" 35KZZGYHZI[H[GZFXFVGUHTJSMP[O_Na RXFVHUJTNRWQ[P^O`NaLbJbIaI`J_K`Ja ROMYM",2157:" 43H\\YMU[T^RaObLbJaI`I_J^K_J` RXMT[S^QaOb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2158:" 31H]PFJ[ RQFK[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W RMFQF",2159:" 26LYUFTGUHVGUF RMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2160:" 32LYVFUGVHWGVF RNQOOQMTMUNUQR[Q^P`OaMbKbJaJ`K_L`Ka RSMTNTQQ[P^O`Mb",2161:" 34H\\PFJ[ RQFK[ RXNWOXPYOYNXMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW RMFQF",2162:" 18MYUFQTPXPZQ[T[VYWW RVFRTQXQZR[ RRFVF",2163:" 52AbBQCOEMHMINIPHTF[ RGMHNHPGTE[ RHTJPLNNMPMRNSOSQP[ RPMRORQO[ RRTTPVNXMZM\\N]O]Q[W[Z\\[ RZM\\O\\QZWZZ[[^[`YaW",2164:" 37F]GQHOJMMMNNNPMTK[ RLMMNMPLTJ[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W",2165:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2166:" 42G\\HQIOKMNMONOPNTJb RMMNNNPMTIb RNTOQQNSMUMWNXOYQYTXWVZS[Q[OZNWNT RWNXPXTWWUZS[ RFbMb",2167:" 33H\\XMRb RYMSb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RObVb",2168:" 26IZJQKOMMPMQNQPPTN[ ROMPNPPOTM[ RPTRPTNVMXMYNYOXPWOXN",2169:" 28J[XOXPYPYOXNUMRMONNONQORVVWW RNPOQVUWVWYVZS[P[MZLYLXMXMY",2170:" 18KYTFPTOXOZP[S[UYVW RUFQTPXPZQ[ RNMWM",2171:" 37F]GQHOJMMMNNNQLWLYN[ RLMMNMQKWKYLZN[P[RZTXVT RXMVTUXUZV[Y[[Y\\W RYMWTVXVZW[",2172:" 26H\\IQJOLMOMPNPQNWNYP[ RNMONOQMWMYNZP[Q[TZVXXUYQYMXMYO",2173:" 41C`DQEOGMJMKNKQIWIYK[ RIMJNJQHWHYIZK[M[OZQXRV RTMRVRYSZU[W[YZ[X\\V]R]M\\M]O RUMSVSYU[",2174:" 42H\\KQMNOMRMSOSR RQMRORRQVPXNZL[K[JZJYKXLYKZ RQVQYR[U[WZYW RYNXOYPZOZNYMXMVNTPSRRVRYS[",2175:" 41G\\HQIOKMNMONOQMWMYO[ RMMNNNQLWLYMZO[Q[SZUXWT RZMV[U^SaPbMbKaJ`J_K^L_K` RYMU[T^RaPb",2176:" 31H\\YMXOVQNWLYK[ RLQMOOMRMVO RMOONRNVOXO RLYNYRZUZWY RNYR[U[WYXW",2177:" 43G^VGUHVIWHWGUFRFOGMILLL[ RRFPGNIMLM[ R\\G[H\\I]H]G\\FZFXGWIW[ RZFYGXIX[ RIM[M RI[P[ RT[[[",2178:" 33G]WGVHWIXHWGUFRFOGMILLL[ RRFPGNIMLM[ RWMW[ RXMX[ RIMXM RI[P[ RT[[[",2179:" 35G]VGUHVIWHWGUF RXFRFOGMILLL[ RRFPGNIMLM[ RWHW[ RXFX[ RIMWM RI[P[ RT[[[",2180:" 54BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R]G\\H]I^H]G[FXFUGSIRLR[ RXFVGTISLS[ R]M][ R^M^[ RDM^M RD[K[ RO[V[ RZ[a[",2181:" 56BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R\\G[H\\I]H]G[F R^FXFUGSIRLR[ RXFVGTISLS[ R]H][ R^F^[ RDM]M RD[K[ RO[V[ RZ[a[",2182:" 12MXRMR[ RSMS[ ROMSM RO[V[",2184:" 25IZWNUMRMONMPLSLVMYNZQ[T[VZ RRMPNNPMSMVNYOZQ[ RMTUT",2185:" 43I\\TFQGOJNLMOLTLXMZO[Q[TZVWWUXRYMYIXGVFTF RTFRGPJOLNOMTMXNZO[ RQ[SZUWVUWRXMXIWGVF RNPWP",2186:" 42G]UFOb RVFNb RQMMNKPJSJVKXMZP[S[WZYXZUZRYPWNTMQM RQMNNLPKSKVLXNZP[ RS[VZXXYUYRXPVNTM",2187:" 27I[TMVNXPXOWNTMQMNNMOLQLSMUOWSZ RQMONNOMQMSNUSZT\\T^S_Q_",2190:" 45G]LMKNJPJRKUOYP[ RJRKTOXP[P]O`MbLbKaJ_J\\KXMTOQRNTMVMYNZPZTYXWZU[T[SZSXTWUXTY RVMXNYPYTXXWZ",2191:" 69E_YGXHYIZHYGWFTFQGOINKMNLRJ[I_Ha RTFRGPIOKNNLWK[J^I`HaFbDbCaC`D_E`Da R_G^H_I`H`G_F]F[GZHYJXMU[T_Sa R]F[HZJYNWWV[U^T`SaQbObNaN`O_P`Oa RIM^M",2192:" 52F^[GZH[I\\H[GXFUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea RYMWTVXVZW[Z[\\Y]W RZMXTWXWZX[ RJMZM",2193:" 54F^YGXHYIZHZGXF R\\FUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea R[FWTVXVZW[Z[\\Y]W R\\FXTWXWZX[ RJMYM",2194:" 86@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R`G_H`IaH`G]FZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R^M\\T[X[Z\\[_[aYbW R_M]T\\X\\Z][ RDM_M",2195:" 88@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R^G]H^I_H_G]F RaFZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R`F\\T[X[Z\\[_[aYbW RaF]T\\X\\Z][ RDM^M",2196:" 20LYMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2200:" 40H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RQFOGNHMJLOLRMWNYOZQ[ RS[UZVYWWXRXOWJVHUGSF",2201:" 11H\\NJPISFS[ RRGR[ RN[W[",2202:" 45H\\LJMKLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RTFVGWHXJXLWNTPPR RKYLXNXSZVZXYYX RNXS[W[XZYXYV",2203:" 47H\\LJMKLLKKKJLHMGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[P[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2204:" 13H\\THT[ RUFU[ RUFJUZU RQ[X[",2205:" 39H\\MFKP RKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMVLW RSMUNWPXSXUWXUZS[ RMFWF RMGRGWF",2206:" 48H\\WIVJWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNRNOOMQLT RRFPGNIMKLOLUMXOZQ[ RS[UZWXXUXTWQUOSN",2207:" 31H\\KFKL RKJLHNFPFUIWIXHYF RLHNGPGUI RYFYIXLTQSSRVR[ RXLSQRSQVQ[",2208:" 63H\\PFMGLILLMNPOTOWNXLXIWGTFPF RPFNGMIMLNNPO RTOVNWLWIVGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RPONPMQLSLWMYNZP[ RT[VZWYXWXSWQVPTO",2209:" 48H\\XMWPURRSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNWMX RQSORMPLMLLMIOGQF RSFUGWIXLXRWVVXTZR[",2210:" 6MWRYQZR[SZRY",2211:" 8MWR[QZRYSZS\\R^Q_",2212:" 12MWRMQNROSNRM RRYQZR[SZRY",2213:" 14MWRMQNROSNRM RR[QZRYSZS\\R^Q_",2214:" 15MWRFQHRTSHRF RRHRN RRYQZR[SZRY",2215:" 32I[MJNKMLLKLJMHNGPFSFVGWHXJXLWNVORQRT RSFUGVHWJWLVNTP RRYQZR[SZRY",2216:" 6NVRFQM RSFQM",2217:" 12JZNFMM ROFMM RVFUM RWFUM",2218:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",2219:" 9JZRFRR RMIWO RWIMO",2220:" 3G][BIb",2221:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",2222:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",2223:" 12KYOBOb RPBPb ROBVB RObVb",2224:" 12KYTBTb RUBUb RNBUB RNbUb",2225:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",2226:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",2227:" 4KYUBNRUb",2228:" 4KYOBVROb",2229:" 3NVRBRb",2230:" 6KYOBOb RUBUb",2231:" 3E_IR[R",2232:" 6E_RIR[ RIR[R",2233:" 9F^RJR[ RJRZR RJ[Z[",2234:" 9F^RJR[ RJJZJ RJRZR",2235:" 6G]KKYY RYKKY",2236:" 6MWRQQRRSSRRQ",2237:" 15E_RIQJRKSJRI RIR[R RRYQZR[SZRY",2238:" 6E_IO[O RIU[U",2239:" 9E_YIK[ RIO[O RIU[U",2240:" 9E_IM[M RIR[R RIW[W",2241:" 4F^ZIJRZ[",2242:" 4F^JIZRJ[",2243:" 10F^ZFJMZT RJVZV RJ[Z[",2244:" 10F^JFZMJT RJVZV RJ[Z[",2245:" 21F_[WYWWVUTRPQOONMNKOJQJSKUMVOVQURTUPWNYM[M",2246:" 24F^IUISJPLONOPPTSVTXTZS[Q RISJQLPNPPQTTVUXUZT[Q[O",2247:" 8G]JTROZT RJTRPZT",2248:" 7LXTFOL RTFUGOL",2249:" 7LXPFUL RPFOGUL",2250:" 18H\\KFLHNJQKSKVJXHYF RKFLINKQLSLVKXIYF",2251:" 8MWRHQGRFSGSIRKQL",2252:" 8MWSFRGQIQKRLSKRJ",2253:" 8MWRHSGRFQGQIRKSL",2254:" 8MWQFRGSISKRLQKRJ",2255:" 10E[HMLMRY RKMR[ R[BR[",2256:" 13F^ZJSJOKMLKNJQJSKVMXOYSZZZ",2257:" 13F^JJJQKULWNYQZSZVYXWYUZQZJ",2258:" 13F^JJQJUKWLYNZQZSYVWXUYQZJZ",2259:" 13F^JZJSKOLMNKQJSJVKXMYOZSZZ",2260:" 16F^ZJSJOKMLKNJQJSKVMXOYSZZZ RJRVR",2261:" 11E_XP[RXT RUMZRUW RIRZR",2262:" 11JZPLRITL RMORJWO RRJR[",2263:" 11E_LPIRLT ROMJROW RJR[R",2264:" 11JZPXR[TX RMURZWU RRIRZ",2265:" 44I\\XRWOVNTMRMONMQLTLWMYNZP[R[UZWXXUYPYKXHWGUFRFPGOHOIPIPH RRMPNNQMTMXNZ RR[TZVXWUXPXKWHUF",2266:" 15H\\JFR[ RKFRY RZFR[ RJFZF RKGYG",2267:" 10AbDMIMRY RHNR[ Rb:R[",2268:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2269:" 50F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia RQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",2270:" 26F_\\S[UYVWVUUTTQPPONNLNJOIQISJULVNVPUQTTPUOWNYN[O\\Q\\S",2271:" 32F^[FI[ RNFPHPJOLMMKMIKIIJGLFNFPGSHVHYG[F RWTUUTWTYV[X[ZZ[X[VYTWT",2272:" 49F_[NZO[P\\O\\N[MZMYNXPVUTXRZP[M[JZIXIUJSPORMSKSIRGPFNGMIMKNNPQUXWZZ[[[\\Z\\Y RM[KZJXJUKSMQ RMKNMVXXZZ[",2273:" 56E`WNVLTKQKOLNMMPMSNUPVSVUUVS RQKOMNPNSOUPV RWKVSVUXVZV\\T]Q]O\\L[JYHWGTFQFNGLHJJILHOHRIUJWLYNZQ[T[WZYYZX RXKWSWUXV",2274:" 42H\\PBP_ RTBT_ RXIWJXKYJYIWGTFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[P[MZKXKWLVMWLX",2275:" 12H]SFLb RYFRb RLQZQ RKWYW",2276:" 46JZUITJUKVJVIUGSFQFOGNINKOMQOVR ROMTPVRWTWVVXTZ RPNNPMRMTNVPXU[ RNVSYU[V]V_UaSbQbOaN_N^O]P^O_",2277:" 30JZRFQHRJSHRF RRFRb RRQQTRbSTRQ RLMNNPMNLLM RLMXM RTMVNXMVLTM",2278:" 56JZRFQHRJSHRF RRFRT RRPQRSVRXQVSRRP RRTRb RR^Q`RbS`R^ RLMNNPMNLLM RLMXM RTMVNXMVLTM RL[N\\P[NZL[ RL[X[ RT[V\\X[VZT[",2279:" 12I\\XFX[ RKFXF RPPXP RK[X[",2281:" 38E`QFNGKIILHOHRIUKXNZQ[T[WZZX\\U]R]O\\LZIWGTFQF RROQPQQRRSRTQTPSORO RRPRQSQSPRP",2282:" 45J[PFNGOIQJ RPFOGOI RUFWGVITJ RUFVGVI RQJOKNLMNMQNSOTQUTUVTWSXQXNWLVKTJQJ RRUR[ RSUS[ RNXWX",2283:" 27I\\RFOGMILLLMMPORRSSSVRXPYMYLXIVGSFRF RRSR[ RSSS[ RNWWW",2284:" 28D`PFMGJIHLGOGSHVJYM[P\\T\\W[ZY\\V]S]O\\LZIWGTFPF RRFR\\ RGQ]Q",2285:" 31G`PMMNKPJSJTKWMYPZQZTYVWWTWSVPTNQMPM R]GWG[HUN R]G]M\\IVO R\\HVN",2286:" 28F\\IIJGLFOFQGRIRLQOPQNSKU ROFPGQIQMPPNS RVFT[ RWFS[ RKUYU",2287:" 30I\\MFMU RNFMQ RMQNOONQMTMWNXPXRWTUV RTMVNWPWRTXTZU[W[YY RKFNF",2288:" 44I\\RNOOMQLTLUMXOZR[S[VZXXYUYTXQVOSNRN RRHNJRFRN RSHWJSFSN RRSQTQURVSVTUTTSSRS RRTRUSUSTRT",2289:" 37G^QHRFR[ RTHSFS[ RJHKFKMLPNRQSRS RMHLFLNMQ R[HZFZMYPWRTSSS RXHYFYNXQ RNWWW",2290:" 31G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[Y[YVX[",2291:" 24H[YGUGQHNJLMKPKSLVNYQ[U\\Y\\ RYGVHSJQMPPPSQVSYV[Y\\",2292:" 27F_OQMQKRJSIUIWJYKZM[O[QZRYSWSURSQROQ RSHPQ RZJRR R\\QST",2293:" 12H\\OKUY RUKOY RKOYU RYOKU",2294:" 48F^NVLUKUIVHXHYI[K\\L\\N[OYOXNVKRJOJMKJMHPGTGWHYJZMZOYRVVUXUYV[X\\Y\\[[\\Y\\X[VYUXUVV RJMKKMIPHTHWIYKZM",2295:" 48F^NMLNKNIMHKHJIHKGLGNHOJOKNMKQJTJVKYM[P\\T\\W[YYZVZTYQVMUKUJVHXGYG[H\\J\\K[MYNXNVM RJVKXMZP[T[WZYXZV",2301:" 40F_JMILIJJHLGNGPHQIRKSP RIJKHMHOIPJQLRPR[ R[M\\L\\J[HYGWGUHTISKRP R\\JZHXHVIUJTLSPS[",2302:" 51F^IGJKKMMOPPTPWOYMZK[G RIGJJKLMNPOTOWNYLZJ[G RPONPMQLSLVMXOZQ[S[UZWXXVXSWQVPTO RPPNQMSMVNY RVYWVWSVQTP",2303:" 30F^MJMV RNKNU RVKVU RWJWV RIGKIMJPKTKWJYI[G RIYKWMVPUTUWVYW[Y",2304:" 48F^[ILIJJILINJPLQNQPPQNQLPJ[J RIMJOKPMQ RQMPKOJMI RIXXXZW[U[SZQXPVPTQSSSUTWIW R[TZRYQWP RSTTVUWWX",2305:" 48F]OUMTLTJUIWIXJZL[M[OZPXPWOUJPINIKJILHOGSGWHYJZLZOYRVUUWUYV[X[YZZX RMSKPJNJKKILH RSGVHXJYLYOXRVU",2306:" 48G_HKKHMKMV RJILLLV RMKPHRKRU ROIQLQU RRKUHWKW[ RTIVLV[ RWKZH[J\\M\\P[SZUXWUYP[ RYIZJ[M[PZSYUWWTYP[",2307:" 41F^ISMSLRKOKMLJNHQGSGVHXJYMYOXRWS[S RITOTMRLOLMMJOHQG RSGUHWJXMXOWRUT[T RKXYX RKYYY",2308:" 30F_GLJIMLMX RIJLMLX RMLPISLSX ROJRMRX RSLVIYLYW[Y RUJXMXXZZ]W",2309:" 33G]ZIJY RZIWJQJ RXKUKQJ RZIYLYR RXKXNYR RQRJR RPSMSJR RQRQY RPSPVQY",2310:" 33F^HOJKOU RJMOWRPWPZO[M[KZIXHWHUITKTMUPVRWUWXUZ RWHVIUKUMWQXTXWWYUZ",2311:" 36F^IOLLPN RKMOORLUN RQMTOWLYN RVMXO[L RIULRPT RKSOURRUT RQSTUWRYT RVSXU[R",2312:" 48F^JHNJPLQOQRPUNWJY RJHMIOJQLRO RRRQUOWMXJY RZHWIUJSLRO RRRSUUWWXZY RZHVJTLSOSRTUVWZY RIP[P RIQ[Q",2317:" 12NVQQQSSSSQQQ RQQSS RSQQS",2318:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2319:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2320:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2321:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2322:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2323:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2324:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2325:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2326:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2327:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2328:" 49JZMLWX RMLONQOTOVNWMWKUKUMTO RONTO RQOWM RVKVN RULWL RWXUVSUPUNVMWMYOYOWPU RUVPU RSUMW RNVNY RMXOX",2329:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLWY",2330:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2331:"103EfNSOUQVSVUUVSVQUOSNQNOONPMSMVNYP[S\\V\\Y[[Y\\W]T]P\\MZJXIUHRHOIMJKLIOHSHXI]KaMcPeTfYf]e`cba RKLJNIRIXJ\\L`NbQdUeYe]d_cba RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU RaLaNcNcLaL RbLbN RaMcM RaVaXcXcVaV RbVbX RaWcW",2332:" 30D`H@Hd RM@Md RW@Wd R\\@\\d RMMWK RMNWL RMOWM RMWWU RMXWV RMYWW",2367:" 12NVQQQSSSSQQQ RQQSS RSQQS",2368:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2369:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2370:" 32H\\PMMNLOKQKSLUMVPWTWWVXUYSYQXOWNTMPM RMNLPLSMUNVPW RWVXTXQWOVNTM",2371:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2372:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2373:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2374:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2375:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2376:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2377:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2378:" 36JZQCVMRTRU RULQS RTITKPRRUUY RW\\UYSXQXOYN[N]O_Ra RW\\UZSYOYO]P_Ra RSXPZN]",2379:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLSY",2380:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2381:" 89IjNQOOQNSNUOVQVSUUSVQVOUNTMQMNNKPISHWH[I^K`NaRaW`[_]]`ZcVfQiMk RWHZI]K_N`R`W_[^]\\`YcTgQi RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU ReLeNgNgLeL RfLfN ReMgM ReVeXgXgVeV RfVfX ReWgW",2382:" 85D`H>Hf RI>If RM>Mf RQBSBSDQDQAR?T>W>Y?[A\\D\\I[LYNWOUOSNRLQNOQNROSQVRXSVUUWUYV[X\\[\\`[cYeWfTfReQcQ`S`SbQb RRBRD RQCSC RY?ZA[D[IZLYN RRLRNPQNRPSRVRX RYVZX[[[`ZcYe RR`Rb RQaSa",2401:" 21AcHBHb RIBIb R[B[b R\\B\\b RDB`B RDbMb RWb`b",2402:" 23BaGBQPFb RFBPP REBPQ REB\\B^I[B RGa\\a RFb\\b^[[b",2403:" 28I[X+U1R8P=OANFMNMVN^OcPgRlUsXy RU1S6Q":2242,"~":2246,"@":2273,"\\":804}[e]}var bi={SUB_SUP_SCALE:.75,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function w0e(e){e=e.replace(/\n/g," ");let t=0,n=[],r="";for(;t0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;u=e[f].bbox.y,e[l].text=="'"?e[l].bbox.y=u:(To(e[l],bi.SUB_SUP_SCALE,null,0,0),hn[e[f].text]&&hn[e[f].text].flags.big?e[l].bbox.y=u-e[l].bbox.h:e[f].text=="\\int"?e[l].bbox.y=u:e[l].bbox.y=u-e[l].bbox.h/2)}else if(e[l].text=="_"){let u=1,f=l;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;u=e[f].bbox.y+e[f].bbox.h,To(e[l],bi.SUB_SUP_SCALE,null,0,0),hn[e[f].text]&&hn[e[f].text].flags.big?e[l].bbox.y=u:e[f].text=="\\int"?e[l].bbox.y=u-e[l].bbox.h:e[l].bbox.y=u-e[l].bbox.h/2}function n(l,u,f,d,h){let p=l,m=h,A=1/0,x=-1/0;for(;d>0?p=0;){if(e[p].text==u)m++;else if(e[p].text==f){if(m--,m==0)break}else e[p].text=="^"||e[p].text=="_"||e[p].bbox&&(A=Math.min(A,e[p].bbox.y),x=Math.max(x,e[p].bbox.y+e[p].bbox.h));p+=d}return[A,x]}for(let l=0;ll.text=="&"||l.text=="\\\\"))return;let r=[],o=[],i=[];for(let l=0;l0&&(e.chld[y].text=="^"||e.chld[y].text=="_"||e.chld[y].text=="'");)y--;let R=hn[e.chld[y].text]&&hn[e.chld[y].text].flags.big;if(A.text=="'"){let g=y+1,b=0;for(;g1;T0e(e.chld,f);let p=$F(e.chld);e.text=="\\text"&&(p.x-=1,p.w+=2);for(let m=0;mr.bbox.w)u=u/Math.max(a.w,1)*r.bbox.w,u+=r.bbox.x;else{u=u/16*o;let d=(r.bbox.w-a.w/16*o)/2;u+=r.bbox.x+d}if(hn[r.text].flags.yfl)f=(f-a.ymin)/Math.max(a.ymax-a.ymin,1)*r.bbox.h,f+=r.bbox.y;else{if(f=f/16*o,i){let d=(a.ymax+a.ymin)/2;f-=d/16*o}f+=r.bbox.y+r.bbox.h/2}c.push([u,f])}t.push(c)}}else if(hn[r.text]&&hn[r.text].flags.txt||r.type=="char"){let a=r.bbox.x,s=!!(hn[r.text]&&hn[r.text].flags.txt);for(let c=Number(s);c16?h*=16/l.w:h+=(16-l.w)/2/16),h+=a,p+=r.bbox.y+r.bbox.h/2,f.push([h,p])}t.push(f)}r.mode=="tt"?a+=o:a+=l.w/16*o}}}return t}function Za(e){return Math.round(e*100)/100}var O5=class{constructor(e){this._latex=e,this._tokens=w0e(e),this._tree=ub(this._tokens),zF(this._tree.chld),Da(this._tree),k0e(this._tree),this._polylines=N0e(this._tree)}resolveScale(e){var t,n,r,o;if(e==null)return[16,16,16,16];let i=(t=e.SCALE_X)!=null?t:16,a=(n=e.SCALE_Y)!=null?n:16;if(e.MIN_CHAR_H!=null){let l=0;for(let f=0;f`;e.BG_COLOR&&(l+=``),l+='`;e.BG_COLOR&&(l+=``),l+='> stream 1 j 1 J ${(t=e.STROKE_W)!=null?t:1} w -`;for(var f=0;f>startxref %%EOF -`,c+l}boxes(e){e||(e={});let[t,n,r,o]=this.resolveScale(e),i=[];for(let a=0;a"},{latex:"="},{latex:"\\neq\\ne"},{latex:"\\leqq"},{latex:"\\geqq"},{latex:"\\leq"},{latex:"\\geq"},{latex:"\\propto"},{latex:"\\sim"},{latex:"\\equiv"},{latex:"\\dagger"},{latex:"\\ddagger"},{latex:"\\ell"},{latex:"\\#"},{latex:"\\$"},{latex:"\\&"},{latex:"\\%"},{latex:"\\langle\\rangle"},{latex:"()"},{latex:"[]"},{latex:"\\{\\}"},{latex:"||"},{latex:"\\|"},{latex:"\\exists"},{latex:"\\in"},{latex:"\\subset"},{latex:"\\supset"},{latex:"\\cup"},{latex:"\\cap"},{latex:"\\infty"},{latex:"\\partial"},{latex:"\\nabla"},{latex:"\\aleph"},{latex:"\\wp"},{latex:"\\therefore"},{latex:"\\mid"},{latex:"\\sum"},{latex:"\\prod"},{latex:"\\bigoplus"},{latex:"\\bigodot"},{latex:"\\int"},{latex:"\\oint"},{latex:"\\oplus"},{latex:"\\odot"},{latex:"\\perp"},{latex:"\\angle"},{latex:"\\triangle"},{latex:"\\Box"},{latex:"\\rightarrow"},{latex:"\\to"},{latex:"\\leftarrow"},{latex:"\\gets"},{latex:"\\circ"},{latex:"\\bigcirc"},{latex:"\\bullet"},{latex:"\\star"},{latex:"\\diamond"},{latex:"\\ast"},{latex:","},{latex:"."},{latex:";"},{latex:"!"}]},{type:"group",label:"组合",children:[{latex:"\\frac{a}{b}"},{latex:"\\frac{dx}{dx}"},{latex:"\\frac{\\partial a}{\\partial b}"},{latex:"\\sqrt{x}"},{latex:"\\sqrt[n]{x}"},{latex:"x^{n}"},{latex:"x_{n}"},{latex:"x_a^b"},{latex:"\\int_{a}^{b}"},{latex:"\\oint_a^b"},{latex:"\\lim_{a \\rightarrow b}"},{latex:"\\prod_a^b"},{latex:"\\sum_a^b"},{latex:"\\left(\\begin{array}a \\\\ b\\end{array}\\right)"},{latex:"\\begin{bmatrix}a & b \\\\ c & d \\end{bmatrix}"},{latex:"\\begin{cases}a & x = 0 \\\\ b & x > 0\\end{cases}"},{latex:"\\hat{a}"},{latex:"\\breve{a}"},{latex:"\\acute{a}"},{latex:"\\grave{a}"},{latex:"\\tilde{a}"},{latex:"\\bar{a}"},{latex:"\\vec{a}"},{latex:"\\underline{a}"},{latex:"\\overline{a}"},{latex:"\\widehat{ab}"},{latex:"\\overleftarrow{ab}"},{latex:"\\overrightarrow{ab}"}]},{type:"verbatim",label:"函数",children:[{latex:"\\log"},{latex:"\\ln"},{latex:"\\exp"},{latex:"\\mod"},{latex:"\\lim"},{latex:"\\sin"},{latex:"\\cos"},{latex:"\\tan"},{latex:"\\csc"},{latex:"\\sec"},{latex:"\\cot"},{latex:"\\sinh"},{latex:"\\cosh"},{latex:"\\tanh"},{latex:"\\csch"},{latex:"\\sech"},{latex:"\\coth"},{latex:"\\arcsin"},{latex:"\\arccos"},{latex:"\\arctan"},{latex:"\\arccsc"},{latex:"\\arcsec"},{latex:"\\arccot"}]},{type:"greek",label:"希腊字母",children:[{latex:"\\alpha"},{latex:"\\beta"},{latex:"\\gamma"},{latex:"\\delta"},{latex:"\\varepsilon"},{latex:"\\zeta"},{latex:"\\eta"},{latex:"\\vartheta"},{latex:"\\iota"},{latex:"\\kappa"},{latex:"\\lambda"},{latex:"\\mu"},{latex:"\\nu"},{latex:"\\xi"},{latex:"\\omicron"},{latex:"\\pi"},{latex:"\\rho"},{latex:"\\sigma"},{latex:"\\tau"},{latex:"\\upsilon"},{latex:"\\varphi"},{latex:"\\chi"},{latex:"\\psi"},{latex:"\\omega"},{latex:"\\epsilon"},{latex:"\\theta"},{latex:"\\phi"},{latex:"\\varsigma"},{latex:"\\Alpha"},{latex:"\\Beta"},{latex:"\\Gamma"},{latex:"\\Delta"},{latex:"\\Epsilon"},{latex:"\\Zeta"},{latex:"\\Eta"},{latex:"\\Theta"},{latex:"\\Iota"},{latex:"\\Kappa"},{latex:"\\Lambda"},{latex:"\\Mu"},{latex:"\\Nu"},{latex:"\\Xi"},{latex:"\\Omicron"},{latex:"\\Pi"},{latex:"\\Rho"},{latex:"\\Sigma"},{latex:"\\Tau"},{latex:"\\Upsilon"},{latex:"\\Phi"},{latex:"\\Chi"},{latex:"\\Psi"},{latex:"\\Omega"}]}],N0e=["width","height"],P0e=["transform"],C0e=["d"],I0e=Ie({__name:"FormulaContent",props:{latex:{},width:{},height:{}},setup(e){const t=e,n=he({x:0,y:0,w:0,h:0}),r=he("");Tt(()=>t.latex,()=>{const i=new w5(t.latex);r.value=i.pathd({}),n.value=i.box({})},{immediate:!0});const o=Me(()=>{const i=n.value.w+32,a=n.value.h+32;return i>t.width||a>t.height?i/a>t.width/t.height?t.width/i:t.height/a:1});return(i,a)=>(Y(),ee("svg",{class:"formula-content",overflow:"visible",width:n.value.w+32,height:n.value.h+32,stroke:"#000","stroke-width":"1",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${o.value}, ${o.value}) translate(0,0) matrix(1,0,0,1,0,0)`,"transform-origin":"0 50%"},[V("path",{d:r.value},null,8,C0e)],8,P0e)],8,N0e))}}),PT=Xe(I0e,[["__scopeId","data-v-fa1b116d"]]),F0e=["innerHTML"],_0e=Ie({__name:"SymbolContent",props:{latex:{}},setup(e){const t=e,n=Me(()=>new w5(t.latex).svg({SCALE_X:10,SCALE_Y:10}));return(r,o)=>(Y(),ee("div",{class:"symbol-content",innerHTML:n.value},null,8,F0e))}}),E0e=["disabled","value","rows","placeholder"],X0e=Ie({__name:"TextArea",props:{value:{},rows:{default:4},padding:{},disabled:{type:Boolean,default:!1},resizable:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value","focus","blur"],setup(e,{expose:t,emit:n}){const r=n,o=s=>{r("update:value",s.target.value)},i=he();return t({focus:()=>{i.value&&i.value.focus()}}),(s,c)=>(Y(),ee("textarea",{class:Je(["textarea",{disabled:s.disabled,resizable:s.resizable}]),ref_key:"textareaRef",ref:i,disabled:s.disabled,value:s.value,rows:s.rows,placeholder:s.placeholder,style:we({padding:s.padding?`${s.padding}px`:"10px"}),onInput:c[0]||(c[0]=l=>o(l)),onFocus:c[1]||(c[1]=l=>r("focus",l)),onBlur:c[2]||(c[2]=l=>r("blur",l))},null,46,E0e))}}),cx=Xe(X0e,[["__scopeId","data-v-2b83189c"]]),W0e={class:"latex-editor"},V0e={class:"container"},U0e={class:"left"},Y0e={class:"input-area"},Q0e={class:"preview"},Z0e={key:0,class:"placeholder"},B0e={key:1,class:"preview-content"},D0e={class:"right"},K0e={class:"content"},H0e={key:0,class:"symbol"},G0e={class:"symbol-pool"},J0e=["onClick"],z0e={key:1,class:"formula"},$0e={class:"formula-title"},j0e=["onClick"],q0e={class:"footer"},ehe=Ie({__name:"index",props:{value:{default:""}},emits:["update","close"],setup(e,{emit:t}){const n=[{label:"常用符号",key:"symbol"},{label:"预置公式",key:"formula"}],r=e,o=t,i=k0e,a=zy.map(p=>({label:p.label,key:p.type})),s=he(""),c=he("symbol"),l=he(),u=he(zy[0].type),f=Me(()=>{const p=zy.find(m=>m.type===u.value);return(p==null?void 0:p.children)||[]});Gt(()=>{r.value&&(s.value=r.value)});const d=()=>{if(!s.value)return bn.error("公式不能为空");const p=new w5(s.value),m=p.pathd({}),A=p.box({});o("update",{latex:s.value,path:m,w:A.w+32,h:A.h+32})},h=p=>{l.value&&(l.value.focus(),document.execCommand("insertText",!1,p))};return(p,m)=>(Y(),ee("div",W0e,[V("div",V0e,[V("div",U0e,[V("div",Y0e,[L(cx,{value:s.value,"onUpdate:value":m[0]||(m[0]=A=>s.value=A),placeholder:"输入 LaTeX 公式",ref_key:"textAreaRef",ref:l},null,8,["value"])]),V("div",Q0e,[s.value?(Y(),ee("div",B0e,[L(PT,{width:518,height:138,latex:s.value},null,8,["latex"])])):(Y(),ee("div",Z0e,"公式预览"))])]),V("div",D0e,[L(gs,{tabs:n,value:c.value,"onUpdate:value":m[1]||(m[1]=A=>c.value=A),card:""},null,8,["value"]),V("div",K0e,[c.value==="symbol"?(Y(),ee("div",H0e,[L(gs,{tabs:G(a),value:u.value,"onUpdate:value":m[2]||(m[2]=A=>u.value=A),spaceBetween:"",tabsStyle:{margin:"10px 10px 0"}},null,8,["tabs","value"]),V("div",G0e,[(Y(!0),ee(We,null,ot(f.value,A=>(Y(),ee("div",{class:"symbol-item",key:A.latex,onClick:x=>h(A.latex)},[L(_0e,{latex:A.latex},null,8,["latex"])],8,J0e))),128))])])):(Y(),ee("div",z0e,[(Y(!0),ee(We,null,ot(G(i),A=>(Y(),ee("div",{class:"formula-item",key:A.label},[V("div",$0e,gt(A.label),1),V("div",{class:"formula-item-content",onClick:x=>s.value=A.latex},[L(PT,{width:236,height:60,latex:A.latex},null,8,["latex"])],8,j0e)]))),128))]))])])]),V("div",q0e,[L(et,{class:"btn",onClick:m[3]||(m[3]=A=>o("close"))},{default:ie(()=>[Ve("取消")]),_:1}),L(et,{class:"btn",type:"primary",onClick:m[4]||(m[4]=A=>d())},{default:ie(()=>[Ve("确定")]),_:1})])]))}}),$F=Xe(ehe,[["__scopeId","data-v-44075c46"]]),the={class:"canvas-tool"},nhe={class:"left-handler"},rhe={class:"more"},ohe={class:"add-element-handler"},ihe={class:"handler-item group-btn"},ahe={class:"right-handler"},she={class:"text"},lhe=Ie({__name:"index",setup(e){const t=ft(),{creatingElement:n,creatingCustomShape:r,showSelectPanel:o,showSearchPanel:i,showNotesPanel:a}=Ee(t),{canUndo:s,canRedo:c}=Ee(Zg()),{redo:l,undo:u}=Jt(),{scaleCanvas:f,setCanvasScalePercentage:d,resetCanvas:h,canvasScalePercentage:p}=_b(),m=[200,150,125,100,75,50],A=he(!1),x=Q=>{d(Q),A.value=!1},{createImageElement:y,createChartElement:R,createTableElement:g,createLatexElement:b,createVideoElement:w,createAudioElement:T}=Ju(),M=Q=>{const B=Q[0];B&&Hu(B).then(H=>y(H))},O=he(!1),k=he(!1),F=he(!1),N=he(!1),E=he(!1),C=he(!1),_=he(!1),I=(Q=!1)=>{t.setCreatingElement({type:"text",vertical:Q})},W=Q=>{Q.title==="任意多边形"?t.setCreatingCustomShapeState(!0):t.setCreatingElement({type:"shape",data:Q}),O.value=!1},Z=Q=>{t.setCreatingElement({type:"line",data:Q}),k.value=!1},J=()=>{t.setSelectPanelState(!o.value)},le=()=>{t.setSearchPanelState(!i.value)},D=()=>{t.setNotesPanelState(!a.value)};return(Q,B)=>{var _e;const H=be("IconBack"),U=be("IconNext"),te=be("IconComment"),z=be("IconMoveOne"),oe=be("IconSearch"),pe=be("IconFontSize"),Ae=be("IconTextRotationNone"),me=be("IconTextRotationDown"),$=be("IconDown"),ue=be("IconPicture"),X=be("IconGraphicDesign"),ne=be("IconConnection"),se=be("IconChartProportion"),j=be("IconInsertTable"),q=be("IconFormula"),ae=be("IconVideoTwo"),ge=be("IconMinus"),ce=be("IconPlus"),ve=be("IconFullScreen"),ye=Sn("tooltip");return Y(),ee("div",the,[V("div",nhe,[Ke(L(H,{class:Je(["handler-item",{disable:!G(s)}]),onClick:B[0]||(B[0]=Se=>G(u)())},null,8,["class"]),[[ye,"撤销"]]),Ke(L(U,{class:Je(["handler-item",{disable:!G(c)}]),onClick:B[1]||(B[1]=Se=>G(l)())},null,8,["class"]),[[ye,"重做"]]),V("div",rhe,[L(Ut,{type:"vertical",style:{height:"20px"}}),Ke(L(te,{class:Je(["handler-item",{active:G(a)}]),onClick:B[2]||(B[2]=Se=>D())},null,8,["class"]),[[ye,"批注"]]),Ke(L(z,{class:Je(["handler-item",{active:G(o)}]),onClick:B[3]||(B[3]=Se=>J())},null,8,["class"]),[[ye,"选择窗格"]]),Ke(L(oe,{class:Je(["handler-item",{active:G(i)}]),onClick:B[4]||(B[4]=Se=>le())},null,8,["class"]),[[ye,"查找/替换"]])])]),V("div",ohe,[Ke((Y(),ee("div",ihe,[L(pe,{class:Je(["icon",{active:((_e=G(n))==null?void 0:_e.type)==="text"}]),onClick:B[5]||(B[5]=Se=>I())},null,8,["class"]),L(Pt,{trigger:"click",value:_.value,"onUpdate:value":B[8]||(B[8]=Se=>_.value=Se),style:{height:"100%"}},{content:ie(()=>[L(Oo,{center:"",onClick:B[6]||(B[6]=()=>{I(),_.value=!1})},{default:ie(()=>[L(Ae),Ve(" 横向文本框")]),_:1}),L(Oo,{center:"",onClick:B[7]||(B[7]=()=>{I(!0),_.value=!1})},{default:ie(()=>[L(me),Ve(" 竖向文本框")]),_:1})]),default:ie(()=>[L($,{class:"arrow"})]),_:1},8,["value"])])),[[ye,"插入文字"]]),L(Fu,{onChange:B[9]||(B[9]=Se=>M(Se))},{default:ie(()=>[Ke(L(ue,{class:"handler-item"},null,512),[[ye,"插入图片"]])]),_:1}),L(Pt,{trigger:"click",value:O.value,"onUpdate:value":B[11]||(B[11]=Se=>O.value=Se)},{content:ie(()=>[L(Fde,{onSelect:B[10]||(B[10]=Se=>W(Se))})]),default:ie(()=>{var Se;return[Ke(L(X,{class:Je(["handler-item",{active:G(r)||((Se=G(n))==null?void 0:Se.type)==="shape"}])},null,8,["class"]),[[ye,"插入形状"]])]}),_:1},8,["value"]),L(Pt,{trigger:"click",value:k.value,"onUpdate:value":B[13]||(B[13]=Se=>k.value=Se)},{content:ie(()=>[L(Zde,{onSelect:B[12]||(B[12]=Se=>Z(Se))})]),default:ie(()=>{var Se;return[Ke(L(ne,{class:Je(["handler-item",{active:((Se=G(n))==null?void 0:Se.type)==="line"}])},null,8,["class"]),[[ye,"插入线条"]])]}),_:1},8,["value"]),L(Pt,{trigger:"click",value:F.value,"onUpdate:value":B[15]||(B[15]=Se=>F.value=Se)},{content:ie(()=>[L(Hde,{onSelect:B[14]||(B[14]=Se=>{G(R)(Se),F.value=!1})})]),default:ie(()=>[Ke(L(se,{class:"handler-item"},null,512),[[ye,"插入图表"]])]),_:1},8,["value"]),L(Pt,{trigger:"click",value:N.value,"onUpdate:value":B[18]||(B[18]=Se=>N.value=Se)},{content:ie(()=>[L(m0e,{onClose:B[16]||(B[16]=Se=>N.value=!1),onInsert:B[17]||(B[17]=({row:Se,col:xe})=>{G(g)(Se,xe),N.value=!1})})]),default:ie(()=>[Ke(L(j,{class:"handler-item"},null,512),[[ye,"插入表格"]])]),_:1},8,["value"]),Ke(L(q,{class:"handler-item",onClick:B[19]||(B[19]=Se=>C.value=!0)},null,512),[[ye,"插入公式"]]),L(Pt,{trigger:"click",value:E.value,"onUpdate:value":B[23]||(B[23]=Se=>E.value=Se)},{content:ie(()=>[L(y0e,{onClose:B[20]||(B[20]=Se=>E.value=!1),onInsertVideo:B[21]||(B[21]=Se=>{G(w)(Se),E.value=!1}),onInsertAudio:B[22]||(B[22]=Se=>{G(T)(Se),E.value=!1})})]),default:ie(()=>[Ke(L(ae,{class:"handler-item"},null,512),[[ye,"插入音视频"]])]),_:1},8,["value"])]),V("div",ahe,[L(ge,{class:"handler-item viewport-size",onClick:B[24]||(B[24]=Se=>G(f)("-"))}),L(Pt,{trigger:"click",value:A.value,"onUpdate:value":B[26]||(B[26]=Se=>A.value=Se)},{content:ie(()=>[(Y(),ee(We,null,ot(m,Se=>L(Oo,{center:"",key:Se,onClick:xe=>x(Se)},{default:ie(()=>[Ve(gt(Se)+"%",1)]),_:2},1032,["onClick"])),64)),L(Oo,{center:"",onClick:B[25]||(B[25]=Se=>G(h)())},{default:ie(()=>[Ve("适应屏幕")]),_:1})]),default:ie(()=>[V("span",she,gt(G(p)),1)]),_:1},8,["value"]),L(ce,{class:"handler-item viewport-size",onClick:B[27]||(B[27]=Se=>G(f)("+"))}),Ke(L(ve,{class:"handler-item viewport-size-adaptation",onClick:B[28]||(B[28]=Se=>G(h)())},null,512),[[ye,"适应屏幕"]])]),L(Yp,{visible:C.value,"onUpdate:visible":B[31]||(B[31]=Se=>C.value=Se),width:880},{default:ie(()=>[L($F,{onClose:B[29]||(B[29]=Se=>C.value=!1),onUpdate:B[30]||(B[30]=Se=>{G(b)(Se),C.value=!1})})]),_:1},8,["visible"])])}}}),che=Xe(lhe,[["__scopeId","data-v-f177f23a"]]),Qp=()=>{const{slides:e}=Ee(lt()),t=he(null),n=he(50),r=()=>{e.value.length>n.value?t.value=setTimeout(()=>{n.value=n.value+20,r()},600):n.value=9999};return Gt(r),wn(()=>{t.value&&clearTimeout(t.value)}),{slidesLoadLimit:n}},uhe={class:"layout-pool"},fhe=["onClick"],dhe=Ie({__name:"LayoutPool",emits:["select"],setup(e,{emit:t}){const n=t,{layouts:r}=Ee(lt()),o=i=>{n("select",i)};return(i,a)=>(Y(),ee("div",uhe,[(Y(!0),ee(We,null,ot(G(r),s=>(Y(),ee("div",{class:"layout-item",key:s.id,onClick:c=>o(s)},[L(Fa,{class:"thumbnail",slide:s,size:180},null,8,["slide"])],8,fhe))),128))]))}}),hhe=Xe(dhe,[["__scopeId","data-v-0166cc70"]]);var jF={exports:{}};const phe=fb(_K);/**! +`,c+l}boxes(e){e||(e={});let[t,n,r,o]=this.resolveScale(e),i=[];for(let a=0;a"},{latex:"="},{latex:"\\neq\\ne"},{latex:"\\leqq"},{latex:"\\geqq"},{latex:"\\leq"},{latex:"\\geq"},{latex:"\\propto"},{latex:"\\sim"},{latex:"\\equiv"},{latex:"\\dagger"},{latex:"\\ddagger"},{latex:"\\ell"},{latex:"\\#"},{latex:"\\$"},{latex:"\\&"},{latex:"\\%"},{latex:"\\langle\\rangle"},{latex:"()"},{latex:"[]"},{latex:"\\{\\}"},{latex:"||"},{latex:"\\|"},{latex:"\\exists"},{latex:"\\in"},{latex:"\\subset"},{latex:"\\supset"},{latex:"\\cup"},{latex:"\\cap"},{latex:"\\infty"},{latex:"\\partial"},{latex:"\\nabla"},{latex:"\\aleph"},{latex:"\\wp"},{latex:"\\therefore"},{latex:"\\mid"},{latex:"\\sum"},{latex:"\\prod"},{latex:"\\bigoplus"},{latex:"\\bigodot"},{latex:"\\int"},{latex:"\\oint"},{latex:"\\oplus"},{latex:"\\odot"},{latex:"\\perp"},{latex:"\\angle"},{latex:"\\triangle"},{latex:"\\Box"},{latex:"\\rightarrow"},{latex:"\\to"},{latex:"\\leftarrow"},{latex:"\\gets"},{latex:"\\circ"},{latex:"\\bigcirc"},{latex:"\\bullet"},{latex:"\\star"},{latex:"\\diamond"},{latex:"\\ast"},{latex:","},{latex:"."},{latex:";"},{latex:"!"}]},{type:"group",label:"组合",children:[{latex:"\\frac{a}{b}"},{latex:"\\frac{dx}{dx}"},{latex:"\\frac{\\partial a}{\\partial b}"},{latex:"\\sqrt{x}"},{latex:"\\sqrt[n]{x}"},{latex:"x^{n}"},{latex:"x_{n}"},{latex:"x_a^b"},{latex:"\\int_{a}^{b}"},{latex:"\\oint_a^b"},{latex:"\\lim_{a \\rightarrow b}"},{latex:"\\prod_a^b"},{latex:"\\sum_a^b"},{latex:"\\left(\\begin{array}a \\\\ b\\end{array}\\right)"},{latex:"\\begin{bmatrix}a & b \\\\ c & d \\end{bmatrix}"},{latex:"\\begin{cases}a & x = 0 \\\\ b & x > 0\\end{cases}"},{latex:"\\hat{a}"},{latex:"\\breve{a}"},{latex:"\\acute{a}"},{latex:"\\grave{a}"},{latex:"\\tilde{a}"},{latex:"\\bar{a}"},{latex:"\\vec{a}"},{latex:"\\underline{a}"},{latex:"\\overline{a}"},{latex:"\\widehat{ab}"},{latex:"\\overleftarrow{ab}"},{latex:"\\overrightarrow{ab}"}]},{type:"verbatim",label:"函数",children:[{latex:"\\log"},{latex:"\\ln"},{latex:"\\exp"},{latex:"\\mod"},{latex:"\\lim"},{latex:"\\sin"},{latex:"\\cos"},{latex:"\\tan"},{latex:"\\csc"},{latex:"\\sec"},{latex:"\\cot"},{latex:"\\sinh"},{latex:"\\cosh"},{latex:"\\tanh"},{latex:"\\csch"},{latex:"\\sech"},{latex:"\\coth"},{latex:"\\arcsin"},{latex:"\\arccos"},{latex:"\\arctan"},{latex:"\\arccsc"},{latex:"\\arcsec"},{latex:"\\arccot"}]},{type:"greek",label:"希腊字母",children:[{latex:"\\alpha"},{latex:"\\beta"},{latex:"\\gamma"},{latex:"\\delta"},{latex:"\\varepsilon"},{latex:"\\zeta"},{latex:"\\eta"},{latex:"\\vartheta"},{latex:"\\iota"},{latex:"\\kappa"},{latex:"\\lambda"},{latex:"\\mu"},{latex:"\\nu"},{latex:"\\xi"},{latex:"\\omicron"},{latex:"\\pi"},{latex:"\\rho"},{latex:"\\sigma"},{latex:"\\tau"},{latex:"\\upsilon"},{latex:"\\varphi"},{latex:"\\chi"},{latex:"\\psi"},{latex:"\\omega"},{latex:"\\epsilon"},{latex:"\\theta"},{latex:"\\phi"},{latex:"\\varsigma"},{latex:"\\Alpha"},{latex:"\\Beta"},{latex:"\\Gamma"},{latex:"\\Delta"},{latex:"\\Epsilon"},{latex:"\\Zeta"},{latex:"\\Eta"},{latex:"\\Theta"},{latex:"\\Iota"},{latex:"\\Kappa"},{latex:"\\Lambda"},{latex:"\\Mu"},{latex:"\\Nu"},{latex:"\\Xi"},{latex:"\\Omicron"},{latex:"\\Pi"},{latex:"\\Rho"},{latex:"\\Sigma"},{latex:"\\Tau"},{latex:"\\Upsilon"},{latex:"\\Phi"},{latex:"\\Chi"},{latex:"\\Psi"},{latex:"\\Omega"}]}],C0e=["width","height"],I0e=["transform"],F0e=["d"],_0e=Ie({__name:"FormulaContent",props:{latex:{},width:{},height:{}},setup(e){const t=e,n=he({x:0,y:0,w:0,h:0}),r=he("");Tt(()=>t.latex,()=>{const i=new O5(t.latex);r.value=i.pathd({}),n.value=i.box({})},{immediate:!0});const o=Me(()=>{const i=n.value.w+32,a=n.value.h+32;return i>t.width||a>t.height?i/a>t.width/t.height?t.width/i:t.height/a:1});return(i,a)=>(Y(),q("svg",{class:"formula-content",overflow:"visible",width:n.value.w+32,height:n.value.h+32,stroke:"#000","stroke-width":"1",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[W("g",{transform:`scale(${o.value}, ${o.value}) translate(0,0) matrix(1,0,0,1,0,0)`,"transform-origin":"0 50%"},[W("path",{d:r.value},null,8,F0e)],8,I0e)],8,C0e))}}),CT=Ve(_0e,[["__scopeId","data-v-fa1b116d"]]),E0e=["innerHTML"],X0e=Ie({__name:"SymbolContent",props:{latex:{}},setup(e){const t=e,n=Me(()=>new O5(t.latex).svg({SCALE_X:10,SCALE_Y:10}));return(r,o)=>(Y(),q("div",{class:"symbol-content",innerHTML:n.value},null,8,E0e))}}),W0e=["disabled","value","rows","placeholder"],V0e=Ie({__name:"TextArea",props:{value:{},rows:{default:4},padding:{},disabled:{type:Boolean,default:!1},resizable:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value","focus","blur"],setup(e,{expose:t,emit:n}){const r=n,o=s=>{r("update:value",s.target.value)},i=he();return t({focus:()=>{i.value&&i.value.focus()}}),(s,c)=>(Y(),q("textarea",{class:Ge(["textarea",{disabled:s.disabled,resizable:s.resizable}]),ref_key:"textareaRef",ref:i,disabled:s.disabled,value:s.value,rows:s.rows,placeholder:s.placeholder,style:we({padding:s.padding?`${s.padding}px`:"10px"}),onInput:c[0]||(c[0]=l=>o(l)),onFocus:c[1]||(c[1]=l=>r("focus",l)),onBlur:c[2]||(c[2]=l=>r("blur",l))},null,46,W0e))}}),fb=Ve(V0e,[["__scopeId","data-v-2b83189c"]]),U0e={class:"latex-editor"},Y0e={class:"container"},Q0e={class:"left"},Z0e={class:"input-area"},B0e={class:"preview"},D0e={key:0,class:"placeholder"},K0e={key:1,class:"preview-content"},H0e={class:"right"},G0e={class:"content"},J0e={key:0,class:"symbol"},z0e={class:"symbol-pool"},$0e=["onClick"],j0e={key:1,class:"formula"},q0e={class:"formula-title"},ehe=["onClick"],the={class:"footer"},nhe=Ie({__name:"index",props:{value:{default:""}},emits:["update","close"],setup(e,{emit:t}){const n=[{label:"常用符号",key:"symbol"},{label:"预置公式",key:"formula"}],r=e,o=t,i=P0e,a=$y.map(p=>({label:p.label,key:p.type})),s=he(""),c=he("symbol"),l=he(),u=he($y[0].type),f=Me(()=>{const p=$y.find(m=>m.type===u.value);return(p==null?void 0:p.children)||[]});Ht(()=>{r.value&&(s.value=r.value)});const d=()=>{if(!s.value)return xn.error("公式不能为空");const p=new O5(s.value),m=p.pathd({}),A=p.box({});o("update",{latex:s.value,path:m,w:A.w+32,h:A.h+32})},h=p=>{l.value&&(l.value.focus(),document.execCommand("insertText",!1,p))};return(p,m)=>(Y(),q("div",U0e,[W("div",Y0e,[W("div",Q0e,[W("div",Z0e,[O(fb,{value:s.value,"onUpdate:value":m[0]||(m[0]=A=>s.value=A),placeholder:"输入 LaTeX 公式",ref_key:"textAreaRef",ref:l},null,8,["value"])]),W("div",B0e,[s.value?(Y(),q("div",K0e,[O(CT,{width:518,height:138,latex:s.value},null,8,["latex"])])):(Y(),q("div",D0e,"公式预览"))])]),W("div",H0e,[O(_a,{tabs:n,value:c.value,"onUpdate:value":m[1]||(m[1]=A=>c.value=A),card:""},null,8,["value"]),W("div",G0e,[c.value==="symbol"?(Y(),q("div",J0e,[O(_a,{tabs:G(a),value:u.value,"onUpdate:value":m[2]||(m[2]=A=>u.value=A),spaceBetween:"",tabsStyle:{margin:"10px 10px 0"}},null,8,["tabs","value"]),W("div",z0e,[(Y(!0),q(Xe,null,ot(f.value,A=>(Y(),q("div",{class:"symbol-item",key:A.latex,onClick:x=>h(A.latex)},[O(X0e,{latex:A.latex},null,8,["latex"])],8,$0e))),128))])])):(Y(),q("div",j0e,[(Y(!0),q(Xe,null,ot(G(i),A=>(Y(),q("div",{class:"formula-item",key:A.label},[W("div",q0e,gt(A.label),1),W("div",{class:"formula-item-content",onClick:x=>s.value=A.latex},[O(CT,{width:236,height:60,latex:A.latex},null,8,["latex"])],8,ehe)]))),128))]))])])]),W("div",the,[O($e,{class:"btn",onClick:m[3]||(m[3]=A=>o("close"))},{default:ie(()=>[We("取消")]),_:1}),O($e,{class:"btn",type:"primary",onClick:m[4]||(m[4]=A=>d())},{default:ie(()=>[We("确定")]),_:1})])]))}}),jF=Ve(nhe,[["__scopeId","data-v-44075c46"]]),rhe={class:"canvas-tool"},ohe={class:"left-handler"},ihe={class:"more"},ahe={class:"add-element-handler"},she={class:"handler-item group-btn"},lhe={class:"right-handler"},che={class:"text"},uhe=Ie({__name:"index",setup(e){const t=ft(),{creatingElement:n,creatingCustomShape:r,showSelectPanel:o,showSearchPanel:i,showNotesPanel:a}=Ee(t),{canUndo:s,canRedo:c}=Ee(Zg()),{redo:l,undo:u}=Jt(),{scaleCanvas:f,setCanvasScalePercentage:d,resetCanvas:h,canvasScalePercentage:p}=Xx(),m=[200,150,125,100,75,50],A=he(!1),x=Q=>{d(Q),A.value=!1},{createImageElement:y,createChartElement:R,createTableElement:g,createLatexElement:b,createVideoElement:L,createAudioElement:T}=Ju(),M=Q=>{const B=Q[0];B&&Hu(B).then(H=>y(H))},w=he(!1),k=he(!1),_=he(!1),P=he(!1),E=he(!1),I=he(!1),F=he(!1),N=(Q=!1)=>{t.setCreatingElement({type:"text",vertical:Q})},V=Q=>{Q.title==="任意多边形"?t.setCreatingCustomShapeState(!0):t.setCreatingElement({type:"shape",data:Q}),w.value=!1},Z=Q=>{t.setCreatingElement({type:"line",data:Q}),k.value=!1},J=()=>{t.setSelectPanelState(!o.value)},se=()=>{t.setSearchPanelState(!i.value)},D=()=>{t.setNotesPanelState(!a.value)};return(Q,B)=>{var _e;const H=xe("IconBack"),U=xe("IconNext"),te=xe("IconComment"),z=xe("IconMoveOne"),oe=xe("IconSearch"),pe=xe("IconFontSize"),Ae=xe("IconTextRotationNone"),me=xe("IconTextRotationDown"),$=xe("IconDown"),ue=xe("IconPicture"),X=xe("IconGraphicDesign"),ne=xe("IconConnection"),le=xe("IconChartProportion"),j=xe("IconInsertTable"),ee=xe("IconFormula"),ae=xe("IconVideoTwo"),ge=xe("IconMinus"),ce=xe("IconPlus"),ve=xe("IconFullScreen"),ye=Sn("tooltip");return Y(),q("div",rhe,[W("div",ohe,[Ke(O(H,{class:Ge(["handler-item",{disable:!G(s)}]),onClick:B[0]||(B[0]=Se=>G(u)())},null,8,["class"]),[[ye,"撤销"]]),Ke(O(U,{class:Ge(["handler-item",{disable:!G(c)}]),onClick:B[1]||(B[1]=Se=>G(l)())},null,8,["class"]),[[ye,"重做"]]),W("div",ihe,[O(Ut,{type:"vertical",style:{height:"20px"}}),Ke(O(te,{class:Ge(["handler-item",{active:G(a)}]),onClick:B[2]||(B[2]=Se=>D())},null,8,["class"]),[[ye,"批注"]]),Ke(O(z,{class:Ge(["handler-item",{active:G(o)}]),onClick:B[3]||(B[3]=Se=>J())},null,8,["class"]),[[ye,"选择窗格"]]),Ke(O(oe,{class:Ge(["handler-item",{active:G(i)}]),onClick:B[4]||(B[4]=Se=>se())},null,8,["class"]),[[ye,"查找/替换"]])])]),W("div",ahe,[Ke((Y(),q("div",she,[O(pe,{class:Ge(["icon",{active:((_e=G(n))==null?void 0:_e.type)==="text"}]),onClick:B[5]||(B[5]=Se=>N())},null,8,["class"]),O(Pt,{trigger:"click",value:F.value,"onUpdate:value":B[8]||(B[8]=Se=>F.value=Se),style:{height:"100%"}},{content:ie(()=>[O(Oo,{center:"",onClick:B[6]||(B[6]=()=>{N(),F.value=!1})},{default:ie(()=>[O(Ae),We(" 横向文本框")]),_:1}),O(Oo,{center:"",onClick:B[7]||(B[7]=()=>{N(!0),F.value=!1})},{default:ie(()=>[O(me),We(" 竖向文本框")]),_:1})]),default:ie(()=>[O($,{class:"arrow"})]),_:1},8,["value"])])),[[ye,"插入文字"]]),O(Fu,{onChange:B[9]||(B[9]=Se=>M(Se))},{default:ie(()=>[Ke(O(ue,{class:"handler-item"},null,512),[[ye,"插入图片"]])]),_:1}),O(Pt,{trigger:"click",value:w.value,"onUpdate:value":B[11]||(B[11]=Se=>w.value=Se)},{content:ie(()=>[O(Ede,{onSelect:B[10]||(B[10]=Se=>V(Se))})]),default:ie(()=>{var Se;return[Ke(O(X,{class:Ge(["handler-item",{active:G(r)||((Se=G(n))==null?void 0:Se.type)==="shape"}])},null,8,["class"]),[[ye,"插入形状"]])]}),_:1},8,["value"]),O(Pt,{trigger:"click",value:k.value,"onUpdate:value":B[13]||(B[13]=Se=>k.value=Se)},{content:ie(()=>[O(Dde,{onSelect:B[12]||(B[12]=Se=>Z(Se))})]),default:ie(()=>{var Se;return[Ke(O(ne,{class:Ge(["handler-item",{active:((Se=G(n))==null?void 0:Se.type)==="line"}])},null,8,["class"]),[[ye,"插入线条"]])]}),_:1},8,["value"]),O(Pt,{trigger:"click",value:_.value,"onUpdate:value":B[15]||(B[15]=Se=>_.value=Se)},{content:ie(()=>[O(Jde,{onSelect:B[14]||(B[14]=Se=>{G(R)(Se),_.value=!1})})]),default:ie(()=>[Ke(O(le,{class:"handler-item"},null,512),[[ye,"插入图表"]])]),_:1},8,["value"]),O(Pt,{trigger:"click",value:P.value,"onUpdate:value":B[18]||(B[18]=Se=>P.value=Se)},{content:ie(()=>[O(g0e,{onClose:B[16]||(B[16]=Se=>P.value=!1),onInsert:B[17]||(B[17]=({row:Se,col:be})=>{G(g)(Se,be),P.value=!1})})]),default:ie(()=>[Ke(O(j,{class:"handler-item"},null,512),[[ye,"插入表格"]])]),_:1},8,["value"]),Ke(O(ee,{class:"handler-item",onClick:B[19]||(B[19]=Se=>I.value=!0)},null,512),[[ye,"插入公式"]]),O(Pt,{trigger:"click",value:E.value,"onUpdate:value":B[23]||(B[23]=Se=>E.value=Se)},{content:ie(()=>[O(x0e,{onClose:B[20]||(B[20]=Se=>E.value=!1),onInsertVideo:B[21]||(B[21]=Se=>{G(L)(Se),E.value=!1}),onInsertAudio:B[22]||(B[22]=Se=>{G(T)(Se),E.value=!1})})]),default:ie(()=>[Ke(O(ae,{class:"handler-item"},null,512),[[ye,"插入音视频"]])]),_:1},8,["value"])]),W("div",lhe,[O(ge,{class:"handler-item viewport-size",onClick:B[24]||(B[24]=Se=>G(f)("-"))}),O(Pt,{trigger:"click",value:A.value,"onUpdate:value":B[26]||(B[26]=Se=>A.value=Se)},{content:ie(()=>[(Y(),q(Xe,null,ot(m,Se=>O(Oo,{center:"",key:Se,onClick:be=>x(Se)},{default:ie(()=>[We(gt(Se)+"%",1)]),_:2},1032,["onClick"])),64)),O(Oo,{center:"",onClick:B[25]||(B[25]=Se=>G(h)())},{default:ie(()=>[We("适应屏幕")]),_:1})]),default:ie(()=>[W("span",che,gt(G(p)),1)]),_:1},8,["value"]),O(ce,{class:"handler-item viewport-size",onClick:B[27]||(B[27]=Se=>G(f)("+"))}),Ke(O(ve,{class:"handler-item viewport-size-adaptation",onClick:B[28]||(B[28]=Se=>G(h)())},null,512),[[ye,"适应屏幕"]])]),O(Jd,{visible:I.value,"onUpdate:visible":B[31]||(B[31]=Se=>I.value=Se),width:880},{default:ie(()=>[O(jF,{onClose:B[29]||(B[29]=Se=>I.value=!1),onUpdate:B[30]||(B[30]=Se=>{G(b)(Se),I.value=!1})})]),_:1},8,["visible"])])}}}),fhe=Ve(uhe,[["__scopeId","data-v-f177f23a"]]),Zp=()=>{const{slides:e}=Ee(st()),t=he(null),n=he(50),r=()=>{e.value.length>n.value?t.value=setTimeout(()=>{n.value=n.value+20,r()},600):n.value=9999};return Ht(r),wn(()=>{t.value&&clearTimeout(t.value)}),{slidesLoadLimit:n}},dhe=e=>(qt("data-v-2149b3ea"),e=e(),en(),e),hhe={class:"layout-pool"},phe=dhe(()=>W("div",{class:"header"},"页面模板",-1)),mhe={class:"list"},vhe={class:"btns"},ghe=Ie({__name:"LayoutPool",emits:["select"],setup(e,{emit:t}){const n=t,r=st(),{layouts:o}=Ee(r),i=a=>{n("select",a)};return(a,s)=>(Y(),q("div",hhe,[phe,W("div",mhe,[(Y(!0),q(Xe,null,ot(G(o),c=>(Y(),q("div",{class:"layout-item",key:c.id},[O(Fa,{class:"thumbnail",slide:c,size:180},null,8,["slide"]),W("div",vhe,[O($e,{class:"btn",type:"primary",size:"small",onClick:l=>i(c)},{default:ie(()=>[We("插入模板")]),_:2},1032,["onClick"])])]))),128))])]))}}),Ahe=Ve(ghe,[["__scopeId","data-v-2149b3ea"]]);var qF={exports:{}};const Rhe=hx(XK);/**! * Sortable 1.14.0 * @author RubaXa * @author owenm * @license MIT - */function CT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function As(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function ghe(e,t){if(e==null)return{};var n=vhe(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ahe(e){return Rhe(e)||yhe(e)||xhe(e)||bhe()}function Rhe(e){if(Array.isArray(e))return ux(e)}function yhe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xhe(e,t){if(e){if(typeof e=="string")return ux(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ux(e,t)}}function ux(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function whe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Sa(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&lg(e,t):lg(e,t))||r&&e===n)return e;if(e===n)break}while(e=whe(e))}return null}var FT=/\s+/g;function fr(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(FT," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(FT," ")}}function Lt(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function xu(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Lt(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function t_(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o=i:a=o<=i,!a)return r;if(r===ds())break;r=oc(r,!1)}return!1}function Id(e,t,n,r){for(var o=0,i=0,a=e.children;i2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,i=ghe(r,Che);Bp.pluginEvent.bind(Vt)(t,n,As({dragEl:pt,parentEl:mr,ghostEl:tn,rootEl:er,nextEl:Jc,lastDownEl:nv,cloneEl:vr,cloneHidden:$l,dragStarted:j0,putSortable:Jr,activeSortable:Vt.active,originalEvent:o,oldIndex:zf,oldDraggableIndex:Ph,newIndex:gi,newDraggableIndex:Kl,hideGhostForTarget:s_,unhideGhostForTarget:l_,cloneNowHidden:function(){$l=!0},cloneNowShown:function(){$l=!1},dispatchSortableEvent:function(s){wo({sortable:n,name:s,originalEvent:o})}},i))};function wo(e){$0(As({putSortable:Jr,cloneEl:vr,targetEl:pt,rootEl:er,oldIndex:zf,oldDraggableIndex:Ph,newIndex:gi,newDraggableIndex:Kl},e))}var pt,mr,tn,er,Jc,nv,vr,$l,zf,gi,Ph,Kl,bm,Jr,Zf=!1,cg=!1,ug=[],Zc,da,e4,t4,WT,VT,j0,Of,Ch,Ih=!1,Sm=!1,rv,lo,n4=[],fx=!1,fg=[],d2=typeof document<"u",Mm=qF,UT=Zp||dl?"cssFloat":"float",Ihe=d2&&!Mhe&&!qF&&"draggable"in document.createElement("div"),o_=function(){if(d2){if(dl)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),i_=function(t,n){var r=Lt(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),i=Id(t,0,n),a=Id(t,1,n),s=i&&Lt(i),c=a&&Lt(a),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+rr(i).width,u=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+rr(a).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return a&&(c.clear==="both"||c.clear===f)?"vertical":"horizontal"}return i&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||l>=o&&r[UT]==="none"||a&&r[UT]==="none"&&l+u>o)?"vertical":"horizontal"},Fhe=function(t,n,r){var o=r?t.left:t.top,i=r?t.right:t.bottom,a=r?t.width:t.height,s=r?n.left:n.top,c=r?n.right:n.bottom,l=r?n.width:n.height;return o===s||i===c||o+a/2===s+l/2},_he=function(t,n){var r;return ug.some(function(o){var i=o[mo].options.emptyInsertThreshold;if(!(!i||L5(o))){var a=rr(o),s=t>=a.left-i&&t<=a.right+i,c=n>=a.top-i&&n<=a.bottom+i;if(s&&c)return r=o}}),r},a_=function(t){function n(i,a){return function(s,c,l,u){var f=s.options.group.name&&c.options.group.name&&s.options.group.name===c.options.group.name;if(i==null&&(a||f))return!0;if(i==null||i===!1)return!1;if(a&&i==="clone")return i;if(typeof i=="function")return n(i(s,c,l,u),a)(s,c,l,u);var d=(a?s:c).options.group.name;return i===!0||typeof i=="string"&&i===d||i.join&&i.indexOf(d)>-1}}var r={},o=t.group;(!o||tv(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},s_=function(){!o_&&tn&&Lt(tn,"display","none")},l_=function(){!o_&&tn&&Lt(tn,"display","")};d2&&document.addEventListener("click",function(e){if(cg)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),cg=!1,!1},!0);var Bc=function(t){if(pt){t=t.touches?t.touches[0]:t;var n=_he(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[mo]._onDragOver(r)}}},Ehe=function(t){pt&&pt.parentNode[mo]._isOutsideThisEl(t.target)};function Vt(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=ra({},t),e[mo]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return i_(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,s){a.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Vt.supportPointer!==!1&&"PointerEvent"in window&&!kh,emptyInsertThreshold:5};Bp.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);a_(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:Ihe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?An(e,"pointerdown",this._onTapStart):(An(e,"mousedown",this._onTapStart),An(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(An(e,"dragover",this),An(e,"dragenter",this)),ug.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),ra(this,khe())}Vt.prototype={constructor:Vt,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Of=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,pt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,i=o.preventOnFilter,a=t.type,s=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,c=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||c,u=o.filter;if(Bhe(r),!pt&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||o.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&kh&&c&&c.tagName.toUpperCase()==="SELECT")&&(c=Sa(c,o.draggable,r,!1),!(c&&c.animated)&&nv!==c)){if(zf=Ar(c),Ph=Ar(c,o.draggable),typeof u=="function"){if(u.call(this,t,c,this)){wo({sortable:n,rootEl:l,name:"filter",targetEl:c,toEl:r,fromEl:r}),Bo("filter",n,{evt:t}),i&&t.cancelable&&t.preventDefault();return}}else if(u&&(u=u.split(",").some(function(f){if(f=Sa(l,f.trim(),r,!1),f)return wo({sortable:n,rootEl:f,name:"filter",targetEl:c,fromEl:r,toEl:r}),Bo("filter",n,{evt:t}),!0}),u)){i&&t.cancelable&&t.preventDefault();return}o.handle&&!Sa(l,o.handle,r,!1)||this._prepareDragStart(t,s,c)}}},_prepareDragStart:function(t,n,r){var o=this,i=o.el,a=o.options,s=i.ownerDocument,c;if(r&&!pt&&r.parentNode===i){var l=rr(r);if(er=i,pt=r,mr=pt.parentNode,Jc=pt.nextSibling,nv=r,bm=a.group,Vt.dragged=pt,Zc={target:pt,clientX:(n||t).clientX,clientY:(n||t).clientY},WT=Zc.clientX-l.left,VT=Zc.clientY-l.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,pt.style["will-change"]="all",c=function(){if(Bo("delayEnded",o,{evt:t}),Vt.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!IT&&o.nativeDraggable&&(pt.draggable=!0),o._triggerDragStart(t,n),wo({sortable:o,name:"choose",originalEvent:t}),fr(pt,a.chosenClass,!0)},a.ignore.split(",").forEach(function(u){t_(pt,u.trim(),r4)}),An(s,"dragover",Bc),An(s,"mousemove",Bc),An(s,"touchmove",Bc),An(s,"mouseup",o._onDrop),An(s,"touchend",o._onDrop),An(s,"touchcancel",o._onDrop),IT&&this.nativeDraggable&&(this.options.touchStartThreshold=4,pt.draggable=!0),Bo("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Zp||dl))){if(Vt.eventCanceled){this._onDrop();return}An(s,"mouseup",o._disableDelayedDrag),An(s,"touchend",o._disableDelayedDrag),An(s,"touchcancel",o._disableDelayedDrag),An(s,"mousemove",o._delayedDragTouchMoveHandler),An(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&An(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(c,a.delay)}else c()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){pt&&r4(pt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;un(t,"mouseup",this._disableDelayedDrag),un(t,"touchend",this._disableDelayedDrag),un(t,"touchcancel",this._disableDelayedDrag),un(t,"mousemove",this._delayedDragTouchMoveHandler),un(t,"touchmove",this._delayedDragTouchMoveHandler),un(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?An(document,"pointermove",this._onTouchMove):n?An(document,"touchmove",this._onTouchMove):An(document,"mousemove",this._onTouchMove):(An(pt,"dragend",this),An(er,"dragstart",this._onDragStart));try{document.selection?ov(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Zf=!1,er&&pt){Bo("dragStarted",this,{evt:n}),this.nativeDraggable&&An(document,"dragover",Ehe);var r=this.options;!t&&fr(pt,r.dragClass,!1),fr(pt,r.ghostClass,!0),Vt.active=this,t&&this._appendGhost(),wo({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(da){this._lastX=da.clientX,this._lastY=da.clientY,s_();for(var t=document.elementFromPoint(da.clientX,da.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(da.clientX,da.clientY),t!==n);)n=t;if(pt.parentNode[mo]._isOutsideThisEl(t),n)do{if(n[mo]){var r=void 0;if(r=n[mo]._onDragOver({clientX:da.clientX,clientY:da.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);l_()}},_onTouchMove:function(t){if(Zc){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,i=t.touches?t.touches[0]:t,a=tn&&xu(tn,!0),s=tn&&a&&a.a,c=tn&&a&&a.d,l=Mm&&lo&&ET(lo),u=(i.clientX-Zc.clientX+o.x)/(s||1)+(l?l[0]-n4[0]:0)/(s||1),f=(i.clientY-Zc.clientY+o.y)/(c||1)+(l?l[1]-n4[1]:0)/(c||1);if(!Vt.active&&!Zf){if(r&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))=0&&(wo({rootEl:mr,name:"add",toEl:mr,fromEl:er,originalEvent:t}),wo({sortable:this,name:"remove",toEl:mr,originalEvent:t}),wo({rootEl:mr,name:"sort",toEl:mr,fromEl:er,originalEvent:t}),wo({sortable:this,name:"sort",toEl:mr,originalEvent:t})),Jr&&Jr.save()):gi!==zf&&gi>=0&&(wo({sortable:this,name:"update",toEl:mr,originalEvent:t}),wo({sortable:this,name:"sort",toEl:mr,originalEvent:t})),Vt.active&&((gi==null||gi===-1)&&(gi=zf,Kl=Ph),wo({sortable:this,name:"end",toEl:mr,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Bo("nulling",this),er=pt=mr=tn=Jc=vr=nv=$l=Zc=da=j0=gi=Kl=zf=Ph=Of=Ch=Jr=bm=Vt.dragged=Vt.ghost=Vt.clone=Vt.active=null,fg.forEach(function(t){t.checked=!0}),fg.length=e4=t4=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":pt&&(this._onDragOver(t),Xhe(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,i=r.length,a=this.options;or.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function Yhe(e,t,n,r,o,i,a,s){var c=r?e.clientY:e.clientX,l=r?n.height:n.width,u=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a){if(s&&rvu+l*i/2:cf-rv)return-Ch}else if(c>u+l*(1-o)/2&&cf-l*i/2)?c>u+l/2?1:-1:0}function Qhe(e){return Ar(pt)1&&(jt.forEach(function(s){i.addAnimationState({target:s,rect:Do?rr(s):a}),jy(s),s.fromRect=a,r.removeAnimationState(s)}),Do=!1,Jhe(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,i=n.insertion,a=n.activeSortable,s=n.parentEl,c=n.putSortable,l=this.options;if(i){if(o&&a._hideClone(),b0=!1,l.animation&&jt.length>1&&(Do||!o&&!a.options.sort&&!c)){var u=rr(Dn,!1,!0,!0);jt.forEach(function(d){d!==Dn&&(XT(d,u),s.appendChild(d))}),Do=!0}if(!o)if(Do||Om(),jt.length>1){var f=Lm;a._showClone(r),a.options.animation&&!Lm&&f&&vi.forEach(function(d){a.addAnimationState({target:d,rect:S0}),d.fromRect=S0,d.thisAnimationDuration=null})}else a._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,i=n.activeSortable;if(jt.forEach(function(s){s.thisAnimationDuration=null}),i.options.animation&&!o&&i.multiDrag.isMultiDrag){S0=ra({},r);var a=xu(Dn,!0);S0.top-=a.f,S0.left-=a.e}},dragOverAnimationComplete:function(){Do&&(Do=!1,Om())},drop:function(n){var r=n.originalEvent,o=n.rootEl,i=n.parentEl,a=n.sortable,s=n.dispatchSortableEvent,c=n.oldIndex,l=n.putSortable,u=l||this.sortable;if(r){var f=this.options,d=i.children;if(!Tf)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),fr(Dn,f.selectedClass,!~jt.indexOf(Dn)),~jt.indexOf(Dn))jt.splice(jt.indexOf(Dn),1),x0=null,$0({sortable:a,rootEl:o,name:"deselect",targetEl:Dn,originalEvt:r});else{if(jt.push(Dn),$0({sortable:a,rootEl:o,name:"select",targetEl:Dn,originalEvt:r}),r.shiftKey&&x0&&a.el.contains(x0)){var h=Ar(x0),p=Ar(Dn);if(~h&&~p&&h!==p){var m,A;for(p>h?(A=h,m=p):(A=p,m=h+1);A1){var x=rr(Dn),y=Ar(Dn,":not(."+this.options.selectedClass+")");if(!b0&&f.animation&&(Dn.thisAnimationDuration=null),u.captureAnimationState(),!b0&&(f.animation&&(Dn.fromRect=x,jt.forEach(function(g){if(g.thisAnimationDuration=null,g!==Dn){var b=Do?rr(g):x;g.fromRect=b,u.addAnimationState({target:g,rect:b})}})),Om(),jt.forEach(function(g){d[y]?i.insertBefore(g,d[y]):i.appendChild(g),y++}),c===Ar(Dn))){var R=!1;jt.forEach(function(g){if(g.sortableIndex!==Ar(g)){R=!0;return}}),R&&s("update")}jt.forEach(function(g){jy(g)}),u.animateAll()}ha=u}(o===i||l&&l.lastPutMode!=="clone")&&vi.forEach(function(g){g.parentNode&&g.parentNode.removeChild(g)})}},nullingGlobal:function(){this.isMultiDrag=Tf=!1,vi.length=0},destroyGlobal:function(){this._deselectMultiDrag(),un(document,"pointerup",this._deselectMultiDrag),un(document,"mouseup",this._deselectMultiDrag),un(document,"touchend",this._deselectMultiDrag),un(document,"keydown",this._checkKeyDown),un(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Tf<"u"&&Tf)&&ha===this.sortable&&!(n&&Sa(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;jt.length;){var r=jt[0];fr(r,this.options.selectedClass,!1),jt.shift(),$0({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},ra(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[mo];!r||!r.options.multiDrag||~jt.indexOf(n)||(ha&&ha!==r&&(ha.multiDrag._deselectMultiDrag(),ha=r),fr(n,r.options.selectedClass,!0),jt.push(n))},deselect:function(n){var r=n.parentNode[mo],o=jt.indexOf(n);!r||!r.options.multiDrag||!~o||(fr(n,r.options.selectedClass,!1),jt.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return jt.forEach(function(i){r.push({multiDragElement:i,index:i.sortableIndex});var a;Do&&i!==Dn?a=-1:Do?a=Ar(i,":not(."+n.options.selectedClass+")"):a=Ar(i),o.push({multiDragElement:i,index:a})}),{items:Ahe(jt),clones:[].concat(vi),oldIndicies:r,newIndicies:o}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function Jhe(e,t){jt.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function QT(e,t){vi.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Om(){jt.forEach(function(e){e!==Dn&&e.parentNode&&e.parentNode.removeChild(e)})}Vt.mount(new Dhe);Vt.mount(k5,T5);const zhe=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Ghe,Sortable:Vt,Swap:Khe,default:Vt},Symbol.toStringTag,{value:"Module"})),$he=fb(zhe);(function(e,t){(function(r,o){e.exports=o(phe,$he)})(typeof self<"u"?self:Nt,function(n,r){return function(o){var i={};function a(s){if(i[s])return i[s].exports;var c=i[s]={i:s,l:!1,exports:{}};return o[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}return a.m=o,a.c=i,a.d=function(s,c,l){a.o(s,c)||Object.defineProperty(s,c,{enumerable:!0,get:l})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,c){if(c&1&&(s=a(s)),c&8||c&4&&typeof s=="object"&&s&&s.__esModule)return s;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:s}),c&2&&typeof s!="string")for(var u in s)a.d(l,u,(function(f){return s[f]}).bind(null,u));return l},a.n=function(s){var c=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(c,"a",c),c},a.o=function(s,c){return Object.prototype.hasOwnProperty.call(s,c)},a.p="",a(a.s="fb15")}({"00ee":function(o,i,a){var s=a("b622"),c=s("toStringTag"),l={};l[c]="z",o.exports=String(l)==="[object z]"},"0366":function(o,i,a){var s=a("1c0b");o.exports=function(c,l,u){if(s(c),l===void 0)return c;switch(u){case 0:return function(){return c.call(l)};case 1:return function(f){return c.call(l,f)};case 2:return function(f,d){return c.call(l,f,d)};case 3:return function(f,d,h){return c.call(l,f,d,h)}}return function(){return c.apply(l,arguments)}}},"057f":function(o,i,a){var s=a("fc6a"),c=a("241c").f,l={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(d){try{return c(d)}catch{return u.slice()}};o.exports.f=function(h){return u&&l.call(h)=="[object Window]"?f(h):c(s(h))}},"06cf":function(o,i,a){var s=a("83ab"),c=a("d1e7"),l=a("5c6c"),u=a("fc6a"),f=a("c04e"),d=a("5135"),h=a("0cfb"),p=Object.getOwnPropertyDescriptor;i.f=s?p:function(A,x){if(A=u(A),x=f(x,!0),h)try{return p(A,x)}catch{}if(d(A,x))return l(!c.f.call(A,x),A[x])}},"0cfb":function(o,i,a){var s=a("83ab"),c=a("d039"),l=a("cc12");o.exports=!s&&!c(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,i,a){var s=a("23e7"),c=a("d58f").left,l=a("a640"),u=a("ae40"),f=l("reduce"),d=u("reduce",{1:0});s({target:"Array",proto:!0,forced:!f||!d},{reduce:function(p){return c(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,i,a){var s=a("c6b6"),c=a("9263");o.exports=function(l,u){var f=l.exec;if(typeof f=="function"){var d=f.call(l,u);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(s(l)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return c.call(l,u)}},"159b":function(o,i,a){var s=a("da84"),c=a("fdbc"),l=a("17c2"),u=a("9112");for(var f in c){var d=s[f],h=d&&d.prototype;if(h&&h.forEach!==l)try{u(h,"forEach",l)}catch{h.forEach=l}}},"17c2":function(o,i,a){var s=a("b727").forEach,c=a("a640"),l=a("ae40"),u=c("forEach"),f=l("forEach");o.exports=!u||!f?function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,i,a){var s=a("d066");o.exports=s("document","documentElement")},"1c0b":function(o,i){o.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(o,i,a){var s=a("b622"),c=s("iterator"),l=!1;try{var u=0,f={next:function(){return{done:!!u++}},return:function(){l=!0}};f[c]=function(){return this},Array.from(f,function(){throw 2})}catch{}o.exports=function(d,h){if(!h&&!l)return!1;var p=!1;try{var m={};m[c]=function(){return{next:function(){return{done:p=!0}}}},d(m)}catch{}return p}},"1d80":function(o,i){o.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(o,i,a){var s=a("d039"),c=a("b622"),l=a("2d00"),u=c("species");o.exports=function(f){return l>=51||!s(function(){var d=[],h=d.constructor={};return h[u]=function(){return{foo:1}},d[f](Boolean).foo!==1})}},"23cb":function(o,i,a){var s=a("a691"),c=Math.max,l=Math.min;o.exports=function(u,f){var d=s(u);return d<0?c(d+f,0):l(d,f)}},"23e7":function(o,i,a){var s=a("da84"),c=a("06cf").f,l=a("9112"),u=a("6eeb"),f=a("ce4e"),d=a("e893"),h=a("94ca");o.exports=function(p,m){var A=p.target,x=p.global,y=p.stat,R,g,b,w,T,M;if(x?g=s:y?g=s[A]||f(A,{}):g=(s[A]||{}).prototype,g)for(b in m){if(T=m[b],p.noTargetGet?(M=c(g,b),w=M&&M.value):w=g[b],R=h(x?b:A+(y?".":"#")+b,p.forced),!R&&w!==void 0){if(typeof T==typeof w)continue;d(T,w)}(p.sham||w&&w.sham)&&l(T,"sham",!0),u(g,b,T,p)}}},"241c":function(o,i,a){var s=a("ca84"),c=a("7839"),l=c.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(f){return s(f,l)}},"25f0":function(o,i,a){var s=a("6eeb"),c=a("825a"),l=a("d039"),u=a("ad6d"),f="toString",d=RegExp.prototype,h=d[f],p=l(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),m=h.name!=f;(p||m)&&s(RegExp.prototype,f,function(){var x=c(this),y=String(x.source),R=x.flags,g=String(R===void 0&&x instanceof RegExp&&!("flags"in d)?u.call(x):R);return"/"+y+"/"+g},{unsafe:!0})},"2ca0":function(o,i,a){var s=a("23e7"),c=a("06cf").f,l=a("50c4"),u=a("5a34"),f=a("1d80"),d=a("ab13"),h=a("c430"),p="".startsWith,m=Math.min,A=d("startsWith"),x=!h&&!A&&!!function(){var y=c(String.prototype,"startsWith");return y&&!y.writable}();s({target:"String",proto:!0,forced:!x&&!A},{startsWith:function(R){var g=String(f(this));u(R);var b=l(m(arguments.length>1?arguments[1]:void 0,g.length)),w=String(R);return p?p.call(g,w,b):g.slice(b,b+w.length)===w}})},"2d00":function(o,i,a){var s=a("da84"),c=a("342f"),l=s.process,u=l&&l.versions,f=u&&u.v8,d,h;f?(d=f.split("."),h=d[0]+d[1]):c&&(d=c.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=c.match(/Chrome\/(\d+)/),d&&(h=d[1]))),o.exports=h&&+h},"342f":function(o,i,a){var s=a("d066");o.exports=s("navigator","userAgent")||""},"35a1":function(o,i,a){var s=a("f5df"),c=a("3f8c"),l=a("b622"),u=l("iterator");o.exports=function(f){if(f!=null)return f[u]||f["@@iterator"]||c[s(f)]}},"37e8":function(o,i,a){var s=a("83ab"),c=a("9bf2"),l=a("825a"),u=a("df75");o.exports=s?Object.defineProperties:function(d,h){l(d);for(var p=u(h),m=p.length,A=0,x;m>A;)c.f(d,x=p[A++],h[x]);return d}},"3bbe":function(o,i,a){var s=a("861d");o.exports=function(c){if(!s(c)&&c!==null)throw TypeError("Can't set "+String(c)+" as a prototype");return c}},"3ca3":function(o,i,a){var s=a("6547").charAt,c=a("69f3"),l=a("7dd0"),u="String Iterator",f=c.set,d=c.getterFor(u);l(String,"String",function(h){f(this,{type:u,string:String(h),index:0})},function(){var p=d(this),m=p.string,A=p.index,x;return A>=m.length?{value:void 0,done:!0}:(x=s(m,A),p.index+=x.length,{value:x,done:!1})})},"3f8c":function(o,i){o.exports={}},4160:function(o,i,a){var s=a("23e7"),c=a("17c2");s({target:"Array",proto:!0,forced:[].forEach!=c},{forEach:c})},"428f":function(o,i,a){var s=a("da84");o.exports=s},"44ad":function(o,i,a){var s=a("d039"),c=a("c6b6"),l="".split;o.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(u){return c(u)=="String"?l.call(u,""):Object(u)}:Object},"44d2":function(o,i,a){var s=a("b622"),c=a("7c73"),l=a("9bf2"),u=s("unscopables"),f=Array.prototype;f[u]==null&&l.f(f,u,{configurable:!0,value:c(null)}),o.exports=function(d){f[u][d]=!0}},"44e7":function(o,i,a){var s=a("861d"),c=a("c6b6"),l=a("b622"),u=l("match");o.exports=function(f){var d;return s(f)&&((d=f[u])!==void 0?!!d:c(f)=="RegExp")}},4930:function(o,i,a){var s=a("d039");o.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(o,i,a){var s=a("fc6a"),c=a("50c4"),l=a("23cb"),u=function(f){return function(d,h,p){var m=s(d),A=c(m.length),x=l(p,A),y;if(f&&h!=h){for(;A>x;)if(y=m[x++],y!=y)return!0}else for(;A>x;x++)if((f||x in m)&&m[x]===h)return f||x||0;return!f&&-1}};o.exports={includes:u(!0),indexOf:u(!1)}},"4de4":function(o,i,a){var s=a("23e7"),c=a("b727").filter,l=a("1dde"),u=a("ae40"),f=l("filter"),d=u("filter");s({target:"Array",proto:!0,forced:!f||!d},{filter:function(p){return c(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,i,a){var s=a("0366"),c=a("7b0b"),l=a("9bdd"),u=a("e95a"),f=a("50c4"),d=a("8418"),h=a("35a1");o.exports=function(m){var A=c(m),x=typeof this=="function"?this:Array,y=arguments.length,R=y>1?arguments[1]:void 0,g=R!==void 0,b=h(A),w=0,T,M,O,k,F,N;if(g&&(R=s(R,y>2?arguments[2]:void 0,2)),b!=null&&!(x==Array&&u(b)))for(k=b.call(A),F=k.next,M=new x;!(O=F.call(k)).done;w++)N=g?l(k,R,[O.value,w],!0):O.value,d(M,w,N);else for(T=f(A.length),M=new x(T);T>w;w++)N=g?R(A[w],w):A[w],d(M,w,N);return M.length=w,M}},"4fad":function(o,i,a){var s=a("23e7"),c=a("6f53").entries;s({target:"Object",stat:!0},{entries:function(u){return c(u)}})},"50c4":function(o,i,a){var s=a("a691"),c=Math.min;o.exports=function(l){return l>0?c(s(l),9007199254740991):0}},5135:function(o,i){var a={}.hasOwnProperty;o.exports=function(s,c){return a.call(s,c)}},5319:function(o,i,a){var s=a("d784"),c=a("825a"),l=a("7b0b"),u=a("50c4"),f=a("a691"),d=a("1d80"),h=a("8aa5"),p=a("14c3"),m=Math.max,A=Math.min,x=Math.floor,y=/\$([$&'`]|\d\d?|<[^>]*>)/g,R=/\$([$&'`]|\d\d?)/g,g=function(b){return b===void 0?b:String(b)};s("replace",2,function(b,w,T,M){var O=M.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,k=M.REPLACE_KEEPS_$0,F=O?"$":"$0";return[function(C,_){var I=d(this),W=C==null?void 0:C[b];return W!==void 0?W.call(C,I,_):w.call(String(I),C,_)},function(E,C){if(!O&&k||typeof C=="string"&&C.indexOf(F)===-1){var _=T(w,E,this,C);if(_.done)return _.value}var I=c(E),W=String(this),Z=typeof C=="function";Z||(C=String(C));var J=I.global;if(J){var le=I.unicode;I.lastIndex=0}for(var D=[];;){var Q=p(I,W);if(Q===null||(D.push(Q),!J))break;var B=String(Q[0]);B===""&&(I.lastIndex=h(W,u(I.lastIndex),le))}for(var H="",U=0,te=0;te=U&&(H+=W.slice(U,oe)+ue,U=oe+z.length)}return H+W.slice(U)}];function N(E,C,_,I,W,Z){var J=_+E.length,le=I.length,D=R;return W!==void 0&&(W=l(W),D=y),w.call(Z,D,function(Q,B){var H;switch(B.charAt(0)){case"$":return"$";case"&":return E;case"`":return C.slice(0,_);case"'":return C.slice(J);case"<":H=W[B.slice(1,-1)];break;default:var U=+B;if(U===0)return Q;if(U>le){var te=x(U/10);return te===0?Q:te<=le?I[te-1]===void 0?B.charAt(1):I[te-1]+B.charAt(1):Q}H=I[U-1]}return H===void 0?"":H})}})},5692:function(o,i,a){var s=a("c430"),c=a("c6cd");(o.exports=function(l,u){return c[l]||(c[l]=u!==void 0?u:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,i,a){var s=a("d066"),c=a("241c"),l=a("7418"),u=a("825a");o.exports=s("Reflect","ownKeys")||function(d){var h=c.f(u(d)),p=l.f;return p?h.concat(p(d)):h}},"5a34":function(o,i,a){var s=a("44e7");o.exports=function(c){if(s(c))throw TypeError("The method doesn't accept regular expressions");return c}},"5c6c":function(o,i){o.exports=function(a,s){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:s}}},"5db7":function(o,i,a){var s=a("23e7"),c=a("a2bf"),l=a("7b0b"),u=a("50c4"),f=a("1c0b"),d=a("65f0");s({target:"Array",proto:!0},{flatMap:function(p){var m=l(this),A=u(m.length),x;return f(p),x=d(m,0),x.length=c(x,m,m,A,0,1,p,arguments.length>1?arguments[1]:void 0),x}})},6547:function(o,i,a){var s=a("a691"),c=a("1d80"),l=function(u){return function(f,d){var h=String(c(f)),p=s(d),m=h.length,A,x;return p<0||p>=m?u?"":void 0:(A=h.charCodeAt(p),A<55296||A>56319||p+1===m||(x=h.charCodeAt(p+1))<56320||x>57343?u?h.charAt(p):A:u?h.slice(p,p+2):(A-55296<<10)+(x-56320)+65536)}};o.exports={codeAt:l(!1),charAt:l(!0)}},"65f0":function(o,i,a){var s=a("861d"),c=a("e8b5"),l=a("b622"),u=l("species");o.exports=function(f,d){var h;return c(f)&&(h=f.constructor,typeof h=="function"&&(h===Array||c(h.prototype))?h=void 0:s(h)&&(h=h[u],h===null&&(h=void 0))),new(h===void 0?Array:h)(d===0?0:d)}},"69f3":function(o,i,a){var s=a("7f9a"),c=a("da84"),l=a("861d"),u=a("9112"),f=a("5135"),d=a("f772"),h=a("d012"),p=c.WeakMap,m,A,x,y=function(O){return x(O)?A(O):m(O,{})},R=function(O){return function(k){var F;if(!l(k)||(F=A(k)).type!==O)throw TypeError("Incompatible receiver, "+O+" required");return F}};if(s){var g=new p,b=g.get,w=g.has,T=g.set;m=function(O,k){return T.call(g,O,k),k},A=function(O){return b.call(g,O)||{}},x=function(O){return w.call(g,O)}}else{var M=d("state");h[M]=!0,m=function(O,k){return u(O,M,k),k},A=function(O){return f(O,M)?O[M]:{}},x=function(O){return f(O,M)}}o.exports={set:m,get:A,has:x,enforce:y,getterFor:R}},"6eeb":function(o,i,a){var s=a("da84"),c=a("9112"),l=a("5135"),u=a("ce4e"),f=a("8925"),d=a("69f3"),h=d.get,p=d.enforce,m=String(String).split("String");(o.exports=function(A,x,y,R){var g=R?!!R.unsafe:!1,b=R?!!R.enumerable:!1,w=R?!!R.noTargetGet:!1;if(typeof y=="function"&&(typeof x=="string"&&!l(y,"name")&&c(y,"name",x),p(y).source=m.join(typeof x=="string"?x:"")),A===s){b?A[x]=y:u(x,y);return}else g?!w&&A[x]&&(b=!0):delete A[x];b?A[x]=y:c(A,x,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||f(this)})},"6f53":function(o,i,a){var s=a("83ab"),c=a("df75"),l=a("fc6a"),u=a("d1e7").f,f=function(d){return function(h){for(var p=l(h),m=c(p),A=m.length,x=0,y=[],R;A>x;)R=m[x++],(!s||u.call(p,R))&&y.push(d?[R,p[R]]:p[R]);return y}};o.exports={entries:f(!0),values:f(!1)}},"73d9":function(o,i,a){var s=a("44d2");s("flatMap")},7418:function(o,i){i.f=Object.getOwnPropertySymbols},"746f":function(o,i,a){var s=a("428f"),c=a("5135"),l=a("e538"),u=a("9bf2").f;o.exports=function(f){var d=s.Symbol||(s.Symbol={});c(d,f)||u(d,f,{value:l.f(f)})}},7839:function(o,i){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,i,a){var s=a("1d80");o.exports=function(c){return Object(s(c))}},"7c73":function(o,i,a){var s=a("825a"),c=a("37e8"),l=a("7839"),u=a("d012"),f=a("1be4"),d=a("cc12"),h=a("f772"),p=">",m="<",A="prototype",x="script",y=h("IE_PROTO"),R=function(){},g=function(O){return m+x+p+O+m+"/"+x+p},b=function(O){O.write(g("")),O.close();var k=O.parentWindow.Object;return O=null,k},w=function(){var O=d("iframe"),k="java"+x+":",F;return O.style.display="none",f.appendChild(O),O.src=String(k),F=O.contentWindow.document,F.open(),F.write(g("document.F=Object")),F.close(),F.F},T,M=function(){try{T=document.domain&&new ActiveXObject("htmlfile")}catch{}M=T?b(T):w();for(var O=l.length;O--;)delete M[A][l[O]];return M()};u[y]=!0,o.exports=Object.create||function(k,F){var N;return k!==null?(R[A]=s(k),N=new R,R[A]=null,N[y]=k):N=M(),F===void 0?N:c(N,F)}},"7dd0":function(o,i,a){var s=a("23e7"),c=a("9ed3"),l=a("e163"),u=a("d2bb"),f=a("d44e"),d=a("9112"),h=a("6eeb"),p=a("b622"),m=a("c430"),A=a("3f8c"),x=a("ae93"),y=x.IteratorPrototype,R=x.BUGGY_SAFARI_ITERATORS,g=p("iterator"),b="keys",w="values",T="entries",M=function(){return this};o.exports=function(O,k,F,N,E,C,_){c(F,k,N);var I=function(te){if(te===E&&D)return D;if(!R&&te in J)return J[te];switch(te){case b:return function(){return new F(this,te)};case w:return function(){return new F(this,te)};case T:return function(){return new F(this,te)}}return function(){return new F(this)}},W=k+" Iterator",Z=!1,J=O.prototype,le=J[g]||J["@@iterator"]||E&&J[E],D=!R&&le||I(E),Q=k=="Array"&&J.entries||le,B,H,U;if(Q&&(B=l(Q.call(new O)),y!==Object.prototype&&B.next&&(!m&&l(B)!==y&&(u?u(B,y):typeof B[g]!="function"&&d(B,g,M)),f(B,W,!0,!0),m&&(A[W]=M))),E==w&&le&&le.name!==w&&(Z=!0,D=function(){return le.call(this)}),(!m||_)&&J[g]!==D&&d(J,g,D),A[k]=D,E)if(H={values:I(w),keys:C?D:I(b),entries:I(T)},_)for(U in H)(R||Z||!(U in J))&&h(J,U,H[U]);else s({target:k,proto:!0,forced:R||Z},H);return H}},"7f9a":function(o,i,a){var s=a("da84"),c=a("8925"),l=s.WeakMap;o.exports=typeof l=="function"&&/native code/.test(c(l))},"825a":function(o,i,a){var s=a("861d");o.exports=function(c){if(!s(c))throw TypeError(String(c)+" is not an object");return c}},"83ab":function(o,i,a){var s=a("d039");o.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,i,a){var s=a("c04e"),c=a("9bf2"),l=a("5c6c");o.exports=function(u,f,d){var h=s(f);h in u?c.f(u,h,l(0,d)):u[h]=d}},"861d":function(o,i){o.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(o,i,a){var s,c,l;(function(u,f){c=[],s=f,l=typeof s=="function"?s.apply(i,c):s,l!==void 0&&(o.exports=l)})(typeof self<"u"?self:this,function(){function u(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==u&&document.currentScript)return document.currentScript;try{throw new Error}catch(T){var d=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=d.exec(T.stack)||h.exec(T.stack),m=p&&p[1]||!1,A=p&&p[2]||!1,x=document.location.href.replace(document.location.hash,""),y,R,g,b=document.getElementsByTagName("script");m===x&&(y=document.documentElement.outerHTML,R=new RegExp("(?:[^\\n]+?\\n){0,"+(A-2)+"}[^<]* - + +