@toolmain/components 1.2.5 → 1.2.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.
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-ep\\:close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:delete{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:info-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296c-44.096 0-108.992 44.736-148.48 101.504c0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04c67.84 0 107.904-43.648 147.456-100.416z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:loading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ic\\:baseline-content-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ic\\:outline-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}[i-ep\\:info-filled~="default:"]:default{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296c-44.096 0-108.992 44.736-148.48 101.504c0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04c67.84 0 107.904-43.648 147.456-100.416z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0,[top~="0"]{top:0}.z-100{z-index:100}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}.mt-20px{margin-top:20px}.hidden{display:none}.h-100\\%,.h-full{height:100%}.max-h-500px{max-height:500px}.w-100\\%,.w100\\%{width:100%}.w-50\\%{width:50%}.flex{display:flex}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer{cursor:pointer}.resize,[resize=""]{resize:both}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10px,.gap10px{gap:10px}.gap-1rem{gap:1rem}.gap-5px,.gap5px{gap:5px}.gap3px{gap:3px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.border,[border=""]{border-width:1px}.hover\\:bg-gray-500:hover{--un-bg-opacity:1;background-color:rgb(107 114 128 / var(--un-bg-opacity))}[stroke-width~="18"]{stroke-width:18px}[stroke-width~="27"]{stroke-width:27px}.p-10px{padding:10px}.p0\\!{padding:0!important}.px,[px=""]{padding-left:1rem;padding-right:1rem}.px-10px{padding-left:10px;padding-right:10px}.px-20px{padding-left:20px;padding-right:20px}.py-10px{padding-top:10px;padding-bottom:10px}.text-12px{font-size:12px}.text-16px{font-size:16px}.text-30px{font-size:30px}.c-\\#000{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.c-\\#fff{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.c-red{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="20"]{transition-duration:20ms}.comp-affix .comp-affix-inner[data-v-4c40ccd8]{transition:box-shadow .3s;border-radius:1rem}.comp-affix .comp-affix-inner.fix[data-v-4c40ccd8]{position:fixed;box-shadow:var(--el-box-shadow);background-color:var(--el-card-bg-color)}.p-t[data-v-2dbd22ac],.p-r[data-v-2dbd22ac],.p-b[data-v-2dbd22ac],.p-l[data-v-2dbd22ac],.p-lt[data-v-2dbd22ac],.p-rt[data-v-2dbd22ac],.p-lb[data-v-2dbd22ac],.p-rb[data-v-2dbd22ac]{z-index:var(--dc02cff8);position:absolute}.p-b[data-v-2dbd22ac],.p-t[data-v-2dbd22ac],.p-r[data-v-2dbd22ac],.p-l[data-v-2dbd22ac]{background-color:transparent;border-radius:4px}.p-b[data-v-2dbd22ac],.p-t[data-v-2dbd22ac]{height:4px;left:4px;right:4px}.p-r[data-v-2dbd22ac],.p-l[data-v-2dbd22ac]{width:4px;top:4px;bottom:4px}.p-lt[data-v-2dbd22ac],.p-rt[data-v-2dbd22ac],.p-lb[data-v-2dbd22ac],.p-rb[data-v-2dbd22ac]{width:0;height:0}.p-b[data-v-2dbd22ac]{bottom:0;cursor:ns-resize}.p-t[data-v-2dbd22ac]{top:0;cursor:ns-resize}.p-r[data-v-2dbd22ac]{right:0;cursor:ew-resize}.p-l[data-v-2dbd22ac]{left:0;cursor:ew-resize}.p-lt[data-v-2dbd22ac]{left:0;top:0;cursor:nwse-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-rt[data-v-2dbd22ac]{right:0;top:0;cursor:nesw-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-lb[data-v-2dbd22ac]{left:0;bottom:0;cursor:nesw-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-rb[data-v-2dbd22ac]{right:0;bottom:0;cursor:nwse-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.dragContainer[data-v-f5de5f52]{display:flex;flex-direction:column;transform-origin:0 0}.dragContainer>.dragHeader[data-v-f5de5f52]{flex-shrink:0;display:flex}.dragContainer>.scaleContent[data-v-f5de5f52]{flex:1;overflow:hidden;position:relative;display:flex}.dragMask[data-v-f5de5f52]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}[data-v-76ecc263] .el-input-number,[data-v-8e0fbcd8] .el-input-number{width:100%}.wrap[data-v-669e252e]{background-size:100% 100%;background-repeat:no-repeat}[data-v-669e252e] .el-progress-bar__innerText{height:100%}[data-v-669e252e] .el-progress-bar__outer{border:solid 2px #fff}.close[data-v-99c38864]{position:absolute;right:0;top:0;border-top-right-radius:8px;background:red;width:20px;height:20px;border-bottom-left-radius:8px}.tipWrap[data-v-99c38864]{color:#fff;position:absolute;right:10px;top:10px;width:330px;padding:3px 6px;border-radius:8px;box-sizing:border-box;border:1px solid #707070;position:fixed;background-color:#0000001f;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow-wrap:break-word;overflow:hidden;z-index:101}.tipWrap .oneline[data-v-99c38864]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-99c38864] .el-progress-bar__innerText{height:100%}[data-v-99c38864] .el-progress-bar__outer{border:solid 2px #fff}.name[data-v-29cba2b4]{background:linear-gradient(313deg,#3525d6,#5072ff);box-shadow:0 .25rem 1.25rem #0000001c,0 .25rem 1.25rem #3930dc4d;border-radius:1.5rem;filter:blur(0px);padding:10px 20px}.threeWrap[data-v-dad10b5b]{position:relative;flex:1;flex-shrink:0;width:100%;height:100%}.dialog-panel[data-v-01950745]{--dialog-padding: 1rem;--el-card-padding: var(--dialog-padding);flex:1;display:flex;flex-direction:column;overflow:hidden}.spin-element[data-v-cbef7acf]{--load-visible-color: transparent;animation:spin-cbef7acf 2s linear infinite;transform-origin:center;transition:color .25s;color:var(--load-visible-color)}.spin-element.show[data-v-cbef7acf]{--load-visible-color: var(--el-color-primary)}@keyframes spin-cbef7acf{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`)),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import { defineComponent as pt, useTemplateRef as Wn, shallowRef as rn, computed as De, reactive as Mt, onMounted as jt, onBeforeUnmount as Do, createElementBlock as je, openBlock as me, normalizeStyle as Yn, normalizeClass as Ao, createElementVNode as ve, renderSlot as bn, useCssVars as _l, createCommentVNode as Kt, Fragment as Vn, renderList as nr, withDirectives as Ro, vShow as ko, unref as rt, ref as wn, toValue as ki, watch as kt, toRef as _o, createBlock as We, Teleport as xl, withCtx as N, createVNode as C, Transition as Tl, resolveDynamicComponent as ma, cloneVNode as Sl, h as xo, isVNode as El, render as Cl, mergeProps as ga, resolveComponent as ge, createTextVNode as it, toDisplayString as lt, shallowReactive as Ms, toRaw as Pl, withModifiers as Is, toHandlers as Al, isRef as Rl, watchEffect as kl, markRaw as Dn, createSlots as Ml } from "vue";
3
- import { px as qe, useEvent as sn, z as Il, getStyleValue as Xi, isBoolean as Ls, isNumber as vn, toNumber as Pe, useFlip as Ll, merge as Dl, isUndefined as ya, resolvePath as Ds, msg as Ol, uniqueId as Vl, isString as Os, useCopy as Fl } from "@toolmain/shared";
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-ep\\:close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:delete{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:info-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296c-44.096 0-108.992 44.736-148.48 101.504c0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04c67.84 0 107.904-43.648 147.456-100.416z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ep\\:loading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ic\\:baseline-content-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.i-ic\\:outline-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}[i-ep\\:info-filled~="default:"]:default{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' display='inline-block' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296c-44.096 0-108.992 44.736-148.48 101.504c0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04c67.84 0 107.904-43.648 147.456-100.416z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;width:1em;height:1em}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0,[top~="0"]{top:0}.z-100{z-index:100}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}.mt-20px{margin-top:20px}.hidden{display:none}.h-100\\%,.h-full{height:100%}.max-h-500px{max-height:500px}.w-100\\%,.w100\\%{width:100%}.w-50\\%{width:50%}.flex{display:flex}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer{cursor:pointer}.resize,[resize=""]{resize:both}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10px,.gap10px{gap:10px}.gap-1rem{gap:1rem}.gap-5px,.gap5px{gap:5px}.gap3px{gap:3px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.border,[border=""]{border-width:1px}.hover\\:bg-gray-500:hover{--un-bg-opacity:1;background-color:rgb(107 114 128 / var(--un-bg-opacity))}[stroke-width~="18"]{stroke-width:18px}[stroke-width~="27"]{stroke-width:27px}.p-10px{padding:10px}.p0\\!{padding:0!important}.px,[px=""]{padding-left:1rem;padding-right:1rem}.px-10px{padding-left:10px;padding-right:10px}.px-20px{padding-left:20px;padding-right:20px}.py-10px{padding-top:10px;padding-bottom:10px}.text-12px{font-size:12px}.text-16px{font-size:16px}.text-30px{font-size:30px}.c-\\#000{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.c-\\#fff{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.c-red{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="20"]{transition-duration:20ms}.comp-affix .comp-affix-inner[data-v-4c40ccd8]{transition:box-shadow .3s;border-radius:1rem}.comp-affix .comp-affix-inner.fix[data-v-4c40ccd8]{position:fixed;box-shadow:var(--el-box-shadow);background-color:var(--el-card-bg-color)}.p-t[data-v-2dbd22ac],.p-r[data-v-2dbd22ac],.p-b[data-v-2dbd22ac],.p-l[data-v-2dbd22ac],.p-lt[data-v-2dbd22ac],.p-rt[data-v-2dbd22ac],.p-lb[data-v-2dbd22ac],.p-rb[data-v-2dbd22ac]{z-index:var(--dc02cff8);position:absolute}.p-b[data-v-2dbd22ac],.p-t[data-v-2dbd22ac],.p-r[data-v-2dbd22ac],.p-l[data-v-2dbd22ac]{background-color:transparent;border-radius:4px}.p-b[data-v-2dbd22ac],.p-t[data-v-2dbd22ac]{height:4px;left:4px;right:4px}.p-r[data-v-2dbd22ac],.p-l[data-v-2dbd22ac]{width:4px;top:4px;bottom:4px}.p-lt[data-v-2dbd22ac],.p-rt[data-v-2dbd22ac],.p-lb[data-v-2dbd22ac],.p-rb[data-v-2dbd22ac]{width:0;height:0}.p-b[data-v-2dbd22ac]{bottom:0;cursor:ns-resize}.p-t[data-v-2dbd22ac]{top:0;cursor:ns-resize}.p-r[data-v-2dbd22ac]{right:0;cursor:ew-resize}.p-l[data-v-2dbd22ac]{left:0;cursor:ew-resize}.p-lt[data-v-2dbd22ac]{left:0;top:0;cursor:nwse-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-rt[data-v-2dbd22ac]{right:0;top:0;cursor:nesw-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-lb[data-v-2dbd22ac]{left:0;bottom:0;cursor:nesw-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.p-rb[data-v-2dbd22ac]{right:0;bottom:0;cursor:nwse-resize;border-top:.4rem solid transparent;border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-bottom:.4rem solid transparent}.dragContainer[data-v-f5de5f52]{display:flex;flex-direction:column;transform-origin:0 0}.dragContainer>.dragHeader[data-v-f5de5f52]{flex-shrink:0;display:flex}.dragContainer>.scaleContent[data-v-f5de5f52]{flex:1;overflow:hidden;position:relative;display:flex}.dragMask[data-v-f5de5f52]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}[data-v-76ecc263] .el-input-number,[data-v-33a7c0fc] .el-input-number{width:100%}.wrap[data-v-669e252e]{background-size:100% 100%;background-repeat:no-repeat}[data-v-669e252e] .el-progress-bar__innerText{height:100%}[data-v-669e252e] .el-progress-bar__outer{border:solid 2px #fff}.close[data-v-99c38864]{position:absolute;right:0;top:0;border-top-right-radius:8px;background:red;width:20px;height:20px;border-bottom-left-radius:8px}.tipWrap[data-v-99c38864]{color:#fff;position:absolute;right:10px;top:10px;width:330px;padding:3px 6px;border-radius:8px;box-sizing:border-box;border:1px solid #707070;position:fixed;background-color:#0000001f;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow-wrap:break-word;overflow:hidden;z-index:101}.tipWrap .oneline[data-v-99c38864]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-99c38864] .el-progress-bar__innerText{height:100%}[data-v-99c38864] .el-progress-bar__outer{border:solid 2px #fff}.name[data-v-29cba2b4]{background:linear-gradient(313deg,#3525d6,#5072ff);box-shadow:0 .25rem 1.25rem #0000001c,0 .25rem 1.25rem #3930dc4d;border-radius:1.5rem;filter:blur(0px);padding:10px 20px}.threeWrap[data-v-dad10b5b]{position:relative;flex:1;flex-shrink:0;width:100%;height:100%}.dialog-panel[data-v-01950745]{--dialog-padding: 1rem;--el-card-padding: var(--dialog-padding);flex:1;display:flex;flex-direction:column;overflow:hidden}.spin-element[data-v-cbef7acf]{--load-visible-color: transparent;animation:spin-cbef7acf 2s linear infinite;transform-origin:center;transition:color .25s;color:var(--load-visible-color)}.spin-element.show[data-v-cbef7acf]{--load-visible-color: var(--el-color-primary)}@keyframes spin-cbef7acf{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`)),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { defineComponent as pt, useTemplateRef as $n, shallowRef as rn, computed as De, reactive as Mt, onMounted as jt, onBeforeUnmount as Do, createElementBlock as je, openBlock as me, normalizeStyle as Gn, normalizeClass as Ao, createElementVNode as ve, renderSlot as bn, useCssVars as _l, createCommentVNode as Kt, Fragment as On, renderList as tr, withDirectives as Ro, vShow as ko, unref as rt, ref as or, toValue as ki, watch as kt, toRef as _o, createBlock as We, Teleport as xl, withCtx as N, createVNode as C, Transition as Tl, resolveDynamicComponent as ma, cloneVNode as Sl, h as xo, isVNode as El, render as Cl, mergeProps as ga, resolveComponent as ge, createTextVNode as it, toDisplayString as lt, shallowReactive as Ms, toRaw as Pl, withModifiers as Is, toHandlers as Al, isRef as Rl, watchEffect as kl, markRaw as Ln, createSlots as Ml } from "vue";
3
+ import { px as qe, useEvent as sn, z as Il, getStyleValue as Xi, isBoolean as Ls, isNumber as vn, toNumber as Pe, useFlip as Ll, merge as Dl, isUndefined as ya, resolvePath as Ds, useDialog as Ol, msg as Vl, uniqueId as Fl, isString as Os, useCopy as jl } from "@toolmain/shared";
4
4
  import { useElementBounding as Mo, useIntersectionObserver as Vs, useThrottleFn as va, useDebounceFn as ba } from "@vueuse/core";
5
- import { RouterView as jl } from "vue-router";
6
- import { defineStore as Nl, storeToRefs as Ul } from "pinia";
5
+ import { RouterView as Nl } from "vue-router";
6
+ import { defineStore as Ul, storeToRefs as Bl } from "pinia";
7
7
  import * as ce from "three";
8
- import { Controls as wa, Vector3 as oe, MOUSE as Zn, TOUCH as qn, Quaternion as Je, Spherical as Fs, Vector2 as St, Ray as Bl, Plane as zl, MathUtils as mt, Raycaster as Kl, Object3D as Zt, MeshBasicMaterial as On, LineBasicMaterial as Qn, CylinderGeometry as Ct, BoxGeometry as bt, BufferGeometry as on, Float32BufferAttribute as At, Mesh as le, OctahedronGeometry as ho, Line as Wt, TorusGeometry as br, SphereGeometry as Hl, Euler as yn, Matrix4 as Le, PlaneGeometry as Xl, DoubleSide as _a, Vector4 as Lr, Curve as Gl, TrianglesDrawMode as Yl, TriangleFanDrawMode as Mi, TriangleStripDrawMode as xa, Loader as rr, FileLoader as or, SRGBColorSpace as Qe, LinearSRGBColorSpace as Qt, BufferAttribute as Ar, Color as ft, ColorManagement as zt, LoaderUtils as Jn, TextureLoader as Ta, RepeatWrapping as Dr, ClampToEdgeWrapping as Ii, Texture as Li, MeshPhongMaterial as Sr, MeshLambertMaterial as ql, EquirectangularReflectionMapping as $l, Group as er, Bone as Di, PropertyBinding as Or, PerspectiveCamera as Sa, PointLight as Oi, SpotLight as Ea, DirectionalLight as Ca, SkinnedMesh as Pa, Skeleton as Aa, AmbientLight as Wl, Uint16BufferAttribute as Zl, Matrix3 as Ql, ShapeUtils as Jl, AnimationClip as Ra, VectorKeyframeTrack as Vi, QuaternionKeyframeTrack as Io, NumberKeyframeTrack as Fi, MeshPhysicalMaterial as Jt, InstancedMesh as ec, InstancedBufferAttribute as tc, ImageBitmapLoader as nc, InterleavedBuffer as rc, InterleavedBufferAttribute as oc, LinearMipmapLinearFilter as ka, NearestMipmapLinearFilter as ic, LinearMipmapNearestFilter as sc, NearestMipmapNearestFilter as ac, LinearFilter as ji, NearestFilter as Ma, MirroredRepeatWrapping as lc, PointsMaterial as Er, Material as Rr, MeshStandardMaterial as Ia, LineSegments as Ni, LineLoop as cc, Points as To, OrthographicCamera as uc, InterpolateDiscrete as dc, InterpolateLinear as La, FrontSide as hc, Interpolant as fc, Box3 as pc, Sphere as mc } from "three";
9
- import { ScalePanel as gc } from "@toolmain/components";
10
- import { ElDescriptions as yc, ElDescriptionsItem as vc, ElInput as bc } from "element-plus";
11
- const fo = 2, wc = /* @__PURE__ */ pt({
8
+ import { Controls as wa, Vector3 as oe, MOUSE as Wn, TOUCH as Yn, Quaternion as Je, Spherical as Fs, Vector2 as St, Ray as zl, Plane as Kl, MathUtils as mt, Raycaster as Hl, Object3D as Zt, MeshBasicMaterial as Dn, LineBasicMaterial as Zn, CylinderGeometry as Ct, BoxGeometry as bt, BufferGeometry as on, Float32BufferAttribute as At, Mesh as le, OctahedronGeometry as ho, Line as Wt, TorusGeometry as br, SphereGeometry as Xl, Euler as yn, Matrix4 as Le, PlaneGeometry as Gl, DoubleSide as _a, Vector4 as Lr, Curve as Yl, TrianglesDrawMode as ql, TriangleFanDrawMode as Mi, TriangleStripDrawMode as xa, Loader as nr, FileLoader as rr, SRGBColorSpace as Qe, LinearSRGBColorSpace as Qt, BufferAttribute as Ar, Color as ft, ColorManagement as zt, LoaderUtils as Qn, TextureLoader as Ta, RepeatWrapping as Dr, ClampToEdgeWrapping as Ii, Texture as Li, MeshPhongMaterial as Sr, MeshLambertMaterial as $l, EquirectangularReflectionMapping as Wl, Group as Jn, Bone as Di, PropertyBinding as Or, PerspectiveCamera as Sa, PointLight as Oi, SpotLight as Ea, DirectionalLight as Ca, SkinnedMesh as Pa, Skeleton as Aa, AmbientLight as Zl, Uint16BufferAttribute as Ql, Matrix3 as Jl, ShapeUtils as ec, AnimationClip as Ra, VectorKeyframeTrack as Vi, QuaternionKeyframeTrack as Io, NumberKeyframeTrack as Fi, MeshPhysicalMaterial as Jt, InstancedMesh as tc, InstancedBufferAttribute as nc, ImageBitmapLoader as rc, InterleavedBuffer as oc, InterleavedBufferAttribute as ic, LinearMipmapLinearFilter as ka, NearestMipmapLinearFilter as sc, LinearMipmapNearestFilter as ac, NearestMipmapNearestFilter as lc, LinearFilter as ji, NearestFilter as Ma, MirroredRepeatWrapping as cc, PointsMaterial as Er, Material as Rr, MeshStandardMaterial as Ia, LineSegments as Ni, LineLoop as uc, Points as To, OrthographicCamera as dc, InterpolateDiscrete as hc, InterpolateLinear as La, FrontSide as fc, Interpolant as pc, Box3 as mc, Sphere as gc } from "three";
9
+ import { ScalePanel as yc } from "@toolmain/components";
10
+ import { ElDescriptions as vc, ElDescriptionsItem as bc, ElInput as wc } from "element-plus";
11
+ const fo = 2, _c = /* @__PURE__ */ pt({
12
12
  __name: "index",
13
13
  props: {
14
14
  position: { default: "top" },
@@ -16,7 +16,7 @@ const fo = 2, wc = /* @__PURE__ */ pt({
16
16
  offset: { default: 0 }
17
17
  },
18
18
  setup(c, { expose: e }) {
19
- const t = Wn("affix"), n = Wn("affixInner"), r = rn(), i = rn(), { width: s, height: l } = Mo(r), u = De(() => !!i.value), f = rn({}), m = rn({}), h = Mt({
19
+ const t = $n("affix"), n = $n("affixInner"), r = rn(), i = rn(), { width: s, height: l } = Mo(r), u = De(() => !!i.value), f = rn({}), m = rn({}), h = Mt({
20
20
  disableTeleport: !0,
21
21
  target: {
22
22
  isIntersecting: !1,
@@ -111,13 +111,13 @@ const fo = 2, wc = /* @__PURE__ */ pt({
111
111
  }
112
112
  }), (he, xe) => (me(), je("div", {
113
113
  class: Ao(["comp-affix", { fix: h.affix.needFloat }]),
114
- style: Yn(m.value),
114
+ style: Gn(m.value),
115
115
  ref: "affix"
116
116
  }, [
117
117
  ve("div", {
118
118
  ref_key: "affixInner",
119
119
  ref: n,
120
- style: Yn([f.value, m.value]),
120
+ style: Gn([f.value, m.value]),
121
121
  class: Ao(["comp-affix-inner", { fix: h.affix.needFloat }])
122
122
  }, [
123
123
  bn(he.$slots, "default", {}, void 0, !0)
@@ -129,7 +129,7 @@ const fo = 2, wc = /* @__PURE__ */ pt({
129
129
  for (const [n, r] of e)
130
130
  t[n] = r;
131
131
  return t;
132
- }, hf = /* @__PURE__ */ Ht(wc, [["__scopeId", "data-v-4c40ccd8"]]);
132
+ }, hf = /* @__PURE__ */ Ht(_c, [["__scopeId", "data-v-4c40ccd8"]]);
133
133
  function js() {
134
134
  return {
135
135
  x: 0,
@@ -152,7 +152,7 @@ function Ns() {
152
152
  bottom: 0
153
153
  };
154
154
  }
155
- const _c = () => {
155
+ const xc = () => {
156
156
  let c, e = Ns(), t = js(), n = !1, r = !1;
157
157
  const i = sn(), s = {
158
158
  emit: (b, ...x) => {
@@ -221,12 +221,12 @@ const _c = () => {
221
221
  enable: y
222
222
  };
223
223
  };
224
- function xc() {
224
+ function Tc() {
225
225
  const c = sn();
226
226
  let e = !1;
227
227
  const t = {
228
228
  direction: "any"
229
- }, n = _c(), r = (T) => {
229
+ }, n = xc(), r = (T) => {
230
230
  t.direction === "horizontal" ? (T.clientY = 0, T.y = 0) : t.direction === "vertical" && (T.clientX = 0, T.x = 0);
231
231
  };
232
232
  function i(T) {
@@ -281,7 +281,7 @@ function xc() {
281
281
  disable: x
282
282
  };
283
283
  }
284
- const Tc = ["onMousedown"], Sc = /* @__PURE__ */ pt({
284
+ const Sc = ["onMousedown"], Ec = /* @__PURE__ */ pt({
285
285
  __name: "resize",
286
286
  props: {
287
287
  config: {},
@@ -294,15 +294,15 @@ const Tc = ["onMousedown"], Sc = /* @__PURE__ */ pt({
294
294
  dc02cff8: t.value
295
295
  }));
296
296
  const e = c, t = De(() => e.config.normal ? void 0 : Il.ABSOLUTE);
297
- return (n, r) => n.scale ? (me(!0), je(Vn, { key: 0 }, nr(n.scale.pointer, (i) => Ro((me(), je("i", {
297
+ return (n, r) => n.scale ? (me(!0), je(On, { key: 0 }, tr(n.scale.pointer, (i) => Ro((me(), je("i", {
298
298
  key: i,
299
299
  class: Ao([`p-${i}`]),
300
300
  onMousedown: (s) => n.scale.onMouseDown(s, i)
301
- }, null, 42, Tc)), [
301
+ }, null, 42, Sc)), [
302
302
  [ko, n.config.scalable]
303
303
  ])), 128)) : Kt("", !0);
304
304
  }
305
- }), Ec = /* @__PURE__ */ Ht(Sc, [["__scopeId", "data-v-2dbd22ac"]]), po = (c) => {
305
+ }), Cc = /* @__PURE__ */ Ht(Ec, [["__scopeId", "data-v-2dbd22ac"]]), po = (c) => {
306
306
  if (!c) return {};
307
307
  const e = {};
308
308
  for (const [t, n] of Object.entries(c))
@@ -383,8 +383,8 @@ function Yi(c) {
383
383
  sets: t
384
384
  };
385
385
  }
386
- function Cc(c, e, t, n, r, i, s) {
387
- const { setNormal: l, setTranslate: u, setPrevTranslate: f } = Gi(n), { get: m, set: h } = Yi(r), y = wn(ki(m("position"))), b = ba(
386
+ function Pc(c, e, t, n, r, i, s) {
387
+ const { setNormal: l, setTranslate: u, setPrevTranslate: f } = Gi(n), { get: m, set: h } = Yi(r), y = or(ki(m("position"))), b = ba(
388
388
  async () => {
389
389
  c.value.autoStick && (typeof c.value.autoStick == "boolean" ? await t.value?.autoStick(!0) : await t.value?.stickTo(c.value.autoStick, !0));
390
390
  },
@@ -434,10 +434,10 @@ function Us(c, e) {
434
434
  return t ? window.getComputedStyle(t).getPropertyValue(e) : Xi(e, void 0);
435
435
  }
436
436
  var Da = /* @__PURE__ */ ((c) => (c.NORMAL = "NORMAL", c.HIDDEN = "HIDDEN", c))(Da || {}), So = /* @__PURE__ */ ((c) => (c.AFTER_SHOW = "after_show", c.AFTER_HIDE = "after_hide", c.AFTER_STICK = "after_stick", c))(So || {});
437
- const Pc = (c) => {
437
+ const Ac = (c) => {
438
438
  const { getTranslate: e, setTranslate: t, setScale: n, setPrevTranslate: r, getScale: i } = Gi(c.dragOffset);
439
439
  let s = c.parent;
440
- const l = Ll(), u = sn(), f = wn(
440
+ const l = Ll(), u = sn(), f = or(
441
441
  "NORMAL"
442
442
  /* NORMAL */
443
443
  ), m = {
@@ -669,7 +669,7 @@ const Pc = (c) => {
669
669
  };
670
670
  };
671
671
  var Ui = /* @__PURE__ */ ((c) => (c.SCALING = "scaling", c.AFTER_SCALE = "after_scale", c))(Ui || {});
672
- const Ac = (c) => {
672
+ const Rc = (c) => {
673
673
  const e = _o(c.config.value, "containerStyle"), { set: t, sets: n } = Yi(e), r = sn(), i = ["t", "r", "b", "l", "lt", "rt", "lb", "rb"];
674
674
  let s = "";
675
675
  const { x: l, y: u, width: f, height: m, update: h } = Mo(c.targetEle), y = {
@@ -738,7 +738,7 @@ const Ac = (c) => {
738
738
  on: M,
739
739
  dispose: K
740
740
  };
741
- }, Rc = /* @__PURE__ */ pt({
741
+ }, kc = /* @__PURE__ */ pt({
742
742
  __name: "index",
743
743
  props: {
744
744
  modelValue: {},
@@ -746,10 +746,10 @@ const Ac = (c) => {
746
746
  },
747
747
  emits: ["beforeMove", "moving", "afterMove", "scaling", "afterScale", "maskClick", "update:modelValue"],
748
748
  setup(c, { expose: e, emit: t }) {
749
- const n = t, r = c, i = wn(), s = De({
749
+ const n = t, r = c, i = or(), s = De({
750
750
  get: () => r.modelValue,
751
751
  set: ($) => n("update:modelValue", $)
752
- }), l = Wn("header"), u = Wn("scales"), f = Wn("drag"), m = rn(), h = _o(s.value, "containerStyle"), y = _o(s.value, "contentStyle"), b = _o(s.value, "headerStyle"), { get: x } = Yi(h), _ = Mt({
752
+ }), l = $n("header"), u = $n("scales"), f = $n("drag"), m = rn(), h = _o(s.value, "containerStyle"), y = _o(s.value, "contentStyle"), b = _o(s.value, "headerStyle"), { get: x } = Yi(h), _ = Mt({
753
753
  prevClientX: 0,
754
754
  prevClientY: 0,
755
755
  prevTranslateX: 0,
@@ -757,7 +757,7 @@ const Ac = (c) => {
757
757
  translateX: 0,
758
758
  translateY: 0,
759
759
  scale: [0, 0]
760
- }), { getScale: T, getTranslate: R, setTranslate: M, setPrevClientPos: K, getPrevClientPos: G, setPrevTranslate: X, getPrevTranslate: j } = Gi(_), Q = Ac({
760
+ }), { getScale: T, getTranslate: R, setTranslate: M, setPrevClientPos: K, getPrevClientPos: G, setPrevTranslate: X, getPrevTranslate: j } = Gi(_), Q = Rc({
761
761
  config: s,
762
762
  targetEle: f
763
763
  }), ae = De(() => ki(r.dragTarget)), he = De(() => !!s.value.header), xe = De(() => po(y.value)), ye = De(() => po(b.value)), H = De(() => po(h.value)), q = De(() => {
@@ -769,7 +769,7 @@ const Ac = (c) => {
769
769
  transformOrigin: `${qe(parseFloat((se + Pe(Ie) / 2).toFixed(2)))}
770
770
  ${qe(parseFloat((fe + Pe(Be) / 2).toFixed(2)))}`
771
771
  };
772
- }), st = De(() => po(s.value.maskStyle)), { autoStick: ke, onInit: Ne, onMovableChange: Oe, onNormalChange: Xe } = Cc(
772
+ }), st = De(() => po(s.value.maskStyle)), { autoStick: ke, onInit: Ne, onMovableChange: Oe, onNormalChange: Xe } = Pc(
773
773
  s,
774
774
  m,
775
775
  i,
@@ -779,7 +779,7 @@ const Ac = (c) => {
779
779
  l
780
780
  );
781
781
  function Se() {
782
- m.value = xc(), m.value.every("beforemove", ($) => {
782
+ m.value = Tc(), m.value.every("beforemove", ($) => {
783
783
  K($.clientX, $.clientY), n("beforeMove", Object.assign({}, $, R()));
784
784
  }), m.value.every("moving", ($) => {
785
785
  const { clientX: pe, clientY: se } = G(), { translateX: fe, translateY: Ie } = j();
@@ -799,7 +799,7 @@ const Ac = (c) => {
799
799
  });
800
800
  }
801
801
  function _t() {
802
- i.value = Pc({
802
+ i.value = Ac({
803
803
  config: s,
804
804
  targetEle: f,
805
805
  dragOffset: _
@@ -842,17 +842,17 @@ const Ac = (c) => {
842
842
  }), ($, pe) => (me(), je("div", {
843
843
  ref: "drag",
844
844
  class: "dragContainer",
845
- style: Yn([H.value, q.value])
845
+ style: Gn([H.value, q.value])
846
846
  }, [
847
847
  he.value ? (me(), je("div", {
848
848
  key: 0,
849
849
  ref: "header",
850
850
  class: "dragHeader",
851
- style: Yn(ye.value)
851
+ style: Gn(ye.value)
852
852
  }, [
853
853
  bn($.$slots, "header", {}, void 0, !0)
854
854
  ], 4)) : Kt("", !0),
855
- s.value.scalable ? (me(), We(Ec, {
855
+ s.value.scalable ? (me(), We(Cc, {
856
856
  key: 1,
857
857
  config: s.value,
858
858
  scale: rt(Q),
@@ -861,7 +861,7 @@ const Ac = (c) => {
861
861
  ve("div", {
862
862
  ref: "scales",
863
863
  class: "scaleContent",
864
- style: Yn(xe.value)
864
+ style: Gn(xe.value)
865
865
  }, [
866
866
  bn($.$slots, "default", {}, void 0, !0)
867
867
  ], 4),
@@ -872,16 +872,16 @@ const Ac = (c) => {
872
872
  s.value.mask ? (me(), je("div", {
873
873
  key: 0,
874
874
  class: "dragMask",
875
- style: Yn(st.value),
875
+ style: Gn(st.value),
876
876
  onClick: pe[0] || (pe[0] = (se) => n("maskClick"))
877
877
  }, null, 4)) : Kt("", !0)
878
878
  ], 8, ["disabled"]))
879
879
  ], 4));
880
880
  }
881
- }), ff = /* @__PURE__ */ Ht(Rc, [["__scopeId", "data-v-f5de5f52"]]), pf = /* @__PURE__ */ pt({
881
+ }), ff = /* @__PURE__ */ Ht(kc, [["__scopeId", "data-v-f5de5f52"]]), pf = /* @__PURE__ */ pt({
882
882
  __name: "index",
883
883
  setup(c) {
884
- return (e, t) => (me(), We(rt(jl), null, {
884
+ return (e, t) => (me(), We(rt(Nl), null, {
885
885
  default: N(({ Component: n }) => [
886
886
  C(Tl, {
887
887
  mode: "out-in",
@@ -896,7 +896,7 @@ const Ac = (c) => {
896
896
  _: 1
897
897
  }));
898
898
  }
899
- }), Oa = Nl("use-debugger", () => {
899
+ }), Oa = Ul("use-debugger", () => {
900
900
  const c = Mt([]);
901
901
  function e(t) {
902
902
  const n = c.find((r) => r.id === t.id);
@@ -907,45 +907,6 @@ const Ac = (c) => {
907
907
  addPanel: e
908
908
  };
909
909
  });
910
- function kc(c) {
911
- const e = wn({
912
- modelValue: !1,
913
- title: "",
914
- width: "50%",
915
- appendToBody: !0,
916
- destroyOnClose: !0,
917
- closeOnClickModal: !1,
918
- closeOnPressEscape: !1,
919
- lockScroll: !0,
920
- modal: !0,
921
- center: !1,
922
- draggable: !0,
923
- overflow: !0,
924
- showClose: !1
925
- });
926
- c && Object.assign(e.value, c);
927
- const t = wn({
928
- open: () => !0,
929
- opened: () => !0,
930
- close: () => !0,
931
- closed: () => !0,
932
- "update:modelValue": (i) => (e.value.modelValue = i, !0),
933
- openAutoFocus: () => !0,
934
- closeAutoFocus: () => !0
935
- });
936
- function n() {
937
- e.value.modelValue = !0;
938
- }
939
- function r() {
940
- e.value.modelValue = !1;
941
- }
942
- return {
943
- dlgProps: e,
944
- dlgEvent: t,
945
- open: n,
946
- close: r
947
- };
948
- }
949
910
  var ht = /* @__PURE__ */ ((c) => (c.init = "KEYBOARD:INIT", c.keydown = "KEYBOARD:KEYDOWN", c.keyup = "KEYBOARD:KEYUP", c.keyStatus = "KEYBOARD:KEYSTATUS", c.KeyWA = "KeyWA", c.KeyWD = "KeyWD", c.KeyAS = "KeyAS", c.KeySD = "KeySD", c.ShiftLeft = "ShiftLeft", c.Space = "Space", c.KeyW = "KeyW", c.KeyA = "KeyA", c.KeyS = "KeyS", c.KeyD = "KeyD", c.ArrowLeft = "ArrowLeft", c.ArrowRight = "ArrowRight", c.ArrowUp = "ArrowUp", c.ArrowDown = "ArrowDown", c))(ht || {});
950
911
  function Mc() {
951
912
  const c = sn();
@@ -977,7 +938,7 @@ function Mc() {
977
938
  dispose: l
978
939
  };
979
940
  }
980
- const Bs = { type: "change" }, qi = { type: "start" }, Va = { type: "end" }, mo = new Bl(), zs = new zl(), Ic = Math.cos(70 * mt.DEG2RAD), at = new oe(), Pt = 2 * Math.PI, Fe = {
941
+ const Bs = { type: "change" }, qi = { type: "start" }, Va = { type: "end" }, mo = new zl(), zs = new Kl(), Ic = Math.cos(70 * mt.DEG2RAD), at = new oe(), Pt = 2 * Math.PI, Fe = {
981
942
  NONE: -1,
982
943
  ROTATE: 0,
983
944
  DOLLY: 1,
@@ -995,7 +956,7 @@ class Lc extends wa {
995
956
  * @param {?HTMLDOMElement} domElement - The HTML element used for event listeners.
996
957
  */
997
958
  constructor(e, t = null) {
998
- super(e, t), this.state = Fe.NONE, this.target = new oe(), this.cursor = new oe(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: Zn.ROTATE, MIDDLE: Zn.DOLLY, RIGHT: Zn.PAN }, this.touches = { ONE: qn.ROTATE, TWO: qn.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new oe(), this._lastQuaternion = new Je(), this._lastTargetPosition = new oe(), this._quat = new Je().setFromUnitVectors(e.up, new oe(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Fs(), this._sphericalDelta = new Fs(), this._scale = 1, this._panOffset = new oe(), this._rotateStart = new St(), this._rotateEnd = new St(), this._rotateDelta = new St(), this._panStart = new St(), this._panEnd = new St(), this._panDelta = new St(), this._dollyStart = new St(), this._dollyEnd = new St(), this._dollyDelta = new St(), this._dollyDirection = new oe(), this._mouse = new St(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = Oc.bind(this), this._onPointerDown = Dc.bind(this), this._onPointerUp = Vc.bind(this), this._onContextMenu = Kc.bind(this), this._onMouseWheel = Nc.bind(this), this._onKeyDown = Uc.bind(this), this._onTouchStart = Bc.bind(this), this._onTouchMove = zc.bind(this), this._onMouseDown = Fc.bind(this), this._onMouseMove = jc.bind(this), this._interceptControlDown = Hc.bind(this), this._interceptControlUp = Xc.bind(this), this.domElement !== null && this.connect(this.domElement), this.update();
959
+ super(e, t), this.state = Fe.NONE, this.target = new oe(), this.cursor = new oe(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: Wn.ROTATE, MIDDLE: Wn.DOLLY, RIGHT: Wn.PAN }, this.touches = { ONE: Yn.ROTATE, TWO: Yn.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new oe(), this._lastQuaternion = new Je(), this._lastTargetPosition = new oe(), this._quat = new Je().setFromUnitVectors(e.up, new oe(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Fs(), this._sphericalDelta = new Fs(), this._scale = 1, this._panOffset = new oe(), this._rotateStart = new St(), this._rotateEnd = new St(), this._rotateDelta = new St(), this._panStart = new St(), this._panEnd = new St(), this._panDelta = new St(), this._dollyStart = new St(), this._dollyEnd = new St(), this._dollyDelta = new St(), this._dollyDirection = new oe(), this._mouse = new St(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = Oc.bind(this), this._onPointerDown = Dc.bind(this), this._onPointerUp = Vc.bind(this), this._onContextMenu = Kc.bind(this), this._onMouseWheel = Nc.bind(this), this._onKeyDown = Uc.bind(this), this._onTouchStart = Bc.bind(this), this._onTouchMove = zc.bind(this), this._onMouseDown = Fc.bind(this), this._onMouseMove = jc.bind(this), this._interceptControlDown = Hc.bind(this), this._interceptControlUp = Xc.bind(this), this.domElement !== null && this.connect(this.domElement), this.update();
999
960
  }
1000
961
  connect(e) {
1001
962
  super.connect(e), this.domElement.addEventListener("pointerdown", this._onPointerDown), this.domElement.addEventListener("pointercancel", this._onPointerUp), this.domElement.addEventListener("contextmenu", this._onContextMenu), this.domElement.addEventListener("wheel", this._onMouseWheel, { passive: !1 }), this.domElement.getRootNode().addEventListener("keydown", this._interceptControlDown, { passive: !0, capture: !0 }), this.domElement.style.touchAction = "none";
@@ -1316,11 +1277,11 @@ function Fc(c) {
1316
1277
  e = -1;
1317
1278
  }
1318
1279
  switch (e) {
1319
- case Zn.DOLLY:
1280
+ case Wn.DOLLY:
1320
1281
  if (this.enableZoom === !1) return;
1321
1282
  this._handleMouseDownDolly(c), this.state = Fe.DOLLY;
1322
1283
  break;
1323
- case Zn.ROTATE:
1284
+ case Wn.ROTATE:
1324
1285
  if (c.ctrlKey || c.metaKey || c.shiftKey) {
1325
1286
  if (this.enablePan === !1) return;
1326
1287
  this._handleMouseDownPan(c), this.state = Fe.PAN;
@@ -1329,7 +1290,7 @@ function Fc(c) {
1329
1290
  this._handleMouseDownRotate(c), this.state = Fe.ROTATE;
1330
1291
  }
1331
1292
  break;
1332
- case Zn.PAN:
1293
+ case Wn.PAN:
1333
1294
  if (c.ctrlKey || c.metaKey || c.shiftKey) {
1334
1295
  if (this.enableRotate === !1) return;
1335
1296
  this._handleMouseDownRotate(c), this.state = Fe.ROTATE;
@@ -1369,11 +1330,11 @@ function Bc(c) {
1369
1330
  switch (this._trackPointer(c), this._pointers.length) {
1370
1331
  case 1:
1371
1332
  switch (this.touches.ONE) {
1372
- case qn.ROTATE:
1333
+ case Yn.ROTATE:
1373
1334
  if (this.enableRotate === !1) return;
1374
1335
  this._handleTouchStartRotate(c), this.state = Fe.TOUCH_ROTATE;
1375
1336
  break;
1376
- case qn.PAN:
1337
+ case Yn.PAN:
1377
1338
  if (this.enablePan === !1) return;
1378
1339
  this._handleTouchStartPan(c), this.state = Fe.TOUCH_PAN;
1379
1340
  break;
@@ -1383,11 +1344,11 @@ function Bc(c) {
1383
1344
  break;
1384
1345
  case 2:
1385
1346
  switch (this.touches.TWO) {
1386
- case qn.DOLLY_PAN:
1347
+ case Yn.DOLLY_PAN:
1387
1348
  if (this.enableZoom === !1 && this.enablePan === !1) return;
1388
1349
  this._handleTouchStartDollyPan(c), this.state = Fe.TOUCH_DOLLY_PAN;
1389
1350
  break;
1390
- case qn.DOLLY_ROTATE:
1351
+ case Yn.DOLLY_ROTATE:
1391
1352
  if (this.enableZoom === !1 && this.enableRotate === !1) return;
1392
1353
  this._handleTouchStartDollyRotate(c), this.state = Fe.TOUCH_DOLLY_ROTATE;
1393
1354
  break;
@@ -1431,7 +1392,7 @@ function Hc(c) {
1431
1392
  function Xc(c) {
1432
1393
  c.key === "Control" && (this._controlActive = !1, this.domElement.getRootNode().removeEventListener("keyup", this._interceptControlUp, { passive: !0, capture: !0 }));
1433
1394
  }
1434
- const Mn = new Kl(), wt = new oe(), pn = new oe(), Ye = new Je(), Ks = {
1395
+ const kn = new Hl(), wt = new oe(), pn = new oe(), Ye = new Je(), Ks = {
1435
1396
  X: new oe(1, 0, 0),
1436
1397
  Y: new oe(0, 1, 0),
1437
1398
  Z: new oe(0, 0, 1)
@@ -1484,14 +1445,14 @@ class Gc extends wa {
1484
1445
  }
1485
1446
  pointerHover(e) {
1486
1447
  if (this.object === void 0 || this.dragging === !0) return;
1487
- e !== null && Mn.setFromCamera(e, this.camera);
1488
- const t = wi(this._gizmo.picker[this.mode], Mn);
1448
+ e !== null && kn.setFromCamera(e, this.camera);
1449
+ const t = wi(this._gizmo.picker[this.mode], kn);
1489
1450
  t ? this.axis = t.object.name : this.axis = null;
1490
1451
  }
1491
1452
  pointerDown(e) {
1492
1453
  if (!(this.object === void 0 || this.dragging === !0 || e != null && e.button !== 0) && this.axis !== null) {
1493
- e !== null && Mn.setFromCamera(e, this.camera);
1494
- const t = wi(this._plane, Mn, !0);
1454
+ e !== null && kn.setFromCamera(e, this.camera);
1455
+ const t = wi(this._plane, kn, !0);
1495
1456
  t && (this.object.updateMatrixWorld(), this.object.parent.updateMatrixWorld(), this._positionStart.copy(this.object.position), this._quaternionStart.copy(this.object.quaternion), this._scaleStart.copy(this.object.scale), this.object.matrixWorld.decompose(this.worldPositionStart, this.worldQuaternionStart, this._worldScaleStart), this.pointStart.copy(t.point).sub(this.worldPositionStart)), this.dragging = !0, Hs.mode = this.mode, this.dispatchEvent(Hs);
1496
1457
  }
1497
1458
  }
@@ -1499,8 +1460,8 @@ class Gc extends wa {
1499
1460
  const t = this.axis, n = this.mode, r = this.object;
1500
1461
  let i = this.space;
1501
1462
  if (n === "scale" ? i = "local" : (t === "E" || t === "XYZE" || t === "XYZ") && (i = "world"), r === void 0 || t === null || this.dragging === !1 || e !== null && e.button !== -1) return;
1502
- e !== null && Mn.setFromCamera(e, this.camera);
1503
- const s = wi(this._plane, Mn, !0);
1463
+ e !== null && kn.setFromCamera(e, this.camera);
1464
+ const s = wi(this._plane, kn, !0);
1504
1465
  if (s) {
1505
1466
  if (this.pointEnd.copy(s.point).sub(this.worldPositionStart), n === "translate")
1506
1467
  this._offset.copy(this.pointEnd).sub(this.pointStart), i === "local" && t !== "XYZ" && this._offset.applyQuaternion(this._worldQuaternionInv), t.indexOf("X") === -1 && (this._offset.x = 0), t.indexOf("Y") === -1 && (this._offset.y = 0), t.indexOf("Z") === -1 && (this._offset.z = 0), i === "local" && t !== "XYZ" ? this._offset.applyQuaternion(this._quaternionStart).divide(this._parentScale) : this._offset.applyQuaternion(this._parentQuaternionInv).divide(this._parentScale), r.position.copy(this._offset).add(this._positionStart), this.translationSnap && (i === "local" && (r.position.applyQuaternion(Ye.copy(this._quaternionStart).invert()), t.search("X") !== -1 && (r.position.x = Math.round(r.position.x / this.translationSnap) * this.translationSnap), t.search("Y") !== -1 && (r.position.y = Math.round(r.position.y / this.translationSnap) * this.translationSnap), t.search("Z") !== -1 && (r.position.z = Math.round(r.position.z / this.translationSnap) * this.translationSnap), r.position.applyQuaternion(this._quaternionStart)), i === "world" && (r.parent && r.position.add(wt.setFromMatrixPosition(r.parent.matrixWorld)), t.search("X") !== -1 && (r.position.x = Math.round(r.position.x / this.translationSnap) * this.translationSnap), t.search("Y") !== -1 && (r.position.y = Math.round(r.position.y / this.translationSnap) * this.translationSnap), t.search("Z") !== -1 && (r.position.z = Math.round(r.position.z / this.translationSnap) * this.translationSnap), r.parent && r.position.sub(wt.setFromMatrixPosition(r.parent.matrixWorld)))), r.position.x = Math.max(this.minX, Math.min(this.maxX, r.position.x)), r.position.y = Math.max(this.minY, Math.min(this.maxY, r.position.y)), r.position.z = Math.max(this.minZ, Math.min(this.maxZ, r.position.z));
@@ -1556,7 +1517,7 @@ class Gc extends wa {
1556
1517
  * @returns {Raycaster} The internal raycaster.
1557
1518
  */
1558
1519
  getRaycaster() {
1559
- return Mn;
1520
+ return kn;
1560
1521
  }
1561
1522
  /**
1562
1523
  * Returns the transformation mode.
@@ -1668,7 +1629,7 @@ function wi(c, e, t) {
1668
1629
  return n[r];
1669
1630
  return !1;
1670
1631
  }
1671
- const go = new yn(), Ue = new oe(0, 1, 0), Ys = new oe(0, 0, 0), qs = new Le(), yo = new Je(), Eo = new Je(), $t = new oe(), $s = new Le(), Cr = new oe(1, 0, 0), Ln = new oe(0, 1, 0), Pr = new oe(0, 0, 1), vo = new oe(), wr = new oe(), _r = new oe();
1632
+ const go = new yn(), Ue = new oe(0, 1, 0), Ys = new oe(0, 0, 0), qs = new Le(), yo = new Je(), Eo = new Je(), $t = new oe(), $s = new Le(), Cr = new oe(1, 0, 0), In = new oe(0, 1, 0), Pr = new oe(0, 0, 1), vo = new oe(), wr = new oe(), _r = new oe();
1672
1633
  class Qc extends Zt {
1673
1634
  constructor(e) {
1674
1635
  super(), this.isTransformControlsRoot = !0, this.controls = e, this.visible = !1;
@@ -1687,13 +1648,13 @@ class Qc extends Zt {
1687
1648
  class Jc extends Zt {
1688
1649
  constructor() {
1689
1650
  super(), this.isTransformControlsGizmo = !0, this.type = "TransformControlsGizmo";
1690
- const e = new On({
1651
+ const e = new Dn({
1691
1652
  depthTest: !1,
1692
1653
  depthWrite: !1,
1693
1654
  fog: !1,
1694
1655
  toneMapped: !1,
1695
1656
  transparent: !0
1696
- }), t = new Qn({
1657
+ }), t = new Zn({
1697
1658
  depthTest: !1,
1698
1659
  depthWrite: !1,
1699
1660
  fog: !1,
@@ -1842,7 +1803,7 @@ class Jc extends Zt {
1842
1803
  ]
1843
1804
  }, xe = {
1844
1805
  XYZE: [
1845
- [new le(new Hl(0.25, 10, 8), n)]
1806
+ [new le(new Xl(0.25, 10, 8), n)]
1846
1807
  ],
1847
1808
  X: [
1848
1809
  [new le(new br(0.5, 0.1, 4, 24), n), [0, 0, 0], [0, -Math.PI / 2, -Math.PI / 2]]
@@ -1944,10 +1905,10 @@ class Jc extends Zt {
1944
1905
  s.visible = !0, s.rotation.set(0, 0, 0), s.position.copy(this.worldPosition);
1945
1906
  let l;
1946
1907
  if (this.camera.isOrthographicCamera ? l = (this.camera.top - this.camera.bottom) / this.camera.zoom : l = this.worldPosition.distanceTo(this.cameraPosition) * Math.min(1.9 * Math.tan(Math.PI * this.camera.fov / 360) / this.camera.zoom, 7), s.scale.set(1, 1, 1).multiplyScalar(l * this.size / 4), s.tag === "helper") {
1947
- s.visible = !1, s.name === "AXIS" ? (s.visible = !!this.axis, this.axis === "X" && (Ye.setFromEuler(go.set(0, 0, 0)), s.quaternion.copy(n).multiply(Ye), Math.abs(Ue.copy(Cr).applyQuaternion(n).dot(this.eye)) > 0.9 && (s.visible = !1)), this.axis === "Y" && (Ye.setFromEuler(go.set(0, 0, Math.PI / 2)), s.quaternion.copy(n).multiply(Ye), Math.abs(Ue.copy(Ln).applyQuaternion(n).dot(this.eye)) > 0.9 && (s.visible = !1)), this.axis === "Z" && (Ye.setFromEuler(go.set(0, Math.PI / 2, 0)), s.quaternion.copy(n).multiply(Ye), Math.abs(Ue.copy(Pr).applyQuaternion(n).dot(this.eye)) > 0.9 && (s.visible = !1)), this.axis === "XYZE" && (Ye.setFromEuler(go.set(0, Math.PI / 2, 0)), Ue.copy(this.rotationAxis), s.quaternion.setFromRotationMatrix(qs.lookAt(Ys, Ue, Ln)), s.quaternion.multiply(Ye), s.visible = this.dragging), this.axis === "E" && (s.visible = !1)) : s.name === "START" ? (s.position.copy(this.worldPositionStart), s.visible = this.dragging) : s.name === "END" ? (s.position.copy(this.worldPosition), s.visible = this.dragging) : s.name === "DELTA" ? (s.position.copy(this.worldPositionStart), s.quaternion.copy(this.worldQuaternionStart), wt.set(1e-10, 1e-10, 1e-10).add(this.worldPositionStart).sub(this.worldPosition).multiplyScalar(-1), wt.applyQuaternion(this.worldQuaternionStart.clone().invert()), s.scale.copy(wt), s.visible = this.dragging) : (s.quaternion.copy(n), this.dragging ? s.position.copy(this.worldPositionStart) : s.position.copy(this.worldPosition), this.axis && (s.visible = this.axis.search(s.name) !== -1));
1908
+ s.visible = !1, s.name === "AXIS" ? (s.visible = !!this.axis, this.axis === "X" && (Ye.setFromEuler(go.set(0, 0, 0)), s.quaternion.copy(n).multiply(Ye), Math.abs(Ue.copy(Cr).applyQuaternion(n).dot(this.eye)) > 0.9 && (s.visible = !1)), this.axis === "Y" && (Ye.setFromEuler(go.set(0, 0, Math.PI / 2)), s.quaternion.copy(n).multiply(Ye), Math.abs(Ue.copy(In).applyQuaternion(n).dot(this.eye)) > 0.9 && (s.visible = !1)), this.axis === "Z" && (Ye.setFromEuler(go.set(0, Math.PI / 2, 0)), s.quaternion.copy(n).multiply(Ye), Math.abs(Ue.copy(Pr).applyQuaternion(n).dot(this.eye)) > 0.9 && (s.visible = !1)), this.axis === "XYZE" && (Ye.setFromEuler(go.set(0, Math.PI / 2, 0)), Ue.copy(this.rotationAxis), s.quaternion.setFromRotationMatrix(qs.lookAt(Ys, Ue, In)), s.quaternion.multiply(Ye), s.visible = this.dragging), this.axis === "E" && (s.visible = !1)) : s.name === "START" ? (s.position.copy(this.worldPositionStart), s.visible = this.dragging) : s.name === "END" ? (s.position.copy(this.worldPosition), s.visible = this.dragging) : s.name === "DELTA" ? (s.position.copy(this.worldPositionStart), s.quaternion.copy(this.worldQuaternionStart), wt.set(1e-10, 1e-10, 1e-10).add(this.worldPositionStart).sub(this.worldPosition).multiplyScalar(-1), wt.applyQuaternion(this.worldQuaternionStart.clone().invert()), s.scale.copy(wt), s.visible = this.dragging) : (s.quaternion.copy(n), this.dragging ? s.position.copy(this.worldPositionStart) : s.position.copy(this.worldPosition), this.axis && (s.visible = this.axis.search(s.name) !== -1));
1948
1909
  continue;
1949
1910
  }
1950
- s.quaternion.copy(n), this.mode === "translate" || this.mode === "scale" ? (s.name === "X" && Math.abs(Ue.copy(Cr).applyQuaternion(n).dot(this.eye)) > 0.99 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "Y" && Math.abs(Ue.copy(Ln).applyQuaternion(n).dot(this.eye)) > 0.99 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "Z" && Math.abs(Ue.copy(Pr).applyQuaternion(n).dot(this.eye)) > 0.99 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "XY" && Math.abs(Ue.copy(Pr).applyQuaternion(n).dot(this.eye)) < 0.2 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "YZ" && Math.abs(Ue.copy(Cr).applyQuaternion(n).dot(this.eye)) < 0.2 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "XZ" && Math.abs(Ue.copy(Ln).applyQuaternion(n).dot(this.eye)) < 0.2 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1)) : this.mode === "rotate" && (yo.copy(n), Ue.copy(this.eye).applyQuaternion(Ye.copy(n).invert()), s.name.search("E") !== -1 && s.quaternion.setFromRotationMatrix(qs.lookAt(this.eye, Ys, Ln)), s.name === "X" && (Ye.setFromAxisAngle(Cr, Math.atan2(-Ue.y, Ue.z)), Ye.multiplyQuaternions(yo, Ye), s.quaternion.copy(Ye)), s.name === "Y" && (Ye.setFromAxisAngle(Ln, Math.atan2(Ue.x, Ue.z)), Ye.multiplyQuaternions(yo, Ye), s.quaternion.copy(Ye)), s.name === "Z" && (Ye.setFromAxisAngle(Pr, Math.atan2(Ue.y, Ue.x)), Ye.multiplyQuaternions(yo, Ye), s.quaternion.copy(Ye))), s.visible = s.visible && (s.name.indexOf("X") === -1 || this.showX), s.visible = s.visible && (s.name.indexOf("Y") === -1 || this.showY), s.visible = s.visible && (s.name.indexOf("Z") === -1 || this.showZ), s.visible = s.visible && (s.name.indexOf("E") === -1 || this.showX && this.showY && this.showZ), s.material._color = s.material._color || s.material.color.clone(), s.material._opacity = s.material._opacity || s.material.opacity, s.material.color.copy(s.material._color), s.material.opacity = s.material._opacity, this.enabled && this.axis && (s.name === this.axis ? (s.material.color.copy(this.materialLib.active.color), s.material.opacity = 1) : this.axis.split("").some(function(u) {
1911
+ s.quaternion.copy(n), this.mode === "translate" || this.mode === "scale" ? (s.name === "X" && Math.abs(Ue.copy(Cr).applyQuaternion(n).dot(this.eye)) > 0.99 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "Y" && Math.abs(Ue.copy(In).applyQuaternion(n).dot(this.eye)) > 0.99 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "Z" && Math.abs(Ue.copy(Pr).applyQuaternion(n).dot(this.eye)) > 0.99 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "XY" && Math.abs(Ue.copy(Pr).applyQuaternion(n).dot(this.eye)) < 0.2 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "YZ" && Math.abs(Ue.copy(Cr).applyQuaternion(n).dot(this.eye)) < 0.2 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1), s.name === "XZ" && Math.abs(Ue.copy(In).applyQuaternion(n).dot(this.eye)) < 0.2 && (s.scale.set(1e-10, 1e-10, 1e-10), s.visible = !1)) : this.mode === "rotate" && (yo.copy(n), Ue.copy(this.eye).applyQuaternion(Ye.copy(n).invert()), s.name.search("E") !== -1 && s.quaternion.setFromRotationMatrix(qs.lookAt(this.eye, Ys, In)), s.name === "X" && (Ye.setFromAxisAngle(Cr, Math.atan2(-Ue.y, Ue.z)), Ye.multiplyQuaternions(yo, Ye), s.quaternion.copy(Ye)), s.name === "Y" && (Ye.setFromAxisAngle(In, Math.atan2(Ue.x, Ue.z)), Ye.multiplyQuaternions(yo, Ye), s.quaternion.copy(Ye)), s.name === "Z" && (Ye.setFromAxisAngle(Pr, Math.atan2(Ue.y, Ue.x)), Ye.multiplyQuaternions(yo, Ye), s.quaternion.copy(Ye))), s.visible = s.visible && (s.name.indexOf("X") === -1 || this.showX), s.visible = s.visible && (s.name.indexOf("Y") === -1 || this.showY), s.visible = s.visible && (s.name.indexOf("Z") === -1 || this.showZ), s.visible = s.visible && (s.name.indexOf("E") === -1 || this.showX && this.showY && this.showZ), s.material._color = s.material._color || s.material.color.clone(), s.material._opacity = s.material._opacity || s.material.opacity, s.material.color.copy(s.material._color), s.material.opacity = s.material._opacity, this.enabled && this.axis && (s.name === this.axis ? (s.material.color.copy(this.materialLib.active.color), s.material.opacity = 1) : this.axis.split("").some(function(u) {
1951
1912
  return s.name === u;
1952
1913
  }) && (s.material.color.copy(this.materialLib.active.color), s.material.opacity = 1));
1953
1914
  }
@@ -1957,13 +1918,13 @@ class Jc extends Zt {
1957
1918
  class eu extends le {
1958
1919
  constructor() {
1959
1920
  super(
1960
- new Xl(1e5, 1e5, 2, 2),
1961
- new On({ visible: !1, wireframe: !0, side: _a, transparent: !0, opacity: 0.1, toneMapped: !1 })
1921
+ new Gl(1e5, 1e5, 2, 2),
1922
+ new Dn({ visible: !1, wireframe: !0, side: _a, transparent: !0, opacity: 0.1, toneMapped: !1 })
1962
1923
  ), this.isTransformControlsPlane = !0, this.type = "TransformControlsPlane";
1963
1924
  }
1964
1925
  updateMatrixWorld(e) {
1965
1926
  let t = this.space;
1966
- switch (this.position.copy(this.worldPosition), this.mode === "scale" && (t = "local"), vo.copy(Cr).applyQuaternion(t === "local" ? this.worldQuaternion : Eo), wr.copy(Ln).applyQuaternion(t === "local" ? this.worldQuaternion : Eo), _r.copy(Pr).applyQuaternion(t === "local" ? this.worldQuaternion : Eo), Ue.copy(wr), this.mode) {
1927
+ switch (this.position.copy(this.worldPosition), this.mode === "scale" && (t = "local"), vo.copy(Cr).applyQuaternion(t === "local" ? this.worldQuaternion : Eo), wr.copy(In).applyQuaternion(t === "local" ? this.worldQuaternion : Eo), _r.copy(Pr).applyQuaternion(t === "local" ? this.worldQuaternion : Eo), Ue.copy(wr), this.mode) {
1967
1928
  case "translate":
1968
1929
  case "scale":
1969
1930
  switch (this.axis) {
@@ -2128,7 +2089,7 @@ function au(c, e, t, n, r) {
2128
2089
  const i = ou(c, e, t, n, r);
2129
2090
  return su(i);
2130
2091
  }
2131
- class lu extends Gl {
2092
+ class lu extends Yl {
2132
2093
  /**
2133
2094
  * Constructs a new NURBS curve.
2134
2095
  *
@@ -2183,7 +2144,7 @@ fflate - fast JavaScript compression/decompression
2183
2144
  Licensed under MIT. https://github.com/101arrowz/fflate/blob/master/LICENSE
2184
2145
  version 0.8.2
2185
2146
  */
2186
- var Ft = Uint8Array, $n = Uint16Array, cu = Int32Array, ja = new Ft([
2147
+ var Ft = Uint8Array, qn = Uint16Array, cu = Int32Array, ja = new Ft([
2187
2148
  0,
2188
2149
  0,
2189
2150
  0,
@@ -2253,7 +2214,7 @@ var Ft = Uint8Array, $n = Uint16Array, cu = Int32Array, ja = new Ft([
2253
2214
  0,
2254
2215
  0
2255
2216
  ]), uu = new Ft([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), Ua = function(c, e) {
2256
- for (var t = new $n(31), n = 0; n < 31; ++n)
2217
+ for (var t = new qn(31), n = 0; n < 31; ++n)
2257
2218
  t[n] = e += 1 << c[n - 1];
2258
2219
  for (var r = new cu(t[30]), n = 1; n < 30; ++n)
2259
2220
  for (var i = t[n]; i < t[n + 1]; ++i)
@@ -2261,27 +2222,27 @@ var Ft = Uint8Array, $n = Uint16Array, cu = Int32Array, ja = new Ft([
2261
2222
  return { b: t, r };
2262
2223
  }, Ba = Ua(ja, 2), za = Ba.b, du = Ba.r;
2263
2224
  za[28] = 258, du[258] = 28;
2264
- var hu = Ua(Na, 0), fu = hu.b, Bi = new $n(32768);
2225
+ var hu = Ua(Na, 0), fu = hu.b, Bi = new qn(32768);
2265
2226
  for (var He = 0; He < 32768; ++He) {
2266
2227
  var mn = (He & 43690) >> 1 | (He & 21845) << 1;
2267
2228
  mn = (mn & 52428) >> 2 | (mn & 13107) << 2, mn = (mn & 61680) >> 4 | (mn & 3855) << 4, Bi[He] = ((mn & 65280) >> 8 | (mn & 255) << 8) >> 1;
2268
2229
  }
2269
2230
  var kr = (function(c, e, t) {
2270
- for (var n = c.length, r = 0, i = new $n(e); r < n; ++r)
2231
+ for (var n = c.length, r = 0, i = new qn(e); r < n; ++r)
2271
2232
  c[r] && ++i[c[r] - 1];
2272
- var s = new $n(e);
2233
+ var s = new qn(e);
2273
2234
  for (r = 1; r < e; ++r)
2274
2235
  s[r] = s[r - 1] + i[r - 1] << 1;
2275
2236
  var l;
2276
2237
  if (t) {
2277
- l = new $n(1 << e);
2238
+ l = new qn(1 << e);
2278
2239
  var u = 15 - e;
2279
2240
  for (r = 0; r < n; ++r)
2280
2241
  if (c[r])
2281
2242
  for (var f = r << 4 | c[r], m = e - c[r], h = s[c[r] - 1]++ << m, y = h | (1 << m) - 1; h <= y; ++h)
2282
2243
  l[Bi[h] >> u] = f;
2283
2244
  } else
2284
- for (l = new $n(n), r = 0; r < n; ++r)
2245
+ for (l = new qn(n), r = 0; r < n; ++r)
2285
2246
  c[r] && (l[r] = Bi[s[c[r] - 1]++] >> 15 - c[r]);
2286
2247
  return l;
2287
2248
  }), Fr = new Ft(288);
@@ -2510,7 +2471,7 @@ class $i extends bt {
2510
2471
  }
2511
2472
  }
2512
2473
  function Ws(c, e) {
2513
- if (e === Yl)
2474
+ if (e === ql)
2514
2475
  return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."), c;
2515
2476
  if (e === Mi || e === xa) {
2516
2477
  let t = c.getIndex();
@@ -2537,7 +2498,7 @@ function Ws(c, e) {
2537
2498
  return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:", e), c;
2538
2499
  }
2539
2500
  const Ti = /* @__PURE__ */ new WeakMap();
2540
- class Eu extends rr {
2501
+ class Eu extends nr {
2541
2502
  /**
2542
2503
  * Constructs a new Draco loader.
2543
2504
  *
@@ -2594,7 +2555,7 @@ class Eu extends rr {
2594
2555
  * @param {onErrorCallback} onError - Executed when errors occur.
2595
2556
  */
2596
2557
  load(e, t, n, r) {
2597
- const i = new or(this.manager);
2558
+ const i = new rr(this.manager);
2598
2559
  i.setPath(this.path), i.setResponseType("arraybuffer"), i.setRequestHeader(this.requestHeader), i.setWithCredentials(this.withCredentials), i.load(e, (s) => {
2599
2560
  this.parse(s, t, r);
2600
2561
  }, n, r);
@@ -2659,7 +2620,7 @@ class Eu extends rr {
2659
2620
  n.fromBufferAttribute(e, r), zt.colorSpaceToWorking(n, Qe), e.setXYZ(r, n.r, n.g, n.b);
2660
2621
  }
2661
2622
  _loadLibrary(e, t) {
2662
- const n = new or(this.manager);
2623
+ const n = new rr(this.manager);
2663
2624
  return n.setPath(this.decoderPath), n.setResponseType(t), n.setWithCredentials(this.withCredentials), new Promise((r, i) => {
2664
2625
  n.load(e, r, void 0, i);
2665
2626
  });
@@ -2812,7 +2773,7 @@ function Cu() {
2812
2773
  }
2813
2774
  }
2814
2775
  let Te, ot, Tt;
2815
- class Pu extends rr {
2776
+ class Pu extends nr {
2816
2777
  /**
2817
2778
  * Constructs a new FBX loader.
2818
2779
  *
@@ -2831,7 +2792,7 @@ class Pu extends rr {
2831
2792
  * @param {onErrorCallback} onError - Executed when errors occur.
2832
2793
  */
2833
2794
  load(e, t, n, r) {
2834
- const i = this, s = i.path === "" ? Jn.extractUrlBase(e) : i.path, l = new or(this.manager);
2795
+ const i = this, s = i.path === "" ? Qn.extractUrlBase(e) : i.path, l = new rr(this.manager);
2835
2796
  l.setPath(i.path), l.setResponseType("arraybuffer"), l.setRequestHeader(i.requestHeader), l.setWithCredentials(i.withCredentials), l.load(e, function(u) {
2836
2797
  try {
2837
2798
  t(i.parse(u, s));
@@ -3018,7 +2979,7 @@ class Au {
3018
2979
  l = new Sr();
3019
2980
  break;
3020
2981
  case "lambert":
3021
- l = new ql();
2982
+ l = new $l();
3022
2983
  break;
3023
2984
  default:
3024
2985
  console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', i), l = new Sr();
@@ -3056,7 +3017,7 @@ class Au {
3056
3017
  r.normalMap = i.getTexture(t, s.ID);
3057
3018
  break;
3058
3019
  case "ReflectionColor":
3059
- r.envMap = i.getTexture(t, s.ID), r.envMap !== void 0 && (r.envMap.mapping = $l, r.envMap.colorSpace = Qe);
3020
+ r.envMap = i.getTexture(t, s.ID), r.envMap !== void 0 && (r.envMap.mapping = Wl, r.envMap.colorSpace = Qe);
3060
3021
  break;
3061
3022
  case "SpecularColor":
3062
3023
  r.specularMap = i.getTexture(t, s.ID), r.specularMap !== void 0 && (r.specularMap.colorSpace = Qe);
@@ -3148,7 +3109,7 @@ class Au {
3148
3109
  }
3149
3110
  // create the main Group() to be returned by the loader
3150
3111
  parseScene(e, t, n) {
3151
- Tt = new er();
3112
+ Tt = new Jn();
3152
3113
  const r = this.parseModels(e.skeletons, t, n), i = Te.Objects.Model, s = this;
3153
3114
  r.forEach(function(u) {
3154
3115
  const f = i[u.ID];
@@ -3192,7 +3153,7 @@ class Au {
3192
3153
  break;
3193
3154
  case "Null":
3194
3155
  default:
3195
- m = new er();
3156
+ m = new Jn();
3196
3157
  break;
3197
3158
  }
3198
3159
  m.name = u.attrName ? Or.sanitizeNodeName(u.attrName) : "", m.userData.originalName = u.attrName, m.ID = l;
@@ -3295,7 +3256,7 @@ class Au {
3295
3256
  if (e.children.forEach(function(u) {
3296
3257
  t.has(u.ID) && (i = t.get(u.ID)), n.has(u.ID) && l.push(n.get(u.ID));
3297
3258
  }), l.length > 1 ? s = l : l.length > 0 ? s = l[0] : (s = new Sr({
3298
- name: rr.DEFAULT_MATERIAL_NAME,
3259
+ name: nr.DEFAULT_MATERIAL_NAME,
3299
3260
  color: 13421772
3300
3261
  }), l.push(s)), "color" in i.attributes && l.forEach(function(u) {
3301
3262
  u.vertexColors = !0;
@@ -3315,8 +3276,8 @@ class Au {
3315
3276
  createCurve(e, t) {
3316
3277
  const n = e.children.reduce(function(i, s) {
3317
3278
  return t.has(s.ID) && (i = t.get(s.ID)), i;
3318
- }, null), r = new Qn({
3319
- name: rr.DEFAULT_MATERIAL_NAME,
3279
+ }, null), r = new Zn({
3280
+ name: nr.DEFAULT_MATERIAL_NAME,
3320
3281
  color: 3342591,
3321
3282
  linewidth: 1
3322
3283
  });
@@ -3372,7 +3333,7 @@ class Au {
3372
3333
  const e = Te.GlobalSettings.AmbientColor.value, t = e[0], n = e[1], r = e[2];
3373
3334
  if (t !== 0 || n !== 0 || r !== 0) {
3374
3335
  const i = new ft().setRGB(t, n, r, Qe);
3375
- Tt.add(new Wl(i, 1));
3336
+ Tt.add(new Zl(i, 1));
3376
3337
  }
3377
3338
  }
3378
3339
  "UnitScaleFactor" in Te.GlobalSettings && (Tt.userData.unitScaleFactor = Te.GlobalSettings.UnitScaleFactor.value);
@@ -3426,8 +3387,8 @@ class Ru {
3426
3387
  const i = new on();
3427
3388
  e.attrName && (i.name = e.attrName);
3428
3389
  const s = this.parseGeoNode(e, t), l = this.genBuffers(s), u = new At(l.vertex, 3);
3429
- if (u.applyMatrix4(r), i.setAttribute("position", u), l.colors.length > 0 && i.setAttribute("color", new At(l.colors, 3)), t && (i.setAttribute("skinIndex", new Zl(l.weightsIndices, 4)), i.setAttribute("skinWeight", new At(l.vertexWeights, 4)), i.FBX_Deformer = t), l.normal.length > 0) {
3430
- const f = new Ql().getNormalMatrix(r), m = new At(l.normal, 3);
3390
+ if (u.applyMatrix4(r), i.setAttribute("position", u), l.colors.length > 0 && i.setAttribute("color", new At(l.colors, 3)), t && (i.setAttribute("skinIndex", new Ql(l.weightsIndices, 4)), i.setAttribute("skinWeight", new At(l.vertexWeights, 4)), i.FBX_Deformer = t), l.normal.length > 0) {
3391
+ const f = new Jl().getNormalMatrix(r), m = new At(l.normal, 3);
3431
3392
  m.applyNormalMatrix(f), i.setAttribute("normal", m);
3432
3393
  }
3433
3394
  if (l.uvs.forEach(function(f, m) {
@@ -3553,7 +3514,7 @@ class Ru {
3553
3514
  const { tangent: x, bitangent: _ } = this.getNormalTangentAndBitangent(y), T = [];
3554
3515
  for (const R of y)
3555
3516
  T.push(this.flattenVertex(R, x, _));
3556
- h = Jl.triangulateShape(T, []);
3517
+ h = ec.triangulateShape(T, []);
3557
3518
  } else
3558
3519
  h = [[0, 1, 2]];
3559
3520
  for (const [y, b, x] of h)
@@ -4295,10 +4256,10 @@ function bo(c, e, t, n) {
4295
4256
  const i = r * n.dataSize, s = i + n.dataSize;
4296
4257
  return ju(Vu, n.buffer, i, s);
4297
4258
  }
4298
- const Si = new yn(), Xn = new oe();
4259
+ const Si = new yn(), Hn = new oe();
4299
4260
  function Xa(c) {
4300
4261
  const e = new Le(), t = new Le(), n = new Le(), r = new Le(), i = new Le(), s = new Le(), l = new Le(), u = new Le(), f = new Le(), m = new Le(), h = new Le(), y = new Le(), b = c.inheritType ? c.inheritType : 0;
4301
- c.translation && e.setPosition(Xn.fromArray(c.translation));
4262
+ c.translation && e.setPosition(Hn.fromArray(c.translation));
4302
4263
  const x = Vr(0);
4303
4264
  if (c.preRotation) {
4304
4265
  const ye = c.preRotation.map(mt.degToRad);
@@ -4312,7 +4273,7 @@ function Xa(c) {
4312
4273
  const ye = c.postRotation.map(mt.degToRad);
4313
4274
  ye.push(x), r.makeRotationFromEuler(Si.fromArray(ye)), r.invert();
4314
4275
  }
4315
- c.scale && i.scale(Xn.fromArray(c.scale)), c.scalingOffset && l.setPosition(Xn.fromArray(c.scalingOffset)), c.scalingPivot && s.setPosition(Xn.fromArray(c.scalingPivot)), c.rotationOffset && u.setPosition(Xn.fromArray(c.rotationOffset)), c.rotationPivot && f.setPosition(Xn.fromArray(c.rotationPivot)), c.parentMatrixWorld && (h.copy(c.parentMatrix), m.copy(c.parentMatrixWorld));
4276
+ c.scale && i.scale(Hn.fromArray(c.scale)), c.scalingOffset && l.setPosition(Hn.fromArray(c.scalingOffset)), c.scalingPivot && s.setPosition(Hn.fromArray(c.scalingPivot)), c.rotationOffset && u.setPosition(Hn.fromArray(c.rotationOffset)), c.rotationPivot && f.setPosition(Hn.fromArray(c.rotationPivot)), c.parentMatrixWorld && (h.copy(c.parentMatrix), m.copy(c.parentMatrixWorld));
4316
4277
  const _ = t.clone().multiply(n).multiply(r), T = new Le();
4317
4278
  T.extractRotation(m);
4318
4279
  const R = new Le();
@@ -4367,7 +4328,7 @@ function ju(c, e, t, n) {
4367
4328
  c[i] = e[r];
4368
4329
  return c;
4369
4330
  }
4370
- class Nu extends rr {
4331
+ class Nu extends nr {
4371
4332
  /**
4372
4333
  * Constructs a new glTF loader.
4373
4334
  *
@@ -4425,14 +4386,14 @@ class Nu extends rr {
4425
4386
  if (this.resourcePath !== "")
4426
4387
  s = this.resourcePath;
4427
4388
  else if (this.path !== "") {
4428
- const f = Jn.extractUrlBase(e);
4429
- s = Jn.resolveURL(f, this.path);
4389
+ const f = Qn.extractUrlBase(e);
4390
+ s = Qn.resolveURL(f, this.path);
4430
4391
  } else
4431
- s = Jn.extractUrlBase(e);
4392
+ s = Qn.extractUrlBase(e);
4432
4393
  this.manager.itemStart(e);
4433
4394
  const l = function(f) {
4434
4395
  r ? r(f) : console.error(f), i.manager.itemError(e), i.manager.itemEnd(e);
4435
- }, u = new or(this.manager);
4396
+ }, u = new rr(this.manager);
4436
4397
  u.setPath(this.path), u.setResponseType("arraybuffer"), u.setRequestHeader(this.requestHeader), u.setWithCredentials(this.withCredentials), u.load(e, function(f) {
4437
4398
  try {
4438
4399
  i.parse(f, s, function(m) {
@@ -4665,7 +4626,7 @@ class zu {
4665
4626
  this.name = Ee.KHR_MATERIALS_UNLIT;
4666
4627
  }
4667
4628
  getMaterialType() {
4668
- return On;
4629
+ return Dn;
4669
4630
  }
4670
4631
  extendParams(e, t, n) {
4671
4632
  const r = [];
@@ -4962,13 +4923,13 @@ class od {
4962
4923
  return l.length < 1 ? null : (l.push(this.parser.createNodeMesh(e)), Promise.all(l).then((f) => {
4963
4924
  const m = f.pop(), h = m.isGroup ? m.children : [m], y = f[0].count, b = [];
4964
4925
  for (const x of h) {
4965
- const _ = new Le(), T = new oe(), R = new Je(), M = new oe(1, 1, 1), K = new ec(x.geometry, x.material, y);
4926
+ const _ = new Le(), T = new oe(), R = new Je(), M = new oe(1, 1, 1), K = new tc(x.geometry, x.material, y);
4966
4927
  for (let G = 0; G < y; G++)
4967
4928
  u.TRANSLATION && T.fromBufferAttribute(u.TRANSLATION, G), u.ROTATION && R.fromBufferAttribute(u.ROTATION, G), u.SCALE && M.fromBufferAttribute(u.SCALE, G), K.setMatrixAt(G, _.compose(T, R, M));
4968
4929
  for (const G in u)
4969
4930
  if (G === "_COLOR_0") {
4970
4931
  const X = u[G];
4971
- K.instanceColor = new tc(X.array, X.itemSize, X.normalized);
4932
+ K.instanceColor = new nc(X.array, X.itemSize, X.normalized);
4972
4933
  } else G !== "TRANSLATION" && G !== "ROTATION" && G !== "SCALE" && x.geometry.setAttribute(G, u[G]);
4973
4934
  Zt.prototype.copy.call(K, x), this.parser.assignFinalMaterial(K), b.push(K);
4974
4935
  }
@@ -5023,7 +4984,7 @@ class sd {
5023
4984
  for (const m in e.attributes) {
5024
4985
  const h = zi[m] || m.toLowerCase();
5025
4986
  if (s[m] !== void 0) {
5026
- const y = n.accessors[e.attributes[m]], b = tr[y.componentType];
4987
+ const y = n.accessors[e.attributes[m]], b = er[y.componentType];
5027
4988
  f[h] = b.name, u[h] = y.normalized === !0;
5028
4989
  }
5029
4990
  }
@@ -5053,7 +5014,7 @@ class ld {
5053
5014
  this.name = Ee.KHR_MESH_QUANTIZATION;
5054
5015
  }
5055
5016
  }
5056
- class qa extends fc {
5017
+ class qa extends pc {
5057
5018
  constructor(e, t, n, r) {
5058
5019
  super(e, t, n, r);
5059
5020
  }
@@ -5087,7 +5048,7 @@ const Ot = {
5087
5048
  TRIANGLES: 4,
5088
5049
  TRIANGLE_STRIP: 5,
5089
5050
  TRIANGLE_FAN: 6
5090
- }, tr = {
5051
+ }, er = {
5091
5052
  5120: Int8Array,
5092
5053
  5121: Uint8Array,
5093
5054
  5122: Int16Array,
@@ -5097,13 +5058,13 @@ const Ot = {
5097
5058
  }, ea = {
5098
5059
  9728: Ma,
5099
5060
  9729: ji,
5100
- 9984: ac,
5101
- 9985: sc,
5102
- 9986: ic,
5061
+ 9984: lc,
5062
+ 9985: ac,
5063
+ 9986: sc,
5103
5064
  9987: ka
5104
5065
  }, ta = {
5105
5066
  33071: Ii,
5106
- 33648: lc,
5067
+ 33648: cc,
5107
5068
  10497: Dr
5108
5069
  }, Ci = {
5109
5070
  SCALAR: 1,
@@ -5134,7 +5095,7 @@ const Ot = {
5134
5095
  // We use a custom interpolant (GLTFCubicSplineInterpolation) for CUBICSPLINE tracks. Each
5135
5096
  // keyframe track will be initialized with a default interpolation type, then modified.
5136
5097
  LINEAR: La,
5137
- STEP: dc
5098
+ STEP: hc
5138
5099
  }, Pi = {
5139
5100
  OPAQUE: "OPAQUE",
5140
5101
  MASK: "MASK",
@@ -5148,10 +5109,10 @@ function hd(c) {
5148
5109
  roughness: 1,
5149
5110
  transparent: !1,
5150
5111
  depthTest: !0,
5151
- side: hc
5112
+ side: fc
5152
5113
  })), c.DefaultMaterial;
5153
5114
  }
5154
- function In(c, e, t) {
5115
+ function Mn(c, e, t) {
5155
5116
  for (const n in t.extensions)
5156
5117
  c[n] === void 0 && (e.userData.gltfExtensions = e.userData.gltfExtensions || {}, e.userData.gltfExtensions[n] = t.extensions[n]);
5157
5118
  }
@@ -5247,7 +5208,7 @@ class vd {
5247
5208
  const u = l.match(/Version\/(\d+)/);
5248
5209
  r = n && u ? parseInt(u[1], 10) : -1, i = l.indexOf("Firefox") > -1, s = i ? l.match(/Firefox\/([0-9]+)\./)[1] : -1;
5249
5210
  }
5250
- typeof createImageBitmap > "u" || n && r < 17 || i && s < 98 ? this.textureLoader = new Ta(this.options.manager) : this.textureLoader = new nc(this.options.manager), this.textureLoader.setCrossOrigin(this.options.crossOrigin), this.textureLoader.setRequestHeader(this.options.requestHeader), this.fileLoader = new or(this.options.manager), this.fileLoader.setResponseType("arraybuffer"), this.options.crossOrigin === "use-credentials" && this.fileLoader.setWithCredentials(!0);
5211
+ typeof createImageBitmap > "u" || n && r < 17 || i && s < 98 ? this.textureLoader = new Ta(this.options.manager) : this.textureLoader = new rc(this.options.manager), this.textureLoader.setCrossOrigin(this.options.crossOrigin), this.textureLoader.setRequestHeader(this.options.requestHeader), this.fileLoader = new rr(this.options.manager), this.fileLoader.setResponseType("arraybuffer"), this.options.crossOrigin === "use-credentials" && this.fileLoader.setWithCredentials(!0);
5251
5212
  }
5252
5213
  setExtensions(e) {
5253
5214
  this.extensions = e;
@@ -5277,7 +5238,7 @@ class vd {
5277
5238
  parser: n,
5278
5239
  userData: {}
5279
5240
  };
5280
- return In(i, l, r), nn(l, r), Promise.all(n._invokeAll(function(u) {
5241
+ return Mn(i, l, r), nn(l, r), Promise.all(n._invokeAll(function(u) {
5281
5242
  return u.afterRoot && u.afterRoot(l);
5282
5243
  })).then(function() {
5283
5244
  for (const u of l.scenes)
@@ -5458,7 +5419,7 @@ class vd {
5458
5419
  return Promise.resolve(this.extensions[Ee.KHR_BINARY_GLTF].body);
5459
5420
  const r = this.options;
5460
5421
  return new Promise(function(i, s) {
5461
- n.load(Jn.resolveURL(t.uri, r.path), i, void 0, function() {
5422
+ n.load(Qn.resolveURL(t.uri, r.path), i, void 0, function() {
5462
5423
  s(new Error('THREE.GLTFLoader: Failed to load buffer "' + t.uri + '".'));
5463
5424
  });
5464
5425
  });
@@ -5487,21 +5448,21 @@ class vd {
5487
5448
  loadAccessor(e) {
5488
5449
  const t = this, n = this.json, r = this.json.accessors[e];
5489
5450
  if (r.bufferView === void 0 && r.sparse === void 0) {
5490
- const s = Ci[r.type], l = tr[r.componentType], u = r.normalized === !0, f = new l(r.count * s);
5451
+ const s = Ci[r.type], l = er[r.componentType], u = r.normalized === !0, f = new l(r.count * s);
5491
5452
  return Promise.resolve(new Ar(f, s, u));
5492
5453
  }
5493
5454
  const i = [];
5494
5455
  return r.bufferView !== void 0 ? i.push(this.getDependency("bufferView", r.bufferView)) : i.push(null), r.sparse !== void 0 && (i.push(this.getDependency("bufferView", r.sparse.indices.bufferView)), i.push(this.getDependency("bufferView", r.sparse.values.bufferView))), Promise.all(i).then(function(s) {
5495
- const l = s[0], u = Ci[r.type], f = tr[r.componentType], m = f.BYTES_PER_ELEMENT, h = m * u, y = r.byteOffset || 0, b = r.bufferView !== void 0 ? n.bufferViews[r.bufferView].byteStride : void 0, x = r.normalized === !0;
5456
+ const l = s[0], u = Ci[r.type], f = er[r.componentType], m = f.BYTES_PER_ELEMENT, h = m * u, y = r.byteOffset || 0, b = r.bufferView !== void 0 ? n.bufferViews[r.bufferView].byteStride : void 0, x = r.normalized === !0;
5496
5457
  let _, T;
5497
5458
  if (b && b !== h) {
5498
5459
  const R = Math.floor(y / b), M = "InterleavedBuffer:" + r.bufferView + ":" + r.componentType + ":" + R + ":" + r.count;
5499
5460
  let K = t.cache.get(M);
5500
- K || (_ = new f(l, R * b, r.count * b / m), K = new rc(_, b / m), t.cache.add(M, K)), T = new oc(K, u, y % b / m, x);
5461
+ K || (_ = new f(l, R * b, r.count * b / m), K = new oc(_, b / m), t.cache.add(M, K)), T = new ic(K, u, y % b / m, x);
5501
5462
  } else
5502
5463
  l === null ? _ = new f(r.count * u) : _ = new f(l, y, r.count * u), T = new Ar(_, u, x);
5503
5464
  if (r.sparse !== void 0) {
5504
- const R = Ci.SCALAR, M = tr[r.sparse.indices.componentType], K = r.sparse.indices.byteOffset || 0, G = r.sparse.values.byteOffset || 0, X = new M(s[1], K, r.sparse.count * R), j = new f(s[2], G, r.sparse.count * u);
5465
+ const R = Ci.SCALAR, M = er[r.sparse.indices.componentType], K = r.sparse.indices.byteOffset || 0, G = r.sparse.values.byteOffset || 0, X = new M(s[1], K, r.sparse.count * R), j = new f(s[2], G, r.sparse.count * u);
5505
5466
  l !== null && (T = new Ar(T.array.slice(), T.itemSize, T.normalized)), T.normalized = !1;
5506
5467
  for (let Q = 0, ae = X.length; Q < ae; Q++) {
5507
5468
  const he = X[Q];
@@ -5561,7 +5522,7 @@ class vd {
5561
5522
  t.isImageBitmapLoader === !0 && (x = function(_) {
5562
5523
  const T = new Li(_);
5563
5524
  T.needsUpdate = !0, y(T);
5564
- }), t.load(Jn.resolveURL(h, i.path), x, void 0, b);
5525
+ }), t.load(Qn.resolveURL(h, i.path), x, void 0, b);
5565
5526
  });
5566
5527
  }).then(function(h) {
5567
5528
  return f === !0 && l.revokeObjectURL(u), nn(h, s), h.userData.mimeType = s.mimeType || gd(s.uri), h;
@@ -5615,7 +5576,7 @@ class vd {
5615
5576
  } else if (e.isLine) {
5616
5577
  const l = "LineBasicMaterial:" + n.uuid;
5617
5578
  let u = this.cache.get(l);
5618
- u || (u = new Qn(), Rr.prototype.copy.call(u, n), u.color.copy(n.color), u.map = n.map, this.cache.add(l, u)), n = u;
5579
+ u || (u = new Zn(), Rr.prototype.copy.call(u, n), u.color.copy(n.color), u.map = n.map, this.cache.add(l, u)), n = u;
5619
5580
  }
5620
5581
  if (r || i || s) {
5621
5582
  let l = "ClonedMaterial:" + n.uuid + ":";
@@ -5656,17 +5617,17 @@ class vd {
5656
5617
  }
5657
5618
  i.doubleSided === !0 && (l.side = _a);
5658
5619
  const m = i.alphaMode || Pi.OPAQUE;
5659
- if (m === Pi.BLEND ? (l.transparent = !0, l.depthWrite = !1) : (l.transparent = !1, m === Pi.MASK && (l.alphaTest = i.alphaCutoff !== void 0 ? i.alphaCutoff : 0.5)), i.normalTexture !== void 0 && s !== On && (f.push(t.assignTexture(l, "normalMap", i.normalTexture)), l.normalScale = new St(1, 1), i.normalTexture.scale !== void 0)) {
5620
+ if (m === Pi.BLEND ? (l.transparent = !0, l.depthWrite = !1) : (l.transparent = !1, m === Pi.MASK && (l.alphaTest = i.alphaCutoff !== void 0 ? i.alphaCutoff : 0.5)), i.normalTexture !== void 0 && s !== Dn && (f.push(t.assignTexture(l, "normalMap", i.normalTexture)), l.normalScale = new St(1, 1), i.normalTexture.scale !== void 0)) {
5660
5621
  const h = i.normalTexture.scale;
5661
5622
  l.normalScale.set(h, h);
5662
5623
  }
5663
- if (i.occlusionTexture !== void 0 && s !== On && (f.push(t.assignTexture(l, "aoMap", i.occlusionTexture)), i.occlusionTexture.strength !== void 0 && (l.aoMapIntensity = i.occlusionTexture.strength)), i.emissiveFactor !== void 0 && s !== On) {
5624
+ if (i.occlusionTexture !== void 0 && s !== Dn && (f.push(t.assignTexture(l, "aoMap", i.occlusionTexture)), i.occlusionTexture.strength !== void 0 && (l.aoMapIntensity = i.occlusionTexture.strength)), i.emissiveFactor !== void 0 && s !== Dn) {
5664
5625
  const h = i.emissiveFactor;
5665
5626
  l.emissive = new ft().setRGB(h[0], h[1], h[2], Qt);
5666
5627
  }
5667
- return i.emissiveTexture !== void 0 && s !== On && f.push(t.assignTexture(l, "emissiveMap", i.emissiveTexture, Qe)), Promise.all(f).then(function() {
5628
+ return i.emissiveTexture !== void 0 && s !== Dn && f.push(t.assignTexture(l, "emissiveMap", i.emissiveTexture, Qe)), Promise.all(f).then(function() {
5668
5629
  const h = new s(l);
5669
- return i.name && (h.name = i.name), nn(h, i), t.associations.set(h, { materials: e }), i.extensions && In(r, h, i), h;
5630
+ return i.name && (h.name = i.name), nn(h, i), t.associations.set(h, { materials: e }), i.extensions && Mn(r, h, i), h;
5670
5631
  });
5671
5632
  }
5672
5633
  /**
@@ -5734,12 +5695,12 @@ class vd {
5734
5695
  else if (T.mode === Ot.LINE_STRIP)
5735
5696
  R = new Wt(_, M);
5736
5697
  else if (T.mode === Ot.LINE_LOOP)
5737
- R = new cc(_, M);
5698
+ R = new uc(_, M);
5738
5699
  else if (T.mode === Ot.POINTS)
5739
5700
  R = new To(_, M);
5740
5701
  else
5741
5702
  throw new Error("THREE.GLTFLoader: Primitive mode unsupported: " + T.mode);
5742
- Object.keys(R.geometry.morphAttributes).length > 0 && pd(R, i), R.name = t.createUniqueName(i.name || "mesh_" + e), nn(R, i), T.extensions && In(r, R, T), t.assignFinalMaterial(R), h.push(R);
5703
+ Object.keys(R.geometry.morphAttributes).length > 0 && pd(R, i), R.name = t.createUniqueName(i.name || "mesh_" + e), nn(R, i), T.extensions && Mn(r, R, T), t.assignFinalMaterial(R), h.push(R);
5743
5704
  }
5744
5705
  for (let b = 0, x = h.length; b < x; b++)
5745
5706
  t.associations.set(h[b], {
@@ -5747,9 +5708,9 @@ class vd {
5747
5708
  primitives: b
5748
5709
  });
5749
5710
  if (h.length === 1)
5750
- return i.extensions && In(r, h[0], i), h[0];
5751
- const y = new er();
5752
- i.extensions && In(r, y, i), t.associations.set(y, { meshes: e });
5711
+ return i.extensions && Mn(r, h[0], i), h[0];
5712
+ const y = new Jn();
5713
+ i.extensions && Mn(r, y, i), t.associations.set(y, { meshes: e });
5753
5714
  for (let b = 0, x = h.length; b < x; b++)
5754
5715
  y.add(h[b]);
5755
5716
  return y;
@@ -5769,7 +5730,7 @@ class vd {
5769
5730
  console.warn("THREE.GLTFLoader: Missing camera parameters.");
5770
5731
  return;
5771
5732
  }
5772
- return n.type === "perspective" ? t = new Sa(mt.radToDeg(r.yfov), r.aspectRatio || 1, r.znear || 1, r.zfar || 2e6) : n.type === "orthographic" && (t = new uc(-r.xmag, r.xmag, r.ymag, -r.ymag, r.znear, r.zfar)), n.name && (t.name = this.createUniqueName(n.name)), nn(t, n), Promise.resolve(t);
5733
+ return n.type === "perspective" ? t = new Sa(mt.radToDeg(r.yfov), r.aspectRatio || 1, r.znear || 1, r.zfar || 2e6) : n.type === "orthographic" && (t = new dc(-r.xmag, r.xmag, r.ymag, -r.ymag, r.znear, r.zfar)), n.name && (t.name = this.createUniqueName(n.name)), nn(t, n), Promise.resolve(t);
5773
5734
  }
5774
5735
  /**
5775
5736
  * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#skins
@@ -5883,10 +5844,10 @@ class vd {
5883
5844
  l.push(f);
5884
5845
  }), this.nodeCache[e] = Promise.all(l).then(function(f) {
5885
5846
  let m;
5886
- if (i.isBone === !0 ? m = new Di() : f.length > 1 ? m = new er() : f.length === 1 ? m = f[0] : m = new Zt(), m !== f[0])
5847
+ if (i.isBone === !0 ? m = new Di() : f.length > 1 ? m = new Jn() : f.length === 1 ? m = f[0] : m = new Zt(), m !== f[0])
5887
5848
  for (let h = 0, y = f.length; h < y; h++)
5888
5849
  m.add(f[h]);
5889
- if (i.name && (m.userData.name = i.name, m.name = s), nn(m, i), i.extensions && In(n, m, i), i.matrix !== void 0) {
5850
+ if (i.name && (m.userData.name = i.name, m.name = s), nn(m, i), i.extensions && Mn(n, m, i), i.matrix !== void 0) {
5890
5851
  const h = new Le();
5891
5852
  h.fromArray(i.matrix), m.applyMatrix4(h);
5892
5853
  } else
@@ -5908,8 +5869,8 @@ class vd {
5908
5869
  * @return {Promise<Group>}
5909
5870
  */
5910
5871
  loadScene(e) {
5911
- const t = this.extensions, n = this.json.scenes[e], r = this, i = new er();
5912
- n.name && (i.name = r.createUniqueName(n.name)), nn(i, n), n.extensions && In(t, i, n);
5872
+ const t = this.extensions, n = this.json.scenes[e], r = this, i = new Jn();
5873
+ n.name && (i.name = r.createUniqueName(n.name)), nn(i, n), n.extensions && Mn(t, i, n);
5913
5874
  const s = n.nodes || [], l = [];
5914
5875
  for (let u = 0, f = s.length; u < f; u++)
5915
5876
  l.push(r.getDependency("node", s[u]));
@@ -5988,7 +5949,7 @@ class vd {
5988
5949
  }
5989
5950
  }
5990
5951
  function bd(c, e, t) {
5991
- const n = e.attributes, r = new pc();
5952
+ const n = e.attributes, r = new mc();
5992
5953
  if (n.POSITION !== void 0) {
5993
5954
  const l = t.json.accessors[n.POSITION], u = l.min, f = l.max;
5994
5955
  if (u !== void 0 && f !== void 0) {
@@ -5996,7 +5957,7 @@ function bd(c, e, t) {
5996
5957
  new oe(u[0], u[1], u[2]),
5997
5958
  new oe(f[0], f[1], f[2])
5998
5959
  ), l.normalized) {
5999
- const m = Ki(tr[l.componentType]);
5960
+ const m = Ki(er[l.componentType]);
6000
5961
  r.min.multiplyScalar(m), r.max.multiplyScalar(m);
6001
5962
  }
6002
5963
  } else {
@@ -6014,7 +5975,7 @@ function bd(c, e, t) {
6014
5975
  const y = t.json.accessors[h.POSITION], b = y.min, x = y.max;
6015
5976
  if (b !== void 0 && x !== void 0) {
6016
5977
  if (u.setX(Math.max(Math.abs(b[0]), Math.abs(x[0]))), u.setY(Math.max(Math.abs(b[1]), Math.abs(x[1]))), u.setZ(Math.max(Math.abs(b[2]), Math.abs(x[2]))), y.normalized) {
6017
- const _ = Ki(tr[y.componentType]);
5978
+ const _ = Ki(er[y.componentType]);
6018
5979
  u.multiplyScalar(_);
6019
5980
  }
6020
5981
  l.max(u);
@@ -6025,7 +5986,7 @@ function bd(c, e, t) {
6025
5986
  r.expandByVector(l);
6026
5987
  }
6027
5988
  c.boundingBox = r;
6028
- const s = new mc();
5989
+ const s = new gc();
6029
5990
  r.getCenter(s.center), s.radius = r.min.distanceTo(r.max) / 2, c.boundingSphere = s;
6030
5991
  }
6031
5992
  function na(c, e, t) {
@@ -6210,7 +6171,7 @@ function Sd() {
6210
6171
  };
6211
6172
  return c.startObject("", !1), c;
6212
6173
  }
6213
- class Ed extends rr {
6174
+ class Ed extends nr {
6214
6175
  /**
6215
6176
  * Constructs a new OBJ loader.
6216
6177
  *
@@ -6229,7 +6190,7 @@ class Ed extends rr {
6229
6190
  * @param {onErrorCallback} onError - Executed when errors occur.
6230
6191
  */
6231
6192
  load(e, t, n, r) {
6232
- const i = this, s = new or(this.manager);
6193
+ const i = this, s = new rr(this.manager);
6233
6194
  s.setPath(this.path), s.setRequestHeader(this.requestHeader), s.setWithCredentials(this.withCredentials), s.load(e, function(l) {
6234
6195
  try {
6235
6196
  t(i.parse(l));
@@ -6358,7 +6319,7 @@ class Ed extends rr {
6358
6319
  }
6359
6320
  }
6360
6321
  t.finalize();
6361
- const i = new er();
6322
+ const i = new Jn();
6362
6323
  if (i.materialLibraries = [].concat(t.materialLibraries), !(t.objects.length === 1 && t.objects[0].geometry.vertices.length === 0) === !0)
6363
6324
  for (let l = 0, u = t.objects.length; l < u; l++) {
6364
6325
  const f = t.objects[l], m = f.geometry, h = f.materials, y = m.type === "Line", b = m.type === "Points";
@@ -6371,15 +6332,15 @@ class Ed extends rr {
6371
6332
  const G = h[M], X = G.name + "_" + G.smooth + "_" + x;
6372
6333
  let j = t.materials[X];
6373
6334
  if (this.materials !== null) {
6374
- if (j = this.materials.create(G.name), y && j && !(j instanceof Qn)) {
6375
- const Q = new Qn();
6335
+ if (j = this.materials.create(G.name), y && j && !(j instanceof Zn)) {
6336
+ const Q = new Zn();
6376
6337
  Rr.prototype.copy.call(Q, j), Q.color.copy(j.color), j = Q;
6377
6338
  } else if (b && j && !(j instanceof Er)) {
6378
6339
  const Q = new Er({ size: 10, sizeAttenuation: !1 });
6379
6340
  Rr.prototype.copy.call(Q, j), Q.color.copy(j.color), Q.map = j.map, j = Q;
6380
6341
  }
6381
6342
  }
6382
- j === void 0 && (y ? j = new Qn() : b ? j = new Er({ size: 1, sizeAttenuation: !1 }) : j = new Sr(), j.name = G.name, j.flatShading = !G.smooth, j.vertexColors = x, t.materials[X] = j), T.push(j);
6343
+ j === void 0 && (y ? j = new Zn() : b ? j = new Er({ size: 1, sizeAttenuation: !1 }) : j = new Sr(), j.name = G.name, j.flatShading = !G.smooth, j.vertexColors = x, t.materials[X] = j), T.push(j);
6383
6344
  }
6384
6345
  let R;
6385
6346
  if (T.length > 1) {
@@ -6418,7 +6379,7 @@ class Cd extends Zt {
6418
6379
  return super.copy(e, t), this.element = e.element.cloneNode(!0), this.center = e.center, this;
6419
6380
  }
6420
6381
  }
6421
- const Gn = new oe(), aa = new Le(), la = new Le(), ca = new oe(), ua = new oe();
6382
+ const Xn = new oe(), aa = new Le(), la = new Le(), ca = new oe(), ua = new oe();
6422
6383
  class Pd {
6423
6384
  /**
6424
6385
  * Constructs a new CSS2D renderer.
@@ -6452,9 +6413,9 @@ class Pd {
6452
6413
  return;
6453
6414
  }
6454
6415
  if (x.isCSS2DObject) {
6455
- Gn.setFromMatrixPosition(x.matrixWorld), Gn.applyMatrix4(la);
6456
- const R = Gn.z >= -1 && Gn.z <= 1 && x.layers.test(T.layers) === !0, M = x.element;
6457
- M.style.display = R === !0 ? "" : "none", R === !0 && (x.onBeforeRender(t, _, T), M.style.transform = "translate(" + -100 * x.center.x + "%," + -100 * x.center.y + "%)translate(" + (Gn.x * i + i) + "px," + (-Gn.y * s + s) + "px)", M.parentNode !== u && u.appendChild(M), x.onAfterRender(t, _, T));
6416
+ Xn.setFromMatrixPosition(x.matrixWorld), Xn.applyMatrix4(la);
6417
+ const R = Xn.z >= -1 && Xn.z <= 1 && x.layers.test(T.layers) === !0, M = x.element;
6418
+ M.style.display = R === !0 ? "" : "none", R === !0 && (x.onBeforeRender(t, _, T), M.style.transform = "translate(" + -100 * x.center.x + "%," + -100 * x.center.y + "%)translate(" + (Xn.x * i + i) + "px," + (-Xn.y * s + s) + "px)", M.parentNode !== u && u.appendChild(M), x.onAfterRender(t, _, T));
6458
6419
  const K = {
6459
6420
  distanceToCameraSquared: h(T, x)
6460
6421
  };
@@ -6741,13 +6702,13 @@ function Id() {
6741
6702
  function xe(o) {
6742
6703
  return he.apply([], o);
6743
6704
  }
6744
- var _n = "BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(xe([8, 16, 32, 64].map(function(o) {
6705
+ var wn = "BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(xe([8, 16, 32, 64].map(function(o) {
6745
6706
  return ["Int", "Uint", "Float"].map(function(a) {
6746
6707
  return a + o + "Array";
6747
6708
  });
6748
6709
  }))).filter(function(o) {
6749
6710
  return i[o];
6750
- }), ye = new Set(_n.map(function(o) {
6711
+ }), ye = new Set(wn.map(function(o) {
6751
6712
  return i[o];
6752
6713
  })), H = null;
6753
6714
  function q(o) {
@@ -6902,14 +6863,14 @@ function Id() {
6902
6863
  function Zi(o) {
6903
6864
  Gt = o;
6904
6865
  }
6905
- var sr = {}, Qi = 100, _n = typeof Promise > "u" ? [] : (function() {
6866
+ var sr = {}, Qi = 100, wn = typeof Promise > "u" ? [] : (function() {
6906
6867
  var o = Promise.resolve();
6907
6868
  if (typeof crypto > "u" || !crypto.subtle) return [o, f(o), o];
6908
6869
  var a = crypto.subtle.digest("SHA-512", new Uint8Array([0]));
6909
6870
  return [a, f(a), o];
6910
- })(), ar = _n[0], It = _n[1], _n = _n[2], It = It && It.then, xn = ar && ar.constructor, jo = !!_n, lr = function(o, a) {
6871
+ })(), ar = wn[0], It = wn[1], wn = wn[2], It = It && It.then, _n = ar && ar.constructor, jo = !!wn, lr = function(o, a) {
6911
6872
  cr.push([o, a]), Nr && (queueMicrotask(Za), Nr = !1);
6912
- }, No = !0, Nr = !0, Tn = [], Ur = [], Uo = Ae, an = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: ue, pgp: !1, env: {}, finalize: ue }, de = an, cr = [], Sn = 0, Br = [];
6873
+ }, No = !0, Nr = !0, xn = [], Ur = [], Uo = Ae, an = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: ue, pgp: !1, env: {}, finalize: ue }, de = an, cr = [], Tn = 0, Br = [];
6913
6874
  function ne(o) {
6914
6875
  if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
6915
6876
  this._listeners = [], this._lib = !1;
@@ -6923,10 +6884,10 @@ function Id() {
6923
6884
  g(function(v) {
6924
6885
  if (p._state === null) {
6925
6886
  if (v === p) throw new TypeError("A promise cannot be resolved with itself.");
6926
- var w = p._lib && Fn();
6887
+ var w = p._lib && Vn();
6927
6888
  v && typeof v.then == "function" ? d(p, function(S, P) {
6928
6889
  v instanceof ne ? v._then(S, P) : v.then(S, P);
6929
- }) : (p._state = !0, p._value = v, es(p)), w && jn();
6890
+ }) : (p._state = !0, p._value = v, es(p)), w && Fn();
6930
6891
  }
6931
6892
  }, zo.bind(null, p));
6932
6893
  } catch (v) {
@@ -6953,24 +6914,24 @@ function Id() {
6953
6914
  }
6954
6915
  function zo(o, a) {
6955
6916
  var d, p;
6956
- Ur.push(a), o._state === null && (d = o._lib && Fn(), a = Uo(a), o._state = !1, o._value = a, p = o, Tn.some(function(g) {
6917
+ Ur.push(a), o._state === null && (d = o._lib && Vn(), a = Uo(a), o._state = !1, o._value = a, p = o, xn.some(function(g) {
6957
6918
  return g._value === p._value;
6958
- }) || Tn.push(p), es(o), d && jn());
6919
+ }) || xn.push(p), es(o), d && Fn());
6959
6920
  }
6960
6921
  function es(o) {
6961
6922
  var a = o._listeners;
6962
6923
  o._listeners = [];
6963
6924
  for (var d = 0, p = a.length; d < p; ++d) Ko(o, a[d]);
6964
6925
  var g = o._PSD;
6965
- --g.ref || g.finalize(), Sn === 0 && (++Sn, lr(function() {
6966
- --Sn == 0 && Ho();
6926
+ --g.ref || g.finalize(), Tn === 0 && (++Tn, lr(function() {
6927
+ --Tn == 0 && Ho();
6967
6928
  }, []));
6968
6929
  }
6969
6930
  function Ko(o, a) {
6970
6931
  if (o._state !== null) {
6971
6932
  var d = o._state ? a.onFulfilled : a.onRejected;
6972
6933
  if (d === null) return (o._state ? a.resolve : a.reject)(o._value);
6973
- ++a.psd.ref, ++Sn, lr(Wa, [d, o, a]);
6934
+ ++a.psd.ref, ++Tn, lr(Wa, [d, o, a]);
6974
6935
  } else o._listeners.push(a);
6975
6936
  }
6976
6937
  function Wa(o, a, d) {
@@ -6979,24 +6940,24 @@ function Id() {
6979
6940
  !a._state && Ur.length && (Ur = []), p = Gt && a._consoleTask ? a._consoleTask.run(function() {
6980
6941
  return o(g);
6981
6942
  }) : o(g), a._state || Ur.indexOf(g) !== -1 || (function(v) {
6982
- for (var w = Tn.length; w; ) if (Tn[--w]._value === v._value) return Tn.splice(w, 1);
6943
+ for (var w = xn.length; w; ) if (xn[--w]._value === v._value) return xn.splice(w, 1);
6983
6944
  })(a), d.resolve(p);
6984
6945
  } catch (v) {
6985
6946
  d.reject(v);
6986
6947
  } finally {
6987
- --Sn == 0 && Ho(), --d.psd.ref || d.psd.finalize();
6948
+ --Tn == 0 && Ho(), --d.psd.ref || d.psd.finalize();
6988
6949
  }
6989
6950
  }
6990
6951
  function Za() {
6991
- En(an, function() {
6992
- Fn() && jn();
6952
+ Sn(an, function() {
6953
+ Vn() && Fn();
6993
6954
  });
6994
6955
  }
6995
- function Fn() {
6956
+ function Vn() {
6996
6957
  var o = No;
6997
6958
  return Nr = No = !1, o;
6998
6959
  }
6999
- function jn() {
6960
+ function Fn() {
7000
6961
  var o, a, d;
7001
6962
  do
7002
6963
  for (; 0 < cr.length; ) for (o = cr, cr = [], d = o.length, a = 0; a < d; ++a) {
@@ -7007,8 +6968,8 @@ function Id() {
7007
6968
  Nr = No = !0;
7008
6969
  }
7009
6970
  function Ho() {
7010
- var o = Tn;
7011
- Tn = [], o.forEach(function(p) {
6971
+ var o = xn;
6972
+ xn = [], o.forEach(function(p) {
7012
6973
  p._PSD.onunhandled.call(null, p._value, p);
7013
6974
  });
7014
6975
  for (var a = Br.slice(0), d = a.length; d; ) a[--d]();
@@ -7019,13 +6980,13 @@ function Id() {
7019
6980
  function Ge(o, a) {
7020
6981
  var d = de;
7021
6982
  return function() {
7022
- var p = Fn(), g = de;
6983
+ var p = Vn(), g = de;
7023
6984
  try {
7024
6985
  return un(d, !0), o.apply(this, arguments);
7025
6986
  } catch (v) {
7026
6987
  a && a(v);
7027
6988
  } finally {
7028
- un(g, !1), p && jn();
6989
+ un(g, !1), p && Fn();
7029
6990
  }
7030
6991
  };
7031
6992
  }
@@ -7085,7 +7046,7 @@ function Id() {
7085
7046
  return de = o;
7086
7047
  } }, totalEchoes: { get: function() {
7087
7048
  return Xr;
7088
- } }, newPSD: ln, usePSD: En, scheduler: { get: function() {
7049
+ } }, newPSD: ln, usePSD: Sn, scheduler: { get: function() {
7089
7050
  return lr;
7090
7051
  }, set: function(o) {
7091
7052
  lr = o;
@@ -7103,13 +7064,13 @@ function Id() {
7103
7064
  P.unhandleds.length === 0 ? g() : v(P.unhandleds[0]);
7104
7065
  }, Br.push(function k() {
7105
7066
  S(), Br.splice(Br.indexOf(k), 1);
7106
- }), ++Sn, lr(function() {
7107
- --Sn == 0 && Ho();
7067
+ }), ++Tn, lr(function() {
7068
+ --Tn == 0 && Ho();
7108
7069
  }, []);
7109
7070
  }, w.finalize), o();
7110
7071
  }, a, d, p);
7111
7072
  });
7112
- } }), xn && (xn.allSettled && x(ne, "allSettled", function() {
7073
+ } }), _n && (_n.allSettled && x(ne, "allSettled", function() {
7113
7074
  var o = $e.apply(null, arguments).map(Gr);
7114
7075
  return new ne(function(a) {
7115
7076
  o.length === 0 && a([]);
@@ -7124,7 +7085,7 @@ function Id() {
7124
7085
  });
7125
7086
  });
7126
7087
  });
7127
- }), xn.any && typeof AggregateError < "u" && x(ne, "any", function() {
7088
+ }), _n.any && typeof AggregateError < "u" && x(ne, "any", function() {
7128
7089
  var o = $e.apply(null, arguments).map(Gr);
7129
7090
  return new ne(function(a, d) {
7130
7091
  o.length === 0 && d(new AggregateError([]));
@@ -7137,22 +7098,22 @@ function Id() {
7137
7098
  });
7138
7099
  });
7139
7100
  });
7140
- }), xn.withResolvers && (ne.withResolvers = xn.withResolvers));
7101
+ }), _n.withResolvers && (ne.withResolvers = _n.withResolvers));
7141
7102
  var ut = { awaits: 0, echoes: 0, id: 0 }, Qa = 0, Kr = [], Hr = 0, Xr = 0, Ja = 0;
7142
7103
  function ln(o, a, d, p) {
7143
7104
  var g = de, v = Object.create(g);
7144
7105
  return v.parent = g, v.ref = 0, v.global = !1, v.id = ++Ja, an.env, v.env = jo ? { Promise: ne, PromiseProp: { value: ne, configurable: !0, writable: !0 }, all: ne.all, race: ne.race, allSettled: ne.allSettled, any: ne.any, resolve: ne.resolve, reject: ne.reject } : {}, a && u(v, a), ++g.ref, v.finalize = function() {
7145
7106
  --this.parent.ref || this.parent.finalize();
7146
- }, p = En(v, o, d, p), v.ref === 0 && v.finalize(), p;
7107
+ }, p = Sn(v, o, d, p), v.ref === 0 && v.finalize(), p;
7147
7108
  }
7148
- function Nn() {
7109
+ function jn() {
7149
7110
  return ut.id || (ut.id = ++Qa), ++ut.awaits, ut.echoes += Qi, ut.id;
7150
7111
  }
7151
7112
  function cn() {
7152
7113
  return !!ut.awaits && (--ut.awaits == 0 && (ut.id = 0), ut.echoes = ut.awaits * Qi, !0);
7153
7114
  }
7154
7115
  function Gr(o) {
7155
- return ut.echoes && o && o.constructor === xn ? (Nn(), o.then(function(a) {
7116
+ return ut.echoes && o && o.constructor === _n ? (jn(), o.then(function(a) {
7156
7117
  return cn(), a;
7157
7118
  }, function(a) {
7158
7119
  return cn(), tt(a);
@@ -7172,7 +7133,7 @@ function Id() {
7172
7133
  var o = i.Promise;
7173
7134
  return jo ? { Promise: o, PromiseProp: Object.getOwnPropertyDescriptor(i, "Promise"), all: o.all, race: o.race, allSettled: o.allSettled, any: o.any, resolve: o.resolve, reject: o.reject } : {};
7174
7135
  }
7175
- function En(o, a, d, p, g) {
7136
+ function Sn(o, a, d, p, g) {
7176
7137
  var v = de;
7177
7138
  try {
7178
7139
  return un(o, !0), a(d, p, g);
@@ -7183,7 +7144,7 @@ function Id() {
7183
7144
  function ns(o, a, d, p) {
7184
7145
  return typeof o != "function" ? o : function() {
7185
7146
  var g = de;
7186
- d && Nn(), un(a, !0);
7147
+ d && jn(), un(a, !0);
7187
7148
  try {
7188
7149
  return o.apply(this, arguments);
7189
7150
  } finally {
@@ -7192,11 +7153,11 @@ function Id() {
7192
7153
  };
7193
7154
  }
7194
7155
  function Xo(o) {
7195
- Promise === xn && ut.echoes === 0 ? Hr === 0 ? o() : enqueueNativeMicroTask(o) : setTimeout(o, 0);
7156
+ Promise === _n && ut.echoes === 0 ? Hr === 0 ? o() : enqueueNativeMicroTask(o) : setTimeout(o, 0);
7196
7157
  }
7197
- ("" + It).indexOf("[native code]") === -1 && (Nn = cn = ue);
7198
- var tt = ne.reject, Cn = "￿", en = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", rs = "String expected.", Un = [], Yr = "__dbnames", Go = "readonly", Yo = "readwrite";
7199
- function Pn(o, a) {
7158
+ ("" + It).indexOf("[native code]") === -1 && (jn = cn = ue);
7159
+ var tt = ne.reject, En = "￿", en = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", rs = "String expected.", Nn = [], Yr = "__dbnames", Go = "readonly", Yo = "readwrite";
7160
+ function Cn(o, a) {
7200
7161
  return o ? a ? function() {
7201
7162
  return o.apply(this, arguments) && a.apply(this, arguments);
7202
7163
  } : o : a;
@@ -7262,7 +7223,7 @@ function Id() {
7262
7223
  if (!E.schema[g]) throw new ie.NotFound("Table " + g + " not part of transaction");
7263
7224
  return a(E.idbtrans, E);
7264
7225
  }
7265
- var S = Fn();
7226
+ var S = Vn();
7266
7227
  try {
7267
7228
  var P = p && p.db._novip === this.db._novip ? p === de.trans ? p._promise(o, w, d) : ln(function() {
7268
7229
  return p._promise(o, w, d);
@@ -7303,7 +7264,7 @@ function Id() {
7303
7264
  return console.trace(k), tt(k);
7304
7265
  })), P;
7305
7266
  } finally {
7306
- S && jn();
7267
+ S && Fn();
7307
7268
  }
7308
7269
  }, Ke.prototype.get = function(o, a) {
7309
7270
  var d = this;
@@ -7328,7 +7289,7 @@ function Id() {
7328
7289
  }).sort(function(S, P) {
7329
7290
  return S.keyPath.length - P.keyPath.length;
7330
7291
  })[0];
7331
- if (d && this.db._maxKey !== Cn) {
7292
+ if (d && this.db._maxKey !== En) {
7332
7293
  var v = d.keyPath.slice(0, a.length);
7333
7294
  return this.where(v).equals(v.map(function(P) {
7334
7295
  return o[P];
@@ -7341,7 +7302,7 @@ function Id() {
7341
7302
  }
7342
7303
  var w = a.reduce(function(E, P) {
7343
7304
  var k = E[0], L = E[1], E = p[P], V = o[P];
7344
- return [k || E, k || !E ? Pn(L, E && E.multi ? function(A) {
7305
+ return [k || E, k || !E ? Cn(L, E && E.multi ? function(A) {
7345
7306
  return A = j(A, P), l(A) && A.some(function(I) {
7346
7307
  return g(V, I);
7347
7308
  });
@@ -7574,16 +7535,16 @@ function Id() {
7574
7535
  function dr(o, a) {
7575
7536
  return _(a).from({ prototype: o }), a;
7576
7537
  }
7577
- function Bn(o, a) {
7538
+ function Un(o, a) {
7578
7539
  return !(o.filter || o.algorithm || o.or) && (a ? o.justLimit : !o.replayFilter);
7579
7540
  }
7580
7541
  function qo(o, a) {
7581
- o.filter = Pn(o.filter, a);
7542
+ o.filter = Cn(o.filter, a);
7582
7543
  }
7583
7544
  function $o(o, a, d) {
7584
7545
  var p = o.replayFilter;
7585
7546
  o.replayFilter = p ? function() {
7586
- return Pn(p(), a());
7547
+ return Cn(p(), a());
7587
7548
  } : a, o.justLimit = d && !p;
7588
7549
  }
7589
7550
  function Wr(o, a) {
@@ -7597,7 +7558,7 @@ function Id() {
7597
7558
  return a.openCursor({ trans: d, values: !o.keysOnly, reverse: o.dir === "prev", unique: !!o.unique, query: { index: p, range: o.range } });
7598
7559
  }
7599
7560
  function Zr(o, a, d, p) {
7600
- var g = o.replayFilter ? Pn(o.filter, o.replayFilter()) : o.filter;
7561
+ var g = o.replayFilter ? Cn(o.filter, o.replayFilter()) : o.filter;
7601
7562
  if (o.or) {
7602
7563
  var v = {}, w = function(S, P, k) {
7603
7564
  var L, E;
@@ -7609,7 +7570,7 @@ function Id() {
7609
7570
  };
7610
7571
  return Promise.all([o.or._iterate(w, d), us(cs(o, p, d), o.algorithm, w, !o.keysOnly && o.valueMapper)]);
7611
7572
  }
7612
- return us(cs(o, p, d), Pn(o.algorithm, g), a, !o.keysOnly && o.valueMapper);
7573
+ return us(cs(o, p, d), Cn(o.algorithm, g), a, !o.keysOnly && o.valueMapper);
7613
7574
  }
7614
7575
  function us(o, a, d, p) {
7615
7576
  var g = Ge(p ? function(v, w, S) {
@@ -7671,7 +7632,7 @@ function Id() {
7671
7632
  return a.error ? a.table._trans(null, tt.bind(null, a.error)) : a.table._trans("readwrite", o, "locked");
7672
7633
  }, Me.prototype._addAlgorithm = function(o) {
7673
7634
  var a = this._ctx;
7674
- a.algorithm = Pn(a.algorithm, o);
7635
+ a.algorithm = Cn(a.algorithm, o);
7675
7636
  }, Me.prototype._iterate = function(o, a) {
7676
7637
  return Zr(this._ctx, o, a, this._ctx.table.core);
7677
7638
  }, Me.prototype.clone = function(o) {
@@ -7688,7 +7649,7 @@ function Id() {
7688
7649
  var a = this;
7689
7650
  return this._read(function(d) {
7690
7651
  var p = a._ctx, g = p.table.core;
7691
- if (Bn(p, !0)) return g.count({ trans: d, query: { index: Wr(p, g.schema), range: p.range } }).then(function(w) {
7652
+ if (Un(p, !0)) return g.count({ trans: d, query: { index: Wr(p, g.schema), range: p.range } }).then(function(w) {
7692
7653
  return Math.min(w, p.limit);
7693
7654
  });
7694
7655
  var v = 0;
@@ -7714,7 +7675,7 @@ function Id() {
7714
7675
  var a = this;
7715
7676
  return this._read(function(d) {
7716
7677
  var p = a._ctx;
7717
- if (p.dir === "next" && Bn(p, !0) && 0 < p.limit) {
7678
+ if (p.dir === "next" && Un(p, !0) && 0 < p.limit) {
7718
7679
  var g = p.valueMapper, v = Wr(p, p.table.core.schema);
7719
7680
  return p.table.core.query({ trans: d, limit: p.limit, values: !0, query: { index: v, range: p.range } }).then(function(S) {
7720
7681
  return S = S.result, g ? S.map(g) : S;
@@ -7729,7 +7690,7 @@ function Id() {
7729
7690
  }, o);
7730
7691
  }, Me.prototype.offset = function(o) {
7731
7692
  var a = this._ctx;
7732
- return o <= 0 || (a.offset += o, Bn(a) ? $o(a, function() {
7693
+ return o <= 0 || (a.offset += o, Un(a) ? $o(a, function() {
7733
7694
  var d = o;
7734
7695
  return function(p, g) {
7735
7696
  return d === 0 || (d === 1 ? --d : g(function() {
@@ -7763,7 +7724,7 @@ function Id() {
7763
7724
  var a;
7764
7725
  return qo(this._ctx, function(d) {
7765
7726
  return o(d.value);
7766
- }), (a = this._ctx).isMatch = Pn(a.isMatch, o), this;
7727
+ }), (a = this._ctx).isMatch = Cn(a.isMatch, o), this;
7767
7728
  }, Me.prototype.and = function(o) {
7768
7729
  return this.filter(o);
7769
7730
  }, Me.prototype.or = function(o) {
@@ -7795,7 +7756,7 @@ function Id() {
7795
7756
  }).then(o);
7796
7757
  }, Me.prototype.primaryKeys = function(o) {
7797
7758
  var a = this._ctx;
7798
- if (a.dir === "next" && Bn(a, !0) && 0 < a.limit) return this._read(function(p) {
7759
+ if (a.dir === "next" && Un(a, !0) && 0 < a.limit) return this._read(function(p) {
7799
7760
  var g = Wr(a, a.table.core.schema);
7800
7761
  return a.table.core.query({ trans: p, values: !1, limit: a.limit, query: { index: g, range: a.range } });
7801
7762
  }).then(function(p) {
@@ -7873,7 +7834,7 @@ function Id() {
7873
7834
  });
7874
7835
  });
7875
7836
  }
7876
- var B = Bn(d) && d.limit === 1 / 0 && (typeof o != "function" || D) && { index: d.index, range: d.range };
7837
+ var B = Un(d) && d.limit === 1 / 0 && (typeof o != "function" || D) && { index: d.index, range: d.range };
7877
7838
  return U(0).then(function() {
7878
7839
  if (0 < A.length) throw new se("Error modifying one or more objects", A, I, O);
7879
7840
  return F.length;
@@ -7882,7 +7843,7 @@ function Id() {
7882
7843
  });
7883
7844
  }, Me.prototype.delete = function() {
7884
7845
  var o = this._ctx, a = o.range;
7885
- return !Bn(o) || o.table.schema.yProps || !o.isPrimKey && a.type !== 3 ? this.modify(hs) : this._write(function(d) {
7846
+ return !Un(o) || o.table.schema.yProps || !o.isPrimKey && a.type !== 3 ? this.modify(hs) : this._write(function(d) {
7886
7847
  var p = o.table.core.schema.primaryKey, g = a;
7887
7848
  return o.table.core.count({ trans: d, query: { index: p, range: g } }).then(function(v) {
7888
7849
  return o.table.core.mutate({ trans: d, type: "deleteRange", range: g }).then(function(P) {
@@ -7909,7 +7870,7 @@ function Id() {
7909
7870
  function Rt(o, a, d) {
7910
7871
  return o = o instanceof ps ? new o.Collection(o) : o, o._ctx.error = new (d || TypeError)(a), o;
7911
7872
  }
7912
- function zn(o) {
7873
+ function Bn(o) {
7913
7874
  return new o.Collection(o, function() {
7914
7875
  return fs("");
7915
7876
  }).limit(0);
@@ -7978,7 +7939,7 @@ function Id() {
7978
7939
  }, enumerable: !1, configurable: !0 }), dt.prototype.between = function(o, a, d, p) {
7979
7940
  d = d !== !1, p = p === !0;
7980
7941
  try {
7981
- return 0 < this._cmp(o, a) || this._cmp(o, a) === 0 && (d || p) && (!d || !p) ? zn(this) : new this.Collection(this, function() {
7942
+ return 0 < this._cmp(o, a) || this._cmp(o, a) === 0 && (d || p) && (!d || !p) ? Bn(this) : new this.Collection(this, function() {
7982
7943
  return dn(o, a, !d, !p);
7983
7944
  });
7984
7945
  } catch {
@@ -8005,27 +7966,27 @@ function Id() {
8005
7966
  return dn(void 0, o);
8006
7967
  });
8007
7968
  }, dt.prototype.startsWith = function(o) {
8008
- return typeof o != "string" ? Rt(this, rs) : this.between(o, o + Cn, !0, !0);
7969
+ return typeof o != "string" ? Rt(this, rs) : this.between(o, o + En, !0, !0);
8009
7970
  }, dt.prototype.startsWithIgnoreCase = function(o) {
8010
7971
  return o === "" ? this.startsWith(o) : Qr(this, function(a, d) {
8011
7972
  return a.indexOf(d[0]) === 0;
8012
- }, [o], Cn);
7973
+ }, [o], En);
8013
7974
  }, dt.prototype.equalsIgnoreCase = function(o) {
8014
7975
  return Qr(this, function(a, d) {
8015
7976
  return a === d[0];
8016
7977
  }, [o], "");
8017
7978
  }, dt.prototype.anyOfIgnoreCase = function() {
8018
7979
  var o = $e.apply(Se, arguments);
8019
- return o.length === 0 ? zn(this) : Qr(this, function(a, d) {
7980
+ return o.length === 0 ? Bn(this) : Qr(this, function(a, d) {
8020
7981
  return d.indexOf(a) !== -1;
8021
7982
  }, o, "");
8022
7983
  }, dt.prototype.startsWithAnyOfIgnoreCase = function() {
8023
7984
  var o = $e.apply(Se, arguments);
8024
- return o.length === 0 ? zn(this) : Qr(this, function(a, d) {
7985
+ return o.length === 0 ? Bn(this) : Qr(this, function(a, d) {
8025
7986
  return d.some(function(p) {
8026
7987
  return a.indexOf(p) === 0;
8027
7988
  });
8028
- }, o, Cn);
7989
+ }, o, En);
8029
7990
  }, dt.prototype.anyOf = function() {
8030
7991
  var o = this, a = $e.apply(Se, arguments), d = this._cmp;
8031
7992
  try {
@@ -8033,7 +7994,7 @@ function Id() {
8033
7994
  } catch {
8034
7995
  return Rt(this, en);
8035
7996
  }
8036
- if (a.length === 0) return zn(this);
7997
+ if (a.length === 0) return Bn(this);
8037
7998
  var p = new this.Collection(this, function() {
8038
7999
  return dn(a[0], a[a.length - 1]);
8039
8000
  });
@@ -8063,7 +8024,7 @@ function Id() {
8063
8024
  return a.push([o[o.length - 1], this.db._maxKey]), this.inAnyRange(a, { includeLowers: !1, includeUppers: !1 });
8064
8025
  }, dt.prototype.inAnyRange = function(F, a) {
8065
8026
  var d = this, p = this._cmp, g = this._ascending, v = this._descending, w = this._min, S = this._max;
8066
- if (F.length === 0) return zn(this);
8027
+ if (F.length === 0) return Bn(this);
8067
8028
  if (!F.every(function(U) {
8068
8029
  return U[0] !== void 0 && U[1] !== void 0 && g(U[0], U[1]) <= 0;
8069
8030
  })) return Rt(this, "First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower", ie.InvalidArgument);
@@ -8108,8 +8069,8 @@ function Id() {
8108
8069
  var o = $e.apply(Se, arguments);
8109
8070
  return o.every(function(a) {
8110
8071
  return typeof a == "string";
8111
- }) ? o.length === 0 ? zn(this) : this.inAnyRange(o.map(function(a) {
8112
- return [a, a + Cn];
8072
+ }) ? o.length === 0 ? Bn(this) : this.inAnyRange(o.map(function(a) {
8073
+ return [a, a + En];
8113
8074
  })) : Rt(this, "startsWithAnyOf() only works with strings");
8114
8075
  }, dt);
8115
8076
  function dt() {
@@ -8128,7 +8089,7 @@ function Id() {
8128
8089
  if (G(!de.global), --this._reculock == 0) for (de.global || (de.lockOwnerFor = null); 0 < this._blockedFuncs.length && !this._locked(); ) {
8129
8090
  var o = this._blockedFuncs.shift();
8130
8091
  try {
8131
- En(o[1], o[0]);
8092
+ Sn(o[1], o[0]);
8132
8093
  } catch {
8133
8094
  }
8134
8095
  }
@@ -8231,8 +8192,8 @@ function Id() {
8231
8192
  }, [[]];
8232
8193
  } catch {
8233
8194
  return mr = function() {
8234
- return Cn;
8235
- }, Cn;
8195
+ return En;
8196
+ }, En;
8236
8197
  }
8237
8198
  };
8238
8199
  function Jo(o) {
@@ -8284,10 +8245,10 @@ function Id() {
8284
8245
  else for (vt = 0; vt < re; ++vt) Re.push(ee = W[F](be[vt])), ee.onerror = _e;
8285
8246
  }
8286
8247
  function uo(xt) {
8287
- xt = xt.target.result, Re.forEach(function(kn, yi) {
8288
- return kn.error != null && (we[yi] = kn.error);
8289
- }), Y({ numFailures: Ze, failures: we, results: F === "delete" ? U : Re.map(function(kn) {
8290
- return kn.result;
8248
+ xt = xt.target.result, Re.forEach(function(Rn, yi) {
8249
+ return Rn.error != null && (we[yi] = Rn.error);
8250
+ }), Y({ numFailures: Ze, failures: we, results: F === "delete" ? U : Re.map(function(Rn) {
8251
+ return Rn.result;
8291
8252
  }), lastResult: xt });
8292
8253
  }
8293
8254
  ee.onerror = function(xt) {
@@ -8353,8 +8314,8 @@ function Id() {
8353
8314
  throw new Error("Cursor behind last entry");
8354
8315
  }, be.stop();
8355
8316
  }
8356
- var uo = new Promise(function(xt, kn) {
8357
- xt = Ge(xt), ee.onerror = Yt(kn), be.fail = kn, be.stop = function(yi) {
8317
+ var uo = new Promise(function(xt, Rn) {
8318
+ xt = Ge(xt), ee.onerror = Yt(Rn), be.fail = Rn, be.stop = function(yi) {
8358
8319
  be.stop = be.continue = be.continuePrimaryKey = be.advance = Ze, xt(yi);
8359
8320
  };
8360
8321
  });
@@ -8470,7 +8431,7 @@ function Id() {
8470
8431
  J[te] = U[te];
8471
8432
  }), ei(E, [E.Transaction.prototype]), eo(E, [E.Transaction.prototype], s(J), J), A.schema = J;
8472
8433
  var W, Z = _t(Y);
8473
- return Z && Nn(), z = ne.follow(function() {
8434
+ return Z && jn(), z = ne.follow(function() {
8474
8435
  var te;
8475
8436
  (W = Y(A)) && Z && (te = cn.bind(null, null), W.then(te, te));
8476
8437
  }), W && typeof W.then == "function" ? ne.resolve(W) : z.then(function() {
@@ -8578,7 +8539,7 @@ function Id() {
8578
8539
  return Zo(g, v || null, /\&/.test(a), /\*/.test(a), /\+\+/.test(a), l(v), d === 0, p);
8579
8540
  });
8580
8541
  }
8581
- var dl = (Kn.prototype._createTableSchema = Qo, Kn.prototype._parseIndexSyntax = vs, Kn.prototype._parseStoresSpec = function(o, a) {
8542
+ var dl = (zn.prototype._createTableSchema = Qo, zn.prototype._parseIndexSyntax = vs, zn.prototype._parseStoresSpec = function(o, a) {
8582
8543
  var d = this;
8583
8544
  s(o).forEach(function(p) {
8584
8545
  if (o[p] !== null) {
@@ -8591,17 +8552,17 @@ function Id() {
8591
8552
  }), g = d._createTableSchema(p, v, g), a[p] = g;
8592
8553
  }
8593
8554
  });
8594
- }, Kn.prototype.stores = function(d) {
8555
+ }, zn.prototype.stores = function(d) {
8595
8556
  var a = this.db;
8596
8557
  this._cfg.storesSource = this._cfg.storesSource ? u(this._cfg.storesSource, d) : d;
8597
8558
  var d = a._versions, p = {}, g = {};
8598
8559
  return d.forEach(function(v) {
8599
8560
  u(p, v._cfg.storesSource), g = v._cfg.dbschema = {}, v._parseStoresSpec(p, g);
8600
8561
  }), a._dbSchema = g, ei(a, [a._allTables, a, a.Transaction.prototype]), eo(a, [a._allTables, a, a.Transaction.prototype, this._cfg.tables], s(g), g), a._storeNames = s(g), this;
8601
- }, Kn.prototype.upgrade = function(o) {
8562
+ }, zn.prototype.upgrade = function(o) {
8602
8563
  return this._cfg.contentUpgrade = Fo(this._cfg.contentUpgrade || ue, o), this;
8603
- }, Kn);
8604
- function Kn() {
8564
+ }, zn);
8565
+ function zn() {
8605
8566
  }
8606
8567
  function ri(o, a) {
8607
8568
  var d = o._dbNamesDB;
@@ -8708,7 +8669,7 @@ function Id() {
8708
8669
  } })[Ne] = function() {
8709
8670
  return oo(this);
8710
8671
  }, It));
8711
- var An = {}, li = {}, ci = !1;
8672
+ var Pn = {}, li = {}, ci = !1;
8712
8673
  function so(o) {
8713
8674
  io(li, o), ci || (ci = !0, setTimeout(function() {
8714
8675
  ci = !1, ui(li, !(li = {}));
@@ -8717,10 +8678,10 @@ function Id() {
8717
8678
  function ui(o, a) {
8718
8679
  a === void 0 && (a = !1);
8719
8680
  var d = /* @__PURE__ */ new Set();
8720
- if (o.all) for (var p = 0, g = Object.values(An); p < g.length; p++) xs(w = g[p], o, d, a);
8681
+ if (o.all) for (var p = 0, g = Object.values(Pn); p < g.length; p++) xs(w = g[p], o, d, a);
8721
8682
  else for (var v in o) {
8722
8683
  var w, S = /^idb\:\/\/(.*)\/(.*)\//.exec(v);
8723
- S && (v = S[1], S = S[2], (w = An["idb://".concat(v, "/").concat(S)]) && xs(w, o, d, a));
8684
+ S && (v = S[1], S = S[2], (w = Pn["idb://".concat(v, "/").concat(S)]) && xs(w, o, d, a));
8724
8685
  }
8725
8686
  d.forEach(function(P) {
8726
8687
  return P();
@@ -8773,7 +8734,7 @@ function Id() {
8773
8734
  Jr(o, W);
8774
8735
  } catch {
8775
8736
  }
8776
- Un.push(o), Y.onversionchange = Ge(function(Z) {
8737
+ Nn.push(o), Y.onversionchange = Ge(function(Z) {
8777
8738
  a.vcFired = !0, o.on("versionchange").fire(Z);
8778
8739
  }), Y.onclose = Ge(function(Z) {
8779
8740
  o.on("close").fire(Z);
@@ -9195,7 +9156,7 @@ function Id() {
9195
9156
  return function() {
9196
9157
  if (v.abort(), p === "readwrite") {
9197
9158
  for (var k = /* @__PURE__ */ new Set(), L = 0, E = d; L < E.length; L++) {
9198
- var V = E[L], A = An["idb://".concat(a, "/").concat(V)];
9159
+ var V = E[L], A = Pn["idb://".concat(a, "/").concat(V)];
9199
9160
  if (A) {
9200
9161
  var I = o.table(V), O = A.optimisticOps.filter(function(re) {
9201
9162
  return re.trans === S;
@@ -9226,7 +9187,7 @@ function Id() {
9226
9187
  return n(n({}, p), { mutate: function(v) {
9227
9188
  var w = de.trans;
9228
9189
  if (g.outbound || w.db._options.cache === "disabled" || w.explicit || w.idbtrans.mode !== "readwrite") return p.mutate(v);
9229
- var S = An["idb://".concat(a, "/").concat(d)];
9190
+ var S = Pn["idb://".concat(a, "/").concat(d)];
9230
9191
  return S ? (w = p.mutate(v), v.type !== "add" && v.type !== "put" || !(50 <= v.values.length || fi(g, v).some(function(P) {
9231
9192
  return P == null;
9232
9193
  })) ? (S.optimisticOps.push(v), v.mutatedParts && so(v.mutatedParts), w.then(function(P) {
@@ -9245,7 +9206,7 @@ function Id() {
9245
9206
  }, query: function(v) {
9246
9207
  if (!Ss(de, p) || !Es("query", v)) return p.query(v);
9247
9208
  var w = ((k = de.trans) === null || k === void 0 ? void 0 : k.db._options.cache) === "immutable", E = de, S = E.requery, P = E.signal, k = (function(I, O, D, F) {
9248
- var U = An["idb://".concat(I, "/").concat(O)];
9209
+ var U = Pn["idb://".concat(I, "/").concat(O)];
9249
9210
  if (!U) return [];
9250
9211
  if (!(O = U.queries[D])) return [null, !1, U, null];
9251
9212
  var B = O[(F.query ? F.query.index.name : null) || ""];
@@ -9273,7 +9234,7 @@ function Id() {
9273
9234
  return I;
9274
9235
  }).catch(function(I) {
9275
9236
  return A && L && Xe(A, L), Promise.reject(I);
9276
- }), L = { obsSet: v.obsSet, promise: E, subscribers: /* @__PURE__ */ new Set(), type: "query", req: v, dirty: !1 }, A ? A.push(L) : (A = [L], (V = V || (An["idb://".concat(a, "/").concat(d)] = { queries: { query: {}, count: {} }, objs: /* @__PURE__ */ new Map(), optimisticOps: [], unsignaledParts: {} })).queries.query[v.query.index.name || ""] = A)), vl(L, A, S, P), L.promise.then(function(I) {
9237
+ }), L = { obsSet: v.obsSet, promise: E, subscribers: /* @__PURE__ */ new Set(), type: "query", req: v, dirty: !1 }, A ? A.push(L) : (A = [L], (V = V || (Pn["idb://".concat(a, "/").concat(d)] = { queries: { query: {}, count: {} }, objs: /* @__PURE__ */ new Map(), optimisticOps: [], unsignaledParts: {} })).queries.query[v.query.index.name || ""] = A)), vl(L, A, S, P), L.promise.then(function(I) {
9277
9238
  return { result: Ps(I.result, v, V?.optimisticOps, p, L, w) };
9278
9239
  });
9279
9240
  } });
@@ -9314,13 +9275,13 @@ function Id() {
9314
9275
  })), this;
9315
9276
  }, nt.prototype.open = function() {
9316
9277
  var o = this;
9317
- return En(an, function() {
9278
+ return Sn(an, function() {
9318
9279
  return hl(o);
9319
9280
  });
9320
9281
  }, nt.prototype._close = function() {
9321
9282
  this.on.close.fire(new CustomEvent("close"));
9322
- var o = this._state, a = Un.indexOf(this);
9323
- if (0 <= a && Un.splice(a, 1), this.idbdb) {
9283
+ var o = this._state, a = Nn.indexOf(this);
9284
+ if (0 <= a && Nn.splice(a, 1), this.idbdb) {
9324
9285
  try {
9325
9286
  this.idbdb.close();
9326
9287
  } catch {
@@ -9418,7 +9379,7 @@ function Id() {
9418
9379
  })) : tt(B);
9419
9380
  }
9420
9381
  var F, U = _t(I);
9421
- return U && Nn(), O = ne.follow(function() {
9382
+ return U && jn(), O = ne.follow(function() {
9422
9383
  var B;
9423
9384
  (F = I.call(D, D)) && (U ? (B = cn.bind(null, null), F.then(B, B)) : typeof F.next == "function" && typeof F.throw == "function" && (F = di(F)));
9424
9385
  }, O), (F && typeof F.then == "function" ? ne.resolve(F).then(function(B) {
@@ -9434,7 +9395,7 @@ function Id() {
9434
9395
  });
9435
9396
  });
9436
9397
  }).bind(null, this, v, w, g, d);
9437
- return g ? g._promise(v, P, "lock") : de.trans ? En(de.transless, function() {
9398
+ return g ? g._promise(v, P, "lock") : de.trans ? Sn(de.transless, function() {
9438
9399
  return p._whenReady(P);
9439
9400
  }) : this._whenReady(P);
9440
9401
  }, nt.prototype.table = function(o) {
@@ -9509,7 +9470,7 @@ function Id() {
9509
9470
  }), this._maxKey = mr(a.IDBKeyRange), this._createTransaction = function(E, V, A, I) {
9510
9471
  return new d.Transaction(E, V, A, d._options.chromeTransactionDurability, I);
9511
9472
  }, this._fireOnBlocked = function(E) {
9512
- d.on("blocked").fire(E), Un.filter(function(V) {
9473
+ d.on("blocked").fire(E), Nn.filter(function(V) {
9513
9474
  return V.name === d.name && V !== d && !V._state.vcFired;
9514
9475
  }).map(function(V) {
9515
9476
  return V.on("versionchange").fire(E);
@@ -9559,13 +9520,13 @@ function Id() {
9559
9520
  }, I = function() {
9560
9521
  var O, D, F;
9561
9522
  !S && co.indexedDB && (P = {}, O = {}, w && w.abort(), w = new AbortController(), F = (function(U) {
9562
- var B = Fn();
9523
+ var B = Vn();
9563
9524
  try {
9564
- v && Nn();
9525
+ v && jn();
9565
9526
  var z = ln(o, U);
9566
9527
  return z = v ? z.finally(cn) : z;
9567
9528
  } finally {
9568
- B && jn();
9529
+ B && Fn();
9569
9530
  }
9570
9531
  })(D = { subscr: O, signal: w.signal, requery: V, querier: o, trans: null }), Promise.resolve(F).then(function(U) {
9571
9532
  d = !0, a = U, S || D.signal.aborted || (P = {}, (function(B) {
@@ -9588,7 +9549,7 @@ function Id() {
9588
9549
  return a;
9589
9550
  }, p;
9590
9551
  }
9591
- var Rn = tn;
9552
+ var An = tn;
9592
9553
  function gi(o) {
9593
9554
  var a = fn;
9594
9555
  try {
@@ -9597,17 +9558,17 @@ function Id() {
9597
9558
  fn = a;
9598
9559
  }
9599
9560
  }
9600
- y(Rn, n(n({}, et), { delete: function(o) {
9601
- return new Rn(o, { addons: [] }).delete();
9561
+ y(An, n(n({}, et), { delete: function(o) {
9562
+ return new An(o, { addons: [] }).delete();
9602
9563
  }, exists: function(o) {
9603
- return new Rn(o, { addons: [] }).open().then(function(a) {
9564
+ return new An(o, { addons: [] }).open().then(function(a) {
9604
9565
  return a.close(), !0;
9605
9566
  }).catch("NoSuchDatabaseError", function() {
9606
9567
  return !1;
9607
9568
  });
9608
9569
  }, getDatabaseNames: function(o) {
9609
9570
  try {
9610
- return a = Rn.dependencies, d = a.indexedDB, a = a.IDBKeyRange, (oi(d) ? Promise.resolve(d.databases()).then(function(p) {
9571
+ return a = An.dependencies, d = a.indexedDB, a = a.IDBKeyRange, (oi(d) ? Promise.resolve(d.databases()).then(function(p) {
9611
9572
  return p.map(function(g) {
9612
9573
  return g.name;
9613
9574
  }).filter(function(g) {
@@ -9623,7 +9584,7 @@ function Id() {
9623
9584
  u(this, o);
9624
9585
  };
9625
9586
  }, ignoreTransaction: function(o) {
9626
- return de.trans ? En(de.transless, o) : o();
9587
+ return de.trans ? Sn(de.transless, o) : o();
9627
9588
  }, vip: ii, async: function(o) {
9628
9589
  return function() {
9629
9590
  try {
@@ -9643,7 +9604,7 @@ function Id() {
9643
9604
  }, currentTransaction: { get: function() {
9644
9605
  return de.trans || null;
9645
9606
  } }, waitFor: function(o, a) {
9646
- return a = ne.resolve(typeof o == "function" ? Rn.ignoreTransaction(o) : o).timeout(a || 6e4), de.trans ? de.trans.waitFor(a) : a;
9607
+ return a = ne.resolve(typeof o == "function" ? An.ignoreTransaction(o) : o).timeout(a || 6e4), de.trans ? de.trans.waitFor(a) : a;
9647
9608
  }, Promise: ne, debug: { get: function() {
9648
9609
  return Gt;
9649
9610
  }, set: function(o) {
@@ -9652,27 +9613,27 @@ function Id() {
9652
9613
  typeof a == "string" ? Q(o, a, void 0) : "length" in a && [].map.call(a, function(d) {
9653
9614
  Q(o, d, void 0);
9654
9615
  });
9655
- }, shallowClone: ae, deepClone: q, getObjectDiff: hi, cmp: Ce, asap: X, minKey: -1 / 0, addons: [], connections: Un, errnames: Ie, dependencies: co, cache: An, semVer: "4.2.0", version: "4.2.0".split(".").map(function(o) {
9616
+ }, shallowClone: ae, deepClone: q, getObjectDiff: hi, cmp: Ce, asap: X, minKey: -1 / 0, addons: [], connections: Nn, errnames: Ie, dependencies: co, cache: Pn, semVer: "4.2.0", version: "4.2.0".split(".").map(function(o) {
9656
9617
  return parseInt(o);
9657
9618
  }).reduce(function(o, a, d) {
9658
9619
  return o + a / Math.pow(10, 2 * d);
9659
- }) })), Rn.maxKey = mr(Rn.dependencies.IDBKeyRange), typeof dispatchEvent < "u" && typeof addEventListener < "u" && (hn(pr, function(o) {
9620
+ }) })), An.maxKey = mr(An.dependencies.IDBKeyRange), typeof dispatchEvent < "u" && typeof addEventListener < "u" && (hn(pr, function(o) {
9660
9621
  fn || (o = new CustomEvent(Wo, { detail: o }), fn = !0, dispatchEvent(o), fn = !1);
9661
9622
  }), addEventListener(Wo, function(o) {
9662
9623
  o = o.detail, fn || gi(o);
9663
9624
  }));
9664
- var Hn, fn = !1, ks = function() {
9625
+ var Kn, fn = !1, ks = function() {
9665
9626
  };
9666
9627
  return typeof BroadcastChannel < "u" && ((ks = function() {
9667
- (Hn = new BroadcastChannel(Wo)).onmessage = function(o) {
9628
+ (Kn = new BroadcastChannel(Wo)).onmessage = function(o) {
9668
9629
  return o.data && gi(o.data);
9669
9630
  };
9670
- })(), typeof Hn.unref == "function" && Hn.unref(), hn(pr, function(o) {
9671
- fn || Hn.postMessage(o);
9631
+ })(), typeof Kn.unref == "function" && Kn.unref(), hn(pr, function(o) {
9632
+ fn || Kn.postMessage(o);
9672
9633
  })), typeof addEventListener < "u" && (addEventListener("pagehide", function(o) {
9673
9634
  if (!tn.disableBfCache && o.persisted) {
9674
- Gt && console.debug("Dexie: handling persisted pagehide"), Hn?.close();
9675
- for (var a = 0, d = Un; a < d.length; a++) d[a].close({ disableAutoOpen: !1 });
9635
+ Gt && console.debug("Dexie: handling persisted pagehide"), Kn?.close();
9636
+ for (var a = 0, d = Nn; a < d.length; a++) d[a].close({ disableAutoOpen: !1 });
9676
9637
  }
9677
9638
  }), addEventListener("pageshow", function(o) {
9678
9639
  !tn.disableBfCache && o.persisted && (Gt && console.debug("Dexie: handling persisted pageshow"), ks(), gi({ all: new gt(-1 / 0, [[]]) }));
@@ -10444,7 +10405,7 @@ function Lf(c) {
10444
10405
  }
10445
10406
  function Gd() {
10446
10407
  return {
10447
- conf: wn({
10408
+ conf: or({
10448
10409
  containerStyle: {
10449
10410
  left: 0,
10450
10411
  top: 0,
@@ -10484,7 +10445,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
10484
10445
  world: {}
10485
10446
  },
10486
10447
  setup(c) {
10487
- const e = c, t = wn(), n = Mt({
10448
+ const e = c, t = or(), n = Mt({
10488
10449
  token: "",
10489
10450
  // 随机日志
10490
10451
  rand: {
@@ -10548,7 +10509,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
10548
10509
  ref: t,
10549
10510
  class: "flex flex-col gap-10px w-100% max-h-500px overflow-auto"
10550
10511
  }, [
10551
- (me(!0), je(Vn, null, nr(n.log, (T, R) => (me(), je("div", {
10512
+ (me(!0), je(On, null, tr(n.log, (T, R) => (me(), je("div", {
10552
10513
  key: R,
10553
10514
  class: "flex flex-1 gap-5px items-start"
10554
10515
  }, [
@@ -11718,7 +11679,12 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
11718
11679
  lights: {}
11719
11680
  },
11720
11681
  setup(c) {
11721
- const e = c, { dlgProps: t, dlgEvent: n, open: r, close: i } = kc({
11682
+ const e = c, {
11683
+ props: t,
11684
+ event: n,
11685
+ open: r,
11686
+ close: i
11687
+ } = Ol({
11722
11688
  width: 500
11723
11689
  }), s = Ms({
11724
11690
  collapse: "",
@@ -11747,10 +11713,10 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
11747
11713
  },
11748
11714
  confirm() {
11749
11715
  if (!l.data.type) {
11750
- Ol({ code: 400, msg: "请选择灯光类型" });
11716
+ Vl({ code: 400, msg: "请选择灯光类型" });
11751
11717
  return;
11752
11718
  }
11753
- l.data.name = s.type.find((y) => y.value === l.data.type)?.label ?? "光源", l.data.id = Vl(), l.data.color = "#ffffff", l.data.groundColor = "#ffffff", l.data.position = { x: 0, y: 0, z: 0 }, l.data.rotate = { x: 0, y: 0, z: 0 }, l.data.debugger = !0, l.data.visible = !0, l.data.helper = !0, l.data.helperColor = "#ffffff", l.data.helperSize = 3, l.data.decay = 2, l.data.intensity = 1, l.data.distance = 0, l.data.angle = Math.PI / 2, e.world.lights?.add(structuredClone(Pl(l.data))), s.setCurrent(l.data.id), i();
11719
+ l.data.name = s.type.find((y) => y.value === l.data.type)?.label ?? "光源", l.data.id = Fl(), l.data.color = "#ffffff", l.data.groundColor = "#ffffff", l.data.position = { x: 0, y: 0, z: 0 }, l.data.rotate = { x: 0, y: 0, z: 0 }, l.data.debugger = !0, l.data.visible = !0, l.data.helper = !0, l.data.helperColor = "#ffffff", l.data.helperSize = 3, l.data.decay = 2, l.data.intensity = 1, l.data.distance = 0, l.data.angle = Math.PI / 2, e.world.lights?.add(structuredClone(Pl(l.data))), s.setCurrent(l.data.id), i();
11754
11720
  }
11755
11721
  }), u = De(() => e.lights), f = Ms({
11756
11722
  vector3: new ce.Vector3()
@@ -11780,7 +11746,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
11780
11746
  "onUpdate:modelValue": b[0] || (b[0] = (H) => rt(s).collapse = H)
11781
11747
  }, {
11782
11748
  default: N(() => [
11783
- (me(!0), je(Vn, null, nr(u.value, (H) => (me(), We(X, {
11749
+ (me(!0), je(On, null, tr(u.value, (H) => (me(), We(X, {
11784
11750
  key: H.id,
11785
11751
  name: H.id
11786
11752
  }, {
@@ -12081,7 +12047,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12081
12047
  "onUpdate:modelValue": b[1] || (b[1] = (H) => l.data.type = H)
12082
12048
  }, {
12083
12049
  default: N(() => [
12084
- (me(!0), je(Vn, null, nr(rt(s).type, (H) => (me(), We(Q, {
12050
+ (me(!0), je(On, null, tr(rt(s).type, (H) => (me(), We(Q, {
12085
12051
  key: H.value,
12086
12052
  label: H.label,
12087
12053
  value: H.value
@@ -12101,7 +12067,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12101
12067
  ]);
12102
12068
  };
12103
12069
  }
12104
- }), Th = /* @__PURE__ */ Ht(xh, [["__scopeId", "data-v-8e0fbcd8"]]), Sh = { class: "flex flex-col" }, Eh = /* @__PURE__ */ pt({
12070
+ }), Th = /* @__PURE__ */ Ht(xh, [["__scopeId", "data-v-33a7c0fc"]]), Sh = { class: "flex flex-col" }, Eh = /* @__PURE__ */ pt({
12105
12071
  __name: "renderer",
12106
12072
  props: {
12107
12073
  world: {}
@@ -12143,7 +12109,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12143
12109
  lights: {}
12144
12110
  },
12145
12111
  setup(c) {
12146
- const e = Oa(), { panels: t } = Ul(e), { conf: n } = Gd(), r = wn(), i = c, s = Mt({
12112
+ const e = Oa(), { panels: t } = Bl(e), { conf: n } = Gd(), r = or(), i = c, s = Mt({
12147
12113
  collapseActive: 1,
12148
12114
  tabBase: 1,
12149
12115
  tabExtra: 1
@@ -12155,7 +12121,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12155
12121
  }
12156
12122
  return jt(l), (u, f) => {
12157
12123
  const m = ge("el-text"), h = ge("el-tab-pane"), y = ge("el-tabs"), b = ge("el-collapse-item"), x = ge("el-collapse");
12158
- return me(), We(rt(gc), {
12124
+ return me(), We(rt(yc), {
12159
12125
  ref_key: "scaleRef",
12160
12126
  ref: r,
12161
12127
  modelValue: rt(n),
@@ -12262,7 +12228,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12262
12228
  "onUpdate:modelValue": f[1] || (f[1] = (_) => s.tabExtra = _)
12263
12229
  }, {
12264
12230
  default: N(() => [
12265
- (me(!0), je(Vn, null, nr(rt(t), (_, T) => (me(), We(h, {
12231
+ (me(!0), je(On, null, tr(rt(t), (_, T) => (me(), We(h, {
12266
12232
  key: _.id,
12267
12233
  label: _.label,
12268
12234
  name: T + 1
@@ -12408,7 +12374,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12408
12374
  class: "i-ep:close text-12px"
12409
12375
  }, null, -1)])]), Ro(C(pa, {
12410
12376
  data: u.data
12411
- }, null, 8, ["data"]), [[ko, s.value]]), (me(!0), je(Vn, null, nr(l.dataList, (h) => (me(), je("div", {
12377
+ }, null, 8, ["data"]), [[ko, s.value]]), (me(!0), je(On, null, tr(l.dataList, (h) => (me(), je("div", {
12412
12378
  key: h.url,
12413
12379
  class: "flex flex-col gap-10px"
12414
12380
  }, [C(pa, {
@@ -12455,7 +12421,7 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12455
12421
  }), t.inited = !0);
12456
12422
  }
12457
12423
  return jt(i), Do(() => {
12458
- }), (s, l) => (me(), je(Vn, null, [
12424
+ }), (s, l) => (me(), je(On, null, [
12459
12425
  C(Lh, {
12460
12426
  modelValue: t.full,
12461
12427
  "onUpdate:modelValue": l[0] || (l[0] = (u) => t.full = u),
@@ -12477,15 +12443,15 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12477
12443
  },
12478
12444
  emits: ["targetClick", "loaded"],
12479
12445
  setup(c, { expose: e, emit: t }) {
12480
- const { addPanel: n } = Oa(), r = t, i = c, s = De(() => i.config), l = De(() => s.value.url), u = De(() => s.value.camera), f = De(() => s.value.control), m = De(() => s.value.renderer), h = De(() => s.value.lights), y = Dn(new ce.Color()), b = Wn("threeRef"), x = Dn(new Fd()), _ = {
12446
+ const { addPanel: n } = Oa(), r = t, i = c, s = De(() => i.config), l = De(() => s.value.url), u = De(() => s.value.camera), f = De(() => s.value.control), m = De(() => s.value.renderer), h = De(() => s.value.lights), y = Ln(new ce.Color()), b = $n("threeRef"), x = Ln(new Fd()), _ = {
12481
12447
  core: x,
12482
12448
  bot: null,
12483
- scene: Dn(
12449
+ scene: Ln(
12484
12450
  new Xd(x, {
12485
12451
  dracoLoaderPath: i.dracoDecoderPath
12486
12452
  })
12487
12453
  ),
12488
- lights: Dn(new Hd(x))
12454
+ lights: Ln(new Hd(x))
12489
12455
  };
12490
12456
  function T() {
12491
12457
  try {
@@ -12509,12 +12475,12 @@ const Yd = { class: "flex flex-col gap10px" }, qd = { class: "flex flex-col gap-
12509
12475
  id: "Config",
12510
12476
  label: "Config",
12511
12477
  node: xo(
12512
- yc,
12478
+ vc,
12513
12479
  { border: !0, column: 1 },
12514
12480
  () => xo(
12515
- vc,
12481
+ bc,
12516
12482
  { label: "config" },
12517
- () => xo(bc, {
12483
+ () => xo(wc, {
12518
12484
  readonly: !0,
12519
12485
  type: "textarea",
12520
12486
  rows: 6,
@@ -12617,7 +12583,7 @@ function qh(c, e) {
12617
12583
  }, null, -1)
12618
12584
  ])]);
12619
12585
  }
12620
- const $h = Dn({ name: "ic-baseline-content-copy", render: qh }), Wh = {
12586
+ const $h = Ln({ name: "ic-baseline-content-copy", render: qh }), Wh = {
12621
12587
  viewBox: "0 0 24 24",
12622
12588
  width: "1.2em",
12623
12589
  height: "1.2em"
@@ -12630,13 +12596,13 @@ function Zh(c, e) {
12630
12596
  }, null, -1)
12631
12597
  ])]);
12632
12598
  }
12633
- const Qh = Dn({ name: "ic-outline-check", render: Zh }), Vf = /* @__PURE__ */ pt({
12599
+ const Qh = Ln({ name: "ic-outline-check", render: Zh }), Vf = /* @__PURE__ */ pt({
12634
12600
  __name: "index",
12635
12601
  props: {
12636
12602
  text: {}
12637
12603
  },
12638
12604
  setup(c) {
12639
- const { copied: e, onCopy: t } = Fl();
12605
+ const { copied: e, onCopy: t } = jl();
12640
12606
  return (n, r) => {
12641
12607
  const i = Qh, s = $h, l = ge("el-button");
12642
12608
  return me(), We(l, {
@@ -12672,7 +12638,7 @@ function ef(c, e) {
12672
12638
  }, null, -1)
12673
12639
  ])]);
12674
12640
  }
12675
- const tf = Dn({ name: "ep-loading", render: ef }), nf = /* @__PURE__ */ pt({
12641
+ const tf = Ln({ name: "ep-loading", render: ef }), nf = /* @__PURE__ */ pt({
12676
12642
  __name: "index",
12677
12643
  props: {
12678
12644
  modelValue: { type: Boolean },
@@ -12705,7 +12671,6 @@ export {
12705
12671
  Fd as Core,
12706
12672
  Of as DialogPanel,
12707
12673
  Vd as El,
12708
- So as HandleEv,
12709
12674
  ht as KeyCode,
12710
12675
  Vt as LightType,
12711
12676
  Hd as Lights,
@@ -12716,7 +12681,6 @@ export {
12716
12681
  ff as ScalePanel,
12717
12682
  Xd as Scene,
12718
12683
  Ff as Spinner,
12719
- Da as Status,
12720
12684
  Df as ThreePanel,
12721
12685
  If as a2r,
12722
12686
  jr as db,
@@ -12729,8 +12693,7 @@ export {
12729
12693
  Af as useCSS2DRenderer,
12730
12694
  Ad as useCollider,
12731
12695
  Oa as useDebugger,
12732
- kc as useDialog,
12733
12696
  Rf as useElement,
12734
12697
  Mc as useKeyboard,
12735
- Ac as useScale
12698
+ Rc as useScale
12736
12699
  };