@toolmain/components 1.2.17 → 1.2.18
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.d.ts +74 -53
- package/dist/index.js +758 -757
- package/package.json +16 -16
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.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-ep\\:search{--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='m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704'/%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}[line-clamp~="1"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.z-100{z-index:100}.grid{display:grid}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}.mt-20px{margin-top:20px}.contents{display:contents}.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\\:border-color-\\#1c8bd4:hover{--un-border-opacity:1;border-color:rgb(28 139 212 / var(--un-border-opacity))}.hover\\:border-dashed:hover{border-style:dashed}.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))}.hover\\:c-\\#1c8bd4:hover{--un-text-opacity:1;color:rgb(28 139 212 / var(--un-text-opacity))}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.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-a741011d],.p-r[data-v-a741011d],.p-b[data-v-a741011d],.p-l[data-v-a741011d],.p-lt[data-v-a741011d],.p-rt[data-v-a741011d],.p-lb[data-v-a741011d],.p-rb[data-v-a741011d]{z-index:var(--4f09a435);position:absolute}.p-b[data-v-a741011d],.p-t[data-v-a741011d],.p-r[data-v-a741011d],.p-l[data-v-a741011d]{background-color:transparent;border-radius:4px}.p-b[data-v-a741011d],.p-t[data-v-a741011d]{height:4px;left:4px;right:4px}.p-r[data-v-a741011d],.p-l[data-v-a741011d]{width:4px;top:4px;bottom:4px}.p-lt[data-v-a741011d],.p-rt[data-v-a741011d],.p-lb[data-v-a741011d],.p-rb[data-v-a741011d]{width:0;height:0}.p-b[data-v-a741011d]{bottom:0;cursor:ns-resize}.p-t[data-v-a741011d]{top:0;cursor:ns-resize}.p-r[data-v-a741011d]{right:0;cursor:ew-resize}.p-l[data-v-a741011d]{left:0;cursor:ew-resize}.p-lt[data-v-a741011d]{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-a741011d]{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-a741011d]{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-a741011d]{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-bfb069f0]{display:flex;flex-direction:column;transform-origin:0 0}.dragContainer>.dragHeader[data-v-bfb069f0]{flex-shrink:0;display:flex}.dragContainer>.scaleContent[data-v-bfb069f0]{flex:1;overflow:hidden;position:relative;display:flex}.dragMask[data-v-bfb069f0]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}[data-v-73acf5a1] .el-input-number,[data-v-c08698cc] .el-input-number{width:100%}.wrap[data-v-3be83448]{background-size:100% 100%;background-repeat:no-repeat}[data-v-3be83448] .el-progress-bar__innerText{height:100%}[data-v-3be83448] .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-2473c0f7]{--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)}}.components-wrapper[data-v-7e8b5a99]{cursor:pointer;display:grid;grid-template-columns:repeat(var(--64cc252a),1fr);gap:5px}.components-wrapper .el-card[data-v-7e8b5a99]{--el-card-padding: 5px}.resize-handler[data-v-2d27d0cf]{--resize-bg: transparent;--resize-hover-bg: var(--el-color-primary);--resize-active-bg: var(--el-color-primary);position:absolute;display:flex;align-items:center;justify-content:center}.resize-handler[data-v-2d27d0cf]:before{content:"";position:absolute;width:var(--00fae9cf);height:var(--0493563e);left:var(--5ae84abe);top:var(--6dc028c4);bottom:var(--0a2f417c);right:var(--00b47e25);background-color:var(--resize-bg)}.resize-handler[data-v-2d27d0cf]:hover:before{background-color:var(--resize-hover-bg)}.resize-handler[data-v-2d27d0cf]:active:before{background-color:var(--resize-active-bg)}`)),document.head.appendChild(r)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
import { defineComponent as lt, useTemplateRef as An, shallowRef as Gt, computed as Ie, reactive as It, onMounted as Bt, onBeforeUnmount as vr, createElementBlock as
|
|
3
|
-
import { px as et, useEvent as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.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-ep\\:search{--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='m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704'/%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}[line-clamp~="1"]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.z-100{z-index:100}.grid{display:grid}[rows~="4"]{grid-template-rows:repeat(4,minmax(0,1fr))}.mt-20px{margin-top:20px}.contents{display:contents}.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\\:border-color-\\#1c8bd4:hover{--un-border-opacity:1;border-color:rgb(28 139 212 / var(--un-border-opacity))}.hover\\:border-dashed:hover{border-style:dashed}.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))}.hover\\:c-\\#1c8bd4:hover{--un-text-opacity:1;color:rgb(28 139 212 / var(--un-text-opacity))}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.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-a741011d],.p-r[data-v-a741011d],.p-b[data-v-a741011d],.p-l[data-v-a741011d],.p-lt[data-v-a741011d],.p-rt[data-v-a741011d],.p-lb[data-v-a741011d],.p-rb[data-v-a741011d]{z-index:var(--v4f09a435);position:absolute}.p-b[data-v-a741011d],.p-t[data-v-a741011d],.p-r[data-v-a741011d],.p-l[data-v-a741011d]{background-color:transparent;border-radius:4px}.p-b[data-v-a741011d],.p-t[data-v-a741011d]{height:4px;left:4px;right:4px}.p-r[data-v-a741011d],.p-l[data-v-a741011d]{width:4px;top:4px;bottom:4px}.p-lt[data-v-a741011d],.p-rt[data-v-a741011d],.p-lb[data-v-a741011d],.p-rb[data-v-a741011d]{width:0;height:0}.p-b[data-v-a741011d]{bottom:0;cursor:ns-resize}.p-t[data-v-a741011d]{top:0;cursor:ns-resize}.p-r[data-v-a741011d]{right:0;cursor:ew-resize}.p-l[data-v-a741011d]{left:0;cursor:ew-resize}.p-lt[data-v-a741011d]{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-a741011d]{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-a741011d]{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-a741011d]{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-bfb069f0]{display:flex;flex-direction:column;transform-origin:0 0}.dragContainer>.dragHeader[data-v-bfb069f0]{flex-shrink:0;display:flex}.dragContainer>.scaleContent[data-v-bfb069f0]{flex:1;overflow:hidden;position:relative;display:flex}.dragMask[data-v-bfb069f0]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}[data-v-73acf5a1] .el-input-number,[data-v-c08698cc] .el-input-number{width:100%}.wrap[data-v-3be83448]{background-size:100% 100%;background-repeat:no-repeat}[data-v-3be83448] .el-progress-bar__innerText{height:100%}[data-v-3be83448] .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-2473c0f7]{--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)}}.components-wrapper[data-v-7e8b5a99]{cursor:pointer;display:grid;grid-template-columns:repeat(var(--v64cc252a),1fr);gap:5px}.components-wrapper .el-card[data-v-7e8b5a99]{--el-card-padding: 5px}.resize-handler[data-v-2d27d0cf]{--resize-bg: transparent;--resize-hover-bg: var(--el-color-primary);--resize-active-bg: var(--el-color-primary);position:absolute;display:flex;align-items:center;justify-content:center}.resize-handler[data-v-2d27d0cf]:before{content:"";position:absolute;width:var(--v00fae9cf);height:var(--v0493563e);left:var(--v5ae84abe);top:var(--v6dc028c4);bottom:var(--v0a2f417c);right:var(--v00b47e25);background-color:var(--resize-bg)}.resize-handler[data-v-2d27d0cf]:hover:before{background-color:var(--resize-hover-bg)}.resize-handler[data-v-2d27d0cf]:active:before{background-color:var(--resize-active-bg)}`)),document.head.appendChild(r)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
+
import { defineComponent as lt, useTemplateRef as An, shallowRef as Gt, computed as Ie, reactive as It, onMounted as Bt, onBeforeUnmount as vr, createElementBlock as Z, openBlock as X, normalizeStyle as Jn, normalizeClass as Jo, createElementVNode as H, renderSlot as vn, useCssVars as Es, createCommentVNode as tn, Fragment as rn, renderList as Yt, withDirectives as Zo, vShow as Qo, unref as T, ref as St, toValue as Gr, watch as jt, toRef as Uo, createBlock as Je, Teleport as Tc, withCtx as z, createVNode as L, Transition as Cc, resolveDynamicComponent as to, cloneVNode as Pc, h as oe, isVNode as dl, render as Lc, mergeProps as ii, resolveComponent as pl, createTextVNode as pt, toDisplayString as gt, shallowReactive as ma, toRaw as Ts, withModifiers as ga, toHandlers as fl, isRef as Yr, watchEffect as Mc, markRaw as we, createSlots as Cs, normalizeProps as kc, guardReactiveProps as Oc, effectScope as Ac, isReactive as Ic } from "vue";
|
|
3
|
+
import { px as et, useEvent as hn, z as Rc, getStyleValue as qr, isBoolean as ya, isNumber as On, toNumber as He, useFlip as Dc, merge as Nc, isUndefined as nn, resolvePath as va, useDialog as Vc, msg as jc, uniqueId as no, isString as Wr, useCopy as Bc, cloneDeep as In } from "@toolmain/shared";
|
|
4
4
|
import { useElementBounding as ei, useIntersectionObserver as ba, useThrottleFn as hl, useDebounceFn as ml } from "@vueuse/core";
|
|
5
5
|
import { RouterView as zc } from "vue-router";
|
|
6
6
|
import { defineStore as Fc, storeToRefs as Uc } from "pinia";
|
|
7
7
|
import * as Ce from "three";
|
|
8
|
-
import { Controls as gl, Vector3 as ye, MOUSE as dr, TOUCH as cr, Quaternion as dt, Spherical as wa, Vector2 as At, Ray as Hc, Plane as $c, MathUtils as xt, Raycaster as Kc, Object3D as
|
|
8
|
+
import { Controls as gl, Vector3 as ye, MOUSE as dr, TOUCH as cr, Quaternion as dt, Spherical as wa, Vector2 as At, Ray as Hc, Plane as $c, MathUtils as xt, Raycaster as Kc, Object3D as pn, MeshBasicMaterial as Zn, LineBasicMaterial as pr, CylinderGeometry as Rt, BoxGeometry as Pt, BufferGeometry as bn, Float32BufferAttribute as Nt, Mesh as Te, OctahedronGeometry as Ao, Line as un, TorusGeometry as Ir, SphereGeometry as Xc, Euler as kn, Matrix4 as Ze, PlaneGeometry as Gc, DoubleSide as yl, Vector4 as Jr, Curve as Yc, TrianglesDrawMode as qc, TriangleFanDrawMode as as, TriangleStripDrawMode as vl, Loader as gr, FileLoader as yr, SRGBColorSpace as ut, LinearSRGBColorSpace as fn, BufferAttribute as Ur, Color as _t, ColorManagement as Zt, LoaderUtils as fr, TextureLoader as bl, RepeatWrapping as Zr, ClampToEdgeWrapping as ls, Texture as cs, MeshPhongMaterial as jr, MeshLambertMaterial as Wc, EquirectangularReflectionMapping as Jc, Group as hr, Bone as us, PropertyBinding as Qr, PerspectiveCamera as wl, PointLight as ds, SpotLight as _l, DirectionalLight as xl, SkinnedMesh as Sl, Skeleton as El, AmbientLight as Zc, Uint16BufferAttribute as Qc, Matrix3 as eu, ShapeUtils as tu, AnimationClip as Tl, VectorKeyframeTrack as ps, QuaternionKeyframeTrack as ti, NumberKeyframeTrack as fs, MeshPhysicalMaterial as mn, InstancedMesh as nu, InstancedBufferAttribute as ru, ImageBitmapLoader as ou, InterleavedBuffer as iu, InterleavedBufferAttribute as su, LinearMipmapLinearFilter as Cl, NearestMipmapLinearFilter as au, LinearMipmapNearestFilter as lu, NearestMipmapNearestFilter as cu, LinearFilter as hs, NearestFilter as Pl, MirroredRepeatWrapping as uu, PointsMaterial as Br, Material as Hr, MeshStandardMaterial as Ll, LineSegments as ms, LineLoop as du, Points as Ho, OrthographicCamera as pu, InterpolateDiscrete as fu, InterpolateLinear as Ml, FrontSide as hu, Interpolant as mu, Box3 as gu, Sphere as yu } from "three";
|
|
9
9
|
import * as gs from "element-plus";
|
|
10
10
|
import { ElDescriptions as Qt, ElDescriptionsItem as ve, ElCard as si, ElButton as en, ElTooltip as _a, ElInput as Ps, ElTag as $i, ElUpload as vu, ElRadioGroup as kl, ElRadioButton as $o, ElInputNumber as Oe, ElSwitch as Mt, ElCollapse as Ls, ElCollapseItem as ni, ElText as ri, ElColorPicker as ys, ElDialog as bu, ElForm as wu, ElFormItem as Ol, ElRow as _u, ElTabs as xa, ElTabPane as Kn, ElProgress as Al, ElScrollbar as Il, ElSlider as xu } from "element-plus";
|
|
11
11
|
import { ScalePanel as Su, useScale as Eu, ScaleEv as Sa } from "@toolmain/components";
|
|
@@ -59,8 +59,8 @@ const Io = 2, Tu = /* @__PURE__ */ lt({
|
|
|
59
59
|
))
|
|
60
60
|
f.affix.needFloat = !1;
|
|
61
61
|
else if (P()) {
|
|
62
|
-
const
|
|
63
|
-
f.affix.needFloat = a.position === "top" ?
|
|
62
|
+
const ke = _.value + w.value / 2 <= window.innerHeight / 2;
|
|
63
|
+
f.affix.needFloat = a.position === "top" ? ke : !ke;
|
|
64
64
|
}
|
|
65
65
|
f.affix.needFloat ? (h.value = {
|
|
66
66
|
zIndex: 100,
|
|
@@ -71,30 +71,30 @@ const Io = 2, Tu = /* @__PURE__ */ lt({
|
|
|
71
71
|
height: et(c.value)
|
|
72
72
|
}) : (h.value = {}, m.value = {});
|
|
73
73
|
};
|
|
74
|
-
function U(
|
|
75
|
-
const { boundingClientRect:
|
|
76
|
-
qe &&
|
|
74
|
+
function U(ke, Le) {
|
|
75
|
+
const { boundingClientRect: ce, intersectionRect: Xe, rootBounds: qe } = ke;
|
|
76
|
+
qe && ke.isIntersecting && (Le.length = 0, Xe.y - ce.y > Io && Le.push(
|
|
77
77
|
"top"
|
|
78
78
|
/* Top */
|
|
79
|
-
),
|
|
79
|
+
), ce.y - Xe.y > Io && Le.push(
|
|
80
80
|
"bottom"
|
|
81
81
|
/* Bottom */
|
|
82
|
-
), Xe.x -
|
|
82
|
+
), Xe.x - ce.x > Io && Le.push(
|
|
83
83
|
"left"
|
|
84
84
|
/* Left */
|
|
85
|
-
),
|
|
85
|
+
), ce.x + ce.width - (Xe.x + Xe.width) > Io && Le.push(
|
|
86
86
|
"right"
|
|
87
87
|
/* Right */
|
|
88
88
|
));
|
|
89
89
|
}
|
|
90
|
-
const G = ([
|
|
91
|
-
f.affix.isIntersecting =
|
|
92
|
-
},
|
|
93
|
-
f.target.isIntersecting =
|
|
94
|
-
},
|
|
90
|
+
const G = ([ke]) => {
|
|
91
|
+
f.affix.isIntersecting = ke.isIntersecting, U(ke, f.affix.directions), f.affix.intersectionRatio = ke.intersectionRatio, A();
|
|
92
|
+
}, Q = ([ke]) => {
|
|
93
|
+
f.target.isIntersecting = ke.isIntersecting, U(ke, f.target.directions), f.target.intersectionRatio = ke.intersectionRatio, A();
|
|
94
|
+
}, se = ba(t, G, {
|
|
95
95
|
root: window.document.documentElement,
|
|
96
96
|
threshold: [0, 0.01, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.99, 1]
|
|
97
|
-
}), B = ba(o,
|
|
97
|
+
}), B = ba(o, Q, {
|
|
98
98
|
root: window.document.documentElement,
|
|
99
99
|
threshold: [0, 0.01, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.99, 1]
|
|
100
100
|
});
|
|
@@ -105,12 +105,12 @@ const Io = 2, Tu = /* @__PURE__ */ lt({
|
|
|
105
105
|
return Bt(() => {
|
|
106
106
|
Y(), window.addEventListener("resize", xe);
|
|
107
107
|
}), vr(() => {
|
|
108
|
-
window.removeEventListener("resize", xe),
|
|
108
|
+
window.removeEventListener("resize", xe), se.stop(), B.stop();
|
|
109
109
|
}), e({
|
|
110
110
|
update: () => {
|
|
111
111
|
P() && A();
|
|
112
112
|
}
|
|
113
|
-
}), (
|
|
113
|
+
}), (ke, Le) => (X(), Z("div", {
|
|
114
114
|
class: Jo(["comp-affix", { fix: f.affix.needFloat }]),
|
|
115
115
|
style: Jn(m.value),
|
|
116
116
|
ref: "affix"
|
|
@@ -121,7 +121,7 @@ const Io = 2, Tu = /* @__PURE__ */ lt({
|
|
|
121
121
|
style: Jn([h.value, m.value]),
|
|
122
122
|
class: Jo(["comp-affix-inner", { fix: f.affix.needFloat }])
|
|
123
123
|
}, [
|
|
124
|
-
vn(
|
|
124
|
+
vn(ke.$slots, "default", {}, void 0, !0)
|
|
125
125
|
], 6)
|
|
126
126
|
], 6));
|
|
127
127
|
}
|
|
@@ -155,7 +155,7 @@ function Ta() {
|
|
|
155
155
|
}
|
|
156
156
|
function Cu() {
|
|
157
157
|
let a, e = Ta(), t = Ea(), n = !1, r = !1;
|
|
158
|
-
const o =
|
|
158
|
+
const o = hn(), s = {
|
|
159
159
|
emit: (_, ...w) => {
|
|
160
160
|
n || o.emit(_, ...w);
|
|
161
161
|
},
|
|
@@ -223,7 +223,7 @@ function Cu() {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
function Pu() {
|
|
226
|
-
const a =
|
|
226
|
+
const a = hn();
|
|
227
227
|
let e = !1;
|
|
228
228
|
const t = {
|
|
229
229
|
direction: "any"
|
|
@@ -292,15 +292,15 @@ const Lu = ["onMousedown"], Mu = /* @__PURE__ */ lt({
|
|
|
292
292
|
},
|
|
293
293
|
setup(a) {
|
|
294
294
|
Es((n) => ({
|
|
295
|
-
|
|
295
|
+
v4f09a435: t.value
|
|
296
296
|
}));
|
|
297
297
|
const e = a, t = Ie(() => e.config.normal ? void 0 : Rc.ABSOLUTE);
|
|
298
|
-
return (n, r) =>
|
|
298
|
+
return (n, r) => a.scale ? (X(!0), Z(rn, { key: 0 }, Yt(a.scale.pointer, (o) => Zo((X(), Z("i", {
|
|
299
299
|
key: o,
|
|
300
300
|
class: Jo([`p-${o}`]),
|
|
301
|
-
onMousedown: (s) =>
|
|
301
|
+
onMousedown: (s) => a.scale.onMouseDown(s, o)
|
|
302
302
|
}, null, 42, Lu)), [
|
|
303
|
-
[Qo,
|
|
303
|
+
[Qo, a.config.scalable]
|
|
304
304
|
])), 128)) : tn("", !0);
|
|
305
305
|
}
|
|
306
306
|
}), ku = /* @__PURE__ */ zt(Mu, [["__scopeId", "data-v-a741011d"]]), Ro = (a) => {
|
|
@@ -396,32 +396,32 @@ function Ou(a, e, t, n, r, o, s) {
|
|
|
396
396
|
e.value && e.value.setTarget(Gr(o) ?? s.value ?? null);
|
|
397
397
|
}
|
|
398
398
|
function x() {
|
|
399
|
-
t.value?.setStatus(Rl.NORMAL), A(a.value.movable), G(a.value.moveConfig),
|
|
399
|
+
t.value?.setStatus(Rl.NORMAL), A(a.value.movable), G(a.value.moveConfig), Q(a.value.x, a.value.y), U(a.value.normal), ya(a.value.visible) ? P(a.value.visible, !1) : t.value?.hideTo("self", !1);
|
|
400
400
|
}
|
|
401
|
-
function P(
|
|
402
|
-
if (!ya(
|
|
401
|
+
function P(se, B) {
|
|
402
|
+
if (!ya(se)) return;
|
|
403
403
|
const Y = On(a.value.x) || On(a.value.y);
|
|
404
|
-
|
|
404
|
+
se ? t.value?.show(B, Y ? { x: a.value.x, y: a.value.y } : "self") : t.value?.hideTo(Y ? { x: a.value.x, y: a.value.y } : "self", B);
|
|
405
405
|
}
|
|
406
|
-
function A(
|
|
407
|
-
|
|
406
|
+
function A(se) {
|
|
407
|
+
se ? e.value?.enable() : e.value?.disable();
|
|
408
408
|
}
|
|
409
|
-
function U(
|
|
410
|
-
|
|
409
|
+
function U(se) {
|
|
410
|
+
se ? (e.value?.setTarget(), v.value = m("position"), a.value.movable = !1, a.value.scalable = !1, c(), f("position", "static")) : (w(), f("position", v.value));
|
|
411
411
|
}
|
|
412
|
-
function G(
|
|
413
|
-
|
|
412
|
+
function G(se) {
|
|
413
|
+
se && e.value?.updateOption(se);
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function Q(se, B) {
|
|
416
416
|
if (!e.value?.isMoving() && (On(a.value.x) || On(a.value.y))) {
|
|
417
|
-
const Y = He(
|
|
417
|
+
const Y = He(se), xe = He(B);
|
|
418
418
|
d(Y, xe), h(Y, xe);
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
return jt(() => a.value.movable, A), jt(() => a.value.normal, U), jt(() => a.value.moveConfig, G, { deep: !0 }), jt(
|
|
422
422
|
() => a.value.visible,
|
|
423
|
-
(
|
|
424
|
-
), jt([() => a.value.x, () => a.value.y], ([
|
|
423
|
+
(se) => P(se, !0)
|
|
424
|
+
), jt([() => a.value.x, () => a.value.y], ([se, B]) => Q(se, B)), jt(o, () => {
|
|
425
425
|
a.value.normal || w();
|
|
426
426
|
}), {
|
|
427
427
|
autoStick: _,
|
|
@@ -438,7 +438,7 @@ var Rl = /* @__PURE__ */ ((a) => (a.NORMAL = "NORMAL", a.HIDDEN = "HIDDEN", a))(
|
|
|
438
438
|
const Au = (a) => {
|
|
439
439
|
const { getTranslate: e, setTranslate: t, setScale: n, setPrevTranslate: r, getScale: o } = Ms(a.dragOffset);
|
|
440
440
|
let s = a.parent;
|
|
441
|
-
const c = Dc(), d =
|
|
441
|
+
const c = Dc(), d = hn(), h = St(
|
|
442
442
|
"NORMAL"
|
|
443
443
|
/* NORMAL */
|
|
444
444
|
), m = {
|
|
@@ -453,26 +453,26 @@ const Au = (a) => {
|
|
|
453
453
|
}
|
|
454
454
|
const { x, y: P, width: A, left: U } = ei(a.targetEle);
|
|
455
455
|
function G(q, be) {
|
|
456
|
-
const
|
|
456
|
+
const de = {
|
|
457
457
|
width: window.innerWidth,
|
|
458
458
|
height: window.innerHeight
|
|
459
459
|
};
|
|
460
460
|
if (!a.targetEle.value || q.position === "fixed")
|
|
461
|
-
return
|
|
461
|
+
return de;
|
|
462
462
|
{
|
|
463
|
-
if (be) return
|
|
463
|
+
if (be) return de;
|
|
464
464
|
const Be = De();
|
|
465
|
-
return
|
|
465
|
+
return de.width = Be.offsetWidth, de.height = Be.offsetHeight, de;
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function Q(q, be, de, Pe, Be) {
|
|
469
469
|
return () => {
|
|
470
470
|
n(Be[0], Be[1]), t(q, be), r(q, be);
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
|
-
function
|
|
474
|
-
const
|
|
475
|
-
if (!a.targetEle.value) return
|
|
473
|
+
function se(q, be) {
|
|
474
|
+
const de = { x: 0, y: 0, w: 0, h: 0 };
|
|
475
|
+
if (!a.targetEle.value) return de;
|
|
476
476
|
const Pe = Nc(
|
|
477
477
|
{
|
|
478
478
|
x: (qt, on, ai, li) => on,
|
|
@@ -483,41 +483,41 @@ const Au = (a) => {
|
|
|
483
483
|
), Be = !!a.config.value.attachWindow, Ge = window.getComputedStyle(a.targetEle.value), fe = G(Ge, Be);
|
|
484
484
|
let Ke = 0, We = 0;
|
|
485
485
|
const _e = He(Ge.width), Ve = He(Ge.height);
|
|
486
|
-
|
|
486
|
+
de.w = _e, de.h = Ve;
|
|
487
487
|
const { translateX: rt, translateY: Qe } = e();
|
|
488
488
|
if (Ge.position === "fixed" ? (Ke = He(Ge.left), We = He(Ge.top)) : Be ? (Ke = He(x.value - rt), We = He(P.value - Qe)) : (Ke = He(Ge.left), We = He(Ge.top)), typeof q == "string")
|
|
489
489
|
switch (q) {
|
|
490
490
|
case "left": {
|
|
491
|
-
|
|
491
|
+
de.x = Pe.x(rt, -He(Ke), _e, Ve), de.y = Pe.y(Qe, Qe, _e, Ve);
|
|
492
492
|
break;
|
|
493
493
|
}
|
|
494
494
|
case "top": {
|
|
495
|
-
|
|
495
|
+
de.x = Pe.x(rt, rt, _e, Ve), de.y = Pe.y(Qe, -He(We), _e, Ve);
|
|
496
496
|
break;
|
|
497
497
|
}
|
|
498
498
|
case "right": {
|
|
499
|
-
|
|
499
|
+
de.x = Pe.x(rt, -He(Ke) + fe.width - _e, _e, Ve), de.y = Pe.y(Qe, Qe, _e, Ve);
|
|
500
500
|
break;
|
|
501
501
|
}
|
|
502
502
|
case "bottom": {
|
|
503
|
-
|
|
503
|
+
de.x = Pe.x(rt, rt, _e, Ve), de.y = Pe.y(Qe, -He(We) + fe.height - Ve, _e, Ve);
|
|
504
504
|
break;
|
|
505
505
|
}
|
|
506
506
|
case "self": {
|
|
507
|
-
|
|
507
|
+
de.x = Pe.x(rt, rt, _e, Ve), de.y = Pe.y(Qe, Qe, _e, Ve);
|
|
508
508
|
break;
|
|
509
509
|
}
|
|
510
510
|
case "center":
|
|
511
511
|
default:
|
|
512
|
-
|
|
512
|
+
de.x = Pe.x(rt, -He(Ke) + fe.width / 2 - _e / 2, _e, Ve), de.y = Pe.y(Qe, -He(We) + fe.height / 2 - Ve / 2, _e, Ve);
|
|
513
513
|
}
|
|
514
514
|
else
|
|
515
|
-
On(q.x) ?
|
|
516
|
-
return
|
|
515
|
+
On(q.x) ? de.x = Pe.x(rt, -He(Ke) + (q.x ?? rt), _e, Ve) : de.x = Pe.x(rt, rt, _e, Ve), On(q.y) ? de.y = Pe.y(Qe, -He(We) + (q.y ?? Qe), _e, Ve) : de.y = Pe.y(Qe, Qe, _e, Ve);
|
|
516
|
+
return de;
|
|
517
517
|
}
|
|
518
|
-
async function B(q, be,
|
|
518
|
+
async function B(q, be, de, Pe) {
|
|
519
519
|
await new Promise((Be) => {
|
|
520
|
-
if (
|
|
520
|
+
if (de(), !be) {
|
|
521
521
|
Be();
|
|
522
522
|
return;
|
|
523
523
|
}
|
|
@@ -536,25 +536,25 @@ const Au = (a) => {
|
|
|
536
536
|
function Y() {
|
|
537
537
|
return He(U.value) + He(A.value) / 2 >= window.innerWidth / 2 ? "right" : "left";
|
|
538
538
|
}
|
|
539
|
-
async function xe(q = !0, be,
|
|
539
|
+
async function xe(q = !0, be, de) {
|
|
540
540
|
if (!a.targetEle.value) return;
|
|
541
|
-
const { x: Pe, y: Be, w: Ge, h: fe } =
|
|
541
|
+
const { x: Pe, y: Be, w: Ge, h: fe } = se(be, de), { scaleX: Ke, scaleY: We } = o(), _e = {
|
|
542
542
|
old: [Ke, We],
|
|
543
543
|
final: [Ke, We]
|
|
544
544
|
};
|
|
545
|
-
if (
|
|
546
|
-
const on =
|
|
545
|
+
if (de?.scale) {
|
|
546
|
+
const on = de.scale(_e.old, _e.final);
|
|
547
547
|
_e.old = on[0], _e.final = on[1];
|
|
548
548
|
}
|
|
549
|
-
const Ve =
|
|
549
|
+
const Ve = Q(Pe, Be, Ge, fe, _e.final), { translateX: rt, translateY: Qe } = e(), qt = [
|
|
550
550
|
{ scale: _e.old, translate: [et(rt), et(Qe)] },
|
|
551
551
|
{ scale: _e.final, translate: [et(Pe), et(Be)] }
|
|
552
552
|
];
|
|
553
553
|
await B(a.targetEle.value, q, Ve, qt);
|
|
554
554
|
}
|
|
555
|
-
async function
|
|
555
|
+
async function ke(q = !0, be) {
|
|
556
556
|
if (h.value !== "HIDDEN" || !a.targetEle.value) return;
|
|
557
|
-
const
|
|
557
|
+
const de = [0, 0], Pe = [1, 1], Be = [
|
|
558
558
|
{ scale: Pe, translate: [et(f.transX.final), et(f.transY.final)] },
|
|
559
559
|
{ scale: Pe, translate: [et(f.transX.old), et(f.transY.old)] }
|
|
560
560
|
], Ge = () => {
|
|
@@ -562,19 +562,19 @@ const Au = (a) => {
|
|
|
562
562
|
};
|
|
563
563
|
be ? await xe(q, be, {
|
|
564
564
|
scale(fe, Ke) {
|
|
565
|
-
return be === "self" || be === "center" ? [
|
|
565
|
+
return be === "self" || be === "center" ? [de, Pe] : [Pe, Pe];
|
|
566
566
|
}
|
|
567
567
|
}) : await B(a.targetEle.value, q, Ge, Be), h.value = "NORMAL", d.emit(
|
|
568
568
|
"after_show"
|
|
569
569
|
/* AFTER_SHOW */
|
|
570
570
|
);
|
|
571
571
|
}
|
|
572
|
-
async function
|
|
572
|
+
async function Le(q, be = !0) {
|
|
573
573
|
if (h.value !== "NORMAL" || !a.targetEle.value) return;
|
|
574
574
|
for await (const Ve of v)
|
|
575
575
|
await Ve();
|
|
576
576
|
w();
|
|
577
|
-
const { x:
|
|
577
|
+
const { x: de, y: Pe, w: Be, h: Ge } = se(q, {
|
|
578
578
|
x: (Ve, rt, Qe, qt) => {
|
|
579
579
|
switch (q) {
|
|
580
580
|
case "left":
|
|
@@ -596,22 +596,22 @@ const Au = (a) => {
|
|
|
596
596
|
}), { translateX: fe, translateY: Ke } = e();
|
|
597
597
|
let We = [
|
|
598
598
|
{ scale: [1, 1], translate: [et(fe), et(Ke)] },
|
|
599
|
-
{ scale: [1, 1], translate: [et(
|
|
599
|
+
{ scale: [1, 1], translate: [et(de), et(Pe)] }
|
|
600
600
|
];
|
|
601
601
|
(q === "self" || q === "center") && (We = [
|
|
602
|
-
{ scale: [1, 1], translate: [et(
|
|
603
|
-
{ scale: [0, 0], translate: [et(
|
|
604
|
-
]), f.transX.final =
|
|
605
|
-
const _e =
|
|
602
|
+
{ scale: [1, 1], translate: [et(de), et(Pe)] },
|
|
603
|
+
{ scale: [0, 0], translate: [et(de), et(Pe)] }
|
|
604
|
+
]), f.transX.final = de, f.transY.final = Pe;
|
|
605
|
+
const _e = Q(de, Pe, Be, Ge, [0, 0]);
|
|
606
606
|
await B(a.targetEle.value, be, _e, We), h.value = "HIDDEN", d.emit(
|
|
607
607
|
"after_hide"
|
|
608
608
|
/* AFTER_HIDE */
|
|
609
609
|
);
|
|
610
610
|
}
|
|
611
|
-
async function
|
|
611
|
+
async function ce(q, be = !0) {
|
|
612
612
|
if (h.value === "NORMAL" && a.targetEle.value) {
|
|
613
|
-
for await (const
|
|
614
|
-
await
|
|
613
|
+
for await (const de of _)
|
|
614
|
+
await de();
|
|
615
615
|
await xe(be, q), d.emit(
|
|
616
616
|
"after_stick"
|
|
617
617
|
/* AFTER_STICK */
|
|
@@ -619,27 +619,27 @@ const Au = (a) => {
|
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
async function Xe(q = !0) {
|
|
622
|
-
h.value === "NORMAL" && await
|
|
622
|
+
h.value === "NORMAL" && await Le(Y(), q);
|
|
623
623
|
}
|
|
624
624
|
async function qe(q = !0) {
|
|
625
|
-
h.value === "NORMAL" && await
|
|
625
|
+
h.value === "NORMAL" && await ce(Y(), q);
|
|
626
626
|
}
|
|
627
627
|
function Ee(q) {
|
|
628
628
|
h.value = q;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function J() {
|
|
631
631
|
return h.value;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function W() {
|
|
634
634
|
return a.targetEle.value;
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function le(q, be) {
|
|
637
637
|
d.on(q, be);
|
|
638
638
|
}
|
|
639
639
|
function ne(q) {
|
|
640
640
|
v.push(q);
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function ue(q) {
|
|
643
643
|
_.push(q);
|
|
644
644
|
}
|
|
645
645
|
function Se(q) {
|
|
@@ -652,26 +652,26 @@ const Au = (a) => {
|
|
|
652
652
|
d.removeAllListeners(), v.length = 0, _.length = 0;
|
|
653
653
|
}
|
|
654
654
|
return {
|
|
655
|
-
getTarget:
|
|
655
|
+
getTarget: W,
|
|
656
656
|
setStatus: Ee,
|
|
657
|
-
getStatus:
|
|
658
|
-
show:
|
|
657
|
+
getStatus: J,
|
|
658
|
+
show: ke,
|
|
659
659
|
autoHide: Xe,
|
|
660
660
|
autoStick: qe,
|
|
661
|
-
stickTo:
|
|
662
|
-
hideTo:
|
|
661
|
+
stickTo: ce,
|
|
662
|
+
hideTo: Le,
|
|
663
663
|
moveTo: xe,
|
|
664
664
|
dispose: Fe,
|
|
665
665
|
registerBeforeHideHook: ne,
|
|
666
|
-
registerBeforeStickHook:
|
|
667
|
-
on:
|
|
666
|
+
registerBeforeStickHook: ue,
|
|
667
|
+
on: le,
|
|
668
668
|
setTargetParent: Se,
|
|
669
669
|
getTargetParent: De
|
|
670
670
|
};
|
|
671
671
|
};
|
|
672
672
|
var vs = /* @__PURE__ */ ((a) => (a.SCALING = "scaling", a.AFTER_SCALE = "after_scale", a))(vs || {});
|
|
673
673
|
const Iu = (a) => {
|
|
674
|
-
const e = Uo(a.config.value, "containerStyle"), { set: t, sets: n } = ks(e), r =
|
|
674
|
+
const e = Uo(a.config.value, "containerStyle"), { set: t, sets: n } = ks(e), r = hn(), o = ["t", "r", "b", "l", "lt", "rt", "lb", "rb"];
|
|
675
675
|
let s = "";
|
|
676
676
|
const { x: c, y: d, width: h, height: m, update: f } = ei(a.targetEle), v = {
|
|
677
677
|
t: (B, Y) => {
|
|
@@ -716,12 +716,12 @@ const Iu = (a) => {
|
|
|
716
716
|
B.preventDefault();
|
|
717
717
|
}
|
|
718
718
|
function P(B) {
|
|
719
|
-
const Y = _.top + B.clientY - _.clientY, xe = _.left + B.clientX - _.clientX,
|
|
719
|
+
const Y = _.top + B.clientY - _.clientY, xe = _.left + B.clientX - _.clientX, ke = s.startsWith("r") ? B.clientX - _.x : _.width + _.clientX - B.clientX, Le = s.endsWith("t") ? _.height + _.clientY - B.clientY : B.clientY - _.y;
|
|
720
720
|
v[s](B, {
|
|
721
721
|
l: xe,
|
|
722
722
|
t: Y,
|
|
723
|
-
w:
|
|
724
|
-
h:
|
|
723
|
+
w: ke,
|
|
724
|
+
h: Le
|
|
725
725
|
}), r.emit(
|
|
726
726
|
"scaling"
|
|
727
727
|
/* SCALING */
|
|
@@ -739,18 +739,18 @@ const Iu = (a) => {
|
|
|
739
739
|
function G(B, Y) {
|
|
740
740
|
r.on(B, Y);
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function Q() {
|
|
743
743
|
r.removeAllListeners();
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function se() {
|
|
746
746
|
return a.targetEle.value;
|
|
747
747
|
}
|
|
748
748
|
return {
|
|
749
749
|
pointer: o,
|
|
750
|
-
getTarget:
|
|
750
|
+
getTarget: se,
|
|
751
751
|
onMouseDown: U,
|
|
752
752
|
on: G,
|
|
753
|
-
dispose:
|
|
753
|
+
dispose: Q
|
|
754
754
|
};
|
|
755
755
|
}, Ru = /* @__PURE__ */ lt({
|
|
756
756
|
__name: "index",
|
|
@@ -771,19 +771,19 @@ const Iu = (a) => {
|
|
|
771
771
|
translateX: 0,
|
|
772
772
|
translateY: 0,
|
|
773
773
|
scale: [0, 0]
|
|
774
|
-
}), { getScale: P, getTranslate: A, setTranslate: U, setPrevClientPos: G, getPrevClientPos:
|
|
774
|
+
}), { getScale: P, getTranslate: A, setTranslate: U, setPrevClientPos: G, getPrevClientPos: Q, setPrevTranslate: se, getPrevTranslate: B } = Ms(x), Y = Iu({
|
|
775
775
|
config: s,
|
|
776
776
|
targetEle: h
|
|
777
|
-
}), xe = Ie(() => Gr(r.dragTarget)),
|
|
778
|
-
const { scaleX: q, scaleY: be } = P(), { translateX:
|
|
777
|
+
}), xe = Ie(() => Gr(r.dragTarget)), ke = Ie(() => !!s.value.header), Le = Ie(() => Ro(v.value)), ce = Ie(() => Ro(_.value)), Xe = Ie(() => Ro(f.value)), qe = Ie(() => {
|
|
778
|
+
const { scaleX: q, scaleY: be } = P(), { translateX: de, translateY: Pe } = A(), Be = w("width") ?? Ca(h, "width"), Ge = w("height") ?? Ca(h, "height");
|
|
779
779
|
return {
|
|
780
|
-
transform: `scale(${q},${be}) translate(${et(
|
|
780
|
+
transform: `scale(${q},${be}) translate(${et(de)},${et(Pe)})`,
|
|
781
781
|
zIndex: s.value.normal ? void 0 : qr("zIndex", w("zIndex")),
|
|
782
782
|
// 计算其transform中心点,用于优化动画效果。元素移动时,其left和top并没有发生变化
|
|
783
|
-
transformOrigin: `${et(parseFloat((
|
|
783
|
+
transformOrigin: `${et(parseFloat((de + He(Be) / 2).toFixed(2)))}
|
|
784
784
|
${et(parseFloat((Pe + He(Ge) / 2).toFixed(2)))}`
|
|
785
785
|
};
|
|
786
|
-
}), Ee = Ie(() => Ro(s.value.maskStyle)), { autoStick:
|
|
786
|
+
}), Ee = Ie(() => Ro(s.value.maskStyle)), { autoStick: J, onInit: W, onMovableChange: le, onNormalChange: ne } = Ou(
|
|
787
787
|
s,
|
|
788
788
|
m,
|
|
789
789
|
o,
|
|
@@ -792,22 +792,22 @@ const Iu = (a) => {
|
|
|
792
792
|
xe,
|
|
793
793
|
c
|
|
794
794
|
);
|
|
795
|
-
function
|
|
795
|
+
function ue() {
|
|
796
796
|
m.value = Pu(), m.value.every("beforemove", (q) => {
|
|
797
797
|
G(q.clientX, q.clientY), n("beforeMove", Object.assign({}, q, A()));
|
|
798
798
|
}), m.value.every("moving", (q) => {
|
|
799
|
-
const { clientX: be, clientY:
|
|
800
|
-
U(Pe + q.clientX - be, Be + q.clientY -
|
|
799
|
+
const { clientX: be, clientY: de } = Q(), { translateX: Pe, translateY: Be } = B();
|
|
800
|
+
U(Pe + q.clientX - be, Be + q.clientY - de);
|
|
801
801
|
const Ge = A();
|
|
802
802
|
(On(s.value.x) || On(s.value.y)) && (s.value.x = Ge.translateX, s.value.y = Ge.translateY), n("moving", { ...q, ...Ge });
|
|
803
803
|
}), m.value.every("aftermove", async (q) => {
|
|
804
|
-
const { translateX: be, translateY:
|
|
805
|
-
|
|
804
|
+
const { translateX: be, translateY: de } = A();
|
|
805
|
+
se(be, de), await J(), n("afterMove", { ...q, ...A() });
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
function Se() {
|
|
809
809
|
Y.on(vs.AFTER_SCALE, async () => {
|
|
810
|
-
await
|
|
810
|
+
await J(), d.value && n("afterScale", d.value);
|
|
811
811
|
}), Y.on(vs.SCALING, async () => {
|
|
812
812
|
d.value && n("scaling", d.value);
|
|
813
813
|
});
|
|
@@ -827,10 +827,10 @@ const Iu = (a) => {
|
|
|
827
827
|
});
|
|
828
828
|
}
|
|
829
829
|
async function Fe() {
|
|
830
|
-
Se(),
|
|
830
|
+
Se(), ue(), De(), le(s.value.movable), ne(s.value.normal), W(), window.addEventListener("resize", J);
|
|
831
831
|
}
|
|
832
832
|
return Bt(Fe), vr(() => {
|
|
833
|
-
window.removeEventListener("resize",
|
|
833
|
+
window.removeEventListener("resize", J), Y.dispose(), o.value?.dispose();
|
|
834
834
|
}), e({
|
|
835
835
|
async autoStick(q) {
|
|
836
836
|
return o.value?.autoStick(q);
|
|
@@ -847,22 +847,22 @@ const Iu = (a) => {
|
|
|
847
847
|
async show(q, be) {
|
|
848
848
|
return o.value?.show(q, be);
|
|
849
849
|
},
|
|
850
|
-
async moveTo(q, be,
|
|
851
|
-
return o.value?.moveTo(q, be,
|
|
850
|
+
async moveTo(q, be, de) {
|
|
851
|
+
return o.value?.moveTo(q, be, de);
|
|
852
852
|
},
|
|
853
853
|
getStatus: function() {
|
|
854
854
|
return o.value?.getStatus();
|
|
855
855
|
}
|
|
856
|
-
}), (q, be) => (X(),
|
|
856
|
+
}), (q, be) => (X(), Z("div", {
|
|
857
857
|
ref: "drag",
|
|
858
858
|
class: "dragContainer",
|
|
859
859
|
style: Jn([Xe.value, qe.value])
|
|
860
860
|
}, [
|
|
861
|
-
|
|
861
|
+
ke.value ? (X(), Z("div", {
|
|
862
862
|
key: 0,
|
|
863
863
|
ref: "header",
|
|
864
864
|
class: "dragHeader",
|
|
865
|
-
style: Jn(
|
|
865
|
+
style: Jn(ce.value)
|
|
866
866
|
}, [
|
|
867
867
|
vn(q.$slots, "header", {}, void 0, !0)
|
|
868
868
|
], 4)) : tn("", !0),
|
|
@@ -875,7 +875,7 @@ const Iu = (a) => {
|
|
|
875
875
|
H("div", {
|
|
876
876
|
ref: "scales",
|
|
877
877
|
class: "scaleContent",
|
|
878
|
-
style: Jn(
|
|
878
|
+
style: Jn(Le.value)
|
|
879
879
|
}, [
|
|
880
880
|
vn(q.$slots, "default", {}, void 0, !0)
|
|
881
881
|
], 4),
|
|
@@ -883,11 +883,11 @@ const Iu = (a) => {
|
|
|
883
883
|
to: "body",
|
|
884
884
|
disabled: !s.value.mask
|
|
885
885
|
}, [
|
|
886
|
-
s.value.mask ? (X(),
|
|
886
|
+
s.value.mask ? (X(), Z("div", {
|
|
887
887
|
key: 0,
|
|
888
888
|
class: "dragMask",
|
|
889
889
|
style: Jn(Ee.value),
|
|
890
|
-
onClick: be[0] || (be[0] = (
|
|
890
|
+
onClick: be[0] || (be[0] = (de) => n("maskClick"))
|
|
891
891
|
}, null, 4)) : tn("", !0)
|
|
892
892
|
], 8, ["disabled"]))
|
|
893
893
|
], 4));
|
|
@@ -923,7 +923,7 @@ const Iu = (a) => {
|
|
|
923
923
|
});
|
|
924
924
|
var wt = /* @__PURE__ */ ((a) => (a.init = "KEYBOARD:INIT", a.keydown = "KEYBOARD:KEYDOWN", a.keyup = "KEYBOARD:KEYUP", a.keyStatus = "KEYBOARD:KEYSTATUS", a.KeyWA = "KeyWA", a.KeyWD = "KeyWD", a.KeyAS = "KeyAS", a.KeySD = "KeySD", a.ShiftLeft = "ShiftLeft", a.Space = "Space", a.KeyW = "KeyW", a.KeyA = "KeyA", a.KeyS = "KeyS", a.KeyD = "KeyD", a.ArrowLeft = "ArrowLeft", a.ArrowRight = "ArrowRight", a.ArrowUp = "ArrowUp", a.ArrowDown = "ArrowDown", a))(wt || {});
|
|
925
925
|
function Du() {
|
|
926
|
-
const a =
|
|
926
|
+
const a = hn();
|
|
927
927
|
a.removeAllListeners();
|
|
928
928
|
const e = {
|
|
929
929
|
KeyW: !1,
|
|
@@ -1427,16 +1427,16 @@ class Wu extends gl {
|
|
|
1427
1427
|
const o = new od();
|
|
1428
1428
|
this._plane = o, n.add(o);
|
|
1429
1429
|
const s = this;
|
|
1430
|
-
function c(G,
|
|
1431
|
-
let
|
|
1430
|
+
function c(G, Q) {
|
|
1431
|
+
let se = Q;
|
|
1432
1432
|
Object.defineProperty(s, G, {
|
|
1433
1433
|
get: function() {
|
|
1434
|
-
return
|
|
1434
|
+
return se !== void 0 ? se : Q;
|
|
1435
1435
|
},
|
|
1436
1436
|
set: function(B) {
|
|
1437
|
-
|
|
1437
|
+
se !== B && (se = B, o[G] = B, r[G] = B, s.dispatchEvent({ type: G + "-changed", value: B }), s.dispatchEvent(Xi));
|
|
1438
1438
|
}
|
|
1439
|
-
}), s[G] =
|
|
1439
|
+
}), s[G] = Q, o[G] = Q, r[G] = Q;
|
|
1440
1440
|
}
|
|
1441
1441
|
c("camera", e), c("object", void 0), c("enabled", !0), c("axis", null), c("mode", "translate"), c("translationSnap", null), c("rotationSnap", null), c("scaleSnap", null), c("space", "world"), c("size", 1), c("dragging", !1), c("showX", !0), c("showY", !0), c("showZ", !0), c("minX", -1 / 0), c("maxX", 1 / 0), c("minY", -1 / 0), c("maxY", 1 / 0), c("minZ", -1 / 0), c("maxZ", 1 / 0);
|
|
1442
1442
|
const d = new ye(), h = new ye(), m = new dt(), f = new dt(), v = new ye(), _ = new dt(), w = new ye(), x = new ye(), P = new ye(), A = 0, U = new ye();
|
|
@@ -1644,7 +1644,7 @@ function Gi(a, e, t) {
|
|
|
1644
1644
|
return !1;
|
|
1645
1645
|
}
|
|
1646
1646
|
const No = new kn(), nt = new ye(0, 1, 0), Ia = new ye(0, 0, 0), Ra = new Ze(), Vo = new dt(), Xo = new dt(), cn = new ye(), Da = new Ze(), zr = new ye(1, 0, 0), qn = new ye(0, 1, 0), Fr = new ye(0, 0, 1), jo = new ye(), Rr = new ye(), Dr = new ye();
|
|
1647
|
-
class nd extends
|
|
1647
|
+
class nd extends pn {
|
|
1648
1648
|
constructor(e) {
|
|
1649
1649
|
super(), this.isTransformControlsRoot = !0, this.controls = e, this.visible = !1;
|
|
1650
1650
|
}
|
|
@@ -1659,7 +1659,7 @@ class nd extends dn {
|
|
|
1659
1659
|
});
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
|
-
class rd extends
|
|
1662
|
+
class rd extends pn {
|
|
1663
1663
|
constructor() {
|
|
1664
1664
|
super(), this.isTransformControlsGizmo = !0, this.type = "TransformControlsGizmo";
|
|
1665
1665
|
const e = new Zn({
|
|
@@ -1715,15 +1715,15 @@ class rd extends dn {
|
|
|
1715
1715
|
A.setAttribute("position", new Nt([0, 0, 0, 1, 0, 0], 3));
|
|
1716
1716
|
const U = new Rt(75e-4, 75e-4, 0.5, 3);
|
|
1717
1717
|
U.translate(0, 0.25, 0);
|
|
1718
|
-
function G(
|
|
1719
|
-
const
|
|
1720
|
-
return
|
|
1718
|
+
function G(J, W) {
|
|
1719
|
+
const le = new Ir(J, 75e-4, 3, 64, W * Math.PI * 2);
|
|
1720
|
+
return le.rotateY(Math.PI / 2), le.rotateX(Math.PI / 2), le;
|
|
1721
1721
|
}
|
|
1722
|
-
function
|
|
1723
|
-
const
|
|
1724
|
-
return
|
|
1722
|
+
function Q() {
|
|
1723
|
+
const J = new bn();
|
|
1724
|
+
return J.setAttribute("position", new Nt([0, 0, 0, 1, 1, 1], 3)), J;
|
|
1725
1725
|
}
|
|
1726
|
-
const
|
|
1726
|
+
const se = {
|
|
1727
1727
|
X: [
|
|
1728
1728
|
[new Te(x, o), [0.5, 0, 0], [0, 0, -Math.PI / 2]],
|
|
1729
1729
|
[new Te(x, o), [-0.5, 0, 0], [0, 0, Math.PI / 2]],
|
|
@@ -1784,7 +1784,7 @@ class rd extends dn {
|
|
|
1784
1784
|
[new Te(new Ao(0.01, 2), r), null, null, null, "helper"]
|
|
1785
1785
|
],
|
|
1786
1786
|
DELTA: [
|
|
1787
|
-
[new un(
|
|
1787
|
+
[new un(Q(), r), null, null, null, "helper"]
|
|
1788
1788
|
],
|
|
1789
1789
|
X: [
|
|
1790
1790
|
[new un(A, r), [-1e3, 0, 0], null, [1e6, 1, 1], "helper"]
|
|
@@ -1811,11 +1811,11 @@ class rd extends dn {
|
|
|
1811
1811
|
E: [
|
|
1812
1812
|
[new Te(G(0.75, 1), v), null, [0, Math.PI / 2, 0]]
|
|
1813
1813
|
]
|
|
1814
|
-
},
|
|
1814
|
+
}, ke = {
|
|
1815
1815
|
AXIS: [
|
|
1816
1816
|
[new un(A, r), [-1e3, 0, 0], null, [1e6, 1, 1], "helper"]
|
|
1817
1817
|
]
|
|
1818
|
-
},
|
|
1818
|
+
}, Le = {
|
|
1819
1819
|
XYZE: [
|
|
1820
1820
|
[new Te(new Xc(0.25, 10, 8), n)]
|
|
1821
1821
|
],
|
|
@@ -1831,7 +1831,7 @@ class rd extends dn {
|
|
|
1831
1831
|
E: [
|
|
1832
1832
|
[new Te(new Ir(0.75, 0.1, 2, 24), n)]
|
|
1833
1833
|
]
|
|
1834
|
-
},
|
|
1834
|
+
}, ce = {
|
|
1835
1835
|
X: [
|
|
1836
1836
|
[new Te(P, o), [0.5, 0, 0], [0, 0, -Math.PI / 2]],
|
|
1837
1837
|
[new Te(U, o), [0, 0, 0], [0, 0, -Math.PI / 2]],
|
|
@@ -1895,18 +1895,18 @@ class rd extends dn {
|
|
|
1895
1895
|
[new un(A, r), [0, 0, -1e3], [0, -Math.PI / 2, 0], [1e6, 1, 1], "helper"]
|
|
1896
1896
|
]
|
|
1897
1897
|
};
|
|
1898
|
-
function Ee(
|
|
1899
|
-
const
|
|
1900
|
-
for (const
|
|
1901
|
-
for (let ne =
|
|
1902
|
-
const
|
|
1903
|
-
|
|
1904
|
-
const be =
|
|
1905
|
-
be.applyMatrix4(
|
|
1898
|
+
function Ee(J) {
|
|
1899
|
+
const W = new pn();
|
|
1900
|
+
for (const le in J)
|
|
1901
|
+
for (let ne = J[le].length; ne--; ) {
|
|
1902
|
+
const ue = J[le][ne][0].clone(), Se = J[le][ne][1], De = J[le][ne][2], Fe = J[le][ne][3], q = J[le][ne][4];
|
|
1903
|
+
ue.name = le, ue.tag = q, Se && ue.position.set(Se[0], Se[1], Se[2]), De && ue.rotation.set(De[0], De[1], De[2]), Fe && ue.scale.set(Fe[0], Fe[1], Fe[2]), ue.updateMatrix();
|
|
1904
|
+
const be = ue.geometry.clone();
|
|
1905
|
+
be.applyMatrix4(ue.matrix), ue.geometry = be, ue.renderOrder = 1 / 0, ue.position.set(0, 0, 0), ue.rotation.set(0, 0, 0), ue.scale.set(1, 1, 1), W.add(ue);
|
|
1906
1906
|
}
|
|
1907
|
-
return
|
|
1907
|
+
return W;
|
|
1908
1908
|
}
|
|
1909
|
-
this.gizmo = {}, this.picker = {}, this.helper = {}, this.add(this.gizmo.translate = Ee(
|
|
1909
|
+
this.gizmo = {}, this.picker = {}, this.helper = {}, this.add(this.gizmo.translate = Ee(se)), this.add(this.gizmo.rotate = Ee(xe)), this.add(this.gizmo.scale = Ee(ce)), this.add(this.picker.translate = Ee(B)), this.add(this.picker.rotate = Ee(Le)), this.add(this.picker.scale = Ee(Xe)), this.add(this.helper.translate = Ee(Y)), this.add(this.helper.rotate = Ee(ke)), this.add(this.helper.scale = Ee(qe)), this.picker.translate.visible = !1, this.picker.rotate.visible = !1, this.picker.scale.visible = !1;
|
|
1910
1910
|
}
|
|
1911
1911
|
// updateMatrixWorld will update transformations and appearance of individual handles
|
|
1912
1912
|
updateMatrixWorld(e) {
|
|
@@ -2041,12 +2041,12 @@ function ad(a, e, t, n, r) {
|
|
|
2041
2041
|
let P = 0;
|
|
2042
2042
|
const A = f - x, U = t - x;
|
|
2043
2043
|
f >= x && (w[_][0] = w[v][0] / c[U + 1][A], P = w[_][0] * c[A][U]);
|
|
2044
|
-
const G = A >= -1 ? 1 : -A,
|
|
2045
|
-
for (let B = G; B <=
|
|
2044
|
+
const G = A >= -1 ? 1 : -A, Q = f - 1 <= U ? x - 1 : t - f;
|
|
2045
|
+
for (let B = G; B <= Q; ++B)
|
|
2046
2046
|
w[_][B] = (w[v][B] - w[v][B - 1]) / c[U + 1][A + B], P += w[_][B] * c[A + B][U];
|
|
2047
2047
|
f <= U && (w[_][x] = -w[v][x - 1] / c[U + 1][f], P += w[_][x] * c[f][U]), s[x][f] = P;
|
|
2048
|
-
const
|
|
2049
|
-
v = _, _ =
|
|
2048
|
+
const se = v;
|
|
2049
|
+
v = _, _ = se;
|
|
2050
2050
|
}
|
|
2051
2051
|
}
|
|
2052
2052
|
let m = t;
|
|
@@ -2329,32 +2329,32 @@ var vd = /* @__PURE__ */ $r(ro, 9, 1), bd = /* @__PURE__ */ $r(Hl, 5, 1), Yi = f
|
|
|
2329
2329
|
else if (U == 2) {
|
|
2330
2330
|
var B = Wt(a, f, 31) + 257, Y = Wt(a, f + 10, 15) + 4, xe = B + Wt(a, f + 5, 31) + 1;
|
|
2331
2331
|
f += 14;
|
|
2332
|
-
for (var
|
|
2333
|
-
|
|
2332
|
+
for (var ke = new Xt(xe), Le = new Xt(19), ce = 0; ce < Y; ++ce)
|
|
2333
|
+
Le[hd[ce]] = Wt(a, f + ce * 3, 7);
|
|
2334
2334
|
f += Y * 3;
|
|
2335
|
-
for (var Xe = Yi(
|
|
2336
|
-
var
|
|
2337
|
-
f +=
|
|
2338
|
-
var G =
|
|
2335
|
+
for (var Xe = Yi(Le), qe = (1 << Xe) - 1, Ee = $r(Le, Xe, 1), ce = 0; ce < xe; ) {
|
|
2336
|
+
var J = Ee[Wt(a, f, qe)];
|
|
2337
|
+
f += J & 15;
|
|
2338
|
+
var G = J >> 4;
|
|
2339
2339
|
if (G < 16)
|
|
2340
|
-
|
|
2340
|
+
ke[ce++] = G;
|
|
2341
2341
|
else {
|
|
2342
|
-
var
|
|
2343
|
-
for (G == 16 ? (
|
|
2344
|
-
|
|
2342
|
+
var W = 0, le = 0;
|
|
2343
|
+
for (G == 16 ? (le = 3 + Wt(a, f, 3), f += 2, W = ke[ce - 1]) : G == 17 ? (le = 3 + Wt(a, f, 7), f += 3) : G == 18 && (le = 11 + Wt(a, f, 127), f += 7); le--; )
|
|
2344
|
+
ke[ce++] = W;
|
|
2345
2345
|
}
|
|
2346
2346
|
}
|
|
2347
|
-
var ne =
|
|
2348
|
-
x = Yi(ne), P = Yi(
|
|
2347
|
+
var ne = ke.subarray(0, B), ue = ke.subarray(B);
|
|
2348
|
+
x = Yi(ne), P = Yi(ue), _ = $r(ne, x, 1), w = $r(ue, P, 1);
|
|
2349
2349
|
} else
|
|
2350
2350
|
Jt(1);
|
|
2351
2351
|
else {
|
|
2352
|
-
var G = wd(f) + 4,
|
|
2353
|
-
if (
|
|
2352
|
+
var G = wd(f) + 4, Q = a[G - 4] | a[G - 3] << 8, se = G + Q;
|
|
2353
|
+
if (se > r) {
|
|
2354
2354
|
d && Jt(0);
|
|
2355
2355
|
break;
|
|
2356
2356
|
}
|
|
2357
|
-
c && h(v +
|
|
2357
|
+
c && h(v + Q), t.set(a.subarray(G, se), v), e.b = v += Q, e.p = f = se * 8, e.f = m;
|
|
2358
2358
|
continue;
|
|
2359
2359
|
}
|
|
2360
2360
|
if (f > A) {
|
|
@@ -2364,12 +2364,12 @@ var vd = /* @__PURE__ */ $r(ro, 9, 1), bd = /* @__PURE__ */ $r(Hl, 5, 1), Yi = f
|
|
|
2364
2364
|
}
|
|
2365
2365
|
c && h(v + 131072);
|
|
2366
2366
|
for (var Se = (1 << x) - 1, De = (1 << P) - 1, Fe = f; ; Fe = f) {
|
|
2367
|
-
var
|
|
2368
|
-
if (f +=
|
|
2367
|
+
var W = _[qi(a, f) & Se], q = W >> 4;
|
|
2368
|
+
if (f += W & 15, f > A) {
|
|
2369
2369
|
d && Jt(0);
|
|
2370
2370
|
break;
|
|
2371
2371
|
}
|
|
2372
|
-
if (
|
|
2372
|
+
if (W || Jt(2), q < 256)
|
|
2373
2373
|
t[v++] = q;
|
|
2374
2374
|
else if (q == 256) {
|
|
2375
2375
|
Fe = f, _ = null;
|
|
@@ -2377,15 +2377,15 @@ var vd = /* @__PURE__ */ $r(ro, 9, 1), bd = /* @__PURE__ */ $r(Hl, 5, 1), Yi = f
|
|
|
2377
2377
|
} else {
|
|
2378
2378
|
var be = q - 254;
|
|
2379
2379
|
if (q > 264) {
|
|
2380
|
-
var
|
|
2381
|
-
be = Wt(a, f, (1 <<
|
|
2380
|
+
var ce = q - 257, de = jl[ce];
|
|
2381
|
+
be = Wt(a, f, (1 << de) - 1) + Ul[ce], f += de;
|
|
2382
2382
|
}
|
|
2383
2383
|
var Pe = w[qi(a, f) & De], Be = Pe >> 4;
|
|
2384
2384
|
Pe || Jt(3), f += Pe & 15;
|
|
2385
|
-
var
|
|
2385
|
+
var ue = yd[Be];
|
|
2386
2386
|
if (Be > 3) {
|
|
2387
|
-
var
|
|
2388
|
-
|
|
2387
|
+
var de = Bl[Be];
|
|
2388
|
+
ue += qi(a, f) & (1 << de) - 1, f += de;
|
|
2389
2389
|
}
|
|
2390
2390
|
if (f > A) {
|
|
2391
2391
|
d && Jt(0);
|
|
@@ -2393,13 +2393,13 @@ var vd = /* @__PURE__ */ $r(ro, 9, 1), bd = /* @__PURE__ */ $r(Hl, 5, 1), Yi = f
|
|
|
2393
2393
|
}
|
|
2394
2394
|
c && h(v + 131072);
|
|
2395
2395
|
var Ge = v + be;
|
|
2396
|
-
if (v <
|
|
2397
|
-
var fe = o -
|
|
2396
|
+
if (v < ue) {
|
|
2397
|
+
var fe = o - ue, Ke = Math.min(ue, Ge);
|
|
2398
2398
|
for (fe + v < 0 && Jt(3); v < Ke; ++v)
|
|
2399
2399
|
t[v] = n[fe + v];
|
|
2400
2400
|
}
|
|
2401
2401
|
for (; v < Ge; ++v)
|
|
2402
|
-
t[v] = t[v -
|
|
2402
|
+
t[v] = t[v - ue];
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
2405
2405
|
e.l = _, e.p = Fe, e.b = v, e.f = m, _ && (m = 1, e.m = x, e.d = w, e.n = P);
|
|
@@ -2586,7 +2586,7 @@ class Md extends gr {
|
|
|
2586
2586
|
this.decodeDracoFile(e, t, null, null, ut, n).catch(n);
|
|
2587
2587
|
}
|
|
2588
2588
|
//
|
|
2589
|
-
decodeDracoFile(e, t, n, r, o =
|
|
2589
|
+
decodeDracoFile(e, t, n, r, o = fn, s = () => {
|
|
2590
2590
|
}) {
|
|
2591
2591
|
const c = {
|
|
2592
2592
|
attributeIDs: n || this.defaultAttributeIDs,
|
|
@@ -2746,8 +2746,8 @@ function kd() {
|
|
|
2746
2746
|
if (G = c.GetAttributeId(v, s[m[P]]), G === -1) continue;
|
|
2747
2747
|
U = c.GetAttribute(v, G);
|
|
2748
2748
|
}
|
|
2749
|
-
const
|
|
2750
|
-
P === "color" && (
|
|
2749
|
+
const Q = r(s, c, v, P, A, U);
|
|
2750
|
+
P === "color" && (Q.vertexColorSpace = h.vertexColorSpace), x.attributes.push(Q);
|
|
2751
2751
|
}
|
|
2752
2752
|
return w === s.TRIANGULAR_MESH && (x.index = n(s, c, v)), s.destroy(v), x;
|
|
2753
2753
|
}
|
|
@@ -3197,7 +3197,7 @@ class Ad {
|
|
|
3197
3197
|
const o = je.Objects.NodeAttribute[r.ID];
|
|
3198
3198
|
o !== void 0 && (n = o);
|
|
3199
3199
|
}), n === void 0)
|
|
3200
|
-
t = new
|
|
3200
|
+
t = new pn();
|
|
3201
3201
|
else {
|
|
3202
3202
|
let r = 0;
|
|
3203
3203
|
n.CameraProjectionType !== void 0 && n.CameraProjectionType.value === 1 && (r = 1);
|
|
@@ -3216,10 +3216,10 @@ class Ad {
|
|
|
3216
3216
|
t = new wl(m, h, o, s), f !== null && t.setFocalLength(f);
|
|
3217
3217
|
break;
|
|
3218
3218
|
case 1:
|
|
3219
|
-
console.warn("THREE.FBXLoader: Orthographic cameras not supported yet."), t = new
|
|
3219
|
+
console.warn("THREE.FBXLoader: Orthographic cameras not supported yet."), t = new pn();
|
|
3220
3220
|
break;
|
|
3221
3221
|
default:
|
|
3222
|
-
console.warn("THREE.FBXLoader: Unknown camera type " + r + "."), t = new
|
|
3222
|
+
console.warn("THREE.FBXLoader: Unknown camera type " + r + "."), t = new pn();
|
|
3223
3223
|
break;
|
|
3224
3224
|
}
|
|
3225
3225
|
}
|
|
@@ -3232,7 +3232,7 @@ class Ad {
|
|
|
3232
3232
|
const o = je.Objects.NodeAttribute[r.ID];
|
|
3233
3233
|
o !== void 0 && (n = o);
|
|
3234
3234
|
}), n === void 0)
|
|
3235
|
-
t = new
|
|
3235
|
+
t = new pn();
|
|
3236
3236
|
else {
|
|
3237
3237
|
let r;
|
|
3238
3238
|
n.LightType === void 0 ? r = 0 : r = n.LightType.value;
|
|
@@ -3462,17 +3462,17 @@ class Id {
|
|
|
3462
3462
|
U.push(G.weight), A.push(G.id);
|
|
3463
3463
|
}), U.length > 4) {
|
|
3464
3464
|
o || (console.warn("THREE.FBXLoader: Vertex has more than 4 skinning weights assigned to vertex. Deleting additional weights."), o = !0);
|
|
3465
|
-
const G = [0, 0, 0, 0],
|
|
3466
|
-
U.forEach(function(
|
|
3467
|
-
let Y =
|
|
3468
|
-
|
|
3469
|
-
if (Y >
|
|
3470
|
-
|
|
3471
|
-
const Xe = G[
|
|
3472
|
-
G[
|
|
3465
|
+
const G = [0, 0, 0, 0], Q = [0, 0, 0, 0];
|
|
3466
|
+
U.forEach(function(se, B) {
|
|
3467
|
+
let Y = se, xe = A[B];
|
|
3468
|
+
Q.forEach(function(ke, Le, ce) {
|
|
3469
|
+
if (Y > ke) {
|
|
3470
|
+
ce[Le] = Y, Y = ke;
|
|
3471
|
+
const Xe = G[Le];
|
|
3472
|
+
G[Le] = xe, xe = Xe;
|
|
3473
3473
|
}
|
|
3474
3474
|
});
|
|
3475
|
-
}), A = G, U =
|
|
3475
|
+
}), A = G, U = Q;
|
|
3476
3476
|
}
|
|
3477
3477
|
for (; U.length < 4; )
|
|
3478
3478
|
U.push(0), A.push(0);
|
|
@@ -3483,9 +3483,9 @@ class Id {
|
|
|
3483
3483
|
const G = Bo(w, n, _, e.normal);
|
|
3484
3484
|
c.push(G[0], G[1], G[2]);
|
|
3485
3485
|
}
|
|
3486
|
-
e.material && e.material.mappingType !== "AllSame" && (x = Bo(w, n, _, e.material)[0], x < 0 && (v.negativeMaterialIndices = !0, x = 0)), e.uv && e.uv.forEach(function(G,
|
|
3487
|
-
const
|
|
3488
|
-
h[
|
|
3486
|
+
e.material && e.material.mappingType !== "AllSame" && (x = Bo(w, n, _, e.material)[0], x < 0 && (v.negativeMaterialIndices = !0, x = 0)), e.uv && e.uv.forEach(function(G, Q) {
|
|
3487
|
+
const se = Bo(w, n, _, G);
|
|
3488
|
+
h[Q] === void 0 && (h[Q] = []), h[Q].push(se[0]), h[Q].push(se[1]);
|
|
3489
3489
|
}), r++, P && (v.genFace(t, e, s, x, c, d, h, m, f, r), n++, r = 0, s = [], c = [], d = [], h = [], m = [], f = []);
|
|
3490
3490
|
}), t;
|
|
3491
3491
|
}
|
|
@@ -3889,9 +3889,9 @@ class Rd {
|
|
|
3889
3889
|
if (_[0] >= 180 || _[1] >= 180 || _[2] >= 180) {
|
|
3890
3890
|
const x = Math.max(..._) / 180, P = new kn(...h, r), A = new kn(...f, r), U = new dt().setFromEuler(P), G = new dt().setFromEuler(A);
|
|
3891
3891
|
U.dot(G) && G.set(-G.x, -G.y, -G.z, -G.w);
|
|
3892
|
-
const
|
|
3892
|
+
const Q = e.times[c - 1], se = e.times[c] - Q, B = new dt(), Y = new kn();
|
|
3893
3893
|
for (let xe = 0; xe < 1; xe += 1 / x)
|
|
3894
|
-
B.copy(U.clone().slerp(G.clone(), xe)), o.push(
|
|
3894
|
+
B.copy(U.clone().slerp(G.clone(), xe)), o.push(Q + xe * se), Y.setFromQuaternion(B, r), s.push(Y.x), s.push(Y.y), s.push(Y.z);
|
|
3895
3895
|
} else
|
|
3896
3896
|
o.push(e.times[c]), s.push(xt.degToRad(e.values[c])), s.push(xt.degToRad(t.values[c])), s.push(xt.degToRad(n.values[c]));
|
|
3897
3897
|
}
|
|
@@ -4276,35 +4276,35 @@ function Kl(a) {
|
|
|
4276
4276
|
a.translation && e.setPosition(ar.fromArray(a.translation));
|
|
4277
4277
|
const w = eo(0);
|
|
4278
4278
|
if (a.preRotation) {
|
|
4279
|
-
const
|
|
4280
|
-
|
|
4279
|
+
const ce = a.preRotation.map(xt.degToRad);
|
|
4280
|
+
ce.push(w), t.makeRotationFromEuler(Ji.fromArray(ce));
|
|
4281
4281
|
}
|
|
4282
4282
|
if (a.rotation) {
|
|
4283
|
-
const
|
|
4284
|
-
|
|
4283
|
+
const ce = a.rotation.map(xt.degToRad);
|
|
4284
|
+
ce.push(a.eulerOrder || w), n.makeRotationFromEuler(Ji.fromArray(ce));
|
|
4285
4285
|
}
|
|
4286
4286
|
if (a.postRotation) {
|
|
4287
|
-
const
|
|
4288
|
-
|
|
4287
|
+
const ce = a.postRotation.map(xt.degToRad);
|
|
4288
|
+
ce.push(w), r.makeRotationFromEuler(Ji.fromArray(ce)), r.invert();
|
|
4289
4289
|
}
|
|
4290
4290
|
a.scale && o.scale(ar.fromArray(a.scale)), a.scalingOffset && c.setPosition(ar.fromArray(a.scalingOffset)), a.scalingPivot && s.setPosition(ar.fromArray(a.scalingPivot)), a.rotationOffset && d.setPosition(ar.fromArray(a.rotationOffset)), a.rotationPivot && h.setPosition(ar.fromArray(a.rotationPivot)), a.parentMatrixWorld && (f.copy(a.parentMatrix), m.copy(a.parentMatrixWorld));
|
|
4291
4291
|
const x = t.clone().multiply(n).multiply(r), P = new Ze();
|
|
4292
4292
|
P.extractRotation(m);
|
|
4293
4293
|
const A = new Ze();
|
|
4294
4294
|
A.copyPosition(m);
|
|
4295
|
-
const U = A.clone().invert().multiply(m), G = P.clone().invert().multiply(U),
|
|
4295
|
+
const U = A.clone().invert().multiply(m), G = P.clone().invert().multiply(U), Q = o, se = new Ze();
|
|
4296
4296
|
if (_ === 0)
|
|
4297
|
-
|
|
4297
|
+
se.copy(P).multiply(x).multiply(G).multiply(Q);
|
|
4298
4298
|
else if (_ === 1)
|
|
4299
|
-
|
|
4299
|
+
se.copy(P).multiply(G).multiply(x).multiply(Q);
|
|
4300
4300
|
else {
|
|
4301
4301
|
const Xe = new Ze().scale(new ye().setFromMatrixScale(f)).clone().invert(), qe = G.clone().multiply(Xe);
|
|
4302
|
-
|
|
4302
|
+
se.copy(P).multiply(x).multiply(qe).multiply(Q);
|
|
4303
4303
|
}
|
|
4304
4304
|
const B = h.clone().invert(), Y = s.clone().invert();
|
|
4305
4305
|
let xe = e.clone().multiply(d).multiply(h).multiply(t).multiply(n).multiply(r).multiply(B).multiply(c).multiply(s).multiply(o).multiply(Y);
|
|
4306
|
-
const
|
|
4307
|
-
return v.copyPosition(
|
|
4306
|
+
const ke = new Ze().copyPosition(xe), Le = m.clone().multiply(ke);
|
|
4307
|
+
return v.copyPosition(Le), xe = v.clone().multiply(se), xe.premultiply(m.invert()), xe;
|
|
4308
4308
|
}
|
|
4309
4309
|
function eo(a) {
|
|
4310
4310
|
a = a || 0;
|
|
@@ -4607,7 +4607,7 @@ class Kd {
|
|
|
4607
4607
|
const o = t.json, d = ((o.extensions && o.extensions[this.name] || {}).lights || [])[e];
|
|
4608
4608
|
let h;
|
|
4609
4609
|
const m = new _t(16777215);
|
|
4610
|
-
d.color !== void 0 && m.setRGB(d.color[0], d.color[1], d.color[2],
|
|
4610
|
+
d.color !== void 0 && m.setRGB(d.color[0], d.color[1], d.color[2], fn);
|
|
4611
4611
|
const f = d.range !== void 0 ? d.range : 0;
|
|
4612
4612
|
switch (d.type) {
|
|
4613
4613
|
case "directional":
|
|
@@ -4622,7 +4622,7 @@ class Kd {
|
|
|
4622
4622
|
default:
|
|
4623
4623
|
throw new Error("THREE.GLTFLoader: Unexpected light type: " + d.type);
|
|
4624
4624
|
}
|
|
4625
|
-
return h.position.set(0, 0, 0),
|
|
4625
|
+
return h.position.set(0, 0, 0), dn(h, d), d.intensity !== void 0 && (h.intensity = d.intensity), h.name = t.createUniqueName(d.name || "light_" + e), r = Promise.resolve(h), t.cache.add(n, r), r;
|
|
4626
4626
|
}
|
|
4627
4627
|
getDependency(e, t) {
|
|
4628
4628
|
if (e === "light")
|
|
@@ -4649,7 +4649,7 @@ class Xd {
|
|
|
4649
4649
|
if (o) {
|
|
4650
4650
|
if (Array.isArray(o.baseColorFactor)) {
|
|
4651
4651
|
const s = o.baseColorFactor;
|
|
4652
|
-
e.color.setRGB(s[0], s[1], s[2],
|
|
4652
|
+
e.color.setRGB(s[0], s[1], s[2], fn), e.opacity = s[3];
|
|
4653
4653
|
}
|
|
4654
4654
|
o.baseColorTexture !== void 0 && r.push(n.assignTexture(e, "map", o.baseColorTexture, ut));
|
|
4655
4655
|
}
|
|
@@ -4674,7 +4674,7 @@ class Yd {
|
|
|
4674
4674
|
}
|
|
4675
4675
|
getMaterialType(e) {
|
|
4676
4676
|
const n = this.parser.json.materials[e];
|
|
4677
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4677
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4678
4678
|
}
|
|
4679
4679
|
extendMaterialParams(e, t) {
|
|
4680
4680
|
const n = this.parser, r = n.json.materials[e];
|
|
@@ -4694,7 +4694,7 @@ class qd {
|
|
|
4694
4694
|
}
|
|
4695
4695
|
getMaterialType(e) {
|
|
4696
4696
|
const n = this.parser.json.materials[e];
|
|
4697
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4697
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4698
4698
|
}
|
|
4699
4699
|
extendMaterialParams(e, t) {
|
|
4700
4700
|
const r = this.parser.json.materials[e];
|
|
@@ -4710,7 +4710,7 @@ class Wd {
|
|
|
4710
4710
|
}
|
|
4711
4711
|
getMaterialType(e) {
|
|
4712
4712
|
const n = this.parser.json.materials[e];
|
|
4713
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4713
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4714
4714
|
}
|
|
4715
4715
|
extendMaterialParams(e, t) {
|
|
4716
4716
|
const n = this.parser, r = n.json.materials[e];
|
|
@@ -4726,7 +4726,7 @@ class Jd {
|
|
|
4726
4726
|
}
|
|
4727
4727
|
getMaterialType(e) {
|
|
4728
4728
|
const n = this.parser.json.materials[e];
|
|
4729
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4729
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4730
4730
|
}
|
|
4731
4731
|
extendMaterialParams(e, t) {
|
|
4732
4732
|
const n = this.parser, r = n.json.materials[e];
|
|
@@ -4737,7 +4737,7 @@ class Jd {
|
|
|
4737
4737
|
const s = r.extensions[this.name];
|
|
4738
4738
|
if (s.sheenColorFactor !== void 0) {
|
|
4739
4739
|
const c = s.sheenColorFactor;
|
|
4740
|
-
t.sheenColor.setRGB(c[0], c[1], c[2],
|
|
4740
|
+
t.sheenColor.setRGB(c[0], c[1], c[2], fn);
|
|
4741
4741
|
}
|
|
4742
4742
|
return s.sheenRoughnessFactor !== void 0 && (t.sheenRoughness = s.sheenRoughnessFactor), s.sheenColorTexture !== void 0 && o.push(n.assignTexture(t, "sheenColorMap", s.sheenColorTexture, ut)), s.sheenRoughnessTexture !== void 0 && o.push(n.assignTexture(t, "sheenRoughnessMap", s.sheenRoughnessTexture)), Promise.all(o);
|
|
4743
4743
|
}
|
|
@@ -4748,7 +4748,7 @@ class Zd {
|
|
|
4748
4748
|
}
|
|
4749
4749
|
getMaterialType(e) {
|
|
4750
4750
|
const n = this.parser.json.materials[e];
|
|
4751
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4751
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4752
4752
|
}
|
|
4753
4753
|
extendMaterialParams(e, t) {
|
|
4754
4754
|
const n = this.parser, r = n.json.materials[e];
|
|
@@ -4764,7 +4764,7 @@ class Qd {
|
|
|
4764
4764
|
}
|
|
4765
4765
|
getMaterialType(e) {
|
|
4766
4766
|
const n = this.parser.json.materials[e];
|
|
4767
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4767
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4768
4768
|
}
|
|
4769
4769
|
extendMaterialParams(e, t) {
|
|
4770
4770
|
const n = this.parser, r = n.json.materials[e];
|
|
@@ -4773,7 +4773,7 @@ class Qd {
|
|
|
4773
4773
|
const o = [], s = r.extensions[this.name];
|
|
4774
4774
|
t.thickness = s.thicknessFactor !== void 0 ? s.thicknessFactor : 0, s.thicknessTexture !== void 0 && o.push(n.assignTexture(t, "thicknessMap", s.thicknessTexture)), t.attenuationDistance = s.attenuationDistance || 1 / 0;
|
|
4775
4775
|
const c = s.attenuationColor || [1, 1, 1];
|
|
4776
|
-
return t.attenuationColor = new _t().setRGB(c[0], c[1], c[2],
|
|
4776
|
+
return t.attenuationColor = new _t().setRGB(c[0], c[1], c[2], fn), Promise.all(o);
|
|
4777
4777
|
}
|
|
4778
4778
|
}
|
|
4779
4779
|
class ep {
|
|
@@ -4782,7 +4782,7 @@ class ep {
|
|
|
4782
4782
|
}
|
|
4783
4783
|
getMaterialType(e) {
|
|
4784
4784
|
const n = this.parser.json.materials[e];
|
|
4785
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4785
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4786
4786
|
}
|
|
4787
4787
|
extendMaterialParams(e, t) {
|
|
4788
4788
|
const r = this.parser.json.materials[e];
|
|
@@ -4798,7 +4798,7 @@ class tp {
|
|
|
4798
4798
|
}
|
|
4799
4799
|
getMaterialType(e) {
|
|
4800
4800
|
const n = this.parser.json.materials[e];
|
|
4801
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4801
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4802
4802
|
}
|
|
4803
4803
|
extendMaterialParams(e, t) {
|
|
4804
4804
|
const n = this.parser, r = n.json.materials[e];
|
|
@@ -4807,7 +4807,7 @@ class tp {
|
|
|
4807
4807
|
const o = [], s = r.extensions[this.name];
|
|
4808
4808
|
t.specularIntensity = s.specularFactor !== void 0 ? s.specularFactor : 1, s.specularTexture !== void 0 && o.push(n.assignTexture(t, "specularIntensityMap", s.specularTexture));
|
|
4809
4809
|
const c = s.specularColorFactor || [1, 1, 1];
|
|
4810
|
-
return t.specularColor = new _t().setRGB(c[0], c[1], c[2],
|
|
4810
|
+
return t.specularColor = new _t().setRGB(c[0], c[1], c[2], fn), s.specularColorTexture !== void 0 && o.push(n.assignTexture(t, "specularColorMap", s.specularColorTexture, ut)), Promise.all(o);
|
|
4811
4811
|
}
|
|
4812
4812
|
}
|
|
4813
4813
|
class np {
|
|
@@ -4816,7 +4816,7 @@ class np {
|
|
|
4816
4816
|
}
|
|
4817
4817
|
getMaterialType(e) {
|
|
4818
4818
|
const n = this.parser.json.materials[e];
|
|
4819
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4819
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4820
4820
|
}
|
|
4821
4821
|
extendMaterialParams(e, t) {
|
|
4822
4822
|
const n = this.parser, r = n.json.materials[e];
|
|
@@ -4832,7 +4832,7 @@ class rp {
|
|
|
4832
4832
|
}
|
|
4833
4833
|
getMaterialType(e) {
|
|
4834
4834
|
const n = this.parser.json.materials[e];
|
|
4835
|
-
return !n.extensions || !n.extensions[this.name] ? null :
|
|
4835
|
+
return !n.extensions || !n.extensions[this.name] ? null : mn;
|
|
4836
4836
|
}
|
|
4837
4837
|
extendMaterialParams(e, t) {
|
|
4838
4838
|
const n = this.parser, r = n.json.materials[e];
|
|
@@ -4938,14 +4938,14 @@ class lp {
|
|
|
4938
4938
|
const m = h.pop(), f = m.isGroup ? m.children : [m], v = h[0].count, _ = [];
|
|
4939
4939
|
for (const w of f) {
|
|
4940
4940
|
const x = new Ze(), P = new ye(), A = new dt(), U = new ye(1, 1, 1), G = new nu(w.geometry, w.material, v);
|
|
4941
|
-
for (let
|
|
4942
|
-
d.TRANSLATION && P.fromBufferAttribute(d.TRANSLATION,
|
|
4943
|
-
for (const
|
|
4944
|
-
if (
|
|
4945
|
-
const
|
|
4946
|
-
G.instanceColor = new ru(
|
|
4947
|
-
} else
|
|
4948
|
-
|
|
4941
|
+
for (let Q = 0; Q < v; Q++)
|
|
4942
|
+
d.TRANSLATION && P.fromBufferAttribute(d.TRANSLATION, Q), d.ROTATION && A.fromBufferAttribute(d.ROTATION, Q), d.SCALE && U.fromBufferAttribute(d.SCALE, Q), G.setMatrixAt(Q, x.compose(P, A, U));
|
|
4943
|
+
for (const Q in d)
|
|
4944
|
+
if (Q === "_COLOR_0") {
|
|
4945
|
+
const se = d[Q];
|
|
4946
|
+
G.instanceColor = new ru(se.array, se.itemSize, se.normalized);
|
|
4947
|
+
} else Q !== "TRANSLATION" && Q !== "ROTATION" && Q !== "SCALE" && w.geometry.setAttribute(Q, d[Q]);
|
|
4948
|
+
pn.prototype.copy.call(G, w), this.parser.assignFinalMaterial(G), _.push(G);
|
|
4949
4949
|
}
|
|
4950
4950
|
return m.isGroup ? (m.clear(), m.add(..._), m) : _[0];
|
|
4951
4951
|
}));
|
|
@@ -5010,7 +5010,7 @@ class up {
|
|
|
5010
5010
|
P !== void 0 && (x.normalized = P);
|
|
5011
5011
|
}
|
|
5012
5012
|
f(_);
|
|
5013
|
-
}, c, h,
|
|
5013
|
+
}, c, h, fn, v);
|
|
5014
5014
|
});
|
|
5015
5015
|
});
|
|
5016
5016
|
}
|
|
@@ -5040,9 +5040,9 @@ class Yl extends mu {
|
|
|
5040
5040
|
}
|
|
5041
5041
|
interpolate_(e, t, n, r) {
|
|
5042
5042
|
const o = this.resultBuffer, s = this.sampleValues, c = this.valueSize, d = c * 2, h = c * 3, m = r - t, f = (n - t) / m, v = f * f, _ = v * f, w = e * h, x = w - h, P = -2 * _ + 3 * v, A = _ - v, U = 1 - P, G = A - v + f;
|
|
5043
|
-
for (let
|
|
5044
|
-
const
|
|
5045
|
-
o[
|
|
5043
|
+
for (let Q = 0; Q !== c; Q++) {
|
|
5044
|
+
const se = s[x + Q + c], B = s[x + Q + d] * m, Y = s[w + Q + c], xe = s[w + Q] * m;
|
|
5045
|
+
o[Q] = U * se + G * B + P * Y + A * xe;
|
|
5046
5046
|
}
|
|
5047
5047
|
return o;
|
|
5048
5048
|
}
|
|
@@ -5130,7 +5130,7 @@ function Gn(a, e, t) {
|
|
|
5130
5130
|
for (const n in t.extensions)
|
|
5131
5131
|
a[n] === void 0 && (e.userData.gltfExtensions = e.userData.gltfExtensions || {}, e.userData.gltfExtensions[n] = t.extensions[n]);
|
|
5132
5132
|
}
|
|
5133
|
-
function
|
|
5133
|
+
function dn(a, e) {
|
|
5134
5134
|
e.extras !== void 0 && (typeof e.extras == "object" ? Object.assign(a.userData, e.extras) : console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, " + e.extras));
|
|
5135
5135
|
}
|
|
5136
5136
|
function yp(a, e, t) {
|
|
@@ -5252,7 +5252,7 @@ class xp {
|
|
|
5252
5252
|
parser: n,
|
|
5253
5253
|
userData: {}
|
|
5254
5254
|
};
|
|
5255
|
-
return Gn(o, c, r),
|
|
5255
|
+
return Gn(o, c, r), dn(c, r), Promise.all(n._invokeAll(function(d) {
|
|
5256
5256
|
return d.afterRoot && d.afterRoot(c);
|
|
5257
5257
|
})).then(function() {
|
|
5258
5258
|
for (const d of c.scenes)
|
|
@@ -5338,7 +5338,7 @@ class xp {
|
|
|
5338
5338
|
* @private
|
|
5339
5339
|
* @param {string} type
|
|
5340
5340
|
* @param {number} index
|
|
5341
|
-
* @return {Promise<Object3D|Material|
|
|
5341
|
+
* @return {Promise<Object3D|Material|Texture|AnimationClip|ArrayBuffer|Object>}
|
|
5342
5342
|
*/
|
|
5343
5343
|
getDependency(e, t) {
|
|
5344
5344
|
const n = e + ":" + t;
|
|
@@ -5476,11 +5476,11 @@ class xp {
|
|
|
5476
5476
|
} else
|
|
5477
5477
|
c === null ? x = new h(r.count * d) : x = new h(c, v, r.count * d), P = new Ur(x, d, w);
|
|
5478
5478
|
if (r.sparse !== void 0) {
|
|
5479
|
-
const A = Qi.SCALAR, U = mr[r.sparse.indices.componentType], G = r.sparse.indices.byteOffset || 0,
|
|
5479
|
+
const A = Qi.SCALAR, U = mr[r.sparse.indices.componentType], G = r.sparse.indices.byteOffset || 0, Q = r.sparse.values.byteOffset || 0, se = new U(s[1], G, r.sparse.count * A), B = new h(s[2], Q, r.sparse.count * d);
|
|
5480
5480
|
c !== null && (P = new Ur(P.array.slice(), P.itemSize, P.normalized)), P.normalized = !1;
|
|
5481
|
-
for (let Y = 0, xe =
|
|
5482
|
-
const
|
|
5483
|
-
if (P.setX(
|
|
5481
|
+
for (let Y = 0, xe = se.length; Y < xe; Y++) {
|
|
5482
|
+
const ke = se[Y];
|
|
5483
|
+
if (P.setX(ke, B[Y * d]), d >= 2 && P.setY(ke, B[Y * d + 1]), d >= 3 && P.setZ(ke, B[Y * d + 2]), d >= 4 && P.setW(ke, B[Y * d + 3]), d >= 5) throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.");
|
|
5484
5484
|
}
|
|
5485
5485
|
P.normalized = w;
|
|
5486
5486
|
}
|
|
@@ -5492,7 +5492,7 @@ class xp {
|
|
|
5492
5492
|
*
|
|
5493
5493
|
* @private
|
|
5494
5494
|
* @param {number} textureIndex
|
|
5495
|
-
* @return {Promise
|
|
5495
|
+
* @return {Promise<?Texture>}
|
|
5496
5496
|
*/
|
|
5497
5497
|
loadTexture(e) {
|
|
5498
5498
|
const t = this.json, n = this.options, o = t.textures[e].source, s = t.images[o];
|
|
@@ -5539,7 +5539,7 @@ class xp {
|
|
|
5539
5539
|
}), t.load(fr.resolveURL(f, o.path), w, void 0, _);
|
|
5540
5540
|
});
|
|
5541
5541
|
}).then(function(f) {
|
|
5542
|
-
return h === !0 && c.revokeObjectURL(d),
|
|
5542
|
+
return h === !0 && c.revokeObjectURL(d), dn(f, s), f.userData.mimeType = s.mimeType || wp(s.uri), f;
|
|
5543
5543
|
}).catch(function(f) {
|
|
5544
5544
|
throw console.error("THREE.GLTFLoader: Couldn't load texture", d), f;
|
|
5545
5545
|
});
|
|
@@ -5621,7 +5621,7 @@ class xp {
|
|
|
5621
5621
|
const f = o.pbrMetallicRoughness || {};
|
|
5622
5622
|
if (c.color = new _t(1, 1, 1), c.opacity = 1, Array.isArray(f.baseColorFactor)) {
|
|
5623
5623
|
const v = f.baseColorFactor;
|
|
5624
|
-
c.color.setRGB(v[0], v[1], v[2],
|
|
5624
|
+
c.color.setRGB(v[0], v[1], v[2], fn), c.opacity = v[3];
|
|
5625
5625
|
}
|
|
5626
5626
|
f.baseColorTexture !== void 0 && h.push(t.assignTexture(c, "map", f.baseColorTexture, ut)), c.metalness = f.metallicFactor !== void 0 ? f.metallicFactor : 1, c.roughness = f.roughnessFactor !== void 0 ? f.roughnessFactor : 1, f.metallicRoughnessTexture !== void 0 && (h.push(t.assignTexture(c, "metalnessMap", f.metallicRoughnessTexture)), h.push(t.assignTexture(c, "roughnessMap", f.metallicRoughnessTexture))), s = this._invokeOne(function(v) {
|
|
5627
5627
|
return v.getMaterialType && v.getMaterialType(e);
|
|
@@ -5637,11 +5637,11 @@ class xp {
|
|
|
5637
5637
|
}
|
|
5638
5638
|
if (o.occlusionTexture !== void 0 && s !== Zn && (h.push(t.assignTexture(c, "aoMap", o.occlusionTexture)), o.occlusionTexture.strength !== void 0 && (c.aoMapIntensity = o.occlusionTexture.strength)), o.emissiveFactor !== void 0 && s !== Zn) {
|
|
5639
5639
|
const f = o.emissiveFactor;
|
|
5640
|
-
c.emissive = new _t().setRGB(f[0], f[1], f[2],
|
|
5640
|
+
c.emissive = new _t().setRGB(f[0], f[1], f[2], fn);
|
|
5641
5641
|
}
|
|
5642
5642
|
return o.emissiveTexture !== void 0 && s !== Zn && h.push(t.assignTexture(c, "emissiveMap", o.emissiveTexture, ut)), Promise.all(h).then(function() {
|
|
5643
5643
|
const f = new s(c);
|
|
5644
|
-
return o.name && (f.name = o.name),
|
|
5644
|
+
return o.name && (f.name = o.name), dn(f, o), t.associations.set(f, { materials: e }), o.extensions && Gn(r, f, o), f;
|
|
5645
5645
|
});
|
|
5646
5646
|
}
|
|
5647
5647
|
/**
|
|
@@ -5714,7 +5714,7 @@ class xp {
|
|
|
5714
5714
|
A = new Ho(x, U);
|
|
5715
5715
|
else
|
|
5716
5716
|
throw new Error("THREE.GLTFLoader: Primitive mode unsupported: " + P.mode);
|
|
5717
|
-
Object.keys(A.geometry.morphAttributes).length > 0 && vp(A, o), A.name = t.createUniqueName(o.name || "mesh_" + e),
|
|
5717
|
+
Object.keys(A.geometry.morphAttributes).length > 0 && vp(A, o), A.name = t.createUniqueName(o.name || "mesh_" + e), dn(A, o), P.extensions && Gn(r, A, P), t.assignFinalMaterial(A), f.push(A);
|
|
5718
5718
|
}
|
|
5719
5719
|
for (let _ = 0, w = f.length; _ < w; _++)
|
|
5720
5720
|
t.associations.set(f[_], {
|
|
@@ -5735,7 +5735,7 @@ class xp {
|
|
|
5735
5735
|
*
|
|
5736
5736
|
* @private
|
|
5737
5737
|
* @param {number} cameraIndex
|
|
5738
|
-
* @return {Promise<
|
|
5738
|
+
* @return {Promise<Camera>|undefined}
|
|
5739
5739
|
*/
|
|
5740
5740
|
loadCamera(e) {
|
|
5741
5741
|
let t;
|
|
@@ -5744,7 +5744,7 @@ class xp {
|
|
|
5744
5744
|
console.warn("THREE.GLTFLoader: Missing camera parameters.");
|
|
5745
5745
|
return;
|
|
5746
5746
|
}
|
|
5747
|
-
return n.type === "perspective" ? t = new wl(xt.radToDeg(r.yfov), r.aspectRatio || 1, r.znear || 1, r.zfar || 2e6) : n.type === "orthographic" && (t = new pu(-r.xmag, r.xmag, r.ymag, -r.ymag, r.znear, r.zfar)), n.name && (t.name = this.createUniqueName(n.name)),
|
|
5747
|
+
return n.type === "perspective" ? t = new wl(xt.radToDeg(r.yfov), r.aspectRatio || 1, r.znear || 1, r.zfar || 2e6) : n.type === "orthographic" && (t = new pu(-r.xmag, r.xmag, r.ymag, -r.ymag, r.znear, r.zfar)), n.name && (t.name = this.createUniqueName(n.name)), dn(t, n), Promise.resolve(t);
|
|
5748
5748
|
}
|
|
5749
5749
|
/**
|
|
5750
5750
|
* Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#skins
|
|
@@ -5792,16 +5792,17 @@ class xp {
|
|
|
5792
5792
|
Promise.all(m)
|
|
5793
5793
|
]).then(function(f) {
|
|
5794
5794
|
const v = f[0], _ = f[1], w = f[2], x = f[3], P = f[4], A = [];
|
|
5795
|
-
for (let
|
|
5796
|
-
const
|
|
5797
|
-
if (
|
|
5798
|
-
|
|
5799
|
-
const Le = n._createAnimationTracks(
|
|
5795
|
+
for (let G = 0, Q = v.length; G < Q; G++) {
|
|
5796
|
+
const se = v[G], B = _[G], Y = w[G], xe = x[G], ke = P[G];
|
|
5797
|
+
if (se === void 0) continue;
|
|
5798
|
+
se.updateMatrix && se.updateMatrix();
|
|
5799
|
+
const Le = n._createAnimationTracks(se, B, Y, xe, ke);
|
|
5800
5800
|
if (Le)
|
|
5801
|
-
for (let
|
|
5802
|
-
A.push(Le[
|
|
5801
|
+
for (let ce = 0; ce < Le.length; ce++)
|
|
5802
|
+
A.push(Le[ce]);
|
|
5803
5803
|
}
|
|
5804
|
-
|
|
5804
|
+
const U = new Tl(o, void 0, A);
|
|
5805
|
+
return dn(U, r), U;
|
|
5805
5806
|
});
|
|
5806
5807
|
}
|
|
5807
5808
|
createNodeMesh(e) {
|
|
@@ -5858,10 +5859,10 @@ class xp {
|
|
|
5858
5859
|
c.push(h);
|
|
5859
5860
|
}), this.nodeCache[e] = Promise.all(c).then(function(h) {
|
|
5860
5861
|
let m;
|
|
5861
|
-
if (o.isBone === !0 ? m = new us() : h.length > 1 ? m = new hr() : h.length === 1 ? m = h[0] : m = new
|
|
5862
|
+
if (o.isBone === !0 ? m = new us() : h.length > 1 ? m = new hr() : h.length === 1 ? m = h[0] : m = new pn(), m !== h[0])
|
|
5862
5863
|
for (let f = 0, v = h.length; f < v; f++)
|
|
5863
5864
|
m.add(h[f]);
|
|
5864
|
-
if (o.name && (m.userData.name = o.name, m.name = s),
|
|
5865
|
+
if (o.name && (m.userData.name = o.name, m.name = s), dn(m, o), o.extensions && Gn(n, m, o), o.matrix !== void 0) {
|
|
5865
5866
|
const f = new Ze();
|
|
5866
5867
|
f.fromArray(o.matrix), m.applyMatrix4(f);
|
|
5867
5868
|
} else
|
|
@@ -5884,7 +5885,7 @@ class xp {
|
|
|
5884
5885
|
*/
|
|
5885
5886
|
loadScene(e) {
|
|
5886
5887
|
const t = this.extensions, n = this.json.scenes[e], r = this, o = new hr();
|
|
5887
|
-
n.name && (o.name = r.createUniqueName(n.name)),
|
|
5888
|
+
n.name && (o.name = r.createUniqueName(n.name)), dn(o, n), n.extensions && Gn(t, o, n);
|
|
5888
5889
|
const s = n.nodes || [], c = [];
|
|
5889
5890
|
for (let d = 0, h = s.length; d < h; d++)
|
|
5890
5891
|
c.push(r.getDependency("node", s[d]));
|
|
@@ -6020,7 +6021,7 @@ function Ua(a, e, t) {
|
|
|
6020
6021
|
});
|
|
6021
6022
|
r.push(s);
|
|
6022
6023
|
}
|
|
6023
|
-
return Zt.workingColorSpace !==
|
|
6024
|
+
return Zt.workingColorSpace !== fn && "COLOR_0" in n && console.warn(`THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${Zt.workingColorSpace}" not supported.`), dn(a, e), Sp(a, e, t), Promise.all(r).then(function() {
|
|
6024
6025
|
return e.targets !== void 0 ? yp(a, e.targets, t) : a;
|
|
6025
6026
|
});
|
|
6026
6027
|
}
|
|
@@ -6343,10 +6344,10 @@ class Mp extends gr {
|
|
|
6343
6344
|
x.setAttribute("position", new Nt(m.vertices, 3)), m.normals.length > 0 && x.setAttribute("normal", new Nt(m.normals, 3)), m.colors.length > 0 && (w = !0, x.setAttribute("color", new Nt(m.colors, 3))), m.hasUVIndices === !0 && x.setAttribute("uv", new Nt(m.uvs, 2));
|
|
6344
6345
|
const P = [];
|
|
6345
6346
|
for (let U = 0, G = f.length; U < G; U++) {
|
|
6346
|
-
const
|
|
6347
|
-
let B = t.materials[
|
|
6347
|
+
const Q = f[U], se = Q.name + "_" + Q.smooth + "_" + w;
|
|
6348
|
+
let B = t.materials[se];
|
|
6348
6349
|
if (this.materials !== null) {
|
|
6349
|
-
if (B = this.materials.create(
|
|
6350
|
+
if (B = this.materials.create(Q.name), v && B && !(B instanceof pr)) {
|
|
6350
6351
|
const Y = new pr();
|
|
6351
6352
|
Hr.prototype.copy.call(Y, B), Y.color.copy(B.color), B = Y;
|
|
6352
6353
|
} else if (_ && B && !(B instanceof Br)) {
|
|
@@ -6354,13 +6355,13 @@ class Mp extends gr {
|
|
|
6354
6355
|
Hr.prototype.copy.call(Y, B), Y.color.copy(B.color), Y.map = B.map, B = Y;
|
|
6355
6356
|
}
|
|
6356
6357
|
}
|
|
6357
|
-
B === void 0 && (v ? B = new pr() : _ ? B = new Br({ size: 1, sizeAttenuation: !1 }) : B = new jr(), B.name =
|
|
6358
|
+
B === void 0 && (v ? B = new pr() : _ ? B = new Br({ size: 1, sizeAttenuation: !1 }) : B = new jr(), B.name = Q.name, B.flatShading = !Q.smooth, B.vertexColors = w, t.materials[se] = B), P.push(B);
|
|
6358
6359
|
}
|
|
6359
6360
|
let A;
|
|
6360
6361
|
if (P.length > 1) {
|
|
6361
6362
|
for (let U = 0, G = f.length; U < G; U++) {
|
|
6362
|
-
const
|
|
6363
|
-
x.addGroup(
|
|
6363
|
+
const Q = f[U];
|
|
6364
|
+
x.addGroup(Q.groupStart, Q.groupCount, U);
|
|
6364
6365
|
}
|
|
6365
6366
|
v ? A = new ms(x, P) : _ ? A = new Ho(x, P) : A = new Te(x, P);
|
|
6366
6367
|
} else
|
|
@@ -6376,7 +6377,7 @@ class Mp extends gr {
|
|
|
6376
6377
|
return o;
|
|
6377
6378
|
}
|
|
6378
6379
|
}
|
|
6379
|
-
class kp extends
|
|
6380
|
+
class kp extends pn {
|
|
6380
6381
|
/**
|
|
6381
6382
|
* Constructs a new CSS2D object.
|
|
6382
6383
|
*
|
|
@@ -6451,8 +6452,8 @@ class Op {
|
|
|
6451
6452
|
const x = v(w).sort(function(A, U) {
|
|
6452
6453
|
if (A.renderOrder !== U.renderOrder)
|
|
6453
6454
|
return U.renderOrder - A.renderOrder;
|
|
6454
|
-
const G = c.objects.get(A).distanceToCameraSquared,
|
|
6455
|
-
return G -
|
|
6455
|
+
const G = c.objects.get(A).distanceToCameraSquared, Q = c.objects.get(U).distanceToCameraSquared;
|
|
6456
|
+
return G - Q;
|
|
6456
6457
|
}), P = x.length;
|
|
6457
6458
|
for (let A = 0, U = x.length; A < U; A++)
|
|
6458
6459
|
x[A].element.style.zIndex = P - A;
|
|
@@ -6464,7 +6465,7 @@ class Is {
|
|
|
6464
6465
|
data = {};
|
|
6465
6466
|
#e = [];
|
|
6466
6467
|
#t;
|
|
6467
|
-
uv =
|
|
6468
|
+
uv = hn();
|
|
6468
6469
|
constructor(e) {
|
|
6469
6470
|
this.#t = new Md(), this.#t.setDecoderPath(e?.dracoLoaderPath ?? "/draco/gltf/"), this.manager = new Ce.LoadingManager(), this.init();
|
|
6470
6471
|
}
|
|
@@ -6541,25 +6542,25 @@ function Ap(a) {
|
|
|
6541
6542
|
}
|
|
6542
6543
|
function w(xe) {
|
|
6543
6544
|
if (s.updateMatrixWorld(), !a.core.world.scene?.bvh || !a.model?.scene || !m) return;
|
|
6544
|
-
const
|
|
6545
|
+
const ke = a.core.world.scene.bvh.geometry, Le = a.core.world.scene.bvh;
|
|
6545
6546
|
a.move.onFloor ? t.y = xe * e : t.y += xe * e, m.position.addScaledVector(t, xe);
|
|
6546
|
-
const
|
|
6547
|
-
if (a.move.forward && (n.set(0, 0, -1).applyAxisAngle(h,
|
|
6548
|
-
const
|
|
6549
|
-
m.rotation.y =
|
|
6550
|
-
}
|
|
6551
|
-
m.updateMatrixWorld(), o.makeEmpty(), c.copy(
|
|
6552
|
-
intersectsBounds: (
|
|
6553
|
-
intersectsTriangle: (
|
|
6554
|
-
const
|
|
6547
|
+
const ce = a.core.orbitCtrls.getAzimuthalAngle();
|
|
6548
|
+
if (a.move.forward && (n.set(0, 0, -1).applyAxisAngle(h, ce), m.position.addScaledVector(n, v() * xe)), a.move.backward && (n.set(0, 0, 1).applyAxisAngle(h, ce), m.position.addScaledVector(n, v() * xe)), a.move.left && (n.set(-1, 0, 0).applyAxisAngle(h, ce), m.position.addScaledVector(n, v() * xe)), a.move.right && (n.set(1, 0, 0).applyAxisAngle(h, ce), m.position.addScaledVector(n, a.move.speed * xe)), a.move.forward || a.move.backward || a.move.right || a.move.left) {
|
|
6549
|
+
const J = a.move.forward ? 1 : a.move.backward ? -1 : 0, W = a.move.right ? 1 : a.move.left ? -1 : 0, le = ((J <= 0 ? 0 : Math.PI * (W || 1)) + Math.PI * W / 2) / (J && W ? 2 : 1);
|
|
6550
|
+
m.rotation.y = ce + le, a.model && (a.model.scene.rotation.y = ce + le);
|
|
6551
|
+
}
|
|
6552
|
+
m.updateMatrixWorld(), o.makeEmpty(), c.copy(Le.matrixWorld).invert(), d.copy(f.segment), d.start.applyMatrix4(m.matrixWorld).applyMatrix4(c), d.end.applyMatrix4(m.matrixWorld).applyMatrix4(c), o.expandByPoint(d.start), o.expandByPoint(d.end), o.min.addScalar(-f.radius), o.max.addScalar(f.radius), ke.boundsTree.shapecast({
|
|
6553
|
+
intersectsBounds: (J) => J.intersectsBox(o),
|
|
6554
|
+
intersectsTriangle: (J) => {
|
|
6555
|
+
const W = n, le = r, ne = J.closestPointToSegment(d, W, le);
|
|
6555
6556
|
if (ne < f.radius) {
|
|
6556
|
-
const
|
|
6557
|
-
d.start.addScaledVector(Se,
|
|
6557
|
+
const ue = f.radius - ne, Se = le.sub(W).normalize();
|
|
6558
|
+
d.start.addScaledVector(Se, ue), d.end.addScaledVector(Se, ue);
|
|
6558
6559
|
}
|
|
6559
6560
|
}
|
|
6560
6561
|
});
|
|
6561
6562
|
const Xe = n;
|
|
6562
|
-
Xe.copy(d.start).applyMatrix4(
|
|
6563
|
+
Xe.copy(d.start).applyMatrix4(Le.matrixWorld);
|
|
6563
6564
|
const qe = r;
|
|
6564
6565
|
qe.subVectors(Xe, m.position), a.move.onFloor = qe.y > Math.abs(xe * t.y * 0.25);
|
|
6565
6566
|
const Ee = Math.max(0, qe.length() - 1e-5);
|
|
@@ -6571,20 +6572,20 @@ function Ap(a) {
|
|
|
6571
6572
|
})
|
|
6572
6573
|
), m.position.y < -25 && A();
|
|
6573
6574
|
}
|
|
6574
|
-
function x(xe,
|
|
6575
|
-
m.position.set(xe,
|
|
6575
|
+
function x(xe, ke, Le) {
|
|
6576
|
+
m.position.set(xe, ke + 1.5, Le);
|
|
6576
6577
|
}
|
|
6577
6578
|
function P() {
|
|
6578
6579
|
return m;
|
|
6579
6580
|
}
|
|
6580
6581
|
function A() {
|
|
6581
6582
|
if (t.set(0, 0, 0), !a.model?.scene || !m) return;
|
|
6582
|
-
const xe = a.core.camera,
|
|
6583
|
+
const xe = a.core.camera, ke = a.core.orbitCtrls;
|
|
6583
6584
|
m.position.copy(a.initPosition), xe.position.addVectors(a.initPosition, {
|
|
6584
6585
|
x: 0,
|
|
6585
6586
|
y: Math.PI,
|
|
6586
6587
|
z: Math.PI * 0.48
|
|
6587
|
-
}),
|
|
6588
|
+
}), ke.target.copy(m.position), xe.updateProjectionMatrix(), m.updateMatrixWorld();
|
|
6588
6589
|
}
|
|
6589
6590
|
function U() {
|
|
6590
6591
|
t.y = a.move.jumpHeight;
|
|
@@ -6592,17 +6593,17 @@ function Ap(a) {
|
|
|
6592
6593
|
function G() {
|
|
6593
6594
|
return f;
|
|
6594
6595
|
}
|
|
6595
|
-
function
|
|
6596
|
+
function Q() {
|
|
6596
6597
|
return s;
|
|
6597
6598
|
}
|
|
6598
|
-
function
|
|
6599
|
+
function se() {
|
|
6599
6600
|
return e;
|
|
6600
6601
|
}
|
|
6601
6602
|
function B(xe) {
|
|
6602
6603
|
e = xe;
|
|
6603
6604
|
}
|
|
6604
|
-
function Y(xe,
|
|
6605
|
-
f.radius = xe, f.segment.start.copy(
|
|
6605
|
+
function Y(xe, ke, Le) {
|
|
6606
|
+
f.radius = xe, f.segment.start.copy(ke), f.segment.end.copy(Le);
|
|
6606
6607
|
}
|
|
6607
6608
|
return {
|
|
6608
6609
|
teleport: x,
|
|
@@ -6612,8 +6613,8 @@ function Ap(a) {
|
|
|
6612
6613
|
jump: U,
|
|
6613
6614
|
reset: A,
|
|
6614
6615
|
getCapsule: G,
|
|
6615
|
-
getTempBoxHelper:
|
|
6616
|
-
getGravity:
|
|
6616
|
+
getTempBoxHelper: Q,
|
|
6617
|
+
getGravity: se,
|
|
6617
6618
|
setGravity: B,
|
|
6618
6619
|
setCapsule: Y
|
|
6619
6620
|
};
|
|
@@ -6676,10 +6677,10 @@ function Dp() {
|
|
|
6676
6677
|
function G(i, l) {
|
|
6677
6678
|
return l(i);
|
|
6678
6679
|
}
|
|
6679
|
-
function
|
|
6680
|
+
function Q(i) {
|
|
6680
6681
|
if (!i) throw new Error("Assertion Failed");
|
|
6681
6682
|
}
|
|
6682
|
-
function
|
|
6683
|
+
function se(i) {
|
|
6683
6684
|
o.setImmediate ? setImmediate(i) : setTimeout(i, 0);
|
|
6684
6685
|
}
|
|
6685
6686
|
function B(i, l) {
|
|
@@ -6700,7 +6701,7 @@ function Dp() {
|
|
|
6700
6701
|
}
|
|
6701
6702
|
function Y(i, l, p) {
|
|
6702
6703
|
if (i && l !== void 0 && !("isFrozen" in Object && Object.isFrozen(i))) if (typeof l != "string" && "length" in l) {
|
|
6703
|
-
|
|
6704
|
+
Q(typeof p != "string" && "length" in p);
|
|
6704
6705
|
for (var g = 0, y = l.length; g < y; ++g) Y(i, l[g], p[g]);
|
|
6705
6706
|
} else {
|
|
6706
6707
|
var b, S, E = l.indexOf(".");
|
|
@@ -6712,17 +6713,17 @@ function Dp() {
|
|
|
6712
6713
|
for (l in i) f(i, l) && (p[l] = i[l]);
|
|
6713
6714
|
return p;
|
|
6714
6715
|
}
|
|
6715
|
-
var
|
|
6716
|
-
function
|
|
6717
|
-
return
|
|
6716
|
+
var ke = [].concat;
|
|
6717
|
+
function Le(i) {
|
|
6718
|
+
return ke.apply([], i);
|
|
6718
6719
|
}
|
|
6719
|
-
var Dn = "BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(
|
|
6720
|
+
var Dn = "BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(Le([8, 16, 32, 64].map(function(i) {
|
|
6720
6721
|
return ["Int", "Uint", "Float"].map(function(l) {
|
|
6721
6722
|
return l + i + "Array";
|
|
6722
6723
|
});
|
|
6723
6724
|
}))).filter(function(i) {
|
|
6724
6725
|
return o[i];
|
|
6725
|
-
}),
|
|
6726
|
+
}), ce = new Set(Dn.map(function(i) {
|
|
6726
6727
|
return o[i];
|
|
6727
6728
|
})), Xe = null;
|
|
6728
6729
|
function qe(i) {
|
|
@@ -6733,7 +6734,7 @@ function Dp() {
|
|
|
6733
6734
|
if (c(p)) {
|
|
6734
6735
|
g = [], Xe.set(p, g);
|
|
6735
6736
|
for (var y = 0, b = p.length; y < b; ++y) g.push(l(p[y]));
|
|
6736
|
-
} else if (
|
|
6737
|
+
} else if (ce.has(p.constructor)) g = p;
|
|
6737
6738
|
else {
|
|
6738
6739
|
var S, E = h(p);
|
|
6739
6740
|
for (S in g = E === Object.prototype ? {} : Object.create(E), Xe.set(p, g), p) f(p, S) && (g[S] = l(p[S]));
|
|
@@ -6742,25 +6743,25 @@ function Dp() {
|
|
|
6742
6743
|
})(i), Xe = null, i;
|
|
6743
6744
|
}
|
|
6744
6745
|
var Ee = {}.toString;
|
|
6745
|
-
function
|
|
6746
|
+
function J(i) {
|
|
6746
6747
|
return Ee.call(i).slice(8, -1);
|
|
6747
6748
|
}
|
|
6748
|
-
var
|
|
6749
|
+
var W = typeof Symbol < "u" ? Symbol.iterator : "@@iterator", le = typeof W == "symbol" ? function(i) {
|
|
6749
6750
|
var l;
|
|
6750
|
-
return i != null && (l = i[
|
|
6751
|
+
return i != null && (l = i[W]) && l.apply(i);
|
|
6751
6752
|
} : function() {
|
|
6752
6753
|
return null;
|
|
6753
6754
|
};
|
|
6754
6755
|
function ne(i, l) {
|
|
6755
6756
|
return l = i.indexOf(l), 0 <= l && i.splice(l, 1), 0 <= l;
|
|
6756
6757
|
}
|
|
6757
|
-
var
|
|
6758
|
+
var ue = {};
|
|
6758
6759
|
function Se(i) {
|
|
6759
6760
|
var l, p, g, y;
|
|
6760
6761
|
if (arguments.length === 1) {
|
|
6761
6762
|
if (c(i)) return i.slice();
|
|
6762
|
-
if (this ===
|
|
6763
|
-
if (y =
|
|
6763
|
+
if (this === ue && typeof i == "string") return [i];
|
|
6764
|
+
if (y = le(i)) {
|
|
6764
6765
|
for (p = []; !(g = y.next()).done; ) p.push(g.value);
|
|
6765
6766
|
return p;
|
|
6766
6767
|
}
|
|
@@ -6788,7 +6789,7 @@ function Dp() {
|
|
|
6788
6789
|
}).join(`
|
|
6789
6790
|
`);
|
|
6790
6791
|
}
|
|
6791
|
-
function
|
|
6792
|
+
function de(i, l, p, g) {
|
|
6792
6793
|
this.failures = l, this.failedKeys = g, this.successCount = p, this.message = be(i, l);
|
|
6793
6794
|
}
|
|
6794
6795
|
function Pe(i, l) {
|
|
@@ -6798,7 +6799,7 @@ function Dp() {
|
|
|
6798
6799
|
}
|
|
6799
6800
|
x(q).from(Error).extend({ toString: function() {
|
|
6800
6801
|
return this.name + ": " + this.message;
|
|
6801
|
-
} }), x(
|
|
6802
|
+
} }), x(de).from(q), x(Pe).from(q);
|
|
6802
6803
|
var Be = Ft.reduce(function(i, l) {
|
|
6803
6804
|
return i[l] = l + "Error", i;
|
|
6804
6805
|
}, {}), Ge = q, fe = Ft.reduce(function(i, l) {
|
|
@@ -6872,7 +6873,7 @@ function Dp() {
|
|
|
6872
6873
|
return l.apply(this, arguments);
|
|
6873
6874
|
};
|
|
6874
6875
|
}
|
|
6875
|
-
We.ModifyError =
|
|
6876
|
+
We.ModifyError = de, We.DexieError = q, We.BulkError = Pe;
|
|
6876
6877
|
var sn = typeof location < "u" && /^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);
|
|
6877
6878
|
function Ds(i) {
|
|
6878
6879
|
sn = i;
|
|
@@ -6884,11 +6885,11 @@ function Dp() {
|
|
|
6884
6885
|
return [l, h(l), i];
|
|
6885
6886
|
})(), _r = Dn[0], Ft = Dn[1], Dn = Dn[2], Ft = Ft && Ft.then, Nn = _r && _r.constructor, ui = !!Dn, xr = function(i, l) {
|
|
6886
6887
|
Sr.push([i, l]), io && (queueMicrotask(tc), io = !1);
|
|
6887
|
-
}, di = !0, io = !0, Vn = [], so = [], pi = Ve, wn = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: _e, pgp: !1, env: {}, finalize: _e },
|
|
6888
|
+
}, di = !0, io = !0, Vn = [], so = [], pi = Ve, wn = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: _e, pgp: !1, env: {}, finalize: _e }, Me = wn, Sr = [], jn = 0, ao = [];
|
|
6888
6889
|
function me(i) {
|
|
6889
6890
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
6890
6891
|
this._listeners = [], this._lib = !1;
|
|
6891
|
-
var l = this._PSD =
|
|
6892
|
+
var l = this._PSD = Me;
|
|
6892
6893
|
if (typeof i != "function") {
|
|
6893
6894
|
if (i !== wr) throw new TypeError("Not a function");
|
|
6894
6895
|
return this._state = arguments[1], this._value = arguments[2], void (this._state === !1 && hi(this, this._value));
|
|
@@ -6910,9 +6911,9 @@ function Dp() {
|
|
|
6910
6911
|
})(this, i);
|
|
6911
6912
|
}
|
|
6912
6913
|
var fi = { get: function() {
|
|
6913
|
-
var i =
|
|
6914
|
+
var i = Me, l = po;
|
|
6914
6915
|
function p(g, y) {
|
|
6915
|
-
var b = this, S = !i.global && (i !==
|
|
6916
|
+
var b = this, S = !i.global && (i !== Me || l !== po), E = S && !xn(), M = new me(function(O, R) {
|
|
6916
6917
|
mi(b, new Vs(zs(g, i, S, E), zs(y, i, S, E), O, R, i));
|
|
6917
6918
|
});
|
|
6918
6919
|
return this._consoleTask && (M._consoleTask = this._consoleTask), M;
|
|
@@ -6992,9 +6993,9 @@ function Dp() {
|
|
|
6992
6993
|
return new me(wr, !1, i);
|
|
6993
6994
|
}
|
|
6994
6995
|
function st(i, l) {
|
|
6995
|
-
var p =
|
|
6996
|
+
var p = Me;
|
|
6996
6997
|
return function() {
|
|
6997
|
-
var g = Qn(), y =
|
|
6998
|
+
var g = Qn(), y = Me;
|
|
6998
6999
|
try {
|
|
6999
7000
|
return Sn(p, !0), i.apply(this, arguments);
|
|
7000
7001
|
} catch (b) {
|
|
@@ -7005,7 +7006,7 @@ function Dp() {
|
|
|
7005
7006
|
};
|
|
7006
7007
|
}
|
|
7007
7008
|
v(me.prototype, { then: fi, _then: function(i, l) {
|
|
7008
|
-
mi(this, new Vs(null, null, i, l,
|
|
7009
|
+
mi(this, new Vs(null, null, i, l, Me));
|
|
7009
7010
|
}, catch: function(i) {
|
|
7010
7011
|
if (arguments.length === 1) return this.then(null, i);
|
|
7011
7012
|
var l = i, p = arguments[1];
|
|
@@ -7055,9 +7056,9 @@ function Dp() {
|
|
|
7055
7056
|
});
|
|
7056
7057
|
});
|
|
7057
7058
|
}, PSD: { get: function() {
|
|
7058
|
-
return
|
|
7059
|
+
return Me;
|
|
7059
7060
|
}, set: function(i) {
|
|
7060
|
-
return
|
|
7061
|
+
return Me = i;
|
|
7061
7062
|
} }, totalEchoes: { get: function() {
|
|
7062
7063
|
return po;
|
|
7063
7064
|
} }, newPSD: _n, usePSD: Bn, scheduler: { get: function() {
|
|
@@ -7071,7 +7072,7 @@ function Dp() {
|
|
|
7071
7072
|
} }, follow: function(i, l) {
|
|
7072
7073
|
return new me(function(p, g) {
|
|
7073
7074
|
return _n(function(y, b) {
|
|
7074
|
-
var S =
|
|
7075
|
+
var S = Me;
|
|
7075
7076
|
S.unhandleds = [], S.onunhandled = b, S.finalize = Qe(function() {
|
|
7076
7077
|
var E, M = this;
|
|
7077
7078
|
E = function() {
|
|
@@ -7115,7 +7116,7 @@ function Dp() {
|
|
|
7115
7116
|
}), Nn.withResolvers && (me.withResolvers = Nn.withResolvers));
|
|
7116
7117
|
var vt = { awaits: 0, echoes: 0, id: 0 }, nc = 0, co = [], uo = 0, po = 0, rc = 0;
|
|
7117
7118
|
function _n(i, l, p, g) {
|
|
7118
|
-
var y =
|
|
7119
|
+
var y = Me, b = Object.create(y);
|
|
7119
7120
|
return b.parent = y, b.ref = 0, b.global = !1, b.id = ++rc, wn.env, b.env = ui ? { Promise: me, PromiseProp: { value: me, configurable: !0, writable: !0 }, all: me.all, race: me.race, allSettled: me.allSettled, any: me.any, resolve: me.resolve, reject: me.reject } : {}, l && d(b, l), ++y.ref, b.finalize = function() {
|
|
7120
7121
|
--this.parent.ref || this.parent.finalize();
|
|
7121
7122
|
}, g = Bn(b, i, p, g), b.ref === 0 && b.finalize(), g;
|
|
@@ -7138,17 +7139,17 @@ function Dp() {
|
|
|
7138
7139
|
co.pop(), Sn(i, !1);
|
|
7139
7140
|
}
|
|
7140
7141
|
function Sn(i, l) {
|
|
7141
|
-
var p, g =
|
|
7142
|
-
(l ? !vt.echoes || uo++ && i ===
|
|
7143
|
-
++po, vt.echoes && --vt.echoes != 0 || (vt.echoes = vt.awaits = vt.id = 0), co.push(
|
|
7144
|
-
}).bind(null, i) : oc), i !==
|
|
7142
|
+
var p, g = Me;
|
|
7143
|
+
(l ? !vt.echoes || uo++ && i === Me : !uo || --uo && i === Me) || queueMicrotask(l ? (function(y) {
|
|
7144
|
+
++po, vt.echoes && --vt.echoes != 0 || (vt.echoes = vt.awaits = vt.id = 0), co.push(Me), Sn(y, !0);
|
|
7145
|
+
}).bind(null, i) : oc), i !== Me && (Me = i, g === wn && (wn.env = Bs()), ui && (p = wn.env.Promise, l = i.env, (g.global || i.global) && (Object.defineProperty(o, "Promise", l.PromiseProp), p.all = l.all, p.race = l.race, p.resolve = l.resolve, p.reject = l.reject, l.allSettled && (p.allSettled = l.allSettled), l.any && (p.any = l.any))));
|
|
7145
7146
|
}
|
|
7146
7147
|
function Bs() {
|
|
7147
7148
|
var i = o.Promise;
|
|
7148
7149
|
return ui ? { Promise: i, PromiseProp: Object.getOwnPropertyDescriptor(o, "Promise"), all: i.all, race: i.race, allSettled: i.allSettled, any: i.any, resolve: i.resolve, reject: i.reject } : {};
|
|
7149
7150
|
}
|
|
7150
7151
|
function Bn(i, l, p, g, y) {
|
|
7151
|
-
var b =
|
|
7152
|
+
var b = Me;
|
|
7152
7153
|
try {
|
|
7153
7154
|
return Sn(i, !0), l(p, g, y);
|
|
7154
7155
|
} finally {
|
|
@@ -7157,7 +7158,7 @@ function Dp() {
|
|
|
7157
7158
|
}
|
|
7158
7159
|
function zs(i, l, p, g) {
|
|
7159
7160
|
return typeof i != "function" ? i : function() {
|
|
7160
|
-
var y =
|
|
7161
|
+
var y = Me;
|
|
7161
7162
|
p && tr(), Sn(l, !0);
|
|
7162
7163
|
try {
|
|
7163
7164
|
return i.apply(this, arguments);
|
|
@@ -7170,7 +7171,7 @@ function Dp() {
|
|
|
7170
7171
|
Promise === Nn && vt.echoes === 0 ? uo === 0 ? i() : enqueueNativeMicroTask(i) : setTimeout(i, 0);
|
|
7171
7172
|
}
|
|
7172
7173
|
("" + Ft).indexOf("[native code]") === -1 && (tr = xn = _e);
|
|
7173
|
-
var ft = me.reject, zn = "",
|
|
7174
|
+
var ft = me.reject, zn = "", gn = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", Fs = "String expected.", nr = [], ho = "__dbnames", vi = "readonly", bi = "readwrite";
|
|
7174
7175
|
function Fn(i, l) {
|
|
7175
7176
|
return i ? l ? function() {
|
|
7176
7177
|
return i.apply(this, arguments) && l.apply(this, arguments);
|
|
@@ -7216,7 +7217,7 @@ function Dp() {
|
|
|
7216
7217
|
}
|
|
7217
7218
|
function $s(i) {
|
|
7218
7219
|
var l = typeof i;
|
|
7219
|
-
return l != "object" ? l : ArrayBuffer.isView(i) ? "binary" : (i =
|
|
7220
|
+
return l != "object" ? l : ArrayBuffer.isView(i) ? "binary" : (i = J(i), i === "ArrayBuffer" ? "binary" : i);
|
|
7220
7221
|
}
|
|
7221
7222
|
function Ks(i) {
|
|
7222
7223
|
return i instanceof Uint8Array ? i : ArrayBuffer.isView(i) ? new Uint8Array(i.buffer, i.byteOffset, i.byteLength) : new Uint8Array(i);
|
|
@@ -7232,17 +7233,17 @@ function Dp() {
|
|
|
7232
7233
|
})) : p;
|
|
7233
7234
|
}
|
|
7234
7235
|
var Xs = (ot.prototype._trans = function(i, l, p) {
|
|
7235
|
-
var g = this._tx ||
|
|
7236
|
+
var g = this._tx || Me.trans, y = this.name, b = sn && typeof console < "u" && console.createTask && console.createTask("Dexie: ".concat(i === "readonly" ? "read" : "write", " ").concat(this.name));
|
|
7236
7237
|
function S(O, R, C) {
|
|
7237
7238
|
if (!C.schema[y]) throw new fe.NotFound("Table " + y + " not part of transaction");
|
|
7238
7239
|
return l(C.idbtrans, C);
|
|
7239
7240
|
}
|
|
7240
7241
|
var E = Qn();
|
|
7241
7242
|
try {
|
|
7242
|
-
var M = g && g.db._novip === this.db._novip ? g ===
|
|
7243
|
+
var M = g && g.db._novip === this.db._novip ? g === Me.trans ? g._promise(i, S, p) : _n(function() {
|
|
7243
7244
|
return g._promise(i, S, p);
|
|
7244
|
-
}, { trans: g, transless:
|
|
7245
|
-
if (R.idbdb && (R._state.openComplete ||
|
|
7245
|
+
}, { trans: g, transless: Me.transless || Me }) : (function O(R, C, V, k) {
|
|
7246
|
+
if (R.idbdb && (R._state.openComplete || Me.letThrough || R._vip)) {
|
|
7246
7247
|
var I = R._createTransaction(C, V, R._dbSchema);
|
|
7247
7248
|
try {
|
|
7248
7249
|
I.create(), R._state.PR1398_maxLoop = 3;
|
|
@@ -7253,7 +7254,7 @@ function Dp() {
|
|
|
7253
7254
|
}
|
|
7254
7255
|
return I._promise(C, function(N, D) {
|
|
7255
7256
|
return _n(function() {
|
|
7256
|
-
return
|
|
7257
|
+
return Me.trans = I, k(N, D, I);
|
|
7257
7258
|
});
|
|
7258
7259
|
}).then(function(N) {
|
|
7259
7260
|
if (C === "readwrite") try {
|
|
@@ -7537,7 +7538,7 @@ function Dp() {
|
|
|
7537
7538
|
var k = b(C, Ve, function() {
|
|
7538
7539
|
for (var I = arguments.length, N = new Array(I); I--; ) N[I] = arguments[I];
|
|
7539
7540
|
k.subscribers.forEach(function(D) {
|
|
7540
|
-
|
|
7541
|
+
se(function() {
|
|
7541
7542
|
D.apply(null, N);
|
|
7542
7543
|
});
|
|
7543
7544
|
});
|
|
@@ -7805,8 +7806,8 @@ function Dp() {
|
|
|
7805
7806
|
var y, b, S;
|
|
7806
7807
|
S = typeof i == "function" ? i : (y = s(i), b = y.length, function(j) {
|
|
7807
7808
|
for (var F = !1, $ = 0; $ < b; ++$) {
|
|
7808
|
-
var K = y[$], ee = i[K],
|
|
7809
|
-
ee instanceof Cr ? (Y(j, K, ee.execute(
|
|
7809
|
+
var K = y[$], ee = i[K], ae = B(j, K);
|
|
7810
|
+
ee instanceof Cr ? (Y(j, K, ee.execute(ae)), F = !0) : ae !== ee && (Y(j, K, ee), F = !0);
|
|
7810
7811
|
}
|
|
7811
7812
|
return F;
|
|
7812
7813
|
});
|
|
@@ -7815,26 +7816,26 @@ function Dp() {
|
|
|
7815
7816
|
function V(j, K) {
|
|
7816
7817
|
var $ = K.failures, K = K.numFailures;
|
|
7817
7818
|
I += j - K;
|
|
7818
|
-
for (var ee = 0,
|
|
7819
|
-
var re =
|
|
7819
|
+
for (var ee = 0, ae = s($); ee < ae.length; ee++) {
|
|
7820
|
+
var re = ae[ee];
|
|
7820
7821
|
k.push($[re]);
|
|
7821
7822
|
}
|
|
7822
7823
|
}
|
|
7823
7824
|
var k = [], I = 0, N = [], D = i === Ws;
|
|
7824
7825
|
return l.clone().primaryKeys().then(function(j) {
|
|
7825
7826
|
function F(K) {
|
|
7826
|
-
var ee = Math.min(R, j.length - K),
|
|
7827
|
-
return (D ? Promise.resolve([]) : E.getMany({ trans: g, keys:
|
|
7828
|
-
var ie = [], he = [],
|
|
7827
|
+
var ee = Math.min(R, j.length - K), ae = j.slice(K, K + ee);
|
|
7828
|
+
return (D ? Promise.resolve([]) : E.getMany({ trans: g, keys: ae, cache: "immutable" })).then(function(re) {
|
|
7829
|
+
var ie = [], he = [], pe = M ? [] : null, ge = D ? ae : [];
|
|
7829
7830
|
if (!D) for (var Ne = 0; Ne < ee; ++Ne) {
|
|
7830
7831
|
var $e = re[Ne], Re = { value: qe($e), primKey: j[K + Ne] };
|
|
7831
|
-
S.call(Re, Re.value, Re) !== !1 && (Re.value == null ? ge.push(j[K + Ne]) : M || Ue(O($e), O(Re.value)) === 0 ? (he.push(Re.value), M &&
|
|
7832
|
+
S.call(Re, Re.value, Re) !== !1 && (Re.value == null ? ge.push(j[K + Ne]) : M || Ue(O($e), O(Re.value)) === 0 ? (he.push(Re.value), M && pe.push(j[K + Ne])) : (ge.push(j[K + Ne]), ie.push(Re.value)));
|
|
7832
7833
|
}
|
|
7833
7834
|
return Promise.resolve(0 < ie.length && E.mutate({ trans: g, type: "add", values: ie }).then(function(ct) {
|
|
7834
7835
|
for (var Ae in ct.failures) ge.splice(parseInt(Ae), 1);
|
|
7835
7836
|
V(ie.length, ct);
|
|
7836
7837
|
})).then(function() {
|
|
7837
|
-
return (0 < he.length || $ && typeof i == "object") && E.mutate({ trans: g, type: "put", keys:
|
|
7838
|
+
return (0 < he.length || $ && typeof i == "object") && E.mutate({ trans: g, type: "put", keys: pe, values: he, criteria: $, changeSpec: typeof i != "function" && i, isAdditionalChunk: 0 < K }).then(function(ct) {
|
|
7838
7839
|
return V(he.length, ct);
|
|
7839
7840
|
});
|
|
7840
7841
|
}).then(function() {
|
|
@@ -7850,7 +7851,7 @@ function Dp() {
|
|
|
7850
7851
|
}
|
|
7851
7852
|
var $ = rr(p) && p.limit === 1 / 0 && (typeof i != "function" || D) && { index: p.index, range: p.range };
|
|
7852
7853
|
return F(0).then(function() {
|
|
7853
|
-
if (0 < k.length) throw new
|
|
7854
|
+
if (0 < k.length) throw new de("Error modifying one or more objects", k, I, N);
|
|
7854
7855
|
return j.length;
|
|
7855
7856
|
});
|
|
7856
7857
|
});
|
|
@@ -7862,7 +7863,7 @@ function Dp() {
|
|
|
7862
7863
|
return i.table.core.count({ trans: p, query: { index: g, range: y } }).then(function(b) {
|
|
7863
7864
|
return i.table.core.mutate({ trans: p, type: "deleteRange", range: y }).then(function(M) {
|
|
7864
7865
|
var E = M.failures, M = M.numFailures;
|
|
7865
|
-
if (M) throw new
|
|
7866
|
+
if (M) throw new de("Could not delete some values", Object.keys(E).map(function(O) {
|
|
7866
7867
|
return E[O];
|
|
7867
7868
|
}), b - M);
|
|
7868
7869
|
return b - M;
|
|
@@ -7927,13 +7928,13 @@ function Dp() {
|
|
|
7927
7928
|
var F = b(j);
|
|
7928
7929
|
if (l(F, M, k)) return !0;
|
|
7929
7930
|
for (var $ = null, K = k; K < C; ++K) {
|
|
7930
|
-
var ee = (function(
|
|
7931
|
-
for (var Ne = Math.min(
|
|
7931
|
+
var ee = (function(ae, re, ie, he, pe, ge) {
|
|
7932
|
+
for (var Ne = Math.min(ae.length, he.length), $e = -1, Re = 0; Re < Ne; ++Re) {
|
|
7932
7933
|
var ct = re[Re];
|
|
7933
|
-
if (ct !== he[Re]) return
|
|
7934
|
-
|
|
7934
|
+
if (ct !== he[Re]) return pe(ae[Re], ie[Re]) < 0 ? ae.substr(0, Re) + ie[Re] + ie.substr(Re + 1) : pe(ae[Re], he[Re]) < 0 ? ae.substr(0, Re) + he[Re] + ie.substr(Re + 1) : 0 <= $e ? ae.substr(0, $e) + re[$e] + ie.substr($e + 1) : null;
|
|
7935
|
+
pe(ae[Re], ct) < 0 && ($e = Re);
|
|
7935
7936
|
}
|
|
7936
|
-
return Ne < he.length && ge === "next" ?
|
|
7937
|
+
return Ne < he.length && ge === "next" ? ae + ie.substr(ae.length) : Ne < ae.length && ge === "prev" ? ae.substr(0, ie.length) : $e < 0 ? null : ae.substr(0, $e) + he[$e] + ie.substr($e + 1);
|
|
7937
7938
|
})(j, F, E[K], M[K], S, O);
|
|
7938
7939
|
ee === null && $ === null ? k = K + 1 : ($ === null || 0 < S($, ee)) && ($ = ee);
|
|
7939
7940
|
}
|
|
@@ -7957,26 +7958,26 @@ function Dp() {
|
|
|
7957
7958
|
return En(i, l, !p, !g);
|
|
7958
7959
|
});
|
|
7959
7960
|
} catch {
|
|
7960
|
-
return Vt(this,
|
|
7961
|
+
return Vt(this, gn);
|
|
7961
7962
|
}
|
|
7962
7963
|
}, bt.prototype.equals = function(i) {
|
|
7963
|
-
return i == null ? Vt(this,
|
|
7964
|
+
return i == null ? Vt(this, gn) : new this.Collection(this, function() {
|
|
7964
7965
|
return Js(i);
|
|
7965
7966
|
});
|
|
7966
7967
|
}, bt.prototype.above = function(i) {
|
|
7967
|
-
return i == null ? Vt(this,
|
|
7968
|
+
return i == null ? Vt(this, gn) : new this.Collection(this, function() {
|
|
7968
7969
|
return En(i, void 0, !0);
|
|
7969
7970
|
});
|
|
7970
7971
|
}, bt.prototype.aboveOrEqual = function(i) {
|
|
7971
|
-
return i == null ? Vt(this,
|
|
7972
|
+
return i == null ? Vt(this, gn) : new this.Collection(this, function() {
|
|
7972
7973
|
return En(i, void 0, !1);
|
|
7973
7974
|
});
|
|
7974
7975
|
}, bt.prototype.below = function(i) {
|
|
7975
|
-
return i == null ? Vt(this,
|
|
7976
|
+
return i == null ? Vt(this, gn) : new this.Collection(this, function() {
|
|
7976
7977
|
return En(void 0, i, !1, !0);
|
|
7977
7978
|
});
|
|
7978
7979
|
}, bt.prototype.belowOrEqual = function(i) {
|
|
7979
|
-
return i == null ? Vt(this,
|
|
7980
|
+
return i == null ? Vt(this, gn) : new this.Collection(this, function() {
|
|
7980
7981
|
return En(void 0, i);
|
|
7981
7982
|
});
|
|
7982
7983
|
}, bt.prototype.startsWith = function(i) {
|
|
@@ -7990,23 +7991,23 @@ function Dp() {
|
|
|
7990
7991
|
return l === p[0];
|
|
7991
7992
|
}, [i], "");
|
|
7992
7993
|
}, bt.prototype.anyOfIgnoreCase = function() {
|
|
7993
|
-
var i = Se.apply(
|
|
7994
|
+
var i = Se.apply(ue, arguments);
|
|
7994
7995
|
return i.length === 0 ? or(this) : bo(this, function(l, p) {
|
|
7995
7996
|
return p.indexOf(l) !== -1;
|
|
7996
7997
|
}, i, "");
|
|
7997
7998
|
}, bt.prototype.startsWithAnyOfIgnoreCase = function() {
|
|
7998
|
-
var i = Se.apply(
|
|
7999
|
+
var i = Se.apply(ue, arguments);
|
|
7999
8000
|
return i.length === 0 ? or(this) : bo(this, function(l, p) {
|
|
8000
8001
|
return p.some(function(g) {
|
|
8001
8002
|
return l.indexOf(g) === 0;
|
|
8002
8003
|
});
|
|
8003
8004
|
}, i, zn);
|
|
8004
8005
|
}, bt.prototype.anyOf = function() {
|
|
8005
|
-
var i = this, l = Se.apply(
|
|
8006
|
+
var i = this, l = Se.apply(ue, arguments), p = this._cmp;
|
|
8006
8007
|
try {
|
|
8007
8008
|
l.sort(p);
|
|
8008
8009
|
} catch {
|
|
8009
|
-
return Vt(this,
|
|
8010
|
+
return Vt(this, gn);
|
|
8010
8011
|
}
|
|
8011
8012
|
if (l.length === 0) return or(this);
|
|
8012
8013
|
var g = new this.Collection(this, function() {
|
|
@@ -8025,12 +8026,12 @@ function Dp() {
|
|
|
8025
8026
|
}, bt.prototype.notEqual = function(i) {
|
|
8026
8027
|
return this.inAnyRange([[-1 / 0, i], [i, this.db._maxKey]], { includeLowers: !1, includeUppers: !1 });
|
|
8027
8028
|
}, bt.prototype.noneOf = function() {
|
|
8028
|
-
var i = Se.apply(
|
|
8029
|
+
var i = Se.apply(ue, arguments);
|
|
8029
8030
|
if (i.length === 0) return new this.Collection(this);
|
|
8030
8031
|
try {
|
|
8031
8032
|
i.sort(this._ascending);
|
|
8032
8033
|
} catch {
|
|
8033
|
-
return Vt(this,
|
|
8034
|
+
return Vt(this, gn);
|
|
8034
8035
|
}
|
|
8035
8036
|
var l = i.reduce(function(p, g) {
|
|
8036
8037
|
return p ? p.concat([[p[p.length - 1][1], g]]) : [[-1 / 0, g]];
|
|
@@ -8049,16 +8050,16 @@ function Dp() {
|
|
|
8049
8050
|
try {
|
|
8050
8051
|
(R = j.reduce(function(F, $) {
|
|
8051
8052
|
for (var K = 0, ee = F.length; K < ee; ++K) {
|
|
8052
|
-
var
|
|
8053
|
-
if (g($[0],
|
|
8054
|
-
|
|
8053
|
+
var ae = F[K];
|
|
8054
|
+
if (g($[0], ae[1]) < 0 && 0 < g($[1], ae[0])) {
|
|
8055
|
+
ae[0] = S(ae[0], $[0]), ae[1] = E(ae[1], $[1]);
|
|
8055
8056
|
break;
|
|
8056
8057
|
}
|
|
8057
8058
|
}
|
|
8058
8059
|
return K === ee && F.push($), F;
|
|
8059
8060
|
}, [])).sort(V);
|
|
8060
8061
|
} catch {
|
|
8061
|
-
return Vt(this,
|
|
8062
|
+
return Vt(this, gn);
|
|
8062
8063
|
}
|
|
8063
8064
|
var k = 0, I = O ? function(F) {
|
|
8064
8065
|
return 0 < y(F, R[k][1]);
|
|
@@ -8074,13 +8075,13 @@ function Dp() {
|
|
|
8074
8075
|
return j._ondirectionchange = function(F) {
|
|
8075
8076
|
C = F === "next" ? (D = I, y) : (D = N, b), R.sort(V);
|
|
8076
8077
|
}, j._addAlgorithm(function(F, $, K) {
|
|
8077
|
-
for (var ee,
|
|
8078
|
-
return !I(ee =
|
|
8078
|
+
for (var ee, ae = F.key; D(ae); ) if (++k === R.length) return $(K), !1;
|
|
8079
|
+
return !I(ee = ae) && !N(ee) || (p._cmp(ae, R[k][1]) === 0 || p._cmp(ae, R[k][0]) === 0 || $(function() {
|
|
8079
8080
|
C === y ? F.continue(R[k][0]) : F.continue(R[k][1]);
|
|
8080
8081
|
}), !1);
|
|
8081
8082
|
}), j;
|
|
8082
8083
|
}, bt.prototype.startsWithAnyOf = function() {
|
|
8083
|
-
var i = Se.apply(
|
|
8084
|
+
var i = Se.apply(ue, arguments);
|
|
8084
8085
|
return i.every(function(l) {
|
|
8085
8086
|
return typeof l == "string";
|
|
8086
8087
|
}) ? i.length === 0 ? or(this) : this.inAnyRange(i.map(function(l) {
|
|
@@ -8098,9 +8099,9 @@ function Dp() {
|
|
|
8098
8099
|
i.stopPropagation && i.stopPropagation(), i.preventDefault && i.preventDefault();
|
|
8099
8100
|
}
|
|
8100
8101
|
var Lr = "storagemutated", xi = "x-storagemutated-1", Tn = Er(null, Lr), lc = (ln.prototype._lock = function() {
|
|
8101
|
-
return
|
|
8102
|
+
return Q(!Me.global), ++this._reculock, this._reculock !== 1 || Me.global || (Me.lockOwnerFor = this), this;
|
|
8102
8103
|
}, ln.prototype._unlock = function() {
|
|
8103
|
-
if (
|
|
8104
|
+
if (Q(!Me.global), --this._reculock == 0) for (Me.global || (Me.lockOwnerFor = null); 0 < this._blockedFuncs.length && !this._locked(); ) {
|
|
8104
8105
|
var i = this._blockedFuncs.shift();
|
|
8105
8106
|
try {
|
|
8106
8107
|
Bn(i[1], i[0]);
|
|
@@ -8109,12 +8110,12 @@ function Dp() {
|
|
|
8109
8110
|
}
|
|
8110
8111
|
return this;
|
|
8111
8112
|
}, ln.prototype._locked = function() {
|
|
8112
|
-
return this._reculock &&
|
|
8113
|
+
return this._reculock && Me.lockOwnerFor !== this;
|
|
8113
8114
|
}, ln.prototype.create = function(i) {
|
|
8114
8115
|
var l = this;
|
|
8115
8116
|
if (!this.mode) return this;
|
|
8116
8117
|
var p = this.db.idbdb, g = this.db._state.dbOpenError;
|
|
8117
|
-
if (
|
|
8118
|
+
if (Q(!this.idbtrans), !i && !p) switch (g && g.name) {
|
|
8118
8119
|
case "DatabaseClosedError":
|
|
8119
8120
|
throw new fe.DatabaseClosed(g);
|
|
8120
8121
|
case "MissingAPIError":
|
|
@@ -8123,7 +8124,7 @@ function Dp() {
|
|
|
8123
8124
|
throw new fe.OpenFailed(g);
|
|
8124
8125
|
}
|
|
8125
8126
|
if (!this.active) throw new fe.TransactionInactive();
|
|
8126
|
-
return
|
|
8127
|
+
return Q(this._completion._state === null), (i = this.idbtrans = i || (this.db.core || p).transaction(this.storeNames, this.mode, { durability: this.chromeTransactionDurability })).onerror = st(function(y) {
|
|
8127
8128
|
Pr(y), l._reject(i.error);
|
|
8128
8129
|
}), i.onabort = st(function(y) {
|
|
8129
8130
|
Pr(y), l.active && l._reject(new fe.Abort(i.error)), l.active = !1, l.on("abort").fire(y);
|
|
@@ -8137,7 +8138,7 @@ function Dp() {
|
|
|
8137
8138
|
if (this._locked()) return new me(function(b, S) {
|
|
8138
8139
|
g._blockedFuncs.push([function() {
|
|
8139
8140
|
g._promise(i, l, p).then(b, S);
|
|
8140
|
-
},
|
|
8141
|
+
}, Me]);
|
|
8141
8142
|
});
|
|
8142
8143
|
if (p) return _n(function() {
|
|
8143
8144
|
var b = new me(function(S, E) {
|
|
@@ -8239,11 +8240,11 @@ function Dp() {
|
|
|
8239
8240
|
var k, I = V.name;
|
|
8240
8241
|
return { name: I, schema: V, mutate: function(N) {
|
|
8241
8242
|
var D = N.trans, j = N.type, F = N.keys, $ = N.values, K = N.range;
|
|
8242
|
-
return new Promise(function(ee,
|
|
8243
|
+
return new Promise(function(ee, ae) {
|
|
8243
8244
|
ee = st(ee);
|
|
8244
8245
|
var re = D.objectStore(I), ie = re.keyPath == null, he = j === "put" || j === "add";
|
|
8245
8246
|
if (!he && j !== "delete" && j !== "deleteRange") throw new Error("Invalid operation type: " + j);
|
|
8246
|
-
var
|
|
8247
|
+
var pe, ge = (F || $ || { length: 1 }).length;
|
|
8247
8248
|
if (F && $ && F.length !== $.length) throw new Error("Given keys array must have same length as given values array.");
|
|
8248
8249
|
if (ge === 0) return ee({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
|
|
8249
8250
|
function Ne(kt) {
|
|
@@ -8252,11 +8253,11 @@ function Dp() {
|
|
|
8252
8253
|
var $e = [], Re = [], ct = 0;
|
|
8253
8254
|
if (j === "deleteRange") {
|
|
8254
8255
|
if (K.type === 4) return ee({ numFailures: ct, failures: Re, results: [], lastResult: void 0 });
|
|
8255
|
-
K.type === 3 ? $e.push(
|
|
8256
|
+
K.type === 3 ? $e.push(pe = re.clear()) : $e.push(pe = re.delete(g(K)));
|
|
8256
8257
|
} else {
|
|
8257
8258
|
var ie = he ? ie ? [$, F] : [$, null] : [F, null], Ae = ie[0], Tt = ie[1];
|
|
8258
|
-
if (he) for (var Ct = 0; Ct < ge; ++Ct) $e.push(
|
|
8259
|
-
else for (Ct = 0; Ct < ge; ++Ct) $e.push(
|
|
8259
|
+
if (he) for (var Ct = 0; Ct < ge; ++Ct) $e.push(pe = Tt && Tt[Ct] !== void 0 ? re[j](Ae[Ct], Tt[Ct]) : re[j](Ae[Ct])), pe.onerror = Ne;
|
|
8260
|
+
else for (Ct = 0; Ct < ge; ++Ct) $e.push(pe = re[j](Ae[Ct])), pe.onerror = Ne;
|
|
8260
8261
|
}
|
|
8261
8262
|
function Oo(kt) {
|
|
8262
8263
|
kt = kt.target.result, $e.forEach(function($n, Hi) {
|
|
@@ -8265,17 +8266,17 @@ function Dp() {
|
|
|
8265
8266
|
return $n.result;
|
|
8266
8267
|
}), lastResult: kt });
|
|
8267
8268
|
}
|
|
8268
|
-
|
|
8269
|
+
pe.onerror = function(kt) {
|
|
8269
8270
|
Ne(kt), Oo(kt);
|
|
8270
|
-
},
|
|
8271
|
+
}, pe.onsuccess = Oo;
|
|
8271
8272
|
});
|
|
8272
8273
|
}, getMany: function(N) {
|
|
8273
8274
|
var D = N.trans, j = N.keys;
|
|
8274
8275
|
return new Promise(function(F, $) {
|
|
8275
8276
|
F = st(F);
|
|
8276
|
-
for (var K, ee = D.objectStore(I),
|
|
8277
|
+
for (var K, ee = D.objectStore(I), ae = j.length, re = new Array(ae), ie = 0, he = 0, pe = function($e) {
|
|
8277
8278
|
$e = $e.target, re[$e._pos] = $e.result, ++he === ie && F(re);
|
|
8278
|
-
}, ge = an($), Ne = 0; Ne <
|
|
8279
|
+
}, ge = an($), Ne = 0; Ne < ae; ++Ne) j[Ne] != null && ((K = ee.get(j[Ne]))._pos = Ne, K.onsuccess = pe, K.onerror = ge, ++ie);
|
|
8279
8280
|
ie === 0 && F(re);
|
|
8280
8281
|
});
|
|
8281
8282
|
}, get: function(N) {
|
|
@@ -8290,27 +8291,27 @@ function Dp() {
|
|
|
8290
8291
|
}, query: (k = O, function(N) {
|
|
8291
8292
|
return new Promise(function(D, j) {
|
|
8292
8293
|
D = st(D);
|
|
8293
|
-
var F, $, K, ie = N.trans, ee = N.values,
|
|
8294
|
-
if (
|
|
8295
|
-
k ? ((re = ee ? he.getAll(
|
|
8294
|
+
var F, $, K, ie = N.trans, ee = N.values, ae = N.limit, pe = N.query, re = ae === 1 / 0 ? void 0 : ae, he = pe.index, pe = pe.range, ie = ie.objectStore(I), he = he.isPrimaryKey ? ie : ie.index(he.name), pe = g(pe);
|
|
8295
|
+
if (ae === 0) return D({ result: [] });
|
|
8296
|
+
k ? ((re = ee ? he.getAll(pe, re) : he.getAllKeys(pe, re)).onsuccess = function(ge) {
|
|
8296
8297
|
return D({ result: ge.target.result });
|
|
8297
|
-
}, re.onerror = an(j)) : (F = 0, $ = !ee && "openKeyCursor" in he ? he.openKeyCursor(
|
|
8298
|
+
}, re.onerror = an(j)) : (F = 0, $ = !ee && "openKeyCursor" in he ? he.openKeyCursor(pe) : he.openCursor(pe), K = [], $.onsuccess = function(ge) {
|
|
8298
8299
|
var Ne = $.result;
|
|
8299
|
-
return Ne ? (K.push(ee ? Ne.value : Ne.primaryKey), ++F ===
|
|
8300
|
+
return Ne ? (K.push(ee ? Ne.value : Ne.primaryKey), ++F === ae ? D({ result: K }) : void Ne.continue()) : D({ result: K });
|
|
8300
8301
|
}, $.onerror = an(j));
|
|
8301
8302
|
});
|
|
8302
8303
|
}), openCursor: function(N) {
|
|
8303
8304
|
var D = N.trans, j = N.values, F = N.query, $ = N.reverse, K = N.unique;
|
|
8304
|
-
return new Promise(function(ee,
|
|
8305
|
+
return new Promise(function(ee, ae) {
|
|
8305
8306
|
ee = st(ee);
|
|
8306
|
-
var he = F.index, re = F.range, ie = D.objectStore(I), ie = he.isPrimaryKey ? ie : ie.index(he.name), he = $ ? K ? "prevunique" : "prev" : K ? "nextunique" : "next",
|
|
8307
|
-
|
|
8308
|
-
var Ne, $e, Re, ct, Ae =
|
|
8307
|
+
var he = F.index, re = F.range, ie = D.objectStore(I), ie = he.isPrimaryKey ? ie : ie.index(he.name), he = $ ? K ? "prevunique" : "prev" : K ? "nextunique" : "next", pe = !j && "openKeyCursor" in ie ? ie.openKeyCursor(g(re), he) : ie.openCursor(g(re), he);
|
|
8308
|
+
pe.onerror = an(ae), pe.onsuccess = st(function(ge) {
|
|
8309
|
+
var Ne, $e, Re, ct, Ae = pe.result;
|
|
8309
8310
|
Ae ? (Ae.___id = ++cc, Ae.done = !1, Ne = Ae.continue.bind(Ae), $e = ($e = Ae.continuePrimaryKey) && $e.bind(Ae), Re = Ae.advance.bind(Ae), ct = function() {
|
|
8310
8311
|
throw new Error("Cursor not stopped");
|
|
8311
8312
|
}, Ae.trans = D, Ae.stop = Ae.continue = Ae.continuePrimaryKey = Ae.advance = function() {
|
|
8312
8313
|
throw new Error("Cursor not started");
|
|
8313
|
-
}, Ae.fail = st(
|
|
8314
|
+
}, Ae.fail = st(ae), Ae.next = function() {
|
|
8314
8315
|
var Tt = this, Ct = 1;
|
|
8315
8316
|
return this.start(function() {
|
|
8316
8317
|
return Ct-- ? Tt.continue() : Tt.stop();
|
|
@@ -8319,7 +8320,7 @@ function Dp() {
|
|
|
8319
8320
|
});
|
|
8320
8321
|
}, Ae.start = function(Tt) {
|
|
8321
8322
|
function Ct() {
|
|
8322
|
-
if (
|
|
8323
|
+
if (pe.result) try {
|
|
8323
8324
|
Tt();
|
|
8324
8325
|
} catch (kt) {
|
|
8325
8326
|
Ae.fail(kt);
|
|
@@ -8329,20 +8330,20 @@ function Dp() {
|
|
|
8329
8330
|
}, Ae.stop();
|
|
8330
8331
|
}
|
|
8331
8332
|
var Oo = new Promise(function(kt, $n) {
|
|
8332
|
-
kt = st(kt),
|
|
8333
|
+
kt = st(kt), pe.onerror = an($n), Ae.fail = $n, Ae.stop = function(Hi) {
|
|
8333
8334
|
Ae.stop = Ae.continue = Ae.continuePrimaryKey = Ae.advance = ct, kt(Hi);
|
|
8334
8335
|
};
|
|
8335
8336
|
});
|
|
8336
|
-
return
|
|
8337
|
-
|
|
8337
|
+
return pe.onsuccess = st(function(kt) {
|
|
8338
|
+
pe.onsuccess = Ct, Ct();
|
|
8338
8339
|
}), Ae.continue = Ne, Ae.continuePrimaryKey = $e, Ae.advance = Re, Ct(), Oo;
|
|
8339
8340
|
}, ee(Ae)) : ee(null);
|
|
8340
|
-
},
|
|
8341
|
+
}, ae);
|
|
8341
8342
|
});
|
|
8342
8343
|
}, count: function(N) {
|
|
8343
8344
|
var D = N.query, j = N.trans, F = D.index, $ = D.range;
|
|
8344
8345
|
return new Promise(function(K, ee) {
|
|
8345
|
-
var
|
|
8346
|
+
var ae = j.objectStore(I), re = F.isPrimaryKey ? ae : ae.index(F.name), ae = g($), re = ae ? re.count(ae) : re.count();
|
|
8346
8347
|
re.onsuccess = st(function(ie) {
|
|
8347
8348
|
return K(ie.target.result);
|
|
8348
8349
|
}), re.onerror = an(ee);
|
|
@@ -8412,9 +8413,9 @@ function Dp() {
|
|
|
8412
8413
|
p.objectStoreNames.contains("$meta") && !y.$meta && (y.$meta = Ei("$meta", na("")[0], []), i._storeNames.push("$meta"));
|
|
8413
8414
|
var b = i._createTransaction("readwrite", i._storeNames, y);
|
|
8414
8415
|
b.create(p), b._completion.catch(g);
|
|
8415
|
-
var S = b._reject.bind(b), E =
|
|
8416
|
+
var S = b._reject.bind(b), E = Me.transless || Me;
|
|
8416
8417
|
_n(function() {
|
|
8417
|
-
return
|
|
8418
|
+
return Me.trans = b, Me.transless = E, l !== 0 ? (wo(i, p), O = l, ((M = b).storeNames.includes("$meta") ? M.table("$meta").get("version").then(function(R) {
|
|
8418
8419
|
return R ?? O;
|
|
8419
8420
|
}) : me.resolve(O)).then(function(R) {
|
|
8420
8421
|
return V = R, k = b, I = p, N = [], R = (C = i)._versions, D = C._dbSchema = So(0, C.idbdb, I), (R = R.filter(function(j) {
|
|
@@ -8428,22 +8429,22 @@ function Dp() {
|
|
|
8428
8429
|
Li(I, he[0], he[1].primKey, he[1].indexes);
|
|
8429
8430
|
}), K.change.forEach(function(he) {
|
|
8430
8431
|
if (he.recreate) throw new fe.Upgrade("Not yet support for changing primary key");
|
|
8431
|
-
var
|
|
8432
|
+
var pe = I.objectStore(he.name);
|
|
8432
8433
|
he.add.forEach(function(ge) {
|
|
8433
|
-
return xo(
|
|
8434
|
+
return xo(pe, ge);
|
|
8434
8435
|
}), he.change.forEach(function(ge) {
|
|
8435
|
-
|
|
8436
|
+
pe.deleteIndex(ge.name), xo(pe, ge);
|
|
8436
8437
|
}), he.del.forEach(function(ge) {
|
|
8437
|
-
return
|
|
8438
|
+
return pe.deleteIndex(ge);
|
|
8438
8439
|
});
|
|
8439
8440
|
});
|
|
8440
8441
|
var ee = j._cfg.contentUpgrade;
|
|
8441
8442
|
if (ee && j._cfg.version > V) {
|
|
8442
8443
|
wo(C, I), k._memoizedTables = {};
|
|
8443
|
-
var
|
|
8444
|
+
var ae = xe($);
|
|
8444
8445
|
K.del.forEach(function(he) {
|
|
8445
|
-
|
|
8446
|
-
}), Ci(C, [C.Transaction.prototype]), _o(C, [C.Transaction.prototype], s(
|
|
8446
|
+
ae[he] = F[he];
|
|
8447
|
+
}), Ci(C, [C.Transaction.prototype]), _o(C, [C.Transaction.prototype], s(ae), ae), k.schema = ae;
|
|
8447
8448
|
var re, ie = De(ee);
|
|
8448
8449
|
return ie && tr(), K = me.follow(function() {
|
|
8449
8450
|
var he;
|
|
@@ -8454,8 +8455,8 @@ function Dp() {
|
|
|
8454
8455
|
}
|
|
8455
8456
|
}), N.push(function(F) {
|
|
8456
8457
|
var $, K, ee = j._cfg.dbschema;
|
|
8457
|
-
$ = ee, K = F, [].slice.call(K.db.objectStoreNames).forEach(function(
|
|
8458
|
-
return $[
|
|
8458
|
+
$ = ee, K = F, [].slice.call(K.db.objectStoreNames).forEach(function(ae) {
|
|
8459
|
+
return $[ae] == null && K.db.deleteObjectStore(ae);
|
|
8459
8460
|
}), Ci(C, [C.Transaction.prototype]), _o(C, [C.Transaction.prototype], C._storeNames, C._dbSchema), k.schema = C._dbSchema;
|
|
8460
8461
|
}), N.push(function(F) {
|
|
8461
8462
|
C.idbdb.objectStoreNames.contains("$meta") && (Math.ceil(C.idbdb.version / 10) === j._cfg.version ? (C.idbdb.deleteObjectStore("$meta"), delete C._dbSchema.$meta, C._storeNames = C._storeNames.filter(function($) {
|
|
@@ -8580,14 +8581,14 @@ function Dp() {
|
|
|
8580
8581
|
}
|
|
8581
8582
|
function Mi(i, l) {
|
|
8582
8583
|
var p = i._dbNamesDB;
|
|
8583
|
-
return p || (p = i._dbNamesDB = new
|
|
8584
|
+
return p || (p = i._dbNamesDB = new yn(ho, { addons: [], indexedDB: i, IDBKeyRange: l })).version(1).stores({ dbnames: "name" }), p.table("dbnames");
|
|
8584
8585
|
}
|
|
8585
8586
|
function ki(i) {
|
|
8586
8587
|
return i && typeof i.databases == "function";
|
|
8587
8588
|
}
|
|
8588
8589
|
function Oi(i) {
|
|
8589
8590
|
return _n(function() {
|
|
8590
|
-
return
|
|
8591
|
+
return Me.letThrough = !0, i();
|
|
8591
8592
|
});
|
|
8592
8593
|
}
|
|
8593
8594
|
function Ai(i) {
|
|
@@ -8658,7 +8659,7 @@ function Dp() {
|
|
|
8658
8659
|
return s(l).forEach(function(p) {
|
|
8659
8660
|
i[p] ? Ar(i[p], l[p]) : i[p] = (function g(y) {
|
|
8660
8661
|
var b, S, E = {};
|
|
8661
|
-
for (b in y) f(y, b) && (S = y[b], E[b] = !S || typeof S != "object" ||
|
|
8662
|
+
for (b in y) f(y, b) && (S = y[b], E[b] = !S || typeof S != "object" || ce.has(S.constructor) ? S : g(S));
|
|
8662
8663
|
return E;
|
|
8663
8664
|
})(l[p]);
|
|
8664
8665
|
}), i;
|
|
@@ -8680,7 +8681,7 @@ function Dp() {
|
|
|
8680
8681
|
}, hasKey: function(i) {
|
|
8681
8682
|
var l = To(this).next(i).value;
|
|
8682
8683
|
return l && Ue(l.from, i) <= 0 && 0 <= Ue(l.to, i);
|
|
8683
|
-
} })[
|
|
8684
|
+
} })[W] = function() {
|
|
8684
8685
|
return To(this);
|
|
8685
8686
|
}, Ft));
|
|
8686
8687
|
var Un = {}, Ri = {}, Di = !1;
|
|
@@ -8738,9 +8739,9 @@ function Dp() {
|
|
|
8738
8739
|
})) : (R.onerror = an(k), D = D.oldVersion > Math.pow(2, 62) ? 0 : D.oldVersion, C = D < 1, i.idbdb = N.result, b && hc(i, R), fc(i, D / 10, R, k));
|
|
8739
8740
|
}, k), N.onsuccess = st(function() {
|
|
8740
8741
|
R = null;
|
|
8741
|
-
var D, j, F, $, K, ee = i.idbdb = N.result,
|
|
8742
|
-
if (0 <
|
|
8743
|
-
var re = ee.transaction(($ =
|
|
8742
|
+
var D, j, F, $, K, ee = i.idbdb = N.result, ae = U(ee.objectStoreNames);
|
|
8743
|
+
if (0 < ae.length) try {
|
|
8744
|
+
var re = ee.transaction(($ = ae).length === 1 ? $[0] : $, "readonly");
|
|
8744
8745
|
if (l.autoSchema) j = ee, F = re, (D = i).verno = j.version / 10, F = D._dbSchema = So(0, j, F), D._storeNames = U(j.objectStoreNames, 0), _o(D, [D._allTables], s(F), F);
|
|
8745
8746
|
else if (Eo(i, i._dbSchema, re), ((K = Pi(So(0, (K = i).idbdb, re), K._dbSchema)).add.length || K.change.some(function(ie) {
|
|
8746
8747
|
return ie.add.length || ie.change.length;
|
|
@@ -8872,7 +8873,7 @@ function Dp() {
|
|
|
8872
8873
|
function ji(i, l, p, g) {
|
|
8873
8874
|
return p = p || {}, g = g || "", s(i).forEach(function(y) {
|
|
8874
8875
|
var b, S, E;
|
|
8875
|
-
f(l, y) ? (b = i[y], S = l[y], typeof b == "object" && typeof S == "object" && b && S ? (E =
|
|
8876
|
+
f(l, y) ? (b = i[y], S = l[y], typeof b == "object" && typeof S == "object" && b && S ? (E = J(b)) !== J(S) ? p[g + y] = l[y] : E === "Object" ? ji(b, S, p, g + y + ".") : b !== S && (p[g + y] = l[y]) : b !== S && (p[g + y] = l[y])) : p[g + y] = void 0;
|
|
8876
8877
|
}), s(l).forEach(function(y) {
|
|
8877
8878
|
f(i, y) || (p[g + y] = l[y]);
|
|
8878
8879
|
}), p;
|
|
@@ -8884,7 +8885,7 @@ function Dp() {
|
|
|
8884
8885
|
return n(n({}, i), { table: function(l) {
|
|
8885
8886
|
var p = i.table(l), g = p.schema.primaryKey;
|
|
8886
8887
|
return n(n({}, p), { mutate: function(y) {
|
|
8887
|
-
var b =
|
|
8888
|
+
var b = Me.trans, S = b.table(l).hook, E = S.deleting, M = S.creating, O = S.updating;
|
|
8888
8889
|
switch (y.type) {
|
|
8889
8890
|
case "add":
|
|
8890
8891
|
if (M.fire === _e) break;
|
|
@@ -8916,21 +8917,21 @@ function Dp() {
|
|
|
8916
8917
|
}
|
|
8917
8918
|
return p.mutate(y);
|
|
8918
8919
|
function R(C) {
|
|
8919
|
-
var V, k, I, N =
|
|
8920
|
+
var V, k, I, N = Me.trans, D = C.keys || Bi(g, C);
|
|
8920
8921
|
if (!D) throw new Error("Keys missing");
|
|
8921
8922
|
return (C = C.type === "add" || C.type === "put" ? n(n({}, C), { keys: D }) : n({}, C)).type !== "delete" && (C.values = r([], C.values)), C.keys && (C.keys = r([], C.keys)), V = p, I = D, ((k = C).type === "add" ? Promise.resolve([]) : V.getMany({ trans: k.trans, keys: I, cache: "immutable" })).then(function(j) {
|
|
8922
8923
|
var F = D.map(function($, K) {
|
|
8923
|
-
var ee,
|
|
8924
|
-
return C.type === "delete" ? E.fire.call(he, $, ie, N) : C.type === "add" || ie === void 0 ? (ee = M.fire.call(he, $, C.values[K], N), $ == null && ee != null && (C.keys[K] = $ = ee, g.outbound || Y(C.values[K], g.keyPath, $))) : (ee = ji(ie, C.values[K]), (
|
|
8925
|
-
f(re,
|
|
8924
|
+
var ee, ae, re, ie = j[K], he = { onerror: null, onsuccess: null };
|
|
8925
|
+
return C.type === "delete" ? E.fire.call(he, $, ie, N) : C.type === "add" || ie === void 0 ? (ee = M.fire.call(he, $, C.values[K], N), $ == null && ee != null && (C.keys[K] = $ = ee, g.outbound || Y(C.values[K], g.keyPath, $))) : (ee = ji(ie, C.values[K]), (ae = O.fire.call(he, ee, $, ie, N)) && (re = C.values[K], Object.keys(ae).forEach(function(pe) {
|
|
8926
|
+
f(re, pe) ? re[pe] = ae[pe] : Y(re, pe, ae[pe]);
|
|
8926
8927
|
}))), he;
|
|
8927
8928
|
});
|
|
8928
8929
|
return p.mutate(C).then(function($) {
|
|
8929
|
-
for (var K = $.failures, ee = $.results,
|
|
8930
|
+
for (var K = $.failures, ee = $.results, ae = $.numFailures, $ = $.lastResult, re = 0; re < D.length; ++re) {
|
|
8930
8931
|
var ie = (ee || D)[re], he = F[re];
|
|
8931
8932
|
ie == null ? he.onerror && he.onerror(K[re]) : he.onsuccess && he.onsuccess(C.type === "put" && j[re] ? C.values[re] : ie);
|
|
8932
8933
|
}
|
|
8933
|
-
return { failures: K, results: ee, numFailures:
|
|
8934
|
+
return { failures: K, results: ee, numFailures: ae, lastResult: $ };
|
|
8934
8935
|
}).catch(function($) {
|
|
8935
8936
|
return F.forEach(function(K) {
|
|
8936
8937
|
return K.onerror && K.onerror($);
|
|
@@ -8981,25 +8982,25 @@ function Dp() {
|
|
|
8981
8982
|
var wc = { stack: "dbcore", level: 0, name: "Observability", create: function(i) {
|
|
8982
8983
|
var l = i.schema.name, p = new Et(i.MIN_KEY, i.MAX_KEY);
|
|
8983
8984
|
return n(n({}, i), { transaction: function(g, y, b) {
|
|
8984
|
-
if (
|
|
8985
|
+
if (Me.subscr && y !== "readonly") throw new fe.ReadOnly("Readwrite transaction in liveQuery context. Querier source: ".concat(Me.querier));
|
|
8985
8986
|
return i.transaction(g, y, b);
|
|
8986
8987
|
}, table: function(g) {
|
|
8987
8988
|
var y = i.table(g), b = y.schema, S = b.primaryKey, C = b.indexes, E = S.extractKey, M = S.outbound, O = S.autoIncrement && C.filter(function(k) {
|
|
8988
8989
|
return k.compound && k.keyPath.includes(S.keyPath);
|
|
8989
8990
|
}), R = n(n({}, y), { mutate: function(k) {
|
|
8990
|
-
function I(
|
|
8991
|
-
return
|
|
8991
|
+
function I(pe) {
|
|
8992
|
+
return pe = "idb://".concat(l, "/").concat(g, "/").concat(pe), $[pe] || ($[pe] = new Et());
|
|
8992
8993
|
}
|
|
8993
|
-
var N, D, j, F = k.trans, $ = k.mutatedParts || (k.mutatedParts = {}), K = I(""), ee = I(":dels"),
|
|
8994
|
-
return
|
|
8994
|
+
var N, D, j, F = k.trans, $ = k.mutatedParts || (k.mutatedParts = {}), K = I(""), ee = I(":dels"), ae = k.type, he = k.type === "deleteRange" ? [k.range] : k.type === "delete" ? [k.keys] : k.values.length < 50 ? [Bi(S, k).filter(function(pe) {
|
|
8995
|
+
return pe;
|
|
8995
8996
|
}), k.values] : [], re = he[0], ie = he[1], he = k.trans._cache;
|
|
8996
|
-
return c(re) ? (K.addKeys(re), (he =
|
|
8997
|
-
var ge = N(
|
|
8997
|
+
return c(re) ? (K.addKeys(re), (he = ae === "delete" || re.length === ie.length ? aa(re, he) : null) || ee.addKeys(re), (he || ie) && (N = I, D = he, j = ie, b.indexes.forEach(function(pe) {
|
|
8998
|
+
var ge = N(pe.name || "");
|
|
8998
8999
|
function Ne(Re) {
|
|
8999
|
-
return Re != null ?
|
|
9000
|
+
return Re != null ? pe.extractKey(Re) : null;
|
|
9000
9001
|
}
|
|
9001
9002
|
function $e(Re) {
|
|
9002
|
-
return
|
|
9003
|
+
return pe.multiEntry && c(Re) ? Re.forEach(function(ct) {
|
|
9003
9004
|
return ge.addKey(ct);
|
|
9004
9005
|
}) : ge.addKey(Re);
|
|
9005
9006
|
}
|
|
@@ -9007,17 +9008,17 @@ function Dp() {
|
|
|
9007
9008
|
var Ae = D && Ne(D[Tt]), Tt = j && Ne(j[Tt]);
|
|
9008
9009
|
Ue(Ae, Tt) !== 0 && (Ae != null && $e(Ae), Tt != null && $e(Tt));
|
|
9009
9010
|
});
|
|
9010
|
-
}))) : re ? (ie = { from: (ie = re.lower) !== null && ie !== void 0 ? ie : i.MIN_KEY, to: (ie = re.upper) !== null && ie !== void 0 ? ie : i.MAX_KEY }, ee.add(ie), K.add(ie)) : (K.add(p), ee.add(p), b.indexes.forEach(function(
|
|
9011
|
-
return I(
|
|
9012
|
-
})), y.mutate(k).then(function(
|
|
9013
|
-
return !re || k.type !== "add" && k.type !== "put" || (K.addKeys(
|
|
9011
|
+
}))) : re ? (ie = { from: (ie = re.lower) !== null && ie !== void 0 ? ie : i.MIN_KEY, to: (ie = re.upper) !== null && ie !== void 0 ? ie : i.MAX_KEY }, ee.add(ie), K.add(ie)) : (K.add(p), ee.add(p), b.indexes.forEach(function(pe) {
|
|
9012
|
+
return I(pe.name).add(p);
|
|
9013
|
+
})), y.mutate(k).then(function(pe) {
|
|
9014
|
+
return !re || k.type !== "add" && k.type !== "put" || (K.addKeys(pe.results), O && O.forEach(function(ge) {
|
|
9014
9015
|
for (var Ne = k.values.map(function(Ae) {
|
|
9015
9016
|
return ge.extractKey(Ae);
|
|
9016
9017
|
}), $e = ge.keyPath.findIndex(function(Ae) {
|
|
9017
9018
|
return Ae === S.keyPath;
|
|
9018
|
-
}), Re = 0, ct =
|
|
9019
|
+
}), Re = 0, ct = pe.results.length; Re < ct; ++Re) Ne[Re][$e] = pe.results[Re];
|
|
9019
9020
|
I(ge.name).addKeys(Ne);
|
|
9020
|
-
})), F.mutatedParts = Co(F.mutatedParts || {}, $),
|
|
9021
|
+
})), F.mutatedParts = Co(F.mutatedParts || {}, $), pe;
|
|
9021
9022
|
});
|
|
9022
9023
|
} }), C = function(I) {
|
|
9023
9024
|
var N = I.query, I = N.index, N = N.range;
|
|
@@ -9029,7 +9030,7 @@ function Dp() {
|
|
|
9029
9030
|
}, count: C, query: C, openCursor: C };
|
|
9030
9031
|
return s(V).forEach(function(k) {
|
|
9031
9032
|
R[k] = function(I) {
|
|
9032
|
-
var N =
|
|
9033
|
+
var N = Me.subscr, D = !!N, j = la(Me, y) && ca(k, I) ? I.obsSet = {} : N;
|
|
9033
9034
|
if (D) {
|
|
9034
9035
|
var F = function(ie) {
|
|
9035
9036
|
return ie = "idb://".concat(l, "/").concat(g, "/").concat(ie), j[ie] || (j[ie] = new Et());
|
|
@@ -9045,14 +9046,14 @@ function Dp() {
|
|
|
9045
9046
|
var he = I.values ? ie.result.map(E) : ie.result;
|
|
9046
9047
|
(I.values ? $ : K).addKeys(he);
|
|
9047
9048
|
} else if (k === "openCursor") {
|
|
9048
|
-
var
|
|
9049
|
-
return
|
|
9050
|
-
return K.addKey(
|
|
9049
|
+
var pe = ie, ge = I.values;
|
|
9050
|
+
return pe && Object.create(pe, { key: { get: function() {
|
|
9051
|
+
return K.addKey(pe.primaryKey), pe.key;
|
|
9051
9052
|
} }, primaryKey: { get: function() {
|
|
9052
|
-
var Ne =
|
|
9053
|
+
var Ne = pe.primaryKey;
|
|
9053
9054
|
return K.addKey(Ne), Ne;
|
|
9054
9055
|
} }, value: { get: function() {
|
|
9055
|
-
return ge && $.addKey(
|
|
9056
|
+
return ge && $.addKey(pe.primaryKey), pe.value;
|
|
9056
9057
|
} } });
|
|
9057
9058
|
}
|
|
9058
9059
|
return ie;
|
|
@@ -9086,20 +9087,20 @@ function Dp() {
|
|
|
9086
9087
|
var N = k, D = [];
|
|
9087
9088
|
if (I.type === "add" || I.type === "put") for (var j = new Et(), F = I.values.length - 1; 0 <= F; --F) {
|
|
9088
9089
|
var $, K = I.values[F], ee = O(K);
|
|
9089
|
-
j.hasKey(ee) || ($ = R(K), (E && c($) ? $.some(function(
|
|
9090
|
-
return zi(
|
|
9090
|
+
j.hasKey(ee) || ($ = R(K), (E && c($) ? $.some(function(pe) {
|
|
9091
|
+
return zi(pe, M);
|
|
9091
9092
|
}) : zi($, M)) && (j.addKey(ee), D.push(K)));
|
|
9092
9093
|
}
|
|
9093
9094
|
switch (I.type) {
|
|
9094
9095
|
case "add":
|
|
9095
|
-
var
|
|
9096
|
+
var ae = new Et().addKeys(l.values ? k.map(function(ge) {
|
|
9096
9097
|
return O(ge);
|
|
9097
9098
|
}) : k), N = k.concat(l.values ? D.filter(function(ge) {
|
|
9098
|
-
return ge = O(ge), !
|
|
9099
|
+
return ge = O(ge), !ae.hasKey(ge) && (ae.addKey(ge), !0);
|
|
9099
9100
|
}) : D.map(function(ge) {
|
|
9100
9101
|
return O(ge);
|
|
9101
9102
|
}).filter(function(ge) {
|
|
9102
|
-
return !
|
|
9103
|
+
return !ae.hasKey(ge) && (ae.addKey(ge), !0);
|
|
9103
9104
|
}));
|
|
9104
9105
|
break;
|
|
9105
9106
|
case "put":
|
|
@@ -9175,16 +9176,16 @@ function Dp() {
|
|
|
9175
9176
|
var I = i.table(V), N = k.optimisticOps.filter(function(ge) {
|
|
9176
9177
|
return ge.trans === E;
|
|
9177
9178
|
});
|
|
9178
|
-
if (E._explicit && M && E.mutatedParts) for (var D = 0, j = Object.values(k.queries.query); D < j.length; D++) for (var F = 0, $ = (
|
|
9179
|
+
if (E._explicit && M && E.mutatedParts) for (var D = 0, j = Object.values(k.queries.query); D < j.length; D++) for (var F = 0, $ = (ae = j[D]).slice(); F < $.length; F++) Ii((re = $[F]).obsSet, E.mutatedParts) && (ne(ae, re), re.subscribers.forEach(function(ge) {
|
|
9179
9180
|
return O.add(ge);
|
|
9180
9181
|
}));
|
|
9181
9182
|
else if (0 < N.length) {
|
|
9182
9183
|
k.optimisticOps = k.optimisticOps.filter(function(ge) {
|
|
9183
9184
|
return ge.trans !== E;
|
|
9184
9185
|
});
|
|
9185
|
-
for (var K = 0, ee = Object.values(k.queries.query); K < ee.length; K++) for (var
|
|
9186
|
+
for (var K = 0, ee = Object.values(k.queries.query); K < ee.length; K++) for (var ae, re, ie, he = 0, pe = (ae = ee[K]).slice(); he < pe.length; he++) (re = pe[he]).res != null && E.mutatedParts && (M && !re.dirty ? (ie = Object.isFrozen(re.res), ie = da(re.res, re.req, N, I, re, ie), re.dirty ? (ne(ae, re), re.subscribers.forEach(function(ge) {
|
|
9186
9187
|
return O.add(ge);
|
|
9187
|
-
})) : ie !== re.res && (re.res = ie, re.promise = me.resolve({ result: ie }))) : (re.dirty && ne(
|
|
9188
|
+
})) : ie !== re.res && (re.res = ie, re.promise = me.resolve({ result: ie }))) : (re.dirty && ne(ae, re), re.subscribers.forEach(function(ge) {
|
|
9188
9189
|
return O.add(ge);
|
|
9189
9190
|
})));
|
|
9190
9191
|
}
|
|
@@ -9199,7 +9200,7 @@ function Dp() {
|
|
|
9199
9200
|
}, table: function(p) {
|
|
9200
9201
|
var g = i.table(p), y = g.schema.primaryKey;
|
|
9201
9202
|
return n(n({}, g), { mutate: function(b) {
|
|
9202
|
-
var S =
|
|
9203
|
+
var S = Me.trans;
|
|
9203
9204
|
if (y.outbound || S.db._options.cache === "disabled" || S.explicit || S.idbtrans.mode !== "readwrite") return g.mutate(b);
|
|
9204
9205
|
var E = Un["idb://".concat(l, "/").concat(p)];
|
|
9205
9206
|
return E ? (S = g.mutate(b), b.type !== "add" && b.type !== "put" || !(50 <= b.values.length || Bi(y, b).some(function(M) {
|
|
@@ -9218,8 +9219,8 @@ function Dp() {
|
|
|
9218
9219
|
});
|
|
9219
9220
|
}), S) : g.mutate(b);
|
|
9220
9221
|
}, query: function(b) {
|
|
9221
|
-
if (!la(
|
|
9222
|
-
var S = ((O =
|
|
9222
|
+
if (!la(Me, g) || !ca("query", b)) return g.query(b);
|
|
9223
|
+
var S = ((O = Me.trans) === null || O === void 0 ? void 0 : O.db._options.cache) === "immutable", C = Me, E = C.requery, M = C.signal, O = (function(I, N, D, j) {
|
|
9223
9224
|
var F = Un["idb://".concat(I, "/").concat(N)];
|
|
9224
9225
|
if (!F) return [];
|
|
9225
9226
|
if (!(N = F.queries[D])) return [null, !1, F, null];
|
|
@@ -9259,7 +9260,7 @@ function Dp() {
|
|
|
9259
9260
|
return g === "db" ? l : Reflect.get(p, g, y);
|
|
9260
9261
|
} });
|
|
9261
9262
|
}
|
|
9262
|
-
var
|
|
9263
|
+
var yn = (ht.prototype.version = function(i) {
|
|
9263
9264
|
if (isNaN(i) || i < 0.1) throw new fe.Type("Given version is not a positive number");
|
|
9264
9265
|
if (i = Math.round(10 * i) / 10, this.idbdb || this._state.isBeingOpened) throw new fe.Schema("Cannot add version when database is open");
|
|
9265
9266
|
this.verno = Math.max(this.verno, i);
|
|
@@ -9269,7 +9270,7 @@ function Dp() {
|
|
|
9269
9270
|
return p || (p = new this.Version(i), l.push(p), l.sort(pc), p.stores({}), this._state.autoSchema = !1, p);
|
|
9270
9271
|
}, ht.prototype._whenReady = function(i) {
|
|
9271
9272
|
var l = this;
|
|
9272
|
-
return this.idbdb && (this._state.openComplete ||
|
|
9273
|
+
return this.idbdb && (this._state.openComplete || Me.letThrough || this._vip) ? i() : new me(function(p, g) {
|
|
9273
9274
|
if (l._state.openComplete) return g(new fe.DatabaseClosed(l._state.dbOpenError));
|
|
9274
9275
|
if (!l._state.isBeingOpened) {
|
|
9275
9276
|
if (!l._state.autoOpen) return void g(new fe.DatabaseClosed());
|
|
@@ -9347,11 +9348,11 @@ function Dp() {
|
|
|
9347
9348
|
var y = arguments.length;
|
|
9348
9349
|
if (y < 2) throw new fe.InvalidArgument("Too few arguments");
|
|
9349
9350
|
for (var b = new Array(y - 1); --y; ) b[y - 1] = arguments[y];
|
|
9350
|
-
return g = b.pop(), [l,
|
|
9351
|
+
return g = b.pop(), [l, Le(b), g];
|
|
9351
9352
|
}).apply(this, arguments);
|
|
9352
9353
|
return this._transaction.apply(this, i);
|
|
9353
9354
|
}, ht.prototype._transaction = function(i, l, p) {
|
|
9354
|
-
var g = this, y =
|
|
9355
|
+
var g = this, y = Me.trans;
|
|
9355
9356
|
y && y.db === this && i.indexOf("!") === -1 || (y = null);
|
|
9356
9357
|
var b, S, E = i.indexOf("?") !== -1;
|
|
9357
9358
|
i = i.replace("!", "").replace("?", "");
|
|
@@ -9383,7 +9384,7 @@ function Dp() {
|
|
|
9383
9384
|
}
|
|
9384
9385
|
var M = (function O(R, C, V, k, I) {
|
|
9385
9386
|
return me.resolve().then(function() {
|
|
9386
|
-
var N =
|
|
9387
|
+
var N = Me.transless || Me, D = R._createTransaction(C, V, R._dbSchema, k);
|
|
9387
9388
|
if (D.explicit = !0, N = { trans: D, transless: N }, k) D.idbtrans = k.idbtrans;
|
|
9388
9389
|
else try {
|
|
9389
9390
|
D.create(), D.idbtrans._explicit = !0, R._state.PR1398_maxLoop = 3;
|
|
@@ -9409,7 +9410,7 @@ function Dp() {
|
|
|
9409
9410
|
});
|
|
9410
9411
|
});
|
|
9411
9412
|
}).bind(null, this, b, S, y, p);
|
|
9412
|
-
return y ? y._promise(b, M, "lock") :
|
|
9413
|
+
return y ? y._promise(b, M, "lock") : Me.trans ? Bn(Me.transless, function() {
|
|
9413
9414
|
return g._whenReady(M);
|
|
9414
9415
|
}) : this._whenReady(M);
|
|
9415
9416
|
}, ht.prototype.table = function(i) {
|
|
@@ -9563,7 +9564,7 @@ function Dp() {
|
|
|
9563
9564
|
return l;
|
|
9564
9565
|
}, g;
|
|
9565
9566
|
}
|
|
9566
|
-
var Hn =
|
|
9567
|
+
var Hn = yn;
|
|
9567
9568
|
function Ui(i) {
|
|
9568
9569
|
var l = Cn;
|
|
9569
9570
|
try {
|
|
@@ -9598,7 +9599,7 @@ function Dp() {
|
|
|
9598
9599
|
d(this, i);
|
|
9599
9600
|
};
|
|
9600
9601
|
}, ignoreTransaction: function(i) {
|
|
9601
|
-
return
|
|
9602
|
+
return Me.trans ? Bn(Me.transless, i) : i();
|
|
9602
9603
|
}, vip: Oi, async: function(i) {
|
|
9603
9604
|
return function() {
|
|
9604
9605
|
try {
|
|
@@ -9616,9 +9617,9 @@ function Dp() {
|
|
|
9616
9617
|
return ft(y);
|
|
9617
9618
|
}
|
|
9618
9619
|
}, currentTransaction: { get: function() {
|
|
9619
|
-
return
|
|
9620
|
+
return Me.trans || null;
|
|
9620
9621
|
} }, waitFor: function(i, l) {
|
|
9621
|
-
return l = me.resolve(typeof i == "function" ? Hn.ignoreTransaction(i) : i).timeout(l || 6e4),
|
|
9622
|
+
return l = me.resolve(typeof i == "function" ? Hn.ignoreTransaction(i) : i).timeout(l || 6e4), Me.trans ? Me.trans.waitFor(l) : l;
|
|
9622
9623
|
}, Promise: me, debug: { get: function() {
|
|
9623
9624
|
return sn;
|
|
9624
9625
|
}, set: function(i) {
|
|
@@ -9627,7 +9628,7 @@ function Dp() {
|
|
|
9627
9628
|
typeof l == "string" ? Y(i, l, void 0) : "length" in l && [].map.call(l, function(p) {
|
|
9628
9629
|
Y(i, p, void 0);
|
|
9629
9630
|
});
|
|
9630
|
-
}, shallowClone: xe, deepClone: qe, getObjectDiff: ji, cmp: Ue, asap:
|
|
9631
|
+
}, shallowClone: xe, deepClone: qe, getObjectDiff: ji, cmp: Ue, asap: se, minKey: -1 / 0, addons: [], connections: nr, errnames: Be, dependencies: ko, cache: Un, semVer: "4.2.0", version: "4.2.0".split(".").map(function(i) {
|
|
9631
9632
|
return parseInt(i);
|
|
9632
9633
|
}).reduce(function(i, l, p) {
|
|
9633
9634
|
return i + l / Math.pow(10, 2 * p);
|
|
@@ -9645,23 +9646,23 @@ function Dp() {
|
|
|
9645
9646
|
})(), typeof sr.unref == "function" && sr.unref(), Tn(Lr, function(i) {
|
|
9646
9647
|
Cn || sr.postMessage(i);
|
|
9647
9648
|
})), typeof addEventListener < "u" && (addEventListener("pagehide", function(i) {
|
|
9648
|
-
if (!
|
|
9649
|
+
if (!yn.disableBfCache && i.persisted) {
|
|
9649
9650
|
sn && console.debug("Dexie: handling persisted pagehide"), sr?.close();
|
|
9650
9651
|
for (var l = 0, p = nr; l < p.length; l++) p[l].close({ disableAutoOpen: !1 });
|
|
9651
9652
|
}
|
|
9652
9653
|
}), addEventListener("pageshow", function(i) {
|
|
9653
|
-
!
|
|
9654
|
+
!yn.disableBfCache && i.persisted && (sn && console.debug("Dexie: handling persisted pageshow"), ha(), Ui({ all: new Et(-1 / 0, [[]]) }));
|
|
9654
9655
|
})), me.rejectionMapper = function(i, l) {
|
|
9655
9656
|
return !i || i instanceof q || i instanceof TypeError || i instanceof SyntaxError || !i.name || !Ke[i.name] ? i : (l = new Ke[i.name](l || i.message, i), "stack" in i && w(l, "stack", { get: function() {
|
|
9656
9657
|
return this.inner.stack;
|
|
9657
9658
|
} }), l);
|
|
9658
|
-
}, Ds(sn), n(
|
|
9659
|
+
}, Ds(sn), n(yn, Object.freeze({ __proto__: null, Dexie: yn, liveQuery: fa, Entity: Hs, cmp: Ue, PropModification: Cr, replacePrefix: function(i, l) {
|
|
9659
9660
|
return new Cr({ replacePrefix: [i, l] });
|
|
9660
9661
|
}, add: function(i) {
|
|
9661
9662
|
return new Cr({ add: i });
|
|
9662
9663
|
}, remove: function(i) {
|
|
9663
9664
|
return new Cr({ remove: i });
|
|
9664
|
-
}, default:
|
|
9665
|
+
}, default: yn, RangeSet: Et, mergeRanges: Ar, rangesOverlap: ra }), { default: yn }), yn;
|
|
9665
9666
|
});
|
|
9666
9667
|
})(Go)), Go.exports;
|
|
9667
9668
|
}
|
|
@@ -9753,7 +9754,7 @@ class H1 {
|
|
|
9753
9754
|
collider;
|
|
9754
9755
|
currentAction;
|
|
9755
9756
|
// private cameraRaycaster: THREE.Raycaster = new THREE.Raycaster()
|
|
9756
|
-
uv =
|
|
9757
|
+
uv = hn();
|
|
9757
9758
|
actionMap;
|
|
9758
9759
|
constructor(e) {
|
|
9759
9760
|
if (e.actionMap)
|
|
@@ -9943,7 +9944,7 @@ class zp {
|
|
|
9943
9944
|
container = new Bp();
|
|
9944
9945
|
loader;
|
|
9945
9946
|
world;
|
|
9946
|
-
#e =
|
|
9947
|
+
#e = hn();
|
|
9947
9948
|
constructor() {
|
|
9948
9949
|
this.keyboard.init(), this.loader = new Is(), this.scene = new Ce.Scene(), this.camera = new Ce.PerspectiveCamera(), this.renderer = new Ce.WebGLRenderer({
|
|
9949
9950
|
antialias: !0
|
|
@@ -10066,7 +10067,7 @@ function Xp(a, e, t) {
|
|
|
10066
10067
|
return n.setMode("translate"), n;
|
|
10067
10068
|
}
|
|
10068
10069
|
let Gp = class {
|
|
10069
|
-
ev =
|
|
10070
|
+
ev = hn();
|
|
10070
10071
|
#e;
|
|
10071
10072
|
#t;
|
|
10072
10073
|
constructor(e) {
|
|
@@ -10503,7 +10504,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
10503
10504
|
}
|
|
10504
10505
|
return Bt(s), (c, d) => {
|
|
10505
10506
|
const h = pl("el-tag");
|
|
10506
|
-
return X(),
|
|
10507
|
+
return X(), Z("div", Wp, [
|
|
10507
10508
|
L(T(Qt), {
|
|
10508
10509
|
title: "日志操作",
|
|
10509
10510
|
column: 3,
|
|
@@ -10523,7 +10524,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
10523
10524
|
ref: t,
|
|
10524
10525
|
class: "flex flex-col gap-10px w-100% max-h-500px overflow-auto"
|
|
10525
10526
|
}, [
|
|
10526
|
-
(X(!0),
|
|
10527
|
+
(X(!0), Z(rn, null, Yt(n.log, (m, f) => (X(), Z("div", {
|
|
10527
10528
|
key: f,
|
|
10528
10529
|
class: "flex flex-1 gap-5px items-start"
|
|
10529
10530
|
}, [
|
|
@@ -10575,7 +10576,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
10575
10576
|
_: 2
|
|
10576
10577
|
}, 1024))
|
|
10577
10578
|
]),
|
|
10578
|
-
m.data?.type === "RendererClick" ? (X(),
|
|
10579
|
+
m.data?.type === "RendererClick" ? (X(), Z("div", tf, [
|
|
10579
10580
|
L(T(en), {
|
|
10580
10581
|
type: "primary",
|
|
10581
10582
|
size: "small",
|
|
@@ -10595,8 +10596,8 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
10595
10596
|
default: z(() => [
|
|
10596
10597
|
d[1] || (d[1] = pt(" 瞬移point ", -1))
|
|
10597
10598
|
]),
|
|
10598
|
-
_:
|
|
10599
|
-
},
|
|
10599
|
+
_: 1
|
|
10600
|
+
}, 8, ["onClick"]),
|
|
10600
10601
|
L(T(en), {
|
|
10601
10602
|
type: "primary",
|
|
10602
10603
|
size: "small",
|
|
@@ -10616,8 +10617,8 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
10616
10617
|
default: z(() => [
|
|
10617
10618
|
d[3] || (d[3] = pt(" 瞬移position ", -1))
|
|
10618
10619
|
]),
|
|
10619
|
-
_:
|
|
10620
|
-
},
|
|
10620
|
+
_: 1
|
|
10621
|
+
}, 8, ["onClick"])
|
|
10621
10622
|
])) : tn("", !0)
|
|
10622
10623
|
]),
|
|
10623
10624
|
L(T(Ps), {
|
|
@@ -10663,7 +10664,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
10663
10664
|
t.log.unshift(r);
|
|
10664
10665
|
});
|
|
10665
10666
|
}
|
|
10666
|
-
return Bt(n), (r, o) => (X(),
|
|
10667
|
+
return Bt(n), (r, o) => (X(), Z("div", rf, [
|
|
10667
10668
|
L(T(Qt), {
|
|
10668
10669
|
title: "基础信息",
|
|
10669
10670
|
column: 3,
|
|
@@ -10804,7 +10805,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
10804
10805
|
}, 100)
|
|
10805
10806
|
);
|
|
10806
10807
|
}
|
|
10807
|
-
return Bt(s), (c, d) => (X(),
|
|
10808
|
+
return Bt(s), (c, d) => (X(), Z("div", af, [
|
|
10808
10809
|
L(T(Qt), {
|
|
10809
10810
|
title: "资源",
|
|
10810
10811
|
column: 1,
|
|
@@ -11288,7 +11289,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
11288
11289
|
function o() {
|
|
11289
11290
|
r.initCamera(), r.initOrbitControls();
|
|
11290
11291
|
}
|
|
11291
|
-
return Bt(o), (s, c) => (X(),
|
|
11292
|
+
return Bt(o), (s, c) => (X(), Z("div", yf, [
|
|
11292
11293
|
L(T(Qt), {
|
|
11293
11294
|
title: "相机初始化参数",
|
|
11294
11295
|
column: 2,
|
|
@@ -11731,7 +11732,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
11731
11732
|
}
|
|
11732
11733
|
function f() {
|
|
11733
11734
|
}
|
|
11734
|
-
return Bt(f), (v, _) => (X(),
|
|
11735
|
+
return Bt(f), (v, _) => (X(), Z("div", _f, [
|
|
11735
11736
|
H("div", null, [
|
|
11736
11737
|
L(T(en), {
|
|
11737
11738
|
type: "primary",
|
|
@@ -11749,7 +11750,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
11749
11750
|
"onUpdate:modelValue": _[0] || (_[0] = (w) => T(s).collapse = w)
|
|
11750
11751
|
}, {
|
|
11751
11752
|
default: z(() => [
|
|
11752
|
-
(X(!0),
|
|
11753
|
+
(X(!0), Z(rn, null, Yt(d.value, (w) => (X(), Je(T(ni), {
|
|
11753
11754
|
key: w.id,
|
|
11754
11755
|
name: w.id
|
|
11755
11756
|
}, {
|
|
@@ -11773,8 +11774,8 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
11773
11774
|
default: z(() => [..._[3] || (_[3] = [
|
|
11774
11775
|
pt(" 删除 ", -1)
|
|
11775
11776
|
])]),
|
|
11776
|
-
_:
|
|
11777
|
-
},
|
|
11777
|
+
_: 1
|
|
11778
|
+
}, 8, ["onClick"])
|
|
11778
11779
|
])
|
|
11779
11780
|
]),
|
|
11780
11781
|
default: z(() => [
|
|
@@ -12050,7 +12051,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12050
12051
|
"onUpdate:modelValue": _[1] || (_[1] = (w) => c.data.type = w)
|
|
12051
12052
|
}, {
|
|
12052
12053
|
default: z(() => [
|
|
12053
|
-
(X(!0),
|
|
12054
|
+
(X(!0), Z(rn, null, Yt(T(s).type, (w) => (X(), Je(T($o), {
|
|
12054
12055
|
key: w.value,
|
|
12055
12056
|
label: w.label,
|
|
12056
12057
|
value: w.value
|
|
@@ -12083,7 +12084,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12083
12084
|
}
|
|
12084
12085
|
function r() {
|
|
12085
12086
|
}
|
|
12086
|
-
return Bt(r), (o, s) => (X(),
|
|
12087
|
+
return Bt(r), (o, s) => (X(), Z("div", Lf, [
|
|
12087
12088
|
L(T(_u), null, {
|
|
12088
12089
|
default: z(() => [
|
|
12089
12090
|
L(T(Ol), { label: "clearColor" }, {
|
|
@@ -12156,7 +12157,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12156
12157
|
name: 0
|
|
12157
12158
|
}, {
|
|
12158
12159
|
default: z(() => [
|
|
12159
|
-
L(gf, { world:
|
|
12160
|
+
L(gf, { world: a.world }, null, 8, ["world"])
|
|
12160
12161
|
]),
|
|
12161
12162
|
_: 1
|
|
12162
12163
|
}),
|
|
@@ -12165,10 +12166,10 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12165
12166
|
name: 1
|
|
12166
12167
|
}, {
|
|
12167
12168
|
default: z(() => [
|
|
12168
|
-
|
|
12169
|
+
a.lights ? (X(), Je(Pf, {
|
|
12169
12170
|
key: 0,
|
|
12170
|
-
world:
|
|
12171
|
-
lights:
|
|
12171
|
+
world: a.world,
|
|
12172
|
+
lights: a.lights
|
|
12172
12173
|
}, null, 8, ["world", "lights"])) : tn("", !0)
|
|
12173
12174
|
]),
|
|
12174
12175
|
_: 1
|
|
@@ -12178,7 +12179,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12178
12179
|
name: 2
|
|
12179
12180
|
}, {
|
|
12180
12181
|
default: z(() => [
|
|
12181
|
-
L(wf, { world:
|
|
12182
|
+
L(wf, { world: a.world }, null, 8, ["world"])
|
|
12182
12183
|
]),
|
|
12183
12184
|
_: 1
|
|
12184
12185
|
}),
|
|
@@ -12187,7 +12188,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12187
12188
|
name: 3
|
|
12188
12189
|
}, {
|
|
12189
12190
|
default: z(() => [
|
|
12190
|
-
L(nf, { world:
|
|
12191
|
+
L(nf, { world: a.world }, null, 8, ["world"])
|
|
12191
12192
|
]),
|
|
12192
12193
|
_: 1
|
|
12193
12194
|
}),
|
|
@@ -12196,7 +12197,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12196
12197
|
name: 4
|
|
12197
12198
|
}, {
|
|
12198
12199
|
default: z(() => [
|
|
12199
|
-
L(Mf, { world:
|
|
12200
|
+
L(Mf, { world: a.world }, null, 8, ["world"])
|
|
12200
12201
|
]),
|
|
12201
12202
|
_: 1
|
|
12202
12203
|
}),
|
|
@@ -12205,7 +12206,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12205
12206
|
name: 5
|
|
12206
12207
|
}, {
|
|
12207
12208
|
default: z(() => [
|
|
12208
|
-
L(sf, { world:
|
|
12209
|
+
L(sf, { world: a.world }, null, 8, ["world"])
|
|
12209
12210
|
]),
|
|
12210
12211
|
_: 1
|
|
12211
12212
|
})
|
|
@@ -12225,7 +12226,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12225
12226
|
"onUpdate:modelValue": h[1] || (h[1] = (m) => s.tabExtra = m)
|
|
12226
12227
|
}, {
|
|
12227
12228
|
default: z(() => [
|
|
12228
|
-
(X(!0),
|
|
12229
|
+
(X(!0), Z(rn, null, Yt(T(t), (m, f) => (X(), Je(T(Kn), {
|
|
12229
12230
|
key: m.id,
|
|
12230
12231
|
label: m.label,
|
|
12231
12232
|
name: f + 1
|
|
@@ -12270,7 +12271,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12270
12271
|
s && n.world.core.emit("Loaded");
|
|
12271
12272
|
},
|
|
12272
12273
|
{ immediate: !0 }
|
|
12273
|
-
), (s, c) => Zo((X(),
|
|
12274
|
+
), (s, c) => Zo((X(), Z("div", If, [
|
|
12274
12275
|
H("div", Rf, [
|
|
12275
12276
|
L(T(Al), {
|
|
12276
12277
|
style: { "--el-color-danger": "#005ed8" },
|
|
@@ -12291,7 +12292,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12291
12292
|
c[0] || (c[0] = H("p", { class: "mt-20px text-16px c-#fff" }, "模型加载中...", -1))
|
|
12292
12293
|
])
|
|
12293
12294
|
], 512)), [
|
|
12294
|
-
[Qo, !
|
|
12295
|
+
[Qo, !a.finish]
|
|
12295
12296
|
]);
|
|
12296
12297
|
}
|
|
12297
12298
|
}), Vf = /* @__PURE__ */ zt(Nf, [["__scopeId", "data-v-3be83448"]]), jf = {
|
|
@@ -12304,7 +12305,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12304
12305
|
},
|
|
12305
12306
|
setup(a) {
|
|
12306
12307
|
const e = a, t = Ie(() => e.data.total ? Math.floor(e.data.loaded / e.data.total * 100) : 0), n = Ie(() => e.data.url.slice(e.data.url.lastIndexOf("/") + 1));
|
|
12307
|
-
return (r, o) => t.value ? (X(),
|
|
12308
|
+
return (r, o) => t.value ? (X(), Z("div", jf, [
|
|
12308
12309
|
H("div", Bf, [
|
|
12309
12310
|
H("span", zf, [
|
|
12310
12311
|
H("span", Ff, gt(n.value), 1),
|
|
@@ -12357,14 +12358,14 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12357
12358
|
}), c.dataList = Array.from(c.data.values())) : d.data = {
|
|
12358
12359
|
...r.value
|
|
12359
12360
|
};
|
|
12360
|
-
}), (h, m) => Zo((X(),
|
|
12361
|
+
}), (h, m) => Zo((X(), Z("div", Hf, [H("div", {
|
|
12361
12362
|
onClick: m[0] || (m[0] = (f) => o.value = !1),
|
|
12362
12363
|
class: "close flex items-center justify-center cursor-pointer hover:bg-gray-500"
|
|
12363
12364
|
}, [...m[1] || (m[1] = [H("i", {
|
|
12364
12365
|
class: "i-ep:close text-12px"
|
|
12365
12366
|
}, null, -1)])]), Zo(L(el, {
|
|
12366
12367
|
data: d.data
|
|
12367
|
-
}, null, 8, ["data"]), [[Qo, s.value]]), (X(!0),
|
|
12368
|
+
}, null, 8, ["data"]), [[Qo, s.value]]), (X(!0), Z(rn, null, Yt(c.dataList, (f) => (X(), Z("div", {
|
|
12368
12369
|
key: f.url,
|
|
12369
12370
|
class: "flex flex-col gap-10px"
|
|
12370
12371
|
}, [L(el, {
|
|
@@ -12411,12 +12412,12 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12411
12412
|
}), t.inited = !0);
|
|
12412
12413
|
}
|
|
12413
12414
|
return Bt(o), vr(() => {
|
|
12414
|
-
}), (s, c) => (X(),
|
|
12415
|
+
}), (s, c) => (X(), Z(rn, null, [
|
|
12415
12416
|
L(Vf, {
|
|
12416
12417
|
modelValue: t.full,
|
|
12417
12418
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => t.full = d),
|
|
12418
12419
|
finish: n.value,
|
|
12419
|
-
world:
|
|
12420
|
+
world: a.world
|
|
12420
12421
|
}, null, 8, ["modelValue", "finish", "world"]),
|
|
12421
12422
|
L(Kf, {
|
|
12422
12423
|
modelValue: t.tip,
|
|
@@ -12461,7 +12462,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12461
12462
|
!nn(Y) && Y !== -1 && f.value?.splice(Y, 1);
|
|
12462
12463
|
}), x.core.on("Render", () => {
|
|
12463
12464
|
Object.assign(d.value.position, x.core.camera.position), Object.assign(h.value.target, x.core.orbitCtrls.target), m.value.clearColor = `#${x.core.renderer.getClearColor(v).getHex().toString(16).padStart(6, "0")}`;
|
|
12464
|
-
}), A(o.config.url), U(d.value), G(h.value),
|
|
12465
|
+
}), A(o.config.url), U(d.value), G(h.value), Q(m.value), se(f.value), r("loaded", x), n({
|
|
12465
12466
|
id: "Config",
|
|
12466
12467
|
label: "Config",
|
|
12467
12468
|
node: oe(
|
|
@@ -12495,24 +12496,24 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12495
12496
|
function G(B) {
|
|
12496
12497
|
B && (w.orbitCtrls.target.copy(B.target), w.orbitCtrls.update());
|
|
12497
12498
|
}
|
|
12498
|
-
function
|
|
12499
|
+
function Q(B) {
|
|
12499
12500
|
B && x.core.renderer.setClearColor(new Ce.Color(B.clearColor));
|
|
12500
12501
|
}
|
|
12501
|
-
function
|
|
12502
|
+
function se(B) {
|
|
12502
12503
|
B && (console.log("[lights]", B), B.forEach((Y) => {
|
|
12503
12504
|
x.lights?.add(Y);
|
|
12504
12505
|
}));
|
|
12505
12506
|
}
|
|
12506
|
-
return jt(c, A), jt(d, U), jt(h, G), jt(m,
|
|
12507
|
+
return jt(c, A), jt(d, U), jt(h, G), jt(m, Q), jt(f, se), Bt(P), vr(() => {
|
|
12507
12508
|
x.scene?.dispose(), x.lights?.dispose(), x.core.dispose();
|
|
12508
12509
|
}), e({
|
|
12509
12510
|
world: x
|
|
12510
|
-
}), (B, Y) => (X(),
|
|
12511
|
+
}), (B, Y) => (X(), Z("div", {
|
|
12511
12512
|
ref_key: "threeRef",
|
|
12512
12513
|
ref: _,
|
|
12513
12514
|
class: "threeWrap"
|
|
12514
12515
|
}, [
|
|
12515
|
-
|
|
12516
|
+
a.debug ? (X(), Je(Af, {
|
|
12516
12517
|
key: 0,
|
|
12517
12518
|
world: x,
|
|
12518
12519
|
lights: f.value
|
|
@@ -12566,7 +12567,7 @@ const Wp = { class: "flex flex-col gap10px" }, Jp = { class: "flex flex-col gap-
|
|
|
12566
12567
|
height: "1.2em"
|
|
12567
12568
|
};
|
|
12568
12569
|
function Jf(a, e) {
|
|
12569
|
-
return X(),
|
|
12570
|
+
return X(), Z("svg", Wf, [...e[0] || (e[0] = [
|
|
12570
12571
|
H("path", {
|
|
12571
12572
|
fill: "currentColor",
|
|
12572
12573
|
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"
|
|
@@ -12579,7 +12580,7 @@ const Zf = we({ name: "ic-baseline-content-copy", render: Jf }), Qf = {
|
|
|
12579
12580
|
height: "1.2em"
|
|
12580
12581
|
};
|
|
12581
12582
|
function eh(a, e) {
|
|
12582
|
-
return X(),
|
|
12583
|
+
return X(), Z("svg", Qf, [...e[0] || (e[0] = [
|
|
12583
12584
|
H("path", {
|
|
12584
12585
|
fill: "currentColor",
|
|
12585
12586
|
d: "M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"
|
|
@@ -12597,7 +12598,7 @@ const th = we({ name: "ic-outline-check", render: eh }), Q1 = /* @__PURE__ */ lt
|
|
|
12597
12598
|
const o = th, s = Zf;
|
|
12598
12599
|
return X(), Je(T(en), {
|
|
12599
12600
|
type: "primary",
|
|
12600
|
-
onClick: r[0] || (r[0] = (c) => T(t)(
|
|
12601
|
+
onClick: r[0] || (r[0] = (c) => T(t)(a.text)),
|
|
12601
12602
|
size: "small",
|
|
12602
12603
|
round: "",
|
|
12603
12604
|
plain: "",
|
|
@@ -12605,7 +12606,7 @@ const th = we({ name: "ic-outline-check", render: eh }), Q1 = /* @__PURE__ */ lt
|
|
|
12605
12606
|
}, {
|
|
12606
12607
|
default: z(() => [
|
|
12607
12608
|
vn(n.$slots, "default", {
|
|
12608
|
-
text:
|
|
12609
|
+
text: a.text,
|
|
12609
12610
|
copied: T(e)
|
|
12610
12611
|
}, () => [
|
|
12611
12612
|
T(e) ? (X(), Je(o, { key: 0 })) : (X(), Je(s, { key: 1 }))
|
|
@@ -12621,7 +12622,7 @@ const th = we({ name: "ic-outline-check", render: eh }), Q1 = /* @__PURE__ */ lt
|
|
|
12621
12622
|
height: "1.2em"
|
|
12622
12623
|
};
|
|
12623
12624
|
function rh(a, e) {
|
|
12624
|
-
return X(),
|
|
12625
|
+
return X(), Z("svg", nh, [...e[0] || (e[0] = [
|
|
12625
12626
|
H("path", {
|
|
12626
12627
|
fill: "currentColor",
|
|
12627
12628
|
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"
|
|
@@ -12989,104 +12990,104 @@ function _h() {
|
|
|
12989
12990
|
a.exports = n();
|
|
12990
12991
|
})(wh, (function() {
|
|
12991
12992
|
var t = 1e3, n = 6e4, r = 36e5, o = "millisecond", s = "second", c = "minute", d = "hour", h = "day", m = "week", f = "month", v = "quarter", _ = "year", w = "date", x = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(Ee) {
|
|
12992
|
-
var
|
|
12993
|
-
return "[" + Ee + (
|
|
12994
|
-
} }, G = function(Ee,
|
|
12995
|
-
var
|
|
12996
|
-
return !
|
|
12997
|
-
},
|
|
12998
|
-
var
|
|
12999
|
-
return (
|
|
13000
|
-
}, m: function Ee(
|
|
13001
|
-
if (
|
|
13002
|
-
var
|
|
13003
|
-
return +(-(
|
|
12993
|
+
var J = ["th", "st", "nd", "rd"], W = Ee % 100;
|
|
12994
|
+
return "[" + Ee + (J[(W - 20) % 10] || J[W] || J[0]) + "]";
|
|
12995
|
+
} }, G = function(Ee, J, W) {
|
|
12996
|
+
var le = String(Ee);
|
|
12997
|
+
return !le || le.length >= J ? Ee : "" + Array(J + 1 - le.length).join(W) + Ee;
|
|
12998
|
+
}, Q = { s: G, z: function(Ee) {
|
|
12999
|
+
var J = -Ee.utcOffset(), W = Math.abs(J), le = Math.floor(W / 60), ne = W % 60;
|
|
13000
|
+
return (J <= 0 ? "+" : "-") + G(le, 2, "0") + ":" + G(ne, 2, "0");
|
|
13001
|
+
}, m: function Ee(J, W) {
|
|
13002
|
+
if (J.date() < W.date()) return -Ee(W, J);
|
|
13003
|
+
var le = 12 * (W.year() - J.year()) + (W.month() - J.month()), ne = J.clone().add(le, f), ue = W - ne < 0, Se = J.clone().add(le + (ue ? -1 : 1), f);
|
|
13004
|
+
return +(-(le + (W - ne) / (ue ? ne - Se : Se - ne)) || 0);
|
|
13004
13005
|
}, a: function(Ee) {
|
|
13005
13006
|
return Ee < 0 ? Math.ceil(Ee) || 0 : Math.floor(Ee);
|
|
13006
13007
|
}, p: function(Ee) {
|
|
13007
13008
|
return { M: f, y: _, w: m, d: h, D: w, h: d, m: c, s, ms: o, Q: v }[Ee] || String(Ee || "").toLowerCase().replace(/s$/, "");
|
|
13008
13009
|
}, u: function(Ee) {
|
|
13009
13010
|
return Ee === void 0;
|
|
13010
|
-
} },
|
|
13011
|
-
B[
|
|
13011
|
+
} }, se = "en", B = {};
|
|
13012
|
+
B[se] = U;
|
|
13012
13013
|
var Y = "$isDayjsObject", xe = function(Ee) {
|
|
13013
13014
|
return Ee instanceof Xe || !(!Ee || !Ee[Y]);
|
|
13014
|
-
},
|
|
13015
|
+
}, ke = function Ee(J, W, le) {
|
|
13015
13016
|
var ne;
|
|
13016
|
-
if (!
|
|
13017
|
-
if (typeof
|
|
13018
|
-
var
|
|
13019
|
-
B[
|
|
13020
|
-
var Se =
|
|
13017
|
+
if (!J) return se;
|
|
13018
|
+
if (typeof J == "string") {
|
|
13019
|
+
var ue = J.toLowerCase();
|
|
13020
|
+
B[ue] && (ne = ue), W && (B[ue] = W, ne = ue);
|
|
13021
|
+
var Se = J.split("-");
|
|
13021
13022
|
if (!ne && Se.length > 1) return Ee(Se[0]);
|
|
13022
13023
|
} else {
|
|
13023
|
-
var De =
|
|
13024
|
-
B[De] =
|
|
13024
|
+
var De = J.name;
|
|
13025
|
+
B[De] = J, ne = De;
|
|
13025
13026
|
}
|
|
13026
|
-
return !
|
|
13027
|
-
},
|
|
13027
|
+
return !le && ne && (se = ne), ne || !le && se;
|
|
13028
|
+
}, Le = function(Ee, J) {
|
|
13028
13029
|
if (xe(Ee)) return Ee.clone();
|
|
13029
|
-
var
|
|
13030
|
-
return
|
|
13031
|
-
},
|
|
13032
|
-
|
|
13033
|
-
return
|
|
13030
|
+
var W = typeof J == "object" ? J : {};
|
|
13031
|
+
return W.date = Ee, W.args = arguments, new Xe(W);
|
|
13032
|
+
}, ce = Q;
|
|
13033
|
+
ce.l = ke, ce.i = xe, ce.w = function(Ee, J) {
|
|
13034
|
+
return Le(Ee, { locale: J.$L, utc: J.$u, x: J.$x, $offset: J.$offset });
|
|
13034
13035
|
};
|
|
13035
13036
|
var Xe = (function() {
|
|
13036
|
-
function Ee(
|
|
13037
|
-
this.$L =
|
|
13037
|
+
function Ee(W) {
|
|
13038
|
+
this.$L = ke(W.locale, null, !0), this.parse(W), this.$x = this.$x || W.x || {}, this[Y] = !0;
|
|
13038
13039
|
}
|
|
13039
|
-
var
|
|
13040
|
-
return
|
|
13041
|
-
this.$d = (function(
|
|
13042
|
-
var ne =
|
|
13040
|
+
var J = Ee.prototype;
|
|
13041
|
+
return J.parse = function(W) {
|
|
13042
|
+
this.$d = (function(le) {
|
|
13043
|
+
var ne = le.date, ue = le.utc;
|
|
13043
13044
|
if (ne === null) return /* @__PURE__ */ new Date(NaN);
|
|
13044
|
-
if (
|
|
13045
|
+
if (ce.u(ne)) return /* @__PURE__ */ new Date();
|
|
13045
13046
|
if (ne instanceof Date) return new Date(ne);
|
|
13046
13047
|
if (typeof ne == "string" && !/Z$/i.test(ne)) {
|
|
13047
13048
|
var Se = ne.match(P);
|
|
13048
13049
|
if (Se) {
|
|
13049
13050
|
var De = Se[2] - 1 || 0, Fe = (Se[7] || "0").substring(0, 3);
|
|
13050
|
-
return
|
|
13051
|
+
return ue ? new Date(Date.UTC(Se[1], De, Se[3] || 1, Se[4] || 0, Se[5] || 0, Se[6] || 0, Fe)) : new Date(Se[1], De, Se[3] || 1, Se[4] || 0, Se[5] || 0, Se[6] || 0, Fe);
|
|
13051
13052
|
}
|
|
13052
13053
|
}
|
|
13053
13054
|
return new Date(ne);
|
|
13054
|
-
})(
|
|
13055
|
-
},
|
|
13056
|
-
var
|
|
13057
|
-
this.$y =
|
|
13058
|
-
},
|
|
13059
|
-
return
|
|
13060
|
-
},
|
|
13055
|
+
})(W), this.init();
|
|
13056
|
+
}, J.init = function() {
|
|
13057
|
+
var W = this.$d;
|
|
13058
|
+
this.$y = W.getFullYear(), this.$M = W.getMonth(), this.$D = W.getDate(), this.$W = W.getDay(), this.$H = W.getHours(), this.$m = W.getMinutes(), this.$s = W.getSeconds(), this.$ms = W.getMilliseconds();
|
|
13059
|
+
}, J.$utils = function() {
|
|
13060
|
+
return ce;
|
|
13061
|
+
}, J.isValid = function() {
|
|
13061
13062
|
return this.$d.toString() !== x;
|
|
13062
|
-
},
|
|
13063
|
-
var ne =
|
|
13064
|
-
return this.startOf(
|
|
13065
|
-
},
|
|
13066
|
-
return
|
|
13067
|
-
},
|
|
13068
|
-
return this.endOf(
|
|
13069
|
-
},
|
|
13070
|
-
return
|
|
13071
|
-
},
|
|
13063
|
+
}, J.isSame = function(W, le) {
|
|
13064
|
+
var ne = Le(W);
|
|
13065
|
+
return this.startOf(le) <= ne && ne <= this.endOf(le);
|
|
13066
|
+
}, J.isAfter = function(W, le) {
|
|
13067
|
+
return Le(W) < this.startOf(le);
|
|
13068
|
+
}, J.isBefore = function(W, le) {
|
|
13069
|
+
return this.endOf(le) < Le(W);
|
|
13070
|
+
}, J.$g = function(W, le, ne) {
|
|
13071
|
+
return ce.u(W) ? this[le] : this.set(ne, W);
|
|
13072
|
+
}, J.unix = function() {
|
|
13072
13073
|
return Math.floor(this.valueOf() / 1e3);
|
|
13073
|
-
},
|
|
13074
|
+
}, J.valueOf = function() {
|
|
13074
13075
|
return this.$d.getTime();
|
|
13075
|
-
},
|
|
13076
|
-
var ne = this,
|
|
13077
|
-
var We =
|
|
13078
|
-
return
|
|
13076
|
+
}, J.startOf = function(W, le) {
|
|
13077
|
+
var ne = this, ue = !!ce.u(le) || le, Se = ce.p(W), De = function(fe, Ke) {
|
|
13078
|
+
var We = ce.w(ne.$u ? Date.UTC(ne.$y, Ke, fe) : new Date(ne.$y, Ke, fe), ne);
|
|
13079
|
+
return ue ? We : We.endOf(h);
|
|
13079
13080
|
}, Fe = function(fe, Ke) {
|
|
13080
|
-
return
|
|
13081
|
-
}, q = this.$W, be = this.$M,
|
|
13081
|
+
return ce.w(ne.toDate()[fe].apply(ne.toDate("s"), (ue ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ke)), ne);
|
|
13082
|
+
}, q = this.$W, be = this.$M, de = this.$D, Pe = "set" + (this.$u ? "UTC" : "");
|
|
13082
13083
|
switch (Se) {
|
|
13083
13084
|
case _:
|
|
13084
|
-
return
|
|
13085
|
+
return ue ? De(1, 0) : De(31, 11);
|
|
13085
13086
|
case f:
|
|
13086
|
-
return
|
|
13087
|
+
return ue ? De(1, be) : De(0, be + 1);
|
|
13087
13088
|
case m:
|
|
13088
13089
|
var Be = this.$locale().weekStart || 0, Ge = (q < Be ? q + 7 : q) - Be;
|
|
13089
|
-
return De(
|
|
13090
|
+
return De(ue ? de - Ge : de + (6 - Ge), be);
|
|
13090
13091
|
case h:
|
|
13091
13092
|
case w:
|
|
13092
13093
|
return Fe(Pe + "Hours", 0);
|
|
@@ -13099,76 +13100,76 @@ function _h() {
|
|
|
13099
13100
|
default:
|
|
13100
13101
|
return this.clone();
|
|
13101
13102
|
}
|
|
13102
|
-
},
|
|
13103
|
-
return this.startOf(
|
|
13104
|
-
},
|
|
13105
|
-
var ne,
|
|
13106
|
-
if (
|
|
13103
|
+
}, J.endOf = function(W) {
|
|
13104
|
+
return this.startOf(W, !1);
|
|
13105
|
+
}, J.$set = function(W, le) {
|
|
13106
|
+
var ne, ue = ce.p(W), Se = "set" + (this.$u ? "UTC" : ""), De = (ne = {}, ne[h] = Se + "Date", ne[w] = Se + "Date", ne[f] = Se + "Month", ne[_] = Se + "FullYear", ne[d] = Se + "Hours", ne[c] = Se + "Minutes", ne[s] = Se + "Seconds", ne[o] = Se + "Milliseconds", ne)[ue], Fe = ue === h ? this.$D + (le - this.$W) : le;
|
|
13107
|
+
if (ue === f || ue === _) {
|
|
13107
13108
|
var q = this.clone().set(w, 1);
|
|
13108
13109
|
q.$d[De](Fe), q.init(), this.$d = q.set(w, Math.min(this.$D, q.daysInMonth())).$d;
|
|
13109
13110
|
} else De && this.$d[De](Fe);
|
|
13110
13111
|
return this.init(), this;
|
|
13111
|
-
},
|
|
13112
|
-
return this.clone().$set(
|
|
13113
|
-
},
|
|
13114
|
-
return this[
|
|
13115
|
-
},
|
|
13116
|
-
var ne,
|
|
13117
|
-
|
|
13118
|
-
var Se =
|
|
13119
|
-
var
|
|
13120
|
-
return
|
|
13112
|
+
}, J.set = function(W, le) {
|
|
13113
|
+
return this.clone().$set(W, le);
|
|
13114
|
+
}, J.get = function(W) {
|
|
13115
|
+
return this[ce.p(W)]();
|
|
13116
|
+
}, J.add = function(W, le) {
|
|
13117
|
+
var ne, ue = this;
|
|
13118
|
+
W = Number(W);
|
|
13119
|
+
var Se = ce.p(le), De = function(be) {
|
|
13120
|
+
var de = Le(ue);
|
|
13121
|
+
return ce.w(de.date(de.date() + Math.round(be * W)), ue);
|
|
13121
13122
|
};
|
|
13122
|
-
if (Se === f) return this.set(f, this.$M +
|
|
13123
|
-
if (Se === _) return this.set(_, this.$y +
|
|
13123
|
+
if (Se === f) return this.set(f, this.$M + W);
|
|
13124
|
+
if (Se === _) return this.set(_, this.$y + W);
|
|
13124
13125
|
if (Se === h) return De(1);
|
|
13125
13126
|
if (Se === m) return De(7);
|
|
13126
|
-
var Fe = (ne = {}, ne[c] = n, ne[d] = r, ne[s] = t, ne)[Se] || 1, q = this.$d.getTime() +
|
|
13127
|
-
return
|
|
13128
|
-
},
|
|
13129
|
-
return this.add(-1 *
|
|
13130
|
-
},
|
|
13131
|
-
var
|
|
13127
|
+
var Fe = (ne = {}, ne[c] = n, ne[d] = r, ne[s] = t, ne)[Se] || 1, q = this.$d.getTime() + W * Fe;
|
|
13128
|
+
return ce.w(q, this);
|
|
13129
|
+
}, J.subtract = function(W, le) {
|
|
13130
|
+
return this.add(-1 * W, le);
|
|
13131
|
+
}, J.format = function(W) {
|
|
13132
|
+
var le = this, ne = this.$locale();
|
|
13132
13133
|
if (!this.isValid()) return ne.invalidDate || x;
|
|
13133
|
-
var
|
|
13134
|
-
return Ke && (Ke[We] || Ke(
|
|
13134
|
+
var ue = W || "YYYY-MM-DDTHH:mm:ssZ", Se = ce.z(this), De = this.$H, Fe = this.$m, q = this.$M, be = ne.weekdays, de = ne.months, Pe = ne.meridiem, Be = function(Ke, We, _e, Ve) {
|
|
13135
|
+
return Ke && (Ke[We] || Ke(le, ue)) || _e[We].slice(0, Ve);
|
|
13135
13136
|
}, Ge = function(Ke) {
|
|
13136
|
-
return
|
|
13137
|
+
return ce.s(De % 12 || 12, Ke, "0");
|
|
13137
13138
|
}, fe = Pe || function(Ke, We, _e) {
|
|
13138
13139
|
var Ve = Ke < 12 ? "AM" : "PM";
|
|
13139
13140
|
return _e ? Ve.toLowerCase() : Ve;
|
|
13140
13141
|
};
|
|
13141
|
-
return
|
|
13142
|
+
return ue.replace(A, (function(Ke, We) {
|
|
13142
13143
|
return We || (function(_e) {
|
|
13143
13144
|
switch (_e) {
|
|
13144
13145
|
case "YY":
|
|
13145
|
-
return String(
|
|
13146
|
+
return String(le.$y).slice(-2);
|
|
13146
13147
|
case "YYYY":
|
|
13147
|
-
return
|
|
13148
|
+
return ce.s(le.$y, 4, "0");
|
|
13148
13149
|
case "M":
|
|
13149
13150
|
return q + 1;
|
|
13150
13151
|
case "MM":
|
|
13151
|
-
return
|
|
13152
|
+
return ce.s(q + 1, 2, "0");
|
|
13152
13153
|
case "MMM":
|
|
13153
|
-
return Be(ne.monthsShort, q,
|
|
13154
|
+
return Be(ne.monthsShort, q, de, 3);
|
|
13154
13155
|
case "MMMM":
|
|
13155
|
-
return Be(
|
|
13156
|
+
return Be(de, q);
|
|
13156
13157
|
case "D":
|
|
13157
|
-
return
|
|
13158
|
+
return le.$D;
|
|
13158
13159
|
case "DD":
|
|
13159
|
-
return
|
|
13160
|
+
return ce.s(le.$D, 2, "0");
|
|
13160
13161
|
case "d":
|
|
13161
|
-
return String(
|
|
13162
|
+
return String(le.$W);
|
|
13162
13163
|
case "dd":
|
|
13163
|
-
return Be(ne.weekdaysMin,
|
|
13164
|
+
return Be(ne.weekdaysMin, le.$W, be, 2);
|
|
13164
13165
|
case "ddd":
|
|
13165
|
-
return Be(ne.weekdaysShort,
|
|
13166
|
+
return Be(ne.weekdaysShort, le.$W, be, 3);
|
|
13166
13167
|
case "dddd":
|
|
13167
|
-
return be[
|
|
13168
|
+
return be[le.$W];
|
|
13168
13169
|
case "H":
|
|
13169
13170
|
return String(De);
|
|
13170
13171
|
case "HH":
|
|
13171
|
-
return
|
|
13172
|
+
return ce.s(De, 2, "0");
|
|
13172
13173
|
case "h":
|
|
13173
13174
|
return Ge(1);
|
|
13174
13175
|
case "hh":
|
|
@@ -13180,83 +13181,83 @@ function _h() {
|
|
|
13180
13181
|
case "m":
|
|
13181
13182
|
return String(Fe);
|
|
13182
13183
|
case "mm":
|
|
13183
|
-
return
|
|
13184
|
+
return ce.s(Fe, 2, "0");
|
|
13184
13185
|
case "s":
|
|
13185
|
-
return String(
|
|
13186
|
+
return String(le.$s);
|
|
13186
13187
|
case "ss":
|
|
13187
|
-
return
|
|
13188
|
+
return ce.s(le.$s, 2, "0");
|
|
13188
13189
|
case "SSS":
|
|
13189
|
-
return
|
|
13190
|
+
return ce.s(le.$ms, 3, "0");
|
|
13190
13191
|
case "Z":
|
|
13191
13192
|
return Se;
|
|
13192
13193
|
}
|
|
13193
13194
|
return null;
|
|
13194
13195
|
})(Ke) || Se.replace(":", "");
|
|
13195
13196
|
}));
|
|
13196
|
-
},
|
|
13197
|
+
}, J.utcOffset = function() {
|
|
13197
13198
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
13198
|
-
},
|
|
13199
|
-
var
|
|
13200
|
-
return
|
|
13199
|
+
}, J.diff = function(W, le, ne) {
|
|
13200
|
+
var ue, Se = this, De = ce.p(le), Fe = Le(W), q = (Fe.utcOffset() - this.utcOffset()) * n, be = this - Fe, de = function() {
|
|
13201
|
+
return ce.m(Se, Fe);
|
|
13201
13202
|
};
|
|
13202
13203
|
switch (De) {
|
|
13203
13204
|
case _:
|
|
13204
|
-
|
|
13205
|
+
ue = de() / 12;
|
|
13205
13206
|
break;
|
|
13206
13207
|
case f:
|
|
13207
|
-
|
|
13208
|
+
ue = de();
|
|
13208
13209
|
break;
|
|
13209
13210
|
case v:
|
|
13210
|
-
|
|
13211
|
+
ue = de() / 3;
|
|
13211
13212
|
break;
|
|
13212
13213
|
case m:
|
|
13213
|
-
|
|
13214
|
+
ue = (be - q) / 6048e5;
|
|
13214
13215
|
break;
|
|
13215
13216
|
case h:
|
|
13216
|
-
|
|
13217
|
+
ue = (be - q) / 864e5;
|
|
13217
13218
|
break;
|
|
13218
13219
|
case d:
|
|
13219
|
-
|
|
13220
|
+
ue = be / r;
|
|
13220
13221
|
break;
|
|
13221
13222
|
case c:
|
|
13222
|
-
|
|
13223
|
+
ue = be / n;
|
|
13223
13224
|
break;
|
|
13224
13225
|
case s:
|
|
13225
|
-
|
|
13226
|
+
ue = be / t;
|
|
13226
13227
|
break;
|
|
13227
13228
|
default:
|
|
13228
|
-
|
|
13229
|
+
ue = be;
|
|
13229
13230
|
}
|
|
13230
|
-
return ne ?
|
|
13231
|
-
},
|
|
13231
|
+
return ne ? ue : ce.a(ue);
|
|
13232
|
+
}, J.daysInMonth = function() {
|
|
13232
13233
|
return this.endOf(f).$D;
|
|
13233
|
-
},
|
|
13234
|
+
}, J.$locale = function() {
|
|
13234
13235
|
return B[this.$L];
|
|
13235
|
-
},
|
|
13236
|
-
if (!
|
|
13237
|
-
var ne = this.clone(),
|
|
13238
|
-
return
|
|
13239
|
-
},
|
|
13240
|
-
return
|
|
13241
|
-
},
|
|
13236
|
+
}, J.locale = function(W, le) {
|
|
13237
|
+
if (!W) return this.$L;
|
|
13238
|
+
var ne = this.clone(), ue = ke(W, le, !0);
|
|
13239
|
+
return ue && (ne.$L = ue), ne;
|
|
13240
|
+
}, J.clone = function() {
|
|
13241
|
+
return ce.w(this.$d, this);
|
|
13242
|
+
}, J.toDate = function() {
|
|
13242
13243
|
return new Date(this.valueOf());
|
|
13243
|
-
},
|
|
13244
|
+
}, J.toJSON = function() {
|
|
13244
13245
|
return this.isValid() ? this.toISOString() : null;
|
|
13245
|
-
},
|
|
13246
|
+
}, J.toISOString = function() {
|
|
13246
13247
|
return this.$d.toISOString();
|
|
13247
|
-
},
|
|
13248
|
+
}, J.toString = function() {
|
|
13248
13249
|
return this.$d.toUTCString();
|
|
13249
13250
|
}, Ee;
|
|
13250
13251
|
})(), qe = Xe.prototype;
|
|
13251
|
-
return
|
|
13252
|
-
qe[Ee[1]] = function(
|
|
13253
|
-
return this.$g(
|
|
13252
|
+
return Le.prototype = qe, [["$ms", o], ["$s", s], ["$m", c], ["$H", d], ["$W", h], ["$M", f], ["$y", _], ["$D", w]].forEach((function(Ee) {
|
|
13253
|
+
qe[Ee[1]] = function(J) {
|
|
13254
|
+
return this.$g(J, Ee[0], Ee[1]);
|
|
13254
13255
|
};
|
|
13255
|
-
})),
|
|
13256
|
-
return Ee.$i || (Ee(
|
|
13257
|
-
},
|
|
13258
|
-
return
|
|
13259
|
-
},
|
|
13256
|
+
})), Le.extend = function(Ee, J) {
|
|
13257
|
+
return Ee.$i || (Ee(J, Xe, Le), Ee.$i = !0), Le;
|
|
13258
|
+
}, Le.locale = ke, Le.isDayjs = xe, Le.unix = function(Ee) {
|
|
13259
|
+
return Le(1e3 * Ee);
|
|
13260
|
+
}, Le.en = B[se], Le.Ls = B, Le.p = {}, Le;
|
|
13260
13261
|
}));
|
|
13261
13262
|
})(qo)), qo.exports;
|
|
13262
13263
|
}
|
|
@@ -13395,12 +13396,12 @@ const Ph = {
|
|
|
13395
13396
|
function h() {
|
|
13396
13397
|
r.value?.removeEventListener("click", c.click), r.value?.removeEventListener("contextmenu", c.contextmenu), r.value?.removeEventListener("dragstart", c.dragstart), r.value?.removeEventListener("dragover", c.dragover), r.value?.removeEventListener("drop", c.drop), r.value?.removeEventListener("dragend", c.dragend), r.value?.removeEventListener("dragenter", c.dragenter), r.value?.removeEventListener("dragleave", c.dragleave);
|
|
13397
13398
|
}
|
|
13398
|
-
return Bt(d), vr(h), (m, f) => (X(),
|
|
13399
|
+
return Bt(d), vr(h), (m, f) => (X(), Z("div", {
|
|
13399
13400
|
class: "shell contents",
|
|
13400
13401
|
ref_key: "shadowRef",
|
|
13401
13402
|
ref: t
|
|
13402
13403
|
}, [
|
|
13403
|
-
(X(), Je(to(
|
|
13404
|
+
(X(), Je(to(a.component), ii(m.$attrs, {
|
|
13404
13405
|
ref_key: "childRef",
|
|
13405
13406
|
ref: n
|
|
13406
13407
|
}), Cs({ _: 2 }, [
|
|
@@ -13501,19 +13502,19 @@ const Ah = {
|
|
|
13501
13502
|
setup(a) {
|
|
13502
13503
|
return (e, t) => {
|
|
13503
13504
|
const n = pl("RecursiveRenderer");
|
|
13504
|
-
return X(!0),
|
|
13505
|
+
return X(!0), Z(rn, null, Yt(a.data, (r) => (X(), Je(to(r.node), ii({
|
|
13505
13506
|
key: r.id,
|
|
13506
13507
|
"data-component-id": r.id,
|
|
13507
|
-
provider:
|
|
13508
|
+
provider: a.provider
|
|
13508
13509
|
}, fl(r.events), { ref_for: !0 }, r.props, {
|
|
13509
|
-
"model-value": T(kh)(r,
|
|
13510
|
-
"onUpdate:modelValue": (o) => T(Oh)(o, r,
|
|
13510
|
+
"model-value": T(kh)(r, a.provider),
|
|
13511
|
+
"onUpdate:modelValue": (o) => T(Oh)(o, r, a.provider)
|
|
13511
13512
|
}), Cs({ _: 2 }, [
|
|
13512
13513
|
Yt(r.children, (o) => ({
|
|
13513
13514
|
name: o.slotname,
|
|
13514
13515
|
fn: z(() => [
|
|
13515
|
-
(X(!0),
|
|
13516
|
-
provider:
|
|
13516
|
+
(X(!0), Z(rn, null, Yt(o.children, (s) => (X(), Je(n, {
|
|
13517
|
+
provider: a.provider,
|
|
13517
13518
|
key: s.id,
|
|
13518
13519
|
data: [s],
|
|
13519
13520
|
"parent-id": s.id
|
|
@@ -18407,7 +18408,7 @@ const zh = {
|
|
|
18407
18408
|
},
|
|
18408
18409
|
setup(a) {
|
|
18409
18410
|
Es((_) => ({
|
|
18410
|
-
|
|
18411
|
+
v64cc252a: r.value
|
|
18411
18412
|
}));
|
|
18412
18413
|
const e = a, t = Ie(() => Object.keys(e.typeMaps)), n = St(t.value), r = St(3), o = St(""), s = Ie(
|
|
18413
18414
|
() => e.configs.filter((_) => {
|
|
@@ -18446,7 +18447,7 @@ const zh = {
|
|
|
18446
18447
|
function v(_, w) {
|
|
18447
18448
|
e.provider.emit("RawDbClick", h(_, w));
|
|
18448
18449
|
}
|
|
18449
|
-
return (_, w) => (X(),
|
|
18450
|
+
return (_, w) => (X(), Z("div", W0, [
|
|
18450
18451
|
H("div", null, [
|
|
18451
18452
|
L(T(Ps), {
|
|
18452
18453
|
modelValue: o.value,
|
|
@@ -18474,14 +18475,14 @@ const zh = {
|
|
|
18474
18475
|
"onUpdate:modelValue": w[2] || (w[2] = (x) => n.value = x)
|
|
18475
18476
|
}, {
|
|
18476
18477
|
default: z(() => [
|
|
18477
|
-
(X(!0),
|
|
18478
|
+
(X(!0), Z(rn, null, Yt(d.value, (x) => (X(), Je(T(ni), {
|
|
18478
18479
|
key: x.value,
|
|
18479
18480
|
title: `${x.label} ${x.value}`,
|
|
18480
18481
|
name: x.value
|
|
18481
18482
|
}, {
|
|
18482
18483
|
default: z(() => [
|
|
18483
18484
|
H("div", J0, [
|
|
18484
|
-
(X(!0),
|
|
18485
|
+
(X(!0), Z(rn, null, Yt(x.list, (P) => (X(), Je(T(si), {
|
|
18485
18486
|
key: P.raw.label,
|
|
18486
18487
|
draggable: !0,
|
|
18487
18488
|
class: "hover:border-dashed hover:border-color-#1c8bd4 hover:c-#1c8bd4",
|
|
@@ -18521,7 +18522,7 @@ const zh = {
|
|
|
18521
18522
|
height: "1.2em"
|
|
18522
18523
|
};
|
|
18523
18524
|
function ng(a, e) {
|
|
18524
|
-
return X(),
|
|
18525
|
+
return X(), Z("svg", tg, [...e[0] || (e[0] = [
|
|
18525
18526
|
H("path", {
|
|
18526
18527
|
fill: "currentColor",
|
|
18527
18528
|
d: "M9 3L5 6.99h3V14h2V6.99h3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99z"
|
|
@@ -18534,7 +18535,7 @@ const rg = we({ name: "ic-baseline-import-export", render: ng }), og = {
|
|
|
18534
18535
|
height: "1.2em"
|
|
18535
18536
|
};
|
|
18536
18537
|
function ig(a, e) {
|
|
18537
|
-
return X(),
|
|
18538
|
+
return X(), Z("svg", og, [...e[0] || (e[0] = [
|
|
18538
18539
|
H("path", {
|
|
18539
18540
|
fill: "currentColor",
|
|
18540
18541
|
d: "M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10a2.5 2.5 0 0 0 2.5-2.5c0-.61-.23-1.2-.64-1.67a.53.53 0 0 1-.13-.33c0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6c0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13S5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5S8.67 6 9.5 6s1.5.67 1.5 1.5"
|
|
@@ -18547,7 +18548,7 @@ const sg = we({ name: "ic-baseline-palette", render: ig }), ag = {
|
|
|
18547
18548
|
height: "1.2em"
|
|
18548
18549
|
};
|
|
18549
18550
|
function lg(a, e) {
|
|
18550
|
-
return X(),
|
|
18551
|
+
return X(), Z("svg", ag, [...e[0] || (e[0] = [
|
|
18551
18552
|
H("path", {
|
|
18552
18553
|
fill: "currentColor",
|
|
18553
18554
|
d: "M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zm0-12H5V6h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"
|
|
@@ -18560,7 +18561,7 @@ const cg = we({ name: "ic-outline-calendar-month", render: lg }), ug = {
|
|
|
18560
18561
|
height: "1.2em"
|
|
18561
18562
|
};
|
|
18562
18563
|
function dg(a, e) {
|
|
18563
|
-
return X(),
|
|
18564
|
+
return X(), Z("svg", ug, [...e[0] || (e[0] = [
|
|
18564
18565
|
H("path", {
|
|
18565
18566
|
fill: "currentColor",
|
|
18566
18567
|
d: "m22 5.72l-4.6-3.86l-1.29 1.53l4.6 3.86zM7.88 3.39L6.6 1.86L2 5.71l1.29 1.53zM12.5 8H11v6l4.75 2.85l.75-1.23l-4-2.37zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9a9 9 0 0 0 0-18m0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7s7 3.13 7 7s-3.13 7-7 7"
|
|
@@ -18573,7 +18574,7 @@ const pg = we({ name: "ic-baseline-alarm", render: dg }), fg = {
|
|
|
18573
18574
|
height: "1.2em"
|
|
18574
18575
|
};
|
|
18575
18576
|
function hg(a, e) {
|
|
18576
|
-
return X(),
|
|
18577
|
+
return X(), Z("svg", fg, [...e[0] || (e[0] = [
|
|
18577
18578
|
H("path", {
|
|
18578
18579
|
fill: "currentColor",
|
|
18579
18580
|
d: "M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5zm4 16.82h2V23h2v-4.18h2V14H9zm-8 0h2V23h2v-4.18h2V14H1zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2zm4 16.82h2V23h2v-4.18h2V14h-6z"
|
|
@@ -18586,7 +18587,7 @@ const mg = we({ name: "ic-sharp-settings-input-component", render: hg }), gg = {
|
|
|
18586
18587
|
height: "1.2em"
|
|
18587
18588
|
};
|
|
18588
18589
|
function yg(a, e) {
|
|
18589
|
-
return X(),
|
|
18590
|
+
return X(), Z("svg", gg, [...e[0] || (e[0] = [
|
|
18590
18591
|
H("path", {
|
|
18591
18592
|
fill: "currentColor",
|
|
18592
18593
|
d: "M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-2 12H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"
|
|
@@ -18599,7 +18600,7 @@ const vg = we({ name: "ic-baseline-message", render: yg }), bg = {
|
|
|
18599
18600
|
height: "1.2em"
|
|
18600
18601
|
};
|
|
18601
18602
|
function wg(a, e) {
|
|
18602
|
-
return X(),
|
|
18603
|
+
return X(), Z("svg", bg, [...e[0] || (e[0] = [
|
|
18603
18604
|
H("path", {
|
|
18604
18605
|
fill: "currentColor",
|
|
18605
18606
|
d: "M11.71 17.99A5.993 5.993 0 0 1 6 12c0-3.31 2.69-6 6-6c3.22 0 5.84 2.53 5.99 5.71l-2.1-.63a3.999 3.999 0 1 0-4.81 4.81zM22 12c0 .3-.01.6-.04.9l-1.97-.59c.01-.1.01-.21.01-.31c0-4.42-3.58-8-8-8s-8 3.58-8 8s3.58 8 8 8c.1 0 .21 0 .31-.01l.59 1.97c-.3.03-.6.04-.9.04c-5.52 0-10-4.48-10-10S6.48 2 12 2s10 4.48 10 10m-3.77 4.26L22 15l-10-3l3 10l1.26-3.77l4.27 4.27l1.98-1.98z"
|
|
@@ -18612,7 +18613,7 @@ const _g = we({ name: "ic-sharp-ads-click", render: wg }), xg = {
|
|
|
18612
18613
|
height: "1.2em"
|
|
18613
18614
|
};
|
|
18614
18615
|
function Sg(a, e) {
|
|
18615
|
-
return X(),
|
|
18616
|
+
return X(), Z("svg", xg, [...e[0] || (e[0] = [
|
|
18616
18617
|
H("path", {
|
|
18617
18618
|
fill: "currentColor",
|
|
18618
18619
|
d: "M4 11v1h4V9H6c-1.1 0-2 .9-2 2",
|
|
@@ -18634,7 +18635,7 @@ const Eg = we({ name: "ic-twotone-electric-moped", render: Sg }), Tg = {
|
|
|
18634
18635
|
height: "1.2em"
|
|
18635
18636
|
};
|
|
18636
18637
|
function Cg(a, e) {
|
|
18637
|
-
return X(),
|
|
18638
|
+
return X(), Z("svg", Tg, [...e[0] || (e[0] = [
|
|
18638
18639
|
H("path", {
|
|
18639
18640
|
fill: "currentColor",
|
|
18640
18641
|
d: "M20 20.5c0 .8-.7 1.5-1.5 1.5H13c-.4 0-.7-.1-1-.4l-4-4.2l.7-.8c.2-.2.5-.3.8-.3h.2L12 18V9c0-.6.4-1 1-1s1 .4 1 1v4.5l1.2.1l3.9 2.2c.5.2.9.8.9 1.3zM20 2H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h4v-2H4V4h16v8h-2v2h2c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2"
|
|
@@ -18647,7 +18648,7 @@ const Pg = we({ name: "mdi-button-pointer", render: Cg }), Lg = {
|
|
|
18647
18648
|
height: "1.2em"
|
|
18648
18649
|
};
|
|
18649
18650
|
function Mg(a, e) {
|
|
18650
|
-
return X(),
|
|
18651
|
+
return X(), Z("svg", Lg, [...e[0] || (e[0] = [
|
|
18651
18652
|
H("path", {
|
|
18652
18653
|
fill: "currentColor",
|
|
18653
18654
|
d: "m18.5 4l1.16 4.35l-.96.26c-.45-.87-.91-1.74-1.44-2.18C16.73 6 16.11 6 15.5 6H13v10.5c0 .5 0 1 .33 1.25c.34.25 1 .25 1.67.25v1H9v-1c.67 0 1.33 0 1.67-.25c.33-.25.33-.75.33-1.25V6H8.5c-.61 0-1.23 0-1.76.43c-.53.44-.99 1.31-1.44 2.18l-.96-.26L5.5 4z"
|
|
@@ -18660,7 +18661,7 @@ const kg = we({ name: "mdi-format-text", render: Mg }), Og = {
|
|
|
18660
18661
|
height: "1.2em"
|
|
18661
18662
|
};
|
|
18662
18663
|
function Ag(a, e) {
|
|
18663
|
-
return X(),
|
|
18664
|
+
return X(), Z("svg", Og, [...e[0] || (e[0] = [
|
|
18664
18665
|
H("path", {
|
|
18665
18666
|
fill: "currentColor",
|
|
18666
18667
|
d: "M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"
|
|
@@ -18673,7 +18674,7 @@ const os = we({ name: "ep-grid", render: Ag }), Ig = {
|
|
|
18673
18674
|
height: "1.2em"
|
|
18674
18675
|
};
|
|
18675
18676
|
function Rg(a, e) {
|
|
18676
|
-
return X(),
|
|
18677
|
+
return X(), Z("svg", Ig, [...e[0] || (e[0] = [
|
|
18677
18678
|
H("path", {
|
|
18678
18679
|
fill: "currentColor",
|
|
18679
18680
|
d: "M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0c0 0-314.9-184.3-325.1-192c-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6q19.2-7.65 38.4 0s279 161.3 309.8 179.2c17.9 7.7 28.2 25.6 25.6 46.1c-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4c-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9c7.7 5.1 256 148.5 256 148.5c7.7 5.1 17.9 5.1 25.6 0c15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64z"
|
|
@@ -18686,7 +18687,7 @@ const Dg = we({ name: "ep-element-plus", render: Rg }), Ng = {
|
|
|
18686
18687
|
height: "1.2em"
|
|
18687
18688
|
};
|
|
18688
18689
|
function Vg(a, e) {
|
|
18689
|
-
return X(),
|
|
18690
|
+
return X(), Z("svg", Ng, [...e[0] || (e[0] = [
|
|
18690
18691
|
H("path", {
|
|
18691
18692
|
fill: "currentColor",
|
|
18692
18693
|
d: "M715.648 625.152L670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896c-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248l90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656c87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496l-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496l45.248 45.248l-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896c62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048l45.248 45.248L398.848 670.4L353.6 625.152z"
|
|
@@ -18699,7 +18700,7 @@ const ol = we({ name: "ep-link", render: Vg }), jg = {
|
|
|
18699
18700
|
height: "1.2em"
|
|
18700
18701
|
};
|
|
18701
18702
|
function Bg(a, e) {
|
|
18702
|
-
return X(),
|
|
18703
|
+
return X(), Z("svg", jg, [...e[0] || (e[0] = [
|
|
18703
18704
|
H("path", {
|
|
18704
18705
|
fill: "currentColor",
|
|
18705
18706
|
d: "M317.056 128L128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64"
|
|
@@ -18720,7 +18721,7 @@ const zg = we({ name: "ep-box", render: Bg }), Fg = {
|
|
|
18720
18721
|
height: "1.2em"
|
|
18721
18722
|
};
|
|
18722
18723
|
function Ug(a, e) {
|
|
18723
|
-
return X(),
|
|
18724
|
+
return X(), Z("svg", Fg, [...e[0] || (e[0] = [
|
|
18724
18725
|
H("path", {
|
|
18725
18726
|
fill: "currentColor",
|
|
18726
18727
|
d: "M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"
|
|
@@ -18733,7 +18734,7 @@ const Fo = we({ name: "ep-menu", render: Ug }), Hg = {
|
|
|
18733
18734
|
height: "1.2em"
|
|
18734
18735
|
};
|
|
18735
18736
|
function $g(a, e) {
|
|
18736
|
-
return X(),
|
|
18737
|
+
return X(), Z("svg", Hg, [...e[0] || (e[0] = [
|
|
18737
18738
|
H("path", {
|
|
18738
18739
|
fill: "currentColor",
|
|
18739
18740
|
d: "M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384L128 512l192 128z"
|
|
@@ -18746,7 +18747,7 @@ const Kg = we({ name: "ep-fold", render: $g }), Xg = {
|
|
|
18746
18747
|
height: "1.2em"
|
|
18747
18748
|
};
|
|
18748
18749
|
function Gg(a, e) {
|
|
18749
|
-
return X(),
|
|
18750
|
+
return X(), Z("svg", Xg, [...e[0] || (e[0] = [
|
|
18750
18751
|
H("path", {
|
|
18751
18752
|
fill: "currentColor",
|
|
18752
18753
|
d: "M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"
|
|
@@ -18759,7 +18760,7 @@ const Yg = we({ name: "ep-house", render: Gg }), qg = {
|
|
|
18759
18760
|
height: "1.2em"
|
|
18760
18761
|
};
|
|
18761
18762
|
function Wg(a, e) {
|
|
18762
|
-
return X(),
|
|
18763
|
+
return X(), Z("svg", qg, [...e[0] || (e[0] = [
|
|
18763
18764
|
H("path", {
|
|
18764
18765
|
fill: "currentColor",
|
|
18765
18766
|
d: "M512 512a192 192 0 1 0 0-384a192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512a256 256 0 0 1 0 512"
|
|
@@ -18780,7 +18781,7 @@ const Jg = we({ name: "ep-place", render: Wg }), Zg = {
|
|
|
18780
18781
|
height: "1.2em"
|
|
18781
18782
|
};
|
|
18782
18783
|
function Qg(a, e) {
|
|
18783
|
-
return X(),
|
|
18784
|
+
return X(), Z("svg", Zg, [...e[0] || (e[0] = [
|
|
18784
18785
|
H("path", {
|
|
18785
18786
|
fill: "currentColor",
|
|
18786
18787
|
d: "m795.904 750.72l124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704a352 352 0 0 0 0 704"
|
|
@@ -18793,7 +18794,7 @@ const ey = we({ name: "ep-search", render: Qg }), ty = {
|
|
|
18793
18794
|
height: "1.2em"
|
|
18794
18795
|
};
|
|
18795
18796
|
function ny(a, e) {
|
|
18796
|
-
return X(),
|
|
18797
|
+
return X(), Z("svg", ty, [...e[0] || (e[0] = [
|
|
18797
18798
|
H("path", {
|
|
18798
18799
|
fill: "currentColor",
|
|
18799
18800
|
d: "m679.872 348.8l-301.76 188.608a127.8 127.8 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"
|
|
@@ -18806,7 +18807,7 @@ const ry = we({ name: "ep-share", render: ny }), oy = {
|
|
|
18806
18807
|
height: "1.2em"
|
|
18807
18808
|
};
|
|
18808
18809
|
function iy(a, e) {
|
|
18809
|
-
return X(),
|
|
18810
|
+
return X(), Z("svg", oy, [...e[0] || (e[0] = [
|
|
18810
18811
|
H("path", {
|
|
18811
18812
|
fill: "currentColor",
|
|
18812
18813
|
d: "M406.656 706.944L195.84 496.256a32 32 0 1 0-45.248 45.248l256 256l512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"
|
|
@@ -18819,7 +18820,7 @@ const sy = we({ name: "ep-check", render: iy }), ay = {
|
|
|
18819
18820
|
height: "1.2em"
|
|
18820
18821
|
};
|
|
18821
18822
|
function ly(a, e) {
|
|
18822
|
-
return X(),
|
|
18823
|
+
return X(), Z("svg", ay, [...e[0] || (e[0] = [
|
|
18823
18824
|
H("path", {
|
|
18824
18825
|
fill: "currentColor",
|
|
18825
18826
|
d: "M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8l-45.312-45.184L447.36 673.024zM384 192V96h256v96z"
|
|
@@ -18832,7 +18833,7 @@ const cy = we({ name: "ep-checked", render: ly }), uy = {
|
|
|
18832
18833
|
height: "1.2em"
|
|
18833
18834
|
};
|
|
18834
18835
|
function dy(a, e) {
|
|
18835
|
-
return X(),
|
|
18836
|
+
return X(), Z("svg", uy, [...e[0] || (e[0] = [
|
|
18836
18837
|
H("path", {
|
|
18837
18838
|
fill: "currentColor",
|
|
18838
18839
|
d: "M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"
|
|
@@ -18845,7 +18846,7 @@ const py = we({ name: "ep-tickets", render: dy }), fy = {
|
|
|
18845
18846
|
height: "1.2em"
|
|
18846
18847
|
};
|
|
18847
18848
|
function hy(a, e) {
|
|
18848
|
-
return X(),
|
|
18849
|
+
return X(), Z("svg", fy, [...e[0] || (e[0] = [
|
|
18849
18850
|
H("path", {
|
|
18850
18851
|
fill: "currentColor",
|
|
18851
18852
|
d: "M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"
|
|
@@ -18858,7 +18859,7 @@ const my = we({ name: "ep-ticket", render: hy }), gy = {
|
|
|
18858
18859
|
height: "1.2em"
|
|
18859
18860
|
};
|
|
18860
18861
|
function yy(a, e) {
|
|
18861
|
-
return X(),
|
|
18862
|
+
return X(), Z("svg", gy, [...e[0] || (e[0] = [
|
|
18862
18863
|
H("path", {
|
|
18863
18864
|
fill: "currentColor",
|
|
18864
18865
|
d: "M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"
|
|
@@ -18875,7 +18876,7 @@ const vy = we({ name: "ep-edit", render: yy }), by = {
|
|
|
18875
18876
|
height: "1.2em"
|
|
18876
18877
|
};
|
|
18877
18878
|
function wy(a, e) {
|
|
18878
|
-
return X(),
|
|
18879
|
+
return X(), Z("svg", by, [...e[0] || (e[0] = [
|
|
18879
18880
|
H("path", {
|
|
18880
18881
|
fill: "currentColor",
|
|
18881
18882
|
d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
|
|
@@ -18888,7 +18889,7 @@ const _y = we({ name: "ep-plus", render: wy }), xy = {
|
|
|
18888
18889
|
height: "1.2em"
|
|
18889
18890
|
};
|
|
18890
18891
|
function Sy(a, e) {
|
|
18891
|
-
return X(),
|
|
18892
|
+
return X(), Z("svg", xy, [...e[0] || (e[0] = [
|
|
18892
18893
|
H("path", {
|
|
18893
18894
|
fill: "currentColor",
|
|
18894
18895
|
d: "M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"
|
|
@@ -18905,7 +18906,7 @@ const il = we({ name: "ep-price-tag", render: Sy }), Ey = {
|
|
|
18905
18906
|
height: "1.2em"
|
|
18906
18907
|
};
|
|
18907
18908
|
function Ty(a, e) {
|
|
18908
|
-
return X(),
|
|
18909
|
+
return X(), Z("svg", Ey, [...e[0] || (e[0] = [
|
|
18909
18910
|
H("path", {
|
|
18910
18911
|
fill: "currentColor",
|
|
18911
18912
|
d: "M512 512a192 192 0 1 0 0-384a192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512a256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"
|
|
@@ -18918,7 +18919,7 @@ const Cy = we({ name: "ep-user", render: Ty }), Py = {
|
|
|
18918
18919
|
height: "1.2em"
|
|
18919
18920
|
};
|
|
18920
18921
|
function Ly(a, e) {
|
|
18921
|
-
return X(),
|
|
18922
|
+
return X(), Z("svg", Py, [...e[0] || (e[0] = [
|
|
18922
18923
|
H("path", {
|
|
18923
18924
|
fill: "currentColor",
|
|
18924
18925
|
d: "M512 896a384 384 0 1 0 0-768a384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896a448 448 0 0 1 0 896"
|
|
@@ -18935,7 +18936,7 @@ const sl = we({ name: "ep-circle-check", render: Ly }), My = {
|
|
|
18935
18936
|
height: "1.2em"
|
|
18936
18937
|
};
|
|
18937
18938
|
function ky(a, e) {
|
|
18938
|
-
return X(),
|
|
18939
|
+
return X(), Z("svg", My, [...e[0] || (e[0] = [
|
|
18939
18940
|
H("path", {
|
|
18940
18941
|
fill: "currentColor",
|
|
18941
18942
|
d: "M512 64a448 448 0 1 1 0 896a448 448 0 0 1 0-896m-55.808 536.384l-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
|
|
@@ -18948,7 +18949,7 @@ const Oy = we({ name: "ep-circle-check-filled", render: ky }), Ay = {
|
|
|
18948
18949
|
height: "1.2em"
|
|
18949
18950
|
};
|
|
18950
18951
|
function Iy(a, e) {
|
|
18951
|
-
return X(),
|
|
18952
|
+
return X(), Z("svg", Ay, [...e[0] || (e[0] = [
|
|
18952
18953
|
H("path", {
|
|
18953
18954
|
fill: "currentColor",
|
|
18954
18955
|
d: "m512 747.84l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08l184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256l99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96l221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"
|
|
@@ -18961,7 +18962,7 @@ const Ry = we({ name: "ep-star", render: Iy }), Dy = {
|
|
|
18961
18962
|
height: "1.2em"
|
|
18962
18963
|
};
|
|
18963
18964
|
function Ny(a, e) {
|
|
18964
|
-
return X(),
|
|
18965
|
+
return X(), Z("svg", Dy, [...e[0] || (e[0] = [
|
|
18965
18966
|
H("path", {
|
|
18966
18967
|
fill: "currentColor",
|
|
18967
18968
|
d: "M831.872 340.864L512 652.672L192.128 340.864a30.59 30.59 0 0 0-42.752 0a29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728a30.59 30.59 0 0 0-42.752 0z"
|
|
@@ -18974,7 +18975,7 @@ const is = we({ name: "ep-arrow-down", render: Ny }), Vy = {
|
|
|
18974
18975
|
height: "1.2em"
|
|
18975
18976
|
};
|
|
18976
18977
|
function jy(a, e) {
|
|
18977
|
-
return X(),
|
|
18978
|
+
return X(), Z("svg", Vy, [...e[0] || (e[0] = [
|
|
18978
18979
|
H("path", {
|
|
18979
18980
|
fill: "currentColor",
|
|
18980
18981
|
d: "M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8l316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"
|
|
@@ -18987,7 +18988,7 @@ const al = we({ name: "ep-arrow-down-bold", render: jy }), By = {
|
|
|
18987
18988
|
height: "1.2em"
|
|
18988
18989
|
};
|
|
18989
18990
|
function zy(a, e) {
|
|
18990
|
-
return X(),
|
|
18991
|
+
return X(), Z("svg", By, [...e[0] || (e[0] = [
|
|
18991
18992
|
H("path", {
|
|
18992
18993
|
fill: "currentColor",
|
|
18993
18994
|
d: "M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128"
|
|
@@ -19004,7 +19005,7 @@ const Fy = we({ name: "ep-switch-button", render: zy }), Uy = {
|
|
|
19004
19005
|
height: "1.2em"
|
|
19005
19006
|
};
|
|
19006
19007
|
function Hy(a, e) {
|
|
19007
|
-
return X(),
|
|
19008
|
+
return X(), Z("svg", Uy, [...e[0] || (e[0] = [
|
|
19008
19009
|
H("path", {
|
|
19009
19010
|
fill: "currentColor",
|
|
19010
19011
|
d: "M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"
|
|
@@ -19017,7 +19018,7 @@ const $y = we({ name: "ep-switch", render: Hy }), Ky = {
|
|
|
19017
19018
|
height: "1.2em"
|
|
19018
19019
|
};
|
|
19019
19020
|
function Xy(a, e) {
|
|
19020
|
-
return X(),
|
|
19021
|
+
return X(), Z("svg", Ky, [...e[0] || (e[0] = [
|
|
19021
19022
|
H("path", {
|
|
19022
19023
|
fill: "currentColor",
|
|
19023
19024
|
d: "M512 896a384 384 0 1 0 0-768a384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896a448 448 0 0 1 0 896"
|
|
@@ -19038,7 +19039,7 @@ const Gy = we({ name: "ep-clock", render: Xy }), Yy = {
|
|
|
19038
19039
|
height: "1.2em"
|
|
19039
19040
|
};
|
|
19040
19041
|
function qy(a, e) {
|
|
19041
|
-
return X(),
|
|
19042
|
+
return X(), Z("svg", Yy, [...e[0] || (e[0] = [
|
|
19042
19043
|
H("path", {
|
|
19043
19044
|
fill: "currentColor",
|
|
19044
19045
|
d: "M512 896a320 320 0 1 0 0-640a320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768a384 384 0 0 1 0 768"
|
|
@@ -19059,7 +19060,7 @@ const Wy = we({ name: "ep-timer", render: qy }), Jy = {
|
|
|
19059
19060
|
height: "1.2em"
|
|
19060
19061
|
};
|
|
19061
19062
|
function Zy(a, e) {
|
|
19062
|
-
return X(),
|
|
19063
|
+
return X(), Z("svg", Jy, [...e[0] || (e[0] = [
|
|
19063
19064
|
H("path", {
|
|
19064
19065
|
fill: "currentColor",
|
|
19065
19066
|
d: "M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"
|
|
@@ -19076,7 +19077,7 @@ const ll = we({ name: "ep-connection", render: Zy }), Qy = {
|
|
|
19076
19077
|
height: "1.2em"
|
|
19077
19078
|
};
|
|
19078
19079
|
function ev(a, e) {
|
|
19079
|
-
return X(),
|
|
19080
|
+
return X(), Z("svg", Qy, [...e[0] || (e[0] = [
|
|
19080
19081
|
H("path", {
|
|
19081
19082
|
fill: "currentColor",
|
|
19082
19083
|
d: "M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"
|
|
@@ -19093,7 +19094,7 @@ const cl = we({ name: "ep-copy-document", render: ev }), tv = {
|
|
|
19093
19094
|
height: "1.2em"
|
|
19094
19095
|
};
|
|
19095
19096
|
function nv(a, e) {
|
|
19096
|
-
return X(),
|
|
19097
|
+
return X(), Z("svg", tv, [...e[0] || (e[0] = [
|
|
19097
19098
|
H("path", {
|
|
19098
19099
|
fill: "currentColor",
|
|
19099
19100
|
d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048L192 444.8L508.8 128l316.8 316.8l-45.312 45.248z"
|
|
@@ -19106,7 +19107,7 @@ const rv = we({ name: "ep-upload", render: nv }), ov = {
|
|
|
19106
19107
|
height: "1.2em"
|
|
19107
19108
|
};
|
|
19108
19109
|
function iv(a, e) {
|
|
19109
|
-
return X(),
|
|
19110
|
+
return X(), Z("svg", ov, [...e[0] || (e[0] = [
|
|
19110
19111
|
H("path", {
|
|
19111
19112
|
fill: "currentColor",
|
|
19112
19113
|
d: "M288 320a224 224 0 1 0 448 0a224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"
|
|
@@ -19119,7 +19120,7 @@ const sv = we({ name: "ep-user-filled", render: iv }), av = {
|
|
|
19119
19120
|
height: "1.2em"
|
|
19120
19121
|
};
|
|
19121
19122
|
function lv(a, e) {
|
|
19122
|
-
return X(),
|
|
19123
|
+
return X(), Z("svg", av, [...e[0] || (e[0] = [
|
|
19123
19124
|
H("path", {
|
|
19124
19125
|
fill: "currentColor",
|
|
19125
19126
|
d: "M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.13 320.13 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"
|
|
@@ -19132,7 +19133,7 @@ const cv = we({ name: "ep-bell-filled", render: lv }), uv = {
|
|
|
19132
19133
|
height: "1.2em"
|
|
19133
19134
|
};
|
|
19134
19135
|
function dv(a, e) {
|
|
19135
|
-
return X(),
|
|
19136
|
+
return X(), Z("svg", uv, [...e[0] || (e[0] = [
|
|
19136
19137
|
H("path", {
|
|
19137
19138
|
fill: "currentColor",
|
|
19138
19139
|
d: "M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"
|
|
@@ -19145,7 +19146,7 @@ const pv = we({ name: "ep-calendar", render: dv }), fv = {
|
|
|
19145
19146
|
height: "1.2em"
|
|
19146
19147
|
};
|
|
19147
19148
|
function hv(a, e) {
|
|
19148
|
-
return X(),
|
|
19149
|
+
return X(), Z("svg", fv, [...e[0] || (e[0] = [
|
|
19149
19150
|
H("path", {
|
|
19150
19151
|
fill: "currentColor",
|
|
19151
19152
|
d: "M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"
|
|
@@ -19162,7 +19163,7 @@ const mv = we({ name: "ep-postcard", render: hv }), gv = {
|
|
|
19162
19163
|
height: "1.2em"
|
|
19163
19164
|
};
|
|
19164
19165
|
function yv(a, e) {
|
|
19165
|
-
return X(),
|
|
19166
|
+
return X(), Z("svg", gv, [...e[0] || (e[0] = [
|
|
19166
19167
|
H("path", {
|
|
19167
19168
|
fill: "currentColor",
|
|
19168
19169
|
d: "M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"
|
|
@@ -19179,7 +19180,7 @@ const ul = we({ name: "ep-picture", render: yv }), vv = {
|
|
|
19179
19180
|
height: "1.2em"
|
|
19180
19181
|
};
|
|
19181
19182
|
function bv(a, e) {
|
|
19182
|
-
return X(),
|
|
19183
|
+
return X(), Z("svg", vv, [...e[0] || (e[0] = [
|
|
19183
19184
|
H("path", {
|
|
19184
19185
|
fill: "currentColor",
|
|
19185
19186
|
d: "M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48l-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"
|
|
@@ -19192,7 +19193,7 @@ const wv = we({ name: "ep-picture-filled", render: bv }), _v = {
|
|
|
19192
19193
|
height: "1.2em"
|
|
19193
19194
|
};
|
|
19194
19195
|
function xv(a, e) {
|
|
19195
|
-
return X(),
|
|
19196
|
+
return X(), Z("svg", _v, [...e[0] || (e[0] = [
|
|
19196
19197
|
H("path", {
|
|
19197
19198
|
fill: "currentColor",
|
|
19198
19199
|
d: "M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"
|
|
@@ -19205,7 +19206,7 @@ const Sv = we({ name: "ep-list", render: xv }), Ev = {
|
|
|
19205
19206
|
height: "1.2em"
|
|
19206
19207
|
};
|
|
19207
19208
|
function Tv(a, e) {
|
|
19208
|
-
return X(),
|
|
19209
|
+
return X(), Z("svg", Ev, [...e[0] || (e[0] = [
|
|
19209
19210
|
H("path", {
|
|
19210
19211
|
fill: "currentColor",
|
|
19211
19212
|
d: "M805.504 320L640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304l-90.496-90.624l45.248-45.248l90.56 90.496l90.496-90.432l45.248 45.248l-90.496 90.56l90.496 90.496l-45.248 45.248l-90.496-90.496l-90.56 90.496l-45.248-45.248z"
|
|
@@ -19218,7 +19219,7 @@ const Cv = we({ name: "ep-document-delete", render: Tv }), Pv = {
|
|
|
19218
19219
|
height: "1.2em"
|
|
19219
19220
|
};
|
|
19220
19221
|
function Lv(a, e) {
|
|
19221
|
-
return X(),
|
|
19222
|
+
return X(), Z("svg", Pv, [...e[0] || (e[0] = [
|
|
19222
19223
|
H("path", {
|
|
19223
19224
|
fill: "currentColor",
|
|
19224
19225
|
d: "M609.408 149.376L277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0a30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688a29.12 29.12 0 0 0-41.728 0"
|
|
@@ -19231,7 +19232,7 @@ const Mv = we({ name: "ep-arrow-left", render: Lv }), kv = {
|
|
|
19231
19232
|
height: "1.2em"
|
|
19232
19233
|
};
|
|
19233
19234
|
function Ov(a, e) {
|
|
19234
|
-
return X(),
|
|
19235
|
+
return X(), Z("svg", kv, [...e[0] || (e[0] = [
|
|
19235
19236
|
H("path", {
|
|
19236
19237
|
fill: "currentColor",
|
|
19237
19238
|
d: "M512 704a192 192 0 1 0 0-384a192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512a256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0m543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"
|
|
@@ -19244,7 +19245,7 @@ const Av = we({ name: "ep-sunny", render: Ov }), Iv = {
|
|
|
19244
19245
|
height: "1.2em"
|
|
19245
19246
|
};
|
|
19246
19247
|
function Rv(a, e) {
|
|
19247
|
-
return X(),
|
|
19248
|
+
return X(), Z("svg", Iv, [...e[0] || (e[0] = [
|
|
19248
19249
|
H("path", {
|
|
19249
19250
|
fill: "currentColor",
|
|
19250
19251
|
d: "M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088l-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36l-116.224-25.088l-65.28 113.152l79.68 88.192l-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136l-79.808 88.192l65.344 113.152l116.224-25.024l22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152l24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296l116.288 25.024l65.28-113.152l-79.744-88.192l1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136l79.808-88.128l-65.344-113.152l-116.288 24.96l-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384a192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256a128 128 0 0 0 0-256"
|
|
@@ -19257,7 +19258,7 @@ const Dv = we({ name: "ep-setting", render: Rv }), Nv = {
|
|
|
19257
19258
|
height: "1.2em"
|
|
19258
19259
|
};
|
|
19259
19260
|
function Vv(a, e) {
|
|
19260
|
-
return X(),
|
|
19261
|
+
return X(), Z("svg", Nv, [...e[0] || (e[0] = [
|
|
19261
19262
|
H("path", {
|
|
19262
19263
|
fill: "currentColor",
|
|
19263
19264
|
d: "m665.216 768l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"
|
|
@@ -19270,7 +19271,7 @@ const jv = we({ name: "ep-data-analysis", render: Vv }), Bv = {
|
|
|
19270
19271
|
height: "1.2em"
|
|
19271
19272
|
};
|
|
19272
19273
|
function zv(a, e) {
|
|
19273
|
-
return X(),
|
|
19274
|
+
return X(), Z("svg", Bv, [...e[0] || (e[0] = [
|
|
19274
19275
|
H("path", {
|
|
19275
19276
|
fill: "currentColor",
|
|
19276
19277
|
d: "m249.6 417.088l319.744 43.072l39.168 310.272L845.12 178.88zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992z"
|
|
@@ -19283,7 +19284,7 @@ const Fv = we({ name: "ep-position", render: zv }), Uv = {
|
|
|
19283
19284
|
height: "1.2em"
|
|
19284
19285
|
};
|
|
19285
19286
|
function Hv(a, e) {
|
|
19286
|
-
return X(),
|
|
19287
|
+
return X(), Z("svg", Uv, [...e[0] || (e[0] = [
|
|
19287
19288
|
H("path", {
|
|
19288
19289
|
fill: "currentColor",
|
|
19289
19290
|
d: "M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0a33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176a28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"
|
|
@@ -19296,7 +19297,7 @@ const $v = we({ name: "ep-top", render: Hv }), Kv = {
|
|
|
19296
19297
|
height: "1.2em"
|
|
19297
19298
|
};
|
|
19298
19299
|
function Xv(a, e) {
|
|
19299
|
-
return X(),
|
|
19300
|
+
return X(), Z("svg", Kv, [...e[0] || (e[0] = [
|
|
19300
19301
|
H("path", {
|
|
19301
19302
|
fill: "currentColor",
|
|
19302
19303
|
d: "M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512L340.864 831.872a30.59 30.59 0 0 0 0 42.752a29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
|
|
@@ -19309,7 +19310,7 @@ const Gv = we({ name: "ep-arrow-right", render: Xv }), Yv = {
|
|
|
19309
19310
|
height: "1.2em"
|
|
19310
19311
|
};
|
|
19311
19312
|
function qv(a, e) {
|
|
19312
|
-
return X(),
|
|
19313
|
+
return X(), Z("svg", Yv, [...e[0] || (e[0] = [
|
|
19313
19314
|
H("path", {
|
|
19314
19315
|
fill: "currentColor",
|
|
19315
19316
|
d: "M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"
|
|
@@ -19322,7 +19323,7 @@ const Wv = we({ name: "ep-document", render: qv }), Jv = {
|
|
|
19322
19323
|
height: "1.2em"
|
|
19323
19324
|
};
|
|
19324
19325
|
function Zv(a, e) {
|
|
19325
|
-
return X(),
|
|
19326
|
+
return X(), Z("svg", Jv, [...e[0] || (e[0] = [
|
|
19326
19327
|
H("path", {
|
|
19327
19328
|
fill: "currentColor",
|
|
19328
19329
|
d: "M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0z"
|
|
@@ -19335,7 +19336,7 @@ const Qv = we({ name: "ep-sort", render: Zv }), e1 = {
|
|
|
19335
19336
|
height: "1.2em"
|
|
19336
19337
|
};
|
|
19337
19338
|
function t1(a, e) {
|
|
19338
|
-
return X(),
|
|
19339
|
+
return X(), Z("svg", e1, [...e[0] || (e[0] = [
|
|
19339
19340
|
H("path", {
|
|
19340
19341
|
fill: "currentColor",
|
|
19341
19342
|
d: "M512 64a448 448 0 1 1 0 896a448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768a384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0a48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
|
|
@@ -19348,7 +19349,7 @@ const n1 = we({ name: "ep-warning", render: t1 }), r1 = {
|
|
|
19348
19349
|
height: "1.2em"
|
|
19349
19350
|
};
|
|
19350
19351
|
function o1(a, e) {
|
|
19351
|
-
return X(),
|
|
19352
|
+
return X(), Z("svg", r1, [...e[0] || (e[0] = [
|
|
19352
19353
|
H("path", {
|
|
19353
19354
|
fill: "currentColor",
|
|
19354
19355
|
d: "M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"
|
|
@@ -19365,7 +19366,7 @@ const i1 = we({ name: "ep-message", render: o1 }), s1 = {
|
|
|
19365
19366
|
height: "1.2em"
|
|
19366
19367
|
};
|
|
19367
19368
|
function a1(a, e) {
|
|
19368
|
-
return X(),
|
|
19369
|
+
return X(), Z("svg", s1, [...e[0] || (e[0] = [
|
|
19369
19370
|
H("path", {
|
|
19370
19371
|
fill: "currentColor",
|
|
19371
19372
|
d: "M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"
|
|
@@ -19378,7 +19379,7 @@ const l1 = we({ name: "ep-folder", render: a1 }), c1 = {
|
|
|
19378
19379
|
height: "1.2em"
|
|
19379
19380
|
};
|
|
19380
19381
|
function u1(a, e) {
|
|
19381
|
-
return X(),
|
|
19382
|
+
return X(), Z("svg", c1, [...e[0] || (e[0] = [
|
|
19382
19383
|
H("path", {
|
|
19383
19384
|
fill: "currentColor",
|
|
19384
19385
|
d: "M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"
|
|
@@ -19391,7 +19392,7 @@ const d1 = we({ name: "ep-minus", render: u1 }), p1 = {
|
|
|
19391
19392
|
height: "1.2em"
|
|
19392
19393
|
};
|
|
19393
19394
|
function f1(a, e) {
|
|
19394
|
-
return X(),
|
|
19395
|
+
return X(), Z("svg", p1, [...e[0] || (e[0] = [
|
|
19395
19396
|
H("path", {
|
|
19396
19397
|
fill: "currentColor",
|
|
19397
19398
|
d: "m683.072 600.32l-43.648 162.816l-61.824-16.512l53.248-198.528L576 493.248l-158.4 158.4l-45.248-45.248l158.4-158.4l-55.616-55.616l-198.528 53.248l-16.512-61.824l162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632z"
|
|
@@ -19516,8 +19517,8 @@ const h1 = we({ name: "ep-watermelon", render: f1 }), lb = /* @__PURE__ */ lt({
|
|
|
19516
19517
|
}
|
|
19517
19518
|
};
|
|
19518
19519
|
return (r, o) => (X(), Je(eg, {
|
|
19519
|
-
lib:
|
|
19520
|
-
provider:
|
|
19520
|
+
lib: a.lib,
|
|
19521
|
+
provider: a.provider,
|
|
19521
19522
|
configs: T(t),
|
|
19522
19523
|
"type-maps": n
|
|
19523
19524
|
}, null, 8, ["lib", "provider", "configs"]));
|
|
@@ -19955,7 +19956,7 @@ class ub {
|
|
|
19955
19956
|
#a;
|
|
19956
19957
|
// 检测是否处于 emit 中(检测嵌套)
|
|
19957
19958
|
constructor() {
|
|
19958
|
-
this.#i = [], this.#a = !1, this.#n =
|
|
19959
|
+
this.#i = [], this.#a = !1, this.#n = hn(), this.#r = new b1(), this.#t = /* @__PURE__ */ new Map(), this.#s = new v1(), this.#o = new Mh(this);
|
|
19959
19960
|
}
|
|
19960
19961
|
getNodeTree() {
|
|
19961
19962
|
return this.#r;
|
|
@@ -20030,13 +20031,13 @@ const w1 = /* @__PURE__ */ lt({
|
|
|
20030
20031
|
},
|
|
20031
20032
|
emits: ["update:modelValue", "afterScale", "scaling"],
|
|
20032
20033
|
setup(a, { emit: e }) {
|
|
20033
|
-
Es((
|
|
20034
|
-
|
|
20035
|
-
|
|
20036
|
-
|
|
20037
|
-
|
|
20038
|
-
|
|
20039
|
-
|
|
20034
|
+
Es((Q) => ({
|
|
20035
|
+
v00fae9cf: w.value,
|
|
20036
|
+
v0493563e: x.value,
|
|
20037
|
+
v5ae84abe: U.value,
|
|
20038
|
+
v6dc028c4: A.value,
|
|
20039
|
+
v0a2f417c: G.value,
|
|
20040
|
+
v00b47e25: P.value
|
|
20040
20041
|
}));
|
|
20041
20042
|
const t = a, n = e, r = An("self"), o = St({
|
|
20042
20043
|
containerStyle: t.modelValue
|
|
@@ -20064,11 +20065,11 @@ const w1 = /* @__PURE__ */ lt({
|
|
|
20064
20065
|
}), n("scaling");
|
|
20065
20066
|
}), c(Sa.AFTER_SCALE, () => {
|
|
20066
20067
|
n("afterScale");
|
|
20067
|
-
}), vr(d), (
|
|
20068
|
+
}), vr(d), (Q, se) => (X(), Z("div", {
|
|
20068
20069
|
ref: "self",
|
|
20069
20070
|
class: "resize-handler",
|
|
20070
20071
|
style: Jn(h.value),
|
|
20071
|
-
onMousedown:
|
|
20072
|
+
onMousedown: se[0] || (se[0] = (B) => T(s)(B, t.direction))
|
|
20072
20073
|
}, null, 36));
|
|
20073
20074
|
}
|
|
20074
20075
|
}), db = /* @__PURE__ */ zt(w1, [["__scopeId", "data-v-2d27d0cf"]]);
|