ss-component-new 1.2.18 → 1.2.20
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/{animationData-DTnmVl43.cjs → animationData-B2z83pxg.cjs} +1 -1
- package/dist/{animationData-CYVo4cF3.js → animationData-BtrsHGyM.js} +4 -4
- package/dist/{array-kfBiN1QA.cjs → array-CX7F7hCX.cjs} +1 -1
- package/dist/{array-D5WfaBtT.js → array-Ch6p_ukC.js} +2 -2
- package/dist/{index-fTU6D0EV.cjs → index-0K6Cl-Ms.cjs} +1 -1
- package/dist/{index-BGnIpBtJ.js → index-2iSHsVLl.js} +127 -127
- package/dist/{index-pDGtp9Y4.js → index-73T2Lgv2.js} +2 -2
- package/dist/{index-Upb8vZrJ.cjs → index-9oTbqGzg.cjs} +1 -1
- package/dist/{index-CYp77kPp.js → index-B42dCx1W.js} +35 -35
- package/dist/index-BEW3m7PE.cjs +1 -0
- package/dist/{index-BsEOhglN.js → index-BG1_KhZK.js} +6 -6
- package/dist/{index-JqoJqpvd.js → index-BKu0xz-O.js} +6 -6
- package/dist/{index-CgEp32Ha.js → index-BMMFvZxl.js} +4 -4
- package/dist/{index-C461j30b.js → index-Bgje9P6C.js} +1 -1
- package/dist/{index-BHHFDjsi.js → index-BlKNwTOs.js} +12 -12
- package/dist/{index-CTd5yE7g.cjs → index-BlyDBfzx.cjs} +1 -1
- package/dist/{index-RSZafNJV.js → index-BpjFWVqg.js} +45 -45
- package/dist/{index-oKm_bMcI.cjs → index-BsDe8kH3.cjs} +1 -1
- package/dist/{index-L_8m2Edi.cjs → index-BtxtAu06.cjs} +1 -1
- package/dist/{index-CGGQf1Fy.cjs → index-BwZEc7Tf.cjs} +1 -1
- package/dist/{index-PYM4eM9f.js → index-By7Jdce4.js} +2 -2
- package/dist/{index-Cl1eN72c.cjs → index-C86qvKuB.cjs} +1 -1
- package/dist/{index-BwjuTBrR.js → index-CFrBvay9.js} +1 -1
- package/dist/{index-BiNsOjcC.cjs → index-CFvq-6Md.cjs} +1 -1
- package/dist/{index-C8gXNO36.js → index-CGT4GOaV.js} +3 -3
- package/dist/{index-uzUGa1I0.js → index-CHqWj9bq.js} +8 -8
- package/dist/{index-loXBOUd5.cjs → index-CP1n4T5X.cjs} +1 -1
- package/dist/{index-aTTU_ja_.cjs → index-CUunD6AI.cjs} +1 -1
- package/dist/{index-BgJ164SD.js → index-CZOZhNzY.js} +2 -2
- package/dist/{index-D7Y91W7M.cjs → index-CbvsAbDX.cjs} +1 -1
- package/dist/{index-BoD05_J0.js → index-CdatGkoi.js} +1 -1
- package/dist/{index-Cz9V1kg-.js → index-CgRNnsAu.js} +6 -6
- package/dist/{index-CQBynyM7.js → index-CmRTH7_x.js} +4 -4
- package/dist/{index-D51ekpXx.cjs → index-CvGDAOfZ.cjs} +1 -1
- package/dist/{index-brsfUqkV.cjs → index-Cvk1PayK.cjs} +1 -1
- package/dist/{index-DFH8aI2Y.js → index-Cyg0Lzay.js} +1 -1
- package/dist/{index-Bjp7vtmT.cjs → index-D4L8awAF.cjs} +1 -1
- package/dist/{index-D9D2Wuf4.cjs → index-DF9BuOL8.cjs} +1 -1
- package/dist/{index-DuE6CA_5.cjs → index-DFYOu4oD.cjs} +1 -1
- package/dist/{index-fcgKi8rF.js → index-DGX0smEy.js} +11 -11
- package/dist/{index-CoQXoOC5.cjs → index-DIcMmdC0.cjs} +1 -1
- package/dist/{index-8U0_G_0R.js → index-DKKn4eRy.js} +19 -19
- package/dist/{index-9RCVRjgc.js → index-DM34sP7N.js} +2 -2
- package/dist/{index-BpyDAfgJ.cjs → index-DQI1sU2I.cjs} +1 -1
- package/dist/{index-DviC5Mes.cjs → index-DU41qklc.cjs} +1 -1
- package/dist/{index-DxERe_o8.cjs → index-DZMb09ji.cjs} +1 -1
- package/dist/{index-CEsRU7PI.cjs → index-DZwxX08c.cjs} +1 -1
- package/dist/{index-DKo5-PGs.cjs → index-DfFuzmAD.cjs} +1 -1
- package/dist/{index-WkhOFQKy.js → index-DhgVjH8N.js} +1 -1
- package/dist/{index-CgXgl7xg.cjs → index-DkTI4y8-.cjs} +1 -1
- package/dist/{index-t-iLIRPH.js → index-DtgOLoua.js} +6 -6
- package/dist/{index-C0M4a5a7.js → index-DzUxU95k.js} +2 -2
- package/dist/{index-D9BKoQ6f.js → index-JvFLPwtl.js} +12 -12
- package/dist/{index-DLRyzLvk.js → index-TRG-Xajw.js} +6 -6
- package/dist/{index-BrdP9HC4.js → index-WI-Enogn.js} +3 -3
- package/dist/{index-DYT7O5SY.js → index-dp7B89l2.js} +2 -2
- package/dist/{index-DWCqPPU9.cjs → index-kUx8M5fQ.cjs} +1 -1
- package/dist/{index-DuX7JuNX.cjs → index-veO6aNlT.cjs} +1 -1
- package/dist/{index-Bj3QBLNZ.js → index-ywttg0aN.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DyCjVGK4.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BQDvbb5M.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DkvEh0kU.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C5iAwGPT.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CgRoTnM4.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BuLgHqsW.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DDuO2RJ1.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-C6O7eqGt.js} +13 -13
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BR6JjiA7.cjs +56 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Cc_BYWMl.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-YoXSuhvY.js} +11641 -11513
- package/dist/{index.vue_vue_type_style_index_1_lang-CnzkLjVf.js → index.vue_vue_type_style_index_1_lang-B5e9AaID.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-vU1VQMfs.js → index.vue_vue_type_style_index_1_lang-BYqy49bR.js} +2516 -2455
- package/dist/{index.vue_vue_type_style_index_1_lang-B-382mSr.cjs → index.vue_vue_type_style_index_1_lang-CdUqUglE.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_1_lang-KvVUqiGG.cjs +32 -0
- package/dist/{isString-BNK38WbE.js → isString-BrYdkZh8.js} +1 -1
- package/dist/{main-Dk1H52zm.js → main-C16cfwlk.js} +5 -5
- package/dist/{main-hA5knk3Y.cjs → main-Dh4RBLeI.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeLatheView-Bp0kjo_V.js → threeLatheView-DuqX5kKf.js} +2 -2
- package/dist/{threeModel-7FtoCWUL.js → threeModel-BIw5R64U.js} +3 -3
- package/dist/{threeModel-B8ayOk4L.cjs → threeModel-BzqnR4Z_.cjs} +1 -1
- package/dist/{threePreview-DFFjm93P.js → threePreview-B7C8gY5w.js} +1 -1
- package/dist/{threeSceneView-DpIfHcs5.cjs → threeSceneView-CB27ZSDh.cjs} +1 -1
- package/dist/{threeSceneView-kfQrdRjz.js → threeSceneView-TMLpCSG3.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-Cz1ay3aa.js → threeSceneViewForCPMPIP-CzDiAua_.js} +25 -25
- package/dist/{threeSceneViewForCPMPIP-BTLpKMe4.cjs → threeSceneViewForCPMPIP-Duj6EFe5.cjs} +1 -1
- package/dist/{threeViewerHost-Da6cfLt7.cjs → threeViewerHost-CYAKN7z5.cjs} +1 -1
- package/dist/{threeViewerHost-CXQi7gV5.js → threeViewerHost-CsLCgnJb.js} +10 -10
- package/dist/{useRayCaster-x0qmWO-B.cjs → useRayCaster-A4T4JTfj.cjs} +1 -1
- package/dist/{useRayCaster-Ca7t2A9k.js → useRayCaster-BwybQXi8.js} +1 -1
- package/package.json +1 -1
- package/dist/index-Djrsmf4o.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BimjDwOI.cjs +0 -56
- package/dist/index.vue_vue_type_style_index_1_lang-YnBuuwY6.cjs +0 -32
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-KvVUqiGG.cjs"),I=require("./index.vue_vue_type_style_index_1_lang-CdUqUglE.cjs"),U=require("./threeViewerHost-CYAKN7z5.cjs"),T=require("./index-1z9RrjZc.cjs");function P(r){try{const c=new URL(r).pathname,i=c.substring(c.lastIndexOf("/")+1);return decodeURIComponent(i)}catch(c){return console.error("无法解析URL以提取文件名:",r,c),"未知文件名"}}function S(r){if(!r)return;const c=r.match(/filename\*\s*=\s*([^;]+)/i);if(c){let n=c[1].trim();n=n.replace(/^"(.*)"$/,"$1");const h=n.split("''");if(h.length===2){const m=h[0].toUpperCase(),f=h[1];try{if(m==="UTF-8")return decodeURIComponent(f)}catch{}return f}try{return decodeURIComponent(n)}catch{return n}}const i=r.match(/filename\s*=\s*("?)([^";]+)\1/i);if(i)return i[2].trim()}async function K(r){let c,i;if(/^https?:\/\//.test(r))try{const n=await fetch(r,{method:"GET",cache:"no-store"});if(!n.ok)throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);c=await n.blob(),i=P(r)}catch(n){throw console.error("使用 fetch 下载文件时出错:",n),n}else try{const n=await U.downloadAvatarApi({url:r});if(n.status!==200)throw new Error(`下载失败: ${n.status}`);const h=n.headers["content-disposition"];i=S(h)||"无文件名",c=n.data}catch(n){throw console.error("通过 API 下载文件时出错:",n),n}return new File([c],i,{type:c.type})}function N(r){return new Promise((c,i)=>{const n=new FileReader;n.onload=h=>{var m;try{const f=(m=h.target)==null?void 0:m.result,u=I.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=I.utils.sheet_to_json(F);c(E)}catch(f){i(f)}},n.readAsArrayBuffer(r)})}const V=async()=>{const r="弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/模具筛选安装`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长||0,u=m.外径||0;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工位姿生成`,i,"");let $=["夹持长度"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度||0;console.log("夹持长度",k,g);const x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w)||[];return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},c},q=async()=>{const r="双弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/模具筛选安装`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长||0,u=m.外径||0;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工工艺生成`,i,"");let $=["夹持位置"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置||0;console.log("夹持长度",k,g);const x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w)||[];return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},c},B=async r=>await K(r),j=async r=>await N(r),X=async r=>{const c=await B(r);return await j(c)};exports.fetchDoubleRobotAnimationData=q;exports.fetchSingleRobotAnimationData=V;exports.initXYZBCList=X;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
2
|
-
import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
-
import { d as I } from "./threeViewerHost-
|
|
4
|
-
import { c as P } from "./index-
|
|
1
|
+
import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-BYqy49bR.js";
|
|
2
|
+
import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-B5e9AaID.js";
|
|
3
|
+
import { d as I } from "./threeViewerHost-CsLCgnJb.js";
|
|
4
|
+
import { c as P } from "./index-B42dCx1W.js";
|
|
5
5
|
function N(r) {
|
|
6
6
|
try {
|
|
7
7
|
const c = new URL(r).pathname, s = c.substring(c.lastIndexOf("/") + 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const w=require("vue"),j=require("./index.vue_vue_type_style_index_1_lang-YnBuuwY6.cjs"),l=require("./index-1z9RrjZc.cjs"),Ve=typeof window<"u";var fe;Ve&&((fe=window==null?void 0:window.navigator)!=null&&fe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Je(e){return e==null}function Se(){}const Ie=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Ie)));function Xe(){const e=new Map;return{on(t,n){const r=e.get(t);r!=null&&r.add(n)||e.set(t,new Set([n]))},off(t,n){const r=e.get(t);r&&r.delete(n)},clear(t){const n=e.get(t);n&&n.clear()},clearAll(){e.clear()},emit(t,...n){const r=e.get(t);r&&r.forEach(o=>{o(...n)})}}}function Ze(e,t=16){if(typeof e!="function")return Se;const n=(...i)=>{e(...i)};if(t<=0)return Ae(n);let r=0,o;return function(...i){const a=Date.now(),s=a-r;clearTimeout(o),s>=t?(r=a,n(...i)):o=setTimeout(()=>{r=Date.now(),n(...i)},Math.max(0,t-s))}}function Ge(e,t=100){if(typeof e!="function")return Se;const n=(...o)=>{e(...o)};if(t<=0)return Ae(n);let r;return function(...o){clearTimeout(r),r=setTimeout(()=>{n(...o)},t)}}function Ae(e){if(typeof e!="function")return e;let t=!1,n,r;return function(...o){return n=o,t||(t=!0,r=Promise.resolve().then(()=>(t=!1,r=void 0,e(...n)))),r}}const P=new Set,_e=new WeakMap;function He(){P.forEach(e=>{e(..._e.get(e))}),P.clear()}function Ye(e,...t){if(typeof e!="function")return e;_e.set(e,t),!P.has(e)&&(P.add(e),P.size===1&&Promise.resolve().then(He))}const q=typeof window<"u";var ue;q&&(ue=window==null?void 0:window.navigator)!=null&&ue.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function de(e){return e!=null}function pe(){}const Ke=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Ke)));const Qe=q&&("ontouchstart"in window||tt()>0),et=Qe?"pointerdown":"click";function tt(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function rt(e,t,n=window.Event){const{type:r,bubbles:o=!1,cancelable:i=!1,...a}=t;if(!de(r)||r==="")return!1;let s;return de(n)?s=new n(r,{bubbles:o,cancelable:i}):(s=document.createEvent("HTMLEvents"),s.initEvent(r,o,i)),Object.assign(s,a),e.dispatchEvent(s)}const nt="clickoutside",ot=new Set;q&&document.addEventListener(et,e=>{const t=e.target,n=e.composedPath&&e.composedPath();ot.forEach(r=>{r!==t&&(n?!n.includes(r):!r.contains(t))&&(!r.__transferElement||r.__transferElement!==t&&!r.__transferElement.contains(t))&&rt(r,{type:nt})})},!0);const it=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let G;if(q){for(const e of it)if(e[1]in document){G=e;break}}w.computed(()=>!1);const at=new Set,lt=new WeakMap;if(q&&G){const e=G[2],t=G[4];document.addEventListener(t,()=>{if(at.forEach(n=>{n.value=!1}),document[e]){const n=lt.get(document[e]);n&&(n.value=!0)}},!1)}const je=new Map;je.set("x",0);je.set("y",0);var R=[],st=function(){return R.some(function(e){return e.activeTargets.length>0})},ct=function(){return R.some(function(e){return e.skippedTargets.length>0})},he="ResizeObserver loop completed with undelivered notifications.",ft=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:he}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=he),window.dispatchEvent(e)},L;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(L||(L={}));var M=function(e){return Object.freeze(e)},ut=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,M(this)}return e}(),Be=function(){function e(t,n,r,o){return this.x=t,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,M(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,r=t.y,o=t.top,i=t.right,a=t.bottom,s=t.left,g=t.width,f=t.height;return{x:n,y:r,top:o,right:i,bottom:a,left:s,width:g,height:f}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),oe=function(e){return e instanceof SVGElement&&"getBBox"in e},Ce=function(e){if(oe(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},ge=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},dt=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},U=typeof window<"u"?window:{},J=new WeakMap,be=/auto|scroll/,pt=/^tb|vertical/,ht=/msie|trident/i.test(U.navigator&&U.navigator.userAgent),_=function(e){return parseFloat(e||"0")},$=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new ut((n?t:e)||0,(n?e:t)||0)},me=M({devicePixelContentBoxSize:$(),borderBoxSize:$(),contentBoxSize:$(),contentRect:new Be(0,0,0,0)}),Re=function(e,t){if(t===void 0&&(t=!1),J.has(e)&&!t)return J.get(e);if(Ce(e))return J.set(e,me),me;var n=getComputedStyle(e),r=oe(e)&&e.ownerSVGElement&&e.getBBox(),o=!ht&&n.boxSizing==="border-box",i=pt.test(n.writingMode||""),a=!r&&be.test(n.overflowY||""),s=!r&&be.test(n.overflowX||""),g=r?0:_(n.paddingTop),f=r?0:_(n.paddingRight),B=r?0:_(n.paddingBottom),c=r?0:_(n.paddingLeft),k=r?0:_(n.borderTopWidth),u=r?0:_(n.borderRightWidth),d=r?0:_(n.borderBottomWidth),S=r?0:_(n.borderLeftWidth),b=c+f,O=g+B,E=S+u,D=k+d,T=s?e.offsetHeight-D-e.clientHeight:0,p=a?e.offsetWidth-E-e.clientWidth:0,m=o?b+E:0,v=o?O+D:0,A=r?r.width:_(n.width)-m-p,C=r?r.height:_(n.height)-v-T,W=A+b+p+E,V=C+O+T+D,F=M({devicePixelContentBoxSize:$(Math.round(A*devicePixelRatio),Math.round(C*devicePixelRatio),i),borderBoxSize:$(W,V,i),contentBoxSize:$(A,C,i),contentRect:new Be(c,g,A,C)});return J.set(e,F),F},Me=function(e,t,n){var r=Re(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case L.DEVICE_PIXEL_CONTENT_BOX:return a;case L.BORDER_BOX:return o;default:return i}},gt=function(){function e(t){var n=Re(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=M([n.borderBoxSize]),this.contentBoxSize=M([n.contentBoxSize]),this.devicePixelContentBoxSize=M([n.devicePixelContentBoxSize])}return e}(),qe=function(e){if(Ce(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},bt=function(){var e=1/0,t=[];R.forEach(function(i){if(i.activeTargets.length!==0){var a=[];i.activeTargets.forEach(function(s){var g=new gt(s.target),f=qe(s.target);a.push(g),s.lastReportedSize=Me(s.target,s.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,a,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var n=0,r=t;n<r.length;n++){var o=r[n];o()}return e},ve=function(e){R.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(qe(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},mt=function(){var e=0;for(ve(e);st();)e=bt(),ve(e);return ct()&&ft(),e>0},Q,$e=[],vt=function(){return $e.splice(0).forEach(function(e){return e()})},yt=function(e){if(!Q){var t=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return vt()}).observe(n,r),Q=function(){n.textContent="".concat(t?t--:t++)}}$e.push(e),Q()},wt=function(e){yt(function(){requestAnimationFrame(e)})},H=0,kt=function(){return!!H},zt=250,xt={attributes:!0,characterData:!0,childList:!0,subtree:!0},ye=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],we=function(e){return e===void 0&&(e=0),Date.now()+e},ee=!1,Et=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=zt),!ee){ee=!0;var r=we(t);wt(function(){var o=!1;try{o=mt()}finally{if(ee=!1,t=r-we(),!kt())return;o?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,xt)};document.body?n():U.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ye.forEach(function(n){return U.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ye.forEach(function(n){return U.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),ne=new Et,ke=function(e){!H&&e>0&&ne.start(),H+=e,!H&&ne.stop()},Dt=function(e){return!oe(e)&&!dt(e)&&getComputedStyle(e).display==="inline"},Ot=function(){function e(t,n){this.target=t,this.observedBox=n||L.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Me(this.target,this.observedBox,!0);return Dt(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Tt=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),I=new WeakMap,ze=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},X=function(){function e(){}return e.connect=function(t,n){var r=new Tt(t,n);I.set(t,r)},e.observe=function(t,n,r){var o=I.get(t),i=o.observationTargets.length===0;ze(o.observationTargets,n)<0&&(i&&R.push(o),o.observationTargets.push(new Ot(n,r&&r.box)),ke(1),ne.schedule())},e.unobserve=function(t,n){var r=I.get(t),o=ze(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&R.splice(R.indexOf(r),1),r.observationTargets.splice(o,1),ke(-1))},e.disconnect=function(t){var n=this,r=I.get(t);r.observationTargets.slice().forEach(function(o){return n.unobserve(t,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),St=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");X.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ge(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");X.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ge(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");X.unobserve(this,t)},e.prototype.disconnect=function(){X.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const K=new WeakMap;function At(e){var t;for(let n=0,r=e.length;n<r;++n){const o=e[n],i=K.get(o.target);if(typeof i=="function"){const{inlineSize:a,blockSize:s}=((t=o.borderBoxSize)==null?void 0:t[0])??{},{offsetWidth:g,offsetHeight:f}=o.target;i(Object.assign(o,{offsetWidth:g,offsetHeight:f,width:a??g,height:s??f}))}}}const Fe=new(q&&window.ResizeObserver||St)(At);function xe(e,t){K.set(e,t),Fe.observe(e)}function Ee(e){K.has(e)&&(Fe.unobserve(e),K.delete(e))}function _t(e={}){let t=pe;const n=w.watch(()=>w.unref(e.target),o=>{t(),!(!o||typeof e.onResize!="function")&&(xe(o,e.onResize),t=()=>{Ee(o),t=pe})},{immediate:!0}),r=()=>{n(),t()};return w.getCurrentScope()&&w.onScopeDispose(r),{observeResize:xe,unobserveResize:Ee,unobserve:r}}const jt=w.ref(!1);w.computed(()=>jt.value);const De="__theme_style__",te="__theme_observer__",Oe=w.reactive(new Map),Te=new Map;w.watch(Oe,()=>{if(!q)return;Te.clear();const e=document.head.querySelector(`#${De}`);e&&document.head.removeChild(e);const t=document.createElement("style");let n=`.${te} { width: 1px }`,r=1;for(const[o,[i,a]]of Oe.entries())n+=` html.${i} .${te}, .${a} .${te} { width: ${++r}px }`,Te.set(r,o);t.textContent=n,t.id=De,document.head.appendChild(t)});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();w.ref(0);const Ne=e=>{var t,n;if(Array.isArray(Object.keys(e))&&((t=Object.keys(e))==null?void 0:t.length)>0){let r=[];return(n=Object.entries(e))==null||n.forEach(([o,i])=>{var s,g;let a=[];if(a.push(o),((s=Object.keys(i))==null?void 0:s.length)>0){let f=[];(g=Ne(i))==null||g.forEach(B=>{f.push(B)}),f==null||f.forEach(B=>{a.push(B)})}r.push(a)}),r}},Bt=(e,t)=>{var r;let n=t;return Array.isArray(Object.keys(e))&&((r=Object.entries(e))==null||r.forEach(([o,i])=>{let a=[o];if(typeof i=="object"&&i!==null){let s=Ne(i);s==null||s.forEach(g=>{a.push(g)})}n.push(a)})),n},Ct=e=>{const t={};return e.forEach(r=>{const o=r.split("/");let i=t;o.forEach(a=>{i[a]||(i[a]={}),i=i[a]})}),Bt(t,[])},Rt=e=>Ct(e);w.ref(0);w.ref(1);const Pe=e=>{let t;e.replaceAll(" ",`\r
|
|
1
|
+
"use strict";const w=require("vue"),j=require("./index.vue_vue_type_style_index_1_lang-KvVUqiGG.cjs"),l=require("./index-1z9RrjZc.cjs"),Ve=typeof window<"u";var fe;Ve&&((fe=window==null?void 0:window.navigator)!=null&&fe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Je(e){return e==null}function Se(){}const Ie=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Ie)));function Xe(){const e=new Map;return{on(t,n){const r=e.get(t);r!=null&&r.add(n)||e.set(t,new Set([n]))},off(t,n){const r=e.get(t);r&&r.delete(n)},clear(t){const n=e.get(t);n&&n.clear()},clearAll(){e.clear()},emit(t,...n){const r=e.get(t);r&&r.forEach(o=>{o(...n)})}}}function Ze(e,t=16){if(typeof e!="function")return Se;const n=(...i)=>{e(...i)};if(t<=0)return Ae(n);let r=0,o;return function(...i){const a=Date.now(),s=a-r;clearTimeout(o),s>=t?(r=a,n(...i)):o=setTimeout(()=>{r=Date.now(),n(...i)},Math.max(0,t-s))}}function Ge(e,t=100){if(typeof e!="function")return Se;const n=(...o)=>{e(...o)};if(t<=0)return Ae(n);let r;return function(...o){clearTimeout(r),r=setTimeout(()=>{n(...o)},t)}}function Ae(e){if(typeof e!="function")return e;let t=!1,n,r;return function(...o){return n=o,t||(t=!0,r=Promise.resolve().then(()=>(t=!1,r=void 0,e(...n)))),r}}const P=new Set,_e=new WeakMap;function He(){P.forEach(e=>{e(..._e.get(e))}),P.clear()}function Ye(e,...t){if(typeof e!="function")return e;_e.set(e,t),!P.has(e)&&(P.add(e),P.size===1&&Promise.resolve().then(He))}const q=typeof window<"u";var ue;q&&(ue=window==null?void 0:window.navigator)!=null&&ue.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function de(e){return e!=null}function pe(){}const Ke=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Ke)));const Qe=q&&("ontouchstart"in window||tt()>0),et=Qe?"pointerdown":"click";function tt(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function rt(e,t,n=window.Event){const{type:r,bubbles:o=!1,cancelable:i=!1,...a}=t;if(!de(r)||r==="")return!1;let s;return de(n)?s=new n(r,{bubbles:o,cancelable:i}):(s=document.createEvent("HTMLEvents"),s.initEvent(r,o,i)),Object.assign(s,a),e.dispatchEvent(s)}const nt="clickoutside",ot=new Set;q&&document.addEventListener(et,e=>{const t=e.target,n=e.composedPath&&e.composedPath();ot.forEach(r=>{r!==t&&(n?!n.includes(r):!r.contains(t))&&(!r.__transferElement||r.__transferElement!==t&&!r.__transferElement.contains(t))&&rt(r,{type:nt})})},!0);const it=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let G;if(q){for(const e of it)if(e[1]in document){G=e;break}}w.computed(()=>!1);const at=new Set,lt=new WeakMap;if(q&&G){const e=G[2],t=G[4];document.addEventListener(t,()=>{if(at.forEach(n=>{n.value=!1}),document[e]){const n=lt.get(document[e]);n&&(n.value=!0)}},!1)}const je=new Map;je.set("x",0);je.set("y",0);var R=[],st=function(){return R.some(function(e){return e.activeTargets.length>0})},ct=function(){return R.some(function(e){return e.skippedTargets.length>0})},he="ResizeObserver loop completed with undelivered notifications.",ft=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:he}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=he),window.dispatchEvent(e)},L;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(L||(L={}));var M=function(e){return Object.freeze(e)},ut=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,M(this)}return e}(),Be=function(){function e(t,n,r,o){return this.x=t,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,M(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,r=t.y,o=t.top,i=t.right,a=t.bottom,s=t.left,g=t.width,f=t.height;return{x:n,y:r,top:o,right:i,bottom:a,left:s,width:g,height:f}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),oe=function(e){return e instanceof SVGElement&&"getBBox"in e},Ce=function(e){if(oe(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},ge=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},dt=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},U=typeof window<"u"?window:{},J=new WeakMap,be=/auto|scroll/,pt=/^tb|vertical/,ht=/msie|trident/i.test(U.navigator&&U.navigator.userAgent),_=function(e){return parseFloat(e||"0")},$=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new ut((n?t:e)||0,(n?e:t)||0)},me=M({devicePixelContentBoxSize:$(),borderBoxSize:$(),contentBoxSize:$(),contentRect:new Be(0,0,0,0)}),Re=function(e,t){if(t===void 0&&(t=!1),J.has(e)&&!t)return J.get(e);if(Ce(e))return J.set(e,me),me;var n=getComputedStyle(e),r=oe(e)&&e.ownerSVGElement&&e.getBBox(),o=!ht&&n.boxSizing==="border-box",i=pt.test(n.writingMode||""),a=!r&&be.test(n.overflowY||""),s=!r&&be.test(n.overflowX||""),g=r?0:_(n.paddingTop),f=r?0:_(n.paddingRight),B=r?0:_(n.paddingBottom),c=r?0:_(n.paddingLeft),k=r?0:_(n.borderTopWidth),u=r?0:_(n.borderRightWidth),d=r?0:_(n.borderBottomWidth),S=r?0:_(n.borderLeftWidth),b=c+f,O=g+B,E=S+u,D=k+d,T=s?e.offsetHeight-D-e.clientHeight:0,p=a?e.offsetWidth-E-e.clientWidth:0,m=o?b+E:0,v=o?O+D:0,A=r?r.width:_(n.width)-m-p,C=r?r.height:_(n.height)-v-T,W=A+b+p+E,V=C+O+T+D,F=M({devicePixelContentBoxSize:$(Math.round(A*devicePixelRatio),Math.round(C*devicePixelRatio),i),borderBoxSize:$(W,V,i),contentBoxSize:$(A,C,i),contentRect:new Be(c,g,A,C)});return J.set(e,F),F},Me=function(e,t,n){var r=Re(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case L.DEVICE_PIXEL_CONTENT_BOX:return a;case L.BORDER_BOX:return o;default:return i}},gt=function(){function e(t){var n=Re(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=M([n.borderBoxSize]),this.contentBoxSize=M([n.contentBoxSize]),this.devicePixelContentBoxSize=M([n.devicePixelContentBoxSize])}return e}(),qe=function(e){if(Ce(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},bt=function(){var e=1/0,t=[];R.forEach(function(i){if(i.activeTargets.length!==0){var a=[];i.activeTargets.forEach(function(s){var g=new gt(s.target),f=qe(s.target);a.push(g),s.lastReportedSize=Me(s.target,s.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,a,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var n=0,r=t;n<r.length;n++){var o=r[n];o()}return e},ve=function(e){R.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(qe(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},mt=function(){var e=0;for(ve(e);st();)e=bt(),ve(e);return ct()&&ft(),e>0},Q,$e=[],vt=function(){return $e.splice(0).forEach(function(e){return e()})},yt=function(e){if(!Q){var t=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return vt()}).observe(n,r),Q=function(){n.textContent="".concat(t?t--:t++)}}$e.push(e),Q()},wt=function(e){yt(function(){requestAnimationFrame(e)})},H=0,kt=function(){return!!H},zt=250,xt={attributes:!0,characterData:!0,childList:!0,subtree:!0},ye=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],we=function(e){return e===void 0&&(e=0),Date.now()+e},ee=!1,Et=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=zt),!ee){ee=!0;var r=we(t);wt(function(){var o=!1;try{o=mt()}finally{if(ee=!1,t=r-we(),!kt())return;o?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,xt)};document.body?n():U.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ye.forEach(function(n){return U.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ye.forEach(function(n){return U.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),ne=new Et,ke=function(e){!H&&e>0&&ne.start(),H+=e,!H&&ne.stop()},Dt=function(e){return!oe(e)&&!dt(e)&&getComputedStyle(e).display==="inline"},Ot=function(){function e(t,n){this.target=t,this.observedBox=n||L.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Me(this.target,this.observedBox,!0);return Dt(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Tt=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),I=new WeakMap,ze=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},X=function(){function e(){}return e.connect=function(t,n){var r=new Tt(t,n);I.set(t,r)},e.observe=function(t,n,r){var o=I.get(t),i=o.observationTargets.length===0;ze(o.observationTargets,n)<0&&(i&&R.push(o),o.observationTargets.push(new Ot(n,r&&r.box)),ke(1),ne.schedule())},e.unobserve=function(t,n){var r=I.get(t),o=ze(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&R.splice(R.indexOf(r),1),r.observationTargets.splice(o,1),ke(-1))},e.disconnect=function(t){var n=this,r=I.get(t);r.observationTargets.slice().forEach(function(o){return n.unobserve(t,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),St=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");X.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ge(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");X.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ge(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");X.unobserve(this,t)},e.prototype.disconnect=function(){X.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const K=new WeakMap;function At(e){var t;for(let n=0,r=e.length;n<r;++n){const o=e[n],i=K.get(o.target);if(typeof i=="function"){const{inlineSize:a,blockSize:s}=((t=o.borderBoxSize)==null?void 0:t[0])??{},{offsetWidth:g,offsetHeight:f}=o.target;i(Object.assign(o,{offsetWidth:g,offsetHeight:f,width:a??g,height:s??f}))}}}const Fe=new(q&&window.ResizeObserver||St)(At);function xe(e,t){K.set(e,t),Fe.observe(e)}function Ee(e){K.has(e)&&(Fe.unobserve(e),K.delete(e))}function _t(e={}){let t=pe;const n=w.watch(()=>w.unref(e.target),o=>{t(),!(!o||typeof e.onResize!="function")&&(xe(o,e.onResize),t=()=>{Ee(o),t=pe})},{immediate:!0}),r=()=>{n(),t()};return w.getCurrentScope()&&w.onScopeDispose(r),{observeResize:xe,unobserveResize:Ee,unobserve:r}}const jt=w.ref(!1);w.computed(()=>jt.value);const De="__theme_style__",te="__theme_observer__",Oe=w.reactive(new Map),Te=new Map;w.watch(Oe,()=>{if(!q)return;Te.clear();const e=document.head.querySelector(`#${De}`);e&&document.head.removeChild(e);const t=document.createElement("style");let n=`.${te} { width: 1px }`,r=1;for(const[o,[i,a]]of Oe.entries())n+=` html.${i} .${te}, .${a} .${te} { width: ${++r}px }`,Te.set(r,o);t.textContent=n,t.id=De,document.head.appendChild(t)});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();w.ref(0);const Ne=e=>{var t,n;if(Array.isArray(Object.keys(e))&&((t=Object.keys(e))==null?void 0:t.length)>0){let r=[];return(n=Object.entries(e))==null||n.forEach(([o,i])=>{var s,g;let a=[];if(a.push(o),((s=Object.keys(i))==null?void 0:s.length)>0){let f=[];(g=Ne(i))==null||g.forEach(B=>{f.push(B)}),f==null||f.forEach(B=>{a.push(B)})}r.push(a)}),r}},Bt=(e,t)=>{var r;let n=t;return Array.isArray(Object.keys(e))&&((r=Object.entries(e))==null||r.forEach(([o,i])=>{let a=[o];if(typeof i=="object"&&i!==null){let s=Ne(i);s==null||s.forEach(g=>{a.push(g)})}n.push(a)})),n},Ct=e=>{const t={};return e.forEach(r=>{const o=r.split("/");let i=t;o.forEach(a=>{i[a]||(i[a]={}),i=i[a]})}),Bt(t,[])},Rt=e=>Ct(e);w.ref(0);w.ref(1);const Pe=e=>{let t;e.replaceAll(" ",`\r
|
|
2
2
|
`).replaceAll(`
|
|
3
3
|
`,`\r
|
|
4
4
|
`).includes(`\r
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { watch as _e, unref as Ve, getCurrentScope as Ie, onScopeDispose as Xe, computed as je, ref as C, reactive as Ze } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { c as s } from "./index-
|
|
2
|
+
import { aw as P, ax as M } from "./index.vue_vue_type_style_index_1_lang-BYqy49bR.js";
|
|
3
|
+
import { c as s } from "./index-B42dCx1W.js";
|
|
4
4
|
const Ge = typeof window < "u";
|
|
5
5
|
var ue;
|
|
6
6
|
Ge && ((ue = window == null ? void 0 : window.navigator) != null && ue.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("vue"),p=require("./index-1z9RrjZc.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const g=require("vue"),p=require("./index-1z9RrjZc.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-KvVUqiGG.cjs"),D=p.useLoginState(p.pinia),{loginUserInfo:u,cryptoInfo:m}=p.storeToRefs(D),V=w.useMenuState(p.pinia),{activeMenuPath:y}=p.storeToRefs(V),E=g.ref(0),P=g.computed(()=>{var s,a,t,r,n,l,e,o,d,v,f;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((d=u.value)==null?void 0:d.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((v=u.value)==null?void 0:v.layer)==="superAdmin"?"启用":((f=u.value)==null?void 0:f.状态)??"未知"}]}),W=()=>{},U=g.ref(!1),h=g.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=g.ref([{label:"签字版",icon:p.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:p.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:p.upload_filled_default,type:"buttonUpload",disabled:!1}]),_=g.ref(!1),I=g.ref(!1),R=g.ref(!1),M=g.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value;return Array.isArray(a)?(R.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),O=g.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:M.value}]),$=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,d,v,f;const a=await p.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const b={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(f=(v=(d=a.data.result)==null?void 0:d[0])==null?void 0:v.key)==null?void 0:f.layer};D.setLoginUserInfo(b)}},q=async(s,a)=>{var r,n,l;const t=p.cloneDeep(s);t==null||delete t.id;try{const e=await p.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),p.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},y.value))}catch{p.ElMessage.error("修改响应失败")}finally{U.value=!1,_.value=!1,I.value=!1}},x=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};_.value=s==="avatarUrl",I.value=s==="signature",await q(r,"图片修改")},c=g.reactive({baseCols:[],otherCols:[]}),K=g.ref([]),k=g.ref(),B=(s,a,t)=>{var l,e,o,d,v,f;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?w.decryptData((d=u.value)==null?void 0:d.password,(v=m==null?void 0:m.value)==null?void 0:v.privateKey):w.resetPassword:r=(f=u.value)==null?void 0:f.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},H=(s,a,t)=>{a?t():t(new Error("请输入密码"))},j=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,d,v,f;const s=await p.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const b=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(d=P.value)==null?void 0:d.map(i=>i==null?void 0:i.prop);c.baseCols=b&&((v=b.contents)==null?void 0:v.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(f=b.contents)==null?void 0:f.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:B},{...A,label:"新密码",prop:"newtPass",validator:H},{...A,label:"确认密码",prop:"confirmNewPass",validator:j}];c.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:w.encryptData(s==null?void 0:s.confirmNewPass,(e=m.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},T=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=c.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=T())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=c.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=c.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(d,v,f)=>o.validator(d,v,f),trigger:"blur"}],e),{}),buttonValue:(l=T())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:_,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:$,clickTabButton:G,getUserTableHeadersAsync:J,itemData:O,loading:U,refreshLoginUserInfoAsync:N,rowContents:P,signPadInfo:h,signTypes:M,signatureLoading:I,submitImageAsync:x,tabKey:E,tabsContents:K,tempSignTypes:S,uploadDisabled:R},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=E;
|