diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..63fe7c98 Binary files /dev/null and b/.DS_Store differ diff --git a/assets/Result.8e6f40c9.js.gz b/assets/Result.8e6f40c9.js.gz deleted file mode 100644 index ccd7d9a0..00000000 Binary files a/assets/Result.8e6f40c9.js.gz and /dev/null differ diff --git a/assets/Result.8e6f40c9.js b/assets/Result.9786211f.js similarity index 99% rename from assets/Result.8e6f40c9.js rename to assets/Result.9786211f.js index 08338cf0..ddd7aac8 100644 --- a/assets/Result.8e6f40c9.js +++ b/assets/Result.9786211f.js @@ -1,4 +1,4 @@ -import{h as e,k as c,B as u,d as B,p as F,q as v,x as h,G as S,P as M,av as V,aw as b,ax as R,ay as I,az as L,I as d}from"./index.9839d7cd.js";const $=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},e("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),e("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),e("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),e("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),e("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),e("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),E=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},e("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),e("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),e("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),D=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},e("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),e("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),e("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),e("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),e("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),e("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),P=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},e("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),e("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),T=c("result",` +import{h as e,k as c,B as u,d as B,p as F,q as v,x as h,G as S,P as M,av as V,aw as b,ax as R,ay as I,az as L,I as d}from"./index.dfa30cb8.js";const $=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},e("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),e("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),e("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),e("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),e("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),e("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),E=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},e("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),e("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),e("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),D=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},e("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),e("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),e("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),e("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),e("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),e("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),P=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},e("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),e("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),T=c("result",` color: var(--n-text-color); line-height: var(--n-line-height); font-size: var(--n-font-size); diff --git a/assets/Result.9786211f.js.gz b/assets/Result.9786211f.js.gz new file mode 100644 index 00000000..522d8af9 Binary files /dev/null and b/assets/Result.9786211f.js.gz differ diff --git a/assets/index.0bf8eaf0.js.gz b/assets/index.0bf8eaf0.js.gz deleted file mode 100644 index c1097473..00000000 Binary files a/assets/index.0bf8eaf0.js.gz and /dev/null differ diff --git a/assets/index.ac5ed712.js b/assets/index.1081a12d.js similarity index 83% rename from assets/index.ac5ed712.js rename to assets/index.1081a12d.js index eaa2350f..ee3fe1e8 100644 --- a/assets/index.ac5ed712.js +++ b/assets/index.1081a12d.js @@ -1 +1 @@ -import{d as e,a7 as u,am as a,ai as l}from"./index.9839d7cd.js";const o=e({name:"ScrollReveal",render(){return u("div",{class:"scroll-reveal"},[u(a,{title:"\u63D0\u793A"},{default:()=>[l("RayScrollReveal\u7EC4\u4EF6\u6709\u70B9\u95EE\u9898, \u6682\u65F6\u79FB\u9664. \u4E0D\u80FD\u6B63\u5E38\u7684\u5B9E\u73B0\u6EDA\u52A8\u52A8\u753B. \u5F88\u662F\u64CD\u86CB!!!")]})])}});export{o as default}; +import{d as e,a7 as u,am as a,ai as l}from"./index.dfa30cb8.js";const o=e({name:"ScrollReveal",render(){return u("div",{class:"scroll-reveal"},[u(a,{title:"\u63D0\u793A"},{default:()=>[l("RayScrollReveal\u7EC4\u4EF6\u6709\u70B9\u95EE\u9898, \u6682\u65F6\u79FB\u9664. \u4E0D\u80FD\u6B63\u5E38\u7684\u5B9E\u73B0\u6EDA\u52A8\u52A8\u753B. \u5F88\u662F\u64CD\u86CB!!!")]})])}});export{o as default}; diff --git a/assets/index.12e9eacf.js.gz b/assets/index.12e9eacf.js.gz deleted file mode 100644 index 10768b24..00000000 Binary files a/assets/index.12e9eacf.js.gz and /dev/null differ diff --git a/assets/index.ef5082a3.js b/assets/index.1e5b801c.js similarity index 99% rename from assets/index.ef5082a3.js rename to assets/index.1e5b801c.js index 53ed4d0d..19167ffe 100644 --- a/assets/index.ef5082a3.js +++ b/assets/index.1e5b801c.js @@ -1,4 +1,4 @@ -import{n as K,k as M,ao as G,m as E,ap as q,B as T,d as W,p as Q,r as k,i as I,x as j,q as $,aq as D,w as U,G as X,F as Y,Z,o as J,ar as ee,H as te,h as O,_ as oe,as as re,I as ne,at as ae,a7 as F,au as se,ah as ie,ab as le}from"./index.9839d7cd.js";const de=!1,ce=(e={})=>{var n;const{root:i=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(n=e.threshold)!==null&&n!==void 0?n:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof i=="string"?document.querySelector(i):i)||document.documentElement})}},C=new WeakMap,P=new WeakMap,_=new WeakMap,ue=(e,n,i)=>{if(!e)return()=>{};const s=ce(n),{root:c}=s.options;let l;const u=C.get(c);u?l=u:(l=new Map,C.set(c,l));let h,a;l.has(s.hash)?(a=l.get(s.hash),a[1].has(e)||(h=a[0],a[1].add(e),h.observe(e))):(h=new IntersectionObserver(b=>{b.forEach(f=>{if(f.isIntersecting){const p=P.get(f.target),g=_.get(f.target);p&&p(),g&&(g.value=!0)}})},s.options),h.observe(e),a=[h,new Set([e])],l.set(s.hash,a));let m=!1;const y=()=>{m||(P.delete(e),_.delete(e),m=!0,a[1].has(e)&&(a[0].unobserve(e),a[1].delete(e)),a[1].size<=0&&l.delete(s.hash),l.size||C.delete(c))};return P.set(e,y),_.set(e,i),y},fe=K("n-avatar-group"),ve=M("avatar",` +import{n as K,k as M,ao as G,m as E,ap as q,B as T,d as W,p as Q,r as k,i as I,x as j,q as $,aq as D,w as U,G as X,F as Y,Z,o as J,ar as ee,H as te,h as O,_ as oe,as as re,I as ne,at as ae,a7 as F,au as se,ah as ie,ab as le}from"./index.dfa30cb8.js";const de=!1,ce=(e={})=>{var n;const{root:i=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(n=e.threshold)!==null&&n!==void 0?n:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof i=="string"?document.querySelector(i):i)||document.documentElement})}},C=new WeakMap,P=new WeakMap,_=new WeakMap,ue=(e,n,i)=>{if(!e)return()=>{};const s=ce(n),{root:c}=s.options;let l;const u=C.get(c);u?l=u:(l=new Map,C.set(c,l));let h,a;l.has(s.hash)?(a=l.get(s.hash),a[1].has(e)||(h=a[0],a[1].add(e),h.observe(e))):(h=new IntersectionObserver(b=>{b.forEach(f=>{if(f.isIntersecting){const p=P.get(f.target),g=_.get(f.target);p&&p(),g&&(g.value=!0)}})},s.options),h.observe(e),a=[h,new Set([e])],l.set(s.hash,a));let m=!1;const y=()=>{m||(P.delete(e),_.delete(e),m=!0,a[1].has(e)&&(a[0].unobserve(e),a[1].delete(e)),a[1].size<=0&&l.delete(s.hash),l.size||C.delete(c))};return P.set(e,y),_.set(e,i),y},fe=K("n-avatar-group"),ve=M("avatar",` width: var(--n-merged-size); height: var(--n-merged-size); color: #FFF; diff --git a/assets/index.1e5b801c.js.gz b/assets/index.1e5b801c.js.gz new file mode 100644 index 00000000..54ec49e9 Binary files /dev/null and b/assets/index.1e5b801c.js.gz differ diff --git a/assets/index.12e9eacf.js b/assets/index.26ae7813.js similarity index 99% rename from assets/index.12e9eacf.js rename to assets/index.26ae7813.js index 14cd885f..0270ec00 100644 --- a/assets/index.12e9eacf.js +++ b/assets/index.26ae7813.js @@ -1,4 +1,4 @@ -import{i as ce,g as Zt,w as we,o as Qt,a as en,d as Q,r as q,u as tn,c as nn,h as x,b as Qe,e as rn,f as Ae,j as an,k as P,l as _,m as j,n as Ke,p as Oe,q as le,s as Ee,t as St,v as et,x as z,y as ze,z as Pt,A as on,B as J,C as Z,D as tt,E as sn,F as ln,G as Je,T as dn,H as Ve,I as B,J as nt,K as fn,L as ye,M as cn,N as un,O as bn,P as gn,Q as mn,R as hn,S as pn,U as vn,V as rt,W as je,X as yn,Y as xn,Z as wn,_ as at,$ as Fe,a0 as We,a1 as Rn,a2 as Sn,a3 as Pn,a4 as kn,a5 as $n,a6 as kt,a7 as I,a8 as Cn,a9 as it,aa as Fn,ab as _n,ac as zn,ad as Tn,ae as An,af as En,ag as On,ah as Ln,ai as ot,aj as qn,ak as jn,al as Wn,am as In,an as Mn}from"./index.9839d7cd.js";import{N as Bn}from"./Result.8e6f40c9.js";import{R as Nn}from"./index.ef5082a3.js";function Vn(t,e,n){var r;const a=ce(t,null);if(a===null)return;const i=(r=Zt())===null||r===void 0?void 0:r.proxy;we(n,o),o(n.value),Qt(()=>{o(void 0,n.value)});function o(d,f){const c=a[e];f!==void 0&&s(c,f),d!==void 0&&l(c,d)}function s(d,f){d[f]||(d[f]=[]),d[f].splice(d[f].findIndex(c=>c===i),1)}function l(d,f){d[f]||(d[f]=[]),~d[f].findIndex(c=>c===i)||d[f].push(i)}}let st=!1;function Dn(){if(!!en&&!!window.CSS&&!st&&(st=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}const Hn=Qe(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[Qe("&::-webkit-scrollbar",{width:0,height:0})]),Un=Q({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const t=q(null);function e(a){!(a.currentTarget.offsetWidth=e||A<0||c&&L>=i}function g(){var R=Ie();if(v(R))return T(R);s=setTimeout(g,m(R))}function T(R){return s=void 0,h&&r?u(R):(r=a=void 0,o)}function y(){s!==void 0&&clearTimeout(s),d=0,r=l=a=s=void 0}function C(){return s===void 0?o:T(Ie())}function O(){var R=Ie(),A=v(R);if(r=arguments,a=this,l=R,A){if(s===void 0)return w(l);if(c)return clearTimeout(s),s=setTimeout(g,e),u(l)}return s===void 0&&(s=setTimeout(g,e)),o}return O.cancel=y,O.flush=C,O}var or="Expected a function";function Me(t,e,n){var r=!0,a=!0;if(typeof t!="function")throw new TypeError(or);return Ae(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),ir(t,e,{leading:r,maxWait:e,trailing:a})}const sr=Q({name:"Add",render(){return x("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),lr=P("form",[_("inline",` +import{i as ce,g as Zt,w as we,o as Qt,a as en,d as Q,r as q,u as tn,c as nn,h as x,b as Qe,e as rn,f as Ae,j as an,k as P,l as _,m as j,n as Ke,p as Oe,q as le,s as Ee,t as St,v as et,x as z,y as ze,z as Pt,A as on,B as J,C as Z,D as tt,E as sn,F as ln,G as Je,T as dn,H as Ve,I as B,J as nt,K as fn,L as ye,M as cn,N as un,O as bn,P as gn,Q as mn,R as hn,S as pn,U as vn,V as rt,W as je,X as yn,Y as xn,Z as wn,_ as at,$ as Fe,a0 as We,a1 as Rn,a2 as Sn,a3 as Pn,a4 as kn,a5 as $n,a6 as kt,a7 as I,a8 as Cn,a9 as it,aa as Fn,ab as _n,ac as zn,ad as Tn,ae as An,af as En,ag as On,ah as Ln,ai as ot,aj as qn,ak as jn,al as Wn,am as In,an as Mn}from"./index.dfa30cb8.js";import{N as Bn}from"./Result.9786211f.js";import{R as Nn}from"./index.1e5b801c.js";function Vn(t,e,n){var r;const a=ce(t,null);if(a===null)return;const i=(r=Zt())===null||r===void 0?void 0:r.proxy;we(n,o),o(n.value),Qt(()=>{o(void 0,n.value)});function o(d,f){const c=a[e];f!==void 0&&s(c,f),d!==void 0&&l(c,d)}function s(d,f){d[f]||(d[f]=[]),d[f].splice(d[f].findIndex(c=>c===i),1)}function l(d,f){d[f]||(d[f]=[]),~d[f].findIndex(c=>c===i)||d[f].push(i)}}let st=!1;function Dn(){if(!!en&&!!window.CSS&&!st&&(st=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}const Hn=Qe(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[Qe("&::-webkit-scrollbar",{width:0,height:0})]),Un=Q({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const t=q(null);function e(a){!(a.currentTarget.offsetWidth=e||A<0||c&&L>=i}function g(){var R=Ie();if(v(R))return T(R);s=setTimeout(g,m(R))}function T(R){return s=void 0,h&&r?u(R):(r=a=void 0,o)}function y(){s!==void 0&&clearTimeout(s),d=0,r=l=a=s=void 0}function C(){return s===void 0?o:T(Ie())}function O(){var R=Ie(),A=v(R);if(r=arguments,a=this,l=R,A){if(s===void 0)return w(l);if(c)return clearTimeout(s),s=setTimeout(g,e),u(l)}return s===void 0&&(s=setTimeout(g,e)),o}return O.cancel=y,O.flush=C,O}var or="Expected a function";function Me(t,e,n){var r=!0,a=!0;if(typeof t!="function")throw new TypeError(or);return Ae(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),ir(t,e,{leading:r,maxWait:e,trailing:a})}const sr=Q({name:"Add",render(){return x("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),lr=P("form",[_("inline",` width: 100%; display: inline-flex; align-items: flex-start; diff --git a/assets/index.26ae7813.js.gz b/assets/index.26ae7813.js.gz new file mode 100644 index 00000000..65e7b888 Binary files /dev/null and b/assets/index.26ae7813.js.gz differ diff --git a/assets/index.0bf8eaf0.js b/assets/index.4278c5fb.js similarity index 99% rename from assets/index.0bf8eaf0.js rename to assets/index.4278c5fb.js index 8e5beadf..79560a37 100644 --- a/assets/index.0bf8eaf0.js +++ b/assets/index.4278c5fb.js @@ -1,4 +1,4 @@ -import{aG as Js,aH as im,aI as Gh,aJ as am,aK as Gx,aL as Hx,aM as Wx,aN as $x,aO as om,aP as hc,aQ as Ux,aR as sm,aS as Hh,aT as _s,aU as um,f as Yx,aV as Xx,aW as Zx,aX as qx,aY as Kx,aZ as jx,a_ as Qx,a$ as Jx,b0 as tb,d as lm,af as eb,b1 as rb,r as va,x as nb,w as vc,aF as ib,F as ab,a0 as ob,o as sb,a7 as Pt,am as zn,ai as ub,b2 as cc}from"./index.9839d7cd.js";function lb(r,t){for(var e=-1,n=r==null?0:r.length;++e0?2:0),Ph(p,function(m,_){p[_]==="inherit"&&(p[_]=y[_])})}var u=t.getModel("itemStyle"),l=u.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=u.getShallow("decal");l.decal=!h||h==="inherit"?n.decal:lh(h,o),l.fill==="inherit"&&(l.fill=n[i]),l.stroke==="inherit"&&(l.stroke=n[f]),l.opacity==="inherit"&&(l.opacity=(i==="fill"?n:e).opacity),s(l,n);var c=t.getModel("lineStyle"),v=c.getLineStyle();if(s(v,e),l.fill==="auto"&&(l.fill=n.fill),l.stroke==="auto"&&(l.stroke=n.fill),v.stroke==="auto"&&(v.stroke=n.fill),!a){var d=t.get("inactiveBorderWidth"),g=l[f];l.lineWidth=d==="auto"?n.lineWidth>0&&g?2:0:l.lineWidth,l.fill=t.get("inactiveColor"),l.stroke=t.get("inactiveBorderColor"),v.stroke=c.get("inactiveColor"),v.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:v}}function Sk(r){var t=r.icon||"roundRect",e=Rn(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function ny(r,t,e,n){Eh(r,t,e,n),e.dispatchAction({type:"legendToggleSelect",name:r!=null?r:t}),Rh(r,t,e,n)}function ex(r){for(var t=r.getZr().storage.getDisplayList(),e,n=0,i=t.length;ni[o],p=[-v.x,-v.y];n||(p[a]=f[l]);var y=[0,0],m=[-d.x,-d.y],_=j(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(g){var S=e.get("pageButtonPosition",!0);S==="end"?m[a]+=i[o]-d[o]:y[a]+=d[o]+_}m[1-a]+=v[s]/2-d[s]/2,f.setPosition(p),h.setPosition(y),c.setPosition(m);var b={x:0,y:0};if(b[o]=g?i[o]:v[o],b[s]=Math.max(v[s],d[s]),b[u]=Math.min(0,d[u]+m[1-a]),h.__rectSize=i[o],g){var x={x:0,y:0};x[o]=Math.max(i[o]-d[o]-_,0),x[s]=b[s],h.setClipPath(new At({shape:x})),h.__rectSize=x[o]}else c.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var w=this._getPageInfo(e);return w.pageIndex!=null&&Bt(f,{x:w.contentPosition[0],y:w.contentPosition[1]},g?e:null),this._updatePageInfoView(e,w),b},t.prototype._pageGo=function(e,n,i){var a=this._getPageInfo(n)[e];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(e,n){var i=this._controllerGroup;A(["pagePrev","pageNext"],function(f){var h=f+"DataIndex",c=n[h]!=null,v=i.childOfName(f);v&&(v.setStyle("fill",c?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),v.cursor=c?"pointer":"default")});var a=i.childOfName("pageText"),o=e.get("pageFormatter"),s=n.pageIndex,u=s!=null?s+1:0,l=n.pageCount;a&&o&&a.setStyle("text",H(o)?o.replace("{current}",u==null?"":u+"").replace("{total}",l==null?"":l+""):o({current:u,total:l}))},t.prototype._getPageInfo=function(e){var n=e.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=e.getOrient().index,s=ef[o],u=rf[o],l=this._findTargetItemIndex(n),f=i.children(),h=f[l],c=f.length,v=c?1:0,d={contentPosition:[i.x,i.y],pageCount:v,pageIndex:v-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return d;var g=S(h);d.contentPosition[o]=-g.s;for(var p=l+1,y=g,m=g,_=null;p<=c;++p)_=S(f[p]),(!_&&m.e>y.s+a||_&&!b(_,y.s))&&(m.i>y.i?y=m:y=_,y&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=y.i),++d.pageCount)),m=_;for(var p=l-1,y=g,m=g,_=null;p>=-1;--p)_=S(f[p]),(!_||!b(m,_.s))&&y.i=w&&x.s<=w+a}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var u=o.__legendDataIndex;a==null&&u!=null&&(a=s),u===e&&(n=s)}),n!=null?n:a},t.type="legend.scroll",t}(rx);const Mk=Ck;function Ak(r){r.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;n!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function Dk(r){le(nx),r.registerComponentModel(Tk),r.registerComponentView(Mk),Ak(r)}function Ik(r){le(nx),le(Dk)}var Lk={label:{enabled:!0},decal:{show:!1}},oy=bt(),Pk={};function Rk(r,t){var e=r.getModel("aria");if(!e.get("enabled"))return;var n=Q(Lk);tt(n.label,r.getLocaleModel().get("aria"),!1),tt(e.option,n,!1),i(),a();function i(){var l=e.getModel("decal"),f=l.get("show");if(f){var h=K();r.eachSeries(function(c){if(!c.isColorBySeries()){var v=h.get(c.type);v||(v={},h.set(c.type,v)),oy(c).scope=v}}),r.eachRawSeries(function(c){if(r.isSeriesFiltered(c))return;if(q(c.enableAriaDecal)){c.enableAriaDecal();return}var v=c.getData();if(c.isColorBySeries()){var m=Ud(c.ecModel,c.name,Pk,r.getSeriesCount()),_=v.getVisual("decal");v.setVisual("decal",S(_,m))}else{var d=c.getRawData(),g={},p=oy(c).scope;v.each(function(b){var x=v.getRawIndex(b);g[x]=b});var y=d.count();d.each(function(b){var x=g[b],w=d.getName(b)||b+"",T=Ud(c.ecModel,w,p,y),C=v.getItemVisual(x,"decal");v.setItemVisual(x,"decal",S(C,T))})}function S(b,x){var w=b?B(B({},x),b):x;return w.dirty=!0,w}})}}function a(){var l=r.getLocaleModel().get("aria"),f=e.getModel("label");if(f.option=J(f.option,l),!!f.get("enabled")){var h=t.getZr().dom;if(f.get("description")){h.setAttribute("aria-label",f.get("description"));return}var c=r.getSeriesCount(),v=f.get(["data","maxCount"])||10,d=f.get(["series","maxCount"])||10,g=Math.min(c,d),p;if(!(c<1)){var y=s();if(y){var m=f.get(["general","withTitle"]);p=o(m,{title:y})}else p=f.get(["general","withoutTitle"]);var _=[],S=c>1?f.get(["series","multiple","prefix"]):f.get(["series","single","prefix"]);p+=o(S,{seriesCount:c}),r.eachSeries(function(T,C){if(C1?f.get(["series","multiple",I]):f.get(["series","single",I]),M=o(M,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:u(T.subType)});var L=T.getData();if(L.count()>v){var P=f.get(["data","partialData"]);M+=o(P,{displayCnt:v})}else M+=f.get(["data","allData"]);for(var R=f.get(["data","separator","middle"]),E=f.get(["data","separator","end"]),V=[],O=0;O":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},kk=function(){function r(t){var e=this._condVal=H(t)?new RegExp(t):Hw(t)?t:null;if(e==null){var n="";st(n)}}return r.prototype.evaluate=function(t){var e=typeof t;return H(e)?this._condVal.test(t):ht(e)?this._condVal.test(t+""):!1},r}(),Bk=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),Nk=function(){function r(){}return r.prototype.evaluate=function(){for(var t=this.children,e=0;e-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.style.lineWidth=2),n},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(rr);const Qk=jk;function ax(r,t,e){var n=r.getBaseAxis(),i=r.getOtherAxis(n),a=Jk(i,e),o=n.dim,s=i.dim,u=t.mapDimension(s),l=t.mapDimension(o),f=s==="x"||s==="radius"?1:0,h=N(r.dimensions,function(d){return t.mapDimension(d)}),c=!1,v=t.getCalculationInfo("stackResultDimension");return Mi(t,h[0])&&(c=!0,h[0]=v),Mi(t,h[1])&&(c=!0,h[1]=v),{dataDimsForPoint:h,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!c,valueDim:u,baseDim:l,baseDataOffset:f,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function Jk(r,t){var e=0,n=r.scale.getExtent();return t==="start"?e=n[0]:t==="end"?e=n[1]:ht(t)&&!isNaN(t)?e=t:n[0]>0?e=n[0]:n[1]<0&&(e=n[1]),e}function ox(r,t,e,n){var i=NaN;r.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=r.valueStart);var a=r.baseDataOffset,o=[];return o[a]=e.get(r.baseDim,n),o[1-a]=i,t.dataToPoint(o)}function tB(r,t){var e=[];return t.diff(r).add(function(n){e.push({cmd:"+",idx:n})}).update(function(n,i){e.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){e.push({cmd:"-",idx:n})}).execute(),e}function eB(r,t,e,n,i,a,o,s){for(var u=tB(r,t),l=[],f=[],h=[],c=[],v=[],d=[],g=[],p=ax(i,t,o),y=r.getLayout("points")||[],m=t.getLayout("points")||[],_=0;_=i||g<0)break;if(Dn(y,m)){if(u){g+=a;continue}break}if(g===e)r[a>0?"moveTo":"lineTo"](y,m),h=y,c=m;else{var _=y-l,S=m-f;if(_*_+S*S<.5){g+=a;continue}if(o>0){for(var b=g+a,x=t[b*2],w=t[b*2+1];x===y&&w===m&&p=n||Dn(x,w))v=y,d=m;else{M=x-l,D=w-f;var P=y-l,R=x-y,E=m-f,V=w-m,O=void 0,k=void 0;if(s==="x"){O=Math.abs(P),k=Math.abs(R);var z=M>0?1:-1;v=y-z*O*o,d=m,I=y+z*k*o,L=m}else if(s==="y"){O=Math.abs(E),k=Math.abs(V);var W=D>0?1:-1;v=y,d=m-W*O*o,I=y,L=m+W*k*o}else O=Math.sqrt(P*P+E*E),k=Math.sqrt(R*R+V*V),C=k/(k+O),v=y-M*o*(1-C),d=m-D*o*(1-C),I=y+M*o*C,L=m+D*o*C,I=Tr(I,Cr(x,y)),L=Tr(L,Cr(w,m)),I=Cr(I,Tr(x,y)),L=Cr(L,Tr(w,m)),M=I-y,D=L-m,v=y-M*O/k,d=m-D*O/k,v=Tr(v,Cr(l,y)),d=Tr(d,Cr(f,m)),v=Cr(v,Tr(l,y)),d=Cr(d,Tr(f,m)),M=y-v,D=m-d,I=y+M*k/O,L=m+D*k/O}r.bezierCurveTo(h,c,v,d,y,m),h=I,c=L}else r.lineTo(y,m)}l=y,f=m,g+=a}return p}var sx=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),rB=function(r){G(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new sx},t.prototype.buildPath=function(e,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&Dn(i[o*2-2],i[o*2-1]);o--);for(;a=0){var S=l?(d-u)*_+u:(v-s)*_+s;return l?[e,S]:[S,e]}s=v,u=d;break;case o.C:v=a[h++],d=a[h++],g=a[h++],p=a[h++],y=a[h++],m=a[h++];var b=l?ws(s,v,g,y,e,f):ws(u,d,p,m,e,f);if(b>0)for(var x=0;x=0){var S=l?Ot(u,d,p,m,w):Ot(s,v,g,y,w);return l?[e,S]:[S,e]}}s=y,u=m;break}}},t}(et),nB=function(r){G(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(sx),iB=function(r){G(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new nB},t.prototype.buildPath=function(e,n){var i=n.points,a=n.stackedOnPoints,o=0,s=i.length/2,u=n.smoothMonotone;if(n.connectNulls){for(;s>0&&Dn(i[s*2-2],i[s*2-1]);s--);for(;ot){a?e.push(o(a,u,t)):i&&e.push(o(i,u,0),o(i,u,t));break}else i&&(e.push(o(i,u,0)),i=null),e.push(u),a=u}return e}function sB(r,t,e){var n=r.getVisual("visualMeta");if(!(!n||!n.length||!r.count())&&t.type==="cartesian2d"){for(var i,a,o=n.length-1;o>=0;o--){var s=r.getDimensionInfo(n[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=n[o];break}}if(!!a){var u=t.getAxis(i),l=N(a.stops,function(_){return{coord:u.toGlobalCoord(u.dataToCoord(_.value)),color:_.color}}),f=l.length,h=a.outerColors.slice();f&&l[0].coord>l[f-1].coord&&(l.reverse(),h.reverse());var c=oB(l,i==="x"?e.getWidth():e.getHeight()),v=c.length;if(!v&&f)return l[0].coord<0?h[1]?h[1]:l[f-1].color:h[0]?h[0]:l[0].color;var d=10,g=c[0].coord-d,p=c[v-1].coord+d,y=p-g;if(y<.001)return"transparent";A(c,function(_){_.offset=(_.coord-g)/y}),c.push({offset:v?c[v-1].offset:.5,color:h[1]||"transparent"}),c.unshift({offset:v?c[0].offset:.5,color:h[0]||"transparent"});var m=new Q0(0,0,0,0,c,!0);return m[i]=g,m[i+"2"]=p,m}}}function uB(r,t,e){var n=r.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=e.getAxesByScale("ordinal")[0];if(!!a&&!(i&&lB(a,t))){var o=t.mapDimension(a.dim),s={};return A(a.getViewLabels(),function(u){var l=a.scale.getRawOrdinalNumber(u.tickValue);s[l]=1}),function(u){return!s.hasOwnProperty(t.get(o,u))}}}}function lB(r,t){var e=r.getExtent(),n=Math.abs(e[1]-e[0])/r.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;on)return!1;return!0}function fB(r,t){return isNaN(r)||isNaN(t)}function hB(r){for(var t=r.length/2;t>0&&fB(r[t*2-2],r[t*2-1]);t--);return t-1}function cy(r,t){return[r[t*2],r[t*2+1]]}function vB(r,t,e){for(var n=r.length/2,i=e==="x"?0:1,a,o,s=0,u=-1,l=0;l=t||a>=t&&o<=t){u=l;break}s=l,a=o}return{range:[s,u],t:(t-a)/(o-a)}}function hx(r){if(r.get(["endLabel","show"]))return!0;for(var t=0;t0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var z=g.getState("emphasis").style;z.lineWidth=+g.style.lineWidth+1}ft(g).seriesIndex=e.seriesIndex,Oa(g,V,O,k);var W=vy(e.get("smooth")),$=e.get("smoothMonotone");if(g.setShape({smooth:W,smoothMonotone:$,connectNulls:T}),p){var Z=u.getCalculationInfo("stackedOnSeries"),it=0;p.useStyle(J(f.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:u.getVisual("style").decal})),Z&&(it=vy(Z.get("smooth"))),p.setShape({smooth:W,stackedOnSmooth:it,smoothMonotone:$,connectNulls:T}),ka(p,e,"areaStyle"),ft(p).seriesIndex=e.seriesIndex,Oa(p,V,O,k)}var wt=function(vt){a._changePolyState(vt)};u.eachItemGraphicEl(function(vt){vt&&(vt.onHoverStateChange=wt)}),this._polyline.onHoverStateChange=wt,this._data=u,this._coordSys=o,this._stackedOnPoints=x,this._points=h,this._step=D,this._valueOrigin=S,e.get("triggerLineEvent")&&(this.packEventData(e,g),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,n){ft(n).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,n,i,a){var o=e.getData(),s=In(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var u=o.getLayout("points"),l=o.getItemGraphicEl(s);if(!l){var f=u[s*2],h=u[s*2+1];if(isNaN(f)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(f,h))return;var c=e.get("zlevel")||0,v=e.get("z")||0;l=new ec(o,s),l.x=f,l.y=h,l.setZ(c,v);var d=l.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=v,d.z2=this._polyline.z2+1),l.__temp=!0,o.setItemGraphicEl(s,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else xe.prototype.highlight.call(this,e,n,i,a)},t.prototype.downplay=function(e,n,i,a){var o=e.getData(),s=In(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var u=o.getItemGraphicEl(s);u&&(u.__temp?(o.setItemGraphicEl(s,null),this.group.remove(u)):u.downplay())}else xe.prototype.downplay.call(this,e,n,i,a)},t.prototype._changePolyState=function(e){var n=this._polygon;_d(this._polyline,e),n&&_d(n,e)},t.prototype._newPolyline=function(e){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new rB({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(e,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new iB({shape:{points:e,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(e,n,i){var a,o,s=n.getBaseAxis(),u=s.inverse;n.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):n.type==="polar"&&(a=s.dim==="angle",o=!0);var l=e.hostModel,f=l.get("animationDuration");q(f)&&(f=f(null));var h=l.get("animationDelay")||0,c=q(h)?h(null):h;e.eachItemGraphicEl(function(v,d){var g=v;if(g){var p=[v.x,v.y],y=void 0,m=void 0,_=void 0;if(i)if(o){var S=i,b=n.pointToCoord(p);a?(y=S.startAngle,m=S.endAngle,_=-b[1]/180*Math.PI):(y=S.r0,m=S.r,_=b[0])}else{var x=i;a?(y=x.x,m=x.x+x.width,_=v.x):(y=x.y+x.height,m=x.y,_=v.y)}var w=m===y?0:(_-y)/(m-y);u&&(w=1-w);var T=q(h)?h(d):f*w+c,C=g.getSymbolPath(),M=C.getTextContent();g.attr({scaleX:0,scaleY:0}),g.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),M&&M.animateFrom({style:{opacity:0}},{duration:300,delay:T}),C.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,n,i){var a=e.getModel("endLabel");if(hx(e)){var o=e.getData(),s=this._polyline,u=o.getLayout("points");if(!u){s.removeTextContent(),this._endLabel=null;return}var l=this._endLabel;l||(l=this._endLabel=new Ft({z2:200}),l.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=hB(u);f>=0&&(ro(s,no(e,"endLabel"),{inheritColor:i,labelFetcher:e,labelDataIndex:f,defaultText:function(h,c,v){return v!=null?JS(o,v):tc(o,h)},enableTextSetter:!0},cB(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,n,i,a,o,s,u){var l=this._endLabel,f=this._polyline;if(l){e<1&&a.originalX==null&&(a.originalX=l.x,a.originalY=l.y);var h=i.getLayout("points"),c=i.hostModel,v=c.get("connectNulls"),d=s.get("precision"),g=s.get("distance")||0,p=u.getBaseAxis(),y=p.isHorizontal(),m=p.inverse,_=n.shape,S=m?y?_.x:_.y+_.height:y?_.x+_.width:_.y,b=(y?g:0)*(m?-1:1),x=(y?0:-g)*(m?-1:1),w=y?"x":"y",T=vB(h,S,w),C=T.range,M=C[1]-C[0],D=void 0;if(M>=1){if(M>1&&!v){var I=cy(h,C[0]);l.attr({x:I[0]+b,y:I[1]+x}),o&&(D=c.getRawValue(C[0]))}else{var I=f.getPointOn(S,w);I&&l.attr({x:I[0]+b,y:I[1]+x});var L=c.getRawValue(C[0]),P=c.getRawValue(C[1]);o&&(D=o0(i,d,L,P,T.t))}a.lastFrameIndex=C[0]}else{var R=e===1||a.lastFrameIndex>0?C[0]:0,I=cy(h,R);o&&(D=c.getRawValue(R)),l.attr({x:I[0]+b,y:I[1]+x})}o&&Ri(l).setLabelText(D)}},t.prototype._doUpdateAnimation=function(e,n,i,a,o,s,u){var l=this._polyline,f=this._polygon,h=e.hostModel,c=eB(this._data,e,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),v=c.current,d=c.stackedOnCurrent,g=c.next,p=c.stackedOnNext;if(o&&(v=Mr(c.current,i,o,u),d=Mr(c.stackedOnCurrent,i,o,u),g=Mr(c.next,i,o,u),p=Mr(c.stackedOnNext,i,o,u)),hy(v,g)>3e3||f&&hy(d,p)>3e3){l.stopAnimation(),l.setShape({points:g}),f&&(f.stopAnimation(),f.setShape({points:g,stackedOnPoints:p}));return}l.shape.__points=c.current,l.shape.points=v;var y={shape:{points:g}};c.current!==v&&(y.shape.__points=c.next),l.stopAnimation(),Bt(l,y,h),f&&(f.setShape({points:v,stackedOnPoints:d}),f.stopAnimation(),Bt(f,{shape:{stackedOnPoints:p}},h),l.shape.points!==f.shape.points&&(f.shape.points=l.shape.points));for(var m=[],_=c.status,S=0;S<_.length;S++){var b=_[S].cmd;if(b==="="){var x=e.getItemGraphicEl(_[S].idx1);x&&m.push({el:x,ptIdx:S})}}l.animators&&l.animators.length&&l.animators[0].during(function(){f&&f.dirtyShape();for(var w=l.shape.__points,T=0;Tt&&(t=r[e]);return isFinite(t)?t:NaN},min:function(r){for(var t=1/0,e=0;e10&&o.type==="cartesian2d"&&a){var u=o.getBaseAxis(),l=o.getOtherAxis(u),f=u.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(f[1]-f[0])*(h||1),v=Math.round(s/c);if(isFinite(v)&&v>1){a==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/v));var d=void 0;H(a)?d=gB[a]:q(a)&&(d=a),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/v,d,yB))}}}}}function mB(r){r.registerChartView(pB),r.registerSeriesModel(Qk),r.registerLayout(ic("line",!0)),r.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,vx("line"))}var cx=function(r){G(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return Pu(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e){var n=this.coordinateSystem;if(n&&n.clampData){var i=n.dataToPoint(n.clampData(e)),a=this.getData(),o=a.getLayout("offset"),s=a.getLayout("size"),u=n.getBaseAxis().isHorizontal()?0:1;return i[u]+=o+s/2,i}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(rr);rr.registerClass(cx);const dy=cx;var _B=function(r){G(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return Pu(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>e&&(e=n),e},t.prototype.brushSelector=function(e,n,i){return i.rect(n.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=f_(dy.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(dy);const SB=_B;var xB=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),bB=function(r){G(t,r);function t(e){var n=r.call(this,e)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new xB},t.prototype.buildPath=function(e,n){var i=n.cx,a=n.cy,o=Math.max(n.r0||0,0),s=Math.max(n.r,0),u=(s-o)*.5,l=o+u,f=n.startAngle,h=n.endAngle,c=n.clockwise,v=Math.PI*2,d=c?h-fMath.PI/2&&fs)return!0;s=h}return!1},t.prototype._isOrderDifferentInView=function(e,n){for(var i=n.scale,a=i.getExtent(),o=Math.max(0,a[0]),s=Math.min(a[1],i.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==i.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,n,i,a){if(!!this._isOrderChangedWithinSameData(e,n,i)){var o=this._dataSort(e,i,n);this._isOrderDifferentInView(o,i)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,n,i){var a=n.baseAxis,o=this._dataSort(e,a,function(s){return e.get(e.mapDimension(n.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:o})},t.prototype.remove=function(e,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(e,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var n=this.group,i=this._data;e&&e.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(a){ks(a,e,ft(a).dataIndex)})):n.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(xe),gy={cartesian2d:function(r,t){var e=t.width<0?-1:1,n=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var i=r.x+r.width,a=r.y+r.height,o=af(t.x,r.x),s=of(t.x+t.width,i),u=af(t.y,r.y),l=of(t.y+t.height,a),f=si?s:o,t.y=h&&u>a?l:u,t.width=f?0:s-o,t.height=h?0:l-u,e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),f||h},polar:function(r,t){var e=t.r0<=t.r?1:-1;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}var i=of(t.r,r.r),a=af(t.r0,r.r0);t.r=i,t.r0=a;var o=i-a<0;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}return o}},yy={cartesian2d:function(r,t,e,n,i,a,o,s,u){var l=new At({shape:B({},n),z2:1});if(l.__dataIndex=e,l.name="item",a){var f=l.shape,h=i?"height":"width";f[h]=0}return l},polar:function(r,t,e,n,i,a,o,s,u){var l=!i&&u?py:dr,f=new l({shape:n,z2:1});f.name="item";var h=dx(i);if(f.calculateTextPosition=wB(h,{isRoundCap:l===py}),a){var c=f.shape,v=i?"r":"endAngle",d={};c[v]=i?0:n.startAngle,d[v]=n[v],(s?Bt:Gt)(f,{shape:d},a)}return f}};function AB(r,t){var e=r.get("realtimeSort",!0),n=t.getBaseAxis();if(e&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function my(r,t,e,n,i,a,o,s){var u,l;a?(l={x:n.x,width:n.width},u={y:n.y,height:n.height}):(l={y:n.y,height:n.height},u={x:n.x,width:n.width}),s||(o?Bt:Gt)(e,{shape:u},t,i,null);var f=t?r.baseAxis.model:null;(o?Bt:Gt)(e,{shape:l},f,i)}function _y(r,t){for(var e=0;e0?1:-1,o=n.height>0?1:-1;return{x:n.x+a*i/2,y:n.y+o*i/2,width:n.width-a*i,height:n.height-o*i}},polar:function(r,t,e){var n=r.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function LB(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function dx(r){return function(t){var e=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+e;default:return n}}}(r)}function xy(r,t,e,n,i,a,o,s){var u=t.getItemVisual(e,"style");s||r.setShape("r",n.get(["itemStyle","borderRadius"])||0),r.useStyle(u);var l=n.getShallow("cursor");l&&r.attr("cursor",l);var f=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",h=no(n);ro(r,h,{labelFetcher:a,labelDataIndex:e,defaultText:tc(a.getData(),e),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:f});var c=r.getTextContent();if(s&&c){var v=n.get(["label","position"]);r.textConfig.inside=v==="middle"?!0:null,TB(r,v==="outside"?f:v,dx(o),n.get(["label","rotate"]))}eD(c,h,a.getRawValue(e),function(g){return JS(t,g)});var d=n.getModel(["emphasis"]);Oa(r,d.get("focus"),d.get("blurScope"),d.get("disabled")),ka(r,n),LB(i)&&(r.style.fill="none",r.style.stroke="none",A(r.states,function(g){g.style&&(g.style.fill=g.style.stroke="none")}))}function PB(r,t){var e=r.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var n=r.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,a)}var RB=function(){function r(){}return r}(),by=function(r){G(t,r);function t(e){var n=r.call(this,e)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new RB},t.prototype.buildPath=function(e,n){for(var i=n.points,a=this.baseDimIdx,o=1-this.baseDimIdx,s=[],u=[],l=this.barWidth,f=0;f=0?e:null},30,!1);function EB(r,t,e){for(var n=r.baseDimIdx,i=1-n,a=r.shape.points,o=r.largeDataIndices,s=[],u=[],l=r.barWidth,f=0,h=a.length/3;f=s[0]&&t<=s[0]+u[0]&&e>=s[1]&&e<=s[1]+u[1])return o[f]}return-1}function px(r,t,e){if(rc(e,"cartesian2d")){var n=t,i=e.getArea();return{x:r?n.x:i.x,y:r?i.y:n.y,width:r?n.width:i.width,height:r?i.height:n.height}}else{var i=e.getArea(),a=t;return{cx:i.cx,cy:i.cy,r0:r?i.r0:a.r0,r:r?i.r:a.r,startAngle:r?a.startAngle:0,endAngle:r?a.endAngle:Math.PI*2}}}function OB(r,t,e){var n=r.type==="polar"?dr:At;return new n({shape:px(t,e,r),silent:!0,z2:0})}const kB=MB;function BB(r){r.registerChartView(kB),r.registerSeriesModel(SB),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,lt(iP,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,aP("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,vx("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var jo=Math.PI*2,Cy=Math.PI/180;function gx(r,t){return $r(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function yx(r,t){var e=gx(r,t),n=r.get("center"),i=r.get("radius");F(i)||(i=[0,i]),F(n)||(n=[n,n]);var a=pt(e.width,t.getWidth()),o=pt(e.height,t.getHeight()),s=Math.min(a,o),u=pt(i[0],s/2),l=pt(i[1],s/2),f,h,c=r.coordinateSystem;if(c){var v=c.dataToPoint(n);f=v[0]||0,h=v[1]||0}else f=pt(n[0],a)+e.x,h=pt(n[1],o)+e.y;return{cx:f,cy:h,r0:u,r:l}}function NB(r,t,e){t.eachSeriesByType(r,function(n){var i=n.getData(),a=i.mapDimension("value"),o=gx(n,e),s=yx(n,e),u=s.cx,l=s.cy,f=s.r,h=s.r0,c=-n.get("startAngle")*Cy,v=n.get("minAngle")*Cy,d=0;i.each(a,function(M){!isNaN(M)&&d++});var g=i.getSum(a),p=Math.PI/(g||d)*2,y=n.get("clockwise"),m=n.get("roseType"),_=n.get("stillShowZeroSum"),S=i.getDataExtent(a);S[0]=0;var b=jo,x=0,w=c,T=y?1:-1;if(i.setLayout({viewRect:o,r:f}),i.each(a,function(M,D){var I;if(isNaN(M)){i.setItemLayout(D,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:y,cx:u,cy:l,r0:h,r:m?NaN:f});return}m!=="area"?I=g===0&&_?p:M*p:I=jo/d,Ie?y:p,b=Math.abs(_.label.y-e);if(b>=S.maxY){var x=_.label.x-t-_.len2*i,w=n+_.len,T=Math.abs(x)r.unconstrainedWidth?null:v:null;n.setStyle("width",d)}var g=n.getBoundingRect();a.width=g.width;var p=(n.style.margin||0)+2.1;a.height=g.height+p,a.y-=(a.height-h)/2}}}function sf(r){return r.position==="center"}function GB(r){var t=r.getData(),e=[],n,i,a=!1,o=(r.get("minShowLabelAngle")||0)*zB,s=t.getLayout("viewRect"),u=t.getLayout("r"),l=s.width,f=s.x,h=s.y,c=s.height;function v(x){x.ignore=!0}function d(x){if(!x.ignore)return!0;for(var w in x.states)if(x.states[w].ignore===!1)return!0;return!1}t.each(function(x){var w=t.getItemGraphicEl(x),T=w.shape,C=w.getTextContent(),M=w.getTextGuideLine(),D=t.getItemModel(x),I=D.getModel("label"),L=I.get("position")||D.get(["emphasis","label","position"]),P=I.get("distanceToLabelLine"),R=I.get("alignTo"),E=pt(I.get("edgeDistance"),l),V=I.get("bleedMargin"),O=D.getModel("labelLine"),k=O.get("length");k=pt(k,l);var z=O.get("length2");if(z=pt(z,l),Math.abs(T.endAngle-T.startAngle)0?"right":"left":$>0?"left":"right"}var Ae=Math.PI,te=0,ar=I.get("rotate");if(ht(ar))te=ar*(Ae/180);else if(L==="center")te=0;else if(ar==="radial"||ar===!0){var Fn=$<0?-W+Ae:-W;te=Fn}else if(ar==="tangential"&&L!=="outside"&&L!=="outer"){var De=Math.atan2($,Z);De<0&&(De=Ae*2+De);var uo=Z>0;uo&&(De=Ae+De),te=De-Ae}if(a=!!te,C.x=it,C.y=wt,C.rotation=te,C.setStyle({verticalAlign:"middle"}),Dt){C.setStyle({align:Nt});var Fu=C.states.select;Fu&&(Fu.x+=C.x,Fu.y+=C.y)}else{var mr=C.getBoundingRect().clone();mr.applyTransform(C.getComputedTransform());var fc=(C.style.margin||0)+2.1;mr.y-=fc/2,mr.height+=fc,e.push({label:C,labelLine:M,position:L,len:k,len2:z,minTurnAngle:O.get("minTurnAngle"),maxSurfaceAngle:O.get("maxSurfaceAngle"),surfaceNormal:new X($,Z),linePoints:vt,textAlign:Nt,labelDistance:P,labelAlignTo:R,edgeDistance:E,bleedMargin:V,rect:mr,unconstrainedWidth:mr.width,labelStyleWidth:C.style.width})}w.setTextConfig({inside:Dt})}}),!a&&r.get("avoidLabelOverlap")&&VB(e,n,i,u,l,c,f,h);for(var g=0;g0){for(var f=o.getItemLayout(0),h=1;isNaN(f&&f.startAngle)&&h=a.r0}},t.type="pie",t}(xe);const $B=WB;function _x(r,t,e){t=F(t)&&{coordDimensions:t}||B({encodeDefine:r.getEncode()},t);var n=r.getSource(),i=V1(n,t).dimensions,a=new z1(i,r);return a.initData(n,e),a}var UB=function(){function r(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return r.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},r.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},r.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},r.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},r}();const YB=UB;var XB=function(r){G(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new YB(gt(this.getData,this),gt(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){var e=_x(this,{coordDimensions:["value"],encodeDefaulter:lt(LD,this)}),n=[];return e.each(e.mapDimension("value"),function(i){n.push(i)}),this.seats=bC(n,e.hostModel.get("percentPrecision")),e},t.prototype.getDataParams=function(e){var n=r.prototype.getDataParams.call(this,e);return n.percent=this.seats[e],n.$vars.push("percent"),n},t.prototype._defaultLabelLine=function(e){zf(e,"labelLine",["show"]);var n=e.labelLine,i=e.emphasis.labelLine;n.show=n.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(rr);const ZB=XB;function qB(r){return{seriesType:r,reset:function(t,e){var n=t.getData();n.filterSelf(function(i){var a=n.mapDimension("value"),o=n.get(a,i);return!(ht(o)&&!isNaN(o)&&o<0)})}}}function KB(r){r.registerChartView($B),r.registerSeriesModel(ZB),mL("pie",r.registerAction),r.registerLayout(lt(NB,"pie")),r.registerProcessor(FB("pie")),r.registerProcessor(qB("pie"))}var jB=function(r){G(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,n){return Pu(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return e==null?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e==null?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,n,i){return i.point(n.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(rr);const QB=jB;var Sx=4,JB=function(){function r(){}return r}(),tN=function(r){G(t,r);function t(e){var n=r.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new JB},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,n){var i=n.points,a=n.size,o=this.symbolProxy,s=o.shape,u=e.getContext?e.getContext():e,l=u&&a[0]=0;l--){var f=l*2,h=a[f]-s/2,c=a[f+1]-u/2;if(e>=h&&n>=c&&e<=h+s&&n<=c+u)return l}return-1},t.prototype.contain=function(e,n){var i=this.transformCoordToLocal(e,n),a=this.getBoundingRect();if(e=i[0],n=i[1],a.contain(e,n)){var o=this.hoverDataIdx=this.findDataIndex(e,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var n=this.shape,i=n.points,a=n.size,o=a[0],s=a[1],u=1/0,l=1/0,f=-1/0,h=-1/0,c=0;c=0&&(l.dataIndex=h+(t.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}();const rN=eN;var nN=function(r){G(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var a=e.getData(),o=this._updateSymbolDraw(a,e);o.updateData(a,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,n,i){var a=e.getData(),o=this._updateSymbolDraw(a,e);o.incrementalPrepareUpdate(a),this._finished=!1},t.prototype.incrementalRender=function(e,n,i){this._symbolDraw.incrementalUpdate(e,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=e.end===n.getData().count()},t.prototype.updateTransform=function(e,n,i){var a=e.getData();if(this.group.dirty(),!this._finished||a.count()>1e4)return{update:!0};var o=ic("").reset(e,n,i);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){var n=e.coordinateSystem,i=n&&n.getArea&&n.getArea();return e.get("clip",!0)?i:null},t.prototype._updateSymbolDraw=function(e,n){var i=this._symbolDraw,a=n.pipelineContext,o=a.large;return(!i||o!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=o?new rN:new tx,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(e,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(xe);const iN=nN;function aN(r){le(wS),r.registerSeriesModel(QB),r.registerChartView(iN),r.registerLayout(ic("scatter"))}var oN=function(){function r(){}return r.prototype.getInitialData=function(t,e){var n,i=e.getComponent("xAxis",this.get("xAxisIndex")),a=e.getComponent("yAxis",this.get("yAxisIndex")),o=i.get("type"),s=a.get("type"),u;o==="category"?(t.layout="horizontal",n=i.getOrdinalMeta(),u=!0):s==="category"?(t.layout="vertical",n=a.getOrdinalMeta(),u=!0):t.layout=t.layout||"horizontal";var l=["x","y"],f=t.layout==="horizontal"?0:1,h=this._baseAxisDim=l[f],c=l[1-f],v=[i,a],d=v[f].get("type"),g=v[1-f].get("type"),p=t.data;if(p&&u){var y=[];A(p,function(S,b){var x;F(S)?(x=S.slice(),S.unshift(b)):F(S.value)?(x=B({},S),x.value=x.value.slice(),S.value.unshift(b)):x=S,y.push(x)}),t.data=y}var m=this.defaultValueDimensions,_=[{name:h,type:ch(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:ch(g),dimsDef:m.slice()}];return _x(this,{coordDimensions:_,dimensionsCount:m.length+1,encodeDefaulter:lt(D_,_,this)})},r.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},r}(),sN=["color","borderColor"],uN=function(r){G(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,n,i){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,n,i,a){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,n):this._incrementalRenderNormal(e,n)},t.prototype.eachRendered=function(e){eo(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var n=e.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(e){var n=e.getData(),i=this._data,a=this.group,o=n.getLayout("isSimpleBox"),s=e.get("clip",!0),u=e.coordinateSystem,l=u.getArea&&u.getArea();this._data||a.removeAll(),n.diff(i).add(function(f){if(n.hasValue(f)){var h=n.getItemLayout(f);if(s&&Ay(l,h))return;var c=uf(h,f,!0);Gt(c,{shape:{points:h.ends}},e,f),lf(c,n,f,o),a.add(c),n.setItemGraphicEl(f,c)}}).update(function(f,h){var c=i.getItemGraphicEl(h);if(!n.hasValue(f)){a.remove(c);return}var v=n.getItemLayout(f);if(s&&Ay(l,v)){a.remove(c);return}c?(Bt(c,{shape:{points:v.ends}},e,f),gu(c)):c=uf(v),lf(c,n,f,o),a.add(c),n.setItemGraphicEl(f,c)}).remove(function(f){var h=i.getItemGraphicEl(f);h&&a.remove(h)}).execute(),this._data=n},t.prototype._renderLarge=function(e){this._clear(),Iy(e,this.group);var n=e.get("clip",!0)?fx(e.coordinateSystem,!1,e):null;n?this.group.setClipPath(n):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,n){for(var i=n.getData(),a=i.getLayout("isSimpleBox"),o;(o=e.next())!=null;){var s=i.getItemLayout(o),u=uf(s);lf(u,i,o,a),u.incremental=!0,this.group.add(u),this._progressiveEls.push(u)}},t.prototype._incrementalRenderLarge=function(e,n){Iy(n,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(xe),lN=function(){function r(){}return r}(),fN=function(r){G(t,r);function t(e){var n=r.call(this,e)||this;return n.type="normalCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new lN},t.prototype.buildPath=function(e,n){var i=n.points;this.__simpleBox?(e.moveTo(i[4][0],i[4][1]),e.lineTo(i[6][0],i[6][1])):(e.moveTo(i[0][0],i[0][1]),e.lineTo(i[1][0],i[1][1]),e.lineTo(i[2][0],i[2][1]),e.lineTo(i[3][0],i[3][1]),e.closePath(),e.moveTo(i[4][0],i[4][1]),e.lineTo(i[5][0],i[5][1]),e.moveTo(i[6][0],i[6][1]),e.lineTo(i[7][0],i[7][1]))},t}(et);function uf(r,t,e){var n=r.ends;return new fN({shape:{points:e?hN(n,r):n},z2:100})}function Ay(r,t){for(var e=!0,n=0;n0?"borderColor":"borderColor0"])||e.get(["itemStyle",r>0?"color":"color0"]),a=e.getModel("itemStyle").getItemStyle(sN);t.useStyle(a),t.style.fill=null,t.style.stroke=i}const cN=uN;var xx=function(r){G(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,n,i){var a=n.getItemLayout(e);return a&&i.rect(a.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(rr);Ne(xx,oN,!0);const dN=xx;function pN(r){!r||!F(r.series)||A(r.series,function(t){U(t)&&t.type==="k"&&(t.type="candlestick")})}var gN=["itemStyle","borderColor"],yN=["itemStyle","borderColor0"],mN=["itemStyle","color"],_N=["itemStyle","color0"],SN={seriesType:"candlestick",plan:ao(),performRawSeries:!0,reset:function(r,t){function e(a,o){return o.get(a>0?mN:_N)}function n(a,o){return o.get(a>0?gN:yN)}if(!t.isSeriesFiltered(r)){var i=r.pipelineContext.large;return!i&&{progress:function(a,o){for(var s;(s=a.next())!=null;){var u=o.getItemModel(s),l=o.getItemLayout(s).sign,f=u.getItemStyle();f.fill=e(l,u),f.stroke=n(l,u)||f.fill;var h=o.ensureUniqueItemVisual(s,"style");B(h,f)}}}}}};const xN=SN;var bN={seriesType:"candlestick",plan:ao(),reset:function(r){var t=r.coordinateSystem,e=r.getData(),n=wN(r,e),i=0,a=1,o=["x","y"],s=e.getDimensionIndex(e.mapDimension(o[i])),u=N(e.mapDimensionsAll(o[a]),e.getDimensionIndex,e),l=u[0],f=u[1],h=u[2],c=u[3];if(e.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),s<0||u.length<4)return;return{progress:r.pipelineContext.large?d:v};function v(g,p){for(var y,m=p.getStore();(y=g.next())!=null;){var _=m.get(s,y),S=m.get(l,y),b=m.get(f,y),x=m.get(h,y),w=m.get(c,y),T=Math.min(S,b),C=Math.max(S,b),M=R(T,_),D=R(C,_),I=R(x,_),L=R(w,_),P=[];E(P,D,0),E(P,M,1),P.push(O(L),O(D),O(I),O(M)),p.setItemLayout(y,{sign:Py(m,y,S,b,f),initBaseline:S>b?D[a]:M[a],ends:P,brushRect:V(x,w,_)})}function R(k,z){var W=[];return W[i]=z,W[a]=k,isNaN(z)||isNaN(k)?[NaN,NaN]:t.dataToPoint(W)}function E(k,z,W){var $=z.slice(),Z=z.slice();$[i]=vs($[i]+n/2,1,!1),Z[i]=vs(Z[i]-n/2,1,!0),W?k.push($,Z):k.push(Z,$)}function V(k,z,W){var $=R(k,W),Z=R(z,W);return $[i]-=n/2,Z[i]-=n/2,{x:$[0],y:$[1],width:n,height:Z[1]-$[1]}}function O(k){return k[i]=vs(k[i],1),k}}function d(g,p){for(var y=Ke(g.count*4),m=0,_,S=[],b=[],x,w=p.getStore();(x=g.next())!=null;){var T=w.get(s,x),C=w.get(l,x),M=w.get(f,x),D=w.get(h,x),I=w.get(c,x);if(isNaN(T)||isNaN(D)||isNaN(I)){y[m++]=NaN,m+=3;continue}y[m++]=Py(w,x,C,M,f),S[i]=T,S[a]=D,_=t.dataToPoint(S,null,b),y[m++]=_?_[0]:NaN,y[m++]=_?_[1]:NaN,S[a]=I,_=t.dataToPoint(S,null,b),y[m++]=_?_[1]:NaN}p.setLayout("largePoints",y)}}};function Py(r,t,e,n,i){var a;return e>n?a=-1:e0?r.get(i,t-1)<=n?1:-1:1,a}function wN(r,t){var e=r.getBaseAxis(),n,i=e.type==="category"?e.getBandWidth():(n=e.getExtent(),Math.abs(n[1]-n[0])/t.count()),a=pt(j(r.get("barMaxWidth"),i),i),o=pt(j(r.get("barMinWidth"),1),i),s=r.get("barWidth");return s!=null?pt(s,i):Math.max(Math.min(i/2,a),o)}const TN=bN;function CN(r){r.registerChartView(cN),r.registerSeriesModel(dN),r.registerPreprocessor(pN),r.registerVisual(xN),r.registerLayout(TN)}var $e=er.CMD;function ci(r,t){return Math.abs(r-t)<1e-5}function kh(r){var t=r.data,e=r.len(),n=[],i,a=0,o=0,s=0,u=0;function l(L,P){i&&i.length>2&&n.push(i),i=[L,P]}function f(L,P,R,E){ci(L,R)&&ci(P,E)||i.push(L,P,R,E,R,E)}function h(L,P,R,E,V,O){var k=Math.abs(P-L),z=Math.tan(k/4)*4/3,W=PT:D2&&n.push(i),n}function Bh(r,t,e,n,i,a,o,s,u,l){if(ci(r,e)&&ci(t,n)&&ci(i,o)&&ci(a,s)){u.push(o,s);return}var f=2/l,h=f*f,c=o-r,v=s-t,d=Math.sqrt(c*c+v*v);c/=d,v/=d;var g=e-r,p=n-t,y=i-o,m=a-s,_=g*g+p*p,S=y*y+m*m;if(_=0&&T=0){u.push(o,s);return}var C=[],M=[];Vr(r,e,i,o,.5,C),Vr(t,n,a,s,.5,M),Bh(C[0],M[0],C[1],M[1],C[2],M[2],C[3],M[3],u,l),Bh(C[4],M[4],C[5],M[5],C[6],M[6],C[7],M[7],u,l)}function MN(r,t){var e=kh(r),n=[];t=t||1;for(var i=0;i0)for(var l=0;lMath.abs(l),h=bx([u,l],f?0:1,t),c=(f?s:l)/h.length,v=0;vi,o=bx([n,i],a?0:1,t),s=a?"width":"height",u=a?"height":"width",l=a?"x":"y",f=a?"y":"x",h=r[s]/o.length,c=0;c1?null:new X(g*u+r,g*l+t)}function IN(r,t,e){var n=new X;X.sub(n,e,t),n.normalize();var i=new X;X.sub(i,r,t);var a=i.dot(n);return a}function ei(r,t){var e=r[r.length-1];e&&e[0]===t[0]&&e[1]===t[1]||r.push(t)}function LN(r,t,e){for(var n=r.length,i=[],a=0;ao?(l.x=f.x=s+a/2,l.y=u,f.y=u+o):(l.y=f.y=u+o/2,l.x=s,f.x=s+a),LN(t,l,f)}function Zs(r,t,e,n){if(e===1)n.push(t);else{var i=Math.floor(e/2),a=r(t);Zs(r,a[0],i,n),Zs(r,a[1],e-i,n)}return n}function PN(r,t){for(var e=[],n=0;n0)for(var b=n/e,x=-n/2;x<=n/2;x+=b){for(var w=Math.sin(x),T=Math.cos(x),C=0,_=0;_0;l/=2){var f=0,h=0;(r&l)>0&&(f=1),(t&l)>0&&(h=1),s+=l*l*(3*f^h),h===0&&(f===1&&(r=l-1-r,t=l-1-t),u=r,r=t,t=u)}return s}function js(r){var t=1/0,e=1/0,n=-1/0,i=-1/0,a=N(r,function(s){var u=s.getBoundingRect(),l=s.getComputedTransform(),f=u.x+u.width/2+(l?l[4]:0),h=u.y+u.height/2+(l?l[5]:0);return t=Math.min(f,t),e=Math.min(h,e),n=Math.max(f,n),i=Math.max(h,i),[f,h]}),o=N(a,function(s,u){return{cp:s,z:VN(s[0],s[1],t,e,n,i),path:r[u]}});return o.sort(function(s,u){return s.z-u.z}).map(function(s){return s.path})}function Mx(r){return ON(r.path,r.count)}function Nh(){return{fromIndividuals:[],toIndividuals:[],count:0}}function GN(r,t,e){var n=[];function i(b){for(var x=0;x=0;i--)if(!e[i].many.length){var u=e[s].many;if(u.length<=1)if(s)s=0;else return e;var a=u.length,l=Math.ceil(a/2);e[i].many=u.slice(l,a),e[s].many=u.slice(0,l),s++}return e}var WN={clone:function(r){for(var t=[],e=1-Math.pow(1-r.path.style.opacity,1/r.count),n=0;n0))return;var s=n.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},o),l,f;Fy(r)&&(l=r,f=t),Fy(t)&&(l=t,f=r);function h(y,m,_,S,b){var x=y.many,w=y.one;if(x.length===1&&!b){var T=m?x[0]:w,C=m?w:x[0];if(qs(T))h({many:[T],one:C},!0,_,S,!0);else{var M=s?J({delay:s(_,S)},u):u;ac(T,C,M),a(T,C,T,C,M)}}else for(var D=J({dividePath:WN[e],individualDelay:s&&function(V,O,k,z){return s(V+_,S)}},u),I=m?GN(x,w,D):HN(w,x,D),L=I.fromIndividuals,P=I.toIndividuals,R=L.length,E=0;Et.length,v=l?zy(f,l):zy(c?t:r,[c?r:t]),d=0,g=0;gAx))for(var i=n.getIndices(),a=UN(n),o=0;o0&&S.group.traverse(function(x){x instanceof et&&!x.animators.length&&x.animateFrom({style:{opacity:0}},b)})})}function Gy(r){var t=r.getModel("universalTransition").get("seriesKey");return t||r.id}function Hy(r){return F(r)?r.sort().join(","):r}function Ir(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function ZN(r,t){var e=K(),n=K(),i=K();return A(r.oldSeries,function(a,o){var s=r.oldData[o],u=Gy(a),l=Hy(u);n.set(l,s),F(u)&&A(u,function(f){i.set(f,{data:s,key:l})})}),A(t.updatedSeries,function(a){if(a.isUniversalTransitionEnabled()&&a.isAnimationEnabled()){var o=a.getData(),s=Gy(a),u=Hy(s),l=n.get(u);if(l)e.set(u,{oldSeries:[{divide:Ir(l),data:l}],newSeries:[{divide:Ir(o),data:o}]});else if(F(s)){var f=[];A(s,function(v){var d=n.get(v);d&&f.push({divide:Ir(d),data:d})}),f.length&&e.set(u,{oldSeries:f,newSeries:[{data:o,divide:Ir(o)}]})}else{var h=i.get(s);if(h){var c=e.get(h.key);c||(c={oldSeries:[{data:h.data,divide:Ir(h.data)}],newSeries:[]},e.set(h.key,c)),c.newSeries.push({data:o,divide:Ir(o)})}}}}),e}function Wy(r,t){for(var e=0;e=0&&i.push({data:t.oldData[s],divide:Ir(t.oldData[s]),dim:o.dimension})}),A(Mt(r.to),function(o){var s=Wy(e.updatedSeries,o);if(s>=0){var u=e.updatedSeries[s].getData();a.push({data:u,divide:Ir(u),dim:o.dimension})}}),i.length>0&&a.length>0&&Dx(i,a,n)}function KN(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){A(Mt(n.seriesTransition),function(i){A(Mt(i.to),function(a){for(var o=n.updatedSeries,s=0;s=pn:-l>=pn),v=l>0?l%pn:l%pn+pn,d=!1;c?d=!0:Rr(h)?d=!1:d=v>=Ix==!!f;var g=t+n*df(o),p=e+i*cf(o);this._start&&this._add("M",g,p);var y=Math.round(a*jN);if(c){var m=1/this._p,_=(f?1:-1)*(pn-m);this._add("A",n,i,y,1,+f,t+n*df(o+_),e+i*cf(o+_)),m>.01&&this._add("A",n,i,y,0,+f,g,p)}else{var S=t+n*df(s),b=e+i*cf(s);this._add("A",n,i,y,+d,+f,S,b)}},r.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(t,e,n,i,a,o,s,u,l){for(var f=[],h=this._p,c=1;c"}function s5(r){return""}function oc(r,t){t=t||{};var e=t.newline?` `:"";function n(i){var a=i.children,o=i.tag,s=i.attrs;return o5(o,s)+se(i.text)+(a?""+e+N(a,function(u){return n(u)}).join(e)+e:"")+s5(o)}return n(r)}function u5(r,t,e){e=e||{};var n=e.newline?` -`:"",i=" {"+n,a=n+"}",o=N(ut(r),function(u){return u+i+N(ut(r[u]),function(l){return l+":"+r[u][l]+";"}).join(n)+a}).join(n),s=N(ut(t),function(u){return"@keyframes "+u+i+N(ut(t[u]),function(l){return l+i+N(ut(t[u][l]),function(f){var h=t[u][l][f];return f==="d"&&(h='path("'+h+'")'),f+":"+h+";"}).join(n)+a}).join(n)+a}).join(n);return!o&&!s?"":[""].join(n)}function zh(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function $y(r,t,e,n){return kt("svg","root",{width:r,height:t,xmlns:Px,"xmlns:xlink":Rx,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+r+" "+t:!1},e)}var Uy={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},_n="transform-origin";function l5(r,t,e){var n=B({},r.shape);B(n,t),r.buildPath(e,n);var i=new Lx;return i.reset(Vm(r)),e.rebuildPath(i,1),i.generateStr(),i.getStr()}function f5(r,t){var e=t.originX,n=t.originY;(e||n)&&(r[_n]=e+"px "+n+"px")}var h5={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Ox(r,t){var e=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[e]=r,e}function v5(r,t,e){var n=r.shape.paths,i={},a,o;if(A(n,function(u){var l=zh(e.zrId);l.animation=!0,Nu(u,{},l,!0);var f=l.cssAnims,h=l.cssNodes,c=ut(f),v=c.length;if(!!v){o=c[v-1];var d=f[o];for(var g in d){var p=d[g];i[g]=i[g]||{d:""},i[g].d+=p.d||""}for(var y in h){var m=h[y].animation;m.indexOf(o)>=0&&(a=m)}}}),!!a){t.d=!1;var s=Ox(i,e);return a.replace(o,s)}}function Yy(r){return H(r)?Uy[r]?"cubic-bezier("+Uy[r]+")":jh(r)?r:"":""}function Nu(r,t,e,n){var i=r.animators,a=i.length,o=[];if(r instanceof K0){var s=v5(r,t,e);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var u={},l=0;l0}).length){var Nt=Ox(w,e);return Nt+" "+m[0]+" both"}}for(var p in u){var s=g(u[p]);s&&o.push(s)}if(o.length){var y=e.zrId+"-cls-"+e.cssClassIdx++;e.cssNodes["."+y]={animation:o.join(",")},t.class=y}}var Za=Math.round;function kx(r){return r&&H(r.src)}function Bx(r){return r&&q(r.toDataURL)}function sc(r,t,e,n){n5(function(i,a){var o=i==="fill"||i==="stroke";o&&WT(a)?S5(t,r,i,n):o&&HT(a)?x5(e,r,i,n):r[i]=a},t,e,!1),_5(e,r,n)}function Xy(r){return Rr(r[0]-1)&&Rr(r[1])&&Rr(r[2])&&Rr(r[3]-1)}function c5(r){return Rr(r[4])&&Rr(r[5])}function uc(r,t,e){if(t&&!(c5(t)&&Xy(t))){var n=e?10:1e4;r.transform=Xy(t)?"translate("+Za(t[4]*n)/n+" "+Za(t[5]*n)/n+")":BT(t)}}function Zy(r,t,e){for(var n=r.points,i=[],a=0;a"u"){var h="Image width/height must been given explictly in svg-ssr renderer.";be(s,h),be(u,h)}else if(s==null||u==null){var c=function(m,_){if(m){var S=m.elm,b=m.attrs.width=s||_.width,x=m.attrs.height=u||_.height;S&&(S.setAttribute("width",b),S.setAttribute("height",x))}},v=iv(l,null,r,function(m){c(d,m),c(o,m)});v&&v.width&&v.height&&(s=s||v.width,u=u||v.height)}o=kt("image","img",{href:l,width:s,height:u}),a.width=s,a.height=u}else i.svgElement&&(o=Q(i.svgElement),a.width=i.svgWidth,a.height=i.svgHeight);if(!!o){a.patternTransform=Gm(i);var d=kt("pattern","",a,[o]),g=oc(d),p=n.patternCache,y=p[g];y||(y=n.zrId+"-p"+n.patternIdx++,p[g]=y,a.id=y,d=n.defs[y]=kt("pattern",y,a,[o])),t[e]=au(y)}}function b5(r,t,e){var n=e.clipPathCache,i=e.defs,a=n[r.id];if(!a){a=e.zrId+"-c"+e.clipPathIdx++;var o={id:a};n[r.id]=a,i[a]=kt("clipPath",a,o,[Nx(r,e)])}t["clip-path"]=au(a)}function jy(r){return document.createTextNode(r)}function xn(r,t,e){r.insertBefore(t,e)}function Qy(r,t){r.removeChild(t)}function Jy(r,t){r.appendChild(t)}function Fx(r){return r.parentNode}function zx(r){return r.nextSibling}function pf(r,t){r.textContent=t}var tm=58,w5=120,T5=kt("","");function Vh(r){return r===void 0}function Ue(r){return r!==void 0}function C5(r,t,e){for(var n={},i=t;i<=e;++i){var a=r[i].key;a!==void 0&&(n[a]=i)}return n}function ha(r,t){var e=r.key===t.key,n=r.tag===t.tag;return n&&e}function qa(r){var t,e=r.children,n=r.tag;if(Ue(n)){var i=r.elm=Ex(n);if(lc(T5,r),F(e))for(t=0;ta?(d=e[u+1]==null?null:e[u+1].elm,Vx(r,d,e,i,u)):Qs(r,t,n,a))}function oi(r,t){var e=t.elm=r.elm,n=r.children,i=t.children;r!==t&&(lc(r,t),Vh(t.text)?Ue(n)&&Ue(i)?n!==i&&M5(e,n,i):Ue(i)?(Ue(r.text)&&pf(e,""),Vx(e,null,i,0,i.length-1)):Ue(n)?Qs(e,n,0,n.length-1):Ue(r.text)&&pf(e,""):r.text!==t.text&&(Ue(n)&&Qs(e,n,0,n.length-1),pf(e,t.text)))}function A5(r,t){if(ha(r,t))oi(r,t);else{var e=r.elm,n=Fx(e);qa(t),n!==null&&(xn(n,t.elm,zx(e)),Qs(n,[r],0,0))}return t}var D5=0,I5=function(){function r(t,e,n){if(this.type="svg",this.refreshHover=em(),this.configLayer=em(),this.storage=e,this._opts=n=B({},n),this.root=t,this._id="zr"+D5++,this._oldVNode=$y(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=Ex("svg");lc(null,this._oldVNode),i.appendChild(a),t.appendChild(i)}this.resize(n.width,n.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",A5(this._oldVNode,t),this._oldVNode=t}},r.prototype.renderOneToVNode=function(t){return Ky(t,zh(this._id))},r.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._backgroundColor,i=this._width,a=this._height,o=zh(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress;var s=[];if(n&&n!=="none"){var u=xi(n),l=u.color,f=u.opacity;this._bgVNode=kt("rect","bg",{width:i,height:a,x:"0",y:"0",id:"0",fill:l,"fill-opacity":f}),s.push(this._bgVNode)}else this._bgVNode=null;var h=t.compress?null:this._mainVNode=kt("g","main",{},[]);this._paintList(e,o,h?h.children:s),h&&s.push(h);var c=N(ut(o.defs),function(g){return o.defs[g]});if(c.length&&s.push(kt("defs","defs",{},c)),t.animation){var v=u5(o.cssNodes,o.cssAnims,{newline:!0});if(v){var d=kt("style","stl",{},[],v);s.push(d)}}return $y(i,a,s,t.useViewBox)},r.prototype.renderToString=function(t){return t=t||{},oc(this.renderToVNode({animation:j(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:j(t.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var n=xi(t),i=n.color,a=n.opacity;e.elm.setAttribute("fill",i),a<1&&e.elm.setAttribute("fill-opacity",a)}},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(t,e,n){for(var i=t.length,a=[],o=0,s,u,l=0,f=0;f=0&&!(c&&u&&c[g]===u[g]);g--);for(var p=d-1;p>g;p--)o--,s=a[o-1];for(var y=g+1;y=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&y.restore()};if(m)if(m.length===0)T=p.__endIndex;else for(var M=v.dpr,D=0;D0&&t>i[0]){for(u=0;ut);u++);s=n[i[u]]}if(i.splice(u+1,0,t),n[t]=e,!e.virtual)if(s){var l=s.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},r.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?Jo:0),this._needsManuallyCompositing),f.__builtin__||Yh("ZLevel "+l+" has been used by unkown layer "+f.id),f!==a&&(f.__used=!0,f.__startIndex!==u&&(f.__dirty=!0),f.__startIndex=u,f.incremental?f.__drawIndex=-1:f.__drawIndex=u,e(u),a=f),i.__dirty&ue&&!i.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=u))}e(u),this.eachBuiltinLayer(function(h,c){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(t){t.clear()},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t,A(this._layers,function(e){e.setUnpainted()})},r.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?tt(n[t],e,!0):n[t]=e;for(var i=0;i({})},renderSuccess:{type:Function,default:()=>({})},theme:{type:[String,Object],default:""},autoChangeTheme:{type:Boolean,default:!1}},setup(r){const t=eb(),{themeValue:e}=rb(t),n=va(),i=va();let a;const o=nb(()=>({"--ray-chart-width":r.width,"--ray-chart-height":r.height})),s=async()=>{le([vk,lk,vE,Kk,Xk,Ik,VO,Ok]),le([BB,mB,KB,CN,aN]),le([eR,KN]),le([r.canvasRender?F5:P5])},u=()=>{let c=Mw(r.options);const v=d=>Object.assign(c,d);return r.showAria&&(c=v({aria:{enabled:!0,decal:{show:!0}}})),c},l=c=>{const v=n.value,d=u();a=p2(v,c),i.value=a,d&&a.setOption(d)},f=c=>{if(r.autoChangeTheme){l(c?"dark":"");return}r.theme||l("")},h=()=>{a&&(a.clear(),a.dispose())};return vc(()=>e.value,c=>{r.autoChangeTheme&&(h(),f(c))}),vc(()=>r.showAria,()=>{h(),f()}),ib(async()=>{await s()}),ab(()=>{ob(()=>{r.autoChangeTheme?f(e.value):r.theme?l("dark"):l("")})}),sb(()=>{h()}),{rayChartRef:n,cssVarsRef:o,echartInstance:i}},render(){return Pt("div",{class:"ray-chart",style:[this.cssVarsRef],ref:"rayChartRef"},null)}}),V5=lm({name:"Echart",setup(){const r=va(),t=va(!1),e=va(!1);return{baseOptions:{legend:{},tooltip:{},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{name:"\u65E5\u671F",data:[120,200,150,80,70,110,130],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}}]},baseChartRef:r,chartLoading:t,handleLoadingShow:o=>{if(r.value){const{echartInstance:s}=r.value;o?s.showLoading():s.hideLoading()}},chartAria:e,handleAriaShow:o=>{e.value=o}}},render(){return Pt("div",{class:"echart"},[Pt(zn,{title:"RayChart\u7EC4\u4EF6\u4F7F\u7528"},{default:()=>[ub("\u5728\u4F7F\u7528\u8BE5\u7EC4\u4EF6\u65F6, \u4E00\u5B9A\u8981\u6CE8\u610F\u6839\u7EC4\u4EF6\u7684\u9AD8\u5EA6\u521D\u59CB\u5316\u95EE\u9898, \u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4F59\u7684\u56FE\u5229, \u9700\u8981\u81EA\u5DF1\u624B\u52A8\u53BB\u6CE8\u518C. \u8BE5\u7EC4\u4EF6\u5B9E\u73B0\u4E86\u81EA\u52A8\u8DDF\u968F\u6A21\u677F\u4E3B\u9898\u5207\u6362\u529F\u80FD, \u4F46\u662F\u52A8\u6001\u5207\u6362\u635F\u8017\u8F83\u5927, \u6240\u4EE5\u9ED8\u8BA4\u4E0D\u542F\u7528")]}),Pt(zn,{title:"\u57FA\u7840\u4F7F\u7528"},{default:()=>[Pt("div",{class:"chart--container"},[Pt(na,{options:this.baseOptions},null)])]}),Pt(zn,{title:"\u80FD\u8DDF\u968F\u4E3B\u9898\u5207\u6362\u7684\u53EF\u89C6\u5316\u56FE"},{default:()=>[Pt("div",{class:"chart--container"},[Pt(na,{autoChangeTheme:!0,options:this.baseOptions},null)])]}),Pt(zn,{title:"\u4E0D\u8DDF\u968F\u4E3B\u9898\u5207\u6362\u7684\u6697\u8272\u4E3B\u9898\u53EF\u89C6\u5316\u56FE"},{default:()=>[Pt("div",{class:"chart--container"},[Pt(na,{theme:"dark",options:this.baseOptions},null)])]}),Pt(zn,{title:"\u52A0\u8F7D\u52A8\u753B"},{default:()=>[Pt(cc,{value:this.chartLoading,"onUpdate:value":r=>this.chartLoading=r,onUpdateValue:this.handleLoadingShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"\u9690\u85CF\u52A0\u8F7D\u52A8\u753B",unchecked:()=>"\u663E\u793A\u52A0\u8F7D\u52A8\u753B"}),Pt("div",{class:"chart--container"},[Pt(na,{ref:"baseChartRef",options:this.baseOptions},null)])]}),Pt(zn,{title:"\u8D34\u753B\u53EF\u89C6\u5316\u56FE"},{default:()=>[Pt(cc,{value:this.chartAria,"onUpdate:value":r=>this.chartAria=r,onUpdateValue:this.handleAriaShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"\u9690\u85CF\u8D34\u82B1",unchecked:()=>"\u663E\u793A\u8D34\u82B1"}),Pt("div",{class:"chart--container"},[Pt(na,{options:this.baseOptions,showAria:this.chartAria},null)])]})])}});export{V5 as default}; +`:"",i=" {"+n,a=n+"}",o=N(ut(r),function(u){return u+i+N(ut(r[u]),function(l){return l+":"+r[u][l]+";"}).join(n)+a}).join(n),s=N(ut(t),function(u){return"@keyframes "+u+i+N(ut(t[u]),function(l){return l+i+N(ut(t[u][l]),function(f){var h=t[u][l][f];return f==="d"&&(h='path("'+h+'")'),f+":"+h+";"}).join(n)+a}).join(n)+a}).join(n);return!o&&!s?"":[""].join(n)}function zh(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function $y(r,t,e,n){return kt("svg","root",{width:r,height:t,xmlns:Px,"xmlns:xlink":Rx,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+r+" "+t:!1},e)}var Uy={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},_n="transform-origin";function l5(r,t,e){var n=B({},r.shape);B(n,t),r.buildPath(e,n);var i=new Lx;return i.reset(Vm(r)),e.rebuildPath(i,1),i.generateStr(),i.getStr()}function f5(r,t){var e=t.originX,n=t.originY;(e||n)&&(r[_n]=e+"px "+n+"px")}var h5={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Ox(r,t){var e=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[e]=r,e}function v5(r,t,e){var n=r.shape.paths,i={},a,o;if(A(n,function(u){var l=zh(e.zrId);l.animation=!0,Nu(u,{},l,!0);var f=l.cssAnims,h=l.cssNodes,c=ut(f),v=c.length;if(!!v){o=c[v-1];var d=f[o];for(var g in d){var p=d[g];i[g]=i[g]||{d:""},i[g].d+=p.d||""}for(var y in h){var m=h[y].animation;m.indexOf(o)>=0&&(a=m)}}}),!!a){t.d=!1;var s=Ox(i,e);return a.replace(o,s)}}function Yy(r){return H(r)?Uy[r]?"cubic-bezier("+Uy[r]+")":jh(r)?r:"":""}function Nu(r,t,e,n){var i=r.animators,a=i.length,o=[];if(r instanceof K0){var s=v5(r,t,e);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var u={},l=0;l0}).length){var Nt=Ox(w,e);return Nt+" "+m[0]+" both"}}for(var p in u){var s=g(u[p]);s&&o.push(s)}if(o.length){var y=e.zrId+"-cls-"+e.cssClassIdx++;e.cssNodes["."+y]={animation:o.join(",")},t.class=y}}var Za=Math.round;function kx(r){return r&&H(r.src)}function Bx(r){return r&&q(r.toDataURL)}function sc(r,t,e,n){n5(function(i,a){var o=i==="fill"||i==="stroke";o&&WT(a)?S5(t,r,i,n):o&&HT(a)?x5(e,r,i,n):r[i]=a},t,e,!1),_5(e,r,n)}function Xy(r){return Rr(r[0]-1)&&Rr(r[1])&&Rr(r[2])&&Rr(r[3]-1)}function c5(r){return Rr(r[4])&&Rr(r[5])}function uc(r,t,e){if(t&&!(c5(t)&&Xy(t))){var n=e?10:1e4;r.transform=Xy(t)?"translate("+Za(t[4]*n)/n+" "+Za(t[5]*n)/n+")":BT(t)}}function Zy(r,t,e){for(var n=r.points,i=[],a=0;a"u"){var h="Image width/height must been given explictly in svg-ssr renderer.";be(s,h),be(u,h)}else if(s==null||u==null){var c=function(m,_){if(m){var S=m.elm,b=m.attrs.width=s||_.width,x=m.attrs.height=u||_.height;S&&(S.setAttribute("width",b),S.setAttribute("height",x))}},v=iv(l,null,r,function(m){c(d,m),c(o,m)});v&&v.width&&v.height&&(s=s||v.width,u=u||v.height)}o=kt("image","img",{href:l,width:s,height:u}),a.width=s,a.height=u}else i.svgElement&&(o=Q(i.svgElement),a.width=i.svgWidth,a.height=i.svgHeight);if(!!o){a.patternTransform=Gm(i);var d=kt("pattern","",a,[o]),g=oc(d),p=n.patternCache,y=p[g];y||(y=n.zrId+"-p"+n.patternIdx++,p[g]=y,a.id=y,d=n.defs[y]=kt("pattern",y,a,[o])),t[e]=au(y)}}function b5(r,t,e){var n=e.clipPathCache,i=e.defs,a=n[r.id];if(!a){a=e.zrId+"-c"+e.clipPathIdx++;var o={id:a};n[r.id]=a,i[a]=kt("clipPath",a,o,[Nx(r,e)])}t["clip-path"]=au(a)}function jy(r){return document.createTextNode(r)}function xn(r,t,e){r.insertBefore(t,e)}function Qy(r,t){r.removeChild(t)}function Jy(r,t){r.appendChild(t)}function Fx(r){return r.parentNode}function zx(r){return r.nextSibling}function pf(r,t){r.textContent=t}var tm=58,w5=120,T5=kt("","");function Vh(r){return r===void 0}function Ue(r){return r!==void 0}function C5(r,t,e){for(var n={},i=t;i<=e;++i){var a=r[i].key;a!==void 0&&(n[a]=i)}return n}function ha(r,t){var e=r.key===t.key,n=r.tag===t.tag;return n&&e}function qa(r){var t,e=r.children,n=r.tag;if(Ue(n)){var i=r.elm=Ex(n);if(lc(T5,r),F(e))for(t=0;ta?(d=e[u+1]==null?null:e[u+1].elm,Vx(r,d,e,i,u)):Qs(r,t,n,a))}function oi(r,t){var e=t.elm=r.elm,n=r.children,i=t.children;r!==t&&(lc(r,t),Vh(t.text)?Ue(n)&&Ue(i)?n!==i&&M5(e,n,i):Ue(i)?(Ue(r.text)&&pf(e,""),Vx(e,null,i,0,i.length-1)):Ue(n)?Qs(e,n,0,n.length-1):Ue(r.text)&&pf(e,""):r.text!==t.text&&(Ue(n)&&Qs(e,n,0,n.length-1),pf(e,t.text)))}function A5(r,t){if(ha(r,t))oi(r,t);else{var e=r.elm,n=Fx(e);qa(t),n!==null&&(xn(n,t.elm,zx(e)),Qs(n,[r],0,0))}return t}var D5=0,I5=function(){function r(t,e,n){if(this.type="svg",this.refreshHover=em(),this.configLayer=em(),this.storage=e,this._opts=n=B({},n),this.root=t,this._id="zr"+D5++,this._oldVNode=$y(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=Ex("svg");lc(null,this._oldVNode),i.appendChild(a),t.appendChild(i)}this.resize(n.width,n.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",A5(this._oldVNode,t),this._oldVNode=t}},r.prototype.renderOneToVNode=function(t){return Ky(t,zh(this._id))},r.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._backgroundColor,i=this._width,a=this._height,o=zh(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress;var s=[];if(n&&n!=="none"){var u=xi(n),l=u.color,f=u.opacity;this._bgVNode=kt("rect","bg",{width:i,height:a,x:"0",y:"0",id:"0",fill:l,"fill-opacity":f}),s.push(this._bgVNode)}else this._bgVNode=null;var h=t.compress?null:this._mainVNode=kt("g","main",{},[]);this._paintList(e,o,h?h.children:s),h&&s.push(h);var c=N(ut(o.defs),function(g){return o.defs[g]});if(c.length&&s.push(kt("defs","defs",{},c)),t.animation){var v=u5(o.cssNodes,o.cssAnims,{newline:!0});if(v){var d=kt("style","stl",{},[],v);s.push(d)}}return $y(i,a,s,t.useViewBox)},r.prototype.renderToString=function(t){return t=t||{},oc(this.renderToVNode({animation:j(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:j(t.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var n=xi(t),i=n.color,a=n.opacity;e.elm.setAttribute("fill",i),a<1&&e.elm.setAttribute("fill-opacity",a)}},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(t,e,n){for(var i=t.length,a=[],o=0,s,u,l=0,f=0;f=0&&!(c&&u&&c[g]===u[g]);g--);for(var p=d-1;p>g;p--)o--,s=a[o-1];for(var y=g+1;y=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&y.restore()};if(m)if(m.length===0)T=p.__endIndex;else for(var M=v.dpr,D=0;D0&&t>i[0]){for(u=0;ut);u++);s=n[i[u]]}if(i.splice(u+1,0,t),n[t]=e,!e.virtual)if(s){var l=s.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},r.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?Jo:0),this._needsManuallyCompositing),f.__builtin__||Yh("ZLevel "+l+" has been used by unkown layer "+f.id),f!==a&&(f.__used=!0,f.__startIndex!==u&&(f.__dirty=!0),f.__startIndex=u,f.incremental?f.__drawIndex=-1:f.__drawIndex=u,e(u),a=f),i.__dirty&ue&&!i.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=u))}e(u),this.eachBuiltinLayer(function(h,c){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(t){t.clear()},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t,A(this._layers,function(e){e.setUnpainted()})},r.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?tt(n[t],e,!0):n[t]=e;for(var i=0;i{r&&t&&e&&r.addEventListener(t,e,n)},V5=(r,t,e,n=!1)=>{r&&t&&e&&r.removeEventListener(t,e,n)},na=lm({name:"RayChart",props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},autoResize:{type:[Boolean,Object],default:!0},canvasRender:{type:Boolean,default:!0},showAria:{type:Boolean,default:!1},options:{type:Object,default:()=>({})},renderSuccess:{type:Function,default:()=>({})},theme:{type:[String,Object],default:""},autoChangeTheme:{type:Boolean,default:!1}},setup(r){const t=eb(),{themeValue:e}=rb(t),n=va(),i=va();let a;const o=nb(()=>({"--ray-chart-width":r.width,"--ray-chart-height":r.height})),s=async()=>{le([vk,lk,vE,Kk,Xk,Ik,VO,Ok]),le([BB,mB,KB,CN,aN]),le([eR,KN]),le([r.canvasRender?F5:P5])},u=()=>{let v=Mw(r.options);const d=g=>Object.assign(v,g);return r.showAria&&(v=d({aria:{enabled:!0,decal:{show:!0}}})),v},l=v=>{const d=n.value,g=u();a=p2(d,v),i.value=a,g&&a.setOption(g)},f=v=>{if(r.autoChangeTheme){l(v?"dark":"");return}r.theme||l("")},h=()=>{a&&(a.clear(),a.dispose())},c=()=>{a&&a.resize()};return vc(()=>e.value,v=>{r.autoChangeTheme&&(h(),f(v))}),vc(()=>r.showAria,()=>{h(),f()}),ib(async()=>{await s()}),ab(()=>{ob(()=>{r.autoChangeTheme?f(e.value):r.theme?l("dark"):l(""),r.autoResize&&z5(window,"resize",c)})}),sb(()=>{h(),V5(window,"resize",c)}),{rayChartRef:n,cssVarsRef:o,echartInstance:i}},render(){return Pt("div",{class:"ray-chart",style:[this.cssVarsRef],ref:"rayChartRef"},null)}}),H5=lm({name:"Echart",setup(){const r=va(),t=va(!1),e=va(!1);return{baseOptions:{legend:{},tooltip:{},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{name:"\u65E5\u671F",data:[120,200,150,80,70,110,130],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}}]},baseChartRef:r,chartLoading:t,handleLoadingShow:o=>{if(r.value){const{echartInstance:s}=r.value;o?s.showLoading():s.hideLoading()}},chartAria:e,handleAriaShow:o=>{e.value=o}}},render(){return Pt("div",{class:"echart"},[Pt(zn,{title:"RayChart\u7EC4\u4EF6\u4F7F\u7528"},{default:()=>[ub("\u5728\u4F7F\u7528\u8BE5\u7EC4\u4EF6\u65F6, \u4E00\u5B9A\u8981\u6CE8\u610F\u6839\u7EC4\u4EF6\u7684\u9AD8\u5EA6\u521D\u59CB\u5316\u95EE\u9898, \u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4F59\u7684\u56FE\u5229, \u9700\u8981\u81EA\u5DF1\u624B\u52A8\u53BB\u6CE8\u518C. \u8BE5\u7EC4\u4EF6\u5B9E\u73B0\u4E86\u81EA\u52A8\u8DDF\u968F\u6A21\u677F\u4E3B\u9898\u5207\u6362\u529F\u80FD, \u4F46\u662F\u52A8\u6001\u5207\u6362\u635F\u8017\u8F83\u5927, \u6240\u4EE5\u9ED8\u8BA4\u4E0D\u542F\u7528")]}),Pt(zn,{title:"\u57FA\u7840\u4F7F\u7528"},{default:()=>[Pt("div",{class:"chart--container"},[Pt(na,{options:this.baseOptions},null)])]}),Pt(zn,{title:"\u80FD\u8DDF\u968F\u4E3B\u9898\u5207\u6362\u7684\u53EF\u89C6\u5316\u56FE"},{default:()=>[Pt("div",{class:"chart--container"},[Pt(na,{autoChangeTheme:!0,options:this.baseOptions},null)])]}),Pt(zn,{title:"\u4E0D\u8DDF\u968F\u4E3B\u9898\u5207\u6362\u7684\u6697\u8272\u4E3B\u9898\u53EF\u89C6\u5316\u56FE"},{default:()=>[Pt("div",{class:"chart--container"},[Pt(na,{theme:"dark",options:this.baseOptions},null)])]}),Pt(zn,{title:"\u52A0\u8F7D\u52A8\u753B"},{default:()=>[Pt(cc,{value:this.chartLoading,"onUpdate:value":r=>this.chartLoading=r,onUpdateValue:this.handleLoadingShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"\u9690\u85CF\u52A0\u8F7D\u52A8\u753B",unchecked:()=>"\u663E\u793A\u52A0\u8F7D\u52A8\u753B"}),Pt("div",{class:"chart--container"},[Pt(na,{ref:"baseChartRef",options:this.baseOptions},null)])]}),Pt(zn,{title:"\u8D34\u753B\u53EF\u89C6\u5316\u56FE"},{default:()=>[Pt(cc,{value:this.chartAria,"onUpdate:value":r=>this.chartAria=r,onUpdateValue:this.handleAriaShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"\u9690\u85CF\u8D34\u82B1",unchecked:()=>"\u663E\u793A\u8D34\u82B1"}),Pt("div",{class:"chart--container"},[Pt(na,{options:this.baseOptions,showAria:this.chartAria},null)])]})])}});export{H5 as default}; diff --git a/assets/index.4278c5fb.js.gz b/assets/index.4278c5fb.js.gz new file mode 100644 index 00000000..aef62b99 Binary files /dev/null and b/assets/index.4278c5fb.js.gz differ diff --git a/assets/index.82c4ec33.js b/assets/index.53066b8a.js similarity index 98% rename from assets/index.82c4ec33.js rename to assets/index.53066b8a.js index f10be65b..2bc7f5a2 100644 --- a/assets/index.82c4ec33.js +++ b/assets/index.53066b8a.js @@ -1 +1 @@ -import{d as F,r as h,aF as k,a7 as u,am as s,ai as C,aA as p,aB as c,aD as x,ab as A}from"./index.9839d7cd.js";function d(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!A(t)}const B=F({name:"RelyAbout",setup(){const{pkg:t}={pkg:{dependencies:{"@vueuse/core":"^9.1.0","amfe-flexible":"^2.2.1",axios:"^0.27.2","crypto-js":"^4.1.1",echarts:"^5.4.0","lodash-es":"^4.17.21","naive-ui":"^2.34.0",pinia:"^2.0.17","pinia-plugin-persistedstate":"^2.4.0",sass:"^1.54.3",screenfull:"^6.0.2",vue:"^3.2.37","vue-i18n":"^9.2.2","vue-router":"^4.1.3"},devDependencies:{"@babel/core":"^7.20.2","@babel/eslint-parser":"^7.19.1","@intlify/unplugin-vue-i18n":"^0.5.0","@types/crypto-js":"^4.1.1","@types/scrollreveal":"^0.0.8","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","@vitejs/plugin-vue":"^3.0.0","@vitejs/plugin-vue-jsx":"^2.0.0",autoprefixer:"^10.4.8",eslint:"^8.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^23.0.0","eslint-plugin-import":"^2.25.2","eslint-plugin-n":"^15.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.0.0","eslint-plugin-react":"^7.31.10","eslint-plugin-vue":"^9.7.0",postcss:"^8.1.0","postcss-pxtorem":"^6.0.0",prettier:"^2.7.1","svg-sprite-loader":"^6.0.11",typescript:"*","unplugin-auto-import":"^0.11.0","unplugin-vue-components":"^0.22.0",vite:"^3.2.4","vite-plugin-compression":"^0.5.1","vite-plugin-eslint":"^1.8.1","vite-plugin-imp":"^2.3.1","vite-plugin-inspect":"^0.6.0","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^3.4.0","vue-tsc":"^1.0.9"},name:"ray-template",version:"0.0.0"}},{dependencies:n,devDependencies:e,name:m,version:E}=t,y=[{title:"\u4F9D\u8D56\u540D\u79F0",key:"name"},{title:"\u4F9D\u8D56\u7248\u672C",key:"relyVersion"},{title:"\u4F9D\u8D56\u5730\u5740",key:"relyAddress"}],l=h([]),v=[{name:"\u9879\u76EE\u540D\u79F0",label:m},{name:"\u7248\u672C\u4FE1\u606F",label:E},{name:"\u9879\u76EE\u5730\u5740",label:"GitHub",url:"https://github.com/XiaoDaiGua-Ray/ray-template"}],g=()=>{const i=a=>Object.keys(a).reduce((r,o)=>(r.push({name:o,relyVersion:a[o],relyAddress:""}),r),[]),b=i(n),D=i(e);l.value=[...b,...D]},f=i=>{i.url&&window.open(i.url)};return k(()=>{g()}),{columns:y,relyData:l,templateOptions:v,handleTagClick:f}},render(){let t,n;return u("div",{class:"rely-about"},[u(s,{title:"\u5173\u4E8E\u9879\u76EE"},{default:()=>[C("ray template \u662F\u4E00\u4E2A\u57FA\u4E8E: tsx pinia vue3.x vite sass \u7684\u4E2D\u540E\u53F0\u89E3\u51B3\u65B9\u6848. \u9879\u76EE\u5E72\u51C0\u4E0E\u8F7B\u5DE7, \u5DF2\u7ECF\u96C6\u6210\u4E86\u5F88\u591A\u9879\u76EE\u4E2D\u53EF\u80FD\u9700\u8981\u7684\u642C\u7816\u5DE5\u5177\u53EF\u4EE5\u8BA9\u4F60\u5FEB\u901F\u8D77\u4E00\u4E2A\u76F8\u5173\u9879\u76EE, \u5E76\u4E14\u4E0D\u9700\u8981\u5254\u9664\u5927\u91CF\u65E0\u7528\u9875\u9762\u4E0E\u7EC4\u4EF6.")]}),u(s,{title:"\u9879\u76EE\u4FE1\u606F"},{default:()=>[u(p,{bordered:!0,labelPlacement:"left"},d(t=this.templateOptions.map(e=>u(c,{key:e.name,label:e.name},{default:()=>[u(x,{bordered:!1,type:"info",onClick:this.handleTagClick.bind(this,e),style:[e.url?"cursor: pointer":""]},{default:()=>[e.label]})]})))?t:{default:()=>[t]})]}),u(s,{title:"\u9879\u76EE\u4F9D\u8D56"},{default:()=>[u(p,{bordered:!0,labelPlacement:"left"},d(n=this.relyData.map(e=>u(c,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?n:{default:()=>[n]})]})])}});export{B as default}; +import{d as F,r as h,aF as k,a7 as u,am as s,ai as C,aA as p,aB as c,aD as x,ab as A}from"./index.dfa30cb8.js";function d(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!A(t)}const B=F({name:"RelyAbout",setup(){const{pkg:t}={pkg:{dependencies:{"@vueuse/core":"^9.1.0","amfe-flexible":"^2.2.1",axios:"^0.27.2","crypto-js":"^4.1.1",echarts:"^5.4.0","lodash-es":"^4.17.21","naive-ui":"^2.34.0",pinia:"^2.0.17","pinia-plugin-persistedstate":"^2.4.0",sass:"^1.54.3",screenfull:"^6.0.2",vue:"^3.2.37","vue-i18n":"^9.2.2","vue-router":"^4.1.3"},devDependencies:{"@babel/core":"^7.20.2","@babel/eslint-parser":"^7.19.1","@intlify/unplugin-vue-i18n":"^0.5.0","@types/crypto-js":"^4.1.1","@types/scrollreveal":"^0.0.8","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","@vitejs/plugin-vue":"^3.0.0","@vitejs/plugin-vue-jsx":"^2.0.0",autoprefixer:"^10.4.8",eslint:"^8.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^23.0.0","eslint-plugin-import":"^2.25.2","eslint-plugin-n":"^15.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.0.0","eslint-plugin-react":"^7.31.10","eslint-plugin-vue":"^9.7.0",postcss:"^8.1.0","postcss-pxtorem":"^6.0.0",prettier:"^2.7.1","svg-sprite-loader":"^6.0.11",typescript:"*","unplugin-auto-import":"^0.11.0","unplugin-vue-components":"^0.22.0",vite:"^3.2.4","vite-plugin-compression":"^0.5.1","vite-plugin-eslint":"^1.8.1","vite-plugin-imp":"^2.3.1","vite-plugin-inspect":"^0.6.0","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^3.4.0","vue-tsc":"^1.0.9"},name:"ray-template",version:"0.0.0"}},{dependencies:n,devDependencies:e,name:m,version:E}=t,y=[{title:"\u4F9D\u8D56\u540D\u79F0",key:"name"},{title:"\u4F9D\u8D56\u7248\u672C",key:"relyVersion"},{title:"\u4F9D\u8D56\u5730\u5740",key:"relyAddress"}],l=h([]),v=[{name:"\u9879\u76EE\u540D\u79F0",label:m},{name:"\u7248\u672C\u4FE1\u606F",label:E},{name:"\u9879\u76EE\u5730\u5740",label:"GitHub",url:"https://github.com/XiaoDaiGua-Ray/ray-template"}],g=()=>{const i=a=>Object.keys(a).reduce((r,o)=>(r.push({name:o,relyVersion:a[o],relyAddress:""}),r),[]),b=i(n),D=i(e);l.value=[...b,...D]},f=i=>{i.url&&window.open(i.url)};return k(()=>{g()}),{columns:y,relyData:l,templateOptions:v,handleTagClick:f}},render(){let t,n;return u("div",{class:"rely-about"},[u(s,{title:"\u5173\u4E8E\u9879\u76EE"},{default:()=>[C("ray template \u662F\u4E00\u4E2A\u57FA\u4E8E: tsx pinia vue3.x vite sass \u7684\u4E2D\u540E\u53F0\u89E3\u51B3\u65B9\u6848. \u9879\u76EE\u5E72\u51C0\u4E0E\u8F7B\u5DE7, \u5DF2\u7ECF\u96C6\u6210\u4E86\u5F88\u591A\u9879\u76EE\u4E2D\u53EF\u80FD\u9700\u8981\u7684\u642C\u7816\u5DE5\u5177\u53EF\u4EE5\u8BA9\u4F60\u5FEB\u901F\u8D77\u4E00\u4E2A\u76F8\u5173\u9879\u76EE, \u5E76\u4E14\u4E0D\u9700\u8981\u5254\u9664\u5927\u91CF\u65E0\u7528\u9875\u9762\u4E0E\u7EC4\u4EF6.")]}),u(s,{title:"\u9879\u76EE\u4FE1\u606F"},{default:()=>[u(p,{bordered:!0,labelPlacement:"left"},d(t=this.templateOptions.map(e=>u(c,{key:e.name,label:e.name},{default:()=>[u(x,{bordered:!1,type:"info",onClick:this.handleTagClick.bind(this,e),style:[e.url?"cursor: pointer":""]},{default:()=>[e.label]})]})))?t:{default:()=>[t]})]}),u(s,{title:"\u9879\u76EE\u4F9D\u8D56"},{default:()=>[u(p,{bordered:!0,labelPlacement:"left"},d(n=this.relyData.map(e=>u(c,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?n:{default:()=>[n]})]})])}});export{B as default}; diff --git a/assets/index.53066b8a.js.gz b/assets/index.53066b8a.js.gz new file mode 100644 index 00000000..c5f1b6ea Binary files /dev/null and b/assets/index.53066b8a.js.gz differ diff --git a/assets/index.e013f9e4.js b/assets/index.5a9eb743.js similarity index 58% rename from assets/index.e013f9e4.js rename to assets/index.5a9eb743.js index 99ea0443..dac5f46e 100644 --- a/assets/index.e013f9e4.js +++ b/assets/index.5a9eb743.js @@ -1 +1 @@ -import{d as e,a7 as r,aE as n}from"./index.9839d7cd.js";const a=e({name:"Rely",setup(){return{}},render(){return r(n,null,null)}});export{a as default}; +import{d as e,a7 as r,aE as n}from"./index.dfa30cb8.js";const a=e({name:"Rely",setup(){return{}},render(){return r(n,null,null)}});export{a as default}; diff --git a/assets/index.82c4ec33.js.gz b/assets/index.82c4ec33.js.gz deleted file mode 100644 index 2619fc25..00000000 Binary files a/assets/index.82c4ec33.js.gz and /dev/null differ diff --git a/assets/index.a8550763.js b/assets/index.87c6b1fe.js similarity index 93% rename from assets/index.a8550763.js rename to assets/index.87c6b1fe.js index ecd11892..303a6a01 100644 --- a/assets/index.a8550763.js +++ b/assets/index.87c6b1fe.js @@ -1 +1 @@ -import{d as r,a7 as e,am as n,h as f,al as d,aA as p,aB as c,aC as b,ab as E,aD as o,ai as t,ah as l}from"./index.9839d7cd.js";import{R as m}from"./index.ef5082a3.js";function i(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!E(a)}const h=r({name:"Dashboard",setup(){return{coverLetterOptions:[{label:"\u638C\u63E1\u642C\u7816\u6846\u67B6",des:()=>e(l,null,{default:()=>[e(o,{type:"success"},{default:()=>[t("Vue3.x")]}),e(o,{type:"info"},{default:()=>[t("React")]})]})},{label:"\u4ECE\u4E8B\u642C\u7816\u65F6\u957F",des:()=>e(l,null,{default:()=>[e(o,{type:"success"},{default:()=>[t("\u7EC3\u4E60\u65F6\u957F\u4E24\u5E74\u534A\u7684\u5C0F\u767D\u524D\u7AEF\u642C\u7816\u5E08")]})]})},{label:"\u4E2A\u4EBA",des:()=>e(l,{align:"center"},{default:()=>[e(d,{name:"ray",size:"22"},null),t("\u52AA\u529B\u642C\u7816\u3001\u52AA\u529B\u6478\u9C7C, \u5EFA\u8BBE\u7F8E\u4E3D\u5BB6\u56ED")]}),span:2},{label:"\u8865\u5145\u8BF4\u660E",des:()=>e(l,{align:"center"},{default:()=>[t("\u5982\u679C\u6709\u5E0C\u671B\u8865\u5145\u7684\u529F\u80FD\u53EF\u4EE5\u5728"),e("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[t("GitHub")]),t("\u63D0\u4E00\u4E2A Issues")]}),span:2}]}},render(){let a;return e(b,{class:"dashboard-layout layout-full"},{default:()=>[e(n,null,{header:()=>f(d,{name:"ray",size:"64"},{}),default:()=>"\u5F53\u4F60\u770B\u89C1\u8FD9\u4E2A\u9875\u9762\u540E, \u5C31\u8BF4\u660E\u9879\u76EE\u5DF2\u7ECF\u542F\u52A8\u6210\u529F\u4E86~"}),e(n,{title:"\u4E2A\u4EBA\u4ECB\u7ECD"},{default:()=>[e(p,{bordered:!0,labelPlacement:"left",column:2},i(a=this.coverLetterOptions.map(u=>{let s;return e(c,{key:u.label,label:u.label,span:u==null?void 0:u.span},i(s=u.des())?s:{default:()=>[s]})}))?a:{default:()=>[a]})]}),e(n,{title:"\u53CB\u60C5\u94FE\u63A5"},{default:()=>[e(m,null,null)]})]})}});export{h as default}; +import{d as r,a7 as e,am as n,h as f,al as d,aA as p,aB as c,aC as b,ab as E,aD as o,ai as t,ah as l}from"./index.dfa30cb8.js";import{R as m}from"./index.1e5b801c.js";function i(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!E(a)}const h=r({name:"Dashboard",setup(){return{coverLetterOptions:[{label:"\u638C\u63E1\u642C\u7816\u6846\u67B6",des:()=>e(l,null,{default:()=>[e(o,{type:"success"},{default:()=>[t("Vue3.x")]}),e(o,{type:"info"},{default:()=>[t("React")]})]})},{label:"\u4ECE\u4E8B\u642C\u7816\u65F6\u957F",des:()=>e(l,null,{default:()=>[e(o,{type:"success"},{default:()=>[t("\u7EC3\u4E60\u65F6\u957F\u4E24\u5E74\u534A\u7684\u5C0F\u767D\u524D\u7AEF\u642C\u7816\u5E08")]})]})},{label:"\u4E2A\u4EBA",des:()=>e(l,{align:"center"},{default:()=>[e(d,{name:"ray",size:"22"},null),t("\u52AA\u529B\u642C\u7816\u3001\u52AA\u529B\u6478\u9C7C, \u5EFA\u8BBE\u7F8E\u4E3D\u5BB6\u56ED")]}),span:2},{label:"\u8865\u5145\u8BF4\u660E",des:()=>e(l,{align:"center"},{default:()=>[t("\u5982\u679C\u6709\u5E0C\u671B\u8865\u5145\u7684\u529F\u80FD\u53EF\u4EE5\u5728"),e("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[t("GitHub")]),t("\u63D0\u4E00\u4E2A Issues")]}),span:2}]}},render(){let a;return e(b,{class:"dashboard-layout layout-full"},{default:()=>[e(n,null,{header:()=>f(d,{name:"ray",size:"64"},{}),default:()=>"\u5F53\u4F60\u770B\u89C1\u8FD9\u4E2A\u9875\u9762\u540E, \u5C31\u8BF4\u660E\u9879\u76EE\u5DF2\u7ECF\u542F\u52A8\u6210\u529F\u4E86~"}),e(n,{title:"\u4E2A\u4EBA\u4ECB\u7ECD"},{default:()=>[e(p,{bordered:!0,labelPlacement:"left",column:2},i(a=this.coverLetterOptions.map(u=>{let s;return e(c,{key:u.label,label:u.label,span:u==null?void 0:u.span},i(s=u.des())?s:{default:()=>[s]})}))?a:{default:()=>[a]})]}),e(n,{title:"\u53CB\u60C5\u94FE\u63A5"},{default:()=>[e(m,null,null)]})]})}});export{h as default}; diff --git a/assets/index.87c6b1fe.js.gz b/assets/index.87c6b1fe.js.gz new file mode 100644 index 00000000..383e6eba Binary files /dev/null and b/assets/index.87c6b1fe.js.gz differ diff --git a/assets/index.a8550763.js.gz b/assets/index.a8550763.js.gz deleted file mode 100644 index 64810f24..00000000 Binary files a/assets/index.a8550763.js.gz and /dev/null differ diff --git a/assets/index.95eed540.js b/assets/index.d49023d8.js similarity index 72% rename from assets/index.95eed540.js rename to assets/index.d49023d8.js index e8852dd9..5f0cbf1d 100644 --- a/assets/index.95eed540.js +++ b/assets/index.d49023d8.js @@ -1 +1 @@ -import{d as t,a7 as e,aa as r,ai as o,ac as s}from"./index.9839d7cd.js";import{N as n}from"./Result.8e6f40c9.js";const i=t({name:"ErrorPage",setup(){const a=s();return{handleBack:()=>{a.push("/dashboard")}}},render(){return e("div",{class:"error-page"},[e(n,{status:"500",title:"\u5C0F\u8C03\u76AE\u4F60\u8D70\u9519\u5730\u65B9\u4E86"},{footer:()=>e(r,{onClick:this.handleBack.bind(this)},{default:()=>[o("\u8FD4\u56DE\u9996\u9875")]})})])}});export{i as default}; +import{d as t,a7 as e,aa as r,ai as o,ac as s}from"./index.dfa30cb8.js";import{N as n}from"./Result.9786211f.js";const i=t({name:"ErrorPage",setup(){const a=s();return{handleBack:()=>{a.push("/dashboard")}}},render(){return e("div",{class:"error-page"},[e(n,{status:"500",title:"\u5C0F\u8C03\u76AE\u4F60\u8D70\u9519\u5730\u65B9\u4E86"},{footer:()=>e(r,{onClick:this.handleBack.bind(this)},{default:()=>[o("\u8FD4\u56DE\u9996\u9875")]})})])}});export{i as default}; diff --git a/assets/index.9839d7cd.js b/assets/index.dfa30cb8.js similarity index 99% rename from assets/index.9839d7cd.js rename to assets/index.dfa30cb8.js index 92ed6450..96a476d1 100644 --- a/assets/index.9839d7cd.js +++ b/assets/index.dfa30cb8.js @@ -2343,4 +2343,4 @@ ${t} * vue-router v4.1.3 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const yn=typeof window<"u";function LI(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const et=Object.assign;function rs(e,t){const o={};for(const r in t){const n=t[r];o[r]=mo(n)?n.map(e):e(n)}return o}const yi=()=>{},mo=Array.isArray,DI=/\/$/,FI=e=>e.replace(DI,"");function ns(e,t,o="/"){let r,n={},i="",l="";const a=t.indexOf("#");let s=t.indexOf("?");return a=0&&(s=-1),s>-1&&(r=t.slice(0,s),i=t.slice(s+1,a>-1?a:t.length),n=e(i)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=WI(r!=null?r:t,o),{fullPath:r+(i&&"?")+i+l,path:r,query:n,hash:l}}function HI(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}function kh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function NI(e,t,o){const r=t.matched.length-1,n=o.matched.length-1;return r>-1&&r===n&&Mn(t.matched[r],o.matched[n])&&xb(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}function Mn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!jI(e[o],t[o]))return!1;return!0}function jI(e,t){return mo(e)?Eh(e,t):mo(t)?Eh(t,e):e===t}function Eh(e,t){return mo(t)?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function WI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const o=t.split("/"),r=e.split("/");let n=o.length-1,i,l;for(i=0;i1&&n--;else break;return o.slice(0,n).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Wi;(function(e){e.pop="pop",e.push="push"})(Wi||(Wi={}));var wi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(wi||(wi={}));function VI(e){if(!e)if(yn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),FI(e)}const UI=/^[^#]+#/;function KI(e,t){return e.replace(UI,"#")+t}function GI(e,t){const o=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-o.left-(t.left||0),top:r.top-o.top-(t.top||0)}}const za=()=>({left:window.pageXOffset,top:window.pageYOffset});function qI(e){let t;if("el"in e){const o=e.el,r=typeof o=="string"&&o.startsWith("#"),n=typeof o=="string"?r?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!n)return;t=GI(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ih(e,t){return(history.state?history.state.position-t:-1)+e}const ac=new Map;function YI(e,t){ac.set(e,t)}function XI(e){const t=ac.get(e);return ac.delete(e),t}let ZI=()=>location.protocol+"//"+location.host;function Cb(e,t){const{pathname:o,search:r,hash:n}=t,i=e.indexOf("#");if(i>-1){let a=n.includes(e.slice(i))?e.slice(i).length:1,s=n.slice(a);return s[0]!=="/"&&(s="/"+s),kh(s,"")}return kh(o,e)+r+n}function JI(e,t,o,r){let n=[],i=[],l=null;const a=({state:f})=>{const p=Cb(e,location),h=o.value,b=t.value;let v=0;if(f){if(o.value=p,t.value=f,l&&l===h){l=null;return}v=b?f.position-b.position:0}else r(p);n.forEach(g=>{g(o.value,h,{delta:v,type:Wi.pop,direction:v?v>0?wi.forward:wi.back:wi.unknown})})};function s(){l=o.value}function c(f){n.push(f);const p=()=>{const h=n.indexOf(f);h>-1&&n.splice(h,1)};return i.push(p),p}function d(){const{history:f}=window;!f.state||f.replaceState(et({},f.state,{scroll:za()}),"")}function u(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:s,listen:c,destroy:u}}function Rh(e,t,o,r=!1,n=!1){return{back:e,current:t,forward:o,replaced:r,position:window.history.length,scroll:n?za():null}}function QI(e){const{history:t,location:o}=window,r={value:Cb(e,o)},n={value:t.state};n.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,c,d){const u=e.indexOf("#"),f=u>-1?(o.host&&document.querySelector("base")?e:e.slice(u))+s:ZI()+e+s;try{t[d?"replaceState":"pushState"](c,"",f),n.value=c}catch(p){console.error(p),o[d?"replace":"assign"](f)}}function l(s,c){const d=et({},t.state,Rh(n.value.back,s,n.value.forward,!0),c,{position:n.value.position});i(s,d,!0),r.value=s}function a(s,c){const d=et({},n.value,t.state,{forward:s,scroll:za()});i(d.current,d,!0);const u=et({},Rh(r.value,s,null),{position:d.position+1},c);i(s,u,!1),r.value=s}return{location:r,state:n,push:a,replace:l}}function eR(e){e=VI(e);const t=QI(e),o=JI(e,t.state,t.location,t.replace);function r(i,l=!0){l||o.pauseListeners(),history.go(i)}const n=et({location:"",base:e,go:r,createHref:KI.bind(null,e)},t,o);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>t.state.value}),n}function tR(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),eR(e)}function oR(e){return typeof e=="string"||e&&typeof e=="object"}function yb(e){return typeof e=="string"||typeof e=="symbol"}const or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wb=Symbol("");var Oh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Oh||(Oh={}));function Bn(e,t){return et(new Error,{type:e,[wb]:!0},t)}function Ao(e,t){return e instanceof Error&&wb in e&&(t==null||!!(e.type&t))}const Ah="[^/]+?",rR={sensitive:!1,strict:!1,start:!0,end:!0},nR=/[.+*?^${}()[\]/\\]/g;function iR(e,t){const o=et({},rR,t),r=[];let n=o.start?"^":"";const i=[];for(const c of e){const d=c.length?[]:[90];o.strict&&!c.length&&(n+="/");for(let u=0;ut.length?t.length===1&&t[0]===40+40?1:-1:0}function aR(e,t){let o=0;const r=e.score,n=t.score;for(;o0&&t[t.length-1]<0}const sR={type:0,value:""},cR=/[a-zA-Z0-9_]/;function dR(e){if(!e)return[[]];if(e==="/")return[[sR]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${o})/"${c}": ${p}`)}let o=0,r=o;const n=[];let i;function l(){i&&n.push(i),i=[]}let a=0,s,c="",d="";function u(){!c||(o===0?i.push({type:0,value:c}):o===1||o===2||o===3?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:d,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=s}for(;a{l(S)}:yi}function l(d){if(yb(d)){const u=r.get(d);u&&(r.delete(d),o.splice(o.indexOf(u),1),u.children.forEach(l),u.alias.forEach(l))}else{const u=o.indexOf(d);u>-1&&(o.splice(u,1),d.record.name&&r.delete(d.record.name),d.children.forEach(l),d.alias.forEach(l))}}function a(){return o}function s(d){let u=0;for(;u=0&&(d.record.path!==o[u].record.path||!Sb(d,o[u]));)u++;o.splice(u,0,d),d.record.name&&!Bh(d)&&r.set(d.record.name,d)}function c(d,u){let f,p={},h,b;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw Bn(1,{location:d});b=f.record.name,p=et(hR(u.params,f.keys.filter(S=>!S.optional).map(S=>S.name)),d.params),h=f.stringify(p)}else if("path"in d)h=d.path,f=o.find(S=>S.re.test(h)),f&&(p=f.parse(h),b=f.record.name);else{if(f=u.name?r.get(u.name):o.find(S=>S.re.test(u.path)),!f)throw Bn(1,{location:d,currentLocation:u});b=f.record.name,p=et({},u.params,d.params),h=f.stringify(p)}const v=[];let g=f;for(;g;)v.unshift(g.record),g=g.parent;return{name:b,path:h,params:p,matched:v,meta:gR(v)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:n}}function hR(e,t){const o={};for(const r of t)r in e&&(o[r]=e[r]);return o}function pR(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:mR(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function mR(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const r in e.components)t[r]=typeof o=="boolean"?o:o[r];return t}function Bh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gR(e){return e.reduce((t,o)=>et(t,o.meta),{})}function Lh(e,t){const o={};for(const r in e)o[r]=r in t?t[r]:e[r];return o}function Sb(e,t){return t.children.some(o=>o===e||Sb(e,o))}const $b=/#/g,vR=/&/g,bR=/\//g,xR=/=/g,CR=/\?/g,_b=/\+/g,yR=/%5B/g,wR=/%5D/g,Pb=/%5E/g,SR=/%60/g,zb=/%7B/g,$R=/%7C/g,Tb=/%7D/g,_R=/%20/g;function jd(e){return encodeURI(""+e).replace($R,"|").replace(yR,"[").replace(wR,"]")}function PR(e){return jd(e).replace(zb,"{").replace(Tb,"}").replace(Pb,"^")}function sc(e){return jd(e).replace(_b,"%2B").replace(_R,"+").replace($b,"%23").replace(vR,"%26").replace(SR,"`").replace(zb,"{").replace(Tb,"}").replace(Pb,"^")}function zR(e){return sc(e).replace(xR,"%3D")}function TR(e){return jd(e).replace($b,"%23").replace(CR,"%3F")}function kR(e){return e==null?"":TR(e).replace(bR,"%2F")}function ql(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ER(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;ni&&sc(i)):[r&&sc(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+o,i!=null&&(t+="="+i))})}return t}function IR(e){const t={};for(const o in e){const r=e[o];r!==void 0&&(t[o]=mo(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return t}const RR=Symbol(""),Fh=Symbol(""),Ta=Symbol(""),Wd=Symbol(""),cc=Symbol("");function ii(){let e=[];function t(r){return e.push(r),()=>{const n=e.indexOf(r);n>-1&&e.splice(n,1)}}function o(){e=[]}return{add:t,list:()=>e,reset:o}}function lr(e,t,o,r,n){const i=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((l,a)=>{const s=u=>{u===!1?a(Bn(4,{from:o,to:t})):u instanceof Error?a(u):oR(u)?a(Bn(2,{from:t,to:u})):(i&&r.enterCallbacks[n]===i&&typeof u=="function"&&i.push(u),l())},c=e.call(r&&r.instances[n],t,o,s);let d=Promise.resolve(c);e.length<3&&(d=d.then(s)),d.catch(u=>a(u))})}function is(e,t,o,r){const n=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(OR(a)){const c=(a.__vccOpts||a)[t];c&&n.push(lr(c,o,r,i,l))}else{let s=a();n.push(()=>s.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const d=LI(c)?c.default:c;i.components[l]=d;const f=(d.__vccOpts||d)[t];return f&&lr(f,o,r,i,l)()}))}}return n}function OR(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Hh(e){const t=ge(Ta),o=ge(Wd),r=M(()=>t.resolve(Fo(e.to))),n=M(()=>{const{matched:s}=r.value,{length:c}=s,d=s[c-1],u=o.matched;if(!d||!u.length)return-1;const f=u.findIndex(Mn.bind(null,d));if(f>-1)return f;const p=Nh(s[c-2]);return c>1&&Nh(d)===p&&u[u.length-1].path!==p?u.findIndex(Mn.bind(null,s[c-2])):f}),i=M(()=>n.value>-1&&LR(o.params,r.value.params)),l=M(()=>n.value>-1&&n.value===o.matched.length-1&&xb(o.params,r.value.params));function a(s={}){return BR(s)?t[Fo(e.replace)?"replace":"push"](Fo(e.to)).catch(yi):Promise.resolve()}return{route:r,href:M(()=>r.value.href),isActive:i,isExactActive:l,navigate:a}}const AR=le({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Hh,setup(e,{slots:t}){const o=io(Hh(e)),{options:r}=ge(Ta),n=M(()=>({[jh(e.activeClass,r.linkActiveClass,"router-link-active")]:o.isActive,[jh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const i=t.default&&t.default(o);return e.custom?i:m("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:n.value},i)}}}),MR=AR;function BR(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function LR(e,t){for(const o in t){const r=t[o],n=e[o];if(typeof r=="string"){if(r!==n)return!1}else if(!mo(n)||n.length!==r.length||r.some((i,l)=>i!==n[l]))return!1}return!0}function Nh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jh=(e,t,o)=>e!=null?e:t!=null?t:o,DR=le({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){const r=ge(cc),n=M(()=>e.route||r.value),i=ge(Fh,0),l=M(()=>{let c=Fo(i);const{matched:d}=n.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),a=M(()=>n.value.matched[l.value]);Re(Fh,M(()=>l.value+1)),Re(RR,a),Re(cc,n);const s=U();return Ke(()=>[s.value,a.value,e.name],([c,d,u],[f,p,h])=>{d&&(d.instances[u]=c,p&&p!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!Mn(d,p)||!f)&&(d.enterCallbacks[u]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=n.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return Wh(o.default,{Component:f,route:c});const p=u.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=m(f,et({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(u.instances[d]=null)},ref:s}));return Wh(o.default,{Component:v,route:c})||v}}});function Wh(e,t){if(!e)return null;const o=e(t);return o.length===1?o[0]:o}const kb=DR;function FR(e){const t=fR(e.routes,e),o=e.parseQuery||ER,r=e.stringifyQuery||Dh,n=e.history,i=ii(),l=ii(),a=ii(),s=p1(or);let c=or;yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=rs.bind(null,Y=>""+Y),u=rs.bind(null,kR),f=rs.bind(null,ql);function p(Y,Q){let Z,ue;return yb(Y)?(Z=t.getRecordMatcher(Y),ue=Q):ue=Y,t.addRoute(ue,Z)}function h(Y){const Q=t.getRecordMatcher(Y);Q&&t.removeRoute(Q)}function b(){return t.getRoutes().map(Y=>Y.record)}function v(Y){return!!t.getRecordMatcher(Y)}function g(Y,Q){if(Q=et({},Q||s.value),typeof Y=="string"){const ye=ns(o,Y,Q.path),_=t.resolve({path:ye.path},Q),A=n.createHref(ye.fullPath);return et(ye,_,{params:f(_.params),hash:ql(ye.hash),redirectedFrom:void 0,href:A})}let Z;if("path"in Y)Z=et({},Y,{path:ns(o,Y.path,Q.path).path});else{const ye=et({},Y.params);for(const _ in ye)ye[_]==null&&delete ye[_];Z=et({},Y,{params:u(Y.params)}),Q.params=u(Q.params)}const ue=t.resolve(Z,Q),pe=Y.hash||"";ue.params=d(f(ue.params));const Ae=HI(r,et({},Y,{hash:PR(pe),path:ue.path})),ze=n.createHref(Ae);return et({fullPath:Ae,hash:pe,query:r===Dh?IR(Y.query):Y.query||{}},ue,{redirectedFrom:void 0,href:ze})}function S(Y){return typeof Y=="string"?ns(o,Y,s.value.path):et({},Y)}function I(Y,Q){if(c!==Y)return Bn(8,{from:Q,to:Y})}function w(Y){return x(Y)}function C(Y){return w(et(S(Y),{replace:!0}))}function P(Y){const Q=Y.matched[Y.matched.length-1];if(Q&&Q.redirect){const{redirect:Z}=Q;let ue=typeof Z=="function"?Z(Y):Z;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=S(ue):{path:ue},ue.params={}),et({query:Y.query,hash:Y.hash,params:"path"in ue?{}:Y.params},ue)}}function x(Y,Q){const Z=c=g(Y),ue=s.value,pe=Y.state,Ae=Y.force,ze=Y.replace===!0,ye=P(Z);if(ye)return x(et(S(ye),{state:pe,force:Ae,replace:ze}),Q||Z);const _=Z;_.redirectedFrom=Q;let A;return!Ae&&NI(r,ue,Z)&&(A=Bn(16,{to:_,from:ue}),we(ue,ue,!0,!1)),(A?Promise.resolve(A):T(_,ue)).catch(W=>Ao(W)?Ao(W,2)?W:me(W):K(W,_,ue)).then(W=>{if(W){if(Ao(W,2))return x(et({replace:ze},S(W.to),{state:pe,force:Ae}),Q||_)}else W=B(_,ue,!0,ze,pe);return $(_,ue,W),W})}function y(Y,Q){const Z=I(Y,Q);return Z?Promise.reject(Z):Promise.resolve()}function T(Y,Q){let Z;const[ue,pe,Ae]=HR(Y,Q);Z=is(ue.reverse(),"beforeRouteLeave",Y,Q);for(const ye of ue)ye.leaveGuards.forEach(_=>{Z.push(lr(_,Y,Q))});const ze=y.bind(null,Y,Q);return Z.push(ze),bn(Z).then(()=>{Z=[];for(const ye of i.list())Z.push(lr(ye,Y,Q));return Z.push(ze),bn(Z)}).then(()=>{Z=is(pe,"beforeRouteUpdate",Y,Q);for(const ye of pe)ye.updateGuards.forEach(_=>{Z.push(lr(_,Y,Q))});return Z.push(ze),bn(Z)}).then(()=>{Z=[];for(const ye of Y.matched)if(ye.beforeEnter&&!Q.matched.includes(ye))if(mo(ye.beforeEnter))for(const _ of ye.beforeEnter)Z.push(lr(_,Y,Q));else Z.push(lr(ye.beforeEnter,Y,Q));return Z.push(ze),bn(Z)}).then(()=>(Y.matched.forEach(ye=>ye.enterCallbacks={}),Z=is(Ae,"beforeRouteEnter",Y,Q),Z.push(ze),bn(Z))).then(()=>{Z=[];for(const ye of l.list())Z.push(lr(ye,Y,Q));return Z.push(ze),bn(Z)}).catch(ye=>Ao(ye,8)?ye:Promise.reject(ye))}function $(Y,Q,Z){for(const ue of a.list())ue(Y,Q,Z)}function B(Y,Q,Z,ue,pe){const Ae=I(Y,Q);if(Ae)return Ae;const ze=Q===or,ye=yn?history.state:{};Z&&(ue||ze?n.replace(Y.fullPath,et({scroll:ze&&ye&&ye.scroll},pe)):n.push(Y.fullPath,pe)),s.value=Y,we(Y,Q,Z,ze),me()}let O;function X(){O||(O=n.listen((Y,Q,Z)=>{if(!Xe.listening)return;const ue=g(Y),pe=P(ue);if(pe){x(et(pe,{replace:!0}),ue).catch(yi);return}c=ue;const Ae=s.value;yn&&YI(Ih(Ae.fullPath,Z.delta),za()),T(ue,Ae).catch(ze=>Ao(ze,12)?ze:Ao(ze,2)?(x(ze.to,ue).then(ye=>{Ao(ye,20)&&!Z.delta&&Z.type===Wi.pop&&n.go(-1,!1)}).catch(yi),Promise.reject()):(Z.delta&&n.go(-Z.delta,!1),K(ze,ue,Ae))).then(ze=>{ze=ze||B(ue,Ae,!1),ze&&(Z.delta&&!Ao(ze,8)?n.go(-Z.delta,!1):Z.type===Wi.pop&&Ao(ze,20)&&n.go(-1,!1)),$(ue,Ae,ze)}).catch(yi)}))}let j=ii(),G=ii(),L;function K(Y,Q,Z){me(Y);const ue=G.list();return ue.length?ue.forEach(pe=>pe(Y,Q,Z)):console.error(Y),Promise.reject(Y)}function re(){return L&&s.value!==or?Promise.resolve():new Promise((Y,Q)=>{j.add([Y,Q])})}function me(Y){return L||(L=!Y,X(),j.list().forEach(([Q,Z])=>Y?Z(Y):Q()),j.reset()),Y}function we(Y,Q,Z,ue){const{scrollBehavior:pe}=e;if(!yn||!pe)return Promise.resolve();const Ae=!Z&&XI(Ih(Y.fullPath,0))||(ue||!Z)&&history.state&&history.state.scroll||null;return zt().then(()=>pe(Y,Q,Ae)).then(ze=>ze&&qI(ze)).catch(ze=>K(ze,Y,Q))}const Se=Y=>n.go(Y);let Ee;const De=new Set,Xe={currentRoute:s,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:b,resolve:g,options:e,push:w,replace:C,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:i.add,beforeResolve:l.add,afterEach:a.add,onError:G.add,isReady:re,install(Y){const Q=this;Y.component("RouterLink",MR),Y.component("RouterView",kb),Y.config.globalProperties.$router=Q,Object.defineProperty(Y.config.globalProperties,"$route",{enumerable:!0,get:()=>Fo(s)}),yn&&!Ee&&s.value===or&&(Ee=!0,w(n.location).catch(pe=>{}));const Z={};for(const pe in or)Z[pe]=M(()=>s.value[pe]);Y.provide(Ta,Q),Y.provide(Wd,io(Z)),Y.provide(cc,s);const ue=Y.unmount;De.add(Y),Y.unmount=function(){De.delete(Y),De.size<1&&(c=or,O&&O(),O=null,s.value=or,Ee=!1,L=!1),ue()}}};return Xe}function bn(e){return e.reduce((t,o)=>t.then(()=>o()),Promise.resolve())}function HR(e,t){const o=[],r=[],n=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;lMn(c,a))?r.push(a):o.push(a));const s=e.matched[l];s&&(t.matched.find(c=>Mn(c,s))||n.push(s))}return[o,r,n]}function NR(){return ge(Ta)}function jR(){return ge(Wd)}const WR=(e,t,o="sessionStorage")=>{const r=JSON.stringify(t);o==="localStorage"?window.localStorage.setItem(e,r):window.sessionStorage.setItem(e,r)},Ln=(e,t="sessionStorage")=>{const o=t==="localStorage"?window.localStorage.getItem(e):window.sessionStorage.getItem(e);return Object.is(o,null)?"no":JSON.parse(o)},VR=(e,t="sessionStorage")=>{e==="all"?(window.window.localStorage.clear(),window.sessionStorage.clear()):e==="all-sessionStorage"?window.sessionStorage.clear():e==="all-localStorage"?window.localStorage.clear():t==="localStorage"?window.localStorage.removeItem(e):window.sessionStorage.removeItem(e)},Vi=le({name:"RayIcon",props:{color:{type:String,default:""},prefix:{type:String,default:"icon"},name:{type:String,required:!0},size:{type:[Number,String],default:14},width:{type:[Number,String],default:0},height:{type:[Number,String],default:0},customClassName:{type:String,default:""}},setup(e){const t=M(()=>e.color),o=M(()=>`#${e.prefix}-${e.name}`);return{modelColor:t,symbolId:o}},render(){return ve("svg",{ariaHidden:!0,class:`ray-icon ${this.customClassName}`,style:{width:`${this.width?this.width:this.size}px`,height:`${this.height?this.height:this.size}px`}},[ve("use",{"xlink:href":this.symbolId,fill:this.modelColor},null)])}}),Eb=Xv("menu",()=>{const e=NR(),t=jR(),{t:o}=dn(),r=Ln("menuKey")==="no"?"/dashboard":Ln("menuKey"),n=io({menuKey:r,options:[],collapsed:!1,menuTagOptions:[]}),i=u=>{u.path!==n.menuKey&&(n.menuTagOptions.find(p=>p.path===u.path)||n.menuTagOptions.push(u))},l=(u,f)=>{i(f),n.menuKey=u,e.push(`${f.path}`),WR("menuKey",u)},a=u=>{const f=p=>{var h;for(const b of p)if((h=b==null?void 0:b.children)!=null&&h.length&&f(b.children),u===b.path){l(b.path,b);break}};f(n.options)},s=()=>{const u=e.getRoutes().find(p=>p.name==="layout"),f=(p,h)=>p.map(b=>{var I,w;(I=b.children)!=null&&I.length&&(b.children=f(b.children));const v={...b,key:b.path,label:()=>m(b_,null,{default:()=>o(`GlobalMenuOptions.${b.meta.i18nKey}`)})},g={icon:()=>{var C;return m(Vi,{name:(C=b==null?void 0:b.meta)==null?void 0:C.icon,size:20},{})}},S=(w=b.meta)!=null&&w.icon?Object.assign(v,g):v;return b.path===r&&n.menuTagOptions.push(S),S});n.options=f(u==null?void 0:u.children)},c=u=>n.collapsed=u,d=u=>n.menuTagOptions.splice(u,1);return Ke(()=>t.fullPath,u=>{a(u)}),{...zc(n),menuModelValueChange:l,setupAppRoutes:s,collapsedMenu:c,spliceMenTagOptions:d}}),Vh=pE(),Ib=e=>{e.use(Vh),Vh.use(_E)},UR=le({name:"GlobalProvider",setup(){const e=Pa(),t=M(()=>e.primaryColorOverride),o=M(()=>e.themeValue?fE:null),{message:r,notification:n,dialog:i,loadingBar:l}=sE(["message","dialog","notification","loadingBar"],{configProviderProps:M(()=>({theme:o.value}))});return window.$dialog=i,window.$message=r,window.$loadingBar=l,window.$notification=n,{modelPrimaryColorOverride:t,modelThemeValue:o}},render(){return ve(Wg,{themeOverrides:this.modelPrimaryColorOverride,theme:this.modelThemeValue},{default:()=>[ve(Av,null,{default:()=>[ve(Wv,null,{default:()=>[ve(mv,null,{default:()=>[ve(Uv,null,{default:()=>{var e,t;return[ve(cz,null,null),(t=(e=this.$slots).default)==null?void 0:t.call(e)]}})]})]})]})]})}}),Rb=le({name:"App",render(){return ve(UR,null,{default:()=>[ve(kb,null,null)]})}}),KR="modulepreload",GR=function(e){return"/"+e},Uh={},xr=function(t,o,r){if(!o||o.length===0)return t();const n=document.getElementsByTagName("link");return Promise.all(o.map(i=>{if(i=GR(i),i in Uh)return;Uh[i]=!0;const l=i.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(!!r)for(let d=n.length-1;d>=0;d--){const u=n[d];if(u.href===i&&(!l||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=l?"stylesheet":KR,l||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),l)return new Promise((d,u)=>{c.addEventListener("load",d),c.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};var Kh;const tl=typeof window<"u",qR=e=>typeof e=="string",ls=()=>{};tl&&((Kh=window==null?void 0:window.navigator)==null?void 0:Kh.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function YR(e){return typeof e=="function"?e():Fo(e)}function XR(e){return e}function ZR(e){return H0()?(N0(e),!0):!1}function JR(e,t=!0){lo()?Bt(e):t?e():zt(e)}function QR(e){var t;const o=YR(e);return(t=o==null?void 0:o.$el)!=null?t:o}const Ob=tl?window:void 0;tl&&window.document;tl&&window.navigator;tl&&window.location;function Gh(...e){let t,o,r,n;if(qR(e[0])?([o,r,n]=e,t=Ob):[t,o,r,n]=e,!t)return ls;let i=ls;const l=Ke(()=>QR(t),s=>{i(),s&&(s.addEventListener(o,r,n),i=()=>{s.removeEventListener(o,r,n),i=ls})},{immediate:!0,flush:"post"}),a=()=>{l(),i()};return ZR(a),a}const dc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},uc="__vueuse_ssr_handlers__";dc[uc]=dc[uc]||{};dc[uc];var qh;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(qh||(qh={}));var e9=Object.defineProperty,Yh=Object.getOwnPropertySymbols,t9=Object.prototype.hasOwnProperty,o9=Object.prototype.propertyIsEnumerable,Xh=(e,t,o)=>t in e?e9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,r9=(e,t)=>{for(var o in t||(t={}))t9.call(t,o)&&Xh(e,o,t[o]);if(Yh)for(var o of Yh(t))o9.call(t,o)&&Xh(e,o,t[o]);return e};const n9={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};r9({linear:XR},n9);function i9(e={}){const{window:t=Ob,initialWidth:o=1/0,initialHeight:r=1/0,listenOrientation:n=!0}=e,i=U(o),l=U(r),a=()=>{t&&(i.value=t.innerWidth,l.value=t.innerHeight)};return a(),JR(a),Gh("resize",a,{passive:!0}),n&&Gh("orientationchange",a,{passive:!0}),{width:i,height:l}}const l9=le({__name:"index",props:{transitionPropName:{type:String,default:"fade"},transitionMode:{type:String,default:"out-in"},transitionAppear:{type:Boolean,default:!0}},setup(e){return(t,o)=>{const r=H1("router-view");return ws(),Ss(r,null,{default:ms(({Component:n,route:i})=>[ve(Ot,{name:e.transitionPropName,mode:e.transitionMode,appear:e.transitionAppear},{default:ms(()=>[(ws(),Ss(N1(n),{key:i.fullPath}))]),_:2},1032,["name","mode","appear"])]),_:1})}}}),a9=le({name:"LayoutMenu",setup(){const e=Eb(),{menuModelValueChange:t,setupAppRoutes:o,collapsedMenu:r}=e,n=M({get:()=>e.menuKey,set:()=>{}}),i=M(()=>e.options),l=M(()=>e.collapsed);return o(),{modelMenuKey:n,menuModelValueChange:t,modelMenuOptions:i,modelCollapsed:l,collapsedMenu:r}},render(){return ve(bk,{bordered:!0,showTrigger:!0,collapseMode:"width",collapsedWidth:64,onUpdateCollapsed:this.collapsedMenu.bind(this)},{default:()=>[ve(Bk,{value:this.modelMenuKey,"onUpdate:value":e=>this.modelMenuKey=e,options:this.modelMenuOptions,indent:24,collapsed:this.modelCollapsed,collapsedIconSize:22,collapsedWidth:64,onUpdateValue:this.menuModelValueChange.bind(this)},null)]})}});const s9={"en-US":{GlobalMenuOptions:{Dashboard:e=>{const{normalize:t}=e;return t(["Home"])},Rely:e=>{const{normalize:t}=e;return t(["Rely"])},RelyAbout:e=>{const{normalize:t}=e;return t(["Rely About"])},Error:e=>{const{normalize:t}=e;return t(["Error Page"])},Echart:e=>{const{normalize:t}=e;return t(["Chart"])},scrollReveal:e=>{const{normalize:t}=e;return t(["Scroll Reveal"])}},LayoutHeaderTooltipOptions:{Reload:e=>{const{normalize:t}=e;return t(["Reload Current Page"])},Lock:e=>{const{normalize:t}=e;return t(["Lock"])},Setting:e=>{const{normalize:t}=e;return t(["Setting"])},Github:e=>{const{normalize:t}=e;return t(["Github"])},FullScreen:e=>{const{normalize:t}=e;return t(["Full Screen"])},CancelFullScreen:e=>{const{normalize:t}=e;return t(["Cancel Full Screen"])}},LayoutHeaderSettingOptions:{Title:e=>{const{normalize:t}=e;return t(["Configuration"])},ThemeOptions:{Title:e=>{const{normalize:t}=e;return t(["Theme"])},Dark:e=>{const{normalize:t}=e;return t(["Dark"])},Light:e=>{const{normalize:t}=e;return t(["Light"])},PrimaryColorConfig:e=>{const{normalize:t}=e;return t(["Primary Color"])}}},LoginModule:{Register:e=>{const{normalize:t}=e;return t(["Register"])},Signin:e=>{const{normalize:t}=e;return t(["Signin"])},NamePlaceholder:e=>{const{normalize:t}=e;return t(["please enter user name"])},PasswordPlaceholder:e=>{const{normalize:t}=e;return t(["please enter password"])},Login:e=>{const{normalize:t}=e;return t(["Login"])},Name:e=>{const{normalize:t}=e;return t(["User Name"])},Password:e=>{const{normalize:t}=e;return t(["User Password"])}}},"zh-CN":{GlobalMenuOptions:{Dashboard:e=>{const{normalize:t}=e;return t(["\u9996\u9875"])},Rely:e=>{const{normalize:t}=e;return t(["\u4F9D\u8D56\u9879"])},RelyAbout:e=>{const{normalize:t}=e;return t(["\u5173\u4E8E"])},Error:e=>{const{normalize:t}=e;return t(["\u9519\u8BEF\u9875"])},Echart:e=>{const{normalize:t}=e;return t(["\u53EF\u89C6\u5316"])},scrollReveal:e=>{const{normalize:t}=e;return t(["\u6EDA\u52A8\u52A8\u753B"])}},LayoutHeaderTooltipOptions:{Reload:e=>{const{normalize:t}=e;return t(["\u5237\u65B0\u5F53\u524D\u9875\u9762"])},Lock:e=>{const{normalize:t}=e;return t(["\u9501\u5C4F"])},Setting:e=>{const{normalize:t}=e;return t(["\u8BBE\u7F6E"])},Github:e=>{const{normalize:t}=e;return t(["Github"])},FullScreen:e=>{const{normalize:t}=e;return t(["\u5168\u5C4F"])},CancelFullScreen:e=>{const{normalize:t}=e;return t(["\u9000\u51FA\u5168\u5C4F"])}},LayoutHeaderSettingOptions:{Title:e=>{const{normalize:t}=e;return t(["\u9879\u76EE\u914D\u7F6E"])},ThemeOptions:{Title:e=>{const{normalize:t}=e;return t(["\u4E3B\u9898"])},Dark:e=>{const{normalize:t}=e;return t(["\u6697\u8272"])},Light:e=>{const{normalize:t}=e;return t(["\u660E\u4EAE"])},PrimaryColorConfig:e=>{const{normalize:t}=e;return t(["\u4E3B\u9898\u8272"])}}},LoginModule:{Register:e=>{const{normalize:t}=e;return t(["\u6CE8\u518C"])},Signin:e=>{const{normalize:t}=e;return t(["\u767B\u9646"])},NamePlaceholder:e=>{const{normalize:t}=e;return t(["\u8BF7\u8F93\u5165\u7528\u6237\u540D"])},PasswordPlaceholder:e=>{const{normalize:t}=e;return t(["\u8BF7\u8F93\u5165\u5BC6\u7801"])},Login:e=>{const{normalize:t}=e;return t(["\u767B \u9646"])},Name:e=>{const{normalize:t}=e;return t(["\u7528\u6237\u540D"])},Password:e=>{const{normalize:t}=e;return t(["\u5BC6\u7801"])}}}},Ab=e=>{const t=Ln("localeLanguage","localStorage")!=="no"?Ln("localeLanguage","localStorage"):"zh-CN",o=zI({locale:t,allowComposition:!0,messages:s9});e.use(o)},c9=()=>[{key:"zh-CN",label:"\u4E2D\u6587(\u7B80\u4F53)"},{key:"en-US",label:"English(US)"}];const d9=()=>["#FFFFFF","#18A058","#2080F0","#F0A020","rgba(208, 48, 80, 1)"];function Zh(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pr(e)}const u9=le({name:"SettingDrawer",props:{show:{type:Boolean,default:!1},placement:{type:String,default:"right"},width:{type:Number,default:280}},emits:["update:show"],setup(e,{emit:t}){const{t:o}=dn(),r=Pa(),{changePrimaryColor:n,changeSwitcher:i}=r,{themeValue:l,primaryColorOverride:a,menuTagLog:s}=Zv(r);return{modelShow:M({get:()=>e.show,set:u=>{t("update:show",u)}}),ray:o,handleRailStyle:()=>({backgroundColor:"#000000"}),changePrimaryColor:n,themeValue:l,primaryColorOverride:a,menuTagLog:s,changeSwitcher:i}},render(){let e,t;return ve(WP,{show:this.modelShow,"onUpdate:show":o=>this.modelShow=o,placement:this.placement,width:this.width},{default:()=>[ve(UP,{title:this.ray("LayoutHeaderSettingOptions.Title")},{default:()=>[ve(In,{class:"setting-drawer__space",vertical:!0},{default:()=>[ve(Qa,{titlePlacement:"center"},Zh(e=this.ray("LayoutHeaderSettingOptions.ThemeOptions.Title"))?e:{default:()=>[e]}),ve(In,{justify:"center"},{default:()=>[ve(Ni,null,{trigger:()=>ve(qf,{value:this.themeValue,"onUpdate:value":o=>this.themeValue=o,railStyle:this.handleRailStyle.bind(this),onUpdateValue:o=>this.changeSwitcher(o,"themeValue")},{"checked-icon":()=>m(Vi,{name:"dark"},{}),"unchecked-icon":()=>m(Vi,{name:"light"},{})}),default:()=>this.themeValue?this.ray("LayoutHeaderSettingOptions.ThemeOptions.Dark"):this.ray("LayoutHeaderSettingOptions.ThemeOptions.Light")})]}),ve(Qa,{titlePlacement:"center"},Zh(t=this.ray("LayoutHeaderSettingOptions.ThemeOptions.PrimaryColorConfig"))?t:{default:()=>[t]}),ve(S8,{swatches:d9(),value:this.primaryColorOverride.common.primaryColor,"onUpdate:value":o=>this.primaryColorOverride.common.primaryColor=o,onUpdateValue:this.changePrimaryColor.bind(this)},null),ve(Qa,{titlePlacement:"center"},{default:()=>[Zr("\u754C\u9762\u663E\u793A")]}),ve(X_,{labelPlacement:"left",column:1},{default:()=>[ve(J_,{label:"\u663E\u793A\u591A\u6807\u7B7E"},{default:()=>[ve(qf,{value:this.menuTagLog,"onUpdate:value":o=>this.menuTagLog=o,onUpdateValue:o=>this.changeSwitcher(o,"menuTagLog")},null)]})]})]})]})]})}}),f9=()=>[{key:"person",label:"\u4E2A\u4EBA\u4FE1\u606F"},{type:"divider",key:"d1"},{key:"logout",label:"\u9000\u51FA\u767B\u9646"}],Jh=[["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"]],jo=(()=>{if(typeof document>"u")return!1;const e=Jh[0],t={};for(const o of Jh)if((o==null?void 0:o[1])in document){for(const[n,i]of o.entries())t[e[n]]=i;return t}return!1})(),Qh={change:jo.fullscreenchange,error:jo.fullscreenerror};let Ut={request(e=document.documentElement,t){return new Promise((o,r)=>{const n=()=>{Ut.off("change",n),o()};Ut.on("change",n);const i=e[jo.requestFullscreen](t);i instanceof Promise&&i.then(n).catch(r)})},exit(){return new Promise((e,t)=>{if(!Ut.isFullscreen){e();return}const o=()=>{Ut.off("change",o),e()};Ut.on("change",o);const r=document[jo.exitFullscreen]();r instanceof Promise&&r.then(o).catch(t)})},toggle(e,t){return Ut.isFullscreen?Ut.exit():Ut.request(e,t)},onchange(e){Ut.on("change",e)},onerror(e){Ut.on("error",e)},on(e,t){const o=Qh[e];o&&document.addEventListener(o,t,!1)},off(e,t){const o=Qh[e];o&&document.removeEventListener(o,t,!1)},raw:jo};Object.defineProperties(Ut,{isFullscreen:{get:()=>Boolean(document[jo.fullscreenElement])},element:{enumerable:!0,get:()=>{var e;return(e=document[jo.fullscreenElement])!=null?e:void 0}},isEnabled:{enumerable:!0,get:()=>Boolean(document[jo.fullscreenEnabled])}});jo||(Ut={isEnabled:!1});const ep=Ut;function as(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pr(e)}const h9=le({name:"SiderBar",setup(){const e=Pa(),{t}=dn(),{updateLocale:o,changeSwitcher:r}=e,n=U(e.drawerPlacement),i=U(!1),l=[{name:"reload",size:18,tooltip:"LayoutHeaderTooltipOptions.Reload"}],a=[{name:"fullscreen",size:18,tooltip:"",eventKey:"screen"},{name:"language",size:18,tooltip:"",dropdown:{eventKey:"handleSelect",switch:!0,options:c9(),handleSelect:f=>o(String(f))}},{name:"github",size:18,tooltip:"LayoutHeaderTooltipOptions.Github",eventKey:"github"},{name:"setting",size:18,tooltip:"LayoutHeaderTooltipOptions.Setting",eventKey:"setting"},{name:"ray",size:22,tooltip:"",dropdown:{eventKey:"handleSelect",switch:!0,options:f9(),handleSelect:f=>{f==="logout"?window.$dialog.warning({title:"\u63D0\u793A",content:"\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417",positiveText:"\u786E\u5B9A",negativeText:"\u4E0D\u786E\u5B9A",onPositiveClick:()=>{window.$message.info("\u8D26\u53F7\u9000\u51FA\u4E2D..."),VR("all-sessionStorage"),setTimeout(()=>window.location.reload(),2*1e3)}}):window.$message.info("\u8FD9\u4E2A\u4EBA\u5F88\u61D2, \u6CA1\u505A\u8FD9\u4E2A\u529F\u80FD~")}}}],s={reload:()=>{r(!1,"reloadRouteLog"),setTimeout(()=>r(!0,"reloadRouteLog"))},setting:()=>{i.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},screen:()=>{ep.isEnabled?ep.toggle():window.$message.warning("\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F~")}},c=f=>{var p;(p=s[f])==null||p.call(s)},d=f=>{var p;return ve(Vi,{customClassName:"layout-header__method--icon",name:f.name,size:f.size,onClick:c.bind(this,(p=f.eventKey)!=null?p:"")},null)};return{leftIconOptions:l,rightIconOptions:a,t,handleIconClick:c,modelDrawerPlacement:n,showSettings:i,TooltipIcon:f=>f.tooltip?ve(Ni,null,{trigger:()=>d(f),default:()=>{var p;return t((p=f.tooltip)!=null?p:"")}}):d(f),Icon:d}},render(){let e,t;return ve(hk,{class:"layout-header",bordered:!0},{default:()=>[ve(In,{class:"layout-header__method",align:"center",justify:"space-between"},{default:()=>[ve(In,{align:"center"},as(e=this.leftIconOptions.map(o=>ve(Ni,null,{trigger:()=>ve(Vi,{customClassName:"layout-header__method--icon",name:o.name,size:o.size,onClick:this.handleIconClick.bind(this,o.name)},null),default:()=>this.t(o.tooltip)})))?e:{default:()=>[e]}),ve(In,{align:"center"},as(t=this.rightIconOptions.map(o=>{var n,i;let r;return(n=o.dropdown)!=null&&n.switch?ve(rv,{options:o.dropdown.options,onSelect:o.dropdown[(i=o.dropdown.eventKey)!=null?i:"handleSelect"]},as(r=this.Icon(o))?r:{default:()=>[r]}):this.TooltipIcon(o)}))?t:{default:()=>[t]})]}),ve(u9,{show:this.showSettings,"onUpdate:show":o=>this.showSettings=o,placement:this.modelDrawerPlacement},null)]})}});function p9(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pr(e)}const m9=le({name:"MenuTag",setup(){const e=Eb(),{menuTagOptions:t,menuKey:o}=Zv(e),{menuModelValueChange:r,spliceMenTagOptions:n}=e;return{menuTagOptions:t,menuModelValueChange:r,handleCloseTag:a=>{if(n(a),o.value!=="/dashboard"){const s=t.value,c=s.length,d=s[c-1];r(d.key,d)}},menuKey:o,handleTagClick:a=>{r(a.key,a)}}},render(){let e;return ve(tE,{class:"menu-tag",xScrollable:!0},{default:()=>[ve(In,{class:"menu-tag-sapce",wrap:!1,align:"center"},p9(e=this.menuTagOptions.map((t,o)=>ve(K6,{closable:t.key!=="/dashboard"&&this.menuTagOptions.length>1,onClose:()=>this.handleCloseTag(o),type:t.key===this.menuKey?"success":"default",onClick:this.handleTagClick.bind(this,t)},{default:()=>[typeof t.label=="function"?t.label():t.label]})))?e:{default:()=>[e]})]})}}),g9=le({name:"Layout",props:{},setup(){const e=Pa(),{height:t}=i9(),o=M(()=>e.reloadRouteLog),r=M(()=>e.menuTagLog),n=M(()=>{let i={};return e.menuTagLog?i={"--layout-content-height":"calc(100% - 110px)"}:i={"--layout-content-height":"calc(100% - 64px)"},i});return{windowHeight:t,modelReloadRoute:o,modelMenuTagLog:r,cssVarsRef:n}},render(){return ve("div",{class:"layout",style:[`height: ${this.windowHeight}px`,this.cssVarsRef]},[ve(Uf,{class:"layout-full",hasSider:!0},{default:()=>[ve(a9,null,null),ve(Uf,null,{default:()=>[ve(h9,null,null),this.modelMenuTagLog?ve(m9,null,null):"",ve(dk,{class:"layout-content__router-view",nativeScrollbar:!1},{default:()=>[this.modelReloadRoute?ve(l9,null,null):""]})]})]})])}}),v9={path:"/dashboard",name:"dashboard",component:()=>xr(()=>import("./index.a8550763.js"),["assets/index.a8550763.js","assets/index.ef5082a3.js","assets/index.dc50c796.css"]),meta:{i18nKey:"Dashboard",icon:"dashboard"}},b9={path:"/rely",name:"rely",component:()=>xr(()=>import("./index.e013f9e4.js"),[]),meta:{i18nKey:"Rely",icon:"rely"},children:[{path:"/rely-about",name:"rely-about",component:()=>xr(()=>import("./index.82c4ec33.js"),["assets/index.82c4ec33.js","assets/index.184de73a.css"]),meta:{i18nKey:"RelyAbout"}}]},x9={path:"/error",name:"error",component:()=>xr(()=>import("./index.95eed540.js"),["assets/index.95eed540.js","assets/Result.8e6f40c9.js","assets/index.fa813b60.css"]),meta:{i18nKey:"Error",icon:"error"}},C9={path:"/echart",name:"echart",component:()=>xr(()=>import("./index.0bf8eaf0.js"),["assets/index.0bf8eaf0.js","assets/index.3f9db04e.css"]),meta:{i18nKey:"Echart",icon:"echart"}},y9={path:"/scroll-reveal",name:"scroll-reveal",component:()=>xr(()=>import("./index.ac5ed712.js"),["assets/index.ac5ed712.js","assets/index.0d9096a4.css"]),meta:{i18nKey:"scrollReveal",icon:"scroll_reveal"}},w9=[v9,C9,y9,x9,b9],S9=[{path:"/",name:"login",component:()=>xr(()=>import("./index.12e9eacf.js"),["assets/index.12e9eacf.js","assets/Result.8e6f40c9.js","assets/index.ef5082a3.js","assets/index.6a9d9035.css"])},{path:"/",name:"layout",redirect:"/dashboard",component:g9,children:w9},{path:"/:catchAll(.*)",name:"error-page",component:()=>xr(()=>import("./index.95eed540.js"),["assets/index.95eed540.js","assets/Result.8e6f40c9.js","assets/index.fa813b60.css"])}],Si=FR({history:tR(),routes:S9,scrollBehavior:()=>({left:0,top:0})}),Mb=e=>{e.use(Si)},Bb=()=>{Si.beforeEach(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.start()}),Si.afterEach(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.finish()}),Si.onError(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.error()})},Lb=()=>{Si.beforeEach((e,t,o)=>{const r=Ln("token"),n=Ln("menuKey");r!=="no"?e.path==="/"||t.path==="/login"?o(n):o():e.path==="/"||t.path==="/login"?o():o("/")})},$9=()=>{const e=Mc(Rb);Ib(e),Mb(e),Bb(),Lb(),Ab(e),e.mount("#app")},_9=()=>{let e;window.__WUJIE_MOUNT=()=>{e=Mc(Rb),Ib(e),Mb(e),Bb(),Lb(),Ab(e),e.mount("#app")},window.__WUJIE_UNMOUNT=()=>{e.unmount()},window.__WUJIE.mount()};window.__POWERED_BY_WUJIE__?_9():$9();export{$e as $,ao as A,k as B,Be as C,ca as D,af as E,Bt as F,ut as G,ot as H,ce as I,gr as J,qe as K,ae as L,Nn as M,qo as N,Ze as O,ko as P,st as Q,Un as R,Nc as S,Ot as T,Je as U,Uc as V,Ri as W,po as X,HC as Y,Nt as Z,Ds as _,tn as a,Sf as a$,zt as a0,oo as a1,Kx as a2,zo as a3,I9 as a4,On as a5,dn as a6,ve as a7,WR as a8,g$ as a9,X_ as aA,J_ as aB,Uf as aC,K6 as aD,kb as aE,Go as aF,D2 as aG,cd as aH,Um as aI,b3 as aJ,p3 as aK,SS as aL,Ym as aM,x3 as aN,E3 as aO,vr as aP,I3 as aQ,br as aR,kf as aS,vf as aT,_w as aU,ro as aV,w2 as aW,jl as aX,f3 as aY,R3 as aZ,$o as a_,Sn as aa,pr as ab,NR as ac,io as ad,i9 as ae,Pa as af,zc as ag,In as ah,Zr as ai,rv as aj,c9 as ak,Vi as al,E8 as am,Qa as an,jc as ao,hm as ap,U6 as aq,qr as ar,T9 as as,Fl as at,Ni as au,Ul as av,pd as aw,md as ax,hd as ay,E9 as az,pl as b,L2 as b0,Zv as b1,qf as b2,cy as c,le as d,td as e,Cr as f,lo as g,m as h,ge as i,Ro as j,R as k,N as l,E as m,P9 as n,$t as o,Ye as p,Pe as q,U as r,Re as s,k9 as t,Yi as u,en as v,Ke as w,M as x,No as y,wS as z}; + */const yn=typeof window<"u";function LI(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const et=Object.assign;function rs(e,t){const o={};for(const r in t){const n=t[r];o[r]=mo(n)?n.map(e):e(n)}return o}const yi=()=>{},mo=Array.isArray,DI=/\/$/,FI=e=>e.replace(DI,"");function ns(e,t,o="/"){let r,n={},i="",l="";const a=t.indexOf("#");let s=t.indexOf("?");return a=0&&(s=-1),s>-1&&(r=t.slice(0,s),i=t.slice(s+1,a>-1?a:t.length),n=e(i)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=WI(r!=null?r:t,o),{fullPath:r+(i&&"?")+i+l,path:r,query:n,hash:l}}function HI(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}function kh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function NI(e,t,o){const r=t.matched.length-1,n=o.matched.length-1;return r>-1&&r===n&&Mn(t.matched[r],o.matched[n])&&xb(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}function Mn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!jI(e[o],t[o]))return!1;return!0}function jI(e,t){return mo(e)?Eh(e,t):mo(t)?Eh(t,e):e===t}function Eh(e,t){return mo(t)?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function WI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const o=t.split("/"),r=e.split("/");let n=o.length-1,i,l;for(i=0;i1&&n--;else break;return o.slice(0,n).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Wi;(function(e){e.pop="pop",e.push="push"})(Wi||(Wi={}));var wi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(wi||(wi={}));function VI(e){if(!e)if(yn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),FI(e)}const UI=/^[^#]+#/;function KI(e,t){return e.replace(UI,"#")+t}function GI(e,t){const o=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-o.left-(t.left||0),top:r.top-o.top-(t.top||0)}}const za=()=>({left:window.pageXOffset,top:window.pageYOffset});function qI(e){let t;if("el"in e){const o=e.el,r=typeof o=="string"&&o.startsWith("#"),n=typeof o=="string"?r?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!n)return;t=GI(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ih(e,t){return(history.state?history.state.position-t:-1)+e}const ac=new Map;function YI(e,t){ac.set(e,t)}function XI(e){const t=ac.get(e);return ac.delete(e),t}let ZI=()=>location.protocol+"//"+location.host;function Cb(e,t){const{pathname:o,search:r,hash:n}=t,i=e.indexOf("#");if(i>-1){let a=n.includes(e.slice(i))?e.slice(i).length:1,s=n.slice(a);return s[0]!=="/"&&(s="/"+s),kh(s,"")}return kh(o,e)+r+n}function JI(e,t,o,r){let n=[],i=[],l=null;const a=({state:f})=>{const p=Cb(e,location),h=o.value,b=t.value;let v=0;if(f){if(o.value=p,t.value=f,l&&l===h){l=null;return}v=b?f.position-b.position:0}else r(p);n.forEach(g=>{g(o.value,h,{delta:v,type:Wi.pop,direction:v?v>0?wi.forward:wi.back:wi.unknown})})};function s(){l=o.value}function c(f){n.push(f);const p=()=>{const h=n.indexOf(f);h>-1&&n.splice(h,1)};return i.push(p),p}function d(){const{history:f}=window;!f.state||f.replaceState(et({},f.state,{scroll:za()}),"")}function u(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:s,listen:c,destroy:u}}function Rh(e,t,o,r=!1,n=!1){return{back:e,current:t,forward:o,replaced:r,position:window.history.length,scroll:n?za():null}}function QI(e){const{history:t,location:o}=window,r={value:Cb(e,o)},n={value:t.state};n.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,c,d){const u=e.indexOf("#"),f=u>-1?(o.host&&document.querySelector("base")?e:e.slice(u))+s:ZI()+e+s;try{t[d?"replaceState":"pushState"](c,"",f),n.value=c}catch(p){console.error(p),o[d?"replace":"assign"](f)}}function l(s,c){const d=et({},t.state,Rh(n.value.back,s,n.value.forward,!0),c,{position:n.value.position});i(s,d,!0),r.value=s}function a(s,c){const d=et({},n.value,t.state,{forward:s,scroll:za()});i(d.current,d,!0);const u=et({},Rh(r.value,s,null),{position:d.position+1},c);i(s,u,!1),r.value=s}return{location:r,state:n,push:a,replace:l}}function eR(e){e=VI(e);const t=QI(e),o=JI(e,t.state,t.location,t.replace);function r(i,l=!0){l||o.pauseListeners(),history.go(i)}const n=et({location:"",base:e,go:r,createHref:KI.bind(null,e)},t,o);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>t.state.value}),n}function tR(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),eR(e)}function oR(e){return typeof e=="string"||e&&typeof e=="object"}function yb(e){return typeof e=="string"||typeof e=="symbol"}const or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wb=Symbol("");var Oh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Oh||(Oh={}));function Bn(e,t){return et(new Error,{type:e,[wb]:!0},t)}function Ao(e,t){return e instanceof Error&&wb in e&&(t==null||!!(e.type&t))}const Ah="[^/]+?",rR={sensitive:!1,strict:!1,start:!0,end:!0},nR=/[.+*?^${}()[\]/\\]/g;function iR(e,t){const o=et({},rR,t),r=[];let n=o.start?"^":"";const i=[];for(const c of e){const d=c.length?[]:[90];o.strict&&!c.length&&(n+="/");for(let u=0;ut.length?t.length===1&&t[0]===40+40?1:-1:0}function aR(e,t){let o=0;const r=e.score,n=t.score;for(;o0&&t[t.length-1]<0}const sR={type:0,value:""},cR=/[a-zA-Z0-9_]/;function dR(e){if(!e)return[[]];if(e==="/")return[[sR]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${o})/"${c}": ${p}`)}let o=0,r=o;const n=[];let i;function l(){i&&n.push(i),i=[]}let a=0,s,c="",d="";function u(){!c||(o===0?i.push({type:0,value:c}):o===1||o===2||o===3?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:d,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=s}for(;a{l(S)}:yi}function l(d){if(yb(d)){const u=r.get(d);u&&(r.delete(d),o.splice(o.indexOf(u),1),u.children.forEach(l),u.alias.forEach(l))}else{const u=o.indexOf(d);u>-1&&(o.splice(u,1),d.record.name&&r.delete(d.record.name),d.children.forEach(l),d.alias.forEach(l))}}function a(){return o}function s(d){let u=0;for(;u=0&&(d.record.path!==o[u].record.path||!Sb(d,o[u]));)u++;o.splice(u,0,d),d.record.name&&!Bh(d)&&r.set(d.record.name,d)}function c(d,u){let f,p={},h,b;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw Bn(1,{location:d});b=f.record.name,p=et(hR(u.params,f.keys.filter(S=>!S.optional).map(S=>S.name)),d.params),h=f.stringify(p)}else if("path"in d)h=d.path,f=o.find(S=>S.re.test(h)),f&&(p=f.parse(h),b=f.record.name);else{if(f=u.name?r.get(u.name):o.find(S=>S.re.test(u.path)),!f)throw Bn(1,{location:d,currentLocation:u});b=f.record.name,p=et({},u.params,d.params),h=f.stringify(p)}const v=[];let g=f;for(;g;)v.unshift(g.record),g=g.parent;return{name:b,path:h,params:p,matched:v,meta:gR(v)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:n}}function hR(e,t){const o={};for(const r of t)r in e&&(o[r]=e[r]);return o}function pR(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:mR(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function mR(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const r in e.components)t[r]=typeof o=="boolean"?o:o[r];return t}function Bh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gR(e){return e.reduce((t,o)=>et(t,o.meta),{})}function Lh(e,t){const o={};for(const r in e)o[r]=r in t?t[r]:e[r];return o}function Sb(e,t){return t.children.some(o=>o===e||Sb(e,o))}const $b=/#/g,vR=/&/g,bR=/\//g,xR=/=/g,CR=/\?/g,_b=/\+/g,yR=/%5B/g,wR=/%5D/g,Pb=/%5E/g,SR=/%60/g,zb=/%7B/g,$R=/%7C/g,Tb=/%7D/g,_R=/%20/g;function jd(e){return encodeURI(""+e).replace($R,"|").replace(yR,"[").replace(wR,"]")}function PR(e){return jd(e).replace(zb,"{").replace(Tb,"}").replace(Pb,"^")}function sc(e){return jd(e).replace(_b,"%2B").replace(_R,"+").replace($b,"%23").replace(vR,"%26").replace(SR,"`").replace(zb,"{").replace(Tb,"}").replace(Pb,"^")}function zR(e){return sc(e).replace(xR,"%3D")}function TR(e){return jd(e).replace($b,"%23").replace(CR,"%3F")}function kR(e){return e==null?"":TR(e).replace(bR,"%2F")}function ql(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ER(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;ni&&sc(i)):[r&&sc(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+o,i!=null&&(t+="="+i))})}return t}function IR(e){const t={};for(const o in e){const r=e[o];r!==void 0&&(t[o]=mo(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return t}const RR=Symbol(""),Fh=Symbol(""),Ta=Symbol(""),Wd=Symbol(""),cc=Symbol("");function ii(){let e=[];function t(r){return e.push(r),()=>{const n=e.indexOf(r);n>-1&&e.splice(n,1)}}function o(){e=[]}return{add:t,list:()=>e,reset:o}}function lr(e,t,o,r,n){const i=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((l,a)=>{const s=u=>{u===!1?a(Bn(4,{from:o,to:t})):u instanceof Error?a(u):oR(u)?a(Bn(2,{from:t,to:u})):(i&&r.enterCallbacks[n]===i&&typeof u=="function"&&i.push(u),l())},c=e.call(r&&r.instances[n],t,o,s);let d=Promise.resolve(c);e.length<3&&(d=d.then(s)),d.catch(u=>a(u))})}function is(e,t,o,r){const n=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(OR(a)){const c=(a.__vccOpts||a)[t];c&&n.push(lr(c,o,r,i,l))}else{let s=a();n.push(()=>s.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const d=LI(c)?c.default:c;i.components[l]=d;const f=(d.__vccOpts||d)[t];return f&&lr(f,o,r,i,l)()}))}}return n}function OR(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Hh(e){const t=ge(Ta),o=ge(Wd),r=M(()=>t.resolve(Fo(e.to))),n=M(()=>{const{matched:s}=r.value,{length:c}=s,d=s[c-1],u=o.matched;if(!d||!u.length)return-1;const f=u.findIndex(Mn.bind(null,d));if(f>-1)return f;const p=Nh(s[c-2]);return c>1&&Nh(d)===p&&u[u.length-1].path!==p?u.findIndex(Mn.bind(null,s[c-2])):f}),i=M(()=>n.value>-1&&LR(o.params,r.value.params)),l=M(()=>n.value>-1&&n.value===o.matched.length-1&&xb(o.params,r.value.params));function a(s={}){return BR(s)?t[Fo(e.replace)?"replace":"push"](Fo(e.to)).catch(yi):Promise.resolve()}return{route:r,href:M(()=>r.value.href),isActive:i,isExactActive:l,navigate:a}}const AR=le({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Hh,setup(e,{slots:t}){const o=io(Hh(e)),{options:r}=ge(Ta),n=M(()=>({[jh(e.activeClass,r.linkActiveClass,"router-link-active")]:o.isActive,[jh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const i=t.default&&t.default(o);return e.custom?i:m("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:n.value},i)}}}),MR=AR;function BR(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function LR(e,t){for(const o in t){const r=t[o],n=e[o];if(typeof r=="string"){if(r!==n)return!1}else if(!mo(n)||n.length!==r.length||r.some((i,l)=>i!==n[l]))return!1}return!0}function Nh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jh=(e,t,o)=>e!=null?e:t!=null?t:o,DR=le({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){const r=ge(cc),n=M(()=>e.route||r.value),i=ge(Fh,0),l=M(()=>{let c=Fo(i);const{matched:d}=n.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),a=M(()=>n.value.matched[l.value]);Re(Fh,M(()=>l.value+1)),Re(RR,a),Re(cc,n);const s=U();return Ke(()=>[s.value,a.value,e.name],([c,d,u],[f,p,h])=>{d&&(d.instances[u]=c,p&&p!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!Mn(d,p)||!f)&&(d.enterCallbacks[u]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=n.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return Wh(o.default,{Component:f,route:c});const p=u.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=m(f,et({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(u.instances[d]=null)},ref:s}));return Wh(o.default,{Component:v,route:c})||v}}});function Wh(e,t){if(!e)return null;const o=e(t);return o.length===1?o[0]:o}const kb=DR;function FR(e){const t=fR(e.routes,e),o=e.parseQuery||ER,r=e.stringifyQuery||Dh,n=e.history,i=ii(),l=ii(),a=ii(),s=p1(or);let c=or;yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=rs.bind(null,Y=>""+Y),u=rs.bind(null,kR),f=rs.bind(null,ql);function p(Y,Q){let Z,ue;return yb(Y)?(Z=t.getRecordMatcher(Y),ue=Q):ue=Y,t.addRoute(ue,Z)}function h(Y){const Q=t.getRecordMatcher(Y);Q&&t.removeRoute(Q)}function b(){return t.getRoutes().map(Y=>Y.record)}function v(Y){return!!t.getRecordMatcher(Y)}function g(Y,Q){if(Q=et({},Q||s.value),typeof Y=="string"){const ye=ns(o,Y,Q.path),_=t.resolve({path:ye.path},Q),A=n.createHref(ye.fullPath);return et(ye,_,{params:f(_.params),hash:ql(ye.hash),redirectedFrom:void 0,href:A})}let Z;if("path"in Y)Z=et({},Y,{path:ns(o,Y.path,Q.path).path});else{const ye=et({},Y.params);for(const _ in ye)ye[_]==null&&delete ye[_];Z=et({},Y,{params:u(Y.params)}),Q.params=u(Q.params)}const ue=t.resolve(Z,Q),pe=Y.hash||"";ue.params=d(f(ue.params));const Ae=HI(r,et({},Y,{hash:PR(pe),path:ue.path})),ze=n.createHref(Ae);return et({fullPath:Ae,hash:pe,query:r===Dh?IR(Y.query):Y.query||{}},ue,{redirectedFrom:void 0,href:ze})}function S(Y){return typeof Y=="string"?ns(o,Y,s.value.path):et({},Y)}function I(Y,Q){if(c!==Y)return Bn(8,{from:Q,to:Y})}function w(Y){return x(Y)}function C(Y){return w(et(S(Y),{replace:!0}))}function P(Y){const Q=Y.matched[Y.matched.length-1];if(Q&&Q.redirect){const{redirect:Z}=Q;let ue=typeof Z=="function"?Z(Y):Z;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=S(ue):{path:ue},ue.params={}),et({query:Y.query,hash:Y.hash,params:"path"in ue?{}:Y.params},ue)}}function x(Y,Q){const Z=c=g(Y),ue=s.value,pe=Y.state,Ae=Y.force,ze=Y.replace===!0,ye=P(Z);if(ye)return x(et(S(ye),{state:pe,force:Ae,replace:ze}),Q||Z);const _=Z;_.redirectedFrom=Q;let A;return!Ae&&NI(r,ue,Z)&&(A=Bn(16,{to:_,from:ue}),we(ue,ue,!0,!1)),(A?Promise.resolve(A):T(_,ue)).catch(W=>Ao(W)?Ao(W,2)?W:me(W):K(W,_,ue)).then(W=>{if(W){if(Ao(W,2))return x(et({replace:ze},S(W.to),{state:pe,force:Ae}),Q||_)}else W=B(_,ue,!0,ze,pe);return $(_,ue,W),W})}function y(Y,Q){const Z=I(Y,Q);return Z?Promise.reject(Z):Promise.resolve()}function T(Y,Q){let Z;const[ue,pe,Ae]=HR(Y,Q);Z=is(ue.reverse(),"beforeRouteLeave",Y,Q);for(const ye of ue)ye.leaveGuards.forEach(_=>{Z.push(lr(_,Y,Q))});const ze=y.bind(null,Y,Q);return Z.push(ze),bn(Z).then(()=>{Z=[];for(const ye of i.list())Z.push(lr(ye,Y,Q));return Z.push(ze),bn(Z)}).then(()=>{Z=is(pe,"beforeRouteUpdate",Y,Q);for(const ye of pe)ye.updateGuards.forEach(_=>{Z.push(lr(_,Y,Q))});return Z.push(ze),bn(Z)}).then(()=>{Z=[];for(const ye of Y.matched)if(ye.beforeEnter&&!Q.matched.includes(ye))if(mo(ye.beforeEnter))for(const _ of ye.beforeEnter)Z.push(lr(_,Y,Q));else Z.push(lr(ye.beforeEnter,Y,Q));return Z.push(ze),bn(Z)}).then(()=>(Y.matched.forEach(ye=>ye.enterCallbacks={}),Z=is(Ae,"beforeRouteEnter",Y,Q),Z.push(ze),bn(Z))).then(()=>{Z=[];for(const ye of l.list())Z.push(lr(ye,Y,Q));return Z.push(ze),bn(Z)}).catch(ye=>Ao(ye,8)?ye:Promise.reject(ye))}function $(Y,Q,Z){for(const ue of a.list())ue(Y,Q,Z)}function B(Y,Q,Z,ue,pe){const Ae=I(Y,Q);if(Ae)return Ae;const ze=Q===or,ye=yn?history.state:{};Z&&(ue||ze?n.replace(Y.fullPath,et({scroll:ze&&ye&&ye.scroll},pe)):n.push(Y.fullPath,pe)),s.value=Y,we(Y,Q,Z,ze),me()}let O;function X(){O||(O=n.listen((Y,Q,Z)=>{if(!Xe.listening)return;const ue=g(Y),pe=P(ue);if(pe){x(et(pe,{replace:!0}),ue).catch(yi);return}c=ue;const Ae=s.value;yn&&YI(Ih(Ae.fullPath,Z.delta),za()),T(ue,Ae).catch(ze=>Ao(ze,12)?ze:Ao(ze,2)?(x(ze.to,ue).then(ye=>{Ao(ye,20)&&!Z.delta&&Z.type===Wi.pop&&n.go(-1,!1)}).catch(yi),Promise.reject()):(Z.delta&&n.go(-Z.delta,!1),K(ze,ue,Ae))).then(ze=>{ze=ze||B(ue,Ae,!1),ze&&(Z.delta&&!Ao(ze,8)?n.go(-Z.delta,!1):Z.type===Wi.pop&&Ao(ze,20)&&n.go(-1,!1)),$(ue,Ae,ze)}).catch(yi)}))}let j=ii(),G=ii(),L;function K(Y,Q,Z){me(Y);const ue=G.list();return ue.length?ue.forEach(pe=>pe(Y,Q,Z)):console.error(Y),Promise.reject(Y)}function re(){return L&&s.value!==or?Promise.resolve():new Promise((Y,Q)=>{j.add([Y,Q])})}function me(Y){return L||(L=!Y,X(),j.list().forEach(([Q,Z])=>Y?Z(Y):Q()),j.reset()),Y}function we(Y,Q,Z,ue){const{scrollBehavior:pe}=e;if(!yn||!pe)return Promise.resolve();const Ae=!Z&&XI(Ih(Y.fullPath,0))||(ue||!Z)&&history.state&&history.state.scroll||null;return zt().then(()=>pe(Y,Q,Ae)).then(ze=>ze&&qI(ze)).catch(ze=>K(ze,Y,Q))}const Se=Y=>n.go(Y);let Ee;const De=new Set,Xe={currentRoute:s,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:b,resolve:g,options:e,push:w,replace:C,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:i.add,beforeResolve:l.add,afterEach:a.add,onError:G.add,isReady:re,install(Y){const Q=this;Y.component("RouterLink",MR),Y.component("RouterView",kb),Y.config.globalProperties.$router=Q,Object.defineProperty(Y.config.globalProperties,"$route",{enumerable:!0,get:()=>Fo(s)}),yn&&!Ee&&s.value===or&&(Ee=!0,w(n.location).catch(pe=>{}));const Z={};for(const pe in or)Z[pe]=M(()=>s.value[pe]);Y.provide(Ta,Q),Y.provide(Wd,io(Z)),Y.provide(cc,s);const ue=Y.unmount;De.add(Y),Y.unmount=function(){De.delete(Y),De.size<1&&(c=or,O&&O(),O=null,s.value=or,Ee=!1,L=!1),ue()}}};return Xe}function bn(e){return e.reduce((t,o)=>t.then(()=>o()),Promise.resolve())}function HR(e,t){const o=[],r=[],n=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;lMn(c,a))?r.push(a):o.push(a));const s=e.matched[l];s&&(t.matched.find(c=>Mn(c,s))||n.push(s))}return[o,r,n]}function NR(){return ge(Ta)}function jR(){return ge(Wd)}const WR=(e,t,o="sessionStorage")=>{const r=JSON.stringify(t);o==="localStorage"?window.localStorage.setItem(e,r):window.sessionStorage.setItem(e,r)},Ln=(e,t="sessionStorage")=>{const o=t==="localStorage"?window.localStorage.getItem(e):window.sessionStorage.getItem(e);return Object.is(o,null)?"no":JSON.parse(o)},VR=(e,t="sessionStorage")=>{e==="all"?(window.window.localStorage.clear(),window.sessionStorage.clear()):e==="all-sessionStorage"?window.sessionStorage.clear():e==="all-localStorage"?window.localStorage.clear():t==="localStorage"?window.localStorage.removeItem(e):window.sessionStorage.removeItem(e)},Vi=le({name:"RayIcon",props:{color:{type:String,default:""},prefix:{type:String,default:"icon"},name:{type:String,required:!0},size:{type:[Number,String],default:14},width:{type:[Number,String],default:0},height:{type:[Number,String],default:0},customClassName:{type:String,default:""}},setup(e){const t=M(()=>e.color),o=M(()=>`#${e.prefix}-${e.name}`);return{modelColor:t,symbolId:o}},render(){return ve("svg",{ariaHidden:!0,class:`ray-icon ${this.customClassName}`,style:{width:`${this.width?this.width:this.size}px`,height:`${this.height?this.height:this.size}px`}},[ve("use",{"xlink:href":this.symbolId,fill:this.modelColor},null)])}}),Eb=Xv("menu",()=>{const e=NR(),t=jR(),{t:o}=dn(),r=Ln("menuKey")==="no"?"/dashboard":Ln("menuKey"),n=io({menuKey:r,options:[],collapsed:!1,menuTagOptions:[]}),i=u=>{u.path!==n.menuKey&&(n.menuTagOptions.find(p=>p.path===u.path)||n.menuTagOptions.push(u))},l=(u,f)=>{i(f),n.menuKey=u,e.push(`${f.path}`),WR("menuKey",u)},a=u=>{const f=p=>{var h;for(const b of p)if((h=b==null?void 0:b.children)!=null&&h.length&&f(b.children),u===b.path){l(b.path,b);break}};f(n.options)},s=()=>{const u=e.getRoutes().find(p=>p.name==="layout"),f=(p,h)=>p.map(b=>{var I,w;(I=b.children)!=null&&I.length&&(b.children=f(b.children));const v={...b,key:b.path,label:()=>m(b_,null,{default:()=>o(`GlobalMenuOptions.${b.meta.i18nKey}`)})},g={icon:()=>{var C;return m(Vi,{name:(C=b==null?void 0:b.meta)==null?void 0:C.icon,size:20},{})}},S=(w=b.meta)!=null&&w.icon?Object.assign(v,g):v;return b.path===r&&n.menuTagOptions.push(S),S});n.options=f(u==null?void 0:u.children)},c=u=>n.collapsed=u,d=u=>n.menuTagOptions.splice(u,1);return Ke(()=>t.fullPath,u=>{a(u)}),{...zc(n),menuModelValueChange:l,setupAppRoutes:s,collapsedMenu:c,spliceMenTagOptions:d}}),Vh=pE(),Ib=e=>{e.use(Vh),Vh.use(_E)},UR=le({name:"GlobalProvider",setup(){const e=Pa(),t=M(()=>e.primaryColorOverride),o=M(()=>e.themeValue?fE:null),{message:r,notification:n,dialog:i,loadingBar:l}=sE(["message","dialog","notification","loadingBar"],{configProviderProps:M(()=>({theme:o.value}))});return window.$dialog=i,window.$message=r,window.$loadingBar=l,window.$notification=n,{modelPrimaryColorOverride:t,modelThemeValue:o}},render(){return ve(Wg,{themeOverrides:this.modelPrimaryColorOverride,theme:this.modelThemeValue},{default:()=>[ve(Av,null,{default:()=>[ve(Wv,null,{default:()=>[ve(mv,null,{default:()=>[ve(Uv,null,{default:()=>{var e,t;return[ve(cz,null,null),(t=(e=this.$slots).default)==null?void 0:t.call(e)]}})]})]})]})]})}}),Rb=le({name:"App",render(){return ve(UR,null,{default:()=>[ve(kb,null,null)]})}}),KR="modulepreload",GR=function(e){return"/"+e},Uh={},xr=function(t,o,r){if(!o||o.length===0)return t();const n=document.getElementsByTagName("link");return Promise.all(o.map(i=>{if(i=GR(i),i in Uh)return;Uh[i]=!0;const l=i.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(!!r)for(let d=n.length-1;d>=0;d--){const u=n[d];if(u.href===i&&(!l||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=l?"stylesheet":KR,l||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),l)return new Promise((d,u)=>{c.addEventListener("load",d),c.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};var Kh;const tl=typeof window<"u",qR=e=>typeof e=="string",ls=()=>{};tl&&((Kh=window==null?void 0:window.navigator)==null?void 0:Kh.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function YR(e){return typeof e=="function"?e():Fo(e)}function XR(e){return e}function ZR(e){return H0()?(N0(e),!0):!1}function JR(e,t=!0){lo()?Bt(e):t?e():zt(e)}function QR(e){var t;const o=YR(e);return(t=o==null?void 0:o.$el)!=null?t:o}const Ob=tl?window:void 0;tl&&window.document;tl&&window.navigator;tl&&window.location;function Gh(...e){let t,o,r,n;if(qR(e[0])?([o,r,n]=e,t=Ob):[t,o,r,n]=e,!t)return ls;let i=ls;const l=Ke(()=>QR(t),s=>{i(),s&&(s.addEventListener(o,r,n),i=()=>{s.removeEventListener(o,r,n),i=ls})},{immediate:!0,flush:"post"}),a=()=>{l(),i()};return ZR(a),a}const dc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},uc="__vueuse_ssr_handlers__";dc[uc]=dc[uc]||{};dc[uc];var qh;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(qh||(qh={}));var e9=Object.defineProperty,Yh=Object.getOwnPropertySymbols,t9=Object.prototype.hasOwnProperty,o9=Object.prototype.propertyIsEnumerable,Xh=(e,t,o)=>t in e?e9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,r9=(e,t)=>{for(var o in t||(t={}))t9.call(t,o)&&Xh(e,o,t[o]);if(Yh)for(var o of Yh(t))o9.call(t,o)&&Xh(e,o,t[o]);return e};const n9={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};r9({linear:XR},n9);function i9(e={}){const{window:t=Ob,initialWidth:o=1/0,initialHeight:r=1/0,listenOrientation:n=!0}=e,i=U(o),l=U(r),a=()=>{t&&(i.value=t.innerWidth,l.value=t.innerHeight)};return a(),JR(a),Gh("resize",a,{passive:!0}),n&&Gh("orientationchange",a,{passive:!0}),{width:i,height:l}}const l9=le({__name:"index",props:{transitionPropName:{type:String,default:"fade"},transitionMode:{type:String,default:"out-in"},transitionAppear:{type:Boolean,default:!0}},setup(e){return(t,o)=>{const r=H1("router-view");return ws(),Ss(r,null,{default:ms(({Component:n,route:i})=>[ve(Ot,{name:e.transitionPropName,mode:e.transitionMode,appear:e.transitionAppear},{default:ms(()=>[(ws(),Ss(N1(n),{key:i.fullPath}))]),_:2},1032,["name","mode","appear"])]),_:1})}}}),a9=le({name:"LayoutMenu",setup(){const e=Eb(),{menuModelValueChange:t,setupAppRoutes:o,collapsedMenu:r}=e,n=M({get:()=>e.menuKey,set:()=>{}}),i=M(()=>e.options),l=M(()=>e.collapsed);return o(),{modelMenuKey:n,menuModelValueChange:t,modelMenuOptions:i,modelCollapsed:l,collapsedMenu:r}},render(){return ve(bk,{bordered:!0,showTrigger:!0,collapseMode:"width",collapsedWidth:64,onUpdateCollapsed:this.collapsedMenu.bind(this)},{default:()=>[ve(Bk,{value:this.modelMenuKey,"onUpdate:value":e=>this.modelMenuKey=e,options:this.modelMenuOptions,indent:24,collapsed:this.modelCollapsed,collapsedIconSize:22,collapsedWidth:64,onUpdateValue:this.menuModelValueChange.bind(this)},null)]})}});const s9={"en-US":{GlobalMenuOptions:{Dashboard:e=>{const{normalize:t}=e;return t(["Home"])},Rely:e=>{const{normalize:t}=e;return t(["Rely"])},RelyAbout:e=>{const{normalize:t}=e;return t(["Rely About"])},Error:e=>{const{normalize:t}=e;return t(["Error Page"])},Echart:e=>{const{normalize:t}=e;return t(["Chart"])},scrollReveal:e=>{const{normalize:t}=e;return t(["Scroll Reveal"])}},LayoutHeaderTooltipOptions:{Reload:e=>{const{normalize:t}=e;return t(["Reload Current Page"])},Lock:e=>{const{normalize:t}=e;return t(["Lock"])},Setting:e=>{const{normalize:t}=e;return t(["Setting"])},Github:e=>{const{normalize:t}=e;return t(["Github"])},FullScreen:e=>{const{normalize:t}=e;return t(["Full Screen"])},CancelFullScreen:e=>{const{normalize:t}=e;return t(["Cancel Full Screen"])}},LayoutHeaderSettingOptions:{Title:e=>{const{normalize:t}=e;return t(["Configuration"])},ThemeOptions:{Title:e=>{const{normalize:t}=e;return t(["Theme"])},Dark:e=>{const{normalize:t}=e;return t(["Dark"])},Light:e=>{const{normalize:t}=e;return t(["Light"])},PrimaryColorConfig:e=>{const{normalize:t}=e;return t(["Primary Color"])}}},LoginModule:{Register:e=>{const{normalize:t}=e;return t(["Register"])},Signin:e=>{const{normalize:t}=e;return t(["Signin"])},NamePlaceholder:e=>{const{normalize:t}=e;return t(["please enter user name"])},PasswordPlaceholder:e=>{const{normalize:t}=e;return t(["please enter password"])},Login:e=>{const{normalize:t}=e;return t(["Login"])},Name:e=>{const{normalize:t}=e;return t(["User Name"])},Password:e=>{const{normalize:t}=e;return t(["User Password"])}}},"zh-CN":{GlobalMenuOptions:{Dashboard:e=>{const{normalize:t}=e;return t(["\u9996\u9875"])},Rely:e=>{const{normalize:t}=e;return t(["\u4F9D\u8D56\u9879"])},RelyAbout:e=>{const{normalize:t}=e;return t(["\u5173\u4E8E"])},Error:e=>{const{normalize:t}=e;return t(["\u9519\u8BEF\u9875"])},Echart:e=>{const{normalize:t}=e;return t(["\u53EF\u89C6\u5316"])},scrollReveal:e=>{const{normalize:t}=e;return t(["\u6EDA\u52A8\u52A8\u753B"])}},LayoutHeaderTooltipOptions:{Reload:e=>{const{normalize:t}=e;return t(["\u5237\u65B0\u5F53\u524D\u9875\u9762"])},Lock:e=>{const{normalize:t}=e;return t(["\u9501\u5C4F"])},Setting:e=>{const{normalize:t}=e;return t(["\u8BBE\u7F6E"])},Github:e=>{const{normalize:t}=e;return t(["Github"])},FullScreen:e=>{const{normalize:t}=e;return t(["\u5168\u5C4F"])},CancelFullScreen:e=>{const{normalize:t}=e;return t(["\u9000\u51FA\u5168\u5C4F"])}},LayoutHeaderSettingOptions:{Title:e=>{const{normalize:t}=e;return t(["\u9879\u76EE\u914D\u7F6E"])},ThemeOptions:{Title:e=>{const{normalize:t}=e;return t(["\u4E3B\u9898"])},Dark:e=>{const{normalize:t}=e;return t(["\u6697\u8272"])},Light:e=>{const{normalize:t}=e;return t(["\u660E\u4EAE"])},PrimaryColorConfig:e=>{const{normalize:t}=e;return t(["\u4E3B\u9898\u8272"])}}},LoginModule:{Register:e=>{const{normalize:t}=e;return t(["\u6CE8\u518C"])},Signin:e=>{const{normalize:t}=e;return t(["\u767B\u9646"])},NamePlaceholder:e=>{const{normalize:t}=e;return t(["\u8BF7\u8F93\u5165\u7528\u6237\u540D"])},PasswordPlaceholder:e=>{const{normalize:t}=e;return t(["\u8BF7\u8F93\u5165\u5BC6\u7801"])},Login:e=>{const{normalize:t}=e;return t(["\u767B \u9646"])},Name:e=>{const{normalize:t}=e;return t(["\u7528\u6237\u540D"])},Password:e=>{const{normalize:t}=e;return t(["\u5BC6\u7801"])}}}},Ab=e=>{const t=Ln("localeLanguage","localStorage")!=="no"?Ln("localeLanguage","localStorage"):"zh-CN",o=zI({locale:t,allowComposition:!0,messages:s9});e.use(o)},c9=()=>[{key:"zh-CN",label:"\u4E2D\u6587(\u7B80\u4F53)"},{key:"en-US",label:"English(US)"}];const d9=()=>["#FFFFFF","#18A058","#2080F0","#F0A020","rgba(208, 48, 80, 1)"];function Zh(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pr(e)}const u9=le({name:"SettingDrawer",props:{show:{type:Boolean,default:!1},placement:{type:String,default:"right"},width:{type:Number,default:280}},emits:["update:show"],setup(e,{emit:t}){const{t:o}=dn(),r=Pa(),{changePrimaryColor:n,changeSwitcher:i}=r,{themeValue:l,primaryColorOverride:a,menuTagLog:s}=Zv(r);return{modelShow:M({get:()=>e.show,set:u=>{t("update:show",u)}}),ray:o,handleRailStyle:()=>({backgroundColor:"#000000"}),changePrimaryColor:n,themeValue:l,primaryColorOverride:a,menuTagLog:s,changeSwitcher:i}},render(){let e,t;return ve(WP,{show:this.modelShow,"onUpdate:show":o=>this.modelShow=o,placement:this.placement,width:this.width},{default:()=>[ve(UP,{title:this.ray("LayoutHeaderSettingOptions.Title")},{default:()=>[ve(In,{class:"setting-drawer__space",vertical:!0},{default:()=>[ve(Qa,{titlePlacement:"center"},Zh(e=this.ray("LayoutHeaderSettingOptions.ThemeOptions.Title"))?e:{default:()=>[e]}),ve(In,{justify:"center"},{default:()=>[ve(Ni,null,{trigger:()=>ve(qf,{value:this.themeValue,"onUpdate:value":o=>this.themeValue=o,railStyle:this.handleRailStyle.bind(this),onUpdateValue:o=>this.changeSwitcher(o,"themeValue")},{"checked-icon":()=>m(Vi,{name:"dark"},{}),"unchecked-icon":()=>m(Vi,{name:"light"},{})}),default:()=>this.themeValue?this.ray("LayoutHeaderSettingOptions.ThemeOptions.Dark"):this.ray("LayoutHeaderSettingOptions.ThemeOptions.Light")})]}),ve(Qa,{titlePlacement:"center"},Zh(t=this.ray("LayoutHeaderSettingOptions.ThemeOptions.PrimaryColorConfig"))?t:{default:()=>[t]}),ve(S8,{swatches:d9(),value:this.primaryColorOverride.common.primaryColor,"onUpdate:value":o=>this.primaryColorOverride.common.primaryColor=o,onUpdateValue:this.changePrimaryColor.bind(this)},null),ve(Qa,{titlePlacement:"center"},{default:()=>[Zr("\u754C\u9762\u663E\u793A")]}),ve(X_,{labelPlacement:"left",column:1},{default:()=>[ve(J_,{label:"\u663E\u793A\u591A\u6807\u7B7E"},{default:()=>[ve(qf,{value:this.menuTagLog,"onUpdate:value":o=>this.menuTagLog=o,onUpdateValue:o=>this.changeSwitcher(o,"menuTagLog")},null)]})]})]})]})]})}}),f9=()=>[{key:"person",label:"\u4E2A\u4EBA\u4FE1\u606F"},{type:"divider",key:"d1"},{key:"logout",label:"\u9000\u51FA\u767B\u9646"}],Jh=[["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"]],jo=(()=>{if(typeof document>"u")return!1;const e=Jh[0],t={};for(const o of Jh)if((o==null?void 0:o[1])in document){for(const[n,i]of o.entries())t[e[n]]=i;return t}return!1})(),Qh={change:jo.fullscreenchange,error:jo.fullscreenerror};let Ut={request(e=document.documentElement,t){return new Promise((o,r)=>{const n=()=>{Ut.off("change",n),o()};Ut.on("change",n);const i=e[jo.requestFullscreen](t);i instanceof Promise&&i.then(n).catch(r)})},exit(){return new Promise((e,t)=>{if(!Ut.isFullscreen){e();return}const o=()=>{Ut.off("change",o),e()};Ut.on("change",o);const r=document[jo.exitFullscreen]();r instanceof Promise&&r.then(o).catch(t)})},toggle(e,t){return Ut.isFullscreen?Ut.exit():Ut.request(e,t)},onchange(e){Ut.on("change",e)},onerror(e){Ut.on("error",e)},on(e,t){const o=Qh[e];o&&document.addEventListener(o,t,!1)},off(e,t){const o=Qh[e];o&&document.removeEventListener(o,t,!1)},raw:jo};Object.defineProperties(Ut,{isFullscreen:{get:()=>Boolean(document[jo.fullscreenElement])},element:{enumerable:!0,get:()=>{var e;return(e=document[jo.fullscreenElement])!=null?e:void 0}},isEnabled:{enumerable:!0,get:()=>Boolean(document[jo.fullscreenEnabled])}});jo||(Ut={isEnabled:!1});const ep=Ut;function as(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pr(e)}const h9=le({name:"SiderBar",setup(){const e=Pa(),{t}=dn(),{updateLocale:o,changeSwitcher:r}=e,n=U(e.drawerPlacement),i=U(!1),l=[{name:"reload",size:18,tooltip:"LayoutHeaderTooltipOptions.Reload"}],a=[{name:"fullscreen",size:18,tooltip:"",eventKey:"screen"},{name:"language",size:18,tooltip:"",dropdown:{eventKey:"handleSelect",switch:!0,options:c9(),handleSelect:f=>o(String(f))}},{name:"github",size:18,tooltip:"LayoutHeaderTooltipOptions.Github",eventKey:"github"},{name:"setting",size:18,tooltip:"LayoutHeaderTooltipOptions.Setting",eventKey:"setting"},{name:"ray",size:22,tooltip:"",dropdown:{eventKey:"handleSelect",switch:!0,options:f9(),handleSelect:f=>{f==="logout"?window.$dialog.warning({title:"\u63D0\u793A",content:"\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u767B\u5F55\u5417",positiveText:"\u786E\u5B9A",negativeText:"\u4E0D\u786E\u5B9A",onPositiveClick:()=>{window.$message.info("\u8D26\u53F7\u9000\u51FA\u4E2D..."),VR("all-sessionStorage"),setTimeout(()=>window.location.reload(),2*1e3)}}):window.$message.info("\u8FD9\u4E2A\u4EBA\u5F88\u61D2, \u6CA1\u505A\u8FD9\u4E2A\u529F\u80FD~")}}}],s={reload:()=>{r(!1,"reloadRouteLog"),setTimeout(()=>r(!0,"reloadRouteLog"))},setting:()=>{i.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},screen:()=>{ep.isEnabled?ep.toggle():window.$message.warning("\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F~")}},c=f=>{var p;(p=s[f])==null||p.call(s)},d=f=>{var p;return ve(Vi,{customClassName:"layout-header__method--icon",name:f.name,size:f.size,onClick:c.bind(this,(p=f.eventKey)!=null?p:"")},null)};return{leftIconOptions:l,rightIconOptions:a,t,handleIconClick:c,modelDrawerPlacement:n,showSettings:i,TooltipIcon:f=>f.tooltip?ve(Ni,null,{trigger:()=>d(f),default:()=>{var p;return t((p=f.tooltip)!=null?p:"")}}):d(f),Icon:d}},render(){let e,t;return ve(hk,{class:"layout-header",bordered:!0},{default:()=>[ve(In,{class:"layout-header__method",align:"center",justify:"space-between"},{default:()=>[ve(In,{align:"center"},as(e=this.leftIconOptions.map(o=>ve(Ni,null,{trigger:()=>ve(Vi,{customClassName:"layout-header__method--icon",name:o.name,size:o.size,onClick:this.handleIconClick.bind(this,o.name)},null),default:()=>this.t(o.tooltip)})))?e:{default:()=>[e]}),ve(In,{align:"center"},as(t=this.rightIconOptions.map(o=>{var n,i;let r;return(n=o.dropdown)!=null&&n.switch?ve(rv,{options:o.dropdown.options,onSelect:o.dropdown[(i=o.dropdown.eventKey)!=null?i:"handleSelect"]},as(r=this.Icon(o))?r:{default:()=>[r]}):this.TooltipIcon(o)}))?t:{default:()=>[t]})]}),ve(u9,{show:this.showSettings,"onUpdate:show":o=>this.showSettings=o,placement:this.modelDrawerPlacement},null)]})}});function p9(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pr(e)}const m9=le({name:"MenuTag",setup(){const e=Eb(),{menuTagOptions:t,menuKey:o}=Zv(e),{menuModelValueChange:r,spliceMenTagOptions:n}=e;return{menuTagOptions:t,menuModelValueChange:r,handleCloseTag:a=>{if(n(a),o.value!=="/dashboard"){const s=t.value,c=s.length,d=s[c-1];r(d.key,d)}},menuKey:o,handleTagClick:a=>{r(a.key,a)}}},render(){let e;return ve(tE,{class:"menu-tag",xScrollable:!0},{default:()=>[ve(In,{class:"menu-tag-sapce",wrap:!1,align:"center"},p9(e=this.menuTagOptions.map((t,o)=>ve(K6,{closable:t.key!=="/dashboard"&&this.menuTagOptions.length>1,onClose:()=>this.handleCloseTag(o),type:t.key===this.menuKey?"success":"default",onClick:this.handleTagClick.bind(this,t)},{default:()=>[typeof t.label=="function"?t.label():t.label]})))?e:{default:()=>[e]})]})}}),g9=le({name:"Layout",props:{},setup(){const e=Pa(),{height:t}=i9(),o=M(()=>e.reloadRouteLog),r=M(()=>e.menuTagLog),n=M(()=>{let i={};return e.menuTagLog?i={"--layout-content-height":"calc(100% - 110px)"}:i={"--layout-content-height":"calc(100% - 64px)"},i});return{windowHeight:t,modelReloadRoute:o,modelMenuTagLog:r,cssVarsRef:n}},render(){return ve("div",{class:"layout",style:[`height: ${this.windowHeight}px`,this.cssVarsRef]},[ve(Uf,{class:"layout-full",hasSider:!0},{default:()=>[ve(a9,null,null),ve(Uf,null,{default:()=>[ve(h9,null,null),this.modelMenuTagLog?ve(m9,null,null):"",ve(dk,{class:"layout-content__router-view",nativeScrollbar:!1},{default:()=>[this.modelReloadRoute?ve(l9,null,null):""]})]})]})])}}),v9={path:"/dashboard",name:"dashboard",component:()=>xr(()=>import("./index.87c6b1fe.js"),["assets/index.87c6b1fe.js","assets/index.1e5b801c.js","assets/index.dc50c796.css"]),meta:{i18nKey:"Dashboard",icon:"dashboard"}},b9={path:"/rely",name:"rely",component:()=>xr(()=>import("./index.5a9eb743.js"),[]),meta:{i18nKey:"Rely",icon:"rely"},children:[{path:"/rely-about",name:"rely-about",component:()=>xr(()=>import("./index.53066b8a.js"),["assets/index.53066b8a.js","assets/index.184de73a.css"]),meta:{i18nKey:"RelyAbout"}}]},x9={path:"/error",name:"error",component:()=>xr(()=>import("./index.d49023d8.js"),["assets/index.d49023d8.js","assets/Result.9786211f.js","assets/index.fa813b60.css"]),meta:{i18nKey:"Error",icon:"error"}},C9={path:"/echart",name:"echart",component:()=>xr(()=>import("./index.4278c5fb.js"),["assets/index.4278c5fb.js","assets/index.3f9db04e.css"]),meta:{i18nKey:"Echart",icon:"echart"}},y9={path:"/scroll-reveal",name:"scroll-reveal",component:()=>xr(()=>import("./index.1081a12d.js"),["assets/index.1081a12d.js","assets/index.0d9096a4.css"]),meta:{i18nKey:"scrollReveal",icon:"scroll_reveal"}},w9=[v9,C9,y9,x9,b9],S9=[{path:"/",name:"login",component:()=>xr(()=>import("./index.26ae7813.js"),["assets/index.26ae7813.js","assets/Result.9786211f.js","assets/index.1e5b801c.js","assets/index.6a9d9035.css"])},{path:"/",name:"layout",redirect:"/dashboard",component:g9,children:w9},{path:"/:catchAll(.*)",name:"error-page",component:()=>xr(()=>import("./index.d49023d8.js"),["assets/index.d49023d8.js","assets/Result.9786211f.js","assets/index.fa813b60.css"])}],Si=FR({history:tR(),routes:S9,scrollBehavior:()=>({left:0,top:0})}),Mb=e=>{e.use(Si)},Bb=()=>{Si.beforeEach(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.start()}),Si.afterEach(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.finish()}),Si.onError(()=>{var e;(e=window==null?void 0:window.$loadingBar)==null||e.error()})},Lb=()=>{Si.beforeEach((e,t,o)=>{const r=Ln("token"),n=Ln("menuKey");r!=="no"?e.path==="/"||t.path==="/login"?o(n):o():e.path==="/"||t.path==="/login"?o():o("/")})},$9=()=>{const e=Mc(Rb);Ib(e),Mb(e),Bb(),Lb(),Ab(e),e.mount("#app")},_9=()=>{let e;window.__WUJIE_MOUNT=()=>{e=Mc(Rb),Ib(e),Mb(e),Bb(),Lb(),Ab(e),e.mount("#app")},window.__WUJIE_UNMOUNT=()=>{e.unmount()},window.__WUJIE.mount()};window.__POWERED_BY_WUJIE__?_9():$9();export{$e as $,ao as A,k as B,Be as C,ca as D,af as E,Bt as F,ut as G,ot as H,ce as I,gr as J,qe as K,ae as L,Nn as M,qo as N,Ze as O,ko as P,st as Q,Un as R,Nc as S,Ot as T,Je as U,Uc as V,Ri as W,po as X,HC as Y,Nt as Z,Ds as _,tn as a,Sf as a$,zt as a0,oo as a1,Kx as a2,zo as a3,I9 as a4,On as a5,dn as a6,ve as a7,WR as a8,g$ as a9,X_ as aA,J_ as aB,Uf as aC,K6 as aD,kb as aE,Go as aF,D2 as aG,cd as aH,Um as aI,b3 as aJ,p3 as aK,SS as aL,Ym as aM,x3 as aN,E3 as aO,vr as aP,I3 as aQ,br as aR,kf as aS,vf as aT,_w as aU,ro as aV,w2 as aW,jl as aX,f3 as aY,R3 as aZ,$o as a_,Sn as aa,pr as ab,NR as ac,io as ad,i9 as ae,Pa as af,zc as ag,In as ah,Zr as ai,rv as aj,c9 as ak,Vi as al,E8 as am,Qa as an,jc as ao,hm as ap,U6 as aq,qr as ar,T9 as as,Fl as at,Ni as au,Ul as av,pd as aw,md as ax,hd as ay,E9 as az,pl as b,L2 as b0,Zv as b1,qf as b2,cy as c,le as d,td as e,Cr as f,lo as g,m as h,ge as i,Ro as j,R as k,N as l,E as m,P9 as n,$t as o,Ye as p,Pe as q,U as r,Re as s,k9 as t,Yi as u,en as v,Ke as w,M as x,No as y,wS as z}; diff --git a/assets/index.9839d7cd.js.gz b/assets/index.dfa30cb8.js.gz similarity index 87% rename from assets/index.9839d7cd.js.gz rename to assets/index.dfa30cb8.js.gz index 6940fbb4..6a18a0c9 100644 Binary files a/assets/index.9839d7cd.js.gz and b/assets/index.dfa30cb8.js.gz differ diff --git a/assets/index.ef5082a3.js.gz b/assets/index.ef5082a3.js.gz deleted file mode 100644 index 36caa949..00000000 Binary files a/assets/index.ef5082a3.js.gz and /dev/null differ diff --git a/index.html b/index.html index 69a7163a..16e225ea 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ ray template - +