translime-plugin-hdr-capture 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/dist/main.cjs.js CHANGED
@@ -624,6 +624,166 @@ function applyBorderRadius(buffer, width, height, radius) {
624
624
  }
625
625
  }
626
626
  }
627
+ function applyOverlay(dstBuffer, dstWidth, dstHeight, overlayData, targetScale) {
628
+ const srcBuf = overlayData.buffer;
629
+ const srcW = overlayData.width;
630
+ const srcH = overlayData.height;
631
+ for (let dy = 0; dy < dstHeight; dy += 1) {
632
+ const sy = Math.floor(dy / targetScale);
633
+ if (sy < srcH) {
634
+ for (let dx = 0; dx < dstWidth; dx += 1) {
635
+ const sx = Math.floor(dx / targetScale);
636
+ if (sx < srcW) {
637
+ const srcIdx = (sy * srcW + sx) * 4;
638
+ const srcA = srcBuf[srcIdx + 3];
639
+ if (srcA > 0) {
640
+ const dstIdx = (dy * dstWidth + dx) * 4;
641
+ const alpha = srcA / 255;
642
+ const invAlpha = 1 - alpha;
643
+ dstBuffer[dstIdx] = Math.round(srcBuf[srcIdx] * alpha + dstBuffer[dstIdx] * invAlpha);
644
+ dstBuffer[dstIdx + 1] = Math.round(srcBuf[srcIdx + 1] * alpha + dstBuffer[dstIdx + 1] * invAlpha);
645
+ dstBuffer[dstIdx + 2] = Math.round(srcBuf[srcIdx + 2] * alpha + dstBuffer[dstIdx + 2] * invAlpha);
646
+ dstBuffer[dstIdx + 3] = Math.min(255, Math.round(srcA + dstBuffer[dstIdx + 3] * invAlpha));
647
+ }
648
+ }
649
+ }
650
+ }
651
+ }
652
+ }
653
+ function applyPixelate(buffer, bufWidth, x0, y0, x1, y1, blockSize) {
654
+ for (let by = y0; by < y1; by += blockSize) {
655
+ for (let bx = x0; bx < x1; bx += blockSize) {
656
+ const bw = Math.min(blockSize, x1 - bx);
657
+ const bh = Math.min(blockSize, y1 - by);
658
+ let r = 0;
659
+ let g = 0;
660
+ let b = 0;
661
+ let a = 0;
662
+ let count = 0;
663
+ for (let dy = 0; dy < bh; dy += 1) {
664
+ for (let dx = 0; dx < bw; dx += 1) {
665
+ const idx = ((by + dy) * bufWidth + (bx + dx)) * 4;
666
+ r += buffer[idx];
667
+ g += buffer[idx + 1];
668
+ b += buffer[idx + 2];
669
+ a += buffer[idx + 3];
670
+ count += 1;
671
+ }
672
+ }
673
+ if (count > 0) {
674
+ const avgR = Math.round(r / count);
675
+ const avgG = Math.round(g / count);
676
+ const avgB = Math.round(b / count);
677
+ const avgA = Math.round(a / count);
678
+ for (let dy = 0; dy < bh; dy += 1) {
679
+ for (let dx = 0; dx < bw; dx += 1) {
680
+ const idx = ((by + dy) * bufWidth + (bx + dx)) * 4;
681
+ buffer[idx] = avgR;
682
+ buffer[idx + 1] = avgG;
683
+ buffer[idx + 2] = avgB;
684
+ buffer[idx + 3] = avgA;
685
+ }
686
+ }
687
+ }
688
+ }
689
+ }
690
+ }
691
+ function applyBoxBlur(buffer, bufWidth, bufHeight, x0, y0, x1, y1, radius) {
692
+ const regionW = x1 - x0;
693
+ const regionH = y1 - y0;
694
+ const temp = Buffer.alloc(regionW * regionH * 4);
695
+ for (let y = 0; y < regionH; y += 1) {
696
+ const srcOffset = ((y0 + y) * bufWidth + x0) * 4;
697
+ const dstOffset = y * regionW * 4;
698
+ buffer.copy(temp, dstOffset, srcOffset, srcOffset + regionW * 4);
699
+ }
700
+ const out = Buffer.alloc(regionW * regionH * 4);
701
+ const passes = 3;
702
+ for (let pass = 0; pass < passes; pass += 1) {
703
+ const src = pass === 0 ? temp : out;
704
+ for (let y = 0; y < regionH; y += 1) {
705
+ for (let x = 0; x < regionW; x += 1) {
706
+ let r = 0;
707
+ let g = 0;
708
+ let b = 0;
709
+ let a = 0;
710
+ let count = 0;
711
+ const kStart = Math.max(0, x - radius);
712
+ const kEnd = Math.min(regionW - 1, x + radius);
713
+ for (let k = kStart; k <= kEnd; k += 1) {
714
+ const idx2 = (y * regionW + k) * 4;
715
+ r += src[idx2];
716
+ g += src[idx2 + 1];
717
+ b += src[idx2 + 2];
718
+ a += src[idx2 + 3];
719
+ count += 1;
720
+ }
721
+ const idx = (y * regionW + x) * 4;
722
+ out[idx] = Math.round(r / count);
723
+ out[idx + 1] = Math.round(g / count);
724
+ out[idx + 2] = Math.round(b / count);
725
+ out[idx + 3] = Math.round(a / count);
726
+ }
727
+ }
728
+ out.copy(temp);
729
+ for (let y = 0; y < regionH; y += 1) {
730
+ for (let x = 0; x < regionW; x += 1) {
731
+ let r = 0;
732
+ let g = 0;
733
+ let b = 0;
734
+ let a = 0;
735
+ let count = 0;
736
+ const kStart = Math.max(0, y - radius);
737
+ const kEnd = Math.min(regionH - 1, y + radius);
738
+ for (let k = kStart; k <= kEnd; k += 1) {
739
+ const idx2 = (k * regionW + x) * 4;
740
+ r += temp[idx2];
741
+ g += temp[idx2 + 1];
742
+ b += temp[idx2 + 2];
743
+ a += temp[idx2 + 3];
744
+ count += 1;
745
+ }
746
+ const idx = (y * regionW + x) * 4;
747
+ out[idx] = Math.round(r / count);
748
+ out[idx + 1] = Math.round(g / count);
749
+ out[idx + 2] = Math.round(b / count);
750
+ out[idx + 3] = Math.round(a / count);
751
+ }
752
+ }
753
+ if (pass < passes - 1) {
754
+ out.copy(temp);
755
+ }
756
+ }
757
+ for (let y = 0; y < regionH; y += 1) {
758
+ const srcOffset = y * regionW * 4;
759
+ const dstOffset = ((y0 + y) * bufWidth + x0) * 4;
760
+ out.copy(buffer, dstOffset, srcOffset, srcOffset + regionW * 4);
761
+ }
762
+ }
763
+ function applyMosaic(buffer, bufWidth, bufHeight, regions, scale) {
764
+ if (!regions || regions.length === 0) {
765
+ return;
766
+ }
767
+ regions.forEach((region) => {
768
+ const px = Math.round(region.x * scale);
769
+ const py = Math.round(region.y * scale);
770
+ const pw = Math.round(region.w * scale);
771
+ const ph = Math.round(region.h * scale);
772
+ const x0 = Math.max(0, px);
773
+ const y0 = Math.max(0, py);
774
+ const x1 = Math.min(bufWidth, px + pw);
775
+ const y1 = Math.min(bufHeight, py + ph);
776
+ if (x1 <= x0 || y1 <= y0) {
777
+ return;
778
+ }
779
+ const blockSize = Math.max(1, Math.round((region.blockSize || 10) * scale));
780
+ if (region.mode === "blur") {
781
+ applyBoxBlur(buffer, bufWidth, bufHeight, x0, y0, x1, y1, blockSize);
782
+ } else {
783
+ applyPixelate(buffer, bufWidth, x0, y0, x1, y1, blockSize);
784
+ }
785
+ });
786
+ }
627
787
  let nativeAddon;
628
788
  try {
629
789
  nativeAddon = require$1("./bin/index.js");
@@ -687,7 +847,14 @@ const cropHdrF16 = async (rawBuffer, width, height, rect) => {
687
847
  }
688
848
  };
689
849
  const cropAndGetPngFromBuffer = async (sessionData, rect) => {
690
- logger$1.info("开始多屏幕混合裁剪, 选区:", { rect });
850
+ logger$1.info("开始多屏幕混合裁剪, 选区:", {
851
+ data: {
852
+ width: rect.width,
853
+ height: rect.height,
854
+ x: rect.x,
855
+ y: rect.y
856
+ }
857
+ });
691
858
  if (!sessionData || sessionData.length === 0) {
692
859
  logger$1.error("裁剪失败: sessionData 为空!");
693
860
  throw new Error("截屏会话数据为空,请重启截图。");
@@ -776,6 +943,19 @@ const cropAndGetPngFromBuffer = async (sessionData, rect) => {
776
943
  }
777
944
  }
778
945
  });
946
+ if (rect.mosaicRegions && rect.mosaicRegions.length > 0) {
947
+ logger$1.info(`正在应用马赛克/模糊, 区域数: ${rect.mosaicRegions.length}`);
948
+ applyMosaic(finalBuffer, targetWidth, targetHeight, rect.mosaicRegions, targetScale);
949
+ }
950
+ if (rect.overlayData && rect.overlayData.buffer) {
951
+ logger$1.info("正在合成标注叠加层...");
952
+ const overlayBuf = Buffer.isBuffer(rect.overlayData.buffer) ? rect.overlayData.buffer : Buffer.from(rect.overlayData.buffer);
953
+ applyOverlay(finalBuffer, targetWidth, targetHeight, {
954
+ buffer: overlayBuf,
955
+ width: rect.overlayData.width,
956
+ height: rect.overlayData.height
957
+ }, targetScale);
958
+ }
779
959
  if (rect.borderRadius && rect.borderRadius > 0) {
780
960
  const radius = Math.round(rect.borderRadius * targetScale);
781
961
  applyBorderRadius(finalBuffer, targetWidth, targetHeight, radius);
@@ -869,6 +1049,19 @@ const cropAndSaveScaledFromBuffer = async (sessionData, rect, options = {}) => {
869
1049
  }
870
1050
  }
871
1051
  });
1052
+ if (rect.mosaicRegions && rect.mosaicRegions.length > 0) {
1053
+ logger$1.info(`正在应用马赛克/模糊 (save), 区域数: ${rect.mosaicRegions.length}`);
1054
+ applyMosaic(finalBuffer, targetWidth, targetHeight, rect.mosaicRegions, targetScale);
1055
+ }
1056
+ if (rect.overlayData && rect.overlayData.buffer) {
1057
+ logger$1.info("正在合成标注叠加层 (save)...");
1058
+ const overlayBuf = Buffer.isBuffer(rect.overlayData.buffer) ? rect.overlayData.buffer : Buffer.from(rect.overlayData.buffer);
1059
+ applyOverlay(finalBuffer, targetWidth, targetHeight, {
1060
+ buffer: overlayBuf,
1061
+ width: rect.overlayData.width,
1062
+ height: rect.overlayData.height
1063
+ }, targetScale);
1064
+ }
872
1065
  if (rect.borderRadius && rect.borderRadius > 0) {
873
1066
  const radius = Math.round(rect.borderRadius * targetScale);
874
1067
  applyBorderRadius(finalBuffer, targetWidth, targetHeight, radius);
@@ -911,8 +1104,10 @@ const cropAndSaveScaledFromBuffer = async (sessionData, rect, options = {}) => {
911
1104
  height: Math.round(inter.height * hdrScale)
912
1105
  };
913
1106
  logger$1.info("裁剪 HDR 原始数据:", {
914
- displaySize: `${hdrDisplay.width}x${hdrDisplay.height}`,
915
- cropRect: hdrCropRect
1107
+ data: {
1108
+ displaySize: `${hdrDisplay.width}x${hdrDisplay.height}`,
1109
+ cropRect: hdrCropRect
1110
+ }
916
1111
  });
917
1112
  const croppedHdrBuffer = await cropHdrF16(
918
1113
  hdrDisplay.rawHdrBuffer,
@@ -1477,14 +1672,14 @@ const ipcHandlers = [
1477
1672
  {
1478
1673
  type: "copy-capture",
1479
1674
  handler: () => async (rect) => {
1480
- logger.info("收到 copy-capture 请求, rect:", rect);
1675
+ logger.info("收到 copy-capture 请求");
1481
1676
  if (!currentCaptureSession) {
1482
1677
  logger.error("copy-capture 失败: 没有当前的截图会话");
1483
1678
  return null;
1484
1679
  }
1485
1680
  try {
1486
1681
  if (!rect || rect.width <= 0 || rect.height <= 0) {
1487
- logger.error("copy-capture 失败: 无效的选区尺寸", rect);
1682
+ logger.error("copy-capture 失败: 无效的选区尺寸");
1488
1683
  return false;
1489
1684
  }
1490
1685
  logger.info("开始进行裁剪编码...");
package/dist/overlay.css CHANGED
@@ -1 +1 @@
1
- .frozen-screens-layer[data-v-0b001d45]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;pointer-events:none}.frozen-screen[data-v-0b001d45]{position:absolute}.frozen-screen img[data-v-0b001d45]{width:100%;height:100%;object-fit:fill;display:block}.action-toolbar-container[data-v-ebf36e2e]{position:absolute;display:flex;flex-direction:column;align-items:flex-end;z-index:100;pointer-events:none}.action-toolbar-main[data-v-ebf36e2e]{display:flex;padding:4px;background:#1e1e1ef2;border-radius:8px;box-shadow:0 4px 20px #0006;backdrop-filter:blur(12px);border:1px solid rgb(255 255 255 / 10%);pointer-events:auto}.btn-group[data-v-ebf36e2e]{display:flex;align-items:center}.btn[data-v-ebf36e2e]{width:28px;height:28px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .15s ease;background:transparent;border-radius:4px;margin:0 1px}.btn[data-v-ebf36e2e]:hover{background:#ffffff26}.btn[data-v-ebf36e2e]:active{transform:scale(.95)}.btn.active[data-v-ebf36e2e]{background:#ffffff40;color:#adf}.divider[data-v-ebf36e2e]{width:1px;height:16px;background:#fff3;margin:0 4px}.btn-save[data-v-ebf36e2e]:hover{background:#4caf5099}.btn-copy[data-v-ebf36e2e]:hover{background:#2196f399}.btn-cancel[data-v-ebf36e2e]:hover{background:#f4433699}.size-settings-bar[data-v-ebf36e2e]{margin-top:4px;padding:4px 8px;background:#1e1e1ef2;border-radius:8px;box-shadow:0 4px 20px #0006;backdrop-filter:blur(12px);border:1px solid rgb(255 255 255 / 10%);pointer-events:auto;display:flex;align-items:center;gap:8px;height:36px;box-sizing:border-box}.size-inputs[data-v-ebf36e2e]{display:flex;align-items:center;gap:4px;font-family:monospace;font-size:13px;color:#eee}.size-input[data-v-ebf36e2e]{background:#0000004d;border:1px solid rgb(255 255 255 / 20%);border-radius:4px;color:#fff;padding:2px 4px;text-align:center;outline:none;font-family:inherit;font-size:inherit;min-width:4ch;height:22px;box-sizing:border-box}.size-input[data-v-ebf36e2e]:focus{border-color:#2196f3;background:#0000007f}.size-input[data-v-ebf36e2e]::-webkit-outer-spin-button,.size-input[data-v-ebf36e2e]::-webkit-inner-spin-button{appearance:none;margin:0}.size-separator[data-v-ebf36e2e]{color:#ffffff7f;font-size:12px}.size-unit[data-v-ebf36e2e]{color:#ffffff7f;font-size:12px;margin-left:2px}.btn-confirm[data-v-ebf36e2e]{border:none;background:#2196f3;color:#fff;border-radius:4px;padding:2px 8px;font-size:12px;cursor:pointer;height:22px;line-height:18px;transition:background .15s;white-space:nowrap}.btn-confirm[data-v-ebf36e2e]:hover{background:#42a5f5}.btn-confirm[data-v-ebf36e2e]:active{background:#1976d2}.radius-settings[data-v-ebf36e2e]{display:flex;align-items:center;gap:8px;width:100%;color:#eee;font-size:13px}.radius-label[data-v-ebf36e2e]{font-size:12px;color:#ffffffb3;white-space:nowrap}.radius-slider[data-v-ebf36e2e]{flex:1;height:4px;border-radius:2px;background:#ffffff4d;outline:none;cursor:pointer;accent-color:#2196f3;width:100px}.magnifier[data-v-37869409]{position:absolute;border-radius:4px;overflow:hidden;box-shadow:0 4px 12px #0000007f,0 0 0 1px #fff3;pointer-events:none;z-index:9999;background:#000;border:1px solid rgb(255 255 255 / 50%)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--blur-xs:4px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.-top-1\.5{top:calc(var(--spacing)*-1.5)}.-top-6{top:calc(var(--spacing)*-6)}.top-1{top:calc(var(--spacing)*1)}.top-1\/2{top:50%}.-right-1\.5{right:calc(var(--spacing)*-1.5)}.-bottom-1\.5{bottom:calc(var(--spacing)*-1.5)}.-left-1\.5{left:calc(var(--spacing)*-1.5)}.left-0{left:calc(var(--spacing)*0)}.left-1{left:calc(var(--spacing)*1)}.left-1\/2{left:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-99{z-index:99}.box-border{box-sizing:border-box}.flex{display:flex}.h-3{height:calc(var(--spacing)*3)}.h-full{height:100%}.h-screen{height:100vh}.w-3{width:calc(var(--spacing)*3)}.w-full{width:100%}.w-screen{width:100vw}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-e-resize{cursor:e-resize}.cursor-move{cursor:move}.cursor-n-resize{cursor:n-resize}.cursor-ne-resize{cursor:ne-resize}.cursor-nw-resize{cursor:nw-resize}.cursor-s-resize{cursor:s-resize}.cursor-se-resize{cursor:se-resize}.cursor-sw-resize{cursor:sw-resize}.cursor-w-resize{cursor:w-resize}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\[\#2196F3\]{border-color:#2196f3}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-\[\#2196F3\]{background-color:#2196f3}.bg-\[\#2196F3\]\/10{background-color:#2196f31a}.bg-black\/75{background-color:#000000bf}@supports (color:color-mix(in lab,red,red)){.bg-black\/75{background-color:color-mix(in oklab,var(--color-black)75%,transparent)}}.bg-white{background-color:var(--color-white)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-2{padding-block:calc(var(--spacing)*2)}.font-mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.whitespace-nowrap{white-space:nowrap}.text-\[\#FF5252\]{color:#ff5252}.text-white{color:var(--color-white)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-\[cubic-bezier\(0\.23\,1\,0\.32\,1\)\]{--tw-ease:cubic-bezier(.23,1,.32,1);transition-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;user-select:none}}html,body{background:0 0;width:100vw;height:100vh;margin:0;padding:0;overflow:hidden}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
1
+ .frozen-screens-layer[data-v-0b001d45]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;pointer-events:none}.frozen-screen[data-v-0b001d45]{position:absolute}.frozen-screen img[data-v-0b001d45]{width:100%;height:100%;object-fit:fill;display:block}.slider-control[data-v-99731249]{display:flex;align-items:center;gap:8px;color:#eee;font-size:13px}.slider-control--disabled[data-v-99731249]{opacity:.4;pointer-events:none}.slider-control__range[data-v-99731249]{flex:1;height:4px;border-radius:2px;background:#ffffff4d;outline:none;cursor:pointer;accent-color:#2196f3;width:100px}.slider-control__input[data-v-99731249]{background:#0000004d;border:1px solid rgb(255 255 255 / 20%);border-radius:4px;color:#fff;padding:2px 4px;text-align:center;outline:none;font-family:inherit;font-size:inherit;min-width:4ch;height:22px;box-sizing:border-box}.slider-control__input[data-v-99731249]:focus{border-color:#2196f3;background:#0000007f}.slider-control__input[data-v-99731249]::-webkit-outer-spin-button,.slider-control__input[data-v-99731249]::-webkit-inner-spin-button{appearance:none;margin:0}.slider-control__unit[data-v-99731249]{color:#ffffff7f;font-size:12px;margin-left:2px}.color-picker[data-v-0bf48d1f]{display:inline-flex;align-items:center;gap:6px}.color-picker__preview[data-v-0bf48d1f]{position:relative;width:22px;height:22px;border:1px solid rgb(255 255 255 / 30%);border-radius:4px;cursor:pointer;padding:0;overflow:hidden;background:transparent;flex-shrink:0}.color-picker__preview[data-v-0bf48d1f]:hover{border-color:#fff9}.color-picker__checker[data-v-0bf48d1f]{position:absolute;inset:0;background-image:linear-gradient(45deg,#808080 25%,transparent 25%),linear-gradient(-45deg,#808080 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#808080 75%),linear-gradient(-45deg,transparent 75%,#808080 75%);background-size:8px 8px;background-position:0 0,0 4px,4px -4px,-4px 0}.color-picker__swatch[data-v-0bf48d1f]{position:absolute;inset:0}.color-picker__native-input[data-v-0bf48d1f]{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.color-picker__alpha-slider[data-v-0bf48d1f]{height:4px;border-radius:2px;background:#ffffff4d;outline:none;cursor:pointer;accent-color:#2196f3;width:60px}.color-picker__alpha-value[data-v-0bf48d1f]{font-size:11px;color:#ffffffb3;min-width:28px;text-align:right;font-family:monospace}.action-toolbar-container[data-v-0775f86a]{position:absolute;display:flex;flex-direction:column;align-items:flex-end;z-index:100;pointer-events:none}.action-toolbar-main[data-v-0775f86a]{display:flex;padding:4px;background:#1e1e1ef2;border-radius:8px;box-shadow:0 4px 20px #0006;backdrop-filter:blur(12px);border:1px solid rgb(255 255 255 / 10%);pointer-events:auto}.btn-group[data-v-0775f86a]{display:flex;align-items:center}.btn[data-v-0775f86a]{width:28px;height:28px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .15s ease;background:transparent;border-radius:4px;margin:0 1px}.btn[data-v-0775f86a]:hover{background:#ffffff26}.btn[data-v-0775f86a]:active{transform:scale(.95)}.btn.active[data-v-0775f86a]{background:#ffffff40;color:#adf}.divider[data-v-0775f86a]{width:1px;height:16px;background:#fff3;margin:0 4px}.sub-divider[data-v-0775f86a]{width:1px;height:18px;background:#ffffff26;flex-shrink:0}.btn-save[data-v-0775f86a]:hover{background:#4caf5099}.btn-copy[data-v-0775f86a]:hover{background:#2196f399}.btn-cancel[data-v-0775f86a]:hover{background:#f4433699}.sub-panel[data-v-0775f86a]{margin-top:4px;padding:4px 8px;background:#1e1e1ef2;border-radius:8px;box-shadow:0 4px 20px #0006;backdrop-filter:blur(12px);border:1px solid rgb(255 255 255 / 10%);pointer-events:auto;display:flex;align-items:center;gap:8px;min-height:36px;box-sizing:border-box}.sub-panel__row[data-v-0775f86a]{display:flex;align-items:center;gap:8px;width:100%}.sub-panel__label[data-v-0775f86a]{font-size:12px;color:#ffffffb3;white-space:nowrap}.size-inputs[data-v-0775f86a]{display:flex;align-items:center;gap:4px;font-family:monospace;font-size:13px;color:#eee}.size-input[data-v-0775f86a]{background:#0000004d;border:1px solid rgb(255 255 255 / 20%);border-radius:4px;color:#fff;padding:2px 4px;text-align:center;outline:none;font-family:inherit;font-size:inherit;min-width:4ch;height:22px;box-sizing:border-box}.size-input[data-v-0775f86a]:focus{border-color:#2196f3;background:#0000007f}.size-input[data-v-0775f86a]::-webkit-outer-spin-button,.size-input[data-v-0775f86a]::-webkit-inner-spin-button{appearance:none;margin:0}.size-separator[data-v-0775f86a]{color:#ffffff7f;font-size:12px}.size-unit[data-v-0775f86a]{color:#ffffff7f;font-size:12px;margin-left:2px}.btn-confirm[data-v-0775f86a]{border:none;background:#2196f3;color:#fff;border-radius:4px;padding:2px 8px;font-size:12px;cursor:pointer;height:22px;line-height:18px;transition:background .15s;white-space:nowrap}.btn-confirm[data-v-0775f86a]:hover{background:#42a5f5}.btn-confirm[data-v-0775f86a]:active{background:#1976d2}.rect-type-toggle[data-v-0775f86a]{display:flex;gap:2px;background:#ffffff14;border-radius:4px;padding:2px;flex-shrink:0}.rect-type-btn[data-v-0775f86a]{width:24px;height:22px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff9;background:transparent;border-radius:3px;transition:all .15s ease}.rect-type-btn[data-v-0775f86a]:hover{color:#fff;background:#ffffff1f}.rect-type-btn--active[data-v-0775f86a]{color:#adf;background:#fff3}.magnifier[data-v-37869409]{position:absolute;border-radius:4px;overflow:hidden;box-shadow:0 4px 12px #0000007f,0 0 0 1px #fff3;pointer-events:none;z-index:9999;background:#000;border:1px solid rgb(255 255 255 / 50%)}.mosaic-wrapper{pointer-events:none;border:1px dashed rgb(255 255 255 / 50%);box-sizing:border-box;overflow:hidden}.mosaic-canvas{display:block;pointer-events:none}.text-annotation{user-select:none;text-shadow:0 1px 2px rgb(0 0 0 / 50%)}.text-annotation-input{background:transparent;border:1px dashed rgb(255 255 255 / 60%);outline:none;resize:none;overflow:hidden;padding:2px 4px;text-shadow:0 1px 2px rgb(0 0 0 / 50%);box-sizing:content-box}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-400:oklch(70.7% .165 254.624);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--blur-xs:4px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.-top-1{top:calc(var(--spacing)*-1)}.-top-1\.5{top:calc(var(--spacing)*-1.5)}.-top-6{top:calc(var(--spacing)*-6)}.top-1{top:calc(var(--spacing)*1)}.top-1\/2{top:50%}.-right-1{right:calc(var(--spacing)*-1)}.-right-1\.5{right:calc(var(--spacing)*-1.5)}.-bottom-1{bottom:calc(var(--spacing)*-1)}.-bottom-1\.5{bottom:calc(var(--spacing)*-1.5)}.-left-1{left:calc(var(--spacing)*-1)}.-left-1\.5{left:calc(var(--spacing)*-1.5)}.left-0{left:calc(var(--spacing)*0)}.left-1{left:calc(var(--spacing)*1)}.left-1\/2{left:50%}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-99{z-index:99}.box-border{box-sizing:border-box}.flex{display:flex}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-full{height:100%}.h-screen{height:100vh}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-full{width:100%}.w-screen{width:100vw}.flex-shrink{flex-shrink:1}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-crosshair{cursor:crosshair}.cursor-e-resize{cursor:e-resize}.cursor-move{cursor:move}.cursor-n-resize{cursor:n-resize}.cursor-ne-resize{cursor:ne-resize}.cursor-nw-resize{cursor:nw-resize}.cursor-s-resize{cursor:s-resize}.cursor-se-resize{cursor:se-resize}.cursor-sw-resize{cursor:sw-resize}.cursor-w-resize{cursor:w-resize}.resize{resize:both}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\[\#2196F3\]{border-color:#2196f3}.border-blue-400{border-color:var(--color-blue-400)}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-\[\#2196F3\]{background-color:#2196f3}.bg-\[\#2196F3\]\/10{background-color:#2196f31a}.bg-black\/75{background-color:#000000bf}@supports (color:color-mix(in lab,red,red)){.bg-black\/75{background-color:color-mix(in oklab,var(--color-black)75%,transparent)}}.bg-white{background-color:var(--color-white)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-2{padding-block:calc(var(--spacing)*2)}.font-mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.whitespace-nowrap{white-space:nowrap}.text-\[\#FF5252\]{color:#ff5252}.text-white{color:var(--color-white)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-\[cubic-bezier\(0\.23\,1\,0\.32\,1\)\]{--tw-ease:cubic-bezier(.23,1,.32,1);transition-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;user-select:none}}html,body{background:0 0;width:100vw;height:100vh;margin:0;padding:0;overflow:hidden}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
package/dist/overlay.js CHANGED
@@ -1,3 +1,5 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Gs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const J={},bt=[],ze=()=>{},to=()=>!1,ds=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Js=e=>e.startsWith("onUpdate:"),ge=Object.assign,Zs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},so=Object.prototype.hasOwnProperty,B=(e,t)=>so.call(e,t),L=Array.isArray,wt=e=>hs(e)==="[object Map]",Gn=e=>hs(e)==="[object Set]",H=e=>typeof e=="function",se=e=>typeof e=="string",tt=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",Jn=e=>(te(e)||H(e))&&H(e.then)&&H(e.catch),Zn=Object.prototype.toString,hs=e=>Zn.call(e),no=e=>hs(e).slice(8,-1),Qn=e=>hs(e)==="[object Object]",Qs=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=Gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ps=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},io=/-(\w)/g,et=ps(e=>e.replace(io,(t,n)=>n?n.toUpperCase():"")),oo=/\B([A-Z])/g,dt=ps(e=>e.replace(oo,"-$1").toLowerCase()),ei=ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ts=ps(e=>e?`on${ei(e)}`:""),Ze=(e,t)=>!Object.is(e,t),ss=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ti=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},zs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let bn;const gs=()=>bn||(bn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Me(e){if(L(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=se(s)?fo(s):Me(s);if(i)for(const o in i)t[o]=i[o]}return t}else if(se(e)||te(e))return e}const ro=/;(?![^(]*\))/g,lo=/:([^]+)/,co=/\/\*[^]*?\*\//g;function fo(e){const t={};return e.replace(co,"").split(ro).forEach(n=>{if(n){const s=n.split(lo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Lt(e){let t="";if(se(e))t=e;else if(L(e))for(let n=0;n<e.length;n++){const s=Lt(e[n]);s&&(t+=s+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const uo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ao=Gs(uo);function si(e){return!!e||e===""}const ni=e=>!!(e&&e.__v_isRef===!0),ct=e=>se(e)?e:e==null?"":L(e)||te(e)&&(e.toString===Zn||!H(e.toString))?ni(e)?ct(e.value):JSON.stringify(e,ii,2):String(e),ii=(e,t)=>ni(t)?ii(e,t.value):wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],o)=>(n[Cs(s,o)+" =>"]=i,n),{})}:Gn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Cs(n))}:tt(t)?Cs(t):te(t)&&!L(t)&&!Qn(t)?String(t):t,Cs=(e,t="")=>{var n;return tt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ye;class ho{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){ye=this}off(){ye=this.parent}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function po(){return ye}let Q;const As=new WeakSet;class oi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ye&&ye.active&&ye.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,As.has(this)&&(As.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||li(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,wn(this),ci(this);const t=Q,n=Ee;Q=this,Ee=!0;try{return this.fn()}finally{fi(this),Q=t,Ee=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)sn(t);this.deps=this.depsTail=void 0,wn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?As.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ns(this)&&this.run()}get dirty(){return Ns(this)}}let ri=0,It,Dt;function li(e,t=!1){if(e.flags|=8,t){e.next=Dt,Dt=e;return}e.next=It,It=e}function en(){ri++}function tn(){if(--ri>0)return;if(Dt){let t=Dt;for(Dt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;It;){let t=It;for(It=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ci(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function fi(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),sn(s),go(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Ns(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ui(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ui(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ht))return;e.globalVersion=Ht;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ns(e)){e.flags&=-3;return}const n=Q,s=Ee;Q=e,Ee=!0;try{ci(e);const i=e.fn(e._value);(t.version===0||Ze(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Q=n,Ee=s,fi(e),e.flags&=-3}}function sn(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)sn(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function go(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ee=!0;const ai=[];function st(){ai.push(Ee),Ee=!1}function nt(){const e=ai.pop();Ee=e===void 0?!0:e}function wn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Q;Q=void 0;try{t()}finally{Q=n}}}let Ht=0;class mo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class nn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Q||!Ee||Q===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Q)n=this.activeLink=new mo(Q,this),Q.deps?(n.prevDep=Q.depsTail,Q.depsTail.nextDep=n,Q.depsTail=n):Q.deps=Q.depsTail=n,di(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Q.depsTail,n.nextDep=void 0,Q.depsTail.nextDep=n,Q.depsTail=n,Q.deps===n&&(Q.deps=s)}return n}trigger(t){this.version++,Ht++,this.notify(t)}notify(t){en();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{tn()}}}function di(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)di(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ls=new WeakMap,ft=Symbol(""),Hs=Symbol(""),Wt=Symbol("");function le(e,t,n){if(Ee&&Q){let s=Ls.get(e);s||Ls.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new nn),i.map=s,i.key=n),i.track()}}function je(e,t,n,s,i,o){const r=Ls.get(e);if(!r){Ht++;return}const l=c=>{c&&c.trigger()};if(en(),t==="clear")r.forEach(l);else{const c=L(e),d=c&&Qs(n);if(c&&n==="length"){const a=Number(s);r.forEach((h,m)=>{(m==="length"||m===Wt||!tt(m)&&m>=a)&&l(h)})}else switch((n!==void 0||r.has(void 0))&&l(r.get(n)),d&&l(r.get(Wt)),t){case"add":c?d&&l(r.get("length")):(l(r.get(ft)),wt(e)&&l(r.get(Hs)));break;case"delete":c||(l(r.get(ft)),wt(e)&&l(r.get(Hs)));break;case"set":wt(e)&&l(r.get(ft));break}}tn()}function pt(e){const t=U(e);return t===e?t:(le(t,"iterate",Wt),Pe(e)?t:t.map(ce))}function ms(e){return le(e=U(e),"iterate",Wt),e}const bo={__proto__:null,[Symbol.iterator](){return Es(this,Symbol.iterator,ce)},concat(...e){return pt(this).concat(...e.map(t=>L(t)?pt(t):t))},entries(){return Es(this,"entries",e=>(e[1]=ce(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(ce),arguments)},find(e,t){return We(this,"find",e,t,ce,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,ce,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return Rs(this,"includes",e)},indexOf(...e){return Rs(this,"indexOf",e)},join(e){return pt(this).join(e)},lastIndexOf(...e){return Rs(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ct(this,"pop")},push(...e){return Ct(this,"push",e)},reduce(e,...t){return vn(this,"reduce",e,t)},reduceRight(e,...t){return vn(this,"reduceRight",e,t)},shift(){return Ct(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ct(this,"splice",e)},toReversed(){return pt(this).toReversed()},toSorted(e){return pt(this).toSorted(e)},toSpliced(...e){return pt(this).toSpliced(...e)},unshift(...e){return Ct(this,"unshift",e)},values(){return Es(this,"values",ce)}};function Es(e,t,n){const s=ms(e),i=s[t]();return s!==e&&!Pe(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const wo=Array.prototype;function We(e,t,n,s,i,o){const r=ms(e),l=r!==e&&!Pe(e),c=r[t];if(c!==wo[t]){const h=c.apply(e,o);return l?ce(h):h}let d=n;r!==e&&(l?d=function(h,m){return n.call(this,ce(h),m,e)}:n.length>2&&(d=function(h,m){return n.call(this,h,m,e)}));const a=c.call(r,d,s);return l&&i?i(a):a}function vn(e,t,n,s){const i=ms(e);let o=n;return i!==e&&(Pe(e)?n.length>3&&(o=function(r,l,c){return n.call(this,r,l,c,e)}):o=function(r,l,c){return n.call(this,r,ce(l),c,e)}),i[t](o,...s)}function Rs(e,t,n){const s=U(e);le(s,"iterate",Wt);const i=s[t](...n);return(i===-1||i===!1)&&ln(n[0])?(n[0]=U(n[0]),s[t](...n)):i}function Ct(e,t,n=[]){st(),en();const s=U(e)[t].apply(e,n);return tn(),nt(),s}const vo=Gs("__proto__,__v_isRef,__isVue"),hi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tt));function yo(e){tt(e)||(e=String(e));const t=U(this);return le(t,"has",e),t.hasOwnProperty(e)}class pi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?Ro:wi:o?bi:mi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=L(t);if(!i){let c;if(r&&(c=bo[n]))return c;if(n==="hasOwnProperty")return yo}const l=Reflect.get(t,n,fe(t)?t:s);return(tt(n)?hi.has(n):vo(n))||(i||le(t,"get",n),o)?l:fe(l)?r&&Qs(n)?l:l.value:te(l)?i?vi(l):bs(l):l}}class gi extends pi{constructor(t=!1){super(!1,t)}set(t,n,s,i){let o=t[n];if(!this._isShallow){const c=ut(o);if(!Pe(s)&&!ut(s)&&(o=U(o),s=U(s)),!L(t)&&fe(o)&&!fe(s))return c?!1:(o.value=s,!0)}const r=L(t)&&Qs(n)?Number(n)<t.length:B(t,n),l=Reflect.set(t,n,s,fe(t)?t:i);return t===U(i)&&(r?Ze(s,o)&&je(t,"set",n,s):je(t,"add",n,s)),l}deleteProperty(t,n){const s=B(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&s&&je(t,"delete",n,void 0),i}has(t,n){const s=Reflect.has(t,n);return(!tt(n)||!hi.has(n))&&le(t,"has",n),s}ownKeys(t){return le(t,"iterate",L(t)?"length":ft),Reflect.ownKeys(t)}}class xo extends pi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const _o=new gi,So=new xo,Mo=new gi(!0);const Ws=e=>e,Gt=e=>Reflect.getPrototypeOf(e);function Po(e,t,n){return function(...s){const i=this.__v_raw,o=U(i),r=wt(o),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,d=i[e](...s),a=n?Ws:t?Ys:ce;return!t&&le(o,"iterate",c?Hs:ft),{next(){const{value:h,done:m}=d.next();return m?{value:h,done:m}:{value:l?[a(h[0]),a(h[1])]:a(h),done:m}},[Symbol.iterator](){return this}}}}function Jt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function To(e,t){const n={get(i){const o=this.__v_raw,r=U(o),l=U(i);e||(Ze(i,l)&&le(r,"get",i),le(r,"get",l));const{has:c}=Gt(r),d=t?Ws:e?Ys:ce;if(c.call(r,i))return d(o.get(i));if(c.call(r,l))return d(o.get(l));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!e&&le(U(i),"iterate",ft),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,r=U(o),l=U(i);return e||(Ze(i,l)&&le(r,"has",i),le(r,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const r=this,l=r.__v_raw,c=U(l),d=t?Ws:e?Ys:ce;return!e&&le(c,"iterate",ft),l.forEach((a,h)=>i.call(o,d(a),d(h),r))}};return ge(n,e?{add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear")}:{add(i){!t&&!Pe(i)&&!ut(i)&&(i=U(i));const o=U(this);return Gt(o).has.call(o,i)||(o.add(i),je(o,"add",i,i)),this},set(i,o){!t&&!Pe(o)&&!ut(o)&&(o=U(o));const r=U(this),{has:l,get:c}=Gt(r);let d=l.call(r,i);d||(i=U(i),d=l.call(r,i));const a=c.call(r,i);return r.set(i,o),d?Ze(o,a)&&je(r,"set",i,o):je(r,"add",i,o),this},delete(i){const o=U(this),{has:r,get:l}=Gt(o);let c=r.call(o,i);c||(i=U(i),c=r.call(o,i)),l&&l.call(o,i);const d=o.delete(i);return c&&je(o,"delete",i,void 0),d},clear(){const i=U(this),o=i.size!==0,r=i.clear();return o&&je(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Po(i,e,t)}),n}function on(e,t){const n=To(e,t);return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(B(n,i)&&i in s?n:s,i,o)}const Co={get:on(!1,!1)},Ao={get:on(!1,!0)},Eo={get:on(!0,!1)};const mi=new WeakMap,bi=new WeakMap,wi=new WeakMap,Ro=new WeakMap;function Oo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Io(e){return e.__v_skip||!Object.isExtensible(e)?0:Oo(no(e))}function bs(e){return ut(e)?e:rn(e,!1,_o,Co,mi)}function Do(e){return rn(e,!1,Mo,Ao,bi)}function vi(e){return rn(e,!0,So,Eo,wi)}function rn(e,t,n,s,i){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=Io(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function vt(e){return ut(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function ln(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function yi(e){return!B(e,"__v_skip")&&Object.isExtensible(e)&&ti(e,"__v_skip",!0),e}const ce=e=>te(e)?bs(e):e,Ys=e=>te(e)?vi(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function Xe(e){return Fo(e,!1)}function Fo(e,t){return fe(e)?e:new $o(e,t)}class $o{constructor(t,n){this.dep=new nn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:U(t),this._value=n?t:ce(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||ut(t);t=s?t:U(t),Ze(t,n)&&(this._rawValue=t,this._value=s?t:ce(t),this.dep.trigger())}}function qe(e){return fe(e)?e.value:e}const ko={get:(e,t,n)=>t==="__v_raw"?e:qe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return fe(i)&&!fe(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function xi(e){return vt(e)?e:new Proxy(e,ko)}class zo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new nn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ht-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Q!==this)return li(this,!0),!0}get value(){const t=this.dep.track();return ui(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function No(e,t,n=!1){let s,i;return H(e)?s=e:(s=e.get,i=e.set),new zo(s,i,n)}const Zt={},rs=new WeakMap;let lt;function Lo(e,t=!1,n=lt){if(n){let s=rs.get(n);s||rs.set(n,s=[]),s.push(e)}}function Ho(e,t,n=J){const{immediate:s,deep:i,once:o,scheduler:r,augmentJob:l,call:c}=n,d=C=>i?C:Pe(C)||i===!1||i===0?Ue(C,1):Ue(C);let a,h,m,v,M=!1,O=!1;if(fe(e)?(h=()=>e.value,M=Pe(e)):vt(e)?(h=()=>d(e),M=!0):L(e)?(O=!0,M=e.some(C=>vt(C)||Pe(C)),h=()=>e.map(C=>{if(fe(C))return C.value;if(vt(C))return d(C);if(H(C))return c?c(C,2):C()})):H(e)?t?h=c?()=>c(e,2):e:h=()=>{if(m){st();try{m()}finally{nt()}}const C=lt;lt=a;try{return c?c(e,3,[v]):e(v)}finally{lt=C}}:h=ze,t&&i){const C=h,W=i===!0?1/0:i;h=()=>Ue(C(),W)}const G=po(),z=()=>{a.stop(),G&&G.active&&Zs(G.effects,a)};if(o&&t){const C=t;t=(...W)=>{C(...W),z()}}let A=O?new Array(e.length).fill(Zt):Zt;const b=C=>{if(!(!(a.flags&1)||!a.dirty&&!C))if(t){const W=a.run();if(i||M||(O?W.some((P,_)=>Ze(P,A[_])):Ze(W,A))){m&&m();const P=lt;lt=a;try{const _=[W,A===Zt?void 0:O&&A[0]===Zt?[]:A,v];c?c(t,3,_):t(..._),A=W}finally{lt=P}}}else a.run()};return l&&l(b),a=new oi(h),a.scheduler=r?()=>r(b,!1):b,v=C=>Lo(C,!1,a),m=a.onStop=()=>{const C=rs.get(a);if(C){if(c)c(C,4);else for(const W of C)W();rs.delete(a)}},t?s?b(!0):A=a.run():r?r(b.bind(null,!0),!0):a.run(),z.pause=a.pause.bind(a),z.resume=a.resume.bind(a),z.stop=z,z}function Ue(e,t=1/0,n){if(t<=0||!te(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))Ue(e.value,t,n);else if(L(e))for(let s=0;s<e.length;s++)Ue(e[s],t,n);else if(Gn(e)||wt(e))e.forEach(s=>{Ue(s,t,n)});else if(Qn(e)){for(const s in e)Ue(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ue(e[s],t,n)}return e}function Bt(e,t,n,s){try{return s?e(...s):e()}catch(i){ws(i,t,n)}}function Le(e,t,n,s){if(H(e)){const i=Bt(e,t,n,s);return i&&Jn(i)&&i.catch(o=>{ws(o,t,n)}),i}if(L(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Le(e[o],t,n,s));return i}}function ws(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||J;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,d)===!1)return}l=l.parent}if(o){st(),Bt(o,null,10,[e,c,d]),nt();return}}Wo(e,n,i,s,r)}function Wo(e,t,n,s=!0,i=!1){if(i)throw e;console.error(e)}const de=[];let $e=-1;const yt=[];let Ge=null,gt=0;const _i=Promise.resolve();let ls=null;function Yo(e){const t=ls||_i;return e?t.then(this?e.bind(this):e):t}function jo(e){let t=$e+1,n=de.length;for(;t<n;){const s=t+n>>>1,i=de[s],o=Yt(i);o<e||o===e&&i.flags&2?t=s+1:n=s}return t}function cn(e){if(!(e.flags&1)){const t=Yt(e),n=de[de.length-1];!n||!(e.flags&2)&&t>=Yt(n)?de.push(e):de.splice(jo(t),0,e),e.flags|=1,Si()}}function Si(){ls||(ls=_i.then(Pi))}function Xo(e){L(e)?yt.push(...e):Ge&&e.id===-1?Ge.splice(gt+1,0,e):e.flags&1||(yt.push(e),e.flags|=1),Si()}function yn(e,t,n=$e+1){for(;n<de.length;n++){const s=de[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;de.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Mi(e){if(yt.length){const t=[...new Set(yt)].sort((n,s)=>Yt(n)-Yt(s));if(yt.length=0,Ge){Ge.push(...t);return}for(Ge=t,gt=0;gt<Ge.length;gt++){const n=Ge[gt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ge=null,gt=0}}const Yt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Pi(e){try{for($e=0;$e<de.length;$e++){const t=de[$e];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Bt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;$e<de.length;$e++){const t=de[$e];t&&(t.flags&=-2)}$e=-1,de.length=0,Mi(),ls=null,(de.length||yt.length)&&Pi()}}let Se=null,Ti=null;function cs(e){const t=Se;return Se=e,Ti=e&&e.type.__scopeId||null,t}function Uo(e,t=Se,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&In(-1);const o=cs(t);let r;try{r=e(...i)}finally{cs(o),s._d&&In(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function Qt(e,t){if(Se===null)return e;const n=_s(Se),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,r,l,c=J]=t[i];o&&(H(o)&&(o={mounted:o,updated:o}),o.deep&&Ue(r),s.push({dir:o,instance:n,value:r,oldValue:void 0,arg:l,modifiers:c}))}return e}function ot(e,t,n,s){const i=e.dirs,o=t&&t.dirs;for(let r=0;r<i.length;r++){const l=i[r];o&&(l.oldValue=o[r].value);let c=l.dir[s];c&&(st(),Le(c,n,8,[e.el,l,e,t]),nt())}}const Ci=Symbol("_vte"),Bo=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),xn=e=>e&&(e.defer||e.defer===""),_n=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Sn=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,js=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},Ai={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,o,r,l,c,d){const{mc:a,pc:h,pbc:m,o:{insert:v,querySelector:M,createText:O,createComment:G}}=d,z=Ft(t.props);let{shapeFlag:A,children:b,dynamicChildren:C}=t;if(e==null){const W=t.el=O(""),P=t.anchor=O("");v(W,n,s),v(P,n,s);const _=(I,Y)=>{A&16&&(i&&i.isCE&&(i.ce._teleportTarget=I),a(b,I,Y,i,o,r,l,c))},D=()=>{const I=t.target=js(t.props,M),Y=Ei(I,t,O,v);I&&(r!=="svg"&&_n(I)?r="svg":r!=="mathml"&&Sn(I)&&(r="mathml"),z||(_(I,Y),ns(t,!1)))};z&&(_(n,P),ns(t,!0)),xn(t.props)?ae(()=>{D(),t.el.__isMounted=!0},o):D()}else{if(xn(t.props)&&!e.el.__isMounted){ae(()=>{Ai.process(e,t,n,s,i,o,r,l,c,d),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const W=t.anchor=e.anchor,P=t.target=e.target,_=t.targetAnchor=e.targetAnchor,D=Ft(e.props),I=D?n:P,Y=D?W:_;if(r==="svg"||_n(P)?r="svg":(r==="mathml"||Sn(P))&&(r="mathml"),C?(m(e.dynamicChildren,C,I,i,o,r,l),an(e,t,!0)):c||h(e,t,I,Y,i,o,r,l,!1),z)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):es(t,n,W,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const V=t.target=js(t.props,M);V&&es(t,V,null,d,0)}else D&&es(t,P,_,d,1);ns(t,z)}},remove(e,t,n,{um:s,o:{remove:i}},o){const{shapeFlag:r,children:l,anchor:c,targetStart:d,targetAnchor:a,target:h,props:m}=e;if(h&&(i(d),i(a)),o&&i(c),r&16){const v=o||!Ft(m);for(let M=0;M<l.length;M++){const O=l[M];s(O,t,n,v,!!O.dynamicChildren)}}},move:es,hydrate:Vo};function es(e,t,n,{o:{insert:s},m:i},o=2){o===0&&s(e.targetAnchor,t,n);const{el:r,anchor:l,shapeFlag:c,children:d,props:a}=e,h=o===2;if(h&&s(r,t,n),(!h||Ft(a))&&c&16)for(let m=0;m<d.length;m++)i(d[m],t,n,2);h&&s(l,t,n)}function Vo(e,t,n,s,i,o,{o:{nextSibling:r,parentNode:l,querySelector:c,insert:d,createText:a}},h){const m=t.target=js(t.props,c);if(m){const v=Ft(t.props),M=m._lpa||m.firstChild;if(t.shapeFlag&16)if(v)t.anchor=h(r(e),t,l(e),n,s,i,o),t.targetStart=M,t.targetAnchor=M&&r(M);else{t.anchor=r(e);let O=M;for(;O;){if(O&&O.nodeType===8){if(O.data==="teleport start anchor")t.targetStart=O;else if(O.data==="teleport anchor"){t.targetAnchor=O,m._lpa=t.targetAnchor&&r(t.targetAnchor);break}}O=r(O)}t.targetAnchor||Ei(m,t,a,d),h(M&&r(M),t,m,n,s,i,o)}ns(t,v)}return t.anchor&&r(t.anchor)}const Ko=Ai;function ns(e,t){const n=e.ctx;if(n&&n.ut){let s,i;for(t?(s=e.el,i=e.anchor):(s=e.targetStart,i=e.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Ei(e,t,n,s){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[Ci]=o,e&&(s(i,e),s(o,e)),o}function fn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fn(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 Ri(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function fs(e,t,n,s,i=!1){if(L(e)){e.forEach((M,O)=>fs(M,t&&(L(t)?t[O]:t),n,s,i));return}if($t(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&fs(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?_s(s.component):s.el,r=i?null:o,{i:l,r:c}=e,d=t&&t.r,a=l.refs===J?l.refs={}:l.refs,h=l.setupState,m=U(h),v=h===J?()=>!1:M=>B(m,M);if(d!=null&&d!==c&&(se(d)?(a[d]=null,v(d)&&(h[d]=null)):fe(d)&&(d.value=null)),H(c))Bt(c,l,12,[r,a]);else{const M=se(c),O=fe(c);if(M||O){const G=()=>{if(e.f){const z=M?v(c)?h[c]:a[c]:c.value;i?L(z)&&Zs(z,o):L(z)?z.includes(o)||z.push(o):M?(a[c]=[o],v(c)&&(h[c]=a[c])):(c.value=[o],e.k&&(a[e.k]=c.value))}else M?(a[c]=r,v(c)&&(h[c]=r)):O&&(c.value=r,e.k&&(a[e.k]=r))};r?(G.id=-1,ae(G,n)):G()}}}gs().requestIdleCallback;gs().cancelIdleCallback;const $t=e=>!!e.type.__asyncLoader,Oi=e=>e.type.__isKeepAlive;function qo(e,t){Ii(e,"a",t)}function Go(e,t){Ii(e,"da",t)}function Ii(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(vs(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Oi(i.parent.vnode)&&Jo(s,t,n,i),i=i.parent}}function Jo(e,t,n,s){const i=vs(t,e,s,!0);Vt(()=>{Zs(s[t],i)},n)}function vs(e,t,n=pe,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{st();const l=Kt(n),c=Le(t,n,e,r);return l(),nt(),c});return s?i.unshift(o):i.push(o),o}}const Ve=e=>(t,n=pe)=>{(!Ut||e==="sp")&&vs(e,(...s)=>t(...s),n)},Zo=Ve("bm"),jt=Ve("m"),Qo=Ve("bu"),er=Ve("u"),tr=Ve("bum"),Vt=Ve("um"),sr=Ve("sp"),nr=Ve("rtg"),ir=Ve("rtc");function or(e,t=pe){vs("ec",e,t)}const rr=Symbol.for("v-ndc");function lr(e,t,n,s){let i;const o=n,r=L(e);if(r||se(e)){const l=r&&vt(e);let c=!1;l&&(c=!Pe(e),e=ms(e)),i=new Array(e.length);for(let d=0,a=e.length;d<a;d++)i[d]=t(c?ce(e[d]):e[d],d,void 0,o)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,o)}else if(te(e))if(e[Symbol.iterator])i=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const a=l[c];i[c]=t(e[a],a,c,o)}}else i=[];return i}const Xs=e=>e?Zi(e)?_s(e):Xs(e.parent):null,kt=ge(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=>Xs(e.parent),$root:e=>Xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fi(e),$forceUpdate:e=>e.f||(e.f=()=>{cn(e.update)}),$nextTick:e=>e.n||(e.n=Yo.bind(e.proxy)),$watch:e=>Er.bind(e)}),Os=(e,t)=>e!==J&&!e.__isScriptSetup&&B(e,t),cr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const v=r[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Os(s,t))return r[t]=1,s[t];if(i!==J&&B(i,t))return r[t]=2,i[t];if((d=e.propsOptions[0])&&B(d,t))return r[t]=3,o[t];if(n!==J&&B(n,t))return r[t]=4,n[t];Us&&(r[t]=0)}}const a=kt[t];let h,m;if(a)return t==="$attrs"&&le(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==J&&B(n,t))return r[t]=4,n[t];if(m=c.config.globalProperties,B(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return Os(i,t)?(i[t]=n,!0):s!==J&&B(s,t)?(s[t]=n,!0):B(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:o}},r){let l;return!!n[r]||e!==J&&B(e,r)||Os(t,r)||(l=o[0])&&B(l,r)||B(s,r)||B(kt,r)||B(i.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mn(e){return L(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Us=!0;function fr(e){const t=Fi(e),n=e.proxy,s=e.ctx;Us=!1,t.beforeCreate&&Pn(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:l,provide:c,inject:d,created:a,beforeMount:h,mounted:m,beforeUpdate:v,updated:M,activated:O,deactivated:G,beforeDestroy:z,beforeUnmount:A,destroyed:b,unmounted:C,render:W,renderTracked:P,renderTriggered:_,errorCaptured:D,serverPrefetch:I,expose:Y,inheritAttrs:V,components:ee,directives:re,filters:be}=t;if(d&&ur(d,s,null),r)for(const K in r){const X=r[K];H(X)&&(s[K]=X.bind(n))}if(i){const K=i.call(n,n);te(K)&&(e.data=bs(K))}if(Us=!0,o)for(const K in o){const X=o[K],Te=H(X)?X.bind(n,n):H(X.get)?X.get.bind(n,n):ze,Ke=!H(X)&&H(X.set)?X.set.bind(n):ze,He=Ne({get:Te,set:Ke});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>He.value,set:_e=>He.value=_e})}if(l)for(const K in l)Di(l[K],s,n,K);if(c){const K=H(c)?c.call(n):c;Reflect.ownKeys(K).forEach(X=>{Rt(X,K[X])})}a&&Pn(a,e,"c");function oe(K,X){L(X)?X.forEach(Te=>K(Te.bind(n))):X&&K(X.bind(n))}if(oe(Zo,h),oe(jt,m),oe(Qo,v),oe(er,M),oe(qo,O),oe(Go,G),oe(or,D),oe(ir,P),oe(nr,_),oe(tr,A),oe(Vt,C),oe(sr,I),L(Y))if(Y.length){const K=e.exposed||(e.exposed={});Y.forEach(X=>{Object.defineProperty(K,X,{get:()=>n[X],set:Te=>n[X]=Te})})}else e.exposed||(e.exposed={});W&&e.render===ze&&(e.render=W),V!=null&&(e.inheritAttrs=V),ee&&(e.components=ee),re&&(e.directives=re),I&&Ri(e)}function ur(e,t,n=ze){L(e)&&(e=Bs(e));for(const s in e){const i=e[s];let o;te(i)?"default"in i?o=Be(i.from||s,i.default,!0):o=Be(i.from||s):o=Be(i),fe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[s]=o}}function Pn(e,t,n){Le(L(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Di(e,t,n,s){let i=s.includes(".")?Bi(n,s):()=>n[s];if(se(e)){const o=t[e];H(o)&&Qe(i,o)}else if(H(e))Qe(i,e.bind(n));else if(te(e))if(L(e))e.forEach(o=>Di(o,t,n,s));else{const o=H(e.handler)?e.handler.bind(n):t[e.handler];H(o)&&Qe(i,o,e)}}function Fi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,l=o.get(t);let c;return l?c=l:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(d=>us(c,d,r,!0)),us(c,t,r)),te(t)&&o.set(t,c),c}function us(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&us(e,o,n,!0),i&&i.forEach(r=>us(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=ar[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const ar={data:Tn,props:Cn,emits:Cn,methods:Et,computed:Et,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Et,directives:Et,watch:hr,provide:Tn,inject:dr};function Tn(e,t){return t?e?function(){return ge(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function dr(e,t){return Et(Bs(e),Bs(t))}function Bs(e){if(L(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Et(e,t){return e?ge(Object.create(null),e,t):t}function Cn(e,t){return e?L(e)&&L(t)?[...new Set([...e,...t])]:ge(Object.create(null),Mn(e),Mn(t??{})):t}function hr(e,t){if(!e)return t;if(!t)return e;const n=ge(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function $i(){return{app:null,config:{isNativeTag:to,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let pr=0;function gr(e,t){return function(s,i=null){H(s)||(s=ge({},s)),i!=null&&!te(i)&&(i=null);const o=$i(),r=new WeakSet,l=[];let c=!1;const d=o.app={_uid:pr++,_component:s,_props:i,_container:null,_context:o,_instance:null,version:Gr,get config(){return o.config},set config(a){},use(a,...h){return r.has(a)||(a&&H(a.install)?(r.add(a),a.install(d,...h)):H(a)&&(r.add(a),a(d,...h))),d},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),d},component(a,h){return h?(o.components[a]=h,d):o.components[a]},directive(a,h){return h?(o.directives[a]=h,d):o.directives[a]},mount(a,h,m){if(!c){const v=d._ceVNode||Re(s,i);return v.appContext=o,m===!0?m="svg":m===!1&&(m=void 0),e(v,a,m),c=!0,d._container=a,a.__vue_app__=d,_s(v.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Le(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,h){return o.provides[a]=h,d},runWithContext(a){const h=xt;xt=d;try{return a()}finally{xt=h}}};return d}}let xt=null;function Rt(e,t){if(pe){let n=pe.provides;const s=pe.parent&&pe.parent.provides;s===n&&(n=pe.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=pe||Se;if(s||xt){const i=xt?xt._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&H(t)?t.call(s&&s.proxy):t}}const ki={},zi=()=>Object.create(ki),Ni=e=>Object.getPrototypeOf(e)===ki;function mr(e,t,n,s=!1){const i={},o=zi();e.propsDefaults=Object.create(null),Li(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=s?i:Do(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function br(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,l=U(i),[c]=e.propsOptions;let d=!1;if((s||r>0)&&!(r&16)){if(r&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let m=a[h];if(ys(e.emitsOptions,m))continue;const v=t[m];if(c)if(B(o,m))v!==o[m]&&(o[m]=v,d=!0);else{const M=et(m);i[M]=Vs(c,l,M,v,e,!1)}else v!==o[m]&&(o[m]=v,d=!0)}}}else{Li(e,t,i,o)&&(d=!0);let a;for(const h in l)(!t||!B(t,h)&&((a=dt(h))===h||!B(t,a)))&&(c?n&&(n[h]!==void 0||n[a]!==void 0)&&(i[h]=Vs(c,l,h,void 0,e,!0)):delete i[h]);if(o!==l)for(const h in o)(!t||!B(t,h))&&(delete o[h],d=!0)}d&&je(e.attrs,"set","")}function Li(e,t,n,s){const[i,o]=e.propsOptions;let r=!1,l;if(t)for(let c in t){if(Ot(c))continue;const d=t[c];let a;i&&B(i,a=et(c))?!o||!o.includes(a)?n[a]=d:(l||(l={}))[a]=d:ys(e.emitsOptions,c)||(!(c in s)||d!==s[c])&&(s[c]=d,r=!0)}if(o){const c=U(n),d=l||J;for(let a=0;a<o.length;a++){const h=o[a];n[h]=Vs(i,c,h,d[h],e,!B(d,h))}}return r}function Vs(e,t,n,s,i,o){const r=e[n];if(r!=null){const l=B(r,"default");if(l&&s===void 0){const c=r.default;if(r.type!==Function&&!r.skipFactory&&H(c)){const{propsDefaults:d}=i;if(n in d)s=d[n];else{const a=Kt(i);s=d[n]=c.call(null,t),a()}}else s=c;i.ce&&i.ce._setProp(n,s)}r[0]&&(o&&!l?s=!1:r[1]&&(s===""||s===dt(n))&&(s=!0))}return s}const wr=new WeakMap;function Hi(e,t,n=!1){const s=n?wr:t.propsCache,i=s.get(e);if(i)return i;const o=e.props,r={},l=[];let c=!1;if(!H(e)){const a=h=>{c=!0;const[m,v]=Hi(h,t,!0);ge(r,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return te(e)&&s.set(e,bt),bt;if(L(o))for(let a=0;a<o.length;a++){const h=et(o[a]);An(h)&&(r[h]=J)}else if(o)for(const a in o){const h=et(a);if(An(h)){const m=o[a],v=r[h]=L(m)||H(m)?{type:m}:ge({},m),M=v.type;let O=!1,G=!0;if(L(M))for(let z=0;z<M.length;++z){const A=M[z],b=H(A)&&A.name;if(b==="Boolean"){O=!0;break}else b==="String"&&(G=!1)}else O=H(M)&&M.name==="Boolean";v[0]=O,v[1]=G,(O||B(v,"default"))&&l.push(h)}}const d=[r,l];return te(e)&&s.set(e,d),d}function An(e){return e[0]!=="$"&&!Ot(e)}const Wi=e=>e[0]==="_"||e==="$stable",un=e=>L(e)?e.map(ke):[ke(e)],vr=(e,t,n)=>{if(t._n)return t;const s=Uo((...i)=>un(t(...i)),n);return s._c=!1,s},Yi=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Wi(i))continue;const o=e[i];if(H(o))t[i]=vr(i,o,s);else if(o!=null){const r=un(o);t[i]=()=>r}}},ji=(e,t)=>{const n=un(t);e.slots.default=()=>n},Xi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},yr=(e,t,n)=>{const s=e.slots=zi();if(e.vnode.shapeFlag&32){const i=t._;i?(Xi(s,t,n),n&&ti(s,"_",i,!0)):Yi(t,s)}else t&&ji(e,t)},xr=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,r=J;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Xi(i,t,n):(o=!t.$stable,Yi(t,i)),r=t}else t&&(ji(e,t),r={default:1});if(o)for(const l in i)!Wi(l)&&r[l]==null&&delete i[l]},ae=kr;function _r(e){return Sr(e)}function Sr(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:l,createComment:c,setText:d,setElementText:a,parentNode:h,nextSibling:m,setScopeId:v=ze,insertStaticContent:M}=e,O=(f,u,p,y=null,g=null,w=null,E=void 0,T=null,S=!!u.dynamicChildren)=>{if(f===u)return;f&&!At(f,u)&&(y=ht(f),_e(f,g,w,!0),f=null),u.patchFlag===-2&&(S=!1,u.dynamicChildren=null);const{type:x,ref:k,shapeFlag:R}=u;switch(x){case xs:G(f,u,p,y);break;case at:z(f,u,p,y);break;case Ds:f==null&&A(u,p,y,E);break;case Ce:ee(f,u,p,y,g,w,E,T,S);break;default:R&1?W(f,u,p,y,g,w,E,T,S):R&6?re(f,u,p,y,g,w,E,T,S):(R&64||R&128)&&x.process(f,u,p,y,g,w,E,T,S,Pt)}k!=null&&g&&fs(k,f&&f.ref,w,u||f,!u)},G=(f,u,p,y)=>{if(f==null)s(u.el=l(u.children),p,y);else{const g=u.el=f.el;u.children!==f.children&&d(g,u.children)}},z=(f,u,p,y)=>{f==null?s(u.el=c(u.children||""),p,y):u.el=f.el},A=(f,u,p,y)=>{[f.el,f.anchor]=M(f.children,u,p,y,f.el,f.anchor)},b=({el:f,anchor:u},p,y)=>{let g;for(;f&&f!==u;)g=m(f),s(f,p,y),f=g;s(u,p,y)},C=({el:f,anchor:u})=>{let p;for(;f&&f!==u;)p=m(f),i(f),f=p;i(u)},W=(f,u,p,y,g,w,E,T,S)=>{u.type==="svg"?E="svg":u.type==="math"&&(E="mathml"),f==null?P(u,p,y,g,w,E,T,S):I(f,u,g,w,E,T,S)},P=(f,u,p,y,g,w,E,T)=>{let S,x;const{props:k,shapeFlag:R,transition:$,dirs:N}=f;if(S=f.el=r(f.type,w,k&&k.is,k),R&8?a(S,f.children):R&16&&D(f.children,S,null,y,g,Is(f,w),E,T),N&&ot(f,null,y,"created"),_(S,f,f.scopeId,E,y),k){for(const Z in k)Z!=="value"&&!Ot(Z)&&o(S,Z,null,k[Z],w,y);"value"in k&&o(S,"value",null,k.value,w),(x=k.onVnodeBeforeMount)&&Fe(x,y,f)}N&&ot(f,null,y,"beforeMount");const j=Mr(g,$);j&&$.beforeEnter(S),s(S,u,p),((x=k&&k.onVnodeMounted)||j||N)&&ae(()=>{x&&Fe(x,y,f),j&&$.enter(S),N&&ot(f,null,y,"mounted")},g)},_=(f,u,p,y,g)=>{if(p&&v(f,p),y)for(let w=0;w<y.length;w++)v(f,y[w]);if(g){let w=g.subTree;if(u===w||Ki(w.type)&&(w.ssContent===u||w.ssFallback===u)){const E=g.vnode;_(f,E,E.scopeId,E.slotScopeIds,g.parent)}}},D=(f,u,p,y,g,w,E,T,S=0)=>{for(let x=S;x<f.length;x++){const k=f[x]=T?Je(f[x]):ke(f[x]);O(null,k,u,p,y,g,w,E,T)}},I=(f,u,p,y,g,w,E)=>{const T=u.el=f.el;let{patchFlag:S,dynamicChildren:x,dirs:k}=u;S|=f.patchFlag&16;const R=f.props||J,$=u.props||J;let N;if(p&&rt(p,!1),(N=$.onVnodeBeforeUpdate)&&Fe(N,p,u,f),k&&ot(u,f,p,"beforeUpdate"),p&&rt(p,!0),(R.innerHTML&&$.innerHTML==null||R.textContent&&$.textContent==null)&&a(T,""),x?Y(f.dynamicChildren,x,T,p,y,Is(u,g),w):E||X(f,u,T,null,p,y,Is(u,g),w,!1),S>0){if(S&16)V(T,R,$,p,g);else if(S&2&&R.class!==$.class&&o(T,"class",null,$.class,g),S&4&&o(T,"style",R.style,$.style,g),S&8){const j=u.dynamicProps;for(let Z=0;Z<j.length;Z++){const q=j[Z],we=R[q],me=$[q];(me!==we||q==="value")&&o(T,q,we,me,g,p)}}S&1&&f.children!==u.children&&a(T,u.children)}else!E&&x==null&&V(T,R,$,p,g);((N=$.onVnodeUpdated)||k)&&ae(()=>{N&&Fe(N,p,u,f),k&&ot(u,f,p,"updated")},y)},Y=(f,u,p,y,g,w,E)=>{for(let T=0;T<u.length;T++){const S=f[T],x=u[T],k=S.el&&(S.type===Ce||!At(S,x)||S.shapeFlag&70)?h(S.el):p;O(S,x,k,null,y,g,w,E,!0)}},V=(f,u,p,y,g)=>{if(u!==p){if(u!==J)for(const w in u)!Ot(w)&&!(w in p)&&o(f,w,u[w],null,g,y);for(const w in p){if(Ot(w))continue;const E=p[w],T=u[w];E!==T&&w!=="value"&&o(f,w,T,E,g,y)}"value"in p&&o(f,"value",u.value,p.value,g)}},ee=(f,u,p,y,g,w,E,T,S)=>{const x=u.el=f?f.el:l(""),k=u.anchor=f?f.anchor:l("");let{patchFlag:R,dynamicChildren:$,slotScopeIds:N}=u;N&&(T=T?T.concat(N):N),f==null?(s(x,p,y),s(k,p,y),D(u.children||[],p,k,g,w,E,T,S)):R>0&&R&64&&$&&f.dynamicChildren?(Y(f.dynamicChildren,$,p,g,w,E,T),(u.key!=null||g&&u===g.subTree)&&an(f,u,!0)):X(f,u,p,k,g,w,E,T,S)},re=(f,u,p,y,g,w,E,T,S)=>{u.slotScopeIds=T,f==null?u.shapeFlag&512?g.ctx.activate(u,p,y,E,S):be(u,p,y,g,w,E,S):St(f,u,S)},be=(f,u,p,y,g,w,E)=>{const T=f.component=Xr(f,y,g);if(Oi(f)&&(T.ctx.renderer=Pt),Ur(T,!1,E),T.asyncDep){if(g&&g.registerDep(T,oe,E),!f.el){const S=T.subTree=Re(at);z(null,S,u,p)}}else oe(T,f,u,p,g,w,E)},St=(f,u,p)=>{const y=u.component=f.component;if(Fr(f,u,p))if(y.asyncDep&&!y.asyncResolved){K(y,u,p);return}else y.next=u,y.update();else u.el=f.el,y.vnode=u},oe=(f,u,p,y,g,w,E)=>{const T=()=>{if(f.isMounted){let{next:R,bu:$,u:N,parent:j,vnode:Z}=f;{const Ie=Ui(f);if(Ie){R&&(R.el=Z.el,K(f,R,E)),Ie.asyncDep.then(()=>{f.isUnmounted||T()});return}}let q=R,we;rt(f,!1),R?(R.el=Z.el,K(f,R,E)):R=Z,$&&ss($),(we=R.props&&R.props.onVnodeBeforeUpdate)&&Fe(we,j,R,Z),rt(f,!0);const me=Rn(f),Oe=f.subTree;f.subTree=me,O(Oe,me,h(Oe.el),ht(Oe),f,g,w),R.el=me.el,q===null&&$r(f,me.el),N&&ae(N,g),(we=R.props&&R.props.onVnodeUpdated)&&ae(()=>Fe(we,j,R,Z),g)}else{let R;const{el:$,props:N}=u,{bm:j,m:Z,parent:q,root:we,type:me}=f,Oe=$t(u);rt(f,!1),j&&ss(j),!Oe&&(R=N&&N.onVnodeBeforeMount)&&Fe(R,q,u),rt(f,!0);{we.ce&&we.ce._injectChildStyle(me);const Ie=f.subTree=Rn(f);O(null,Ie,p,y,f,g,w),u.el=Ie.el}if(Z&&ae(Z,g),!Oe&&(R=N&&N.onVnodeMounted)){const Ie=u;ae(()=>Fe(R,q,Ie),g)}(u.shapeFlag&256||q&&$t(q.vnode)&&q.vnode.shapeFlag&256)&&f.a&&ae(f.a,g),f.isMounted=!0,u=p=y=null}};f.scope.on();const S=f.effect=new oi(T);f.scope.off();const x=f.update=S.run.bind(S),k=f.job=S.runIfDirty.bind(S);k.i=f,k.id=f.uid,S.scheduler=()=>cn(k),rt(f,!0),x()},K=(f,u,p)=>{u.component=f;const y=f.vnode.props;f.vnode=u,f.next=null,br(f,u.props,y,p),xr(f,u.children,p),st(),yn(f),nt()},X=(f,u,p,y,g,w,E,T,S=!1)=>{const x=f&&f.children,k=f?f.shapeFlag:0,R=u.children,{patchFlag:$,shapeFlag:N}=u;if($>0){if($&128){Ke(x,R,p,y,g,w,E,T,S);return}else if($&256){Te(x,R,p,y,g,w,E,T,S);return}}N&8?(k&16&&it(x,g,w),R!==x&&a(p,R)):k&16?N&16?Ke(x,R,p,y,g,w,E,T,S):it(x,g,w,!0):(k&8&&a(p,""),N&16&&D(R,p,y,g,w,E,T,S))},Te=(f,u,p,y,g,w,E,T,S)=>{f=f||bt,u=u||bt;const x=f.length,k=u.length,R=Math.min(x,k);let $;for($=0;$<R;$++){const N=u[$]=S?Je(u[$]):ke(u[$]);O(f[$],N,p,null,g,w,E,T,S)}x>k?it(f,g,w,!0,!1,R):D(u,p,y,g,w,E,T,S,R)},Ke=(f,u,p,y,g,w,E,T,S)=>{let x=0;const k=u.length;let R=f.length-1,$=k-1;for(;x<=R&&x<=$;){const N=f[x],j=u[x]=S?Je(u[x]):ke(u[x]);if(At(N,j))O(N,j,p,null,g,w,E,T,S);else break;x++}for(;x<=R&&x<=$;){const N=f[R],j=u[$]=S?Je(u[$]):ke(u[$]);if(At(N,j))O(N,j,p,null,g,w,E,T,S);else break;R--,$--}if(x>R){if(x<=$){const N=$+1,j=N<k?u[N].el:y;for(;x<=$;)O(null,u[x]=S?Je(u[x]):ke(u[x]),p,j,g,w,E,T,S),x++}}else if(x>$)for(;x<=R;)_e(f[x],g,w,!0),x++;else{const N=x,j=x,Z=new Map;for(x=j;x<=$;x++){const ve=u[x]=S?Je(u[x]):ke(u[x]);ve.key!=null&&Z.set(ve.key,x)}let q,we=0;const me=$-j+1;let Oe=!1,Ie=0;const Tt=new Array(me);for(x=0;x<me;x++)Tt[x]=0;for(x=N;x<=R;x++){const ve=f[x];if(we>=me){_e(ve,g,w,!0);continue}let De;if(ve.key!=null)De=Z.get(ve.key);else for(q=j;q<=$;q++)if(Tt[q-j]===0&&At(ve,u[q])){De=q;break}De===void 0?_e(ve,g,w,!0):(Tt[De-j]=x+1,De>=Ie?Ie=De:Oe=!0,O(ve,u[De],p,null,g,w,E,T,S),we++)}const gn=Oe?Pr(Tt):bt;for(q=gn.length-1,x=me-1;x>=0;x--){const ve=j+x,De=u[ve],mn=ve+1<k?u[ve+1].el:y;Tt[x]===0?O(null,De,p,mn,g,w,E,T,S):Oe&&(q<0||x!==gn[q]?He(De,p,mn,2):q--)}}},He=(f,u,p,y,g=null)=>{const{el:w,type:E,transition:T,children:S,shapeFlag:x}=f;if(x&6){He(f.component.subTree,u,p,y);return}if(x&128){f.suspense.move(u,p,y);return}if(x&64){E.move(f,u,p,Pt);return}if(E===Ce){s(w,u,p);for(let R=0;R<S.length;R++)He(S[R],u,p,y);s(f.anchor,u,p);return}if(E===Ds){b(f,u,p);return}if(y!==2&&x&1&&T)if(y===0)T.beforeEnter(w),s(w,u,p),ae(()=>T.enter(w),g);else{const{leave:R,delayLeave:$,afterLeave:N}=T,j=()=>s(w,u,p),Z=()=>{R(w,()=>{j(),N&&N()})};$?$(w,j,Z):Z()}else s(w,u,p)},_e=(f,u,p,y=!1,g=!1)=>{const{type:w,props:E,ref:T,children:S,dynamicChildren:x,shapeFlag:k,patchFlag:R,dirs:$,cacheIndex:N}=f;if(R===-2&&(g=!1),T!=null&&fs(T,null,p,f,!0),N!=null&&(u.renderCache[N]=void 0),k&256){u.ctx.deactivate(f);return}const j=k&1&&$,Z=!$t(f);let q;if(Z&&(q=E&&E.onVnodeBeforeUnmount)&&Fe(q,u,f),k&6)Ms(f.component,p,y);else{if(k&128){f.suspense.unmount(p,y);return}j&&ot(f,null,u,"beforeUnmount"),k&64?f.type.remove(f,u,p,Pt,y):x&&!x.hasOnce&&(w!==Ce||R>0&&R&64)?it(x,u,p,!1,!0):(w===Ce&&R&384||!g&&k&16)&&it(S,u,p),y&&qt(f)}(Z&&(q=E&&E.onVnodeUnmounted)||j)&&ae(()=>{q&&Fe(q,u,f),j&&ot(f,null,u,"unmounted")},p)},qt=f=>{const{type:u,el:p,anchor:y,transition:g}=f;if(u===Ce){Ss(p,y);return}if(u===Ds){C(f);return}const w=()=>{i(p),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(f.shapeFlag&1&&g&&!g.persisted){const{leave:E,delayLeave:T}=g,S=()=>E(p,w);T?T(f.el,w,S):S()}else w()},Ss=(f,u)=>{let p;for(;f!==u;)p=m(f),i(f),f=p;i(u)},Ms=(f,u,p)=>{const{bum:y,scope:g,job:w,subTree:E,um:T,m:S,a:x}=f;En(S),En(x),y&&ss(y),g.stop(),w&&(w.flags|=8,_e(E,f,u,p)),T&&ae(T,u),ae(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},it=(f,u,p,y=!1,g=!1,w=0)=>{for(let E=w;E<f.length;E++)_e(f[E],u,p,y,g)},ht=f=>{if(f.shapeFlag&6)return ht(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=m(f.anchor||f.el),p=u&&u[Ci];return p?m(p):u};let Mt=!1;const Ps=(f,u,p)=>{f==null?u._vnode&&_e(u._vnode,null,null,!0):O(u._vnode||null,f,u,null,null,null,p),u._vnode=f,Mt||(Mt=!0,yn(),Mi(),Mt=!1)},Pt={p:O,um:_e,m:He,r:qt,mt:be,mc:D,pc:X,pbc:Y,n:ht,o:e};return{render:Ps,hydrate:void 0,createApp:gr(Ps)}}function Is({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 rt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function an(e,t,n=!1){const s=e.children,i=t.children;if(L(s)&&L(i))for(let o=0;o<s.length;o++){const r=s[o];let l=i[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[o]=Je(i[o]),l.el=r.el),!n&&l.patchFlag!==-2&&an(r,l)),l.type===xs&&(l.el=r.el)}}function Pr(e){const t=e.slice(),n=[0];let s,i,o,r,l;const c=e.length;for(s=0;s<c;s++){const d=e[s];if(d!==0){if(i=n[n.length-1],e[i]<d){t[s]=i,n.push(s);continue}for(o=0,r=n.length-1;o<r;)l=o+r>>1,e[n[l]]<d?o=l+1:r=l;d<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}function Ui(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ui(t)}function En(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Tr=Symbol.for("v-scx"),Cr=()=>Be(Tr);function Ar(e,t){return dn(e,null,t)}function Qe(e,t,n){return dn(e,t,n)}function dn(e,t,n=J){const{immediate:s,deep:i,flush:o,once:r}=n,l=ge({},n),c=t&&s||!t&&o!=="post";let d;if(Ut){if(o==="sync"){const v=Cr();d=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=ze,v.resume=ze,v.pause=ze,v}}const a=pe;l.call=(v,M,O)=>Le(v,a,M,O);let h=!1;o==="post"?l.scheduler=v=>{ae(v,a&&a.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(v,M)=>{M?v():cn(v)}),l.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const m=Ho(e,t,l);return Ut&&(d?d.push(m):c&&m()),m}function Er(e,t,n){const s=this.proxy,i=se(e)?e.includes(".")?Bi(s,e):()=>s[e]:e.bind(s,s);let o;H(t)?o=t:(o=t.handler,n=t);const r=Kt(this),l=dn(i,o.bind(s),n);return r(),l}function Bi(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Rr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${et(t)}Modifiers`]||e[`${dt(t)}Modifiers`];function Or(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||J;let i=n;const o=t.startsWith("update:"),r=o&&Rr(s,t.slice(7));r&&(r.trim&&(i=n.map(a=>se(a)?a.trim():a)),r.number&&(i=n.map(zs)));let l,c=s[l=Ts(t)]||s[l=Ts(et(t))];!c&&o&&(c=s[l=Ts(dt(t))]),c&&Le(c,e,6,i);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Le(d,e,6,i)}}function Vi(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let r={},l=!1;if(!H(e)){const c=d=>{const a=Vi(d,t,!0);a&&(l=!0,ge(r,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(te(e)&&s.set(e,null),null):(L(o)?o.forEach(c=>r[c]=null):ge(r,o),te(e)&&s.set(e,r),r)}function ys(e,t){return!e||!ds(t)?!1:(t=t.slice(2).replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,dt(t))||B(e,t))}function Rn(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:r,attrs:l,emit:c,render:d,renderCache:a,props:h,data:m,setupState:v,ctx:M,inheritAttrs:O}=e,G=cs(e);let z,A;try{if(n.shapeFlag&4){const C=i||s,W=C;z=ke(d.call(W,C,a,h,v,m,M)),A=l}else{const C=t;z=ke(C.length>1?C(h,{attrs:l,slots:r,emit:c}):C(h,null)),A=t.props?l:Ir(l)}}catch(C){zt.length=0,ws(C,e,1),z=Re(at)}let b=z;if(A&&O!==!1){const C=Object.keys(A),{shapeFlag:W}=b;C.length&&W&7&&(o&&C.some(Js)&&(A=Dr(A,o)),b=_t(b,A,!1,!0))}return n.dirs&&(b=_t(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&fn(b,n.transition),z=b,cs(G),z}const Ir=e=>{let t;for(const n in e)(n==="class"||n==="style"||ds(n))&&((t||(t={}))[n]=e[n]);return t},Dr=(e,t)=>{const n={};for(const s in e)(!Js(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Fr(e,t,n){const{props:s,children:i,component:o}=e,{props:r,children:l,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?On(s,r,d):!!r;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const m=a[h];if(r[m]!==s[m]&&!ys(d,m))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===r?!1:s?r?On(s,r,d):!0:!!r;return!1}function On(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const o=s[i];if(t[o]!==e[o]&&!ys(n,o))return!0}return!1}function $r({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ki=e=>e.__isSuspense;function kr(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Xo(e)}const Ce=Symbol.for("v-fgt"),xs=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),Ds=Symbol.for("v-stc"),zt=[];let xe=null;function ne(e=!1){zt.push(xe=e?null:[])}function zr(){zt.pop(),xe=zt[zt.length-1]||null}let Xt=1;function In(e,t=!1){Xt+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function qi(e){return e.dynamicChildren=Xt>0?xe||bt:null,zr(),Xt>0&&xe&&xe.push(e),e}function he(e,t,n,s,i,o){return qi(F(e,t,n,s,i,o,!0))}function Nt(e,t,n,s,i){return qi(Re(e,t,n,s,i,!0))}function Gi(e){return e?e.__v_isVNode===!0:!1}function At(e,t){return e.type===t.type&&e.key===t.key}const Ji=({key:e})=>e??null,is=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||fe(e)||H(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function F(e,t=null,n=null,s=0,i=null,o=e===Ce?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ji(t),ref:t&&is(t),scopeId:Ti,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Se};return l?(hn(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Xt>0&&!r&&xe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&xe.push(c),c}const Re=Nr;function Nr(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===rr)&&(e=at),Gi(e)){const l=_t(e,t,!0);return n&&hn(l,n),Xt>0&&!o&&xe&&(l.shapeFlag&6?xe[xe.indexOf(e)]=l:xe.push(l)),l.patchFlag=-2,l}if(qr(e)&&(e=e.__vccOpts),t){t=Lr(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Lt(l)),te(c)&&(ln(c)&&!L(c)&&(c=ge({},c)),t.style=Me(c))}const r=se(e)?1:Ki(e)?128:Bo(e)?64:te(e)?4:H(e)?2:0;return F(e,t,n,s,i,r,o,!0)}function Lr(e){return e?ln(e)||Ni(e)?ge({},e):e:null}function _t(e,t,n=!1,s=!1){const{props:i,ref:o,patchFlag:r,children:l,transition:c}=e,d=t?Wr(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Ji(d),ref:t&&t.ref?n&&o?L(o)?o.concat(is(t)):[o,is(t)]:is(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&fn(a,c.clone(a)),a}function Hr(e=" ",t=0){return Re(xs,null,e,t)}function Ae(e="",t=!1){return t?(ne(),Nt(at,null,e)):Re(at,null,e)}function ke(e){return e==null||typeof e=="boolean"?Re(at):L(e)?Re(Ce,null,e.slice()):Gi(e)?Je(e):Re(xs,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function hn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),hn(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Ni(t)?t._ctx=Se:i===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[Hr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wr(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=Lt([t.class,s.class]));else if(i==="style")t.style=Me([t.style,s.style]);else if(ds(i)){const o=t[i],r=s[i];r&&o!==r&&!(L(o)&&o.includes(r))&&(t[i]=o?[].concat(o,r):r)}else i!==""&&(t[i]=s[i])}return t}function Fe(e,t,n,s=null){Le(e,t,7,[n,s])}const Yr=$i();let jr=0;function Xr(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||Yr,o={uid:jr++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ho(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(s,i),emitsOptions:Vi(s,i),emit:null,emitted:null,propsDefaults:J,inheritAttrs:s.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Or.bind(null,o),e.ce&&e.ce(o),o}let pe=null,as,Ks;{const e=gs(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};as=t("__VUE_INSTANCE_SETTERS__",n=>pe=n),Ks=t("__VUE_SSR_SETTERS__",n=>Ut=n)}const Kt=e=>{const t=pe;return as(e),e.scope.on(),()=>{e.scope.off(),as(t)}},Dn=()=>{pe&&pe.scope.off(),as(null)};function Zi(e){return e.vnode.shapeFlag&4}let Ut=!1;function Ur(e,t=!1,n=!1){t&&Ks(t);const{props:s,children:i}=e.vnode,o=Zi(e);mr(e,s,o,t),yr(e,i,n);const r=o?Br(e,t):void 0;return t&&Ks(!1),r}function Br(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cr);const{setup:s}=n;if(s){st();const i=e.setupContext=s.length>1?Kr(e):null,o=Kt(e),r=Bt(s,e,0,[e.props,i]),l=Jn(r);if(nt(),o(),(l||e.sp)&&!$t(e)&&Ri(e),l){if(r.then(Dn,Dn),t)return r.then(c=>{Fn(e,c)}).catch(c=>{ws(c,e,0)});e.asyncDep=r}else Fn(e,r)}else Qi(e)}function Fn(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=xi(t)),Qi(e)}function Qi(e,t,n){const s=e.type;e.render||(e.render=s.render||ze);{const i=Kt(e);st();try{fr(e)}finally{nt(),i()}}}const Vr={get(e,t){return le(e,"get",""),e[t]}};function Kr(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Vr),slots:e.slots,emit:e.emit,expose:t}}function _s(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xi(yi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kt)return kt[n](e)},has(t,n){return n in t||n in kt}})):e.proxy}function qr(e){return H(e)&&"__vccOpts"in e}const Ne=(e,t)=>No(e,t,Ut),Gr="3.5.13";let qs;const $n=typeof window<"u"&&window.trustedTypes;if($n)try{qs=$n.createPolicy("vue",{createHTML:e=>e})}catch{}const eo=qs?e=>qs.createHTML(e):e=>e,Jr="http://www.w3.org/2000/svg",Zr="http://www.w3.org/1998/Math/MathML",Ye=typeof document<"u"?document:null,kn=Ye&&Ye.createElement("template"),Qr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?Ye.createElementNS(Jr,e):t==="mathml"?Ye.createElementNS(Zr,e):n?Ye.createElement(e,{is:n}):Ye.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Ye.createTextNode(e),createComment:e=>Ye.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ye.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const r=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{kn.innerHTML=eo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=kn.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},el=Symbol("_vtc");function tl(e,t,n){const s=e[el];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zn=Symbol("_vod"),sl=Symbol("_vsh"),nl=Symbol(""),il=/(^|;)\s*display\s*:/;function ol(e,t,n){const s=e.style,i=se(n);let o=!1;if(n&&!i){if(t)if(se(t))for(const r of t.split(";")){const l=r.slice(0,r.indexOf(":")).trim();n[l]==null&&os(s,l,"")}else for(const r in t)n[r]==null&&os(s,r,"");for(const r in n)r==="display"&&(o=!0),os(s,r,n[r])}else if(i){if(t!==n){const r=s[nl];r&&(n+=";"+r),s.cssText=n,o=il.test(n)}}else t&&e.removeAttribute("style");zn in e&&(e[zn]=o?s.display:"",e[sl]&&(s.display="none"))}const Nn=/\s*!important$/;function os(e,t,n){if(L(n))n.forEach(s=>os(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=rl(e,t);Nn.test(n)?e.setProperty(dt(s),n.replace(Nn,""),"important"):e[s]=n}}const Ln=["Webkit","Moz","ms"],Fs={};function rl(e,t){const n=Fs[t];if(n)return n;let s=et(t);if(s!=="filter"&&s in e)return Fs[t]=s;s=ei(s);for(let i=0;i<Ln.length;i++){const o=Ln[i]+s;if(o in e)return Fs[t]=o}return t}const Hn="http://www.w3.org/1999/xlink";function Wn(e,t,n,s,i,o=ao(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Hn,t.slice(6,t.length)):e.setAttributeNS(Hn,t,n):n==null||o&&!si(n)?e.removeAttribute(t):e.setAttribute(t,o?"":tt(n)?String(n):n)}function Yn(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?eo(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=si(n):n==null&&l==="string"?(n="",r=!0):l==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(i||t)}function mt(e,t,n,s){e.addEventListener(t,n,s)}function ll(e,t,n,s){e.removeEventListener(t,n,s)}const jn=Symbol("_vei");function cl(e,t,n,s,i=null){const o=e[jn]||(e[jn]={}),r=o[t];if(s&&r)r.value=s;else{const[l,c]=fl(t);if(s){const d=o[t]=dl(s,i);mt(e,l,d,c)}else r&&(ll(e,l,r,c),o[t]=void 0)}}const Xn=/(?:Once|Passive|Capture)$/;function fl(e){let t;if(Xn.test(e)){t={};let s;for(;s=e.match(Xn);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):dt(e.slice(2)),t]}let $s=0;const ul=Promise.resolve(),al=()=>$s||(ul.then(()=>$s=0),$s=Date.now());function dl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Le(hl(s,n.value),t,5,[s])};return n.value=e,n.attached=al(),n}function hl(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Un=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pl=(e,t,n,s,i,o)=>{const r=i==="svg";t==="class"?tl(e,s,r):t==="style"?ol(e,n,s):ds(t)?Js(t)||cl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gl(e,t,s,r))?(Yn(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Wn(e,t,s,r,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!se(s))?Yn(e,et(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Wn(e,t,s,r))};function gl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Un(t)&&H(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Un(t)&&se(n)?!1:t in e}const Bn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>ss(t,n):t};function ml(e){e.target.composing=!0}function Vn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ks=Symbol("_assign"),ts={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[ks]=Bn(i);const o=s||i.props&&i.props.type==="number";mt(e,t?"change":"input",r=>{if(r.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=zs(l)),e[ks](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",ml),mt(e,"compositionend",Vn),mt(e,"change",Vn))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:o}},r){if(e[ks]=Bn(r),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?zs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===c)||(e.value=c))}},bl=["ctrl","shift","alt","meta"],wl={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)=>bl.some(n=>e[`${n}Key`]&&!t.includes(n))},ie=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r<t.length;r++){const l=wl[t[r]];if(l&&l(i,t))return}return e(i,...o)})},vl=ge({patchProp:pl},Qr);let Kn;function yl(){return Kn||(Kn=_r(vl))}const xl=(...e)=>{const t=yl().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=Sl(s);if(!i)return;const o=t._component;!H(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=n(i,!1,_l(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t};function _l(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sl(e){return se(e)?document.querySelector(e):e}const qn="translime-preview-settings:";function Ml(){return{invoke:async(e,...t)=>(console.log("[Preview Mock] ipc.invoke:",e,t),null),send:(e,...t)=>{console.log("[Preview Mock] ipc.send:",e,t)},on:(e,t)=>(console.log("[Preview Mock] ipc.on registered:",e),()=>{console.log("[Preview Mock] ipc.on removed:",e)}),once:(e,t)=>{console.log("[Preview Mock] ipc.once registered:",e)},removeListener:(e,t)=>{console.log("[Preview Mock] ipc.removeListener:",e)},removeAllListeners:e=>{console.log("[Preview Mock] ipc.removeAllListeners:",e)}}}function Pl(){return{showOpenDialog:async e=>(console.log("[Preview Mock] showOpenDialog:",e),new Promise(t=>{const n=document.createElement("input");if(n.type="file",e?.properties?.includes("openDirectory")&&(n.webkitdirectory=!0),e?.properties?.includes("multiSelections")&&(n.multiple=!0),e?.filters){const s=e.filters.flatMap(i=>i.extensions.map(o=>`.${o}`)).join(",");n.accept=s}n.onchange=()=>{const s=Array.from(n.files||[]).map(i=>i.name);t({canceled:s.length===0,filePaths:s})},n.oncancel=()=>{t({canceled:!0,filePaths:[]})},n.click()})),showSaveDialog:async e=>{console.log("[Preview Mock] showSaveDialog:",e);const t=prompt("保存文件名:",e?.defaultPath||"file.txt");return{canceled:!t,filePath:t||void 0}},showMessageBox:async e=>(console.log("[Preview Mock] showMessageBox:",e),{response:confirm(e?.message||"")?0:1}),showErrorBox:(e,t)=>{console.error("[Preview Mock] showErrorBox:",e,t),alert(`${e}
1
+ (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function s(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 n(o){if(o.ep)return;o.ep=!0;const i=s(o);fetch(o.href,i)}})();function os(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const rt={},Te=[],ee=()=>{},ui=()=>!1,Mn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),is=t=>t.startsWith("onUpdate:"),Dt=Object.assign,rs=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},fi=Object.prototype.hasOwnProperty,nt=(t,e)=>fi.call(t,e),V=Array.isArray,Re=t=>An(t)==="[object Map]",so=t=>An(t)==="[object Set]",B=t=>typeof t=="function",mt=t=>typeof t=="string",he=t=>typeof t=="symbol",dt=t=>t!==null&&typeof t=="object",oo=t=>(dt(t)||B(t))&&B(t.then)&&B(t.catch),io=Object.prototype.toString,An=t=>io.call(t),di=t=>An(t).slice(8,-1),ro=t=>An(t)==="[object Object]",ls=t=>mt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ye=os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_n=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},hi=/-(\w)/g,de=_n(t=>t.replace(hi,(e,s)=>s?s.toUpperCase():"")),pi=/\B([A-Z])/g,Se=_n(t=>t.replace(pi,"-$1").toLowerCase()),lo=_n(t=>t.charAt(0).toUpperCase()+t.slice(1)),$n=_n(t=>t?`on${lo(t)}`:""),fe=(t,e)=>!Object.is(t,e),dn=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},ao=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},jn=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Ms;const Cn=()=>Ms||(Ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pt(t){if(V(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],o=mt(n)?bi(n):pt(n);if(o)for(const i in o)e[i]=o[i]}return e}else if(mt(t)||dt(t))return t}const gi=/;(?![^(]*\))/g,vi=/:([^]+)/,mi=/\/\*[^]*?\*\//g;function bi(t){const e={};return t.replace(mi,"").split(gi).forEach(s=>{if(s){const n=s.split(vi);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Yt(t){let e="";if(mt(t))e=t;else if(V(t))for(let s=0;s<t.length;s++){const n=Yt(t[s]);n&&(e+=n+" ")}else if(dt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const wi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xi=os(wi);function co(t){return!!t||t===""}const uo=t=>!!(t&&t.__v_isRef===!0),jt=t=>mt(t)?t:t==null?"":V(t)||dt(t)&&(t.toString===io||!B(t.toString))?uo(t)?jt(t.value):JSON.stringify(t,fo,2):String(t),fo=(t,e)=>uo(e)?fo(t,e.value):Re(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,o],i)=>(s[On(n,i)+" =>"]=o,s),{})}:so(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>On(s))}:he(e)?On(e):dt(e)&&!V(e)&&!ro(e)?String(e):e,On=(t,e="")=>{var s;return he(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};let Nt;class yi{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Nt,!e&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=Nt;try{return Nt=this,e()}finally{Nt=s}}}on(){Nt=this}off(){Nt=this.parent}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Si(){return Nt}let ut;const Dn=new WeakSet;class ho{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Nt&&Nt.active&&Nt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Dn.has(this)&&(Dn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||go(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,As(this),vo(this);const e=ut,s=Bt;ut=this,Bt=!0;try{return this.fn()}finally{mo(this),ut=e,Bt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)us(e);this.deps=this.depsTail=void 0,As(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Dn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Bn(this)&&this.run()}get dirty(){return Bn(this)}}let po=0,Xe,We;function go(t,e=!1){if(t.flags|=8,e){t.next=We,We=t;return}t.next=Xe,Xe=t}function as(){po++}function cs(){if(--po>0)return;if(We){let e=We;for(We=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Xe;){let e=Xe;for(Xe=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function vo(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function mo(t){let e,s=t.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),us(n),Mi(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}t.deps=e,t.depsTail=s}function Bn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(bo(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function bo(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Be))return;t.globalVersion=Be;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!Bn(t)){t.flags&=-3;return}const s=ut,n=Bt;ut=t,Bt=!0;try{vo(t);const o=t.fn(t._value);(e.version===0||fe(o,t._value))&&(t._value=o,e.version++)}catch(o){throw e.version++,o}finally{ut=s,Bt=n,mo(t),t.flags&=-3}}function us(t,e=!1){const{dep:s,prevSub:n,nextSub:o}=t;if(n&&(n.nextSub=o,t.prevSub=void 0),o&&(o.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)us(i,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Mi(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Bt=!0;const wo=[];function pe(){wo.push(Bt),Bt=!1}function ge(){const t=wo.pop();Bt=t===void 0?!0:t}function As(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ut;ut=void 0;try{e()}finally{ut=s}}}let Be=0;class Ai{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class fs{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!ut||!Bt||ut===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ut)s=this.activeLink=new Ai(ut,this),ut.deps?(s.prevDep=ut.depsTail,ut.depsTail.nextDep=s,ut.depsTail=s):ut.deps=ut.depsTail=s,xo(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ut.depsTail,s.nextDep=void 0,ut.depsTail.nextDep=s,ut.depsTail=s,ut.deps===s&&(ut.deps=n)}return s}trigger(e){this.version++,Be++,this.notify(e)}notify(e){as();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{cs()}}}function xo(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)xo(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Un=new WeakMap,we=Symbol(""),Kn=Symbol(""),Ue=Symbol("");function Rt(t,e,s){if(Bt&&ut){let n=Un.get(t);n||Un.set(t,n=new Map);let o=n.get(s);o||(n.set(s,o=new fs),o.map=n,o.key=s),o.track()}}function ie(t,e,s,n,o,i){const r=Un.get(t);if(!r){Be++;return}const l=a=>{a&&a.trigger()};if(as(),e==="clear")r.forEach(l);else{const a=V(t),d=a&&ls(s);if(a&&s==="length"){const u=Number(n);r.forEach((p,M)=>{(M==="length"||M===Ue||!he(M)&&M>=u)&&l(p)})}else switch((s!==void 0||r.has(void 0))&&l(r.get(s)),d&&l(r.get(Ue)),e){case"add":a?d&&l(r.get("length")):(l(r.get(we)),Re(t)&&l(r.get(Kn)));break;case"delete":a||(l(r.get(we)),Re(t)&&l(r.get(Kn)));break;case"set":Re(t)&&l(r.get(we));break}}cs()}function Me(t){const e=et(t);return e===t?e:(Rt(e,"iterate",Ue),Vt(t)?e:e.map(Pt))}function Tn(t){return Rt(t=et(t),"iterate",Ue),t}const _i={__proto__:null,[Symbol.iterator](){return Fn(this,Symbol.iterator,Pt)},concat(...t){return Me(this).concat(...t.map(e=>V(e)?Me(e):e))},entries(){return Fn(this,"entries",t=>(t[1]=Pt(t[1]),t))},every(t,e){return se(this,"every",t,e,void 0,arguments)},filter(t,e){return se(this,"filter",t,e,s=>s.map(Pt),arguments)},find(t,e){return se(this,"find",t,e,Pt,arguments)},findIndex(t,e){return se(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return se(this,"findLast",t,e,Pt,arguments)},findLastIndex(t,e){return se(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return se(this,"forEach",t,e,void 0,arguments)},includes(...t){return Yn(this,"includes",t)},indexOf(...t){return Yn(this,"indexOf",t)},join(t){return Me(this).join(t)},lastIndexOf(...t){return Yn(this,"lastIndexOf",t)},map(t,e){return se(this,"map",t,e,void 0,arguments)},pop(){return $e(this,"pop")},push(...t){return $e(this,"push",t)},reduce(t,...e){return _s(this,"reduce",t,e)},reduceRight(t,...e){return _s(this,"reduceRight",t,e)},shift(){return $e(this,"shift")},some(t,e){return se(this,"some",t,e,void 0,arguments)},splice(...t){return $e(this,"splice",t)},toReversed(){return Me(this).toReversed()},toSorted(t){return Me(this).toSorted(t)},toSpliced(...t){return Me(this).toSpliced(...t)},unshift(...t){return $e(this,"unshift",t)},values(){return Fn(this,"values",Pt)}};function Fn(t,e,s){const n=Tn(t),o=n[e]();return n!==t&&!Vt(t)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=s(i.value)),i}),o}const Ci=Array.prototype;function se(t,e,s,n,o,i){const r=Tn(t),l=r!==t&&!Vt(t),a=r[e];if(a!==Ci[e]){const p=a.apply(t,i);return l?Pt(p):p}let d=s;r!==t&&(l?d=function(p,M){return s.call(this,Pt(p),M,t)}:s.length>2&&(d=function(p,M){return s.call(this,p,M,t)}));const u=a.call(r,d,n);return l&&o?o(u):u}function _s(t,e,s,n){const o=Tn(t);let i=s;return o!==t&&(Vt(t)?s.length>3&&(i=function(r,l,a){return s.call(this,r,l,a,t)}):i=function(r,l,a){return s.call(this,r,Pt(l),a,t)}),o[e](i,...n)}function Yn(t,e,s){const n=et(t);Rt(n,"iterate",Ue);const o=n[e](...s);return(o===-1||o===!1)&&ps(s[0])?(s[0]=et(s[0]),n[e](...s)):o}function $e(t,e,s=[]){pe(),as();const n=et(t)[e].apply(t,s);return cs(),ge(),n}const Ti=os("__proto__,__v_isRef,__isVue"),yo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(he));function Ri(t){he(t)||(t=String(t));const e=et(this);return Rt(e,"has",t),e.hasOwnProperty(t)}class So{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const o=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(o?i?Yi:Co:i?_o:Ao).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=V(e);if(!o){let a;if(r&&(a=_i[s]))return a;if(s==="hasOwnProperty")return Ri}const l=Reflect.get(e,s,It(e)?e:n);return(he(s)?yo.has(s):Ti(s))||(o||Rt(e,"get",s),i)?l:It(l)?r&&ls(s)?l:l.value:dt(l)?o?To(l):Rn(l):l}}class Mo extends So{constructor(e=!1){super(!1,e)}set(e,s,n,o){let i=e[s];if(!this._isShallow){const a=xe(i);if(!Vt(n)&&!xe(n)&&(i=et(i),n=et(n)),!V(e)&&It(i)&&!It(n))return a?!1:(i.value=n,!0)}const r=V(e)&&ls(s)?Number(s)<e.length:nt(e,s),l=Reflect.set(e,s,n,It(e)?e:o);return e===et(o)&&(r?fe(n,i)&&ie(e,"set",s,n):ie(e,"add",s,n)),l}deleteProperty(e,s){const n=nt(e,s);e[s];const o=Reflect.deleteProperty(e,s);return o&&n&&ie(e,"delete",s,void 0),o}has(e,s){const n=Reflect.has(e,s);return(!he(s)||!yo.has(s))&&Rt(e,"has",s),n}ownKeys(e){return Rt(e,"iterate",V(e)?"length":we),Reflect.ownKeys(e)}}class Pi extends So{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const ki=new Mo,Ii=new Pi,Ei=new Mo(!0);const qn=t=>t,on=t=>Reflect.getPrototypeOf(t);function zi(t,e,s){return function(...n){const o=this.__v_raw,i=et(o),r=Re(i),l=t==="entries"||t===Symbol.iterator&&r,a=t==="keys"&&r,d=o[t](...n),u=s?qn:e?Gn:Pt;return!e&&Rt(i,"iterate",a?Kn:we),{next(){const{value:p,done:M}=d.next();return M?{value:p,done:M}:{value:l?[u(p[0]),u(p[1])]:u(p),done:M}},[Symbol.iterator](){return this}}}}function rn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function $i(t,e){const s={get(o){const i=this.__v_raw,r=et(i),l=et(o);t||(fe(o,l)&&Rt(r,"get",o),Rt(r,"get",l));const{has:a}=on(r),d=e?qn:t?Gn:Pt;if(a.call(r,o))return d(i.get(o));if(a.call(r,l))return d(i.get(l));i!==r&&i.get(o)},get size(){const o=this.__v_raw;return!t&&Rt(et(o),"iterate",we),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,r=et(i),l=et(o);return t||(fe(o,l)&&Rt(r,"has",o),Rt(r,"has",l)),o===l?i.has(o):i.has(o)||i.has(l)},forEach(o,i){const r=this,l=r.__v_raw,a=et(l),d=e?qn:t?Gn:Pt;return!t&&Rt(a,"iterate",we),l.forEach((u,p)=>o.call(i,d(u),d(p),r))}};return Dt(s,t?{add:rn("add"),set:rn("set"),delete:rn("delete"),clear:rn("clear")}:{add(o){!e&&!Vt(o)&&!xe(o)&&(o=et(o));const i=et(this);return on(i).has.call(i,o)||(i.add(o),ie(i,"add",o,o)),this},set(o,i){!e&&!Vt(i)&&!xe(i)&&(i=et(i));const r=et(this),{has:l,get:a}=on(r);let d=l.call(r,o);d||(o=et(o),d=l.call(r,o));const u=a.call(r,o);return r.set(o,i),d?fe(i,u)&&ie(r,"set",o,i):ie(r,"add",o,i),this},delete(o){const i=et(this),{has:r,get:l}=on(i);let a=r.call(i,o);a||(o=et(o),a=r.call(i,o)),l&&l.call(i,o);const d=i.delete(o);return a&&ie(i,"delete",o,void 0),d},clear(){const o=et(this),i=o.size!==0,r=o.clear();return i&&ie(o,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=zi(o,t,e)}),s}function ds(t,e){const s=$i(t,e);return(n,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?n:Reflect.get(nt(s,o)&&o in n?s:n,o,i)}const Oi={get:ds(!1,!1)},Di={get:ds(!1,!0)},Fi={get:ds(!0,!1)};const Ao=new WeakMap,_o=new WeakMap,Co=new WeakMap,Yi=new WeakMap;function Xi(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wi(t){return t.__v_skip||!Object.isExtensible(t)?0:Xi(di(t))}function Rn(t){return xe(t)?t:hs(t,!1,ki,Oi,Ao)}function Ni(t){return hs(t,!1,Ei,Di,_o)}function To(t){return hs(t,!0,Ii,Fi,Co)}function hs(t,e,s,n,o){if(!dt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const r=Wi(t);if(r===0)return t;const l=new Proxy(t,r===2?n:s);return o.set(t,l),l}function Pe(t){return xe(t)?Pe(t.__v_raw):!!(t&&t.__v_isReactive)}function xe(t){return!!(t&&t.__v_isReadonly)}function Vt(t){return!!(t&&t.__v_isShallow)}function ps(t){return t?!!t.__v_raw:!1}function et(t){const e=t&&t.__v_raw;return e?et(e):t}function Ro(t){return!nt(t,"__v_skip")&&Object.isExtensible(t)&&ao(t,"__v_skip",!0),t}const Pt=t=>dt(t)?Rn(t):t,Gn=t=>dt(t)?To(t):t;function It(t){return t?t.__v_isRef===!0:!1}function xt(t){return Li(t,!1)}function Li(t,e){return It(t)?t:new Hi(t,e)}class Hi{constructor(e,s){this.dep=new fs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:et(e),this._value=s?e:Pt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Vt(e)||xe(e);e=n?e:et(e),fe(e,s)&&(this._rawValue=e,this._value=n?e:Pt(e),this.dep.trigger())}}function Zt(t){return It(t)?t.value:t}const Vi={get:(t,e,s)=>e==="__v_raw"?t:Zt(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const o=t[e];return It(o)&&!It(s)?(o.value=s,!0):Reflect.set(t,e,s,n)}};function Po(t){return Pe(t)?t:new Proxy(t,Vi)}class ji{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new fs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Be-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ut!==this)return go(this,!0),!0}get value(){const e=this.dep.track();return bo(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Bi(t,e,s=!1){let n,o;return B(t)?n=t:(n=t.get,o=t.set),new ji(n,o,s)}const ln={},mn=new WeakMap;let be;function Ui(t,e=!1,s=be){if(s){let n=mn.get(s);n||mn.set(s,n=[]),n.push(t)}}function Ki(t,e,s=rt){const{immediate:n,deep:o,once:i,scheduler:r,augmentJob:l,call:a}=s,d=O=>o?O:Vt(O)||o===!1||o===0?re(O,1):re(O);let u,p,M,b,y=!1,z=!1;if(It(t)?(p=()=>t.value,y=Vt(t)):Pe(t)?(p=()=>d(t),y=!0):V(t)?(z=!0,y=t.some(O=>Pe(O)||Vt(O)),p=()=>t.map(O=>{if(It(O))return O.value;if(Pe(O))return d(O);if(B(O))return a?a(O,2):O()})):B(t)?e?p=a?()=>a(t,2):t:p=()=>{if(M){pe();try{M()}finally{ge()}}const O=be;be=u;try{return a?a(t,3,[b]):t(b)}finally{be=O}}:p=ee,e&&o){const O=p,q=o===!0?1/0:o;p=()=>re(O(),q)}const Q=Si(),F=()=>{u.stop(),Q&&Q.active&&rs(Q.effects,u)};if(i&&e){const O=e;e=(...q)=>{O(...q),F()}}let U=z?new Array(t.length).fill(ln):ln;const L=O=>{if(!(!(u.flags&1)||!u.dirty&&!O))if(e){const q=u.run();if(o||y||(z?q.some((lt,G)=>fe(lt,U[G])):fe(q,U))){M&&M();const lt=be;be=u;try{const G=[q,U===ln?void 0:z&&U[0]===ln?[]:U,b];a?a(e,3,G):e(...G),U=q}finally{be=lt}}}else u.run()};return l&&l(L),u=new ho(p),u.scheduler=r?()=>r(L,!1):L,b=O=>Ui(O,!1,u),M=u.onStop=()=>{const O=mn.get(u);if(O){if(a)a(O,4);else for(const q of O)q();mn.delete(u)}},e?n?L(!0):U=u.run():r?r(L.bind(null,!0),!0):u.run(),F.pause=u.pause.bind(u),F.resume=u.resume.bind(u),F.stop=F,F}function re(t,e=1/0,s){if(e<=0||!dt(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,It(t))re(t.value,e,s);else if(V(t))for(let n=0;n<t.length;n++)re(t[n],e,s);else if(so(t)||Re(t))t.forEach(n=>{re(n,e,s)});else if(ro(t)){for(const n in t)re(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&re(t[n],e,s)}return t}function tn(t,e,s,n){try{return n?t(...n):t()}catch(o){Pn(o,e,s)}}function ne(t,e,s,n){if(B(t)){const o=tn(t,e,s,n);return o&&oo(o)&&o.catch(i=>{Pn(i,e,s)}),o}if(V(t)){const o=[];for(let i=0;i<t.length;i++)o.push(ne(t[i],e,s,n));return o}}function Pn(t,e,s,n=!0){const o=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||rt;if(e){let l=e.parent;const a=e.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const u=l.ec;if(u){for(let p=0;p<u.length;p++)if(u[p](t,a,d)===!1)return}l=l.parent}if(i){pe(),tn(i,null,10,[t,a,d]),ge();return}}qi(t,s,o,n,r)}function qi(t,e,s,n=!0,o=!1){if(o)throw t;console.error(t)}const $t=[];let Qt=-1;const ke=[];let ce=null,_e=0;const ko=Promise.resolve();let bn=null;function Io(t){const e=bn||ko;return t?e.then(this?t.bind(this):t):e}function Gi(t){let e=Qt+1,s=$t.length;for(;e<s;){const n=e+s>>>1,o=$t[n],i=Ke(o);i<t||i===t&&o.flags&2?e=n+1:s=n}return e}function gs(t){if(!(t.flags&1)){const e=Ke(t),s=$t[$t.length-1];!s||!(t.flags&2)&&e>=Ke(s)?$t.push(t):$t.splice(Gi(e),0,t),t.flags|=1,Eo()}}function Eo(){bn||(bn=ko.then($o))}function Ji(t){V(t)?ke.push(...t):ce&&t.id===-1?ce.splice(_e+1,0,t):t.flags&1||(ke.push(t),t.flags|=1),Eo()}function Cs(t,e,s=Qt+1){for(;s<$t.length;s++){const n=$t[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;$t.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function zo(t){if(ke.length){const e=[...new Set(ke)].sort((s,n)=>Ke(s)-Ke(n));if(ke.length=0,ce){ce.push(...e);return}for(ce=e,_e=0;_e<ce.length;_e++){const s=ce[_e];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ce=null,_e=0}}const Ke=t=>t.id==null?t.flags&2?-1:1/0:t.id;function $o(t){try{for(Qt=0;Qt<$t.length;Qt++){const e=$t[Qt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),tn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Qt<$t.length;Qt++){const e=$t[Qt];e&&(e.flags&=-2)}Qt=-1,$t.length=0,zo(),bn=null,($t.length||ke.length)&&$o()}}let Ht=null,Oo=null;function wn(t){const e=Ht;return Ht=t,Oo=t&&t.type.__scopeId||null,e}function Zi(t,e=Ht,s){if(!e||t._n)return t;const n=(...o)=>{n._d&&Ys(-1);const i=wn(e);let r;try{r=t(...o)}finally{wn(i),n._d&&Ys(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function qe(t,e){if(Ht===null)return t;const s=zn(Ht),n=t.dirs||(t.dirs=[]);for(let o=0;o<e.length;o++){let[i,r,l,a=rt]=e[o];i&&(B(i)&&(i={mounted:i,updated:i}),i.deep&&re(r),n.push({dir:i,instance:s,value:r,oldValue:void 0,arg:l,modifiers:a}))}return t}function ve(t,e,s,n){const o=t.dirs,i=e&&e.dirs;for(let r=0;r<o.length;r++){const l=o[r];i&&(l.oldValue=i[r].value);let a=l.dir[n];a&&(pe(),ne(a,s,8,[t.el,l,t,e]),ge())}}const Do=Symbol("_vte"),Qi=t=>t.__isTeleport,Ne=t=>t&&(t.disabled||t.disabled===""),Ts=t=>t&&(t.defer||t.defer===""),Rs=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Ps=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Jn=(t,e)=>{const s=t&&t.to;return mt(s)?e?e(s):null:s},Fo={name:"Teleport",__isTeleport:!0,process(t,e,s,n,o,i,r,l,a,d){const{mc:u,pc:p,pbc:M,o:{insert:b,querySelector:y,createText:z,createComment:Q}}=d,F=Ne(e.props);let{shapeFlag:U,children:L,dynamicChildren:O}=e;if(t==null){const q=e.el=z(""),lt=e.anchor=z("");b(q,s,n),b(lt,s,n);const G=(at,vt)=>{U&16&&(o&&o.isCE&&(o.ce._teleportTarget=at),u(L,at,vt,o,i,r,l,a))},st=()=>{const at=e.target=Jn(e.props,y),vt=Yo(at,e,z,b);at&&(r!=="svg"&&Rs(at)?r="svg":r!=="mathml"&&Ps(at)&&(r="mathml"),F||(G(at,vt),hn(e,!1)))};F&&(G(s,lt),hn(e,!0)),Ts(e.props)?zt(()=>{st(),e.el.__isMounted=!0},i):st()}else{if(Ts(e.props)&&!t.el.__isMounted){zt(()=>{Fo.process(t,e,s,n,o,i,r,l,a,d),delete t.el.__isMounted},i);return}e.el=t.el,e.targetStart=t.targetStart;const q=e.anchor=t.anchor,lt=e.target=t.target,G=e.targetAnchor=t.targetAnchor,st=Ne(t.props),at=st?s:lt,vt=st?q:G;if(r==="svg"||Rs(lt)?r="svg":(r==="mathml"||Ps(lt))&&(r="mathml"),O?(M(t.dynamicChildren,O,at,o,i,r,l),bs(t,e,!0)):a||p(t,e,at,vt,o,i,r,l,!1),F)st?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):an(e,s,q,d,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const _t=e.target=Jn(e.props,y);_t&&an(e,_t,null,d,0)}else st&&an(e,lt,G,d,1);hn(e,F)}},remove(t,e,s,{um:n,o:{remove:o}},i){const{shapeFlag:r,children:l,anchor:a,targetStart:d,targetAnchor:u,target:p,props:M}=t;if(p&&(o(d),o(u)),i&&o(a),r&16){const b=i||!Ne(M);for(let y=0;y<l.length;y++){const z=l[y];n(z,e,s,b,!!z.dynamicChildren)}}},move:an,hydrate:tr};function an(t,e,s,{o:{insert:n},m:o},i=2){i===0&&n(t.targetAnchor,e,s);const{el:r,anchor:l,shapeFlag:a,children:d,props:u}=t,p=i===2;if(p&&n(r,e,s),(!p||Ne(u))&&a&16)for(let M=0;M<d.length;M++)o(d[M],e,s,2);p&&n(l,e,s)}function tr(t,e,s,n,o,i,{o:{nextSibling:r,parentNode:l,querySelector:a,insert:d,createText:u}},p){const M=e.target=Jn(e.props,a);if(M){const b=Ne(e.props),y=M._lpa||M.firstChild;if(e.shapeFlag&16)if(b)e.anchor=p(r(t),e,l(t),s,n,o,i),e.targetStart=y,e.targetAnchor=y&&r(y);else{e.anchor=r(t);let z=y;for(;z;){if(z&&z.nodeType===8){if(z.data==="teleport start anchor")e.targetStart=z;else if(z.data==="teleport anchor"){e.targetAnchor=z,M._lpa=e.targetAnchor&&r(e.targetAnchor);break}}z=r(z)}e.targetAnchor||Yo(M,e,u,d),p(y&&r(y),e,M,s,n,o,i)}hn(e,b)}return e.anchor&&r(e.anchor)}const er=Fo;function hn(t,e){const s=t.ctx;if(s&&s.ut){let n,o;for(e?(n=t.el,o=t.anchor):(n=t.targetStart,o=t.targetAnchor);n&&n!==o;)n.nodeType===1&&n.setAttribute("data-v-owner",s.uid),n=n.nextSibling;s.ut()}}function Yo(t,e,s,n){const o=e.targetStart=s(""),i=e.targetAnchor=s("");return o[Do]=i,t&&(n(o,t),n(i,t)),i}function vs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,vs(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Xo(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function xn(t,e,s,n,o=!1){if(V(t)){t.forEach((y,z)=>xn(y,e&&(V(e)?e[z]:e),s,n,o));return}if(Le(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&xn(t,e,s,n.component.subTree);return}const i=n.shapeFlag&4?zn(n.component):n.el,r=o?null:i,{i:l,r:a}=t,d=e&&e.r,u=l.refs===rt?l.refs={}:l.refs,p=l.setupState,M=et(p),b=p===rt?()=>!1:y=>nt(M,y);if(d!=null&&d!==a&&(mt(d)?(u[d]=null,b(d)&&(p[d]=null)):It(d)&&(d.value=null)),B(a))tn(a,l,12,[r,u]);else{const y=mt(a),z=It(a);if(y||z){const Q=()=>{if(t.f){const F=y?b(a)?p[a]:u[a]:a.value;o?V(F)&&rs(F,i):V(F)?F.includes(i)||F.push(i):y?(u[a]=[i],b(a)&&(p[a]=u[a])):(a.value=[i],t.k&&(u[t.k]=a.value))}else y?(u[a]=r,b(a)&&(p[a]=r)):z&&(a.value=r,t.k&&(u[t.k]=r))};r?(Q.id=-1,zt(Q,s)):Q()}}}Cn().requestIdleCallback;Cn().cancelIdleCallback;const Le=t=>!!t.type.__asyncLoader,Wo=t=>t.type.__isKeepAlive;function nr(t,e){No(t,"a",e)}function sr(t,e){No(t,"da",e)}function No(t,e,s=Ot){const n=t.__wdc||(t.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(kn(e,n,s),s){let o=s.parent;for(;o&&o.parent;)Wo(o.parent.vnode)&&or(n,e,s,o),o=o.parent}}function or(t,e,s,n){const o=kn(e,t,n,!0);en(()=>{rs(n[e],o)},s)}function kn(t,e,s=Ot,n=!1){if(s){const o=s[t]||(s[t]=[]),i=e.__weh||(e.__weh=(...r)=>{pe();const l=nn(s),a=ne(e,s,t,r);return l(),ge(),a});return n?o.unshift(i):o.push(i),i}}const ae=t=>(e,s=Ot)=>{(!Ze||t==="sp")&&kn(t,(...n)=>e(...n),s)},ir=ae("bm"),Ge=ae("m"),rr=ae("bu"),lr=ae("u"),ar=ae("bum"),en=ae("um"),cr=ae("sp"),ur=ae("rtg"),fr=ae("rtc");function dr(t,e=Ot){kn("ec",t,e)}const hr=Symbol.for("v-ndc");function pn(t,e,s,n){let o;const i=s,r=V(t);if(r||mt(t)){const l=r&&Pe(t);let a=!1;l&&(a=!Vt(t),t=Tn(t)),o=new Array(t.length);for(let d=0,u=t.length;d<u;d++)o[d]=e(a?Pt(t[d]):t[d],d,void 0,i)}else if(typeof t=="number"){o=new Array(t);for(let l=0;l<t;l++)o[l]=e(l+1,l,void 0,i)}else if(dt(t))if(t[Symbol.iterator])o=Array.from(t,(l,a)=>e(l,a,void 0,i));else{const l=Object.keys(t);o=new Array(l.length);for(let a=0,d=l.length;a<d;a++){const u=l[a];o[a]=e(t[u],u,a,i)}}else o=[];return o}const Zn=t=>t?li(t)?zn(t):Zn(t.parent):null,He=Dt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Zn(t.parent),$root:t=>Zn(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Ho(t),$forceUpdate:t=>t.f||(t.f=()=>{gs(t.update)}),$nextTick:t=>t.n||(t.n=Io.bind(t.proxy)),$watch:t=>Or.bind(t)}),Xn=(t,e)=>t!==rt&&!t.__isScriptSetup&&nt(t,e),pr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:i,accessCache:r,type:l,appContext:a}=t;let d;if(e[0]!=="$"){const b=r[e];if(b!==void 0)switch(b){case 1:return n[e];case 2:return o[e];case 4:return s[e];case 3:return i[e]}else{if(Xn(n,e))return r[e]=1,n[e];if(o!==rt&&nt(o,e))return r[e]=2,o[e];if((d=t.propsOptions[0])&&nt(d,e))return r[e]=3,i[e];if(s!==rt&&nt(s,e))return r[e]=4,s[e];Qn&&(r[e]=0)}}const u=He[e];let p,M;if(u)return e==="$attrs"&&Rt(t.attrs,"get",""),u(t);if((p=l.__cssModules)&&(p=p[e]))return p;if(s!==rt&&nt(s,e))return r[e]=4,s[e];if(M=a.config.globalProperties,nt(M,e))return M[e]},set({_:t},e,s){const{data:n,setupState:o,ctx:i}=t;return Xn(o,e)?(o[e]=s,!0):n!==rt&&nt(n,e)?(n[e]=s,!0):nt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:o,propsOptions:i}},r){let l;return!!s[r]||t!==rt&&nt(t,r)||Xn(e,r)||(l=i[0])&&nt(l,r)||nt(n,r)||nt(He,r)||nt(o.config.globalProperties,r)},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:nt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function ks(t){return V(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Qn=!0;function gr(t){const e=Ho(t),s=t.proxy,n=t.ctx;Qn=!1,e.beforeCreate&&Is(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:r,watch:l,provide:a,inject:d,created:u,beforeMount:p,mounted:M,beforeUpdate:b,updated:y,activated:z,deactivated:Q,beforeDestroy:F,beforeUnmount:U,destroyed:L,unmounted:O,render:q,renderTracked:lt,renderTriggered:G,errorCaptured:st,serverPrefetch:at,expose:vt,inheritAttrs:_t,components:yt,directives:Ut,filters:Ct}=e;if(d&&vr(d,n,null),r)for(const E in r){const W=r[E];B(W)&&(n[E]=W.bind(s))}if(o){const E=o.call(s,s);dt(E)&&(t.data=Rn(E))}if(Qn=!0,i)for(const E in i){const W=i[E],ht=B(W)?W.bind(s,s):B(W.get)?W.get.bind(s,s):ee,wt=!B(W)&&B(W.set)?W.set.bind(s):ee,St=At({get:ht,set:wt});Object.defineProperty(n,E,{enumerable:!0,configurable:!0,get:()=>St.value,set:ft=>St.value=ft})}if(l)for(const E in l)Lo(l[E],n,s,E);if(a){const E=B(a)?a.call(s):a;Reflect.ownKeys(E).forEach(W=>{Fe(W,E[W])})}u&&Is(u,t,"c");function g(E,W){V(W)?W.forEach(ht=>E(ht.bind(s))):W&&E(W.bind(s))}if(g(ir,p),g(Ge,M),g(rr,b),g(lr,y),g(nr,z),g(sr,Q),g(dr,st),g(fr,lt),g(ur,G),g(ar,U),g(en,O),g(cr,at),V(vt))if(vt.length){const E=t.exposed||(t.exposed={});vt.forEach(W=>{Object.defineProperty(E,W,{get:()=>s[W],set:ht=>s[W]=ht})})}else t.exposed||(t.exposed={});q&&t.render===ee&&(t.render=q),_t!=null&&(t.inheritAttrs=_t),yt&&(t.components=yt),Ut&&(t.directives=Ut),at&&Xo(t)}function vr(t,e,s=ee){V(t)&&(t=ts(t));for(const n in t){const o=t[n];let i;dt(o)?"default"in o?i=le(o.from||n,o.default,!0):i=le(o.from||n):i=le(o),It(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):e[n]=i}}function Is(t,e,s){ne(V(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Lo(t,e,s,n){let o=n.includes(".")?ei(s,n):()=>s[n];if(mt(t)){const i=e[t];B(i)&&bt(o,i)}else if(B(t))bt(o,t.bind(s));else if(dt(t))if(V(t))t.forEach(i=>Lo(i,e,s,n));else{const i=B(t.handler)?t.handler.bind(s):e[t.handler];B(i)&&bt(o,i,t)}}function Ho(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=t.appContext,l=i.get(e);let a;return l?a=l:!o.length&&!s&&!n?a=e:(a={},o.length&&o.forEach(d=>yn(a,d,r,!0)),yn(a,e,r)),dt(e)&&i.set(e,a),a}function yn(t,e,s,n=!1){const{mixins:o,extends:i}=e;i&&yn(t,i,s,!0),o&&o.forEach(r=>yn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const l=mr[r]||s&&s[r];t[r]=l?l(t[r],e[r]):e[r]}return t}const mr={data:Es,props:zs,emits:zs,methods:De,computed:De,beforeCreate:Et,created:Et,beforeMount:Et,mounted:Et,beforeUpdate:Et,updated:Et,beforeDestroy:Et,beforeUnmount:Et,destroyed:Et,unmounted:Et,activated:Et,deactivated:Et,errorCaptured:Et,serverPrefetch:Et,components:De,directives:De,watch:wr,provide:Es,inject:br};function Es(t,e){return e?t?function(){return Dt(B(t)?t.call(this,this):t,B(e)?e.call(this,this):e)}:e:t}function br(t,e){return De(ts(t),ts(e))}function ts(t){if(V(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Et(t,e){return t?[...new Set([].concat(t,e))]:e}function De(t,e){return t?Dt(Object.create(null),t,e):e}function zs(t,e){return t?V(t)&&V(e)?[...new Set([...t,...e])]:Dt(Object.create(null),ks(t),ks(e??{})):e}function wr(t,e){if(!t)return e;if(!e)return t;const s=Dt(Object.create(null),t);for(const n in e)s[n]=Et(t[n],e[n]);return s}function Vo(){return{app:null,config:{isNativeTag:ui,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let xr=0;function yr(t,e){return function(n,o=null){B(n)||(n=Dt({},n)),o!=null&&!dt(o)&&(o=null);const i=Vo(),r=new WeakSet,l=[];let a=!1;const d=i.app={_uid:xr++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:nl,get config(){return i.config},set config(u){},use(u,...p){return r.has(u)||(u&&B(u.install)?(r.add(u),u.install(d,...p)):B(u)&&(r.add(u),u(d,...p))),d},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),d},component(u,p){return p?(i.components[u]=p,d):i.components[u]},directive(u,p){return p?(i.directives[u]=p,d):i.directives[u]},mount(u,p,M){if(!a){const b=d._ceVNode||Mt(n,o);return b.appContext=i,M===!0?M="svg":M===!1&&(M=void 0),t(b,u,M),a=!0,d._container=u,u.__vue_app__=d,zn(b.component)}},onUnmount(u){l.push(u)},unmount(){a&&(ne(l,d._instance,16),t(null,d._container),delete d._container.__vue_app__)},provide(u,p){return i.provides[u]=p,d},runWithContext(u){const p=Ie;Ie=d;try{return u()}finally{Ie=p}}};return d}}let Ie=null;function Fe(t,e){if(Ot){let s=Ot.provides;const n=Ot.parent&&Ot.parent.provides;n===s&&(s=Ot.provides=Object.create(n)),s[t]=e}}function le(t,e,s=!1){const n=Ot||Ht;if(n||Ie){const o=Ie?Ie._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&t in o)return o[t];if(arguments.length>1)return s&&B(e)?e.call(n&&n.proxy):e}}const jo={},Bo=()=>Object.create(jo),Uo=t=>Object.getPrototypeOf(t)===jo;function Sr(t,e,s,n=!1){const o={},i=Bo();t.propsDefaults=Object.create(null),Ko(t,e,o,i);for(const r in t.propsOptions[0])r in o||(o[r]=void 0);s?t.props=n?o:Ni(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function Mr(t,e,s,n){const{props:o,attrs:i,vnode:{patchFlag:r}}=t,l=et(o),[a]=t.propsOptions;let d=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let p=0;p<u.length;p++){let M=u[p];if(In(t.emitsOptions,M))continue;const b=e[M];if(a)if(nt(i,M))b!==i[M]&&(i[M]=b,d=!0);else{const y=de(M);o[y]=es(a,l,y,b,t,!1)}else b!==i[M]&&(i[M]=b,d=!0)}}}else{Ko(t,e,o,i)&&(d=!0);let u;for(const p in l)(!e||!nt(e,p)&&((u=Se(p))===p||!nt(e,u)))&&(a?s&&(s[p]!==void 0||s[u]!==void 0)&&(o[p]=es(a,l,p,void 0,t,!0)):delete o[p]);if(i!==l)for(const p in i)(!e||!nt(e,p))&&(delete i[p],d=!0)}d&&ie(t.attrs,"set","")}function Ko(t,e,s,n){const[o,i]=t.propsOptions;let r=!1,l;if(e)for(let a in e){if(Ye(a))continue;const d=e[a];let u;o&&nt(o,u=de(a))?!i||!i.includes(u)?s[u]=d:(l||(l={}))[u]=d:In(t.emitsOptions,a)||(!(a in n)||d!==n[a])&&(n[a]=d,r=!0)}if(i){const a=et(s),d=l||rt;for(let u=0;u<i.length;u++){const p=i[u];s[p]=es(o,a,p,d[p],t,!nt(d,p))}}return r}function es(t,e,s,n,o,i){const r=t[s];if(r!=null){const l=nt(r,"default");if(l&&n===void 0){const a=r.default;if(r.type!==Function&&!r.skipFactory&&B(a)){const{propsDefaults:d}=o;if(s in d)n=d[s];else{const u=nn(o);n=d[s]=a.call(null,e),u()}}else n=a;o.ce&&o.ce._setProp(s,n)}r[0]&&(i&&!l?n=!1:r[1]&&(n===""||n===Se(s))&&(n=!0))}return n}const Ar=new WeakMap;function qo(t,e,s=!1){const n=s?Ar:e.propsCache,o=n.get(t);if(o)return o;const i=t.props,r={},l=[];let a=!1;if(!B(t)){const u=p=>{a=!0;const[M,b]=qo(p,e,!0);Dt(r,M),b&&l.push(...b)};!s&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!a)return dt(t)&&n.set(t,Te),Te;if(V(i))for(let u=0;u<i.length;u++){const p=de(i[u]);$s(p)&&(r[p]=rt)}else if(i)for(const u in i){const p=de(u);if($s(p)){const M=i[u],b=r[p]=V(M)||B(M)?{type:M}:Dt({},M),y=b.type;let z=!1,Q=!0;if(V(y))for(let F=0;F<y.length;++F){const U=y[F],L=B(U)&&U.name;if(L==="Boolean"){z=!0;break}else L==="String"&&(Q=!1)}else z=B(y)&&y.name==="Boolean";b[0]=z,b[1]=Q,(z||nt(b,"default"))&&l.push(p)}}const d=[r,l];return dt(t)&&n.set(t,d),d}function $s(t){return t[0]!=="$"&&!Ye(t)}const Go=t=>t[0]==="_"||t==="$stable",ms=t=>V(t)?t.map(te):[te(t)],_r=(t,e,s)=>{if(e._n)return e;const n=Zi((...o)=>ms(e(...o)),s);return n._c=!1,n},Jo=(t,e,s)=>{const n=t._ctx;for(const o in t){if(Go(o))continue;const i=t[o];if(B(i))e[o]=_r(o,i,n);else if(i!=null){const r=ms(i);e[o]=()=>r}}},Zo=(t,e)=>{const s=ms(e);t.slots.default=()=>s},Qo=(t,e,s)=>{for(const n in e)(s||n!=="_")&&(t[n]=e[n])},Cr=(t,e,s)=>{const n=t.slots=Bo();if(t.vnode.shapeFlag&32){const o=e._;o?(Qo(n,e,s),s&&ao(n,"_",o,!0)):Jo(e,n)}else e&&Zo(t,e)},Tr=(t,e,s)=>{const{vnode:n,slots:o}=t;let i=!0,r=rt;if(n.shapeFlag&32){const l=e._;l?s&&l===1?i=!1:Qo(o,e,s):(i=!e.$stable,Jo(e,o)),r=e}else e&&(Zo(t,e),r={default:1});if(i)for(const l in o)!Go(l)&&r[l]==null&&delete o[l]},zt=Lr;function Rr(t){return Pr(t)}function Pr(t,e){const s=Cn();s.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:r,createText:l,createComment:a,setText:d,setElementText:u,parentNode:p,nextSibling:M,setScopeId:b=ee,insertStaticContent:y}=t,z=(c,f,m,_=null,S=null,A=null,I=void 0,T=null,R=!!f.dynamicChildren)=>{if(c===f)return;c&&!Oe(c,f)&&(_=D(c),ft(c,S,A,!0),c=null),f.patchFlag===-2&&(R=!1,f.dynamicChildren=null);const{type:C,ref:X,shapeFlag:$}=f;switch(C){case En:Q(c,f,m,_);break;case ye:F(c,f,m,_);break;case Nn:c==null&&U(f,m,_,I);break;case kt:yt(c,f,m,_,S,A,I,T,R);break;default:$&1?q(c,f,m,_,S,A,I,T,R):$&6?Ut(c,f,m,_,S,A,I,T,R):($&64||$&128)&&C.process(c,f,m,_,S,A,I,T,R,Tt)}X!=null&&S&&xn(X,c&&c.ref,A,f||c,!f)},Q=(c,f,m,_)=>{if(c==null)n(f.el=l(f.children),m,_);else{const S=f.el=c.el;f.children!==c.children&&d(S,f.children)}},F=(c,f,m,_)=>{c==null?n(f.el=a(f.children||""),m,_):f.el=c.el},U=(c,f,m,_)=>{[c.el,c.anchor]=y(c.children,f,m,_,c.el,c.anchor)},L=({el:c,anchor:f},m,_)=>{let S;for(;c&&c!==f;)S=M(c),n(c,m,_),c=S;n(f,m,_)},O=({el:c,anchor:f})=>{let m;for(;c&&c!==f;)m=M(c),o(c),c=m;o(f)},q=(c,f,m,_,S,A,I,T,R)=>{f.type==="svg"?I="svg":f.type==="math"&&(I="mathml"),c==null?lt(f,m,_,S,A,I,T,R):at(c,f,S,A,I,T,R)},lt=(c,f,m,_,S,A,I,T)=>{let R,C;const{props:X,shapeFlag:$,transition:Y,dirs:N}=c;if(R=c.el=r(c.type,A,X&&X.is,X),$&8?u(R,c.children):$&16&&st(c.children,R,null,_,S,Wn(c,A),I,T),N&&ve(c,null,_,"created"),G(R,c,c.scopeId,I,_),X){for(const ct in X)ct!=="value"&&!Ye(ct)&&i(R,ct,null,X[ct],A,_);"value"in X&&i(R,"value",null,X.value,A),(C=X.onVnodeBeforeMount)&&Jt(C,_,c)}N&&ve(c,null,_,"beforeMount");const J=kr(S,Y);J&&Y.beforeEnter(R),n(R,f,m),((C=X&&X.onVnodeMounted)||J||N)&&zt(()=>{C&&Jt(C,_,c),J&&Y.enter(R),N&&ve(c,null,_,"mounted")},S)},G=(c,f,m,_,S)=>{if(m&&b(c,m),_)for(let A=0;A<_.length;A++)b(c,_[A]);if(S){let A=S.subTree;if(f===A||si(A.type)&&(A.ssContent===f||A.ssFallback===f)){const I=S.vnode;G(c,I,I.scopeId,I.slotScopeIds,S.parent)}}},st=(c,f,m,_,S,A,I,T,R=0)=>{for(let C=R;C<c.length;C++){const X=c[C]=T?ue(c[C]):te(c[C]);z(null,X,f,m,_,S,A,I,T)}},at=(c,f,m,_,S,A,I)=>{const T=f.el=c.el;let{patchFlag:R,dynamicChildren:C,dirs:X}=f;R|=c.patchFlag&16;const $=c.props||rt,Y=f.props||rt;let N;if(m&&me(m,!1),(N=Y.onVnodeBeforeUpdate)&&Jt(N,m,f,c),X&&ve(f,c,m,"beforeUpdate"),m&&me(m,!0),($.innerHTML&&Y.innerHTML==null||$.textContent&&Y.textContent==null)&&u(T,""),C?vt(c.dynamicChildren,C,T,m,_,Wn(f,S),A):I||W(c,f,T,null,m,_,Wn(f,S),A,!1),R>0){if(R&16)_t(T,$,Y,m,S);else if(R&2&&$.class!==Y.class&&i(T,"class",null,Y.class,S),R&4&&i(T,"style",$.style,Y.style,S),R&8){const J=f.dynamicProps;for(let ct=0;ct<J.length;ct++){const ot=J[ct],Xt=$[ot],Ft=Y[ot];(Ft!==Xt||ot==="value")&&i(T,ot,Xt,Ft,S,m)}}R&1&&c.children!==f.children&&u(T,f.children)}else!I&&C==null&&_t(T,$,Y,m,S);((N=Y.onVnodeUpdated)||X)&&zt(()=>{N&&Jt(N,m,f,c),X&&ve(f,c,m,"updated")},_)},vt=(c,f,m,_,S,A,I)=>{for(let T=0;T<f.length;T++){const R=c[T],C=f[T],X=R.el&&(R.type===kt||!Oe(R,C)||R.shapeFlag&70)?p(R.el):m;z(R,C,X,null,_,S,A,I,!0)}},_t=(c,f,m,_,S)=>{if(f!==m){if(f!==rt)for(const A in f)!Ye(A)&&!(A in m)&&i(c,A,f[A],null,S,_);for(const A in m){if(Ye(A))continue;const I=m[A],T=f[A];I!==T&&A!=="value"&&i(c,A,T,I,S,_)}"value"in m&&i(c,"value",f.value,m.value,S)}},yt=(c,f,m,_,S,A,I,T,R)=>{const C=f.el=c?c.el:l(""),X=f.anchor=c?c.anchor:l("");let{patchFlag:$,dynamicChildren:Y,slotScopeIds:N}=f;N&&(T=T?T.concat(N):N),c==null?(n(C,m,_),n(X,m,_),st(f.children||[],m,X,S,A,I,T,R)):$>0&&$&64&&Y&&c.dynamicChildren?(vt(c.dynamicChildren,Y,m,S,A,I,T),(f.key!=null||S&&f===S.subTree)&&bs(c,f,!0)):W(c,f,m,X,S,A,I,T,R)},Ut=(c,f,m,_,S,A,I,T,R)=>{f.slotScopeIds=T,c==null?f.shapeFlag&512?S.ctx.activate(f,m,_,I,R):Ct(f,m,_,S,A,I,R):k(c,f,R)},Ct=(c,f,m,_,S,A,I)=>{const T=c.component=Gr(c,_,S);if(Wo(c)&&(T.ctx.renderer=Tt),Jr(T,!1,I),T.asyncDep){if(S&&S.registerDep(T,g,I),!c.el){const R=T.subTree=Mt(ye);F(null,R,f,m)}}else g(T,c,f,m,S,A,I)},k=(c,f,m)=>{const _=f.component=c.component;if(Wr(c,f,m))if(_.asyncDep&&!_.asyncResolved){E(_,f,m);return}else _.next=f,_.update();else f.el=c.el,_.vnode=f},g=(c,f,m,_,S,A,I)=>{const T=()=>{if(c.isMounted){let{next:$,bu:Y,u:N,parent:J,vnode:ct}=c;{const qt=ti(c);if(qt){$&&($.el=ct.el,E(c,$,I)),qt.asyncDep.then(()=>{c.isUnmounted||T()});return}}let ot=$,Xt;me(c,!1),$?($.el=ct.el,E(c,$,I)):$=ct,Y&&dn(Y),(Xt=$.props&&$.props.onVnodeBeforeUpdate)&&Jt(Xt,J,$,ct),me(c,!0);const Ft=Ds(c),Kt=c.subTree;c.subTree=Ft,z(Kt,Ft,p(Kt.el),D(Kt),c,S,A),$.el=Ft.el,ot===null&&Nr(c,Ft.el),N&&zt(N,S),(Xt=$.props&&$.props.onVnodeUpdated)&&zt(()=>Jt(Xt,J,$,ct),S)}else{let $;const{el:Y,props:N}=f,{bm:J,m:ct,parent:ot,root:Xt,type:Ft}=c,Kt=Le(f);me(c,!1),J&&dn(J),!Kt&&($=N&&N.onVnodeBeforeMount)&&Jt($,ot,f),me(c,!0);{Xt.ce&&Xt.ce._injectChildStyle(Ft);const qt=c.subTree=Ds(c);z(null,qt,m,_,c,S,A),f.el=qt.el}if(ct&&zt(ct,S),!Kt&&($=N&&N.onVnodeMounted)){const qt=f;zt(()=>Jt($,ot,qt),S)}(f.shapeFlag&256||ot&&Le(ot.vnode)&&ot.vnode.shapeFlag&256)&&c.a&&zt(c.a,S),c.isMounted=!0,f=m=_=null}};c.scope.on();const R=c.effect=new ho(T);c.scope.off();const C=c.update=R.run.bind(R),X=c.job=R.runIfDirty.bind(R);X.i=c,X.id=c.uid,R.scheduler=()=>gs(X),me(c,!0),C()},E=(c,f,m)=>{f.component=c;const _=c.vnode.props;c.vnode=f,c.next=null,Mr(c,f.props,_,m),Tr(c,f.children,m),pe(),Cs(c),ge()},W=(c,f,m,_,S,A,I,T,R=!1)=>{const C=c&&c.children,X=c?c.shapeFlag:0,$=f.children,{patchFlag:Y,shapeFlag:N}=f;if(Y>0){if(Y&128){wt(C,$,m,_,S,A,I,T,R);return}else if(Y&256){ht(C,$,m,_,S,A,I,T,R);return}}N&8?(X&16&&P(C,S,A),$!==C&&u(m,$)):X&16?N&16?wt(C,$,m,_,S,A,I,T,R):P(C,S,A,!0):(X&8&&u(m,""),N&16&&st($,m,_,S,A,I,T,R))},ht=(c,f,m,_,S,A,I,T,R)=>{c=c||Te,f=f||Te;const C=c.length,X=f.length,$=Math.min(C,X);let Y;for(Y=0;Y<$;Y++){const N=f[Y]=R?ue(f[Y]):te(f[Y]);z(c[Y],N,m,null,S,A,I,T,R)}C>X?P(c,S,A,!0,!1,$):st(f,m,_,S,A,I,T,R,$)},wt=(c,f,m,_,S,A,I,T,R)=>{let C=0;const X=f.length;let $=c.length-1,Y=X-1;for(;C<=$&&C<=Y;){const N=c[C],J=f[C]=R?ue(f[C]):te(f[C]);if(Oe(N,J))z(N,J,m,null,S,A,I,T,R);else break;C++}for(;C<=$&&C<=Y;){const N=c[$],J=f[Y]=R?ue(f[Y]):te(f[Y]);if(Oe(N,J))z(N,J,m,null,S,A,I,T,R);else break;$--,Y--}if(C>$){if(C<=Y){const N=Y+1,J=N<X?f[N].el:_;for(;C<=Y;)z(null,f[C]=R?ue(f[C]):te(f[C]),m,J,S,A,I,T,R),C++}}else if(C>Y)for(;C<=$;)ft(c[C],S,A,!0),C++;else{const N=C,J=C,ct=new Map;for(C=J;C<=Y;C++){const Wt=f[C]=R?ue(f[C]):te(f[C]);Wt.key!=null&&ct.set(Wt.key,C)}let ot,Xt=0;const Ft=Y-J+1;let Kt=!1,qt=0;const ze=new Array(Ft);for(C=0;C<Ft;C++)ze[C]=0;for(C=N;C<=$;C++){const Wt=c[C];if(Xt>=Ft){ft(Wt,S,A,!0);continue}let Gt;if(Wt.key!=null)Gt=ct.get(Wt.key);else for(ot=J;ot<=Y;ot++)if(ze[ot-J]===0&&Oe(Wt,f[ot])){Gt=ot;break}Gt===void 0?ft(Wt,S,A,!0):(ze[Gt-J]=C+1,Gt>=qt?qt=Gt:Kt=!0,z(Wt,f[Gt],m,null,S,A,I,T,R),Xt++)}const ys=Kt?Ir(ze):Te;for(ot=ys.length-1,C=Ft-1;C>=0;C--){const Wt=J+C,Gt=f[Wt],Ss=Wt+1<X?f[Wt+1].el:_;ze[C]===0?z(null,Gt,m,Ss,S,A,I,T,R):Kt&&(ot<0||C!==ys[ot]?St(Gt,m,Ss,2):ot--)}}},St=(c,f,m,_,S=null)=>{const{el:A,type:I,transition:T,children:R,shapeFlag:C}=c;if(C&6){St(c.component.subTree,f,m,_);return}if(C&128){c.suspense.move(f,m,_);return}if(C&64){I.move(c,f,m,Tt);return}if(I===kt){n(A,f,m);for(let $=0;$<R.length;$++)St(R[$],f,m,_);n(c.anchor,f,m);return}if(I===Nn){L(c,f,m);return}if(_!==2&&C&1&&T)if(_===0)T.beforeEnter(A),n(A,f,m),zt(()=>T.enter(A),S);else{const{leave:$,delayLeave:Y,afterLeave:N}=T,J=()=>n(A,f,m),ct=()=>{$(A,()=>{J(),N&&N()})};Y?Y(A,J,ct):ct()}else n(A,f,m)},ft=(c,f,m,_=!1,S=!1)=>{const{type:A,props:I,ref:T,children:R,dynamicChildren:C,shapeFlag:X,patchFlag:$,dirs:Y,cacheIndex:N}=c;if($===-2&&(S=!1),T!=null&&xn(T,null,m,c,!0),N!=null&&(f.renderCache[N]=void 0),X&256){f.ctx.deactivate(c);return}const J=X&1&&Y,ct=!Le(c);let ot;if(ct&&(ot=I&&I.onVnodeBeforeUnmount)&&Jt(ot,f,c),X&6)x(c.component,m,_);else{if(X&128){c.suspense.unmount(m,_);return}J&&ve(c,null,f,"beforeUnmount"),X&64?c.type.remove(c,f,m,Tt,_):C&&!C.hasOnce&&(A!==kt||$>0&&$&64)?P(C,f,m,!1,!0):(A===kt&&$&384||!S&&X&16)&&P(R,f,m),_&&h(c)}(ct&&(ot=I&&I.onVnodeUnmounted)||J)&&zt(()=>{ot&&Jt(ot,f,c),J&&ve(c,null,f,"unmounted")},m)},h=c=>{const{type:f,el:m,anchor:_,transition:S}=c;if(f===kt){v(m,_);return}if(f===Nn){O(c);return}const A=()=>{o(m),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(c.shapeFlag&1&&S&&!S.persisted){const{leave:I,delayLeave:T}=S,R=()=>I(m,A);T?T(c.el,A,R):R()}else A()},v=(c,f)=>{let m;for(;c!==f;)m=M(c),o(c),c=m;o(f)},x=(c,f,m)=>{const{bum:_,scope:S,job:A,subTree:I,um:T,m:R,a:C}=c;Os(R),Os(C),_&&dn(_),S.stop(),A&&(A.flags|=8,ft(I,c,f,m)),T&&zt(T,f),zt(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},P=(c,f,m,_=!1,S=!1,A=0)=>{for(let I=A;I<c.length;I++)ft(c[I],f,m,_,S)},D=c=>{if(c.shapeFlag&6)return D(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=M(c.anchor||c.el),m=f&&f[Do];return m?M(m):f};let j=!1;const tt=(c,f,m)=>{c==null?f._vnode&&ft(f._vnode,null,null,!0):z(f._vnode||null,c,f,null,null,null,m),f._vnode=c,j||(j=!0,Cs(),zo(),j=!1)},Tt={p:z,um:ft,m:St,r:h,mt:Ct,mc:st,pc:W,pbc:vt,n:D,o:t};return{render:tt,hydrate:void 0,createApp:yr(tt)}}function Wn({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function me({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function kr(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function bs(t,e,s=!1){const n=t.children,o=e.children;if(V(n)&&V(o))for(let i=0;i<n.length;i++){const r=n[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=ue(o[i]),l.el=r.el),!s&&l.patchFlag!==-2&&bs(r,l)),l.type===En&&(l.el=r.el)}}function Ir(t){const e=t.slice(),s=[0];let n,o,i,r,l;const a=t.length;for(n=0;n<a;n++){const d=t[n];if(d!==0){if(o=s[s.length-1],t[o]<d){e[n]=o,s.push(n);continue}for(i=0,r=s.length-1;i<r;)l=i+r>>1,t[s[l]]<d?i=l+1:r=l;d<t[s[i]]&&(i>0&&(e[n]=s[i-1]),s[i]=n)}}for(i=s.length,r=s[i-1];i-- >0;)s[i]=r,r=e[r];return s}function ti(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:ti(e)}function Os(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const Er=Symbol.for("v-scx"),zr=()=>le(Er);function $r(t,e){return ws(t,null,e)}function bt(t,e,s){return ws(t,e,s)}function ws(t,e,s=rt){const{immediate:n,deep:o,flush:i,once:r}=s,l=Dt({},s),a=e&&n||!e&&i!=="post";let d;if(Ze){if(i==="sync"){const b=zr();d=b.__watcherHandles||(b.__watcherHandles=[])}else if(!a){const b=()=>{};return b.stop=ee,b.resume=ee,b.pause=ee,b}}const u=Ot;l.call=(b,y,z)=>ne(b,u,y,z);let p=!1;i==="post"?l.scheduler=b=>{zt(b,u&&u.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(b,y)=>{y?b():gs(b)}),l.augmentJob=b=>{e&&(b.flags|=4),p&&(b.flags|=2,u&&(b.id=u.uid,b.i=u))};const M=Ki(t,e,l);return Ze&&(d?d.push(M):a&&M()),M}function Or(t,e,s){const n=this.proxy,o=mt(t)?t.includes(".")?ei(n,t):()=>n[t]:t.bind(n,n);let i;B(e)?i=e:(i=e.handler,s=e);const r=nn(this),l=ws(o,i.bind(n),s);return r(),l}function ei(t,e){const s=e.split(".");return()=>{let n=t;for(let o=0;o<s.length&&n;o++)n=n[s[o]];return n}}const Dr=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${de(e)}Modifiers`]||t[`${Se(e)}Modifiers`];function Fr(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||rt;let o=s;const i=e.startsWith("update:"),r=i&&Dr(n,e.slice(7));r&&(r.trim&&(o=s.map(u=>mt(u)?u.trim():u)),r.number&&(o=s.map(jn)));let l,a=n[l=$n(e)]||n[l=$n(de(e))];!a&&i&&(a=n[l=$n(Se(e))]),a&&ne(a,t,6,o);const d=n[l+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,ne(d,t,6,o)}}function ni(t,e,s=!1){const n=e.emitsCache,o=n.get(t);if(o!==void 0)return o;const i=t.emits;let r={},l=!1;if(!B(t)){const a=d=>{const u=ni(d,e,!0);u&&(l=!0,Dt(r,u))};!s&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!i&&!l?(dt(t)&&n.set(t,null),null):(V(i)?i.forEach(a=>r[a]=null):Dt(r,i),dt(t)&&n.set(t,r),r)}function In(t,e){return!t||!Mn(e)?!1:(e=e.slice(2).replace(/Once$/,""),nt(t,e[0].toLowerCase()+e.slice(1))||nt(t,Se(e))||nt(t,e))}function Ds(t){const{type:e,vnode:s,proxy:n,withProxy:o,propsOptions:[i],slots:r,attrs:l,emit:a,render:d,renderCache:u,props:p,data:M,setupState:b,ctx:y,inheritAttrs:z}=t,Q=wn(t);let F,U;try{if(s.shapeFlag&4){const O=o||n,q=O;F=te(d.call(q,O,u,p,b,M,y)),U=l}else{const O=e;F=te(O.length>1?O(p,{attrs:l,slots:r,emit:a}):O(p,null)),U=e.props?l:Yr(l)}}catch(O){Ve.length=0,Pn(O,t,1),F=Mt(ye)}let L=F;if(U&&z!==!1){const O=Object.keys(U),{shapeFlag:q}=L;O.length&&q&7&&(i&&O.some(is)&&(U=Xr(U,i)),L=Ee(L,U,!1,!0))}return s.dirs&&(L=Ee(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(s.dirs):s.dirs),s.transition&&vs(L,s.transition),F=L,wn(Q),F}const Yr=t=>{let e;for(const s in t)(s==="class"||s==="style"||Mn(s))&&((e||(e={}))[s]=t[s]);return e},Xr=(t,e)=>{const s={};for(const n in t)(!is(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Wr(t,e,s){const{props:n,children:o,component:i}=t,{props:r,children:l,patchFlag:a}=e,d=i.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Fs(n,r,d):!!r;if(a&8){const u=e.dynamicProps;for(let p=0;p<u.length;p++){const M=u[p];if(r[M]!==n[M]&&!In(d,M))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:n===r?!1:n?r?Fs(n,r,d):!0:!!r;return!1}function Fs(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let o=0;o<n.length;o++){const i=n[o];if(e[i]!==t[i]&&!In(s,i))return!0}return!1}function Nr({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const si=t=>t.__isSuspense;function Lr(t,e){e&&e.pendingBranch?V(t)?e.effects.push(...t):e.effects.push(t):Ji(t)}const kt=Symbol.for("v-fgt"),En=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),Nn=Symbol.for("v-stc"),Ve=[];let Lt=null;function K(t=!1){Ve.push(Lt=t?null:[])}function Hr(){Ve.pop(),Lt=Ve[Ve.length-1]||null}let Je=1;function Ys(t,e=!1){Je+=t,t<0&&Lt&&e&&(Lt.hasOnce=!0)}function oi(t){return t.dynamicChildren=Je>0?Lt||Te:null,Hr(),Je>0&&Lt&&Lt.push(t),t}function Z(t,e,s,n,o,i){return oi(w(t,e,s,n,o,i,!0))}function je(t,e,s,n,o){return oi(Mt(t,e,s,n,o,!0))}function ii(t){return t?t.__v_isVNode===!0:!1}function Oe(t,e){return t.type===e.type&&t.key===e.key}const ri=({key:t})=>t??null,gn=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?mt(t)||It(t)||B(t)?{i:Ht,r:t,k:e,f:!!s}:t:null);function w(t,e=null,s=null,n=0,o=null,i=t===kt?0:1,r=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ri(e),ref:e&&gn(e),scopeId:Oo,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ht};return l?(xs(a,s),i&128&&t.normalize(a)):s&&(a.shapeFlag|=mt(s)?8:16),Je>0&&!r&&Lt&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Lt.push(a),a}const Mt=Vr;function Vr(t,e=null,s=null,n=0,o=null,i=!1){if((!t||t===hr)&&(t=ye),ii(t)){const l=Ee(t,e,!0);return s&&xs(l,s),Je>0&&!i&&Lt&&(l.shapeFlag&6?Lt[Lt.indexOf(t)]=l:Lt.push(l)),l.patchFlag=-2,l}if(el(t)&&(t=t.__vccOpts),e){e=jr(e);let{class:l,style:a}=e;l&&!mt(l)&&(e.class=Yt(l)),dt(a)&&(ps(a)&&!V(a)&&(a=Dt({},a)),e.style=pt(a))}const r=mt(t)?1:si(t)?128:Qi(t)?64:dt(t)?4:B(t)?2:0;return w(t,e,s,n,o,r,i,!0)}function jr(t){return t?ps(t)||Uo(t)?Dt({},t):t:null}function Ee(t,e,s=!1,n=!1){const{props:o,ref:i,patchFlag:r,children:l,transition:a}=t,d=e?Ur(o||{},e):o,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:d,key:d&&ri(d),ref:e&&e.ref?s&&i?V(i)?i.concat(gn(e)):[i,gn(e)]:gn(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==kt?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ee(t.ssContent),ssFallback:t.ssFallback&&Ee(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&n&&vs(u,a.clone(u)),u}function Br(t=" ",e=0){return Mt(En,null,t,e)}function gt(t="",e=!1){return e?(K(),je(ye,null,t)):Mt(ye,null,t)}function te(t){return t==null||typeof t=="boolean"?Mt(ye):V(t)?Mt(kt,null,t.slice()):ii(t)?ue(t):Mt(En,null,String(t))}function ue(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ee(t)}function xs(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(V(e))s=16;else if(typeof e=="object")if(n&65){const o=e.default;o&&(o._c&&(o._d=!1),xs(t,o()),o._c&&(o._d=!0));return}else{s=32;const o=e._;!o&&!Uo(e)?e._ctx=Ht:o===3&&Ht&&(Ht.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else B(e)?(e={default:e,_ctx:Ht},s=32):(e=String(e),n&64?(s=16,e=[Br(e)]):s=8);t.children=e,t.shapeFlag|=s}function Ur(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const o in n)if(o==="class")e.class!==n.class&&(e.class=Yt([e.class,n.class]));else if(o==="style")e.style=pt([e.style,n.style]);else if(Mn(o)){const i=e[o],r=n[o];r&&i!==r&&!(V(i)&&i.includes(r))&&(e[o]=i?[].concat(i,r):r)}else o!==""&&(e[o]=n[o])}return e}function Jt(t,e,s,n=null){ne(t,e,7,[s,n])}const Kr=Vo();let qr=0;function Gr(t,e,s){const n=t.type,o=(e?e.appContext:t.appContext)||Kr,i={uid:qr++,vnode:t,type:n,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new yi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qo(n,o),emitsOptions:ni(n,o),emit:null,emitted:null,propsDefaults:rt,inheritAttrs:n.inheritAttrs,ctx:rt,data:rt,props:rt,attrs:rt,slots:rt,refs:rt,setupState:rt,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=e?e.root:i,i.emit=Fr.bind(null,i),t.ce&&t.ce(i),i}let Ot=null,Sn,ns;{const t=Cn(),e=(s,n)=>{let o;return(o=t[s])||(o=t[s]=[]),o.push(n),i=>{o.length>1?o.forEach(r=>r(i)):o[0](i)}};Sn=e("__VUE_INSTANCE_SETTERS__",s=>Ot=s),ns=e("__VUE_SSR_SETTERS__",s=>Ze=s)}const nn=t=>{const e=Ot;return Sn(t),t.scope.on(),()=>{t.scope.off(),Sn(e)}},Xs=()=>{Ot&&Ot.scope.off(),Sn(null)};function li(t){return t.vnode.shapeFlag&4}let Ze=!1;function Jr(t,e=!1,s=!1){e&&ns(e);const{props:n,children:o}=t.vnode,i=li(t);Sr(t,n,i,e),Cr(t,o,s);const r=i?Zr(t,e):void 0;return e&&ns(!1),r}function Zr(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,pr);const{setup:n}=s;if(n){pe();const o=t.setupContext=n.length>1?tl(t):null,i=nn(t),r=tn(n,t,0,[t.props,o]),l=oo(r);if(ge(),i(),(l||t.sp)&&!Le(t)&&Xo(t),l){if(r.then(Xs,Xs),e)return r.then(a=>{Ws(t,a)}).catch(a=>{Pn(a,t,0)});t.asyncDep=r}else Ws(t,r)}else ai(t)}function Ws(t,e,s){B(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:dt(e)&&(t.setupState=Po(e)),ai(t)}function ai(t,e,s){const n=t.type;t.render||(t.render=n.render||ee);{const o=nn(t);pe();try{gr(t)}finally{ge(),o()}}}const Qr={get(t,e){return Rt(t,"get",""),t[e]}};function tl(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Qr),slots:t.slots,emit:t.emit,expose:e}}function zn(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Po(Ro(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in He)return He[s](t)},has(e,s){return s in e||s in He}})):t.proxy}function el(t){return B(t)&&"__vccOpts"in t}const At=(t,e)=>Bi(t,e,Ze),nl="3.5.13";let ss;const Ns=typeof window<"u"&&window.trustedTypes;if(Ns)try{ss=Ns.createPolicy("vue",{createHTML:t=>t})}catch{}const ci=ss?t=>ss.createHTML(t):t=>t,sl="http://www.w3.org/2000/svg",ol="http://www.w3.org/1998/Math/MathML",oe=typeof document<"u"?document:null,Ls=oe&&oe.createElement("template"),il={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const o=e==="svg"?oe.createElementNS(sl,t):e==="mathml"?oe.createElementNS(ol,t):s?oe.createElement(t,{is:s}):oe.createElement(t);return t==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:t=>oe.createTextNode(t),createComment:t=>oe.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>oe.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,o,i){const r=s?s.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),s),!(o===i||!(o=o.nextSibling)););else{Ls.innerHTML=ci(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=Ls.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}e.insertBefore(l,s)}return[r?r.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},rl=Symbol("_vtc");function ll(t,e,s){const n=t[rl];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Hs=Symbol("_vod"),al=Symbol("_vsh"),cl=Symbol(""),ul=/(^|;)\s*display\s*:/;function fl(t,e,s){const n=t.style,o=mt(s);let i=!1;if(s&&!o){if(e)if(mt(e))for(const r of e.split(";")){const l=r.slice(0,r.indexOf(":")).trim();s[l]==null&&vn(n,l,"")}else for(const r in e)s[r]==null&&vn(n,r,"");for(const r in s)r==="display"&&(i=!0),vn(n,r,s[r])}else if(o){if(e!==s){const r=n[cl];r&&(s+=";"+r),n.cssText=s,i=ul.test(s)}}else e&&t.removeAttribute("style");Hs in t&&(t[Hs]=i?n.display:"",t[al]&&(n.display="none"))}const Vs=/\s*!important$/;function vn(t,e,s){if(V(s))s.forEach(n=>vn(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=dl(t,e);Vs.test(s)?t.setProperty(Se(n),s.replace(Vs,""),"important"):t[n]=s}}const js=["Webkit","Moz","ms"],Ln={};function dl(t,e){const s=Ln[e];if(s)return s;let n=de(e);if(n!=="filter"&&n in t)return Ln[e]=n;n=lo(n);for(let o=0;o<js.length;o++){const i=js[o]+n;if(i in t)return Ln[e]=i}return e}const Bs="http://www.w3.org/1999/xlink";function Us(t,e,s,n,o,i=xi(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Bs,e.slice(6,e.length)):t.setAttributeNS(Bs,e,s):s==null||i&&!co(s)?t.removeAttribute(e):t.setAttribute(e,i?"":he(s)?String(s):s)}function Ks(t,e,s,n,o){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?ci(s):s);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?t.getAttribute("value")||"":t.value,a=s==null?t.type==="checkbox"?"on":"":String(s);(l!==a||!("_value"in t))&&(t.value=a),s==null&&t.removeAttribute(e),t._value=s;return}let r=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=co(s):s==null&&l==="string"?(s="",r=!0):l==="number"&&(s=0,r=!0)}try{t[e]=s}catch{}r&&t.removeAttribute(o||e)}function Ce(t,e,s,n){t.addEventListener(e,s,n)}function hl(t,e,s,n){t.removeEventListener(e,s,n)}const qs=Symbol("_vei");function pl(t,e,s,n,o=null){const i=t[qs]||(t[qs]={}),r=i[e];if(n&&r)r.value=n;else{const[l,a]=gl(e);if(n){const d=i[e]=bl(n,o);Ce(t,l,d,a)}else r&&(hl(t,l,r,a),i[e]=void 0)}}const Gs=/(?:Once|Passive|Capture)$/;function gl(t){let e;if(Gs.test(t)){e={};let n;for(;n=t.match(Gs);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Se(t.slice(2)),e]}let Hn=0;const vl=Promise.resolve(),ml=()=>Hn||(vl.then(()=>Hn=0),Hn=Date.now());function bl(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;ne(wl(n,s.value),e,5,[n])};return s.value=t,s.attached=ml(),s}function wl(t,e){if(V(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>o=>!o._stopped&&n&&n(o))}else return e}const Js=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,xl=(t,e,s,n,o,i)=>{const r=o==="svg";e==="class"?ll(t,n,r):e==="style"?fl(t,s,n):Mn(e)?is(e)||pl(t,e,s,n,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):yl(t,e,n,r))?(Ks(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Us(t,e,n,r,i,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!mt(n))?Ks(t,de(e),n,i,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Us(t,e,n,r))};function yl(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Js(e)&&B(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=t.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Js(e)&&mt(s)?!1:e in t}const Zs=t=>{const e=t.props["onUpdate:modelValue"]||!1;return V(e)?s=>dn(e,s):e};function Sl(t){t.target.composing=!0}function Qs(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Vn=Symbol("_assign"),Qe={created(t,{modifiers:{lazy:e,trim:s,number:n}},o){t[Vn]=Zs(o);const i=n||o.props&&o.props.type==="number";Ce(t,e?"change":"input",r=>{if(r.target.composing)return;let l=t.value;s&&(l=l.trim()),i&&(l=jn(l)),t[Vn](l)}),s&&Ce(t,"change",()=>{t.value=t.value.trim()}),e||(Ce(t,"compositionstart",Sl),Ce(t,"compositionend",Qs),Ce(t,"change",Qs))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:s,modifiers:{lazy:n,trim:o,number:i}},r){if(t[Vn]=Zs(r),t.composing)return;const l=(i||t.type==="number")&&!/^0\d/.test(t.value)?jn(t.value):t.value,a=e??"";l!==a&&(document.activeElement===t&&t.type!=="range"&&(n&&e===s||o&&t.value.trim()===a)||(t.value=a))}},Ml=["ctrl","shift","alt","meta"],Al={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Ml.some(s=>t[`${s}Key`]&&!e.includes(s))},H=(t,e)=>{const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=(o,...i)=>{for(let r=0;r<e.length;r++){const l=Al[e[r]];if(l&&l(o,e))return}return t(o,...i)})},_l=Dt({patchProp:xl},il);let to;function Cl(){return to||(to=Rr(_l))}const Tl=(...t)=>{const e=Cl().createApp(...t),{mount:s}=e;return e.mount=n=>{const o=Pl(n);if(!o)return;const i=e._component;!B(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=s(o,!1,Rl(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},e};function Rl(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Pl(t){return mt(t)?document.querySelector(t):t}const eo="translime-preview-settings:";function kl(){return{invoke:async(t,...e)=>(console.log("[Preview Mock] ipc.invoke:",t,e),null),send:(t,...e)=>{console.log("[Preview Mock] ipc.send:",t,e)},on:(t,e)=>(console.log("[Preview Mock] ipc.on registered:",t),()=>{console.log("[Preview Mock] ipc.on removed:",t)}),once:(t,e)=>{console.log("[Preview Mock] ipc.once registered:",t)},removeListener:(t,e)=>{console.log("[Preview Mock] ipc.removeListener:",t)},removeAllListeners:t=>{console.log("[Preview Mock] ipc.removeAllListeners:",t)}}}function Il(){return{showOpenDialog:async t=>(console.log("[Preview Mock] showOpenDialog:",t),new Promise(e=>{const s=document.createElement("input");if(s.type="file",t?.properties?.includes("openDirectory")&&(s.webkitdirectory=!0),t?.properties?.includes("multiSelections")&&(s.multiple=!0),t?.filters){const n=t.filters.flatMap(o=>o.extensions.map(i=>`.${i}`)).join(",");s.accept=n}s.onchange=()=>{const n=Array.from(s.files||[]).map(o=>o.name);e({canceled:n.length===0,filePaths:n})},s.oncancel=()=>{e({canceled:!0,filePaths:[]})},s.click()})),showSaveDialog:async t=>{console.log("[Preview Mock] showSaveDialog:",t);const e=prompt("保存文件名:",t?.defaultPath||"file.txt");return{canceled:!e,filePath:e||void 0}},showMessageBox:async t=>(console.log("[Preview Mock] showMessageBox:",t),{response:confirm(t?.message||"")?0:1}),showErrorBox:(t,e)=>{console.error("[Preview Mock] showErrorBox:",t,e),alert(`${t}
2
2
 
3
- ${t}`)}}}function Tl(){return{openExternal:async e=>{console.log("[Preview Mock] shell.openExternal:",e),window.open(e,"_blank")},openPath:async e=>{console.log("[Preview Mock] shell.openPath:",e),alert(`[Preview] 无法在浏览器中打开路径: ${e}`)},showItemInFolder:e=>{console.log("[Preview Mock] shell.showItemInFolder:",e),alert(`[Preview] 无法在浏览器中显示文件夹: ${e}`)}}}function Cl(){return{readText:async()=>{try{return await navigator.clipboard.readText()}catch(e){return console.warn("[Preview Mock] clipboard.readText failed:",e),""}},writeText:async e=>{try{await navigator.clipboard.writeText(e),console.log("[Preview Mock] clipboard.writeText:",e)}catch(t){console.warn("[Preview Mock] clipboard.writeText failed:",t)}},readImage:async()=>(console.log("[Preview Mock] clipboard.readImage: not supported in preview"),null),writeImage:async()=>{console.log("[Preview Mock] clipboard.writeImage: not supported in preview")}}}function Al(){return{close:e=>{console.log("[Preview Mock] windowControl.close:",e)},minimize:e=>{console.log("[Preview Mock] windowControl.minimize:",e)},maximize:e=>{console.log("[Preview Mock] windowControl.maximize:",e)},unmaximize:e=>{console.log("[Preview Mock] windowControl.unmaximize:",e)},devtools:e=>{console.log("[Preview Mock] windowControl.devtools:",e)},isMaximized:async e=>(console.log("[Preview Mock] windowControl.isMaximized:",e),!1)}}function El(){return{get:async e=>{const t=`${qn}${e}`;try{const n=localStorage.getItem(t);return n?JSON.parse(n):{}}catch(n){return console.warn("[Preview Mock] getPluginSetting parse error:",n),{}}},set:async(e,t)=>{const n=`${qn}${e}`;try{localStorage.setItem(n,JSON.stringify(t)),console.log("[Preview Mock] setPluginSetting:",e,t)}catch(s){console.warn("[Preview Mock] setPluginSetting error:",s)}}}}function Rl(){return{log:(...e)=>console.log("[Preview]",...e),info:(...e)=>console.info("[Preview]",...e),warn:(...e)=>console.warn("[Preview]",...e),error:(...e)=>console.error("[Preview]",...e),debug:(...e)=>console.debug("[Preview]",...e)}}function Ol(){const e=Ml();return{useIpc:()=>e,dialog:Pl(),shell:Tl(),clipboard:Cl(),openLink:async t=>{console.log("[Preview Mock] openLink:",t),window.open(t,"_blank")},versions:{node:"preview",chrome:navigator.userAgent.match(/Chrome\/([0-9.]+)/)?.[1]||"unknown",electron:"preview"},APP_ROOT:"/preview",APPDATA_PATH:"/preview/appdata"}}function Il(){const e=El();return{getPluginSetting:e.get,setPluginSetting:e.set,windowControl:Al(),logger:Rl(),net:{request:async(t,n)=>{console.log("[Preview Mock] net.request:",t,n);try{const s=await fetch(t,n);return{ok:s.ok,status:s.status,data:await s.text()}}catch(s){return{ok:!1,status:0,error:s.message}}}}}}function Dl(){typeof window>"u"||(window.electron||(window.electron=Ol(),console.log("[Preview Mock] window.electron injected")),window.ts||(window.ts=Il(),console.log("[Preview Mock] window.ts injected")))}function Fl(){return!!(typeof __TRANSLIME_PREVIEW__<"u"&&__TRANSLIME_PREVIEW__||typeof window<"u"&&!window.electron&&!window.ts)}typeof window<"u"&&Fl()&&Dl();function $l(){return typeof global<"u"&&global.mainStore?global.mainStore?.logger||console:typeof window<"u"&&window.ts?.logger||console}const pn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},kl={class:"frozen-screens-layer"},zl=["src"],Nl={__name:"FrozenScreens",props:{screens:{type:Array,default:()=>[]},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0}},setup(e){return(t,n)=>(ne(),he("div",kl,[(ne(!0),he(Ce,null,lr(e.screens,s=>(ne(),he("div",{key:s.displayId,class:"frozen-screen",style:Me({left:s.bounds.x-e.offsetX+"px",top:s.bounds.y-e.offsetY+"px",width:s.bounds.width+"px",height:s.bounds.height+"px"})},[F("img",{src:s.url,draggable:"false"},null,8,zl)],4))),128))]))}},Ll=pn(Nl,[["__scopeId","data-v-0b001d45"]]),Hl={class:"absolute inset-0 z-10 pointer-events-none"},Wl={key:0,class:"absolute top-1 left-1 bg-[#2196F3] text-white px-2 py-0.5 rounded text-xs whitespace-nowrap shadow-md pointer-events-none"},Yl={__name:"SelectionRect",props:{state:{type:Object,default:()=>({isSelecting:!1,hasSelection:!1,highlightedWindow:null,offsetX:0,offsetY:0})},bounds:{type:Object,default:()=>({x:0,y:0,w:0,h:0})}},emits:["resize-start"],setup(e,{emit:t}){const n=t,s=e,i=Xe(null);Ar(()=>{const l=i.value;if(!l)return;const c=l.getContext("2d");l.width=window.innerWidth,l.height=window.innerHeight,c.clearRect(0,0,l.width,l.height),c.fillStyle="rgba(0, 0, 0, 0.4)",c.fillRect(0,0,l.width,l.height);let d=null;if(s.state.isSelecting||s.state.hasSelection?d=s.bounds:s.state.highlightedWindow&&(d={x:s.state.highlightedWindow.left-s.state.offsetX,y:s.state.highlightedWindow.top-s.state.offsetY,w:s.state.highlightedWindow.width,h:s.state.highlightedWindow.height}),d){const{x:a,y:h,w:m,h:v}=d,M=(s.state.isSelecting||s.state.hasSelection)&&s.state.borderRadius||0;c.save(),c.globalCompositeOperation="destination-out",c.beginPath(),c.roundRect?c.roundRect(a,h,m,v,M):(c.moveTo(a+M,h),c.lineTo(a+m-M,h),c.quadraticCurveTo(a+m,h,a+m,h+M),c.lineTo(a+m,h+v-M),c.quadraticCurveTo(a+m,h+v,a+m-M,h+v),c.lineTo(a+M,h+v),c.quadraticCurveTo(a,h+v,a,h+v-M),c.lineTo(a,h+M),c.quadraticCurveTo(a,h,a+M,h)),c.fillStyle="black",c.fill(),c.restore()}});const o=Ne(()=>{if(!s.state.highlightedWindow||s.state.isSelecting||s.state.hasSelection)return{display:"none"};const l=s.state.highlightedWindow;return{left:`${l.left-s.state.offsetX}px`,top:`${l.top-s.state.offsetY}px`,width:`${l.width}px`,height:`${l.height}px`}}),r=l=>{n("resize-start",l)};return(l,c)=>(ne(),he("div",Hl,[F("canvas",{ref_key:"canvasRef",ref:i,class:"w-full h-full"},null,512),F("div",{class:"absolute border border-dashed border-[#2196F3] bg-[#2196F3]/10 transition-all duration-100 ease-out box-border",style:Me(o.value)},null,4),e.state.isSelecting||e.state.hasSelection?(ne(),he("div",{key:0,class:"absolute border border-dashed border-[#2196F3] box-border pointer-events-auto cursor-move",style:Me({left:e.bounds.x+"px",top:e.bounds.y+"px",width:e.bounds.w+"px",height:e.bounds.h+"px",borderRadius:(e.state.borderRadius||0)+"px"})},[e.bounds.w>80&&e.bounds.h>24?(ne(),he("div",Wl,ct(Math.round(e.bounds.w))+" × "+ct(Math.round(e.bounds.h)),1)):Ae("",!0),!e.state.isMoving&&e.state.hasSelection?(ne(),he(Ce,{key:1},[F("div",{class:"absolute -top-1.5 -left-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-nw-resize z-20",onMousedown:c[0]||(c[0]=ie(d=>r("nw"),["stop"]))},null,32),F("div",{class:"absolute -top-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-n-resize z-20",onMousedown:c[1]||(c[1]=ie(d=>r("n"),["stop"]))},null,32),F("div",{class:"absolute -top-1.5 -right-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-ne-resize z-20",onMousedown:c[2]||(c[2]=ie(d=>r("ne"),["stop"]))},null,32),F("div",{class:"absolute top-1/2 -right-1.5 -translate-y-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-e-resize z-20",onMousedown:c[3]||(c[3]=ie(d=>r("e"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 -right-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-se-resize z-20",onMousedown:c[4]||(c[4]=ie(d=>r("se"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-s-resize z-20",onMousedown:c[5]||(c[5]=ie(d=>r("s"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 -left-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-sw-resize z-20",onMousedown:c[6]||(c[6]=ie(d=>r("sw"),["stop"]))},null,32),F("div",{class:"absolute top-1/2 -left-1.5 -translate-y-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-w-resize z-20",onMousedown:c[7]||(c[7]=ie(d=>r("w"),["stop"]))},null,32)],64)):Ae("",!0)],4)):Ae("",!0)]))}},jl={key:0,class:"absolute inset-0 w-full h-full pointer-events-none z-99"},Xl=["x1","y1","x2","y2"],Ul=["cx","cy"],Bl=["x","y"],Vl={class:"action-toolbar-main"},Kl={key:0,class:"absolute -top-6 left-0 text-[10px] text-[#FF5252] font-mono whitespace-nowrap"},ql={class:"btn-group"},Gl={key:0,class:"size-settings-bar"},Jl={class:"size-inputs"},Zl={key:1,class:"size-settings-bar"},Ql={class:"radius-settings"},ec={__name:"ActionToolbar",props:{bounds:{type:Object,default:()=>({x:0,y:0,w:0,h:0})},visible:{type:Boolean,default:!1}},setup(e){const t=e,n=Be("state"),{findDisplayAtLocalPoint:s}=Be("utils"),i=Be("actions"),o=Xe(!1),r=Xe(0),l=Xe(0),c=Xe(!1),d=Xe(0);Qe(()=>t.bounds,A=>{A&&(r.value=Math.round(A.w||0),l.value=Math.round(A.h||0))},{immediate:!0}),Qe(()=>n.borderRadius,A=>{d.value=A||0},{immediate:!0}),Qe(d,A=>{const b=Math.max(0,Math.min(120,parseInt(A,10)||0));n.borderRadius!==b&&(n.borderRadius=b,localStorage.setItem("translime.hdr-capture.borderRadius",b))}),jt(()=>{const A=localStorage.getItem("translime.hdr-capture.borderRadius");if(A!==null){const b=parseInt(A,10)||0;d.value=b,n.borderRadius!==b&&(n.borderRadius=b)}});const a=()=>{o.value=!o.value,o.value&&(c.value=!1),o.value&&t.bounds&&(r.value=Math.round(t.bounds.w||0),l.value=Math.round(t.bounds.h||0))},h=()=>{c.value=!c.value,c.value&&(o.value=!1,d.value=n.borderRadius||0)},m=()=>{const A=Math.min(n.startX,n.endX),b=Math.min(n.startY,n.endY),C=parseInt(r.value,10)||0,W=parseInt(l.value,10)||0;C<=0||W<=0||(n.startX=A,n.startY=b,n.endX=A+C,n.endY=b+W)},v=A=>{A.key==="Enter"&&(m(),A.target.blur())},M=A=>{if(A.key==="Escape"){if(o.value||c.value){o.value=!1,c.value=!1,A.preventDefault();return}A.preventDefault(),i.closeOverlay();return}t.visible&&(["INPUT","TEXTAREA"].includes(document.activeElement.tagName)||(A.ctrlKey&&A.key==="s"&&(A.preventDefault(),i.handleAction("save")),A.ctrlKey&&A.key==="c"&&(A.preventDefault(),i.handleAction("copy"))))};jt(()=>{window.addEventListener("keydown",M)}),Vt(()=>{window.removeEventListener("keydown",M)});const O=Ne(()=>{const{x:A,y:b,w:C,h:W}=t.bounds||{x:0,y:0,w:0,h:0},P=140,_=76,D=8,I=12,V=s(A+C/2,b+W/2).bounds,ee={left:V.x-n.offsetX,top:V.y-n.offsetY,right:V.x+V.width-n.offsetX,bottom:V.y+V.height-n.offsetY};let re=A+C-P,be=b+W+D;return be+_+I>ee.bottom&&(be=b-_-D,be<ee.top+I&&(be=b+W-_-I-10,re=A+C-P-I-10)),re=Math.max(ee.left+I,Math.min(re,ee.right-P-I)),be=Math.max(ee.top+I,Math.min(be,ee.bottom-_-I)),{left:re,top:be,tbWidth:P,tbHeight:_}}),G=Ne(()=>{const A=O.value;return{left:`${A.left+A.tbWidth}px`,top:`${A.top}px`,transform:"translateX(-100%)"}}),z=Ne(()=>{if(!n.isDebug||!t.visible)return null;const{x:A,y:b,w:C,h:W}=t.bounds,{left:P,top:_,tbWidth:D,tbHeight:I}=O.value;return{x1:A+C/2,y1:b+W/2,x2:P+D/2,y2:_+I/2}});return(A,b)=>(ne(),Nt(Ko,{to:"body"},[qe(n)&&qe(n).isDebug&&z.value?(ne(),he("svg",jl,[F("line",{x1:z.value.x1,y1:z.value.y1,x2:z.value.x2,y2:z.value.y2,stroke:"#FF5252","stroke-width":"2","stroke-dasharray":"5,5"},null,8,Xl),F("circle",{cx:z.value.x1,cy:z.value.y1,r:"4",fill:"#FF5252"},null,8,Ul),F("text",{x:z.value.x2,y:O.value.top-10,fill:"#FF5252","font-size":"12"},ct(Math.round(O.value.left))+", "+ct(Math.round(O.value.top)),9,Bl)])):Ae("",!0),qe(n)&&e.visible?(ne(),he("div",{key:1,class:"action-toolbar-container",style:Me(G.value)},[F("div",Vl,[qe(n).isDebug?(ne(),he("div",Kl," Monitor: "+ct(Math.round(O.value.left))+","+ct(Math.round(O.value.top)),1)):Ae("",!0),F("div",ql,[F("button",{class:Lt(["btn btn-settings",{active:o.value}]),title:"设置尺寸",onClick:ie(a,["stop"])},b[11]||(b[11]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M15 3h6v6"}),F("path",{d:"M9 21H3v-6"}),F("path",{d:"M21 3l-7 7"}),F("path",{d:"M3 21l7-7"})],-1)]),2),F("button",{class:Lt(["btn btn-settings",{active:c.value}]),title:"设置圆角",onClick:ie(h,["stop"])},b[12]||(b[12]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("rect",{x:"3",y:"3",width:"18",height:"18",rx:"5",ry:"5"})],-1)]),2),b[16]||(b[16]=F("div",{class:"divider"},null,-1)),F("button",{class:"btn btn-save",title:"保存 (Ctrl+S)",onClick:b[0]||(b[0]=ie(C=>qe(i).handleAction("save"),["stop"]))},b[13]||(b[13]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),F("polyline",{points:"17 21 17 13 7 13 7 21"}),F("polyline",{points:"7 3 7 8 15 8"})],-1)])),F("button",{class:"btn btn-copy",title:"复制 (Ctrl+C)",onClick:b[1]||(b[1]=ie(C=>qe(i).handleAction("copy"),["stop"]))},b[14]||(b[14]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),F("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})],-1)])),F("button",{class:"btn btn-cancel",title:"取消 (Esc)",onClick:b[2]||(b[2]=ie(C=>qe(i).closeOverlay(),["stop"]))},b[15]||(b[15]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),F("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)]))])]),o.value?(ne(),he("div",Gl,[F("div",Jl,[Qt(F("input",{"onUpdate:modelValue":b[3]||(b[3]=C=>r.value=C),type:"number",class:"size-input",style:Me({width:`calc(${Math.max(4,String(r.value).length)}ch + 12px)`}),onKeydown:v,onMousedown:b[4]||(b[4]=ie(()=>{},["stop"]))},null,36),[[ts,r.value]]),b[17]||(b[17]=F("span",{class:"size-separator"},"x",-1)),Qt(F("input",{"onUpdate:modelValue":b[5]||(b[5]=C=>l.value=C),type:"number",class:"size-input",style:Me({width:`calc(${Math.max(4,String(l.value).length)}ch + 12px)`}),onKeydown:v,onMousedown:b[6]||(b[6]=ie(()=>{},["stop"]))},null,36),[[ts,l.value]]),b[18]||(b[18]=F("span",{class:"size-unit"},"px",-1))]),F("button",{class:"btn-confirm",onClick:ie(m,["stop"])}," 确定 ")])):Ae("",!0),c.value?(ne(),he("div",Zl,[F("div",Ql,[b[19]||(b[19]=F("span",{class:"radius-label"},"圆角半径:",-1)),Qt(F("input",{"onUpdate:modelValue":b[7]||(b[7]=C=>d.value=C),type:"range",min:"0",max:"120",class:"radius-slider",onMousedown:b[8]||(b[8]=ie(()=>{},["stop"]))},null,544),[[ts,d.value]]),Qt(F("input",{"onUpdate:modelValue":b[9]||(b[9]=C=>d.value=C),type:"number",class:"size-input",style:{width:"50px"},onMousedown:b[10]||(b[10]=ie(()=>{},["stop"]))},null,544),[[ts,d.value]]),b[20]||(b[20]=F("span",{class:"size-unit"},"px",-1))])])):Ae("",!0)],4)):Ae("",!0)]))}},tc=pn(ec,[["__scopeId","data-v-ebf36e2e"]]),sc={__name:"HintBox",props:{cursorPos:{type:Object,default:()=>({x:0,y:0})}},setup(e){const t=e,{findDisplayAtLocalPoint:n}=Be("utils"),s=Xe("right"),i=()=>{s.value=s.value==="right"?"left":"right"},o=Ne(()=>{const r=n(t.cursorPos.x,t.cursorPos.y);if(!r)return{display:"none"};const l=Be("state"),c=r.bounds,d={left:c.x-l.offsetX,top:c.y-l.offsetY,right:c.x+c.width-l.offsetX,bottom:c.y+c.height-l.offsetY},a=20,h={bottom:`${window.innerHeight-d.bottom+a}px`};return s.value==="right"?h.right=`${window.innerWidth-d.right+a}px`:h.left=`${d.left+a}px`,h});return(r,l)=>(ne(),he("div",{class:"absolute z-50 pointer-events-auto transition-all duration-300 ease-[cubic-bezier(0.23,1,0.32,1)]",style:Me(o.value),onMouseenter:i},l[0]||(l[0]=[F("div",{class:"bg-black/75 text-white px-4 py-2 rounded-xl text-xs backdrop-blur-xs border border-white/10 shadow-lg"},[F("p",null,"点击探测到的窗口快速选区"),F("p",null,"滚轮切换窗口层次"),F("p",null,"esc 取消")],-1)]),36))}},nc={__name:"Magnifier",props:{cursorPos:{type:Object,required:!0},screens:{type:Array,default:()=>[]},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0},zoom:{type:Number,default:5},size:{type:Number,default:140}},setup(e){const t=e,n=Xe(null),s=Xe([]);function i(){const r=n.value;if(!r)return;const l=r.getContext("2d");if(!l)return;l.imageSmoothingEnabled=!1;const{size:c,zoom:d,cursorPos:a,offsetX:h,offsetY:m}=t,v=window.devicePixelRatio||1,M=c*v;r.width!==M&&(r.width=M,r.height=M),l.clearRect(0,0,M,M),l.fillStyle="#111",l.fillRect(0,0,M,M);const O=a.x+h,G=a.y+m,z=c/2/d,A={left:O-z,top:G-z,right:O+z,bottom:G+z};s.value.forEach(_=>{if(!_.img||!_.img.complete||_.img.naturalWidth===0)return;const D=_.bounds||_,I=Number(D.x),Y=Number(D.y),V=Number(D.width),ee=Number(D.height),re=I+V,be=Y+ee,St=_.img.naturalWidth/V,oe=_.img.naturalHeight/ee,K=Math.max(A.left,I),X=Math.max(A.top,Y),Te=Math.min(A.right,re),Ke=Math.min(A.bottom,be);if(K<Te&&X<Ke){const He=(K-I)*St,_e=(X-Y)*oe,qt=(Te-K)*St,Ss=(Ke-X)*oe,Ms=(K-A.left)*d*v,it=(X-A.top)*d*v,ht=(Te-K)*d*v,Mt=(Ke-X)*d*v;try{l.drawImage(_.img,He,_e,qt,Ss,Ms,it,ht,Mt)}catch{}}});const b=M/2,C=M/2;l.beginPath(),l.strokeStyle="rgba(33, 150, 243, 0.5)",l.lineWidth=1*v,l.moveTo(0,C),l.lineTo(M,C),l.moveTo(b,0),l.lineTo(b,M),l.stroke(),l.fillStyle="#FF5252";const W=2*v;l.fillRect(b-W/2,C-W/2,W,W),l.beginPath(),l.strokeStyle="rgba(255, 255, 255, 0.3)",l.lineWidth=1*v,l.strokeRect(0,0,M,M);const P=12*v;l.font=`${P}px monospace`,l.fillStyle="rgba(0, 0, 0, 0.7)",l.fillRect(0,M-P-8*v,M,P+8*v),l.fillStyle="#fff",l.textAlign="center",l.fillText(`${Math.round(O)}, ${Math.round(G)}`,b,M-6*v)}Qe(()=>t.screens,r=>{const l=s.value;for(let d=0;d<l.length;d+=1){const a=l[d];a.img&&(a.img.onload=null)}s.value=r.map(d=>{const a=new Image;return a.src=d.url,a.onload=()=>requestAnimationFrame(i),{...d,img:yi(a)}});const c=n.value;if(c){const d=c.getContext("2d"),a=window.devicePixelRatio||1,h=t.size*a;d?.clearRect(0,0,h,h)}},{immediate:!0,deep:!0}),Vt(()=>{const r=s.value;for(let l=0;l<r.length;l+=1){const c=r[l];c.img&&(c.img.onload=null)}s.value=[]});const o=Ne(()=>{const{x:r,y:l}=t.cursorPos;let c=r+20,d=l+20;return c+t.size>window.innerWidth&&(c=r-t.size-20),d+t.size>window.innerHeight&&(d=l-t.size-20),{left:c,top:d}});return Qe(()=>t.cursorPos,()=>{requestAnimationFrame(i)},{deep:!0,immediate:!0}),jt(()=>{setTimeout(i,200)}),(r,l)=>(ne(),he("div",{class:"magnifier",style:Me({width:e.size+"px",height:e.size+"px",left:o.value.left+"px",top:o.value.top+"px"})},[F("canvas",{ref_key:"canvasRef",ref:n,style:{width:"100%",height:"100%"}},null,512)],4))}},ic=pn(nc,[["__scopeId","data-v-37869409"]]),oc="translime-plugin-hdr-capture",rc={__name:"App",setup(e){const t=$l(),n=t.child?t.child({plugin_id:oc,context:"Overlay"}):t,s=bs({offsetX:0,offsetY:0,displays:[],capturedScreens:[],cursorPos:{x:0,y:0},isSelecting:!1,isDragging:!1,isMoving:!1,isResizing:!1,resizeDirection:null,resizeActiveX:null,resizeActiveY:null,hasSelection:!1,startX:0,startY:0,endX:0,endY:0,moveOriginX:0,moveOriginY:0,rectAtStartMove:null,highlightedWindow:null,allWindows:[],candidates:[],candidateIndex:0,isDebug:!1,borderRadius:0}),i=Ne(()=>{const P=Math.min(s.startX,s.endX),_=Math.min(s.startY,s.endY),D=Math.abs(s.endX-s.startX),I=Math.abs(s.endY-s.startY);return{x:Number.isNaN(P)?0:P,y:Number.isNaN(_)?0:_,w:Number.isNaN(D)?0:D,h:Number.isNaN(I)?0:I}}),o=Ne(()=>s.isMoving?!1:!!(s.isSelecting||s.isResizing||!s.hasSelection)),r=(P,_)=>{if(s.isSelecting||s.isMoving||s.hasSelection)return;const D=P+s.offsetX,I=_+s.offsetY,Y=s.allWindows.filter(ee=>D>=ee.left&&D<ee.right&&I>=ee.top&&I<ee.bottom);Y.sort((ee,re)=>ee.width*ee.height-re.width*re.height),Y.length!==s.candidates.length||Y.some((ee,re)=>ee.handle!==s.candidates[re]?.handle)?(s.candidates=Y,s.candidateIndex=0,s.highlightedWindow=Y.length>0?Y[0]:null):!s.highlightedWindow&&Y.length>0&&(s.candidateIndex=0,[s.highlightedWindow]=Y)};function l(){window.hdrCapture?.close?.()}function c(){s.hasSelection?(s.hasSelection=!1,s.isSelecting=!1,s.isDragging=!1,s.isMoving=!1,s.highlightedWindow=null,s.cursorPos&&r(s.cursorPos.x,s.cursorPos.y)):l()}const d=(P,_)=>{const D=P+s.offsetX,I=_+s.offsetY;return s.displays.find(Y=>{const V=Y.bounds;return D>=V.x&&D<V.x+V.width&&I>=V.y&&I<V.y+V.height})||s.displays[0]},a=P=>{s.isSelecting||s.isMoving||s.hasSelection||s.candidates.length<=1||(P.preventDefault(),P.deltaY>0?s.candidateIndex=(s.candidateIndex+1)%s.candidates.length:s.candidateIndex=(s.candidateIndex-1+s.candidates.length)%s.candidates.length,s.highlightedWindow=s.candidates[s.candidateIndex])},h=P=>{s.isResizing=!0,s.resizeDirection=P;const _=s.startX<s.endX,D=s.startY<s.endY;s.resizeActiveX=null,s.resizeActiveY=null,P.includes("w")&&(s.resizeActiveX=_?"startX":"endX"),P.includes("e")&&(s.resizeActiveX=_?"endX":"startX"),P.includes("n")&&(s.resizeActiveY=D?"startY":"endY"),P.includes("s")&&(s.resizeActiveY=D?"endY":"startY")},m=async P=>{if(P==="cancel"){c();return}s.hasSelection=!1;const _=i.value,D={x:_.x+s.offsetX,y:_.y+s.offsetY,width:_.w,height:_.h,borderRadius:s.borderRadius};n.info(`执行操作: ${P}, 选区:`,{rect:D});try{if(P==="save")if(s.isDebug)n.info("Debug模式: 跳过 save 操作");else{const I=await window.hdrCapture.saveCapture(D);n.info("保存操作返回:",{res:I})}else if(P==="copy")if(s.isDebug)n.info("Debug模式: 跳过 copy 操作");else{const I=await window.hdrCapture.copyCapture(D);n.info("复制操作返回:",{res:I})}}catch(I){n.error(`操作 ${P} 失败:`,I)}l()},v=P=>{if(P.button===0&&s.hasSelection){const _=i.value,D=P.clientX,I=P.clientY;D>=_.x&&D<=_.x+_.w&&I>=_.y&&I<=_.y+_.h&&m("copy")}},M=P=>{if(P.button!==0)return;const _=P.clientX,D=P.clientY;if(s.hasSelection){const I=i.value;if(_>=I.x&&_<=I.x+I.w&&D>=I.y&&D<=I.y+I.h){s.isMoving=!0,s.moveOriginX=_,s.moveOriginY=D,s.rectAtStartMove={startX:s.startX,startY:s.startY,endX:s.endX,endY:s.endY};return}s.hasSelection=!1,r(_,D)}s.isSelecting=!0,s.isDragging=!1,s.startX=_,s.startY=D,s.endX=_,s.endY=D},O=P=>{try{const _=P.clientX,D=P.clientY;if(s.cursorPos={x:_,y:D},s.isResizing){s.resizeActiveX&&(s[s.resizeActiveX]=_),s.resizeActiveY&&(s[s.resizeActiveY]=D);return}if(s.isMoving){const I=_-s.moveOriginX,Y=D-s.moveOriginY;s.startX=s.rectAtStartMove.startX+I,s.startY=s.rectAtStartMove.startY+Y,s.endX=s.rectAtStartMove.endX+I,s.endY=s.rectAtStartMove.endY+Y;return}if(s.isSelecting){const I=_-s.startX,Y=D-s.startY;(Math.abs(I)>5||Math.abs(Y)>5)&&(s.isDragging=!0,s.highlightedWindow=null,s.endX=_,s.endY=D);return}r(_,D)}catch(_){n.error("onMouseMove error",_)}},G=P=>{try{if(P.button!==0)return;if(s.isResizing){s.isResizing=!1,s.resizeDirection=null,s.resizeActiveX=null,s.resizeActiveY=null;return}if(s.isMoving){s.isMoving=!1;return}if(s.isSelecting)if(s.isSelecting=!1,!s.isDragging)s.highlightedWindow?(s.startX=s.highlightedWindow.left-s.offsetX,s.startY=s.highlightedWindow.top-s.offsetY,s.endX=s.startX+s.highlightedWindow.width,s.endY=s.startY+s.highlightedWindow.height,s.hasSelection=!0):s.hasSelection=!1;else{const _=i.value;s.hasSelection=_.w>1&&_.h>1}}catch(_){n.error("onMouseUp error",_)}},z=P=>{P.preventDefault(),c()},A=[];function b(){A.forEach(P=>URL.revokeObjectURL(P)),A.length=0}function C(){s.hasSelection=!1,s.isSelecting=!1,s.isDragging=!1,s.isMoving=!1,s.isResizing=!1,s.highlightedWindow=null,s.startX=0,s.startY=0,s.endX=0,s.endY=0,s.candidates=[],b(),s.capturedScreens=[],s.allWindows=[],s.displays=[]}jt(()=>{window.hdrCapture?.onInit&&window.hdrCapture.onInit(P=>{const _=Date.now(),D=P.startTime||_;n.info(`[Perf] UI 收到初始化数据, 开始处理 (T+${_-D}ms)`),C(),s.isDebug=!!P.isDebug,s.offsetX=P.minX,s.offsetY=P.minY,s.displays=P.displays||[],s.isSelecting=!1,s.isDragging=!1,s.isMoving=!1,s.isResizing=!1,s.highlightedWindow=null,s.startX=0,s.startY=0,s.endX=0,s.endY=0,s.candidates=[],b(),s.capturedScreens=(P.capturedScreens||[]).map(I=>{const Y=new Blob([I.data],{type:"image/webp"}),V=URL.createObjectURL(Y);return A.push(V),{...I,url:V}}),P.cursorPos&&(s.cursorPos={x:P.cursorPos.x-s.offsetX,y:P.cursorPos.y-s.offsetY}),s.allWindows=P.windows||[],s.cursorPos&&r(s.cursorPos.x,s.cursorPos.y),n.info(`[Perf] UI 数据处理完成, 等待渲染更新 (T+${Date.now()-D}ms)`)}),window.hdrCapture?.onReset&&window.hdrCapture.onReset(()=>{n.info("收到重置信号,清空状态"),C()}),window.addEventListener("mousemove",O),window.addEventListener("mouseup",G)}),Vt(()=>{b(),window.removeEventListener("mousemove",O),window.removeEventListener("mouseup",G)}),Rt("state",s),Rt("selectionBounds",i),Rt("actions",{handleAction:m,closeOverlay:l}),Rt("utils",{findDisplayAtLocalPoint:d});const W=Ne(()=>s.isResizing&&s.resizeDirection?`${s.resizeDirection}-resize`:s.isMoving?"move":"crosshair");return(P,_)=>(ne(),he("div",{class:"relative w-screen h-screen overflow-hidden select-none",style:Me({cursor:W.value}),onMousedown:M,onMousemove:O,onMouseup:G,onDblclick:v,onWheel:a,onContextmenu:z},[s.isDebug?Ae("",!0):(ne(),Nt(Ll,{key:0,screens:s.capturedScreens,"offset-x":s.offsetX,"offset-y":s.offsetY},null,8,["screens","offset-x","offset-y"])),Re(Yl,{state:s,bounds:i.value,onResizeStart:h},null,8,["state","bounds"]),Re(sc,{"cursor-pos":s.cursorPos},null,8,["cursor-pos"]),s.hasSelection&&!s.isSelecting&&!s.isMoving&&!s.isResizing?(ne(),Nt(tc,{key:1,visible:!0,bounds:i.value,onMousedown:_[0]||(_[0]=ie(()=>{},["stop"]))},null,8,["bounds"])):Ae("",!0),o.value?(ne(),Nt(ic,{key:2,"cursor-pos":s.cursorPos,screens:s.capturedScreens,"offset-x":s.offsetX,"offset-y":s.offsetY},null,8,["cursor-pos","screens","offset-x","offset-y"])):Ae("",!0)],36))}},lc=xl(rc);lc.mount("#app");
3
+ ${e}`)}}}function El(){return{openExternal:async t=>{console.log("[Preview Mock] shell.openExternal:",t),window.open(t,"_blank")},openPath:async t=>{console.log("[Preview Mock] shell.openPath:",t),alert(`[Preview] 无法在浏览器中打开路径: ${t}`)},showItemInFolder:t=>{console.log("[Preview Mock] shell.showItemInFolder:",t),alert(`[Preview] 无法在浏览器中显示文件夹: ${t}`)}}}function zl(){return{readText:async()=>{try{return await navigator.clipboard.readText()}catch(t){return console.warn("[Preview Mock] clipboard.readText failed:",t),""}},writeText:async t=>{try{await navigator.clipboard.writeText(t),console.log("[Preview Mock] clipboard.writeText:",t)}catch(e){console.warn("[Preview Mock] clipboard.writeText failed:",e)}},readImage:async()=>(console.log("[Preview Mock] clipboard.readImage: not supported in preview"),null),writeImage:async()=>{console.log("[Preview Mock] clipboard.writeImage: not supported in preview")}}}function $l(){return{close:t=>{console.log("[Preview Mock] windowControl.close:",t)},minimize:t=>{console.log("[Preview Mock] windowControl.minimize:",t)},maximize:t=>{console.log("[Preview Mock] windowControl.maximize:",t)},unmaximize:t=>{console.log("[Preview Mock] windowControl.unmaximize:",t)},devtools:t=>{console.log("[Preview Mock] windowControl.devtools:",t)},isMaximized:async t=>(console.log("[Preview Mock] windowControl.isMaximized:",t),!1)}}function Ol(){return{get:async t=>{const e=`${eo}${t}`;try{const s=localStorage.getItem(e);return s?JSON.parse(s):{}}catch(s){return console.warn("[Preview Mock] getPluginSetting parse error:",s),{}}},set:async(t,e)=>{const s=`${eo}${t}`;try{localStorage.setItem(s,JSON.stringify(e)),console.log("[Preview Mock] setPluginSetting:",t,e)}catch(n){console.warn("[Preview Mock] setPluginSetting error:",n)}}}}function Dl(){return{log:(...t)=>console.log("[Preview]",...t),info:(...t)=>console.info("[Preview]",...t),warn:(...t)=>console.warn("[Preview]",...t),error:(...t)=>console.error("[Preview]",...t),debug:(...t)=>console.debug("[Preview]",...t)}}function Fl(){const t=kl();return{useIpc:()=>t,dialog:Il(),shell:El(),clipboard:zl(),openLink:async e=>{console.log("[Preview Mock] openLink:",e),window.open(e,"_blank")},versions:{node:"preview",chrome:navigator.userAgent.match(/Chrome\/([0-9.]+)/)?.[1]||"unknown",electron:"preview"},APP_ROOT:"/preview",APPDATA_PATH:"/preview/appdata"}}function Yl(){const t=Ol();return{getPluginSetting:t.get,setPluginSetting:t.set,windowControl:$l(),logger:Dl(),net:{request:async(e,s)=>{console.log("[Preview Mock] net.request:",e,s);try{const n=await fetch(e,s);return{ok:n.ok,status:n.status,data:await n.text()}}catch(n){return{ok:!1,status:0,error:n.message}}}}}}function Xl(){typeof window>"u"||(window.electron||(window.electron=Fl(),console.log("[Preview Mock] window.electron injected")),window.ts||(window.ts=Yl(),console.log("[Preview Mock] window.ts injected")))}function Wl(){return!!(typeof __TRANSLIME_PREVIEW__<"u"&&__TRANSLIME_PREVIEW__||typeof window<"u"&&!window.electron&&!window.ts)}typeof window<"u"&&Wl()&&Xl();function Nl(){return typeof global<"u"&&global.mainStore?global.mainStore?.logger||console:typeof window<"u"&&window.ts?.logger||console}const sn=(t,e)=>{const s=t.__vccOpts||t;for(const[n,o]of e)s[n]=o;return s},Ll={class:"frozen-screens-layer"},Hl=["src"],Vl={__name:"FrozenScreens",props:{screens:{type:Array,default:()=>[]},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0}},setup(t){return(e,s)=>(K(),Z("div",Ll,[(K(!0),Z(kt,null,pn(t.screens,n=>(K(),Z("div",{key:n.displayId,class:"frozen-screen",style:pt({left:n.bounds.x-t.offsetX+"px",top:n.bounds.y-t.offsetY+"px",width:n.bounds.width+"px",height:n.bounds.height+"px"})},[w("img",{src:n.url,draggable:"false"},null,8,Hl)],4))),128))]))}},jl=sn(Vl,[["__scopeId","data-v-0b001d45"]]),Bl={class:"absolute inset-0 z-10 pointer-events-none"},Ul={key:0,class:"absolute top-1 left-1 bg-[#2196F3] text-white px-2 py-0.5 rounded text-xs whitespace-nowrap shadow-md pointer-events-none"},Kl={__name:"SelectionRect",props:{state:{type:Object,default:()=>({isSelecting:!1,hasSelection:!1,highlightedWindow:null,offsetX:0,offsetY:0})},bounds:{type:Object,default:()=>({x:0,y:0,w:0,h:0})}},emits:["resize-start"],setup(t,{emit:e}){const s=e,n=t,o=xt(null);$r(()=>{const l=o.value;if(!l)return;const a=l.getContext("2d");l.width=window.innerWidth,l.height=window.innerHeight,a.clearRect(0,0,l.width,l.height),a.fillStyle="rgba(0, 0, 0, 0.4)",a.fillRect(0,0,l.width,l.height);let d=null;if(n.state.isSelecting||n.state.hasSelection?d=n.bounds:n.state.highlightedWindow&&(d={x:n.state.highlightedWindow.left-n.state.offsetX,y:n.state.highlightedWindow.top-n.state.offsetY,w:n.state.highlightedWindow.width,h:n.state.highlightedWindow.height}),d){const{x:u,y:p,w:M,h:b}=d,y=(n.state.isSelecting||n.state.hasSelection)&&n.state.borderRadius||0;a.save(),a.globalCompositeOperation="destination-out",a.beginPath(),a.roundRect?a.roundRect(u,p,M,b,y):(a.moveTo(u+y,p),a.lineTo(u+M-y,p),a.quadraticCurveTo(u+M,p,u+M,p+y),a.lineTo(u+M,p+b-y),a.quadraticCurveTo(u+M,p+b,u+M-y,p+b),a.lineTo(u+y,p+b),a.quadraticCurveTo(u,p+b,u,p+b-y),a.lineTo(u,p+y),a.quadraticCurveTo(u,p,u+y,p)),a.fillStyle="black",a.fill(),a.restore()}});const i=At(()=>{if(!n.state.highlightedWindow||n.state.isSelecting||n.state.hasSelection)return{display:"none"};const l=n.state.highlightedWindow;return{left:`${l.left-n.state.offsetX}px`,top:`${l.top-n.state.offsetY}px`,width:`${l.width}px`,height:`${l.height}px`}}),r=l=>{s("resize-start",l)};return(l,a)=>(K(),Z("div",Bl,[w("canvas",{ref_key:"canvasRef",ref:o,class:"w-full h-full"},null,512),w("div",{class:"absolute border border-dashed border-[#2196F3] bg-[#2196F3]/10 transition-all duration-100 ease-out box-border",style:pt(i.value)},null,4),t.state.isSelecting||t.state.hasSelection?(K(),Z("div",{key:0,class:Yt(["absolute border border-dashed border-[#2196F3] box-border pointer-events-auto",t.state.drawingMode?"cursor-crosshair":"cursor-move"]),style:pt({left:t.bounds.x+"px",top:t.bounds.y+"px",width:t.bounds.w+"px",height:t.bounds.h+"px",borderRadius:(t.state.borderRadius||0)+"px"})},[t.bounds.w>80&&t.bounds.h>24?(K(),Z("div",Ul,jt(Math.round(t.bounds.w))+" × "+jt(Math.round(t.bounds.h)),1)):gt("",!0),!t.state.isMoving&&t.state.hasSelection&&!t.state.drawingMode?(K(),Z(kt,{key:1},[w("div",{class:"absolute -top-1.5 -left-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-nw-resize z-20",onMousedown:a[0]||(a[0]=H(d=>r("nw"),["stop"]))},null,32),w("div",{class:"absolute -top-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-n-resize z-20",onMousedown:a[1]||(a[1]=H(d=>r("n"),["stop"]))},null,32),w("div",{class:"absolute -top-1.5 -right-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-ne-resize z-20",onMousedown:a[2]||(a[2]=H(d=>r("ne"),["stop"]))},null,32),w("div",{class:"absolute top-1/2 -right-1.5 -translate-y-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-e-resize z-20",onMousedown:a[3]||(a[3]=H(d=>r("e"),["stop"]))},null,32),w("div",{class:"absolute -bottom-1.5 -right-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-se-resize z-20",onMousedown:a[4]||(a[4]=H(d=>r("se"),["stop"]))},null,32),w("div",{class:"absolute -bottom-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-s-resize z-20",onMousedown:a[5]||(a[5]=H(d=>r("s"),["stop"]))},null,32),w("div",{class:"absolute -bottom-1.5 -left-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-sw-resize z-20",onMousedown:a[6]||(a[6]=H(d=>r("sw"),["stop"]))},null,32),w("div",{class:"absolute top-1/2 -left-1.5 -translate-y-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-w-resize z-20",onMousedown:a[7]||(a[7]=H(d=>r("w"),["stop"]))},null,32)],64)):gt("",!0)],6)):gt("",!0)]))}},ql=["min","max","step","disabled"],Gl=["min","max","step","disabled"],Jl={key:0,class:"slider-control__unit"},Zl={__name:"SliderControl",props:{modelValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},disabled:{type:Boolean,default:!1},unit:{type:String,default:"px"},inputWidth:{type:String,default:"50px"}},emits:["update:modelValue"],setup(t,{emit:e}){const s=t,n=e,o=xt(null),i=a=>Math.max(s.min,Math.min(s.max,a)),r=At({get:()=>s.modelValue,set:a=>{if(s.disabled)return;const d=i(parseInt(a,10)||0);n("update:modelValue",d)}}),l=a=>{if(s.disabled)return;a.preventDefault(),a.stopPropagation();const d=a.deltaY>0?-1:1,u=i(s.modelValue+d*s.step);n("update:modelValue",u)};return(a,d)=>(K(),Z("div",{ref_key:"sliderRef",ref:o,class:Yt(["slider-control",{"slider-control--disabled":t.disabled}]),onWheel:H(l,["stop"])},[qe(w("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>r.value=u),type:"range",min:t.min,max:t.max,step:t.step,disabled:t.disabled,class:"slider-control__range",onMousedown:d[1]||(d[1]=H(()=>{},["stop"]))},null,40,ql),[[Qe,r.value]]),qe(w("input",{"onUpdate:modelValue":d[2]||(d[2]=u=>r.value=u),type:"number",min:t.min,max:t.max,step:t.step,disabled:t.disabled,class:"slider-control__input",style:pt({width:t.inputWidth}),onMousedown:d[3]||(d[3]=H(()=>{},["stop"]))},null,44,Gl),[[Qe,r.value]]),t.unit?(K(),Z("span",Jl,jt(t.unit),1)):gt("",!0)],34))}},cn=sn(Zl,[["__scopeId","data-v-99731249"]]),Ql=["value"],ta=["value"],ea={class:"color-picker__alpha-value"},na={__name:"ColorPicker",props:{modelValue:{type:String,default:"#FF0000"},enableAlpha:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(t,{emit:e}){const s=t,n=e,o=xt(null),i=b=>{const y=b.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);if(y){const z=parseInt(y[1],10),Q=parseInt(y[2],10),F=parseInt(y[3],10),U=y[4]!==void 0?parseFloat(y[4]):1;return{hex:`#${z.toString(16).padStart(2,"0")}${Q.toString(16).padStart(2,"0")}${F.toString(16).padStart(2,"0")}`,alpha:Math.round(U*100)}}if(b.length===9&&b.startsWith("#")){const z=b.substring(0,7),Q=b.substring(7,9),F=Math.round(parseInt(Q,16)/255*100);return{hex:z,alpha:F}}return b.length===7&&b.startsWith("#")?{hex:b,alpha:100}:{hex:"#FF0000",alpha:100}},r=At(()=>i(s.modelValue)),l=(b,y)=>{const z=parseInt(b.substring(1,3),16),Q=parseInt(b.substring(3,5),16),F=parseInt(b.substring(5,7),16),U=y/100;return`rgba(${z}, ${Q}, ${F}, ${U})`},a=b=>{const y=b.target.value;s.enableAlpha?n("update:modelValue",l(y,r.value.alpha)):n("update:modelValue",y)},d=b=>{const y=parseInt(b.target.value,10);n("update:modelValue",l(r.value.hex,y))},u=b=>{b.preventDefault(),b.stopPropagation();const y=b.deltaY>0?-5:5,z=Math.max(0,Math.min(100,r.value.alpha+y));n("update:modelValue",l(r.value.hex,z))},p=()=>{o.value?.click()},M=At(()=>({background:s.modelValue}));return(b,y)=>(K(),Z("div",{class:"color-picker",onMousedown:y[2]||(y[2]=H(()=>{},["stop"]))},[w("button",{class:"color-picker__preview",title:"选择颜色",onClick:H(p,["stop"])},[y[3]||(y[3]=w("span",{class:"color-picker__checker"},null,-1)),w("span",{class:"color-picker__swatch",style:pt(M.value)},null,4)]),w("input",{ref_key:"colorInputRef",ref:o,type:"color",value:r.value.hex,class:"color-picker__native-input",onInput:a,onMousedown:y[0]||(y[0]=H(()=>{},["stop"]))},null,40,Ql),t.enableAlpha?(K(),Z(kt,{key:0},[w("input",{type:"range",value:r.value.alpha,min:"0",max:"100",step:"1",class:"color-picker__alpha-slider",onInput:d,onMousedown:y[1]||(y[1]=H(()=>{},["stop"])),onWheel:H(u,["stop"])},null,40,ta),w("span",ea,jt(r.value.alpha)+"%",1)],64)):gt("",!0)],32))}},no=sn(na,[["__scopeId","data-v-0bf48d1f"]]),sa={key:0,class:"absolute inset-0 w-full h-full pointer-events-none z-99"},oa=["x1","y1","x2","y2"],ia=["cx","cy"],ra=["x","y"],la={class:"action-toolbar-main"},aa={key:0,class:"absolute -top-6 left-0 text-[10px] text-[#FF5252] font-mono whitespace-nowrap"},ca={class:"btn-group"},ua=["disabled"],fa={key:0,class:"sub-panel"},da={class:"size-inputs"},ha={key:1,class:"sub-panel"},pa={class:"sub-panel__row"},ga={key:2,class:"sub-panel"},va={class:"rect-type-toggle"},ma={key:3,class:"sub-panel"},ba={class:"rect-type-toggle"},wa={class:"sub-panel__label"},xa={key:4,class:"sub-panel"},Ae="translime.hdr-capture.rect",un="translime.hdr-capture.mosaic",fn="translime.hdr-capture.text",ya={__name:"ActionToolbar",props:{bounds:{type:Object,default:()=>({x:0,y:0,w:0,h:0})},visible:{type:Boolean,default:!1}},setup(t){const e=t,s=le("state"),{findDisplayAtLocalPoint:n}=le("utils"),o=le("actions"),i=xt(null),r=k=>{i.value=i.value===k?null:k},l=["rect","mosaic","text"];bt(i,(k,g)=>{l.includes(k)?(s.drawingMode=!0,s.activeTool=k):l.includes(g)&&(s.drawingMode=!1,s.activeTool=null)});const a=xt(0),d=xt(0);bt(()=>e.bounds,k=>{k&&(a.value=Math.round(k.w||0),d.value=Math.round(k.h||0))},{immediate:!0});const u=()=>{const k=Math.min(s.startX,s.endX),g=Math.min(s.startY,s.endY),E=parseInt(a.value,10)||0,W=parseInt(d.value,10)||0;E<=0||W<=0||(s.startX=k,s.startY=g,s.endX=k+E,s.endY=g+W)},p=k=>{k.key==="Enter"&&(u(),k.target.blur())},M=xt(0);bt(()=>s.borderRadius,k=>{M.value=k||0},{immediate:!0}),bt(M,k=>{const g=Math.max(0,Math.min(120,parseInt(k,10)||0));s.borderRadius!==g&&(s.borderRadius=g,localStorage.setItem("translime.hdr-capture.borderRadius",g))});const b=xt("stroke"),y=xt(2),z=xt("rgba(255, 0, 0, 1)"),Q=()=>{const k=localStorage.getItem(`${Ae}.type`);(k==="stroke"||k==="fill")&&(b.value=k);const g=localStorage.getItem(`${Ae}.strokeWidth`);g!==null&&(y.value=parseInt(g,10)||2);const E=localStorage.getItem(`${Ae}.color`);E&&(z.value=E)},F=()=>{s.rectConfig.type=b.value,s.rectConfig.strokeWidth=y.value,s.rectConfig.color=z.value};bt(b,k=>{localStorage.setItem(`${Ae}.type`,k),F()}),bt(y,k=>{localStorage.setItem(`${Ae}.strokeWidth`,k),F()}),bt(z,k=>{localStorage.setItem(`${Ae}.color`,k),F()});const U=At(()=>b.value==="fill"),L=xt("pixelate"),O=xt(10),q=()=>{s.mosaicConfig.mode=L.value,s.mosaicConfig.blockSize=O.value};bt(L,k=>{localStorage.setItem(`${un}.mode`,k),q()}),bt(O,k=>{localStorage.setItem(`${un}.blockSize`,k),q()});const lt=()=>{const k=localStorage.getItem(`${un}.mode`);(k==="pixelate"||k==="blur")&&(L.value=k);const g=localStorage.getItem(`${un}.blockSize`);g!==null&&(O.value=parseInt(g,10)||10)},G=xt(20),st=xt("rgba(255, 0, 0, 1)"),at=()=>{s.textConfig.fontSize=G.value,s.textConfig.color=st.value};bt(G,k=>{localStorage.setItem(`${fn}.fontSize`,k),at()}),bt(st,k=>{localStorage.setItem(`${fn}.color`,k),at()});const vt=()=>{const k=localStorage.getItem(`${fn}.fontSize`);k!==null&&(G.value=parseInt(k,10)||20);const g=localStorage.getItem(`${fn}.color`);g&&(st.value=g)};Ge(()=>{const k=localStorage.getItem("translime.hdr-capture.borderRadius");if(k!==null){const g=parseInt(k,10)||0;M.value=g,s.borderRadius!==g&&(s.borderRadius=g)}Q(),F(),lt(),q(),vt(),at()});const _t=k=>{if(k.key==="Escape"){if(s.activeAnnotation){s.activeAnnotation=null,k.preventDefault();return}if(i.value!==null){i.value=null,k.preventDefault();return}k.preventDefault(),o.closeOverlay();return}e.visible&&(["INPUT","TEXTAREA"].includes(document.activeElement.tagName)||(k.ctrlKey&&k.key==="s"&&(k.preventDefault(),o.handleAction("save")),k.ctrlKey&&k.key==="c"&&(k.preventDefault(),o.handleAction("copy"))))};Ge(()=>{window.addEventListener("keydown",_t)}),en(()=>{window.removeEventListener("keydown",_t)});const yt=At(()=>{const{x:k,y:g,w:E,h:W}=e.bounds||{x:0,y:0,w:0,h:0},ht=170,wt=76,St=8,ft=12,v=n(k+E/2,g+W/2).bounds,x={left:v.x-s.offsetX,top:v.y-s.offsetY,right:v.x+v.width-s.offsetX,bottom:v.y+v.height-s.offsetY};let P=k+E-ht,D=g+W+St;return D+wt+ft>x.bottom&&(D=g-wt-St,D<x.top+ft&&(D=g+W-wt-ft-10,P=k+E-ht-ft-10)),P=Math.max(x.left+ft,Math.min(P,x.right-ht-ft)),D=Math.max(x.top+ft,Math.min(D,x.bottom-wt-ft)),{left:P,top:D,tbWidth:ht,tbHeight:wt}}),Ut=At(()=>{const k=yt.value;return{left:`${k.left+k.tbWidth}px`,top:`${k.top}px`,transform:"translateX(-100%)"}}),Ct=At(()=>{if(!s.isDebug||!e.visible)return null;const{x:k,y:g,w:E,h:W}=e.bounds,{left:ht,top:wt,tbWidth:St,tbHeight:ft}=yt.value;return{x1:k+E/2,y1:g+W/2,x2:ht+St/2,y2:wt+ft/2}});return(k,g)=>(K(),je(er,{to:"body"},[Zt(s)&&Zt(s).isDebug&&Ct.value?(K(),Z("svg",sa,[w("line",{x1:Ct.value.x1,y1:Ct.value.y1,x2:Ct.value.x2,y2:Ct.value.y2,stroke:"#FF5252","stroke-width":"2","stroke-dasharray":"5,5"},null,8,oa),w("circle",{cx:Ct.value.x1,cy:Ct.value.y1,r:"4",fill:"#FF5252"},null,8,ia),w("text",{x:Ct.value.x2,y:yt.value.top-10,fill:"#FF5252","font-size":"12"},jt(Math.round(yt.value.left))+", "+jt(Math.round(yt.value.top)),9,ra)])):gt("",!0),Zt(s)&&t.visible?(K(),Z("div",{key:1,class:"action-toolbar-container",style:pt(Ut.value)},[w("div",la,[Zt(s).isDebug?(K(),Z("div",aa," Monitor: "+jt(Math.round(yt.value.left))+","+jt(Math.round(yt.value.top)),1)):gt("",!0),w("div",ca,[w("button",{class:Yt(["btn btn-settings",{active:i.value==="size"}]),title:"设置尺寸",onClick:g[0]||(g[0]=H(E=>r("size"),["stop"]))},g[23]||(g[23]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[w("path",{d:"M15 3h6v6"}),w("path",{d:"M9 21H3v-6"}),w("path",{d:"M21 3l-7 7"}),w("path",{d:"M3 21l7-7"})],-1)]),2),w("button",{class:Yt(["btn btn-settings",{active:i.value==="radius"}]),title:"设置圆角",onClick:g[1]||(g[1]=H(E=>r("radius"),["stop"]))},g[24]||(g[24]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[w("path",{d:"M3 21v-9a9 9 0 0 1 9-9h9"})],-1)]),2),w("button",{class:Yt(["btn btn-settings",{active:i.value==="rect"}]),title:"矩形工具",onClick:g[2]||(g[2]=H(E=>r("rect"),["stop"]))},g[25]||(g[25]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[w("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"})],-1)]),2),w("button",{class:Yt(["btn btn-settings",{active:i.value==="mosaic"}]),title:"马赛克/模糊",onClick:g[3]||(g[3]=H(E=>r("mosaic"),["stop"]))},g[26]||(g[26]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"},[w("rect",{x:"2",y:"2",width:"5",height:"5"}),w("rect",{x:"9",y:"2",width:"5",height:"5",opacity:"0.6"}),w("rect",{x:"16",y:"2",width:"5",height:"5"}),w("rect",{x:"2",y:"9",width:"5",height:"5",opacity:"0.6"}),w("rect",{x:"9",y:"9",width:"5",height:"5"}),w("rect",{x:"16",y:"9",width:"5",height:"5",opacity:"0.6"}),w("rect",{x:"2",y:"16",width:"5",height:"5"}),w("rect",{x:"9",y:"16",width:"5",height:"5",opacity:"0.6"}),w("rect",{x:"16",y:"16",width:"5",height:"5"})],-1)]),2),w("button",{class:Yt(["btn btn-settings",{active:i.value==="text"}]),title:"文本标注",onClick:g[4]||(g[4]=H(E=>r("text"),["stop"]))},g[27]||(g[27]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[w("polyline",{points:"4 7 4 4 20 4 20 7"}),w("line",{x1:"9",y1:"20",x2:"15",y2:"20"}),w("line",{x1:"12",y1:"4",x2:"12",y2:"20"})],-1)]),2),g[32]||(g[32]=w("div",{class:"divider"},null,-1)),w("button",{class:"btn btn-settings",disabled:Zt(s).history.length===0,title:"撤销 (Ctrl+Z)",onClick:g[5]||(g[5]=H(E=>Zt(o).undo(),["stop"]))},g[28]||(g[28]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[w("polyline",{points:"1 4 1 10 7 10"}),w("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"})],-1)]),8,ua),w("button",{class:"btn btn-save",title:"保存 (Ctrl+S)",onClick:g[6]||(g[6]=H(E=>Zt(o).handleAction("save"),["stop"]))},g[29]||(g[29]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[w("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),w("polyline",{points:"17 21 17 13 7 13 7 21"}),w("polyline",{points:"7 3 7 8 15 8"})],-1)])),w("button",{class:"btn btn-copy",title:"复制 (Ctrl+C)",onClick:g[7]||(g[7]=H(E=>Zt(o).handleAction("copy"),["stop"]))},g[30]||(g[30]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[w("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),w("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})],-1)])),w("button",{class:"btn btn-cancel",title:"取消 (Esc)",onClick:g[8]||(g[8]=H(E=>Zt(o).closeOverlay(),["stop"]))},g[31]||(g[31]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[w("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),w("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)]))])]),i.value==="size"?(K(),Z("div",fa,[w("div",da,[qe(w("input",{"onUpdate:modelValue":g[9]||(g[9]=E=>a.value=E),type:"number",class:"size-input",style:pt({width:`calc(${Math.max(4,String(a.value).length)}ch + 12px)`}),onKeydown:p,onMousedown:g[10]||(g[10]=H(()=>{},["stop"]))},null,36),[[Qe,a.value]]),g[33]||(g[33]=w("span",{class:"size-separator"},"x",-1)),qe(w("input",{"onUpdate:modelValue":g[11]||(g[11]=E=>d.value=E),type:"number",class:"size-input",style:pt({width:`calc(${Math.max(4,String(d.value).length)}ch + 12px)`}),onKeydown:p,onMousedown:g[12]||(g[12]=H(()=>{},["stop"]))},null,36),[[Qe,d.value]]),g[34]||(g[34]=w("span",{class:"size-unit"},"px",-1))]),w("button",{class:"btn-confirm",onClick:H(u,["stop"])}," 确定 ")])):gt("",!0),i.value==="radius"?(K(),Z("div",ha,[w("div",pa,[g[35]||(g[35]=w("span",{class:"sub-panel__label"},"圆角:",-1)),Mt(cn,{modelValue:M.value,"onUpdate:modelValue":g[13]||(g[13]=E=>M.value=E),min:0,max:120,step:1,unit:"px","input-width":"50px"},null,8,["modelValue"])])])):gt("",!0),i.value==="rect"?(K(),Z("div",ga,[w("div",va,[w("button",{class:Yt(["rect-type-btn",{"rect-type-btn--active":b.value==="stroke"}]),title:"边框矩形",onClick:g[14]||(g[14]=H(E=>b.value="stroke",["stop"]))},g[36]||(g[36]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5"},[w("rect",{x:"3",y:"3",width:"18",height:"18",rx:"1",ry:"1"})],-1)]),2),w("button",{class:Yt(["rect-type-btn",{"rect-type-btn--active":b.value==="fill"}]),title:"实心矩形",onClick:g[15]||(g[15]=H(E=>b.value="fill",["stop"]))},g[37]||(g[37]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"},[w("rect",{x:"3",y:"3",width:"18",height:"18",rx:"1",ry:"1"})],-1)]),2)]),g[38]||(g[38]=w("div",{class:"sub-divider"},null,-1)),Mt(cn,{modelValue:y.value,"onUpdate:modelValue":g[16]||(g[16]=E=>y.value=E),min:1,max:20,step:1,disabled:U.value,unit:"","input-width":"32px"},null,8,["modelValue","disabled"]),g[39]||(g[39]=w("div",{class:"sub-divider"},null,-1)),Mt(no,{modelValue:z.value,"onUpdate:modelValue":g[17]||(g[17]=E=>z.value=E),"enable-alpha":!0},null,8,["modelValue"])])):gt("",!0),i.value==="mosaic"?(K(),Z("div",ma,[w("div",ba,[w("button",{class:Yt(["rect-type-btn",{"rect-type-btn--active":L.value==="pixelate"}]),title:"马赛克",onClick:g[18]||(g[18]=H(E=>L.value="pixelate",["stop"]))},g[40]||(g[40]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"},[w("rect",{x:"2",y:"2",width:"5",height:"5"}),w("rect",{x:"9",y:"9",width:"5",height:"5"}),w("rect",{x:"16",y:"16",width:"5",height:"5"})],-1)]),2),w("button",{class:Yt(["rect-type-btn",{"rect-type-btn--active":L.value==="blur"}]),title:"模糊",onClick:g[19]||(g[19]=H(E=>L.value="blur",["stop"]))},g[41]||(g[41]=[w("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[w("circle",{cx:"12",cy:"12",r:"10",opacity:"0.3"}),w("circle",{cx:"12",cy:"12",r:"6",opacity:"0.6"}),w("circle",{cx:"12",cy:"12",r:"2"})],-1)]),2)]),g[42]||(g[42]=w("div",{class:"sub-divider"},null,-1)),w("span",wa,jt(L.value==="blur"?"强度":"方块")+":",1),Mt(cn,{modelValue:O.value,"onUpdate:modelValue":g[20]||(g[20]=E=>O.value=E),min:2,max:50,step:1,unit:"","input-width":"36px"},null,8,["modelValue"])])):gt("",!0),i.value==="text"?(K(),Z("div",xa,[g[43]||(g[43]=w("span",{class:"sub-panel__label"},"字号:",-1)),Mt(cn,{modelValue:G.value,"onUpdate:modelValue":g[21]||(g[21]=E=>G.value=E),min:8,max:72,step:1,unit:"","input-width":"36px"},null,8,["modelValue"]),g[44]||(g[44]=w("div",{class:"sub-divider"},null,-1)),Mt(no,{modelValue:st.value,"onUpdate:modelValue":g[22]||(g[22]=E=>st.value=E),"enable-alpha":!0},null,8,["modelValue"])])):gt("",!0)],4)):gt("",!0)]))}},Sa=sn(ya,[["__scopeId","data-v-0775f86a"]]),Ma={__name:"HintBox",props:{cursorPos:{type:Object,default:()=>({x:0,y:0})}},setup(t){const e=t,{findDisplayAtLocalPoint:s}=le("utils"),n=xt("right"),o=()=>{n.value=n.value==="right"?"left":"right"},i=At(()=>{const r=s(e.cursorPos.x,e.cursorPos.y);if(!r)return{display:"none"};const l=le("state"),a=r.bounds,d={left:a.x-l.offsetX,top:a.y-l.offsetY,right:a.x+a.width-l.offsetX,bottom:a.y+a.height-l.offsetY},u=20,p={bottom:`${window.innerHeight-d.bottom+u}px`};return n.value==="right"?p.right=`${window.innerWidth-d.right+u}px`:p.left=`${d.left+u}px`,p});return(r,l)=>(K(),Z("div",{class:"absolute z-50 pointer-events-auto transition-all duration-300 ease-[cubic-bezier(0.23,1,0.32,1)]",style:pt(i.value),onMouseenter:o},l[0]||(l[0]=[w("div",{class:"bg-black/75 text-white px-4 py-2 rounded-xl text-xs backdrop-blur-xs border border-white/10 shadow-lg"},[w("p",null,"点击探测到的窗口快速选区"),w("p",null,"滚轮切换窗口层次"),w("p",null,"esc 取消")],-1)]),36))}},Aa={__name:"Magnifier",props:{cursorPos:{type:Object,required:!0},screens:{type:Array,default:()=>[]},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0},zoom:{type:Number,default:5},size:{type:Number,default:140}},setup(t){const e=t,s=xt(null),n=xt([]);function o(){const r=s.value;if(!r)return;const l=r.getContext("2d");if(!l)return;l.imageSmoothingEnabled=!1;const{size:a,zoom:d,cursorPos:u,offsetX:p,offsetY:M}=e,b=window.devicePixelRatio||1,y=a*b;r.width!==y&&(r.width=y,r.height=y),l.clearRect(0,0,y,y),l.fillStyle="#111",l.fillRect(0,0,y,y);const z=u.x+p,Q=u.y+M,F=a/2/d,U={left:z-F,top:Q-F,right:z+F,bottom:Q+F};n.value.forEach(G=>{if(!G.img||!G.img.complete||G.img.naturalWidth===0)return;const st=G.bounds||G,at=Number(st.x),vt=Number(st.y),_t=Number(st.width),yt=Number(st.height),Ut=at+_t,Ct=vt+yt,k=G.img.naturalWidth/_t,g=G.img.naturalHeight/yt,E=Math.max(U.left,at),W=Math.max(U.top,vt),ht=Math.min(U.right,Ut),wt=Math.min(U.bottom,Ct);if(E<ht&&W<wt){const St=(E-at)*k,ft=(W-vt)*g,h=(ht-E)*k,v=(wt-W)*g,x=(E-U.left)*d*b,P=(W-U.top)*d*b,D=(ht-E)*d*b,j=(wt-W)*d*b;try{l.drawImage(G.img,St,ft,h,v,x,P,D,j)}catch{}}});const L=y/2,O=y/2;l.beginPath(),l.strokeStyle="rgba(33, 150, 243, 0.5)",l.lineWidth=1*b,l.moveTo(0,O),l.lineTo(y,O),l.moveTo(L,0),l.lineTo(L,y),l.stroke(),l.fillStyle="#FF5252";const q=2*b;l.fillRect(L-q/2,O-q/2,q,q),l.beginPath(),l.strokeStyle="rgba(255, 255, 255, 0.3)",l.lineWidth=1*b,l.strokeRect(0,0,y,y);const lt=12*b;l.font=`${lt}px monospace`,l.fillStyle="rgba(0, 0, 0, 0.7)",l.fillRect(0,y-lt-8*b,y,lt+8*b),l.fillStyle="#fff",l.textAlign="center",l.fillText(`${Math.round(z)}, ${Math.round(Q)}`,L,y-6*b)}bt(()=>e.screens,r=>{const l=n.value;for(let d=0;d<l.length;d+=1){const u=l[d];u.img&&(u.img.onload=null)}n.value=r.map(d=>{const u=new Image;return u.src=d.url,u.onload=()=>requestAnimationFrame(o),{...d,img:Ro(u)}});const a=s.value;if(a){const d=a.getContext("2d"),u=window.devicePixelRatio||1,p=e.size*u;d?.clearRect(0,0,p,p)}},{immediate:!0,deep:!0}),en(()=>{const r=n.value;for(let l=0;l<r.length;l+=1){const a=r[l];a.img&&(a.img.onload=null)}n.value=[]});const i=At(()=>{const{x:r,y:l}=e.cursorPos;let a=r+20,d=l+20;return a+e.size>window.innerWidth&&(a=r-e.size-20),d+e.size>window.innerHeight&&(d=l-e.size-20),{left:a,top:d}});return bt(()=>e.cursorPos,()=>{requestAnimationFrame(o)},{deep:!0,immediate:!0}),Ge(()=>{setTimeout(o,200)}),(r,l)=>(K(),Z("div",{class:"magnifier",style:pt({width:t.size+"px",height:t.size+"px",left:i.value.left+"px",top:i.value.top+"px"})},[w("canvas",{ref_key:"canvasRef",ref:s,style:{width:"100%",height:"100%"}},null,512)],4))}},_a=sn(Aa,[["__scopeId","data-v-37869409"]]),Ca={key:1,class:"absolute inset-0 z-20 pointer-events-none"},Ta="translime-plugin-hdr-capture",Ra={__name:"App",setup(t){const e=Nl(),s=e.child?e.child({plugin_id:Ta,context:"Overlay"}):e,n=Rn({offsetX:0,offsetY:0,displays:[],capturedScreens:[],cursorPos:{x:0,y:0},isSelecting:!1,isDragging:!1,isMoving:!1,isResizing:!1,resizeDirection:null,resizeActiveX:null,resizeActiveY:null,hasSelection:!1,startX:0,startY:0,endX:0,endY:0,moveOriginX:0,moveOriginY:0,rectAtStartMove:null,highlightedWindow:null,allWindows:[],candidates:[],candidateIndex:0,isDebug:!1,borderRadius:0,drawingMode:!1,activeTool:null,rectConfig:{type:"stroke",strokeWidth:2,color:"rgba(255, 0, 0, 1)"},mosaicConfig:{mode:"pixelate",blockSize:10},textConfig:{fontSize:20,color:"rgba(255, 0, 0, 1)",fontFamily:"sans-serif"},annotations:[],activeAnnotation:null,isDrawingRect:!1,drawingDragged:!1,isResizingAnnotation:!1,annotationResizeDir:null,annResizeActiveX:null,annResizeActiveY:null,isMovingAnnotation:!1,annMoveOriginX:0,annMoveOriginY:0,annAtStartMove:null,editingTextAnnotation:null,history:[]}),o=xt(null),i=xt(null),r=[],l=At(()=>{const h=Math.min(n.startX,n.endX),v=Math.min(n.startY,n.endY),x=Math.abs(n.endX-n.startX),P=Math.abs(n.endY-n.startY);return{x:Number.isNaN(h)?0:h,y:Number.isNaN(v)?0:v,w:Number.isNaN(x)?0:x,h:Number.isNaN(P)?0:P}}),a=At(()=>{const h=n.activeAnnotation;return h?{x:Math.min(h.startX,h.endX),y:Math.min(h.startY,h.endY),w:Math.abs(h.endX-h.startX),h:Math.abs(h.endY-h.startY)}:null}),d=At(()=>n.isMoving?!1:!!(n.isSelecting||n.isResizing||!n.hasSelection)),u=(h,v)=>{if(n.isSelecting||n.isMoving||n.hasSelection)return;const x=h+n.offsetX,P=v+n.offsetY,D=n.allWindows.filter(tt=>x>=tt.left&&x<tt.right&&P>=tt.top&&P<tt.bottom);D.sort((tt,Tt)=>tt.width*tt.height-Tt.width*Tt.height),D.length!==n.candidates.length||D.some((tt,Tt)=>tt.handle!==n.candidates[Tt]?.handle)?(n.candidates=D,n.candidateIndex=0,n.highlightedWindow=D.length>0?D[0]:null):!n.highlightedWindow&&D.length>0&&(n.candidateIndex=0,[n.highlightedWindow]=D)};let p=0;const M=()=>{if(!n.activeAnnotation)return;const h=a.value;h&&h.w>2&&h.h>2&&(p+=1,(n.activeTool||"rect")==="mosaic"?n.annotations.push({id:p,x:h.x,y:h.y,w:h.w,h:h.h,tool:"mosaic",mode:n.mosaicConfig.mode,blockSize:n.mosaicConfig.blockSize}):n.annotations.push({id:p,x:h.x,y:h.y,w:h.w,h:h.h,tool:"rect",type:n.rectConfig.type,strokeWidth:n.rectConfig.strokeWidth,color:n.rectConfig.color})),n.activeAnnotation=null},b=h=>{n.isResizingAnnotation=!0,n.annotationResizeDir=h;const v=n.activeAnnotation,x=v.startX<v.endX,P=v.startY<v.endY;n.annResizeActiveX=null,n.annResizeActiveY=null,h.includes("w")&&(n.annResizeActiveX=x?"startX":"endX"),h.includes("e")&&(n.annResizeActiveX=x?"endX":"startX"),h.includes("n")&&(n.annResizeActiveY=P?"startY":"endY"),h.includes("s")&&(n.annResizeActiveY=P?"endY":"startY")},y=h=>{n.activeAnnotation&&(n.isMovingAnnotation=!0,n.annMoveOriginX=h.clientX,n.annMoveOriginY=h.clientY,n.annAtStartMove={startX:n.activeAnnotation.startX,startY:n.activeAnnotation.startY,endX:n.activeAnnotation.endX,endY:n.activeAnnotation.endY})},z=h=>{if(h.tool==="mosaic")return{display:"none"};if(h.tool==="text")return{display:"none"};const v={position:"absolute",left:`${h.x}px`,top:`${h.y}px`,width:`${h.w}px`,height:`${h.h}px`,pointerEvents:"none",boxSizing:"border-box"};return h.type==="stroke"?(v.border=`${h.strokeWidth}px solid ${h.color}`,v.background="transparent"):v.background=h.color,v},Q=At(()=>{const h=a.value;if(!h)return{};if((n.activeTool||"rect")==="mosaic")return{position:"absolute",left:`${h.x}px`,top:`${h.y}px`,width:`${h.w}px`,height:`${h.h}px`,pointerEvents:"none",boxSizing:"border-box",background:"transparent"};const x=n.rectConfig,P={position:"absolute",left:`${h.x}px`,top:`${h.y}px`,width:`${h.w}px`,height:`${h.h}px`,pointerEvents:"none",boxSizing:"border-box"};return x.type==="stroke"?(P.border=`${x.strokeWidth}px solid ${x.color}`,P.background="transparent"):P.background=x.color,P}),F=()=>{n.history.push({annotations:JSON.parse(JSON.stringify(n.annotations)),activeAnnotation:n.activeAnnotation?{...n.activeAnnotation}:null})},U=()=>{if(n.history.length===0)return;const h=n.history.pop();n.annotations=h.annotations,n.activeAnnotation=h.activeAnnotation},L=()=>{if(!n.editingTextAnnotation)return;const h=n.editingTextAnnotation;h.text&&h.text.trim().length>0&&(p+=1,n.annotations.push({id:p,x:h.x,y:h.y,tool:"text",text:h.text,fontSize:n.textConfig.fontSize,color:n.textConfig.color,fontFamily:n.textConfig.fontFamily})),n.editingTextAnnotation=null};bt(()=>n.activeTool,(h,v)=>{v==="text"&&h!=="text"&&L()});const O=At(()=>{if(!n.editingTextAnnotation)return{width:4,height:28};const v=(n.editingTextAnnotation.text||"").split(`
4
+ `),{fontSize:x}=n.textConfig,P=x*1.2,j=document.createElement("canvas").getContext("2d");j.font=`${x}px ${n.textConfig.fontFamily||"sans-serif"}`;let tt=4;return v.forEach(Tt=>{const it=j.measureText(Tt||"").width;it>tt&&(tt=it)}),{width:tt+16,height:Math.max(P+8,v.length*P+8)}});bt(()=>n.editingTextAnnotation,h=>{h&&Io(()=>{setTimeout(()=>{o.value&&o.value.focus()},0)})});const q=(h,v)=>{if(!h||r.length===0)return;const x=v.x+n.offsetX,P=v.y+n.offsetY,D=r.find(I=>{const T=I.bounds;return x>=T.x&&P>=T.y&&x<T.x+T.width&&P<T.y+T.height});if(!D||!D.img)return;const j=D.bounds,tt=x-j.x,Tt=P-j.y,it=D.img.naturalWidth/j.width,c=D.img.naturalHeight/j.height,f=tt*it,m=Tt*c,_=v.w*it,S=v.h*c,A=h.getContext("2d");if(v.mode==="blur")h.width=Math.round(v.w),h.height=Math.round(v.h),A.drawImage(D.img,f,m,_,S,0,0,v.w,v.h);else{const I=v.blockSize||10,T=Math.max(1,Math.ceil(v.w/I)),R=Math.max(1,Math.ceil(v.h/I));h.width=T,h.height=R,A.imageSmoothingEnabled=!0,A.drawImage(D.img,f,m,_,S,0,0,T,R)}};bt([a,()=>n.activeTool,()=>n.mosaicConfig.mode,()=>n.mosaicConfig.blockSize],()=>{const h=a.value,v=i.value;!v||!h||n.activeTool!=="mosaic"||h.w<=0||h.h<=0||q(v,{x:h.x,y:h.y,w:h.w,h:h.h,mode:n.mosaicConfig.mode,blockSize:n.mosaicConfig.blockSize})},{flush:"post"}),bt(()=>n.drawingMode,(h,v)=>{v&&!h&&(M(),L(),n.activeTool=null)});function lt(){window.hdrCapture?.close?.()}function G(){n.hasSelection?(n.hasSelection=!1,n.isSelecting=!1,n.isDragging=!1,n.isMoving=!1,n.highlightedWindow=null,n.annotations=[],n.activeAnnotation=null,n.editingTextAnnotation=null,n.drawingMode=!1,n.activeTool=null,n.history=[],n.cursorPos&&u(n.cursorPos.x,n.cursorPos.y)):lt()}const st=(h,v)=>{const x=h+n.offsetX,P=v+n.offsetY;return n.displays.find(D=>{const j=D.bounds;return x>=j.x&&x<j.x+j.width&&P>=j.y&&P<j.y+j.height})||n.displays[0]},at=h=>{n.isSelecting||n.isMoving||n.hasSelection||n.candidates.length<=1||(h.preventDefault(),h.deltaY>0?n.candidateIndex=(n.candidateIndex+1)%n.candidates.length:n.candidateIndex=(n.candidateIndex-1+n.candidates.length)%n.candidates.length,n.highlightedWindow=n.candidates[n.candidateIndex])},vt=h=>{n.isResizing=!0,n.resizeDirection=h;const v=n.startX<n.endX,x=n.startY<n.endY;n.resizeActiveX=null,n.resizeActiveY=null,h.includes("w")&&(n.resizeActiveX=v?"startX":"endX"),h.includes("e")&&(n.resizeActiveX=v?"endX":"startX"),h.includes("n")&&(n.resizeActiveY=x?"startY":"endY"),h.includes("s")&&(n.resizeActiveY=x?"endY":"startY")},_t=(h,v,x,P)=>{M(),L();const D=n.annotations.filter(it=>it.tool!=="mosaic");if(D.length===0)return null;const j=document.createElement("canvas");j.width=h,j.height=v;const tt=j.getContext("2d");D.forEach(it=>{const c=it.x-x,f=it.y-P;if(it.tool==="text"){tt.font=`${it.fontSize}px ${it.fontFamily||"sans-serif"}`,tt.fillStyle=it.color,tt.textBaseline="top";const m=(it.text||"").split(`
5
+ `),_=it.fontSize*1.2;m.forEach((S,A)=>{tt.fillText(S,c,f+A*_)})}else if(it.type==="stroke"){tt.strokeStyle=it.color,tt.lineWidth=it.strokeWidth;const m=it.strokeWidth/2;tt.strokeRect(c+m,f+m,it.w-it.strokeWidth,it.h-it.strokeWidth)}else tt.fillStyle=it.color,tt.fillRect(c,f,it.w,it.h)});const Tt=tt.getImageData(0,0,h,v);return{buffer:new Uint8Array(Tt.data.buffer),width:h,height:v}},yt=async h=>{if(h==="cancel"){G();return}const v=l.value,x=_t(v.w,v.h,v.x,v.y);n.hasSelection=!1;const P={x:v.x+n.offsetX,y:v.y+n.offsetY,width:v.w,height:v.h,borderRadius:n.borderRadius};x&&(P.overlayData=x);const D=n.annotations.filter(j=>j.tool==="mosaic");D.length>0&&(P.mosaicRegions=D.map(j=>({x:j.x-v.x,y:j.y-v.y,w:j.w,h:j.h,mode:j.mode||"pixelate",blockSize:j.blockSize||10}))),s.info(`执行操作: ${h}, 选区:`,{rect:{...P,overlayData:x?"[present]":null}});try{if(h==="save")if(n.isDebug)s.info("Debug模式: 跳过 save 操作");else{const j=await window.hdrCapture.saveCapture(P);s.info("保存操作返回:",{res:j})}else if(h==="copy")if(n.isDebug)s.info("Debug模式: 跳过 copy 操作");else{const j=await window.hdrCapture.copyCapture(P);s.info("复制操作返回:",{res:j})}}catch(j){s.error(`操作 ${h} 失败:`,j)}lt()},Ut=h=>{if(h.button===0&&n.hasSelection){const v=l.value,x=h.clientX,P=h.clientY;x>=v.x&&x<=v.x+v.w&&P>=v.y&&P<=v.y+v.h&&yt("copy")}},Ct=h=>{if(h.button!==0)return;const v=h.clientX,x=h.clientY;if(n.drawingMode&&n.hasSelection){const P=l.value;if(v>=P.x&&v<=P.x+P.w&&x>=P.y&&x<=P.y+P.h){if(n.activeTool==="text"){n.editingTextAnnotation&&(F(),L()),F(),n.editingTextAnnotation={x:v,y:x,text:""};return}n.activeAnnotation&&(F(),M()),F(),n.isDrawingRect=!0,n.drawingDragged=!1,n.activeAnnotation={startX:v,startY:x,endX:v,endY:x}}return}if(n.hasSelection){const P=l.value;if(v>=P.x&&v<=P.x+P.w&&x>=P.y&&x<=P.y+P.h){n.isMoving=!0,n.moveOriginX=v,n.moveOriginY=x,n.rectAtStartMove={startX:n.startX,startY:n.startY,endX:n.endX,endY:n.endY};return}n.hasSelection=!1,u(v,x)}n.isSelecting=!0,n.isDragging=!1,n.startX=v,n.startY=x,n.endX=v,n.endY=x},k=h=>{try{const v=h.clientX,x=h.clientY;if(n.cursorPos={x:v,y:x},n.isMovingAnnotation&&n.activeAnnotation&&n.annAtStartMove){const P=v-n.annMoveOriginX,D=x-n.annMoveOriginY;n.activeAnnotation.startX=n.annAtStartMove.startX+P,n.activeAnnotation.startY=n.annAtStartMove.startY+D,n.activeAnnotation.endX=n.annAtStartMove.endX+P,n.activeAnnotation.endY=n.annAtStartMove.endY+D;return}if(n.isResizingAnnotation&&n.activeAnnotation){n.annResizeActiveX&&(n.activeAnnotation[n.annResizeActiveX]=v),n.annResizeActiveY&&(n.activeAnnotation[n.annResizeActiveY]=x);return}if(n.isDrawingRect&&n.activeAnnotation){const P=v-n.activeAnnotation.startX,D=x-n.activeAnnotation.startY;(Math.abs(P)>3||Math.abs(D)>3)&&(n.drawingDragged=!0),n.activeAnnotation.endX=v,n.activeAnnotation.endY=x;return}if(n.isResizing){n.resizeActiveX&&(n[n.resizeActiveX]=v),n.resizeActiveY&&(n[n.resizeActiveY]=x);return}if(n.isMoving){const P=v-n.moveOriginX,D=x-n.moveOriginY;n.startX=n.rectAtStartMove.startX+P,n.startY=n.rectAtStartMove.startY+D,n.endX=n.rectAtStartMove.endX+P,n.endY=n.rectAtStartMove.endY+D;return}if(n.isSelecting){const P=v-n.startX,D=x-n.startY;(Math.abs(P)>5||Math.abs(D)>5)&&(n.isDragging=!0,n.highlightedWindow=null,n.endX=v,n.endY=x);return}u(v,x)}catch(v){s.error("onMouseMove error",v)}},g=h=>{try{if(h.button!==0)return;if(n.isMovingAnnotation){n.isMovingAnnotation=!1,n.annAtStartMove=null;return}if(n.isResizingAnnotation){n.isResizingAnnotation=!1,n.annotationResizeDir=null,n.annResizeActiveX=null,n.annResizeActiveY=null;return}if(n.isDrawingRect){if(n.isDrawingRect=!1,!n.drawingDragged||!n.activeAnnotation)n.activeAnnotation=null;else{const v=Math.abs(n.activeAnnotation.endX-n.activeAnnotation.startX),x=Math.abs(n.activeAnnotation.endY-n.activeAnnotation.startY);(v<3||x<3)&&(n.activeAnnotation=null)}n.drawingDragged=!1;return}if(n.isResizing){n.isResizing=!1,n.resizeDirection=null,n.resizeActiveX=null,n.resizeActiveY=null;return}if(n.isMoving){n.isMoving=!1;return}if(n.isSelecting)if(n.isSelecting=!1,!n.isDragging)n.highlightedWindow?(n.startX=n.highlightedWindow.left-n.offsetX,n.startY=n.highlightedWindow.top-n.offsetY,n.endX=n.startX+n.highlightedWindow.width,n.endY=n.startY+n.highlightedWindow.height,n.hasSelection=!0):n.hasSelection=!1;else{const v=l.value;n.hasSelection=v.w>1&&v.h>1}}catch(v){s.error("onMouseUp error",v)}},E=h=>{h.preventDefault(),G()},W=[];function ht(){W.forEach(h=>URL.revokeObjectURL(h)),W.length=0}function wt(){n.hasSelection=!1,n.isSelecting=!1,n.isDragging=!1,n.isMoving=!1,n.isResizing=!1,n.highlightedWindow=null,n.startX=0,n.startY=0,n.endX=0,n.endY=0,n.candidates=[],n.drawingMode=!1,n.activeTool=null,n.annotations=[],n.activeAnnotation=null,n.isDrawingRect=!1,n.drawingDragged=!1,n.isResizingAnnotation=!1,n.annotationResizeDir=null,n.editingTextAnnotation=null,n.isMovingAnnotation=!1,n.annAtStartMove=null,n.history=[],ht(),n.capturedScreens=[],n.allWindows=[],n.displays=[]}const St=h=>{(h.ctrlKey||h.metaKey)&&h.key==="z"&&(h.preventDefault(),U())};Ge(()=>{window.hdrCapture?.onInit&&window.hdrCapture.onInit(h=>{const v=Date.now(),x=h.startTime||v;s.info(`[Perf] UI 收到初始化数据, 开始处理 (T+${v-x}ms)`),wt(),n.isDebug=!!h.isDebug,n.offsetX=h.minX,n.offsetY=h.minY,n.displays=h.displays||[],n.isSelecting=!1,n.isDragging=!1,n.isMoving=!1,n.isResizing=!1,n.highlightedWindow=null,n.startX=0,n.startY=0,n.endX=0,n.endY=0,n.candidates=[],ht(),n.capturedScreens=(h.capturedScreens||[]).map(P=>{const D=new Blob([P.data],{type:"image/webp"}),j=URL.createObjectURL(D);return W.push(j),{...P,url:j}}),r.length=0,n.capturedScreens.forEach(P=>{const D=new Image;D.src=P.url,D.decode().then(()=>{r.push({img:D,bounds:P.bounds,displayId:P.displayId})}).catch(()=>{})}),h.cursorPos&&(n.cursorPos={x:h.cursorPos.x-n.offsetX,y:h.cursorPos.y-n.offsetY}),n.allWindows=h.windows||[],n.cursorPos&&u(n.cursorPos.x,n.cursorPos.y),s.info(`[Perf] UI 数据处理完成, 等待渲染更新 (T+${Date.now()-x}ms)`)}),window.hdrCapture?.onReset&&window.hdrCapture.onReset(()=>{s.info("收到重置信号,清空状态"),wt()}),window.addEventListener("mousemove",k),window.addEventListener("mouseup",g),window.addEventListener("keydown",St)}),en(()=>{ht(),window.removeEventListener("mousemove",k),window.removeEventListener("mouseup",g),window.removeEventListener("keydown",St)}),Fe("state",n),Fe("selectionBounds",l),Fe("actions",{handleAction:yt,closeOverlay:lt,undo:U}),Fe("utils",{findDisplayAtLocalPoint:st});const ft=At(()=>n.isResizing&&n.resizeDirection?`${n.resizeDirection}-resize`:n.isResizingAnnotation&&n.annotationResizeDir?`${n.annotationResizeDir}-resize`:n.isMovingAnnotation||n.isMoving?"move":n.drawingMode&&n.activeTool==="text"?"text":"crosshair");return(h,v)=>(K(),Z("div",{class:"relative w-screen h-screen overflow-hidden select-none",style:pt({cursor:ft.value}),onMousedown:Ct,onMousemove:k,onMouseup:g,onDblclick:Ut,onWheel:at,onContextmenu:E},[n.isDebug?gt("",!0):(K(),je(jl,{key:0,screens:n.capturedScreens,"offset-x":n.offsetX,"offset-y":n.offsetY},null,8,["screens","offset-x","offset-y"])),Mt(Kl,{state:n,bounds:l.value,onResizeStart:vt},null,8,["state","bounds"]),Mt(Ma,{"cursor-pos":n.cursorPos},null,8,["cursor-pos"]),n.hasSelection&&(n.annotations.length>0||n.activeAnnotation||n.editingTextAnnotation)?(K(),Z("div",Ca,[(K(!0),Z(kt,null,pn(n.annotations,x=>(K(),Z("div",{key:x.id,style:pt(z(x))},null,4))),128)),(K(!0),Z(kt,null,pn(n.annotations.filter(x=>x.tool==="mosaic"),x=>(K(),Z("div",{key:"mosaic-"+x.id,class:"mosaic-wrapper",style:pt({position:"absolute",left:x.x+"px",top:x.y+"px",width:x.w+"px",height:x.h+"px"})},[w("canvas",{ref_for:!0,ref:P=>q(P,x),class:"mosaic-canvas",style:pt({width:"100%",height:"100%",imageRendering:x.mode==="blur"?"auto":"pixelated",filter:x.mode==="blur"?`blur(${Math.max(2,x.blockSize/2)}px)`:"none"})},null,4)],4))),128)),n.activeTool==="mosaic"&&a.value&&a.value.w>0&&a.value.h>0?(K(),Z("div",{key:0,class:"mosaic-wrapper",style:pt({position:"absolute",left:a.value.x+"px",top:a.value.y+"px",width:a.value.w+"px",height:a.value.h+"px"})},[w("canvas",{ref_key:"activeMosaicCanvasRef",ref:i,class:"mosaic-canvas",style:pt({width:"100%",height:"100%",imageRendering:n.mosaicConfig.mode==="blur"?"auto":"pixelated",filter:n.mosaicConfig.mode==="blur"?`blur(${Math.max(2,n.mosaicConfig.blockSize/2)}px)`:"none"})},null,4)],4)):gt("",!0),(K(!0),Z(kt,null,pn(n.annotations.filter(x=>x.tool==="text"),x=>(K(),Z("div",{key:"text-"+x.id,class:"text-annotation",style:pt({position:"absolute",left:x.x+"px",top:x.y+"px",fontSize:x.fontSize+"px",color:x.color,fontFamily:x.fontFamily||"sans-serif",whiteSpace:"pre-wrap",lineHeight:1.2})},jt(x.text),5))),128)),n.editingTextAnnotation?qe((K(),Z("textarea",{key:1,ref_key:"textInputRef",ref:o,"onUpdate:modelValue":v[0]||(v[0]=x=>n.editingTextAnnotation.text=x),class:"text-annotation-input pointer-events-auto",style:pt({position:"absolute",left:n.editingTextAnnotation.x+"px",top:n.editingTextAnnotation.y+"px",fontSize:n.textConfig.fontSize+"px",color:n.textConfig.color,fontFamily:n.textConfig.fontFamily||"sans-serif",lineHeight:1.2,width:O.value.width+"px",height:O.value.height+"px"}),onMousedown:v[1]||(v[1]=H(()=>{},["stop"])),onKeydown:v[2]||(v[2]=H(()=>{},["stop"]))},null,36)),[[Qe,n.editingTextAnnotation.text]]):gt("",!0),a.value&&a.value.w>0&&a.value.h>0?(K(),Z("div",{key:2,style:pt(Q.value)},[!n.isDrawingRect&&n.activeAnnotation?(K(),Z("div",{key:0,class:"absolute inset-0 cursor-move z-20 pointer-events-auto",onMousedown:v[3]||(v[3]=H(x=>y(x),["stop"]))},null,32)):gt("",!0),!n.isDrawingRect&&n.activeAnnotation?(K(),Z(kt,{key:1},[w("div",{class:"absolute -top-1 -left-1 w-2.5 h-2.5 bg-white border border-blue-400 rounded-full cursor-nw-resize z-30 pointer-events-auto",onMousedown:v[4]||(v[4]=H(x=>b("nw"),["stop"]))},null,32),w("div",{class:"absolute -top-1 left-1/2 -translate-x-1/2 w-2.5 h-2.5 bg-white border border-blue-400 rounded-full cursor-n-resize z-30 pointer-events-auto",onMousedown:v[5]||(v[5]=H(x=>b("n"),["stop"]))},null,32),w("div",{class:"absolute -top-1 -right-1 w-2.5 h-2.5 bg-white border border-blue-400 rounded-full cursor-ne-resize z-30 pointer-events-auto",onMousedown:v[6]||(v[6]=H(x=>b("ne"),["stop"]))},null,32),w("div",{class:"absolute top-1/2 -right-1 -translate-y-1/2 w-2.5 h-2.5 bg-white border border-blue-400 rounded-full cursor-e-resize z-30 pointer-events-auto",onMousedown:v[7]||(v[7]=H(x=>b("e"),["stop"]))},null,32),w("div",{class:"absolute -bottom-1 -right-1 w-2.5 h-2.5 bg-white border border-blue-400 rounded-full cursor-se-resize z-30 pointer-events-auto",onMousedown:v[8]||(v[8]=H(x=>b("se"),["stop"]))},null,32),w("div",{class:"absolute -bottom-1 left-1/2 -translate-x-1/2 w-2.5 h-2.5 bg-white border border-blue-400 rounded-full cursor-s-resize z-30 pointer-events-auto",onMousedown:v[9]||(v[9]=H(x=>b("s"),["stop"]))},null,32),w("div",{class:"absolute -bottom-1 -left-1 w-2.5 h-2.5 bg-white border border-blue-400 rounded-full cursor-sw-resize z-30 pointer-events-auto",onMousedown:v[10]||(v[10]=H(x=>b("sw"),["stop"]))},null,32),w("div",{class:"absolute top-1/2 -left-1 -translate-y-1/2 w-2.5 h-2.5 bg-white border border-blue-400 rounded-full cursor-w-resize z-30 pointer-events-auto",onMousedown:v[11]||(v[11]=H(x=>b("w"),["stop"]))},null,32)],64)):gt("",!0)],4)):gt("",!0)])):gt("",!0),n.hasSelection&&!n.isSelecting&&!n.isMoving&&!n.isResizing?(K(),je(Sa,{key:2,visible:!0,bounds:l.value,onMousedown:v[12]||(v[12]=H(()=>{},["stop"]))},null,8,["bounds"])):gt("",!0),d.value?(K(),je(_a,{key:3,"cursor-pos":n.cursorPos,screens:n.capturedScreens,"offset-x":n.offsetX,"offset-y":n.offsetY},null,8,["cursor-pos","screens","offset-x","offset-y"])):gt("",!0)],36))}},Pa=Tl(Ra);Pa.mount("#app");
package/dist/ui.esm.js CHANGED
@@ -15,7 +15,7 @@
15
15
  } catch (e) {
16
16
  console.error("vite-plugin-css-injected-by-js", e);
17
17
  }
18
- })('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties {\n@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n*, :before, :after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-border-style: solid;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n}\n}\n}\n@layer tailwind {\n@layer theme {\n:root, :host {\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n --color-black: #000;\n --color-white: #fff;\n --spacing: .25rem;\n --text-xs: .75rem;\n --text-xs--line-height: calc(1 / .75);\n --radius-xl: .75rem;\n --radius-3xl: 1.5rem;\n --ease-out: cubic-bezier(0, 0, .2, 1);\n --blur-xs: 4px;\n --default-transition-duration: .15s;\n --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);\n}\n}\n@layer utilities {\n.pointer-events-auto {\n pointer-events: auto;\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.visible {\n visibility: visible;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.static {\n position: static;\n}\n.inset-0 {\n inset: calc(var(--spacing) * 0);\n}\n.-top-1\\.5 {\n top: calc(var(--spacing) * -1.5);\n}\n.-top-6 {\n top: calc(var(--spacing) * -6);\n}\n.top-1 {\n top: calc(var(--spacing) * 1);\n}\n.top-1\\/2 {\n top: 50%;\n}\n.-right-1\\.5 {\n right: calc(var(--spacing) * -1.5);\n}\n.-bottom-1\\.5 {\n bottom: calc(var(--spacing) * -1.5);\n}\n.-left-1\\.5 {\n left: calc(var(--spacing) * -1.5);\n}\n.left-0 {\n left: calc(var(--spacing) * 0);\n}\n.left-1 {\n left: calc(var(--spacing) * 1);\n}\n.left-1\\/2 {\n left: 50%;\n}\n.z-10 {\n z-index: 10;\n}\n.z-20 {\n z-index: 20;\n}\n.z-50 {\n z-index: 50;\n}\n.z-99 {\n z-index: 99;\n}\n.my-4 {\n margin-block: calc(var(--spacing) * 4);\n}\n.mt-2 {\n margin-top: calc(var(--spacing) * 2);\n}\n.mt-4 {\n margin-top: calc(var(--spacing) * 4);\n}\n.mt-6 {\n margin-top: calc(var(--spacing) * 6);\n}\n.mr-2 {\n margin-right: calc(var(--spacing) * 2);\n}\n.mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n}\n.mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n}\n.ml-2 {\n margin-left: calc(var(--spacing) * 2);\n}\n.ml-4 {\n margin-left: calc(var(--spacing) * 4);\n}\n.box-border {\n box-sizing: border-box;\n}\n.flex {\n display: flex;\n}\n.inline {\n display: inline;\n}\n.h-3 {\n height: calc(var(--spacing) * 3);\n}\n.h-full {\n height: 100%;\n}\n.h-screen {\n height: 100vh;\n}\n.w-3 {\n width: calc(var(--spacing) * 3);\n}\n.w-full {\n width: 100%;\n}\n.w-screen {\n width: 100vw;\n}\n.grow {\n flex-grow: 1;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n}\n.transform {\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n}\n.cursor-e-resize {\n cursor: e-resize;\n}\n.cursor-move {\n cursor: move;\n}\n.cursor-n-resize {\n cursor: n-resize;\n}\n.cursor-ne-resize {\n cursor: ne-resize;\n}\n.cursor-nw-resize {\n cursor: nw-resize;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.cursor-s-resize {\n cursor: s-resize;\n}\n.cursor-se-resize {\n cursor: se-resize;\n}\n.cursor-sw-resize {\n cursor: sw-resize;\n}\n.cursor-w-resize {\n cursor: w-resize;\n}\n.gap-x-2 {\n column-gap: calc(var(--spacing) * 2);\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.rounded {\n border-radius: .25rem;\n}\n.rounded-3xl {\n border-radius: var(--radius-3xl);\n}\n.rounded-full {\n border-radius: 3.40282e38px;\n}\n.rounded-xl {\n border-radius: var(--radius-xl);\n}\n.border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n}\n.border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n}\n.border-\\[\\#2196F3\\] {\n border-color: #2196f3;\n}\n.border-white\\/10 {\n border-color: #ffffff1a;\n}\n@supports (color: color-mix(in lab, red, red)) {\n.border-white\\/10 {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n}\n}\n.bg-\\[\\#2196F3\\] {\n background-color: #2196f3;\n}\n.bg-\\[\\#2196F3\\]\\/10 {\n background-color: oklab(65.8156% -.0610626 -.157539 / .1);\n}\n.bg-black\\/75 {\n background-color: #000000bf;\n}\n@supports (color: color-mix(in lab, red, red)) {\n.bg-black\\/75 {\n background-color: color-mix(in oklab, var(--color-black) 75%, transparent);\n}\n}\n.bg-white {\n background-color: var(--color-white);\n}\n.px-2 {\n padding-inline: calc(var(--spacing) * 2);\n}\n.px-4 {\n padding-inline: calc(var(--spacing) * 4);\n}\n.py-0\\.5 {\n padding-block: calc(var(--spacing) * .5);\n}\n.py-2 {\n padding-block: calc(var(--spacing) * 2);\n}\n.font-mono {\n font-family: var(--font-mono);\n}\n.text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n}\n.text-\\[10px\\] {\n font-size: 10px;\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.text-\\[\\#FF5252\\] {\n color: #ff5252;\n}\n.text-white {\n color: var(--color-white);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n.shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n.outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n}\n.backdrop-blur-xs {\n --tw-backdrop-blur: blur(var(--blur-xs));\n -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );\n backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );\n}\n.backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );\n backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );\n}\n.transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n}\n.duration-100 {\n --tw-duration: .1s;\n transition-duration: .1s;\n}\n.duration-300 {\n --tw-duration: .3s;\n transition-duration: .3s;\n}\n.ease-\\[cubic-bezier\\(0\\.23\\,1\\,0\\.32\\,1\\)\\] {\n --tw-ease: cubic-bezier(.23, 1, .32, 1);\n transition-timing-function: cubic-bezier(.23, 1, .32, 1);\n}\n.ease-out {\n --tw-ease: var(--ease-out);\n transition-timing-function: var(--ease-out);\n}\n.select-none {\n -webkit-user-select: none;\n user-select: none;\n}\n}\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-backdrop-blur {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-brightness {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-contrast {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-grayscale {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-hue-rotate {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-invert {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-opacity {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-saturate {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-sepia {\n syntax: "*";\n inherits: false\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false\n}\n\n.hdr-capture-settings[data-v-ccb6df51] {\n padding: 16px;\n}\n.setting-section[data-v-ccb6df51] {\n margin-bottom: 16px;\n}\n\n/* HDR 映射设置样式 */\n.hdr-mapping-options[data-v-ccb6df51] {\n padding-left: 16px;\n}\n.slider-setting[data-v-ccb6df51] {\n padding: 8px 0;\n}\n.slider-header[data-v-ccb6df51] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n}\n.slider-label[data-v-ccb6df51] {\n font-size: .875rem;\n font-weight: 500;\n}\n.slider-range-label[data-v-ccb6df51] {\n font-size: .75rem;\n color: rgb(var(--v-theme-on-surface) / 60%);\n min-width: 32px;\n text-align: center;\n}\n.slider-hint[data-v-ccb6df51] {\n margin-top: 4px;\n opacity: .7;\n}', { "styleId": "translime-plugin-hdr-capture" });
18
+ })('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties {\n@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n*, :before, :after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-border-style: solid;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n}\n}\n}\n@layer tailwind {\n@layer theme {\n:root, :host {\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n --color-blue-400: oklch(70.7% .165 254.624);\n --color-black: #000;\n --color-white: #fff;\n --spacing: .25rem;\n --text-xs: .75rem;\n --text-xs--line-height: calc(1 / .75);\n --radius-xl: .75rem;\n --radius-3xl: 1.5rem;\n --ease-out: cubic-bezier(0, 0, .2, 1);\n --blur-xs: 4px;\n --default-transition-duration: .15s;\n --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);\n}\n}\n@layer utilities {\n.pointer-events-auto {\n pointer-events: auto;\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.visible {\n visibility: visible;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.static {\n position: static;\n}\n.inset-0 {\n inset: calc(var(--spacing) * 0);\n}\n.-top-1 {\n top: calc(var(--spacing) * -1);\n}\n.-top-1\\.5 {\n top: calc(var(--spacing) * -1.5);\n}\n.-top-6 {\n top: calc(var(--spacing) * -6);\n}\n.top-1 {\n top: calc(var(--spacing) * 1);\n}\n.top-1\\/2 {\n top: 50%;\n}\n.-right-1 {\n right: calc(var(--spacing) * -1);\n}\n.-right-1\\.5 {\n right: calc(var(--spacing) * -1.5);\n}\n.-bottom-1 {\n bottom: calc(var(--spacing) * -1);\n}\n.-bottom-1\\.5 {\n bottom: calc(var(--spacing) * -1.5);\n}\n.-left-1 {\n left: calc(var(--spacing) * -1);\n}\n.-left-1\\.5 {\n left: calc(var(--spacing) * -1.5);\n}\n.left-0 {\n left: calc(var(--spacing) * 0);\n}\n.left-1 {\n left: calc(var(--spacing) * 1);\n}\n.left-1\\/2 {\n left: 50%;\n}\n.z-10 {\n z-index: 10;\n}\n.z-20 {\n z-index: 20;\n}\n.z-30 {\n z-index: 30;\n}\n.z-50 {\n z-index: 50;\n}\n.z-99 {\n z-index: 99;\n}\n.my-4 {\n margin-block: calc(var(--spacing) * 4);\n}\n.mt-2 {\n margin-top: calc(var(--spacing) * 2);\n}\n.mt-4 {\n margin-top: calc(var(--spacing) * 4);\n}\n.mt-6 {\n margin-top: calc(var(--spacing) * 6);\n}\n.mr-2 {\n margin-right: calc(var(--spacing) * 2);\n}\n.mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n}\n.mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n}\n.ml-2 {\n margin-left: calc(var(--spacing) * 2);\n}\n.ml-4 {\n margin-left: calc(var(--spacing) * 4);\n}\n.box-border {\n box-sizing: border-box;\n}\n.flex {\n display: flex;\n}\n.inline {\n display: inline;\n}\n.h-2\\.5 {\n height: calc(var(--spacing) * 2.5);\n}\n.h-3 {\n height: calc(var(--spacing) * 3);\n}\n.h-full {\n height: 100%;\n}\n.h-screen {\n height: 100vh;\n}\n.w-2\\.5 {\n width: calc(var(--spacing) * 2.5);\n}\n.w-3 {\n width: calc(var(--spacing) * 3);\n}\n.w-full {\n width: 100%;\n}\n.w-screen {\n width: 100vw;\n}\n.flex-shrink {\n flex-shrink: 1;\n}\n.grow {\n flex-grow: 1;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n}\n.transform {\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n}\n.cursor-crosshair {\n cursor: crosshair;\n}\n.cursor-e-resize {\n cursor: e-resize;\n}\n.cursor-move {\n cursor: move;\n}\n.cursor-n-resize {\n cursor: n-resize;\n}\n.cursor-ne-resize {\n cursor: ne-resize;\n}\n.cursor-nw-resize {\n cursor: nw-resize;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.cursor-s-resize {\n cursor: s-resize;\n}\n.cursor-se-resize {\n cursor: se-resize;\n}\n.cursor-sw-resize {\n cursor: sw-resize;\n}\n.cursor-w-resize {\n cursor: w-resize;\n}\n.resize {\n resize: both;\n}\n.gap-x-2 {\n column-gap: calc(var(--spacing) * 2);\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.rounded {\n border-radius: .25rem;\n}\n.rounded-3xl {\n border-radius: var(--radius-3xl);\n}\n.rounded-full {\n border-radius: 3.40282e38px;\n}\n.rounded-xl {\n border-radius: var(--radius-xl);\n}\n.border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n}\n.border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n}\n.border-\\[\\#2196F3\\] {\n border-color: #2196f3;\n}\n.border-blue-400 {\n border-color: var(--color-blue-400);\n}\n.border-white\\/10 {\n border-color: #ffffff1a;\n}\n@supports (color: color-mix(in lab, red, red)) {\n.border-white\\/10 {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n}\n}\n.bg-\\[\\#2196F3\\] {\n background-color: #2196f3;\n}\n.bg-\\[\\#2196F3\\]\\/10 {\n background-color: oklab(65.8156% -.0610626 -.157539 / .1);\n}\n.bg-black\\/75 {\n background-color: #000000bf;\n}\n@supports (color: color-mix(in lab, red, red)) {\n.bg-black\\/75 {\n background-color: color-mix(in oklab, var(--color-black) 75%, transparent);\n}\n}\n.bg-white {\n background-color: var(--color-white);\n}\n.px-2 {\n padding-inline: calc(var(--spacing) * 2);\n}\n.px-4 {\n padding-inline: calc(var(--spacing) * 4);\n}\n.py-0\\.5 {\n padding-block: calc(var(--spacing) * .5);\n}\n.py-2 {\n padding-block: calc(var(--spacing) * 2);\n}\n.font-mono {\n font-family: var(--font-mono);\n}\n.text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n}\n.text-\\[10px\\] {\n font-size: 10px;\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.text-\\[\\#FF5252\\] {\n color: #ff5252;\n}\n.text-white {\n color: var(--color-white);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n.shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n.outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n}\n.blur {\n --tw-blur: blur(8px);\n filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );\n}\n.filter {\n filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );\n}\n.backdrop-blur-xs {\n --tw-backdrop-blur: blur(var(--blur-xs));\n -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );\n backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );\n}\n.backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );\n backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );\n}\n.transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n}\n.duration-100 {\n --tw-duration: .1s;\n transition-duration: .1s;\n}\n.duration-300 {\n --tw-duration: .3s;\n transition-duration: .3s;\n}\n.ease-\\[cubic-bezier\\(0\\.23\\,1\\,0\\.32\\,1\\)\\] {\n --tw-ease: cubic-bezier(.23, 1, .32, 1);\n transition-timing-function: cubic-bezier(.23, 1, .32, 1);\n}\n.ease-out {\n --tw-ease: var(--ease-out);\n transition-timing-function: var(--ease-out);\n}\n.select-none {\n -webkit-user-select: none;\n user-select: none;\n}\n}\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-blur {\n syntax: "*";\n inherits: false\n}\n@property --tw-brightness {\n syntax: "*";\n inherits: false\n}\n@property --tw-contrast {\n syntax: "*";\n inherits: false\n}\n@property --tw-grayscale {\n syntax: "*";\n inherits: false\n}\n@property --tw-hue-rotate {\n syntax: "*";\n inherits: false\n}\n@property --tw-invert {\n syntax: "*";\n inherits: false\n}\n@property --tw-opacity {\n syntax: "*";\n inherits: false\n}\n@property --tw-saturate {\n syntax: "*";\n inherits: false\n}\n@property --tw-sepia {\n syntax: "*";\n inherits: false\n}\n@property --tw-drop-shadow {\n syntax: "*";\n inherits: false\n}\n@property --tw-drop-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-drop-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-blur {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-brightness {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-contrast {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-grayscale {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-hue-rotate {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-invert {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-opacity {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-saturate {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-sepia {\n syntax: "*";\n inherits: false\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false\n}\n\n.hdr-capture-settings[data-v-ccb6df51] {\n padding: 16px;\n}\n.setting-section[data-v-ccb6df51] {\n margin-bottom: 16px;\n}\n\n/* HDR 映射设置样式 */\n.hdr-mapping-options[data-v-ccb6df51] {\n padding-left: 16px;\n}\n.slider-setting[data-v-ccb6df51] {\n padding: 8px 0;\n}\n.slider-header[data-v-ccb6df51] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n}\n.slider-label[data-v-ccb6df51] {\n font-size: .875rem;\n font-weight: 500;\n}\n.slider-range-label[data-v-ccb6df51] {\n font-size: .75rem;\n color: rgb(var(--v-theme-on-surface) / 60%);\n min-width: 32px;\n text-align: center;\n}\n.slider-hint[data-v-ccb6df51] {\n margin-top: 4px;\n opacity: .7;\n}', { "styleId": "translime-plugin-hdr-capture" });
19
19
  })();
20
20
  import { reactive, ref, computed, onMounted, watch, createBlock, openBlock, unref, withCtx, createVNode, createTextVNode, createElementVNode, withModifiers, mergeProps, withDirectives, toDisplayString, vShow, createCommentVNode } from "vue";
21
21
  function getDefaultExportFromCjs(x) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "translime-plugin-hdr-capture",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "轻松获取 HDR 截图",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -26,6 +26,7 @@
26
26
  "dts": "index.d.ts"
27
27
  },
28
28
  "scripts": {
29
+ "lint": "eslint .",
29
30
  "dev": "vite build -c ui.vite.config.mjs --watch",
30
31
  "preview:ui": "vite -c ui.vite.config.mjs --mode preview",
31
32
  "preview:overlay": "vite -c overlay.vite.config.mjs --mode preview",