commit 7dd0e600623878c405504c652409198b50bb7d3e
Author: M先生 <1211120248@qq.com>
Date: Sun Jun 28 10:52:42 2026 +0800
feat: submit screen v2.0
diff --git a/.env b/.env
new file mode 100644
index 0000000..7825104
--- /dev/null
+++ b/.env
@@ -0,0 +1,8 @@
+# VITE_APP_BASE_URL=/VisualTemplate/
+VITE_APP_BASE_URL=/
+VITE_OPEN_API_BASE=/openApi
+VITE_JSY_API_BASE=/jsyApi
+VITE_GEOSERVER_WMS_URL=/geoserver/ne/wms
+VITE_OPEN_API_PROXY_TARGET=http://127.0.0.1:9999
+VITE_JSY_API_PROXY_TARGET=https://muhu-daping.qklny.cn
+VITE_GEOSERVER_PROXY_TARGET=http://127.0.0.1:8080
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cd8ed2c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,27 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+.vite
+dist
+dist-ssr
+*.local
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
+.idea
+.DS_Store
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
+*.psd
+*.zip
diff --git a/build/constant.js b/build/constant.js
new file mode 100644
index 0000000..20a2c20
--- /dev/null
+++ b/build/constant.js
@@ -0,0 +1,11 @@
+/*
+ * @Descripttion:
+ * @version: 1.0.0
+ * @Author: htang
+ * @Date: 2024-08-24 14:36:43
+ * @LastEditors: htang
+ * @LastEditTime: 2024-08-24 14:37:03
+ */
+export const GLOB_CONFIG_FILE_NAME = '_app.config.js';
+
+export const OUTPUT_DIR = 'docs';
\ No newline at end of file
diff --git a/docs/assets/AlibabaPuHuiTi-14435b65-balabala-1782613078975.woff2 b/docs/assets/AlibabaPuHuiTi-14435b65-balabala-1782613078975.woff2
new file mode 100644
index 0000000..b504a19
Binary files /dev/null and b/docs/assets/AlibabaPuHuiTi-14435b65-balabala-1782613078975.woff2 differ
diff --git a/docs/assets/SmartChartRenderer-8df650d8-1782613078975.js b/docs/assets/SmartChartRenderer-8df650d8-1782613078975.js
new file mode 100644
index 0000000..9017599
--- /dev/null
+++ b/docs/assets/SmartChartRenderer-8df650d8-1782613078975.js
@@ -0,0 +1,2 @@
+var B=Object.defineProperty,O=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var v=(a,r,o)=>r in a?B(a,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[r]=o,m=(a,r)=>{for(var o in r||(r={}))W.call(r,o)&&v(a,o,r[o]);if(S)for(var o of S(r))$.call(r,o)&&v(a,o,r[o]);return a},d=(a,r)=>O(a,D(r));import{L as b,H}from"./index-d3bd1e52-1782613078975.js";import{e as h,h as F,C as R,o as g,c as p,a as f,t as u,g as L,b as V,u as P,n as j}from"./index-1782613078975.js";const q={class:"smart-chart-header"},G={key:0},E={key:0,class:"smart-chart-source"},J={__name:"SmartChartRenderer",props:{chart:{type:Object,required:!0}},emits:["ready"],setup(a,{emit:r}){const o=r,i=a,l=["#30dcff","#27f0c0","#ffd76c","#7aa7ff","#ff8f6b","#a6f06d"],z=h(()=>{const t=(i.chart.rows||[]).filter(e=>Number.isFinite(Number(e.value)));return i.chart.type==="pie"?N(t):i.chart.type==="line"?w(t):C(t)}),k=h(()=>{const t=i.chart.rows||[];return i.chart.type==="bar"&&x(t)}),y=h(()=>{const t=i.chart.source||{},e=[t.mode,t.table,t.period,t.generatedAt].filter(Boolean);return e.length?e.join(" / "):""});F(()=>{R(()=>{window.requestAnimationFrame(()=>o("ready"))})});function C(t){return x(t)?_(t):{animationDuration:700,grid:{left:52,right:26,top:28,bottom:54},tooltip:s(),xAxis:{type:"category",data:t.map(e=>e.name),axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},axisLabel:{color:"rgba(223, 250, 255, 0.76)",fontSize:11,interval:0,rotate:t.length>6?28:0}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.1)",type:"dashed"}},axisLabel:{color:"rgba(223, 250, 255, 0.58)",fontSize:11}},series:[{name:i.chart.title,type:"bar",barWidth:t.length>7?16:22,data:t.map((e,n)=>({value:e.value,name:e.name,itemStyle:{borderRadius:[8,8,0,0],color:new b(0,0,0,1,[{offset:0,color:l[n%l.length]},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])}})),label:{show:!0,position:"top",color:"#ffffff",fontSize:11,formatter:({value:e})=>c(e)}}]}}function _(t){return{animationDuration:700,grid:{left:78,right:72,top:22,bottom:20},tooltip:d(m({},s()),{trigger:"axis",axisPointer:{type:"shadow"}}),xAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.1)",type:"dashed"}},axisLabel:{color:"rgba(223, 250, 255, 0.58)",fontSize:11}},yAxis:{type:"category",inverse:!0,data:t.map(e=>e.name),axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},axisLabel:{color:"rgba(223, 250, 255, 0.82)",fontSize:12}},series:[{name:i.chart.title,type:"bar",barWidth:13,data:t.map((e,n)=>({value:e.value,name:e.name,itemStyle:{borderRadius:[0,8,8,0],color:new b(0,0,1,0,[{offset:0,color:"rgba(48, 220, 255, 0.16)"},{offset:1,color:l[n%l.length]}])}})),label:{show:!0,position:"right",color:"#ffffff",fontSize:11,formatter:({value:e})=>c(e)}}]}}function N(t){return{animationDuration:700,tooltip:s(),legend:{orient:"vertical",right:10,top:"middle",itemWidth:10,itemHeight:10,textStyle:{color:"rgba(223, 250, 255, 0.78)",fontSize:11}},series:[{name:i.chart.title,type:"pie",radius:["48%","68%"],center:["35%","52%"],avoidLabelOverlap:!0,label:{color:"#fff",fontSize:11,formatter:`{b}
+{d}%`},labelLine:{lineStyle:{color:"rgba(223, 250, 255, 0.42)"}},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:t.map((e,n)=>({name:e.name,value:e.value,itemStyle:{color:l[n%l.length]}}))}]}}function w(t){return{animationDuration:760,grid:{left:52,right:28,top:30,bottom:48},tooltip:d(m({},s()),{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(255, 215, 108, 0.52)"}}}),xAxis:{type:"category",boundaryGap:!1,data:t.map(e=>e.name),axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},axisLabel:{color:"rgba(223, 250, 255, 0.76)",fontSize:11,interval:0}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.1)",type:"dashed"}},axisLabel:{color:"rgba(223, 250, 255, 0.58)",fontSize:11}},series:[{name:i.chart.title,type:"line",smooth:!0,symbol:"circle",symbolSize:8,lineStyle:{width:3,color:"#30dcff"},itemStyle:{color:"#ffd76c",borderColor:"#041522",borderWidth:2},areaStyle:{color:new b(0,0,0,1,[{offset:0,color:"rgba(48, 220, 255, 0.24)"},{offset:1,color:"rgba(48, 220, 255, 0.02)"}])},label:{show:!0,position:"top",color:"#ffffff",fontSize:11,formatter:({value:e})=>c(e)},data:t.map(e=>({value:e.value,name:e.name}))}]}}function s(){return{trigger:"item",backgroundColor:"rgba(2, 13, 22, 0.94)",borderColor:"rgba(48, 220, 255, 0.34)",borderWidth:1,textStyle:{color:"#fff",fontSize:12},formatter:t=>{const e=(i.chart.rows||[]).find(A=>A.name===t.name),n=(e==null?void 0:e.unit)||i.chart.unit||"",T=e!=null&&e.extra?`
${e.extra}`:"";return`${t.marker}${t.name}: ${c(t.value)}${n}${T}`}}}function x(t=[]){return t.length>6||t.some(e=>String(e.name||"").length>4)}function c(t){const e=Number(t);return Number.isFinite(e)?Number.isInteger(e)?e.toLocaleString("zh-CN"):e.toLocaleString("zh-CN",{maximumFractionDigits:2}):"--"}return(t,e)=>(g(),p("div",{class:j(["smart-chart-card",{"is-horizontal":k.value}])},[f("div",q,[f("div",null,[f("strong",null,u(a.chart.title),1),f("span",null,u(a.chart.subtitle),1)]),a.chart.unit?(g(),p("em",G,u(a.chart.unit),1)):L("",!0)]),V(P(H),{class:"smart-chart",option:z.value,autoresize:""},null,8,["option"]),y.value?(g(),p("div",E,u(y.value),1)):L("",!0)],2))}};export{J as default};
diff --git a/docs/assets/SmartChartRenderer-8fd37aa6-balabala-1782613078975.css b/docs/assets/SmartChartRenderer-8fd37aa6-balabala-1782613078975.css
new file mode 100644
index 0000000..2754991
--- /dev/null
+++ b/docs/assets/SmartChartRenderer-8fd37aa6-balabala-1782613078975.css
@@ -0,0 +1 @@
+.smart-chart-card{width:min(620px,100%);height:292px;margin-top:12px;box-sizing:border-box;border:1px solid rgba(48,220,255,.24);background:linear-gradient(135deg,rgba(6,37,50,.86),rgba(4,19,32,.82)),radial-gradient(circle at 22% 8%,rgba(48,220,255,.12),transparent 34%);box-shadow:inset 0 0 28px #30dcff14,0 14px 32px #00000038}.smart-chart-header{height:52px;padding:10px 14px 0;display:flex;align-items:flex-start;justify-content:space-between;box-sizing:border-box}.smart-chart-header strong{display:block;color:#fff;font-size:16px;line-height:1.2}.smart-chart-header span{display:block;margin-top:5px;color:#dffaff94;font-size:12px}.smart-chart-header em{padding:3px 9px;border:1px solid rgba(255,215,108,.3);color:#ffd76c;font-style:normal;font-size:12px;background:rgba(255,215,108,.08)}.smart-chart{width:100%;height:216px}.smart-chart-source{height:22px;padding:0 14px;box-sizing:border-box;color:#dffaff7a;font-size:11px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
diff --git a/docs/assets/bg-3acb94e3-balabala-1782613078975.png b/docs/assets/bg-3acb94e3-balabala-1782613078975.png
new file mode 100644
index 0000000..794c158
Binary files /dev/null and b/docs/assets/bg-3acb94e3-balabala-1782613078975.png differ
diff --git a/docs/assets/bottom-menu-arrow-big-180b7071-balabala-1782613078975.svg b/docs/assets/bottom-menu-arrow-big-180b7071-balabala-1782613078975.svg
new file mode 100644
index 0000000..db4cf3a
--- /dev/null
+++ b/docs/assets/bottom-menu-arrow-big-180b7071-balabala-1782613078975.svg
@@ -0,0 +1,10 @@
+
diff --git a/docs/assets/bottom-menu-arrow-small-19304179-balabala-1782613078975.svg b/docs/assets/bottom-menu-arrow-small-19304179-balabala-1782613078975.svg
new file mode 100644
index 0000000..7167605
--- /dev/null
+++ b/docs/assets/bottom-menu-arrow-small-19304179-balabala-1782613078975.svg
@@ -0,0 +1,9 @@
+
diff --git a/docs/assets/bottom-menu-bg-b465793d-balabala-1782613078975.png b/docs/assets/bottom-menu-bg-b465793d-balabala-1782613078975.png
new file mode 100644
index 0000000..46f1de3
Binary files /dev/null and b/docs/assets/bottom-menu-bg-b465793d-balabala-1782613078975.png differ
diff --git a/docs/assets/bottom-menu-btn-ee5c8064-balabala-1782613078975.png b/docs/assets/bottom-menu-btn-ee5c8064-balabala-1782613078975.png
new file mode 100644
index 0000000..aadbfd0
Binary files /dev/null and b/docs/assets/bottom-menu-btn-ee5c8064-balabala-1782613078975.png differ
diff --git a/docs/assets/bottom-menu-btn-hover-df33e514-balabala-1782613078975.png b/docs/assets/bottom-menu-btn-hover-df33e514-balabala-1782613078975.png
new file mode 100644
index 0000000..7e65e18
Binary files /dev/null and b/docs/assets/bottom-menu-btn-hover-df33e514-balabala-1782613078975.png differ
diff --git a/docs/assets/chinaBlurLine-1a2cbc0f-balabala-1782613078975.png b/docs/assets/chinaBlurLine-1a2cbc0f-balabala-1782613078975.png
new file mode 100644
index 0000000..682d95d
Binary files /dev/null and b/docs/assets/chinaBlurLine-1a2cbc0f-balabala-1782613078975.png differ
diff --git a/docs/assets/content-bottom-left-arrow-3a8a61f3-balabala-1782613078975.svg b/docs/assets/content-bottom-left-arrow-3a8a61f3-balabala-1782613078975.svg
new file mode 100644
index 0000000..98447a8
--- /dev/null
+++ b/docs/assets/content-bottom-left-arrow-3a8a61f3-balabala-1782613078975.svg
@@ -0,0 +1,3 @@
+
diff --git a/docs/assets/content-bottom-right-arrow-a3c5270d-balabala-1782613078975.svg b/docs/assets/content-bottom-right-arrow-a3c5270d-balabala-1782613078975.svg
new file mode 100644
index 0000000..4f02a4f
--- /dev/null
+++ b/docs/assets/content-bottom-right-arrow-a3c5270d-balabala-1782613078975.svg
@@ -0,0 +1,3 @@
+
diff --git a/docs/assets/content-middle-line-162bc0d5-balabala-1782613078975.svg b/docs/assets/content-middle-line-162bc0d5-balabala-1782613078975.svg
new file mode 100644
index 0000000..922432f
--- /dev/null
+++ b/docs/assets/content-middle-line-162bc0d5-balabala-1782613078975.svg
@@ -0,0 +1,13 @@
+
diff --git a/docs/assets/focus_bg-b6803e2d-balabala-1782613078975.png b/docs/assets/focus_bg-b6803e2d-balabala-1782613078975.png
new file mode 100644
index 0000000..dfc98ae
Binary files /dev/null and b/docs/assets/focus_bg-b6803e2d-balabala-1782613078975.png differ
diff --git a/docs/assets/focus_move_bg-cf41417a-balabala-1782613078975.png b/docs/assets/focus_move_bg-cf41417a-balabala-1782613078975.png
new file mode 100644
index 0000000..8551572
Binary files /dev/null and b/docs/assets/focus_move_bg-cf41417a-balabala-1782613078975.png differ
diff --git a/docs/assets/header-bg-65b38012-balabala-1782613078975.png b/docs/assets/header-bg-65b38012-balabala-1782613078975.png
new file mode 100644
index 0000000..af64ca1
Binary files /dev/null and b/docs/assets/header-bg-65b38012-balabala-1782613078975.png differ
diff --git a/docs/assets/huiguang-3c5dfda5-balabala-1782613078975.png b/docs/assets/huiguang-3c5dfda5-balabala-1782613078975.png
new file mode 100644
index 0000000..6506f41
Binary files /dev/null and b/docs/assets/huiguang-3c5dfda5-balabala-1782613078975.png differ
diff --git a/docs/assets/icon1-6f7c222f-balabala-1782613078975.png b/docs/assets/icon1-6f7c222f-balabala-1782613078975.png
new file mode 100644
index 0000000..ce5bf11
Binary files /dev/null and b/docs/assets/icon1-6f7c222f-balabala-1782613078975.png differ
diff --git a/docs/assets/icon2-4f77ccec-balabala-1782613078975.png b/docs/assets/icon2-4f77ccec-balabala-1782613078975.png
new file mode 100644
index 0000000..335ba6d
Binary files /dev/null and b/docs/assets/icon2-4f77ccec-balabala-1782613078975.png differ
diff --git a/docs/assets/index-1782613078975.js b/docs/assets/index-1782613078975.js
new file mode 100644
index 0000000..c539ea6
--- /dev/null
+++ b/docs/assets/index-1782613078975.js
@@ -0,0 +1,25 @@
+(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
+* @vue/shared v3.5.31
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/function Es(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Y={},Ot=[],Ie=()=>{},Wr=()=>!1,In=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nn=e=>e.startsWith("onUpdate:"),le=Object.assign,xs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fo=Object.prototype.hasOwnProperty,q=(e,t)=>fo.call(e,t),V=Array.isArray,Pt=e=>rn(e)==="[object Map]",kr=e=>rn(e)==="[object Set]",zs=e=>rn(e)==="[object Date]",B=e=>typeof e=="function",re=e=>typeof e=="string",Se=e=>typeof e=="symbol",z=e=>e!==null&&typeof e=="object",qr=e=>(z(e)||B(e))&&B(e.then)&&B(e.catch),$r=Object.prototype.toString,rn=e=>$r.call(e),ao=e=>rn(e).slice(8,-1),zr=e=>rn(e)==="[object Object]",Mn=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kt=Es(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ho=/-\w/g,ye=Dn(e=>e.replace(ho,t=>t.slice(1).toUpperCase())),po=/\B([A-Z])/g,at=Dn(e=>e.replace(po,"-$1").toLowerCase()),Ln=Dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),kn=Dn(e=>e?`on${Ln(e)}`:""),We=(e,t)=>!Object.is(e,t),hn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Js;const Fn=()=>Js||(Js=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function As(e){if(V(e)){const t={};for(let n=0;n{if(n){const s=n.split(mo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ws(e){let t="";if(re(e))t=e;else if(V(e))for(let n=0;n!!(e&&e.__v_isRef===!0),xo=e=>re(e)?e:e==null?"":V(e)||z(e)&&(e.toString===$r||!B(e.toString))?Yr(e)?xo(e.value):JSON.stringify(e,Xr,2):String(e),Xr=(e,t)=>Yr(t)?Xr(e,t.value):Pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[qn(s,i)+" =>"]=r,n),{})}:kr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qn(n))}:Se(t)?qn(t):z(t)&&!V(t)&&!zr(t)?String(t):t,qn=(e,t="")=>{var n;return Se(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
+* @vue/reactivity v3.5.31
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/let Ee;class Ro{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ee,!t&&Ee&&(this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Ee=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if($t){let t=$t;for($t=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;qt;){let t=qt;for(qt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ni(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function si(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ps(s),wo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ls(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ri(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ri(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xt)||(e.globalVersion=Xt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ls(e))))return;e.flags|=2;const t=e.dep,n=Z,s=Ne;Z=e,Ne=!0;try{ni(e);const r=e.fn(e._value);(t.version===0||We(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Z=n,Ne=s,si(e),e.flags&=-3}}function Ps(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Ps(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function wo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const ii=[];function et(){ii.push(Ne),Ne=!1}function tt(){const e=ii.pop();Ne=e===void 0?!0:e}function Qs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Xt=0;class So{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ts{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Z||!Ne||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new So(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,oi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=s)}return n}trigger(t){this.version++,Xt++,this.notify(t)}notify(t){Cs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Os()}}}function oi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)oi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const bn=new WeakMap,yt=Symbol(""),cs=Symbol(""),Zt=Symbol("");function pe(e,t,n){if(Ne&&Z){let s=bn.get(e);s||bn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ts),r.map=s,r.key=n),r.track()}}function Ye(e,t,n,s,r,i){const o=bn.get(e);if(!o){Xt++;return}const l=c=>{c&&c.trigger()};if(Cs(),t==="clear")o.forEach(l);else{const c=V(e),a=c&&Mn(n);if(c&&n==="length"){const f=Number(s);o.forEach((h,p)=>{(p==="length"||p===Zt||!Se(p)&&p>=f)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),a&&l(o.get(Zt)),t){case"add":c?a&&l(o.get("length")):(l(o.get(yt)),Pt(e)&&l(o.get(cs)));break;case"delete":c||(l(o.get(yt)),Pt(e)&&l(o.get(cs)));break;case"set":Pt(e)&&l(o.get(yt));break}}Os()}function Co(e,t){const n=bn.get(e);return n&&n.get(t)}function At(e){const t=G(e);return t===e?t:(pe(t,"iterate",Zt),we(e)?t:t.map(Me))}function Hn(e){return pe(e=G(e),"iterate",Zt),e}function Ke(e,t){return nt(e)?Mt(vt(e)?Me(t):t):Me(t)}const Oo={__proto__:null,[Symbol.iterator](){return zn(this,Symbol.iterator,e=>Ke(this,e))},concat(...e){return At(this).concat(...e.map(t=>V(t)?At(t):t))},entries(){return zn(this,"entries",e=>(e[1]=Ke(this,e[1]),e))},every(e,t){return $e(this,"every",e,t,void 0,arguments)},filter(e,t){return $e(this,"filter",e,t,n=>n.map(s=>Ke(this,s)),arguments)},find(e,t){return $e(this,"find",e,t,n=>Ke(this,n),arguments)},findIndex(e,t){return $e(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $e(this,"findLast",e,t,n=>Ke(this,n),arguments)},findLastIndex(e,t){return $e(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $e(this,"forEach",e,t,void 0,arguments)},includes(...e){return Jn(this,"includes",e)},indexOf(...e){return Jn(this,"indexOf",e)},join(e){return At(this).join(e)},lastIndexOf(...e){return Jn(this,"lastIndexOf",e)},map(e,t){return $e(this,"map",e,t,void 0,arguments)},pop(){return Bt(this,"pop")},push(...e){return Bt(this,"push",e)},reduce(e,...t){return Ys(this,"reduce",e,t)},reduceRight(e,...t){return Ys(this,"reduceRight",e,t)},shift(){return Bt(this,"shift")},some(e,t){return $e(this,"some",e,t,void 0,arguments)},splice(...e){return Bt(this,"splice",e)},toReversed(){return At(this).toReversed()},toSorted(e){return At(this).toSorted(e)},toSpliced(...e){return At(this).toSpliced(...e)},unshift(...e){return Bt(this,"unshift",e)},values(){return zn(this,"values",e=>Ke(this,e))}};function zn(e,t,n){const s=Hn(e),r=s[t]();return s!==e&&!we(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Po=Array.prototype;function $e(e,t,n,s,r,i){const o=Hn(e),l=o!==e&&!we(e),c=o[t];if(c!==Po[t]){const h=c.apply(e,i);return l?Me(h):h}let a=n;o!==e&&(l?a=function(h,p){return n.call(this,Ke(e,h),p,e)}:n.length>2&&(a=function(h,p){return n.call(this,h,p,e)}));const f=c.call(o,a,s);return l&&r?r(f):f}function Ys(e,t,n,s){const r=Hn(e),i=r!==e&&!we(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(a,f,h){return l&&(l=!1,a=Ke(e,a)),n.call(this,a,Ke(e,f),h,e)}):n.length>3&&(o=function(a,f,h){return n.call(this,a,f,h,e)}));const c=r[t](o,...s);return l?Ke(e,c):c}function Jn(e,t,n){const s=G(e);pe(s,"iterate",Zt);const r=s[t](...n);return(r===-1||r===!1)&&jn(n[0])?(n[0]=G(n[0]),s[t](...n)):r}function Bt(e,t,n=[]){et(),Cs();const s=G(e)[t].apply(e,n);return Os(),tt(),s}const To=Es("__proto__,__v_isRef,__isVue"),li=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Se));function Io(e){Se(e)||(e=String(e));const t=G(this);return pe(t,"has",e),t.hasOwnProperty(e)}class ci{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Uo:di:i?ai:fi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=V(t);if(!r){let c;if(o&&(c=Oo[n]))return c;if(n==="hasOwnProperty")return Io}const l=Reflect.get(t,n,fe(t)?t:s);if((Se(n)?li.has(n):To(n))||(r||pe(t,"get",n),i))return l;if(fe(l)){const c=o&&Mn(n)?l:l.value;return r&&z(c)?fs(c):c}return z(l)?r?fs(l):Vn(l):l}}class ui extends ci{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=V(t)&&Mn(n);if(!this._isShallow){const a=nt(i);if(!we(s)&&!nt(s)&&(i=G(i),s=G(s)),!o&&fe(i)&&!fe(s))return a||(i.value=s),!0}const l=o?Number(n)e,un=e=>Reflect.getPrototypeOf(e);function Fo(e,t,n){return function(...s){const r=this.__v_raw,i=G(r),o=Pt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=r[e](...s),f=n?us:t?Mt:Me;return!t&&pe(i,"iterate",c?cs:yt),le(Object.create(a),{next(){const{value:h,done:p}=a.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}}})}}function fn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ho(e,t){const n={get(r){const i=this.__v_raw,o=G(i),l=G(r);e||(We(r,l)&&pe(o,"get",r),pe(o,"get",l));const{has:c}=un(o),a=t?us:e?Mt:Me;if(c.call(o,r))return a(i.get(r));if(c.call(o,l))return a(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&pe(G(r),"iterate",yt),r.size},has(r){const i=this.__v_raw,o=G(i),l=G(r);return e||(We(r,l)&&pe(o,"has",r),pe(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=G(l),a=t?us:e?Mt:Me;return!e&&pe(c,"iterate",yt),l.forEach((f,h)=>r.call(i,a(f),a(h),o))}};return le(n,e?{add:fn("add"),set:fn("set"),delete:fn("delete"),clear:fn("clear")}:{add(r){const i=G(this),o=un(i),l=G(r),c=!t&&!we(r)&&!nt(r)?l:r;return o.has.call(i,c)||We(r,c)&&o.has.call(i,r)||We(l,c)&&o.has.call(i,l)||(i.add(c),Ye(i,"add",c,c)),this},set(r,i){!t&&!we(i)&&!nt(i)&&(i=G(i));const o=G(this),{has:l,get:c}=un(o);let a=l.call(o,r);a||(r=G(r),a=l.call(o,r));const f=c.call(o,r);return o.set(r,i),a?We(i,f)&&Ye(o,"set",r,i):Ye(o,"add",r,i),this},delete(r){const i=G(this),{has:o,get:l}=un(i);let c=o.call(i,r);c||(r=G(r),c=o.call(i,r)),l&&l.call(i,r);const a=i.delete(r);return c&&Ye(i,"delete",r,void 0),a},clear(){const r=G(this),i=r.size!==0,o=r.clear();return i&&Ye(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Fo(r,e,t)}),n}function Is(e,t){const n=Ho(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(q(n,r)&&r in s?n:s,r,i)}const Vo={get:Is(!1,!1)},jo={get:Is(!1,!0)},Bo={get:Is(!0,!1)};const fi=new WeakMap,ai=new WeakMap,di=new WeakMap,Uo=new WeakMap;function Ko(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Go(e){return e.__v_skip||!Object.isExtensible(e)?0:Ko(ao(e))}function Vn(e){return nt(e)?e:Ns(e,!1,Mo,Vo,fi)}function hi(e){return Ns(e,!1,Lo,jo,ai)}function fs(e){return Ns(e,!0,Do,Bo,di)}function Ns(e,t,n,s,r){if(!z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Go(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function vt(e){return nt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function nt(e){return!!(e&&e.__v_isReadonly)}function we(e){return!!(e&&e.__v_isShallow)}function jn(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function Wo(e){return!q(e,"__v_skip")&&Object.isExtensible(e)&&Jr(e,"__v_skip",!0),e}const Me=e=>z(e)?Vn(e):e,Mt=e=>z(e)?fs(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function pn(e){return pi(e,!1)}function ko(e){return pi(e,!0)}function pi(e,t){return fe(e)?e:new qo(e,t)}class qo{constructor(t,n){this.dep=new Ts,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:G(t),this._value=n?t:Me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||we(t)||nt(t);t=s?t:G(t),We(t,n)&&(this._rawValue=t,this._value=s?t:Me(t),this.dep.trigger())}}function bt(e){return fe(e)?e.value:e}const $o={get:(e,t,n)=>t==="__v_raw"?e:bt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function gi(e){return vt(e)?e:new Proxy(e,$o)}function rf(e){const t=V(e)?new Array(e.length):{};for(const n in e)t[n]=Jo(e,n);return t}class zo{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Se(n)?n:String(n),this._raw=G(t);let r=!0,i=t;if(!V(t)||Se(this._key)||!Mn(this._key))do r=!jn(i)||we(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=bt(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&fe(this._raw[this._key])){const n=this._object[this._key];if(fe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Co(this._raw,this._key)}}function Jo(e,t,n){return new zo(e,t,n)}class Qo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ts(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Xt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return ti(this,!0),!0}get value(){const t=this.dep.track();return ri(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Yo(e,t,n=!1){let s,r;return B(e)?s=e:(s=e.get,r=e.set),new Qo(s,r,n)}const an={},En=new WeakMap;let mt;function Xo(e,t=!1,n=mt){if(n){let s=En.get(n);s||En.set(n,s=[]),s.push(e)}}function Zo(e,t,n=Y){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,a=N=>r?N:we(N)||r===!1||r===0?Xe(N,1):Xe(N);let f,h,p,m,w=!1,b=!1;if(fe(e)?(h=()=>e.value,w=we(e)):vt(e)?(h=()=>a(e),w=!0):V(e)?(b=!0,w=e.some(N=>vt(N)||we(N)),h=()=>e.map(N=>{if(fe(N))return N.value;if(vt(N))return a(N);if(B(N))return c?c(N,2):N()})):B(e)?t?h=c?()=>c(e,2):e:h=()=>{if(p){et();try{p()}finally{tt()}}const N=mt;mt=f;try{return c?c(e,3,[m]):e(m)}finally{mt=N}}:h=Ie,t&&r){const N=h,$=r===!0?1/0:r;h=()=>Xe(N(),$)}const F=Ao(),M=()=>{f.stop(),F&&F.active&&xs(F.effects,f)};if(i&&t){const N=t;t=(...$)=>{N(...$),M()}}let C=b?new Array(e.length).fill(an):an;const P=N=>{if(!(!(f.flags&1)||!f.dirty&&!N))if(t){const $=f.run();if(r||w||(b?$.some((ae,te)=>We(ae,C[te])):We($,C))){p&&p();const ae=mt;mt=f;try{const te=[$,C===an?void 0:b&&C[0]===an?[]:C,m];C=$,c?c(t,3,te):t(...te)}finally{mt=ae}}}else f.run()};return l&&l(P),f=new Zr(h),f.scheduler=o?()=>o(P,!1):P,m=N=>Xo(N,!1,f),p=f.onStop=()=>{const N=En.get(f);if(N){if(c)c(N,4);else for(const $ of N)$();En.delete(f)}},t?s?P(!0):C=f.run():o?o(P.bind(null,!0),!0):f.run(),M.pause=f.pause.bind(f),M.resume=f.resume.bind(f),M.stop=M,M}function Xe(e,t=1/0,n){if(t<=0||!z(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,fe(e))Xe(e.value,t,n);else if(V(e))for(let s=0;s{Xe(s,t,n)});else if(zr(e)){for(const s in e)Xe(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Xe(e[s],t,n)}return e}/**
+* @vue/runtime-core v3.5.31
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/function on(e,t,n,s){try{return s?e(...s):e()}catch(r){ln(r,t,n)}}function ke(e,t,n,s){if(B(e)){const r=on(e,t,n,s);return r&&qr(r)&&r.catch(i=>{ln(i,t,n)}),r}if(V(e)){const r=[];for(let i=0;i>>1,r=_e[s],i=en(r);i=en(n)?_e.push(e):_e.splice(tl(t),0,e),e.flags|=1,yi()}}function yi(){xn||(xn=mi.then(bi))}function nl(e){V(e)?Tt.push(...e):ut&&e.id===-1?ut.splice(wt+1,0,e):e.flags&1||(Tt.push(e),e.flags|=1),yi()}function Xs(e,t,n=Ue+1){for(;n<_e.length;n++){const s=_e[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;_e.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function vi(e){if(Tt.length){const t=[...new Set(Tt)].sort((n,s)=>en(n)-en(s));if(Tt.length=0,ut){ut.push(...t);return}for(ut=t,wt=0;wte.id==null?e.flags&2?-1:1/0:e.id;function bi(e){const t=Ie;try{for(Ue=0;Ue<_e.length;Ue++){const n=_e[Ue];n&&!(n.flags&8)&&(n.flags&4&&(n.flags&=-2),on(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2))}}finally{for(;Ue<_e.length;Ue++){const n=_e[Ue];n&&(n.flags&=-2)}Ue=-1,_e.length=0,vi(),xn=null,(_e.length||Tt.length)&&bi()}}let he=null,Ei=null;function Rn(e){const t=he;return he=e,Ei=e&&e.type.__scopeId||null,t}function sl(e,t=he,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Cn(-1);const i=Rn(t);let o;try{o=e(...r)}finally{Rn(i),s._d&&Cn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function of(e,t){if(he===null)return e;const n=Gn(he),s=e.dirs||(e.dirs=[]);for(let r=0;r1)return n&&B(t)?t.call(s&&s.proxy):t}}const rl=Symbol.for("v-scx"),il=()=>Ze(rl);function lf(e,t){return Ds(e,null,t)}function mn(e,t,n){return Ds(e,t,n)}function Ds(e,t,n=Y){const{immediate:s,deep:r,flush:i,once:o}=n,l=le({},n),c=t&&s||!t&&i!=="post";let a;if(Lt){if(i==="sync"){const m=il();a=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ie,m.resume=Ie,m.pause=Ie,m}}const f=de;l.call=(m,w,b)=>ke(m,f,w,b);let h=!1;i==="post"?l.scheduler=m=>{be(m,f&&f.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(m,w)=>{w?m():Ms(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=Zo(e,t,l);return Lt&&(a?a.push(p):c&&p()),p}function ol(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?xi(s,e):()=>s[e]:e.bind(s,s);let i;B(t)?i=t:(i=t.handler,n=t);const o=cn(this),l=Ds(r,i.bind(s),n);return o(),l}function xi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;re.__isTeleport,ul=Symbol("_leaveCb");function Ls(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ls(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fs(e,t){return B(e)?(()=>le({name:e.name},t,{setup:e}))():e}function Hs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Zs(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const An=new WeakMap;function zt(e,t,n,s,r=!1){if(V(e)){e.forEach((b,F)=>zt(b,t&&(V(t)?t[F]:t),n,s,r));return}if(It(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&zt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Gn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,a=t&&t.r,f=l.refs===Y?l.refs={}:l.refs,h=l.setupState,p=G(h),m=h===Y?Wr:b=>Zs(f,b)?!1:q(p,b),w=(b,F)=>!(F&&Zs(f,F));if(a!=null&&a!==c){if(er(t),re(a))f[a]=null,m(a)&&(h[a]=null);else if(fe(a)){const b=t;w(a,b.k)&&(a.value=null),b.k&&(f[b.k]=null)}}if(B(c))on(c,l,12,[o,f]);else{const b=re(c),F=fe(c);if(b||F){const M=()=>{if(e.f){const C=b?m(c)?h[c]:f[c]:w()||!e.k?c.value:f[e.k];if(r)V(C)&&xs(C,i);else if(V(C))C.includes(i)||C.push(i);else if(b)f[c]=[i],m(c)&&(h[c]=f[c]);else{const P=[i];w(c,e.k)&&(c.value=P),e.k&&(f[e.k]=P)}}else b?(f[c]=o,m(c)&&(h[c]=o)):F&&(w(c,e.k)&&(c.value=o),e.k&&(f[e.k]=o))};if(o){const C=()=>{M(),An.delete(e)};C.id=-1,An.set(e,C),be(C,n)}else er(e),M()}}}function er(e){const t=An.get(e);t&&(t.flags|=8,An.delete(e))}const tr=e=>e.nodeType===8;Fn().requestIdleCallback;Fn().cancelIdleCallback;function fl(e,t){if(tr(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(tr(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const It=e=>!!e.type.__asyncLoader;function cf(e){B(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let a=null,f,h=0;const p=()=>(h++,a=null,m()),m=()=>{let w;return a||(w=a=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),c)return new Promise((F,M)=>{c(b,()=>F(p()),()=>M(b),h+1)});throw b}).then(b=>w!==a&&a?a:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),f=b,b)))};return Fs({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(w,b,F){let M=!1;(b.bu||(b.bu=[])).push(()=>M=!0);const C=()=>{M||F()},P=i?()=>{const N=i(C,$=>fl(w,$));N&&(b.bum||(b.bum=[])).push(N)}:C;f?P():m().then(()=>!b.isUnmounted&&P())},get __asyncResolved(){return f},setup(){const w=de;if(Hs(w),f)return()=>dn(f,w);const b=P=>{a=null,ln(P,w,13,!s)};if(l&&w.suspense||Lt)return m().then(P=>()=>dn(P,w)).catch(P=>(b(P),()=>s?ue(s,{error:P}):null));const F=pn(!1),M=pn(),C=pn(!!r);return r&&setTimeout(()=>{C.value=!1},r),o!=null&&setTimeout(()=>{if(!F.value&&!M.value){const P=new Error(`Async component timed out after ${o}ms.`);b(P),M.value=P}},o),m().then(()=>{F.value=!0,w.parent&&Vs(w.parent.vnode)&&w.parent.update()}).catch(P=>{b(P),M.value=P}),()=>{if(F.value&&f)return dn(f,w);if(M.value&&s)return ue(s,{error:M.value});if(n&&!C.value)return dn(n,w)}}})}function dn(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ue(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const Vs=e=>e.type.__isKeepAlive;function al(e,t){Ri(e,"a",t)}function dl(e,t){Ri(e,"da",t)}function Ri(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Bn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Vs(r.parent.vnode)&&hl(s,t,n,r),r=r.parent}}function hl(e,t,n,s){const r=Bn(t,e,s,!0);Ai(()=>{xs(s[t],r)},n)}function Bn(e,t,n=de,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{et();const l=cn(n),c=ke(t,n,e,o);return l(),tt(),c});return s?r.unshift(i):r.push(i),i}}const rt=e=>(t,n=de)=>{(!Lt||e==="sp")&&Bn(e,(...s)=>t(...s),n)},pl=rt("bm"),gl=rt("m"),ml=rt("bu"),_l=rt("u"),yl=rt("bum"),Ai=rt("um"),vl=rt("sp"),bl=rt("rtg"),El=rt("rtc");function xl(e,t=de){Bn("ec",e,t)}const wi="components";function Rl(e,t){return wl(wi,e,!0,t)||e}const Al=Symbol.for("v-ndc");function wl(e,t,n=!0,s=!1){const r=he||de;if(r){const i=r.type;if(e===wi){const l=ac(i,!1);if(l&&(l===t||l===ye(t)||l===Ln(ye(t))))return i}const o=nr(r[e]||i[e],t)||nr(r.appContext[e],t);return!o&&s?i:o}}function nr(e,t){return e&&(e[t]||e[ye(t)]||e[Ln(ye(t))])}function uf(e,t,n,s){let r;const i=n&&n[s],o=V(e);if(o||re(e)){const l=o&&vt(e);let c=!1,a=!1;l&&(c=!we(e),a=nt(e),e=Hn(e)),r=new Array(e.length);for(let f=0,h=e.length;ft(l,c,void 0,i&&i[c]));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;c0;return t!=="default"&&(n.name=t),Sn(),On(Oe,null,[ue("slot",n,s&&s())],a?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Sn();const o=i&&Si(i(n)),l=n.key||o&&o.key,c=On(Oe,{key:(l&&!Se(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Si(e){return e.some(t=>nn(t)?!(t.type===st||t.type===Oe&&!Si(t.children)):!0)?e:null}const as=e=>e?qi(e)?Gn(e):as(e.parent):null,Jt=le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>as(e.parent),$root:e=>as(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>js(e),$forceUpdate:e=>e.f||(e.f=()=>{Ms(e.update)}),$nextTick:e=>e.n||(e.n=_i.bind(e.proxy)),$watch:e=>ol.bind(e)}),Qn=(e,t)=>e!==Y&&!e.__isScriptSetup&&q(e,t),Sl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Qn(s,t))return o[t]=1,s[t];if(r!==Y&&q(r,t))return o[t]=2,r[t];if(q(i,t))return o[t]=3,i[t];if(n!==Y&&q(n,t))return o[t]=4,n[t];ds&&(o[t]=0)}}const a=Jt[t];let f,h;if(a)return t==="$attrs"&&pe(e.attrs,"get",""),a(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Y&&q(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,q(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Qn(r,t)?(r[t]=n,!0):s!==Y&&q(s,t)?(s[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==Y&&l[0]!=="$"&&q(e,l)||Qn(t,l)||q(i,l)||q(s,l)||q(Jt,l)||q(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function sr(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ds=!0;function Cl(e){const t=js(e),n=e.proxy,s=e.ctx;ds=!1,t.beforeCreate&&rr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:p,beforeUpdate:m,updated:w,activated:b,deactivated:F,beforeDestroy:M,beforeUnmount:C,destroyed:P,unmounted:N,render:$,renderTracked:ae,renderTriggered:te,errorCaptured:Le,serverPrefetch:it,expose:Fe,inheritAttrs:ot,components:dt,directives:He,filters:Vt}=t;if(a&&Ol(a,s,null),o)for(const J in o){const W=o[J];B(W)&&(s[J]=W.bind(n))}if(r){const J=r.call(n,n);z(J)&&(e.data=Vn(J))}if(ds=!0,i)for(const J in i){const W=i[J],qe=B(W)?W.bind(n,n):B(W.get)?W.get.bind(n,n):Ie,lt=!B(W)&&B(W.set)?W.set.bind(n):Ie,Ve=Te({get:qe,set:lt});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:ve=>Ve.value=ve})}if(l)for(const J in l)Ci(l[J],s,n,J);if(c){const J=B(c)?c.call(n):c;Reflect.ownKeys(J).forEach(W=>{gn(W,J[W])})}f&&rr(f,e,"c");function ce(J,W){V(W)?W.forEach(qe=>J(qe.bind(n))):W&&J(W.bind(n))}if(ce(pl,h),ce(gl,p),ce(ml,m),ce(_l,w),ce(al,b),ce(dl,F),ce(xl,Le),ce(El,ae),ce(bl,te),ce(yl,C),ce(Ai,N),ce(vl,it),V(Fe))if(Fe.length){const J=e.exposed||(e.exposed={});Fe.forEach(W=>{Object.defineProperty(J,W,{get:()=>n[W],set:qe=>n[W]=qe,enumerable:!0})})}else e.exposed||(e.exposed={});$&&e.render===Ie&&(e.render=$),ot!=null&&(e.inheritAttrs=ot),dt&&(e.components=dt),He&&(e.directives=He),it&&Hs(e)}function Ol(e,t,n=Ie){V(e)&&(e=hs(e));for(const s in e){const r=e[s];let i;z(r)?"default"in r?i=Ze(r.from||s,r.default,!0):i=Ze(r.from||s):i=Ze(r),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function rr(e,t,n){ke(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ci(e,t,n,s){let r=s.includes(".")?xi(n,s):()=>n[s];if(re(e)){const i=t[e];B(i)&&mn(r,i)}else if(B(e))mn(r,e.bind(n));else if(z(e))if(V(e))e.forEach(i=>Ci(i,t,n,s));else{const i=B(e.handler)?e.handler.bind(n):t[e.handler];B(i)&&mn(r,i,e)}}function js(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>wn(c,a,o,!0)),wn(c,t,o)),z(t)&&i.set(t,c),c}function wn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&wn(e,i,n,!0),r&&r.forEach(o=>wn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Pl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Pl={data:ir,props:or,emits:or,methods:Wt,computed:Wt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Wt,directives:Wt,watch:Il,provide:ir,inject:Tl};function ir(e,t){return t?e?function(){return le(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Tl(e,t){return Wt(hs(e),hs(t))}function hs(e){if(V(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ye(t)}Modifiers`]||e[`${at(t)}Modifiers`];function Ll(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Y;let r=n;const i=t.startsWith("update:"),o=i&&Dl(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>re(f)?f.trim():f)),o.number&&(r=n.map(Rs)));let l,c=s[l=kn(t)]||s[l=kn(ye(t))];!c&&i&&(c=s[l=kn(at(t))]),c&&ke(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ke(a,e,6,r)}}const Fl=new WeakMap;function Pi(e,t,n=!1){const s=n?Fl:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!B(e)){const c=a=>{const f=Pi(a,t,!0);f&&(l=!0,le(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(z(e)&&s.set(e,null),null):(V(i)?i.forEach(c=>o[c]=null):le(o,i),z(e)&&s.set(e,o),o)}function Un(e,t){return!e||!In(t)?!1:(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,at(t))||q(e,t))}function Yn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:a,renderCache:f,props:h,data:p,setupState:m,ctx:w,inheritAttrs:b}=e,F=Rn(e);let M,C;try{if(n.shapeFlag&4){const N=r||s,$=N;M=Ge(a.call($,N,f,h,m,p,w)),C=l}else{const N=t;M=Ge(N.length>1?N(h,{attrs:l,slots:o,emit:c}):N(h,null)),C=t.props?l:Hl(l)}}catch(N){Qt.length=0,ln(N,e,1),M=ue(st)}let P=M;if(C&&b!==!1){const N=Object.keys(C),{shapeFlag:$}=P;N.length&&$&7&&(i&&N.some(Nn)&&(C=Vl(C,i)),P=Dt(P,C,!1,!0))}return n.dirs&&(P=Dt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&Ls(P,n.transition),M=P,Rn(F),M}const Hl=e=>{let t;for(const n in e)(n==="class"||n==="style"||In(n))&&((t||(t={}))[n]=e[n]);return t},Vl=(e,t)=>{const n={};for(const s in e)(!Nn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function jl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?lr(s,o,a):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;hObject.create(Ii),Mi=e=>Object.getPrototypeOf(e)===Ii;function Ul(e,t,n,s=!1){const r={},i=Ni();e.propsDefaults=Object.create(null),Di(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:hi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Kl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=G(r),[c]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,m]=Li(h,t,!0);le(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return z(e)&&s.set(e,Ot),Ot;if(V(i))for(let f=0;fe==="_"||e==="_ctx"||e==="$stable",Us=e=>V(e)?e.map(Ge):[Ge(e)],Wl=(e,t,n)=>{if(t._n)return t;const s=sl((...r)=>Us(t(...r)),n);return s._c=!1,s},Fi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Bs(r))continue;const i=e[r];if(B(i))t[r]=Wl(r,i,s);else if(i!=null){const o=Us(i);t[r]=()=>o}}},Hi=(e,t)=>{const n=Us(t);e.slots.default=()=>n},Vi=(e,t,n)=>{for(const s in t)(n||!Bs(s))&&(e[s]=t[s])},kl=(e,t,n)=>{const s=e.slots=Ni();if(e.vnode.shapeFlag&32){const r=t._;r?(Vi(s,t,n),n&&Jr(s,"_",r,!0)):Fi(t,s)}else t&&Hi(e,t)},ql=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Y;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Vi(r,t,n):(i=!t.$stable,Fi(t,r)),o=t}else t&&(Hi(e,t),o={default:1});if(i)for(const l in r)!Bs(l)&&o[l]==null&&delete r[l]},be=Yl;function $l(e){return zl(e)}function zl(e,t){const n=Fn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:p,setScopeId:m=Ie,insertStaticContent:w}=e,b=(u,d,g,v=null,_=null,E=null,S=void 0,A=null,R=!!d.dynamicChildren)=>{if(u===d)return;u&&!Ut(u,d)&&(v=y(u),ve(u,_,E,!0),u=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:x,ref:H,shapeFlag:T}=d;switch(x){case Kn:F(u,d,g,v);break;case st:M(u,d,g,v);break;case _n:u==null&&C(d,g,v,S);break;case Oe:dt(u,d,g,v,_,E,S,A,R);break;default:T&1?$(u,d,g,v,_,E,S,A,R):T&6?He(u,d,g,v,_,E,S,A,R):(T&64||T&128)&&x.process(u,d,g,v,_,E,S,A,R,L)}H!=null&&_?zt(H,u&&u.ref,E,d||u,!d):H==null&&u&&u.ref!=null&&zt(u.ref,null,E,u,!0)},F=(u,d,g,v)=>{if(u==null)s(d.el=l(d.children),g,v);else{const _=d.el=u.el;d.children!==u.children&&a(_,d.children)}},M=(u,d,g,v)=>{u==null?s(d.el=c(d.children||""),g,v):d.el=u.el},C=(u,d,g,v)=>{[u.el,u.anchor]=w(u.children,d,g,v,u.el,u.anchor)},P=({el:u,anchor:d},g,v)=>{let _;for(;u&&u!==d;)_=p(u),s(u,g,v),u=_;s(d,g,v)},N=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=p(u),r(u),u=g;r(d)},$=(u,d,g,v,_,E,S,A,R)=>{if(d.type==="svg"?S="svg":d.type==="math"&&(S="mathml"),u==null)ae(d,g,v,_,E,S,A,R);else{const x=u.el&&u.el._isVueCE?u.el:null;try{x&&x._beginPatch(),it(u,d,_,E,S,A,R)}finally{x&&x._endPatch()}}},ae=(u,d,g,v,_,E,S,A)=>{let R,x;const{props:H,shapeFlag:T,transition:D,dirs:j}=u;if(R=u.el=o(u.type,E,H&&H.is,H),T&8?f(R,u.children):T&16&&Le(u.children,R,null,v,_,Xn(u,E),S,A),j&&pt(u,null,v,"created"),te(R,u,u.scopeId,S,v),H){for(const Q in H)Q!=="value"&&!kt(Q)&&i(R,Q,null,H[Q],E,v);"value"in H&&i(R,"value",null,H.value,E),(x=H.onVnodeBeforeMount)&&Be(x,v,u)}j&&pt(u,null,v,"beforeMount");const K=Jl(_,D);K&&D.beforeEnter(R),s(R,d,g),((x=H&&H.onVnodeMounted)||K||j)&&be(()=>{try{x&&Be(x,v,u),K&&D.enter(R),j&&pt(u,null,v,"mounted")}finally{}},_)},te=(u,d,g,v,_)=>{if(g&&m(u,g),v)for(let E=0;E{for(let x=R;x{const A=d.el=u.el;let{patchFlag:R,dynamicChildren:x,dirs:H}=d;R|=u.patchFlag&16;const T=u.props||Y,D=d.props||Y;let j;if(g&>(g,!1),(j=D.onVnodeBeforeUpdate)&&Be(j,g,d,u),H&&pt(d,u,g,"beforeUpdate"),g&>(g,!0),(T.innerHTML&&D.innerHTML==null||T.textContent&&D.textContent==null)&&f(A,""),x?Fe(u.dynamicChildren,x,A,g,v,Xn(d,_),E):S||W(u,d,A,null,g,v,Xn(d,_),E,!1),R>0){if(R&16)ot(A,T,D,g,_);else if(R&2&&T.class!==D.class&&i(A,"class",null,D.class,_),R&4&&i(A,"style",T.style,D.style,_),R&8){const K=d.dynamicProps;for(let Q=0;Q{j&&Be(j,g,d,u),H&&pt(d,u,g,"updated")},v)},Fe=(u,d,g,v,_,E,S)=>{for(let A=0;A{if(d!==g){if(d!==Y)for(const E in d)!kt(E)&&!(E in g)&&i(u,E,d[E],null,_,v);for(const E in g){if(kt(E))continue;const S=g[E],A=d[E];S!==A&&E!=="value"&&i(u,E,A,S,_,v)}"value"in g&&i(u,"value",d.value,g.value,_)}},dt=(u,d,g,v,_,E,S,A,R)=>{const x=d.el=u?u.el:l(""),H=d.anchor=u?u.anchor:l("");let{patchFlag:T,dynamicChildren:D,slotScopeIds:j}=d;j&&(A=A?A.concat(j):j),u==null?(s(x,g,v),s(H,g,v),Le(d.children||[],g,H,_,E,S,A,R)):T>0&&T&64&&D&&u.dynamicChildren&&u.dynamicChildren.length===D.length?(Fe(u.dynamicChildren,D,g,_,E,S,A),(d.key!=null||_&&d===_.subTree)&&ji(u,d,!0)):W(u,d,g,H,_,E,S,A,R)},He=(u,d,g,v,_,E,S,A,R)=>{d.slotScopeIds=A,u==null?d.shapeFlag&512?_.ctx.activate(d,g,v,S,R):Vt(d,g,v,_,E,S,R):Et(u,d,R)},Vt=(u,d,g,v,_,E,S)=>{const A=u.component=ic(u,v,_);if(Vs(u)&&(A.ctx.renderer=L),lc(A,!1,S),A.asyncDep){if(_&&_.registerDep(A,ce,S),!u.el){const R=A.subTree=ue(st);M(null,R,d,g),u.placeholder=R.el}}else ce(A,u,d,g,_,E,S)},Et=(u,d,g)=>{const v=d.component=u.component;if(jl(u,d,g))if(v.asyncDep&&!v.asyncResolved){J(v,d,g);return}else v.next=d,v.update();else d.el=u.el,v.vnode=d},ce=(u,d,g,v,_,E,S)=>{const A=()=>{if(u.isMounted){let{next:T,bu:D,u:j,parent:K,vnode:Q}=u;{const xe=Bi(u);if(xe){T&&(T.el=Q.el,J(u,T,S)),xe.asyncDep.then(()=>{be(()=>{u.isUnmounted||x()},_)});return}}let X=T,se;gt(u,!1),T?(T.el=Q.el,J(u,T,S)):T=Q,D&&hn(D),(se=T.props&&T.props.onVnodeBeforeUpdate)&&Be(se,K,T,Q),gt(u,!0);const ie=Yn(u),Pe=u.subTree;u.subTree=ie,b(Pe,ie,h(Pe.el),y(Pe),u,_,E),T.el=ie.el,X===null&&Bl(u,ie.el),j&&be(j,_),(se=T.props&&T.props.onVnodeUpdated)&&be(()=>Be(se,K,T,Q),_)}else{let T;const{el:D,props:j}=d,{bm:K,m:Q,parent:X,root:se,type:ie}=u,Pe=It(d);if(gt(u,!1),K&&hn(K),!Pe&&(T=j&&j.onVnodeBeforeMount)&&Be(T,X,d),gt(u,!0),D&&ee){const xe=()=>{u.subTree=Yn(u),ee(D,u.subTree,u,_,null)};Pe&&ie.__asyncHydrate?ie.__asyncHydrate(D,u,xe):xe()}else{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(ie,u.parent?u.parent.type:void 0);const xe=u.subTree=Yn(u);b(null,xe,g,v,u,_,E),d.el=xe.el}if(Q&&be(Q,_),!Pe&&(T=j&&j.onVnodeMounted)){const xe=d;be(()=>Be(T,X,xe),_)}(d.shapeFlag&256||X&&It(X.vnode)&&X.vnode.shapeFlag&256)&&u.a&&be(u.a,_),u.isMounted=!0,d=g=v=null}};u.scope.on();const R=u.effect=new Zr(A);u.scope.off();const x=u.update=R.run.bind(R),H=u.job=R.runIfDirty.bind(R);H.i=u,H.id=u.uid,R.scheduler=()=>Ms(H),gt(u,!0),x()},J=(u,d,g)=>{d.component=u;const v=u.vnode.props;u.vnode=d,u.next=null,Kl(u,d.props,v,g),ql(u,d.children,g),et(),Xs(u),tt()},W=(u,d,g,v,_,E,S,A,R=!1)=>{const x=u&&u.children,H=u?u.shapeFlag:0,T=d.children,{patchFlag:D,shapeFlag:j}=d;if(D>0){if(D&128){lt(x,T,g,v,_,E,S,A,R);return}else if(D&256){qe(x,T,g,v,_,E,S,A,R);return}}j&8?(H&16&&Ce(x,_,E),T!==x&&f(g,T)):H&16?j&16?lt(x,T,g,v,_,E,S,A,R):Ce(x,_,E,!0):(H&8&&f(g,""),j&16&&Le(T,g,v,_,E,S,A,R))},qe=(u,d,g,v,_,E,S,A,R)=>{u=u||Ot,d=d||Ot;const x=u.length,H=d.length,T=Math.min(x,H);let D;for(D=0;DH?Ce(u,_,E,!0,!1,T):Le(d,g,v,_,E,S,A,R,T)},lt=(u,d,g,v,_,E,S,A,R)=>{let x=0;const H=d.length;let T=u.length-1,D=H-1;for(;x<=T&&x<=D;){const j=u[x],K=d[x]=R?Qe(d[x]):Ge(d[x]);if(Ut(j,K))b(j,K,g,null,_,E,S,A,R);else break;x++}for(;x<=T&&x<=D;){const j=u[T],K=d[D]=R?Qe(d[D]):Ge(d[D]);if(Ut(j,K))b(j,K,g,null,_,E,S,A,R);else break;T--,D--}if(x>T){if(x<=D){const j=D+1,K=jD)for(;x<=T;)ve(u[x],_,E,!0),x++;else{const j=x,K=x,Q=new Map;for(x=K;x<=D;x++){const Re=d[x]=R?Qe(d[x]):Ge(d[x]);Re.key!=null&&Q.set(Re.key,x)}let X,se=0;const ie=D-K+1;let Pe=!1,xe=0;const jt=new Array(ie);for(x=0;x=ie){ve(Re,_,E,!0);continue}let je;if(Re.key!=null)je=Q.get(Re.key);else for(X=K;X<=D;X++)if(jt[X-K]===0&&Ut(Re,d[X])){je=X;break}je===void 0?ve(Re,_,E,!0):(jt[je-K]=x+1,je>=xe?xe=je:Pe=!0,b(Re,d[je],g,null,_,E,S,A,R),se++)}const ks=Pe?Ql(jt):Ot;for(X=ks.length-1,x=ie-1;x>=0;x--){const Re=K+x,je=d[Re],qs=d[Re+1],$s=Re+1{const{el:E,type:S,transition:A,children:R,shapeFlag:x}=u;if(x&6){Ve(u.component.subTree,d,g,v);return}if(x&128){u.suspense.move(d,g,v);return}if(x&64){S.move(u,d,g,L);return}if(S===Oe){s(E,d,g);for(let T=0;TA.enter(E),_);else{const{leave:T,delayLeave:D,afterLeave:j}=A,K=()=>{u.ctx.isUnmounted?r(E):s(E,d,g)},Q=()=>{E._isLeaving&&E[ul](!0),T(E,()=>{K(),j&&j()})};D?D(E,K,Q):Q()}else s(E,d,g)},ve=(u,d,g,v=!1,_=!1)=>{const{type:E,props:S,ref:A,children:R,dynamicChildren:x,shapeFlag:H,patchFlag:T,dirs:D,cacheIndex:j,memo:K}=u;if(T===-2&&(_=!1),A!=null&&(et(),zt(A,null,g,u,!0),tt()),j!=null&&(d.renderCache[j]=void 0),H&256){d.ctx.deactivate(u);return}const Q=H&1&&D,X=!It(u);let se;if(X&&(se=S&&S.onVnodeBeforeUnmount)&&Be(se,d,u),H&6)ht(u.component,g,v);else{if(H&128){u.suspense.unmount(g,v);return}Q&&pt(u,null,d,"beforeUnmount"),H&64?u.type.remove(u,d,g,L,v):x&&!x.hasOnce&&(E!==Oe||T>0&&T&64)?Ce(x,d,g,!1,!0):(E===Oe&&T&384||!_&&H&16)&&Ce(R,d,g),v&&xt(u)}const ie=K!=null&&j==null;(X&&(se=S&&S.onVnodeUnmounted)||Q||ie)&&be(()=>{se&&Be(se,d,u),Q&&pt(u,null,d,"unmounted"),ie&&(u.el=null)},g)},xt=u=>{const{type:d,el:g,anchor:v,transition:_}=u;if(d===Oe){Rt(g,v);return}if(d===_n){N(u);return}const E=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:S,delayLeave:A}=_,R=()=>S(g,E);A?A(u.el,E,R):R()}else E()},Rt=(u,d)=>{let g;for(;u!==d;)g=p(u),r(u),u=g;r(d)},ht=(u,d,g)=>{const{bum:v,scope:_,job:E,subTree:S,um:A,m:R,a:x}=u;ur(R),ur(x),v&&hn(v),_.stop(),E&&(E.flags|=8,ve(S,u,d,g)),A&&be(A,d),be(()=>{u.isUnmounted=!0},d)},Ce=(u,d,g,v=!1,_=!1,E=0)=>{for(let S=E;S{if(u.shapeFlag&6)return y(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=p(u.anchor||u.el),g=d&&d[ll];return g?p(g):d};let I=!1;const O=(u,d,g)=>{let v;u==null?d._vnode&&(ve(d._vnode,null,null,!0),v=d._vnode.component):b(d._vnode||null,u,d,null,null,null,g),d._vnode=u,I||(I=!0,Xs(v),vi(),I=!1)},L={p:b,um:ve,m:Ve,r:xt,mt:Vt,mc:Le,pc:W,pbc:Fe,n:y,o:e};let U,ee;return t&&([U,ee]=t(L)),{render:O,hydrate:U,createApp:Ml(O,U)}}function Xn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Jl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ji(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Bi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bi(t)}function ur(e){if(e)for(let t=0;te.__isSuspense;function Yl(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):nl(e)}const Oe=Symbol.for("v-fgt"),Kn=Symbol.for("v-txt"),st=Symbol.for("v-cmt"),_n=Symbol.for("v-stc"),Qt=[];let Ae=null;function Sn(e=!1){Qt.push(Ae=e?null:[])}function Xl(){Qt.pop(),Ae=Qt[Qt.length-1]||null}let tn=1;function Cn(e,t=!1){tn+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function Gi(e){return e.dynamicChildren=tn>0?Ae||Ot:null,Xl(),tn>0&&Ae&&Ae.push(e),e}function af(e,t,n,s,r,i){return Gi(ki(e,t,n,s,r,i,!0))}function On(e,t,n,s,r){return Gi(ue(e,t,n,s,r,!0))}function nn(e){return e?e.__v_isVNode===!0:!1}function Ut(e,t){return e.type===t.type&&e.key===t.key}const Wi=({key:e})=>e!=null?e:null,yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||fe(e)||B(e)?{i:he,r:e,k:t,f:!!n}:e:null);function ki(e,t=null,n=null,s=0,r=null,i=e===Oe?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wi(t),ref:t&&yn(t),scopeId:Ei,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:he};return l?(Ks(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),tn>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const ue=Zl;function Zl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Al)&&(e=st),nn(e)){const l=Dt(e,t,!0);return n&&Ks(l,n),tn>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(dc(e)&&(e=e.__vccOpts),t){t=ec(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=ws(l)),z(c)&&(jn(c)&&!V(c)&&(c=le({},c)),t.style=As(c))}const o=re(e)?1:Ki(e)?128:cl(e)?64:z(e)?4:B(e)?2:0;return ki(e,t,n,s,r,o,i,!0)}function ec(e){return e?jn(e)||Mi(e)?le({},e):e:null}function Dt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,a=t?nc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Wi(a),ref:t&&t.ref?n&&i?V(i)?i.concat(yn(t)):[i,yn(t)]:yn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Oe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ls(f,c.clone(f)),f}function tc(e=" ",t=0){return ue(Kn,null,e,t)}function df(e,t){const n=ue(_n,null,e);return n.staticCount=t,n}function hf(e="",t=!1){return t?(Sn(),On(st,null,e)):ue(st,null,e)}function Ge(e){return e==null||typeof e=="boolean"?ue(st):V(e)?ue(Oe,null,e.slice()):nn(e)?Qe(e):ue(Kn,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function Ks(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ks(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Mi(t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:he},n=32):(t=String(t),s&64?(n=16,t=[tc(t)]):n=8);e.children=t,e.shapeFlag|=n}function nc(...e){const t={};for(let n=0;nde||he;let Pn,gs;{const e=Fn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Pn=t("__VUE_INSTANCE_SETTERS__",n=>de=n),gs=t("__VUE_SSR_SETTERS__",n=>Lt=n)}const cn=e=>{const t=de;return Pn(e),e.scope.on(),()=>{e.scope.off(),Pn(t)}},fr=()=>{de&&de.scope.off(),Pn(null)};function qi(e){return e.vnode.shapeFlag&4}let Lt=!1;function lc(e,t=!1,n=!1){t&&gs(t);const{props:s,children:r}=e.vnode,i=qi(e);Ul(e,s,i,t),kl(e,r,n||t);const o=i?cc(e,t):void 0;return t&&gs(!1),o}function cc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sl);const{setup:s}=n;if(s){et();const r=e.setupContext=s.length>1?fc(e):null,i=cn(e),o=on(s,e,0,[e.props,r]),l=qr(o);if(tt(),i(),(l||e.sp)&&!It(e)&&Hs(e),l){if(o.then(fr,fr),t)return o.then(c=>{ar(e,c,t)}).catch(c=>{ln(c,e,0)});e.asyncDep=o}else ar(e,o,t)}else $i(e,t)}function ar(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:z(t)&&(e.setupState=gi(t)),$i(e,n)}let dr;function $i(e,t,n){const s=e.type;if(!e.render){if(!t&&dr&&!s.render){const r=s.template||js(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=le(le({isCustomElement:i,delimiters:l},o),c);s.render=dr(r,a)}}e.render=s.render||Ie}{const r=cn(e);et();try{Cl(e)}finally{tt(),r()}}}const uc={get(e,t){return pe(e,"get",""),e[t]}};function fc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,uc),slots:e.slots,emit:e.emit,expose:t}}function Gn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(gi(Wo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jt)return Jt[n](e)},has(t,n){return n in t||n in Jt}})):e.proxy}function ac(e,t=!0){return B(e)?e.displayName||e.name:e.name||t&&e.__name}function dc(e){return B(e)&&"__vccOpts"in e}const Te=(e,t)=>Yo(e,t,Lt);function zi(e,t,n){try{Cn(-1);const s=arguments.length;return s===2?z(t)&&!V(t)?nn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&nn(n)&&(n=[n]),ue(e,t,n))}finally{Cn(1)}}const hc="3.5.31";/**
+* @vue/runtime-dom v3.5.31
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/let ms;const hr=typeof window!="undefined"&&window.trustedTypes;if(hr)try{ms=hr.createPolicy("vue",{createHTML:e=>e})}catch(e){}const Ji=ms?e=>ms.createHTML(e):e=>e,pc="http://www.w3.org/2000/svg",gc="http://www.w3.org/1998/Math/MathML",Je=typeof document!="undefined"?document:null,pr=Je&&Je.createElement("template"),mc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Je.createElementNS(pc,e):t==="mathml"?Je.createElementNS(gc,e):n?Je.createElement(e,{is:n}):Je.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Je.createTextNode(e),createComment:e=>Je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{pr.innerHTML=Ji(s==="svg"?``:s==="mathml"?``:e);const l=pr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_c=Symbol("_vtc");function yc(e,t,n){const s=e[_c];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Tn=Symbol("_vod"),Qi=Symbol("_vsh"),pf={name:"show",beforeMount(e,{value:t},{transition:n}){e[Tn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Kt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Kt(e,!0),s.enter(e)):s.leave(e,()=>{Kt(e,!1)}):Kt(e,t))},beforeUnmount(e,{value:t}){Kt(e,t)}};function Kt(e,t){e.style.display=t?e[Tn]:"none",e[Qi]=!t}const vc=Symbol(""),bc=/(?:^|;)\s*display\s*:/;function Ec(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&vn(s,l,"")}else for(const o in t)n[o]==null&&vn(s,o,"");for(const o in n)o==="display"&&(i=!0),vn(s,o,n[o])}else if(r){if(t!==n){const o=s[vc];o&&(n+=";"+o),s.cssText=n,i=bc.test(n)}}else t&&e.removeAttribute("style");Tn in e&&(e[Tn]=i?s.display:"",e[Qi]&&(s.display="none"))}const gr=/\s*!important$/;function vn(e,t,n){if(V(n))n.forEach(s=>vn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=xc(e,t);gr.test(n)?e.setProperty(at(s),n.replace(gr,""),"important"):e[s]=n}}const mr=["Webkit","Moz","ms"],Zn={};function xc(e,t){const n=Zn[t];if(n)return n;let s=ye(t);if(s!=="filter"&&s in e)return Zn[t]=s;s=Ln(s);for(let r=0;res||(Sc.then(()=>es=0),es=Date.now());function Oc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ke(Pc(s,n.value),t,5,[s])};return n.value=e,n.attached=Cc(),n}function Pc(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const xr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Tc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?yc(e,s,o):t==="style"?Ec(e,n,s):In(t)?Nn(t)||Ac(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ic(e,t,s,o))?(vr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&yr(e,t,s,o,i,t!=="value")):e._isVueCE&&(Nc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!re(s)))?vr(e,ye(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),yr(e,t,s,o))};function Ic(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&xr(t)&&B(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return xr(t)&&re(n)?!1:t in e}function Nc(e,t){const n=e._def.props;if(!n)return!1;const s=ye(t);return Array.isArray(n)?n.some(r=>ye(r)===s):Object.keys(n).some(r=>ye(r)===s)}const Rr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>hn(t,n):t};function Mc(e){e.target.composing=!0}function Ar(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ts=Symbol("_assign");function wr(e,t,n){return t&&(e=e.trim()),n&&(e=Rs(e)),e}const gf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ts]=Rr(r);const i=s||r.props&&r.props.type==="number";St(e,t?"change":"input",o=>{o.target.composing||e[ts](wr(e.value,n,i))}),(n||i)&&St(e,"change",()=>{e.value=wr(e.value,n,i)}),t||(St(e,"compositionstart",Mc),St(e,"compositionend",Ar),St(e,"change",Ar))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[ts]=Rr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Rs(e.value):e.value,c=t==null?"":t;if(l===c)return;const a=e.getRootNode();(a instanceof Document||a instanceof ShadowRoot)&&a.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},Dc=["ctrl","shift","alt","meta"],Lc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Dc.some(n=>e[`${n}Key`]&&!t.includes(n))},mf=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=at(r.key);if(t.some(o=>o===i||Fc[o]===i))return e(r)})},Hc=le({patchProp:Tc},mc);let Sr;function Vc(){return Sr||(Sr=$l(Hc))}const jc=(...e)=>{const t=Vc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Uc(s);if(!r)return;const i=t._component;!B(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Bc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Bc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Uc(e){return re(e)?document.querySelector(e):e}const Kc="modulepreload",Gc=function(e,t){return new URL(e,t).href},Cr={},Wc=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Gc(i,s),i in Cr)return;Cr[i]=!0;const o=i.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(!!s)for(let f=r.length-1;f>=0;f--){const h=r[f];if(h.href===i&&(!o||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":Kc,o||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),o)return new Promise((f,h)=>{a.addEventListener("load",f),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})};/*!
+ * vue-router v4.6.4
+ * (c) 2025 Eduardo San Martin Morote
+ * @license MIT
+ */const Ct=typeof document!="undefined";function Yi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function kc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Yi(e.default)}const k=Object.assign;function ns(e,t){const n={};for(const s in t){const r=t[s];n[s]=De(r)?r.map(e):e(r)}return n}const Yt=()=>{},De=Array.isArray;function Or(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Xi=/#/g,qc=/&/g,$c=/\//g,zc=/=/g,Jc=/\?/g,Zi=/\+/g,Qc=/%5B/g,Yc=/%5D/g,eo=/%5E/g,Xc=/%60/g,to=/%7B/g,Zc=/%7C/g,no=/%7D/g,eu=/%20/g;function Gs(e){return e==null?"":encodeURI(""+e).replace(Zc,"|").replace(Qc,"[").replace(Yc,"]")}function tu(e){return Gs(e).replace(to,"{").replace(no,"}").replace(eo,"^")}function _s(e){return Gs(e).replace(Zi,"%2B").replace(eu,"+").replace(Xi,"%23").replace(qc,"%26").replace(Xc,"`").replace(to,"{").replace(no,"}").replace(eo,"^")}function nu(e){return _s(e).replace(zc,"%3D")}function su(e){return Gs(e).replace(Xi,"%23").replace(Jc,"%3F")}function ru(e){return su(e).replace($c,"%2F")}function sn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const iu=/\/$/,ou=e=>e.replace(iu,"");function ss(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=fu(s!=null?s:t,n),{fullPath:s+i+o,path:s,query:r,hash:sn(o)}}function lu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Pr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Ft(t.matched[s],n.matched[r])&&so(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ft(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function so(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!uu(e[n],t[n]))return!1;return!0}function uu(e,t){return De(e)?Tr(e,t):De(t)?Tr(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Tr(e,t){return De(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function fu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ys=function(e){return e.pop="pop",e.push="push",e}({}),rs=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function au(e){if(!e)if(Ct){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ou(e)}const du=/^[^#]+#/;function hu(e,t){return e.replace(du,"#")+t}function pu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Wn=()=>({left:window.scrollX,top:window.scrollY});function gu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=pu(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ir(e,t){return(history.state?history.state.position-t:-1)+e}const vs=new Map;function mu(e,t){vs.set(e,t)}function _u(e){const t=vs.get(e);return vs.delete(e),t}function yu(e){return typeof e=="string"||e&&typeof e=="object"}function ro(e){return typeof e=="string"||typeof e=="symbol"}let ne=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const io=Symbol("");ne.MATCHER_NOT_FOUND+"",ne.NAVIGATION_GUARD_REDIRECT+"",ne.NAVIGATION_ABORTED+"",ne.NAVIGATION_CANCELLED+"",ne.NAVIGATION_DUPLICATED+"";function Ht(e,t){return k(new Error,{type:e,[io]:!0},t)}function ze(e,t){return e instanceof Error&&io in e&&(t==null||!!(e.type&t))}const vu=["params","query","hash"];function bu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of vu)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Eu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&_s(r)):[s&&_s(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function xu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=De(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ru=Symbol(""),Mr=Symbol(""),Ws=Symbol(""),oo=Symbol(""),bs=Symbol("");function Gt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ft(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=p=>{p===!1?c(Ht(ne.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):yu(p)?c(Ht(ne.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),l())},f=i(()=>e.call(s&&s.instances[r],t,n,a));let h=Promise.resolve(f);e.length<3&&(h=h.then(a)),h.catch(p=>c(p))})}function is(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Yi(c)){const a=(c.__vccOpts||c)[t];a&&i.push(ft(a,n,s,o,l,r))}else{let a=c();i.push(()=>a.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const h=kc(f)?f.default:f;o.mods[l]=f,o.components[l]=h;const p=(h.__vccOpts||h)[t];return p&&ft(p,n,s,o,l,r)()}))}}return i}function Au(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;oFt(a,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(a=>Ft(a,c))||r.push(c))}return[n,s,r]}/*!
+ * vue-router v4.6.4
+ * (c) 2025 Eduardo San Martin Morote
+ * @license MIT
+ */let wu=()=>location.protocol+"//"+location.host;function lo(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Pr(l,"")}return Pr(n,e)+s+r}function Su(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=lo(e,location),w=n.value,b=t.value;let F=0;if(p){if(n.value=m,t.value=p,o&&o===w){o=null;return}F=b?p.position-b.position:0}else s(m);r.forEach(M=>{M(n.value,w,{delta:F,type:ys.pop,direction:F?F>0?rs.forward:rs.back:rs.unknown})})};function c(){o=n.value}function a(p){r.push(p);const m=()=>{const w=r.indexOf(p);w>-1&&r.splice(w,1)};return i.push(m),m}function f(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(k({},p.state,{scroll:Wn()}),"")}}function h(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:c,listen:a,destroy:h}}function Dr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Wn():null}}function Cu(e){const{history:t,location:n}=window,s={value:lo(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,a,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:wu()+e+c;try{t[f?"replaceState":"pushState"](a,"",p),r.value=a}catch(m){console.error(m),n[f?"replace":"assign"](p)}}function o(c,a){i(c,k({},t.state,Dr(r.value.back,c,r.value.forward,!0),a,{position:r.value.position}),!0),s.value=c}function l(c,a){const f=k({},r.value,t.state,{forward:c,scroll:Wn()});i(f.current,f,!0),i(c,k({},Dr(s.value,c,null),{position:f.position+1},a),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function Ou(e){e=au(e);const t=Cu(e),n=Su(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=k({location:"",base:e,go:s,createHref:hu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Pu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ou(e)}let _t=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var oe=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(oe||{});const Tu={type:_t.Static,value:""},Iu=/[a-zA-Z0-9_]/;function Nu(e){if(!e)return[[]];if(e==="/")return[[Tu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${a}": ${m}`)}let n=oe.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,a="",f="";function h(){a&&(n===oe.Static?i.push({type:_t.Static,value:a}):n===oe.Param||n===oe.ParamRegExp||n===oe.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),i.push({type:_t.Param,value:a,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=c}for(;lt.length?t.length===1&&t[0]===me.Static+me.Segment?1:-1:0}function co(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Hu={strict:!1,end:!0,sensitive:!1};function Vu(e,t,n){const s=Lu(Nu(e.path),n),r=k(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ju(e,t){const n=[],s=new Map;t=Or(Hu,t);function r(h){return s.get(h)}function i(h,p,m){const w=!m,b=Vr(h);b.aliasOf=m&&m.record;const F=Or(t,h),M=[b];if("alias"in h){const N=typeof h.alias=="string"?[h.alias]:h.alias;for(const $ of N)M.push(Vr(k({},b,{components:m?m.record.components:b.components,path:$,aliasOf:m?m.record:b})))}let C,P;for(const N of M){const{path:$}=N;if(p&&$[0]!=="/"){const ae=p.record.path,te=ae[ae.length-1]==="/"?"":"/";N.path=p.record.path+($&&te+$)}if(C=Vu(N,p,F),m?m.alias.push(C):(P=P||C,P!==C&&P.alias.push(C),w&&h.name&&!jr(C)&&o(h.name)),uo(C)&&c(C),b.children){const ae=b.children;for(let te=0;te{o(P)}:Yt}function o(h){if(ro(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function l(){return n}function c(h){const p=Ku(h,n);n.splice(p,0,h),h.record.name&&!jr(h)&&s.set(h.record.name,h)}function a(h,p){let m,w={},b,F;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw Ht(ne.MATCHER_NOT_FOUND,{location:h});F=m.record.name,w=k(Hr(p.params,m.keys.filter(P=>!P.optional).concat(m.parent?m.parent.keys.filter(P=>P.optional):[]).map(P=>P.name)),h.params&&Hr(h.params,m.keys.map(P=>P.name))),b=m.stringify(w)}else if(h.path!=null)b=h.path,m=n.find(P=>P.re.test(b)),m&&(w=m.parse(b),F=m.record.name);else{if(m=p.name?s.get(p.name):n.find(P=>P.re.test(p.path)),!m)throw Ht(ne.MATCHER_NOT_FOUND,{location:h,currentLocation:p});F=m.record.name,w=k({},p.params,h.params),b=m.stringify(w)}const M=[];let C=m;for(;C;)M.unshift(C.record),C=C.parent;return{name:F,path:b,params:w,matched:M,meta:Uu(M)}}e.forEach(h=>i(h));function f(){n.length=0,s.clear()}return{addRoute:i,resolve:a,removeRoute:o,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Hr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Vr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Bu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Bu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function jr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Uu(e){return e.reduce((t,n)=>k(t,n.meta),{})}function Ku(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;co(e,t[i])<0?s=i:n=i+1}const r=Gu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Gu(e){let t=e;for(;t=t.parent;)if(uo(t)&&co(e,t)===0)return t}function uo({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Br(e){const t=Ze(Ws),n=Ze(oo),s=Te(()=>{const c=bt(e.to);return t.resolve(c)}),r=Te(()=>{const{matched:c}=s.value,{length:a}=c,f=c[a-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(Ft.bind(null,f));if(p>-1)return p;const m=Ur(c[a-2]);return a>1&&Ur(f)===m&&h[h.length-1].path!==m?h.findIndex(Ft.bind(null,c[a-2])):p}),i=Te(()=>r.value>-1&&zu(n.params,s.value.params)),o=Te(()=>r.value>-1&&r.value===n.matched.length-1&&so(n.params,s.value.params));function l(c={}){if($u(c)){const a=t[bt(e.replace)?"replace":"push"](bt(e.to)).catch(Yt);return e.viewTransition&&typeof document!="undefined"&&"startViewTransition"in document&&document.startViewTransition(()=>a),a}return Promise.resolve()}return{route:s,href:Te(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Wu(e){return e.length===1?e[0]:e}const ku=Fs({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"},viewTransition:Boolean},useLink:Br,setup(e,{slots:t}){const n=Vn(Br(e)),{options:s}=Ze(Ws),r=Te(()=>({[Kr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Kr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Wu(t.default(n));return e.custom?i:zi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),qu=ku;function $u(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 zu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!De(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function Ur(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Kr=(e,t,n)=>e!=null?e:t!=null?t:n,Ju=Fs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ze(bs),r=Te(()=>e.route||s.value),i=Ze(Mr,0),o=Te(()=>{let a=bt(i);const{matched:f}=r.value;let h;for(;(h=f[a])&&!h.components;)a++;return a}),l=Te(()=>r.value.matched[o.value]);gn(Mr,Te(()=>o.value+1)),gn(Ru,l),gn(bs,r);const c=pn();return mn(()=>[c.value,l.value,e.name],([a,f,h],[p,m,w])=>{f&&(f.instances[h]=a,m&&m!==f&&a&&a===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),a&&f&&(!m||!Ft(f,m)||!p)&&(f.enterCallbacks[h]||[]).forEach(b=>b(a))},{flush:"post"}),()=>{const a=r.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return Gr(n.default,{Component:p,route:a});const m=h.props[f],w=m?m===!0?a.params:typeof m=="function"?m(a):m:null,F=zi(p,k({},w,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return Gr(n.default,{Component:F,route:a})||F}}});function Gr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Qu=Ju;function Yu(e){const t=ju(e.routes,e),n=e.parseQuery||Eu,s=e.stringifyQuery||Nr,r=e.history,i=Gt(),o=Gt(),l=Gt(),c=ko(ct);let a=ct;Ct&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=ns.bind(null,y=>""+y),h=ns.bind(null,ru),p=ns.bind(null,sn);function m(y,I){let O,L;return ro(y)?(O=t.getRecordMatcher(y),L=I):L=y,t.addRoute(L,O)}function w(y){const I=t.getRecordMatcher(y);I&&t.removeRoute(I)}function b(){return t.getRoutes().map(y=>y.record)}function F(y){return!!t.getRecordMatcher(y)}function M(y,I){if(I=k({},I||c.value),typeof y=="string"){const d=ss(n,y,I.path),g=t.resolve({path:d.path},I),v=r.createHref(d.fullPath);return k(d,g,{params:p(g.params),hash:sn(d.hash),redirectedFrom:void 0,href:v})}let O;if(y.path!=null)O=k({},y,{path:ss(n,y.path,I.path).path});else{const d=k({},y.params);for(const g in d)d[g]==null&&delete d[g];O=k({},y,{params:h(d)}),I.params=h(I.params)}const L=t.resolve(O,I),U=y.hash||"";L.params=f(p(L.params));const ee=lu(s,k({},y,{hash:tu(U),path:L.path})),u=r.createHref(ee);return k({fullPath:ee,hash:U,query:s===Nr?xu(y.query):y.query||{}},L,{redirectedFrom:void 0,href:u})}function C(y){return typeof y=="string"?ss(n,y,c.value.path):k({},y)}function P(y,I){if(a!==y)return Ht(ne.NAVIGATION_CANCELLED,{from:I,to:y})}function N(y){return te(y)}function $(y){return N(k(C(y),{replace:!0}))}function ae(y,I){const O=y.matched[y.matched.length-1];if(O&&O.redirect){const{redirect:L}=O;let U=typeof L=="function"?L(y,I):L;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=C(U):{path:U},U.params={}),k({query:y.query,hash:y.hash,params:U.path!=null?{}:y.params},U)}}function te(y,I){const O=a=M(y),L=c.value,U=y.state,ee=y.force,u=y.replace===!0,d=ae(O,L);if(d)return te(k(C(d),{state:typeof d=="object"?k({},U,d.state):U,force:ee,replace:u}),I||O);const g=O;g.redirectedFrom=I;let v;return!ee&&cu(s,L,O)&&(v=Ht(ne.NAVIGATION_DUPLICATED,{to:g,from:L}),Ve(L,L,!0,!1)),(v?Promise.resolve(v):Fe(g,L)).catch(_=>ze(_)?ze(_,ne.NAVIGATION_GUARD_REDIRECT)?_:lt(_):W(_,g,L)).then(_=>{if(_){if(ze(_,ne.NAVIGATION_GUARD_REDIRECT))return te(k({replace:u},C(_.to),{state:typeof _.to=="object"?k({},U,_.to.state):U,force:ee}),I||g)}else _=dt(g,L,!0,u,U);return ot(g,L,_),_})}function Le(y,I){const O=P(y,I);return O?Promise.reject(O):Promise.resolve()}function it(y){const I=Rt.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(y):y()}function Fe(y,I){let O;const[L,U,ee]=Au(y,I);O=is(L.reverse(),"beforeRouteLeave",y,I);for(const d of L)d.leaveGuards.forEach(g=>{O.push(ft(g,y,I))});const u=Le.bind(null,y,I);return O.push(u),Ce(O).then(()=>{O=[];for(const d of i.list())O.push(ft(d,y,I));return O.push(u),Ce(O)}).then(()=>{O=is(U,"beforeRouteUpdate",y,I);for(const d of U)d.updateGuards.forEach(g=>{O.push(ft(g,y,I))});return O.push(u),Ce(O)}).then(()=>{O=[];for(const d of ee)if(d.beforeEnter)if(De(d.beforeEnter))for(const g of d.beforeEnter)O.push(ft(g,y,I));else O.push(ft(d.beforeEnter,y,I));return O.push(u),Ce(O)}).then(()=>(y.matched.forEach(d=>d.enterCallbacks={}),O=is(ee,"beforeRouteEnter",y,I,it),O.push(u),Ce(O))).then(()=>{O=[];for(const d of o.list())O.push(ft(d,y,I));return O.push(u),Ce(O)}).catch(d=>ze(d,ne.NAVIGATION_CANCELLED)?d:Promise.reject(d))}function ot(y,I,O){l.list().forEach(L=>it(()=>L(y,I,O)))}function dt(y,I,O,L,U){const ee=P(y,I);if(ee)return ee;const u=I===ct,d=Ct?history.state:{};O&&(L||u?r.replace(y.fullPath,k({scroll:u&&d&&d.scroll},U)):r.push(y.fullPath,U)),c.value=y,Ve(y,I,O,u),lt()}let He;function Vt(){He||(He=r.listen((y,I,O)=>{if(!ht.listening)return;const L=M(y),U=ae(L,ht.currentRoute.value);if(U){te(k(U,{replace:!0,force:!0}),L).catch(Yt);return}a=L;const ee=c.value;Ct&&mu(Ir(ee.fullPath,O.delta),Wn()),Fe(L,ee).catch(u=>ze(u,ne.NAVIGATION_ABORTED|ne.NAVIGATION_CANCELLED)?u:ze(u,ne.NAVIGATION_GUARD_REDIRECT)?(te(k(C(u.to),{force:!0}),L).then(d=>{ze(d,ne.NAVIGATION_ABORTED|ne.NAVIGATION_DUPLICATED)&&!O.delta&&O.type===ys.pop&&r.go(-1,!1)}).catch(Yt),Promise.reject()):(O.delta&&r.go(-O.delta,!1),W(u,L,ee))).then(u=>{u=u||dt(L,ee,!1),u&&(O.delta&&!ze(u,ne.NAVIGATION_CANCELLED)?r.go(-O.delta,!1):O.type===ys.pop&&ze(u,ne.NAVIGATION_ABORTED|ne.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),ot(L,ee,u)}).catch(Yt)}))}let Et=Gt(),ce=Gt(),J;function W(y,I,O){lt(y);const L=ce.list();return L.length?L.forEach(U=>U(y,I,O)):console.error(y),Promise.reject(y)}function qe(){return J&&c.value!==ct?Promise.resolve():new Promise((y,I)=>{Et.add([y,I])})}function lt(y){return J||(J=!y,Vt(),Et.list().forEach(([I,O])=>y?O(y):I()),Et.reset()),y}function Ve(y,I,O,L){const{scrollBehavior:U}=e;if(!Ct||!U)return Promise.resolve();const ee=!O&&_u(Ir(y.fullPath,0))||(L||!O)&&history.state&&history.state.scroll||null;return _i().then(()=>U(y,I,ee)).then(u=>u&&gu(u)).catch(u=>W(u,y,I))}const ve=y=>r.go(y);let xt;const Rt=new Set,ht={currentRoute:c,listening:!0,addRoute:m,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:F,getRoutes:b,resolve:M,options:e,push:N,replace:$,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:ce.add,isReady:qe,install(y){y.component("RouterLink",qu),y.component("RouterView",Qu),y.config.globalProperties.$router=ht,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>bt(c)}),Ct&&!xt&&c.value===ct&&(xt=!0,N(r.location).catch(L=>{}));const I={};for(const L in ct)Object.defineProperty(I,L,{get:()=>c.value[L],enumerable:!0});y.provide(Ws,ht),y.provide(oo,hi(I)),y.provide(bs,c);const O=y.unmount;Rt.add(y),y.unmount=function(){Rt.delete(y),Rt.size<1&&(a=ct,He&&He(),He=null,c.value=ct,xt=!1,J=!1),O()}}};function Ce(y){return y.reduce((I,O)=>I.then(()=>it(O)),Promise.resolve())}return ht}const os=()=>Wc(()=>import("./index-d3bd1e52-1782613078975.js").then(e=>e.i),["./index-d3bd1e52-1782613078975.js","./index-7a0a1b46-balabala-1782613078975.css"],import.meta.url),Xu=Yu({history:Pu(),routes:[{path:"/",redirect:"/platform",component:os},{path:"/platform",component:os},{path:"/forest-grass-wet",component:os},{path:"/:pathMatch(.*)",redirect:"/"}]}),Zu=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ef={};function tf(e,t){const n=Rl("router-view");return Sn(),On(n)}const nf=Zu(ef,[["render",tf]]);let sf=jc(nf);sf.use(Xu).mount("#app");export{_f as A,mf as B,_i as C,Fs as D,lf as E,Oe as F,zi as G,rf as H,fe as I,cf as J,Wc as K,pf as L,Zu as _,ki as a,ue as b,af as c,pn as d,Te as e,yl as f,hf as g,gl as h,Ze as i,oc as j,df as k,As as l,uf as m,ws as n,Sn as o,gn as p,On as q,ff as r,ko as s,xo as t,bt as u,tc as v,mn as w,sl as x,of as y,gf as z};
diff --git a/docs/assets/index-7a0a1b46-balabala-1782613078975.css b/docs/assets/index-7a0a1b46-balabala-1782613078975.css
new file mode 100644
index 0000000..57c4a1a
--- /dev/null
+++ b/docs/assets/index-7a0a1b46-balabala-1782613078975.css
@@ -0,0 +1 @@
+@charset "UTF-8";.path-line{mix-blend-mode:screen}.m-header{position:relative;left:0;top:0;right:0;width:100%;height:90px;z-index:2}.m-header-wrap{position:absolute;left:50%;transform:translate(-50%);width:1920px;height:90px;margin:0 auto;background:url(./header-bg-65b38012-balabala-1782613078975.png);background-size:100%;text-align:center;box-sizing:border-box;padding-top:10px}.m-header-title{color:#fff;font-size:44px;letter-spacing:1px;font-family:YouSheBiaoTiHei,阿里妈妈数黑体 Bold;background:-webkit-linear-gradient(rgb(117,232,255),rgb(255,255,255));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.m-header-subtext{opacity:.64;font-size:12px;letter-spacing:3px;font-weight:300;font-family:D-DIN;line-height:14.4px;color:#c4f3fe}.m-header-left{color:#fff;position:absolute;top:47px;left:32px}.m-header-right{color:#fff;position:absolute;top:47px;right:32px}.m-header-line-left{position:absolute;right:50%;top:11px;width:961px;height:79px;margin-right:14px}.m-header-line-right{position:absolute;left:50%;top:11px;width:961px;height:79px;margin-left:-14px;transform:scaleX(-1)}.m-header-line-left-top{position:absolute;right:50%;top:-6px;width:329px;height:30px;margin-right:295px}.m-header-line-right-top{position:absolute;left:50%;top:-6px;width:329px;height:30px;margin-left:293px;transform:scaleX(-1)}.m-menu{display:flex}.m-menu-item{position:relative;z-index:1;display:flex;align-items:center;pointer-events:all;justify-content:center;min-width:100px;width:auto;height:32px;box-sizing:border-box;padding:0 14px;background-image:url(./menu-btn-91a961cf-balabala-1782613078975.png);background-size:100% 100%;color:#fff9;font-size:15px;margin:0 8px;white-space:nowrap;cursor:pointer}.m-menu-item:hover,.m-menu-item.is-active{color:#fff;background-image:url(./menu-btn-hover-62eba0bb-balabala-1782613078975.png);background-size:100% 100%}.m-menu-item.is-active:after{display:block;width:100%;height:32px;background-size:100%;content:"";position:absolute;left:50%;top:50%;margin-left:-50%;margin-top:-16px;z-index:-1;opacity:1;background:rgba(0,170,255,.55);border-radius:32px;transform:scale(1.1,1.2);animation:menuActiveScale 1s infinite}@keyframes menuActiveScale{0%{transform:scale(1)}50%{transform:scale(1.1,1.2)}to{transform:scale(1.1,1.2);opacity:0}}@keyframes countCardLoadIn{0%{opacity:0;transform:translateY(12px) scale(.96);filter:blur(1px) brightness(.82)}58%{opacity:1;transform:translateY(-2px) scale(1.02);filter:blur(0) brightness(1.26)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0) brightness(1)}}@keyframes countCardValueJump{0%,to{transform:translateY(0) scale(1)}35%{transform:translateY(-3px) scale(1.045)}68%{transform:translateY(1px) scale(.99)}}@keyframes countCardValueSettle{0%{transform:translateY(0) scale(1);filter:brightness(1);text-shadow:0 0 18px rgba(255,255,255,.7)}36%{transform:translateY(-5px) scale(1.08);filter:brightness(1.4);text-shadow:0 0 14px rgba(255,255,255,.88),0 0 26px rgba(48,220,255,.52)}to{transform:translateY(0) scale(1);filter:brightness(1);text-shadow:0 0 18px rgba(255,255,255,.7)}}@keyframes countCardValueSweep{0%{transform:translate(-130%);opacity:0}16%{opacity:.68}54%{opacity:.8}to{transform:translate(130%);opacity:0}}.count-card{position:relative;display:flex;align-items:center;overflow:visible}.count-card:before{content:"";position:absolute;left:-8px;right:-8px;top:-5px;bottom:-5px;pointer-events:none;background:linear-gradient(100deg,transparent 8%,rgba(48,220,255,.2) 45%,transparent 72%);opacity:0;transform:translate(-120%)}.count-card.is-counting:before{animation:countCardValueSweep 1.45s ease-in-out infinite}.count-card-left{display:flex;align-items:center;animation:countCardLoadIn .78s cubic-bezier(.2,.78,.22,1) both;animation-delay:.04s}.count-card-right{display:flex;align-items:center;padding-left:20px;animation:countCardLoadIn .82s cubic-bezier(.2,.78,.22,1) both;animation-delay:.12s}.count-card-right .value{position:relative;display:inline-flex;align-items:baseline;transform-origin:center bottom;font-family:D-DIN;font-weight:700;font-size:28px;color:#fff;letter-spacing:1px;margin-right:10px;text-shadow:0px 0px 18px rgba(255,255,255,.7);white-space:nowrap}.count-card-right .value:after{content:"";position:absolute;left:-4px;right:-4px;bottom:0;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(48,220,255,.72),transparent);opacity:0;transform:scaleX(.2);transform-origin:left center}.count-card-right .unit{font-weight:500;font-size:12px;color:#fff;padding-top:15px;opacity:.5;white-space:nowrap}.count-card-icon{position:relative;width:42px;height:42px;margin-right:10px;flex:0 0 42px;background-repeat:no-repeat;background-position:center center;background-size:100%;filter:drop-shadow(0 0 6px rgba(48,220,255,.58)) drop-shadow(0 0 14px rgba(48,220,255,.22))}.count-card-icon:before,.count-card-icon:after{content:none}.count-card-icon.icon-xiaoshoujine{background-image:url(./icon1-6f7c222f-balabala-1782613078975.png)}.count-card-icon.icon-zongxiaoliang{background-image:url(./icon2-4f77ccec-balabala-1782613078975.png)}.count-card-title .title-zh{font-weight:700;font-size:18px;color:#fff;white-space:nowrap}.count-card-title .title-en{font-family:D-DIN;font-weight:400;font-size:12px;color:#fff;opacity:.5;padding-top:5px;white-space:nowrap}.count-card.is-counting .count-card-icon{filter:drop-shadow(0 0 9px rgba(48,220,255,.52))}.count-card.is-counting .count-card-right .value{animation:countCardValueJump .58s ease-in-out infinite}.count-card.is-counting .count-card-right .value:after{opacity:.58;transform:scaleX(1);transition:transform 1.2s ease,opacity .2s ease}.count-card.is-settled .count-card-right .value{animation:countCardValueSettle .72s cubic-bezier(.16,.86,.24,1) both}.m-card{position:relative}.m-card-hd{position:absolute;left:0;top:0;width:100%;z-index:2}.m-card-hd-bg{position:absolute;left:0;top:0}.m-card-hd-zs1{position:absolute;right:12px;top:10px;width:120px;height:11px}.m-card-hd-title{position:absolute;left:22px;color:#fff;font-size:16px;font-weight:400;letter-spacing:1.6px;height:36px;line-height:32px;font-family:PingFangSc;font-weight:600;background:-webkit-linear-gradient(rgb(219,249,255),rgb(169,240,255));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.m-card-hd .saoguang{position:absolute;left:0;top:0;width:100%;height:36px;overflow:hidden;pointer-events:none}.m-card-hd .saoguang img{width:89px;height:36px;animation:saoguangMove 6s linear infinite}.m-card-bd{position:absolute;left:0;top:0;z-index:1}.m-card-bd-bg{position:absolute;left:0;top:0}.m-card-bd-bottom-left-arrow{position:absolute;left:4px;bottom:4px}.m-card-bd-bottom-right-arrow{position:absolute;right:4px;bottom:4px}.m-card-bd-middle-left-line{position:absolute;left:0;top:50%;margin-top:-35px}.m-card-bd-middle-right-line{position:absolute;right:0;top:50%;margin-top:-35px}.m-card-bd-content{position:absolute;left:0;top:36px;right:0;bottom:0;pointer-events:all;overflow:hidden}@keyframes saoguangMove{0%{transform:translate(-160px)}to{transform:translate(2000px)}}.map{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background-color:#000}.map .info-point{background:rgba(0,0,0,.5);color:#a3dcde;font-size:13px;width:190px;height:138px;padding:15px 12px 0;margin-bottom:30px;will-change:transform}.map .info-point-wrap:after,.map .info-point-wrap:before{display:block;content:"";position:absolute;top:0;width:15px;height:15px;border-top:1px solid #4b87a6}.map .info-point-wrap:before{left:0;border-left:1px solid #4b87a6}.map .info-point-wrap:after{right:0;border-right:1px solid #4b87a6}.map .info-point-wrap-inner:after,.map .info-point-wrap-inner:before{display:block;content:"";position:absolute;bottom:0;width:15px;height:15px;border-bottom:1px solid #4b87a6}.map .info-point-wrap-inner:before{left:0;border-left:1px solid #4b87a6}.map .info-point-wrap-inner:after{right:0;border-right:1px solid #4b87a6}.map .info-point-line{position:absolute;top:7px;right:12px;display:flex}.map .info-point-line .line{width:5px;height:2px;margin-right:5px;background:#17e5c3}.map .info-point-content .content-item{display:flex;height:25px;line-height:25px;background:rgba(35,47,58,.6);margin-bottom:4px}.map .info-point-content .content-item .label{width:48px;padding-left:10px}.map .info-point-content .content-item .value{color:#fff;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map .provinces-label-wrap{transform:translate(50%,200%);opacity:0;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;width:136px;min-height:58px;border:1px solid rgba(126,251,246,.22);border-radius:8px 8px 8px 0;background:rgba(1,19,30,.62);box-shadow:0 0 16px #30dcff29}.map .provinces-label .label-main{min-width:0}.map .provinces-label .label-title{max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7efbf6d1;font-size:10px;line-height:12px;font-weight:500}.map .provinces-label .number{color:#fff;font-size:21px;line-height:25px;font-weight:700}.map .provinces-label .number .unit{color:#fff;font-size:11px;font-weight:400;opacity:.64;padding-left:4px}.map .provinces-label .name{color:#fff;font-size:12px;line-height:14px;font-weight:700;max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map .provinces-label .name span{display:block}.map .provinces-label .name .en{color:#fff;font-size:10px;opacity:.5;font-weight:700}.map .provinces-label .no{color:#7efbf6;text-shadow:0 0 5px #7efbf6,0 0 10px #7efbf6;font-size:22px;font-weight:700;flex:0 0 auto}.map .provinces-label.yellow .no{color:#fef99e!important;text-shadow:0 0 5px #fef99e,0 0 10px #fef99e!important}.map .china-label{color:#fff;font-size:14px;font-weight:700;text-shadow:0 0 8px rgba(126,251,246,.8);will-change:transform;z-index:30}.map .china-label .other-label{display:flex;align-items:center;padding:6px 10px;border:1px solid rgba(126,251,246,.35);border-radius:3px;background:rgba(3,21,33,.78);box-shadow:0 0 14px #30dcff33;will-change:transform;white-space:nowrap}.map .china-label .town-stat-label{flex-direction:column;align-items:stretch;gap:4px;min-width:74px;padding:6px 9px 5px;border-color:#7efbf670;background:linear-gradient(180deg,rgba(4,33,46,.86),rgba(3,20,32,.72))}.map .china-label .town-name-row{display:flex;align-items:center;justify-content:center;gap:6px;min-height:18px;line-height:18px}.map .china-label .town-name{color:#fff;font-size:14px;line-height:18px;font-weight:800}.map .china-label .town-rank{display:none;flex:0 0 auto;padding:1px 5px;border:1px solid rgba(126,251,246,.32);border-radius:2px;color:#7efbf6;font-size:10px;line-height:13px;font-weight:700;text-shadow:none;background:rgba(126,251,246,.1)}.map .china-label .town-stat-row{display:none;align-items:baseline;justify-content:center;gap:3px;min-height:18px;line-height:18px}.map .china-label .town-stat-metric{max-width:72px;overflow:hidden;color:#7efbf6e6;font-size:10px;line-height:12px;font-weight:700;text-overflow:ellipsis;text-shadow:none;white-space:nowrap}.map .china-label .town-stat-value{color:#fff;font-size:18px;line-height:18px;font-weight:800;text-shadow:0 0 10px rgba(126,251,246,.72)}.map .china-label .town-stat-unit{color:#e8fcffc2;font-size:10px;line-height:12px;font-weight:600}.map .china-label .town-stat-label.has-stat{min-width:116px}.map .china-label .town-stat-label.has-stat .town-rank,.map .china-label .town-stat-label.has-stat .town-stat-row{display:flex}.map .china-label.blur{filter:none;opacity:1}.map .china-label .label-icon{display:none;width:20px;height:20px;margin:0 10px 0 0}.map .map-label{padding:5px;color:#fff;will-change:transform;font-size:36px;font-weight:700;letter-spacing:4.5px;-webkit-box-reflect:below 0 -webkit-linear-gradient(transparent,transparent 20%,rgba(255,255,255,.3))}.map .map-label .other-label{display:flex;flex-direction:column}.map .map-label span{font-size:46px}.map .map-label span:last-child{font-size:12px;font-weight:400;letter-spacing:0px;color:#a7d5ef}.map .decoration-label .label-icon{display:block;width:40px;height:40px}.map .other-label{transform:translateY(200%);opacity:0;background:none;will-change:transform}.business-stat-list{height:100%;padding:14px 16px;box-sizing:border-box;overflow-y:auto}.business-stat-list::-webkit-scrollbar{width:3px}.business-stat-list::-webkit-scrollbar-thumb{background:rgba(48,220,255,.28)}.business-stat-list.is-compact{padding:6px 14px}.business-stat-list.is-compact .business-stat-row{height:30px;gap:8px;grid-template-columns:22px minmax(0,1fr) 104px}.business-stat-list.is-compact .business-stat-rank{width:19px;height:19px;font-size:11px;line-height:17px}.business-stat-list.is-compact .business-stat-name{font-size:12px}.business-stat-list.is-compact .business-stat-bar{height:4px;margin-top:5px}.business-stat-list.is-compact .business-stat-value strong{font-size:15px}.business-stat-list.is-compact .business-stat-value em{font-size:10px}.business-stat-list.is-compact .business-stat-value span{font-size:9px}.business-stat-list.is-compact.is-dense{padding:4px 12px 6px}.business-stat-list.is-compact.is-dense .business-stat-row{height:20px;gap:6px;grid-template-columns:19px minmax(0,1fr) 92px}.business-stat-list.is-compact.is-dense .business-stat-rank{width:16px;height:16px;font-size:10px;line-height:14px}.business-stat-list.is-compact.is-dense .business-stat-name{font-size:11px;line-height:13px}.business-stat-list.is-compact.is-dense .business-stat-bar{height:3px;margin-top:2px}.business-stat-list.is-compact.is-dense .business-stat-value strong{font-size:13px;line-height:15px}.business-stat-list.is-compact.is-dense .business-stat-value em{font-size:9px}.business-stat-empty{display:flex;align-items:center;justify-content:center;height:100%;color:#e0faffd1;font-size:14px}.business-stat-row{display:grid;grid-template-columns:28px minmax(0,1fr) 96px;align-items:center;gap:10px;height:38px;border-bottom:1px solid rgba(48,220,255,.18)}.business-stat-rank{width:22px;height:22px;border:1px solid rgba(48,220,255,.58);background:rgba(48,220,255,.18);color:#7ff7ff;font-family:D-DIN,Arial,sans-serif;font-size:13px;line-height:20px;text-align:center;box-shadow:0 0 4px #30dcff2e}.business-stat-main{min-width:0}.business-stat-name{color:#ecfcfff0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-stat-bar{height:5px;margin-top:7px;background:rgba(48,220,255,.14);overflow:hidden;box-shadow:inset 0 0 0 1px #30dcff0f}.business-stat-bar span{display:block;height:100%;background:linear-gradient(90deg,#14f1b2,#30dcff);box-shadow:0 0 6px #30dcff5c}.business-stat-value{min-width:0;text-align:right}.business-stat-value strong{color:#38f8ff;font-family:D-DIN,Arial,sans-serif;font-size:18px;font-weight:700;text-shadow:0 0 4px rgba(48,220,255,.32)}.business-stat-value em{margin-left:3px;color:#eefdffb8;font-size:11px;font-style:normal}.business-stat-value span{display:block;margin-top:2px;color:#eefdffad;font-size:10px;line-height:12px;white-space:normal}.business-stat-list,.business-stat-list span,.business-stat-list strong,.business-stat-list em,.business-stat-name,.business-stat-rank,.business-stat-empty{color:#fff!important;text-shadow:none!important}.three-pie-wrap{position:relative;width:100%;height:100%;z-index:2}.three-pie{width:100%;height:100%}.three-pie-slot{position:absolute;left:0;top:0;display:flex;justify-content:center;align-items:center;width:100%;height:100%;pointer-events:none}.business-panel{height:100%;box-sizing:border-box;overflow:hidden}.business-panel-empty{display:flex;align-items:center;justify-content:center;height:100%;color:#ffffff85;font-size:14px}@keyframes businessDataPulse{0%,to{filter:brightness(1);box-shadow:0 0 8px #24f6c41f}50%{filter:brightness(1.22);box-shadow:0 0 16px #24f6c457}}@keyframes businessDataSweep{0%{transform:translate(-130%)}to{transform:translate(130%)}}@keyframes businessColumnReload{0%,8%{opacity:.46;transform:scaleY(.22);filter:saturate(.82) brightness(.72);box-shadow:0 0 7px #30dcff29}20%{opacity:.82;transform:scaleY(.72);filter:saturate(1.18) brightness(1.06);box-shadow:0 0 13px #30dcff61}34%{opacity:1;transform:scaleY(1);filter:saturate(1.32) brightness(1.18);box-shadow:0 0 18px #30dcff8f}54%{opacity:1;transform:scaleY(1);filter:saturate(1.08) brightness(1.06);box-shadow:0 0 14px #30dcff75}to{opacity:.62;transform:scaleY(.9);filter:saturate(.94) brightness(.86);box-shadow:0 0 9px #30dcff38}}@keyframes businessColumnReloadCap{0%,16%{opacity:0;transform:skew(-36deg) translateY(9px)}30%{opacity:.9;transform:skew(-36deg) translateY(0)}48%,to{opacity:0;transform:skew(-36deg) translateY(-9px)}}@keyframes businessLineFlow{to{stroke-dashoffset:-28}}@keyframes businessDotPulse{0%,to{r:3;opacity:.82}50%{r:4.8;opacity:1}}@keyframes businessActiveDotPulse{0%,to{r:5.2}50%{r:7}}.business-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:100%;padding:8px 14px 9px;box-sizing:border-box}.business-metric-item{min-width:0;padding:8px 10px;background:linear-gradient(135deg,rgba(22,90,108,.62),rgba(5,26,40,.68));border:1px solid rgba(48,220,255,.18)}.business-metric-item span{display:block;color:#ffffff9e;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-metric-item strong{display:inline-block;margin-top:5px;color:#1afcff;font-family:D-DIN,Arial,sans-serif;font-size:22px;line-height:24px}.business-metric-item em{margin-left:4px;color:#ffffff94;font-size:11px;font-style:normal}.business-icon-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:8px 10px;height:100%;padding:8px 14px 9px;box-sizing:border-box;overflow:hidden}.business-icon-metric-item{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:0;padding:7px 8px;box-sizing:border-box;overflow:hidden;border:1px solid rgba(48,220,255,.16);background:linear-gradient(90deg,rgba(48,220,255,.1),rgba(48,220,255,.02)),linear-gradient(180deg,rgba(8,41,56,.72),rgba(4,20,32,.66))}.business-icon-metric-item:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;background:#24f6c4;box-shadow:0 0 10px #24f6c4b3}.business-icon-metric-item.is-tone-1:before{background:#32dcff;box-shadow:0 0 10px #32dcffb3}.business-icon-metric-item.is-tone-2:before{background:#ffe06b;box-shadow:0 0 10px #ffe06b9e}.business-icon-metric-item.is-tone-3:before{background:#ff9a62;box-shadow:0 0 10px #ff9a629e}.business-icon-metric-mark{position:relative;display:block;width:42px;height:42px;border:1px solid rgba(48,220,255,.4);border-radius:8px;background:radial-gradient(circle at 50% 42%,rgba(36,246,196,.25),rgba(36,246,196,.04) 64%),linear-gradient(135deg,rgba(48,220,255,.22),rgba(4,24,36,.28));box-shadow:inset 0 0 16px #30dcff29,0 0 12px #30dcff24;overflow:hidden}.business-icon-metric-mark:before,.business-icon-metric-mark:after,.business-icon-metric-mark span,.business-icon-metric-mark span:before,.business-icon-metric-mark span:after{content:"";position:absolute;box-sizing:border-box}.business-icon-metric-mark.is-yield span{left:12px;right:12px;bottom:9px;height:22px;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,#7dfdff,#20d8ff 54%,rgba(36,246,196,.42));box-shadow:0 0 10px #20d8ff94}.business-icon-metric-mark.is-yield:before,.business-icon-metric-mark.is-yield:after{bottom:9px;width:6px;height:16px;border-radius:6px 6px 3px 3px;background:rgba(126,226,105,.72)}.business-icon-metric-mark.is-yield:before{left:7px}.business-icon-metric-mark.is-yield:after{right:7px}.business-icon-metric-mark.is-leaf span{left:10px;top:10px;width:22px;height:22px;border-radius:22px 4px;background:linear-gradient(135deg,#7ee269,#24f6c4);transform:rotate(-24deg);box-shadow:0 0 12px #24f6c485}.business-icon-metric-mark.is-leaf span:after{left:10px;top:3px;width:2px;height:18px;border-radius:2px;background:rgba(3,45,43,.5);transform:rotate(44deg)}.business-icon-metric-mark.is-rate:before{left:9px;top:10px;width:24px;height:24px;border:4px solid rgba(50,220,255,.32);border-top-color:#ffe06b;border-right-color:#24f6c4;border-radius:50%;transform:rotate(38deg)}.business-icon-metric-mark.is-rate span{left:20px;top:20px;width:12px;height:3px;border-radius:3px;background:#ffffff;transform:rotate(-30deg);transform-origin:left center;box-shadow:0 0 8px #fff9}.business-icon-metric-mark.is-risk:before{left:10px;top:9px;width:22px;height:22px;border-left:3px solid #ff9a62;border-bottom:3px solid #ff9a62;transform:rotate(-45deg);box-shadow:-4px 4px 10px #ff9a6257}.business-icon-metric-mark.is-risk span{left:20px;top:13px;width:3px;height:16px;border-radius:3px;background:#ffe06b;box-shadow:0 0 8px #ffe06b8a}.business-icon-metric-mark.is-town span,.business-icon-metric-mark.is-town span:before,.business-icon-metric-mark.is-town span:after,.business-icon-metric-mark.is-town:before{width:9px;height:9px;border-radius:2px;background:#32dcff;box-shadow:0 0 9px #32dcff80}.business-icon-metric-mark.is-town span{left:10px;top:10px}.business-icon-metric-mark.is-town span:before{left:13px;top:0}.business-icon-metric-mark.is-town span:after{left:0;top:13px}.business-icon-metric-mark.is-town:before{left:23px;top:23px;border:2px solid #24f6c4;background:transparent}.business-icon-metric-mark.is-area:before{left:8px;top:13px;width:26px;height:16px;border:2px solid #24f6c4;transform:skew(-18deg);background:linear-gradient(135deg,rgba(36,246,196,.34),rgba(50,220,255,.06))}.business-icon-metric-mark.is-area span{left:13px;top:19px;width:16px;height:2px;background:#32dcff;box-shadow:0 5px #32dcffb3}.business-icon-metric-mark.is-stack span,.business-icon-metric-mark.is-stack span:before,.business-icon-metric-mark.is-stack span:after{left:10px;width:22px;height:5px;border-radius:5px;background:linear-gradient(90deg,#32dcff,#24f6c4);box-shadow:0 0 9px #24f6c457}.business-icon-metric-mark.is-stack span{top:12px}.business-icon-metric-mark.is-stack span:before{top:8px}.business-icon-metric-mark.is-stack span:after{top:16px;background:linear-gradient(90deg,#ffe06b,#ff9a62)}.business-icon-metric-copy{min-width:0}.business-icon-metric-copy span{display:block;min-width:0;color:#dcf8ffc2;font-size:12px;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-icon-metric-copy strong{display:block;margin-top:3px;color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:20px;line-height:22px;font-weight:800;text-shadow:0 0 14px rgba(48,220,255,.42);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.business-icon-metric-copy strong em{margin-left:3px;color:#ffffff94;font-family:PingFang SC,Arial,sans-serif;font-size:10px;font-style:normal;font-weight:500}.business-spotlight{display:grid;grid-template-columns:142px minmax(0,1fr);gap:12px;height:100%;padding:10px 14px;box-sizing:border-box;overflow:hidden}.business-spotlight-main{position:relative;min-width:0;padding:13px 10px 10px;border:1px solid rgba(48,220,255,.22);background:radial-gradient(circle at 50% 38%,rgba(36,246,196,.26),rgba(36,246,196,.03) 62%),linear-gradient(180deg,rgba(48,220,255,.12),rgba(4,22,34,.36));text-align:center}.business-spotlight-main:before,.business-spotlight-main:after{content:"";position:absolute;left:18px;right:18px;height:1px;background:linear-gradient(90deg,rgba(48,220,255,0),rgba(48,220,255,.8),rgba(48,220,255,0))}.business-spotlight-main:before{top:8px}.business-spotlight-main:after{bottom:8px}.business-spotlight-main span,.business-spotlight-main small{display:block;overflow:hidden;color:#d2f5ffb8;font-size:12px;line-height:16px;white-space:nowrap;text-overflow:ellipsis}.business-spotlight-main strong{display:block;margin:10px 0 6px;color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:30px;line-height:32px;font-weight:800;text-shadow:0 0 18px rgba(48,220,255,.48);white-space:nowrap}.business-spotlight-main strong em{margin-left:4px;color:#ffffffa3;font-family:PingFang SC,Arial,sans-serif;font-size:11px;font-style:normal;font-weight:500}.business-spotlight-main small{color:#ffe06bdb}.business-spotlight-side{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;min-width:0}.business-spotlight-chip{position:relative;display:grid;grid-template-columns:10px minmax(0,1fr);grid-template-areas:"dot name" "dot value" "dot note";align-content:center;gap:1px 8px;min-width:0;padding:8px 10px;border:1px solid rgba(48,220,255,.12);background:linear-gradient(90deg,rgba(48,220,255,.09),rgba(48,220,255,.02));box-sizing:border-box}.business-spotlight-chip i{grid-area:dot;align-self:center;width:8px;height:28px;border-left:3px solid #24f6c4}.business-spotlight-chip span,.business-spotlight-chip small{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.business-spotlight-chip span{grid-area:name;color:#ffffffb3;font-size:11px;line-height:14px}.business-spotlight-chip strong{grid-area:value;color:#1afcff;font-family:D-DIN,Arial,sans-serif;font-size:18px;line-height:20px;white-space:nowrap}.business-spotlight-chip strong em{margin-left:3px;color:#ffffff8f;font-family:PingFang SC,Arial,sans-serif;font-size:10px;font-style:normal;font-weight:500}.business-spotlight-chip small{grid-area:note;color:#ffe06bc2;font-size:10px;line-height:12px}.business-donut{display:grid;grid-template-columns:136px minmax(0,1fr);align-items:center;gap:8px;height:100%;padding:7px 13px 8px 14px;box-sizing:border-box}.business-donut.is-dense{grid-template-columns:126px minmax(0,1fr);padding:6px 12px 7px}.business-donut.is-dense .business-donut-visual{width:126px;height:120px}.business-donut.is-dense .business-donut-legend{justify-content:flex-start;gap:3px}.business-donut.is-dense .business-donut-row{min-height:20px;grid-template-columns:12px minmax(0,1fr) 52px 28px;gap:5px}.business-donut.is-dense .business-donut-row span{font-size:11px;line-height:13px}.business-donut.is-dense .business-donut-row strong{font-size:13px;line-height:15px}.business-donut.is-dense .business-donut-row em{font-size:9px}.business-donut.is-variant-ring{grid-template-columns:132px minmax(0,1fr);gap:11px;padding:8px 13px 8px 15px}.business-donut.is-variant-ring .business-donut-legend{gap:6px}.business-donut.is-variant-ring .business-donut-row{grid-template-columns:14px minmax(0,1fr) 48px 22px;min-height:22px}.business-donut.is-variant-ring .business-donut-row i{width:8px;height:8px;border-width:2px;background:rgba(5,28,42,.86)}.business-donut.is-variant-ring .business-donut-row strong{font-size:17px}.business-donut-visual{position:relative;width:136px;height:136px;min-width:0}.business-three-pie{width:100%;height:100%}.business-three-pie-center{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;height:auto;color:#fff;text-align:center;text-shadow:0 0 10px rgba(0,0,0,.96);pointer-events:none}.business-three-pie-center strong{color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:21px;line-height:22px;font-weight:800;letter-spacing:0;transform:translateY(-2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-three-pie-center span{max-width:86px;margin-top:0;color:#fffffff5;font-size:10px;line-height:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-ring-visual{position:relative;display:flex;align-items:center;justify-content:center;width:132px;height:132px;min-width:0}.business-ring-visual:before{content:"";position:absolute;left:12px;right:12px;bottom:17px;height:18px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(36,246,196,.28),rgba(36,246,196,0) 70%);filter:blur(1px)}.business-ring-core{position:relative;width:104px;height:104px;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(3,23,36,.98) 0 42%,transparent 43%),var(--ring-gradient, conic-gradient(#24f6c4, #32dcff));box-shadow:inset 0 0 0 8px #041c2abd,inset 0 0 24px #30dcff2e,0 0 22px #30dcff2e;transform:rotateX(56deg) rotate(-18deg)}.business-ring-core:before,.business-ring-core:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.business-ring-core:before{top:-8px;right:-8px;bottom:-8px;left:-8px;border:1px solid rgba(48,220,255,.18);border-left-color:var(--ring-active-color, #24f6c4);border-bottom-color:#24f6c494;box-shadow:0 0 16px #30dcff1f}.business-ring-core:after{top:22px;right:22px;bottom:22px;left:22px;background:radial-gradient(circle,rgba(36,246,196,.16),rgba(4,20,32,.88) 68%),linear-gradient(180deg,rgba(48,220,255,.16),rgba(48,220,255,.02));border:1px solid rgba(48,220,255,.2)}.business-ring-orbit{position:absolute;top:-16px;right:-16px;bottom:-16px;left:-16px;border-radius:50%;border:1px solid rgba(48,220,255,.16);border-right-color:#30dcff05;border-top-color:#24f6c47a;box-shadow:0 0 16px #24f6c424}.business-ring-inner{position:absolute;left:14px;right:14px;top:18px;z-index:2;display:flex;flex-direction:column;align-items:center;color:#fff;text-align:center;text-shadow:0 0 10px rgba(0,0,0,.98);transform:rotate(18deg) rotateX(-56deg);transform-origin:50% 50%}.business-ring-inner strong{color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:24px;line-height:26px;font-weight:800}.business-ring-inner span{max-width:76px;margin-top:1px;color:#fffffff0;font-size:12px;line-height:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-donut-legend{display:flex;flex-direction:column;justify-content:center;min-width:0;height:100%;gap:7px;overflow-y:auto;padding-right:2px}.business-donut-legend::-webkit-scrollbar{width:3px}.business-donut-legend::-webkit-scrollbar-thumb{background:rgba(48,220,255,.28)}.business-donut-row{display:grid;grid-template-columns:14px minmax(0,1fr) 58px 28px;align-items:center;gap:8px;min-height:24px;padding:0 2px;border:1px solid transparent;transition:background .35s ease,border-color .35s ease}.business-donut-row i{width:10px;height:10px;border:2px solid #24f6c4;border-radius:50%;box-sizing:border-box}.business-donut-row span{min-width:0;color:#ffffffe0;font-size:13px;line-height:15px;font-weight:700;white-space:normal}.business-donut-row strong{color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:18px;font-weight:800;line-height:20px;text-align:right}.business-donut-row em{color:#ffffff85;font-size:11px;font-style:normal;white-space:nowrap}.business-donut-row.is-active{border-color:#30dcff38;background:linear-gradient(90deg,rgba(48,220,255,.1),rgba(48,220,255,0))}.business-donut-row.is-active span,.business-donut-row.is-active strong{color:#fff}.business-donut-row.is-active i{box-shadow:0 0 10px currentColor;transform:scale(1.2)}.business-structure{display:grid;grid-template-rows:34px minmax(0,1fr);gap:6px;height:100%;padding:8px 13px;box-sizing:border-box;overflow:hidden}.business-structure-overview{display:flex;align-items:center;min-width:0}.business-structure-band{display:flex;align-self:center;width:100%;height:25px;padding:4px;background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(36,246,196,.05));border:1px solid rgba(48,220,255,.2);box-shadow:inset 0 0 18px #30dcff14}.business-structure-band i{position:relative;display:block;min-width:7px;height:100%;box-shadow:0 0 12px currentColor;overflow:hidden}.business-structure-band i:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);opacity:0;transform:translate(-130%)}.business-structure-band i.is-active{animation:businessDataPulse 1.8s ease-in-out infinite;z-index:1}.business-structure-band i.is-active:before{opacity:1;animation:businessDataSweep 1.8s ease-in-out infinite}.business-structure-focus{min-width:0;padding:6px 8px;background:linear-gradient(135deg,rgba(36,246,196,.16),rgba(48,220,255,.05));border:1px solid rgba(48,220,255,.18)}.business-structure-focus span{display:block;color:#ffffff85;font-size:10px;line-height:12px}.business-structure-focus strong{display:block;min-width:0;margin-top:1px;color:#fff;font-size:12px;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-structure-focus em{display:inline-block;margin-top:3px;color:#1afcff;font-family:D-DIN,Arial,sans-serif;font-size:17px;line-height:18px;font-style:normal;font-weight:800}.business-structure-focus small{display:block;margin-top:1px;color:#ffe06be6;font-size:11px;line-height:13px}.business-structure-list{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:3px;min-height:0;overflow-y:auto;padding-right:3px}.business-structure-list::-webkit-scrollbar{width:3px}.business-structure-list::-webkit-scrollbar-thumb{background:rgba(48,220,255,.28)}.business-structure-row{display:grid;grid-template-columns:9px minmax(0,1fr) 70px 42px;align-items:center;gap:5px;min-height:18px;padding:0 6px;background:rgba(48,220,255,.04);border:1px solid rgba(48,220,255,.08);transition:border-color .3s ease,background .3s ease}.business-structure-row i{width:7px;height:7px;box-shadow:0 0 8px currentColor}.business-structure-row span{min-width:0;color:#ffffffc2;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-structure-row strong{color:#dffcff;font-family:D-DIN,Arial,sans-serif;font-size:11px;line-height:13px;text-align:right;white-space:nowrap}.business-structure-row strong em{margin-left:2px;color:#ffffff80;font-family:PingFang SC,Arial,sans-serif;font-size:9px;font-style:normal;font-weight:500}.business-structure-row small{color:#ffe06bd1;font-family:D-DIN,Arial,sans-serif;font-size:10px;line-height:12px;text-align:right;white-space:nowrap}.business-structure-row.is-active{background:linear-gradient(90deg,rgba(36,246,196,.18),rgba(48,220,255,.04));border-color:#24f6c45c;animation:businessDataPulse 1.8s ease-in-out infinite}.business-structure-row.is-active span,.business-structure-row.is-active strong{color:#fff}.business-capacity{display:grid;grid-template-rows:22px 22px minmax(36px,1fr) 18px;gap:5px;height:100%;padding:8px 14px 7px;box-sizing:border-box;overflow:hidden}.business-capacity-head,.business-capacity-town{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0}.business-capacity-head{padding-bottom:3px;border-bottom:1px solid rgba(48,220,255,.12)}.business-capacity-head span,.business-capacity-town span{min-width:0;color:#dcf8ffc2;font-size:11px;line-height:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-capacity-head strong,.business-capacity-town strong{color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:15px;line-height:16px;font-weight:800;white-space:nowrap;text-shadow:0 0 10px rgba(48,220,255,.28)}.business-capacity-head strong em,.business-capacity-town strong em{margin-left:3px;color:#ffffff8f;font-family:PingFang SC,Arial,sans-serif;font-size:9px;font-style:normal;font-weight:500}.business-capacity-band{display:flex;align-self:center;height:15px;padding:3px;border:1px solid rgba(48,220,255,.2);background:linear-gradient(90deg,rgba(48,220,255,.11),rgba(48,220,255,.03));box-shadow:inset 0 0 14px #30dcff14}.business-capacity-band i{position:relative;display:block;min-width:8px;height:100%;box-shadow:0 0 12px currentColor;overflow:hidden}.business-capacity-band i:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);opacity:0;transform:translate(-130%)}.business-capacity-band i.is-active{animation:businessDataPulse 1.8s ease-in-out infinite;z-index:1}.business-capacity-band i.is-active:before{opacity:1;animation:businessDataSweep 1.8s ease-in-out infinite}.business-capacity-list{display:grid;align-content:center;gap:4px;min-height:0}.business-capacity-row{display:grid;grid-template-columns:9px minmax(0,1fr) 66px 40px;align-items:center;gap:5px;min-width:0}.business-capacity-row i{width:7px;height:7px;box-shadow:0 0 8px currentColor}.business-capacity-row span{min-width:0;color:#ffffffc2;font-size:10px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-capacity-row strong{color:#dffcff;font-family:D-DIN,Arial,sans-serif;font-size:11px;line-height:13px;text-align:right;white-space:nowrap}.business-capacity-row strong em{margin-left:2px;color:#ffffff80;font-family:PingFang SC,Arial,sans-serif;font-size:9px;font-style:normal;font-weight:500}.business-capacity-row small{color:#ffe06bd1;font-family:D-DIN,Arial,sans-serif;font-size:10px;line-height:12px;text-align:right;white-space:nowrap}.business-capacity-row.is-active span,.business-capacity-row.is-active strong,.business-capacity-row.is-active small{color:#fff}.business-capacity-row.is-active i{transform:scale(1.24);animation:businessDataPulse 1.8s ease-in-out infinite}.business-capacity-town{min-width:0;padding-top:3px;border-top:1px solid rgba(48,220,255,.1)}.business-capacity-town strong{color:#24f6c4;font-size:12px;line-height:13px;text-shadow:none}.business-bars{display:flex;flex-direction:column;gap:8px;height:100%;padding:12px 16px;box-sizing:border-box;overflow-y:auto}.business-bars::-webkit-scrollbar{width:3px}.business-bars::-webkit-scrollbar-thumb{background:rgba(48,220,255,.28)}.business-bars.is-dense{gap:4px;padding:6px 14px}.business-bars.is-dense .business-bar-row{min-height:20px}.business-bars.is-dense .business-bar-name{font-size:11px;line-height:12px}.business-bars.is-dense .business-bar-track{height:5px;margin-top:2px}.business-bars.is-long{gap:2px;padding:3px 14px 4px}.business-bars.is-long .business-bar-row{min-height:16px}.business-bars.is-long .business-bar-name{font-size:10px;line-height:11px}.business-bars.is-long .business-bar-track{height:4px;margin-top:1px;padding:1px}.business-bars.is-long .business-bar-row strong{font-size:12px;line-height:12px}.business-bars.is-long .business-bar-row strong em,.business-bars.is-long .business-bar-row strong small{font-size:9px}.business-bars.is-single{gap:5px;padding:6px 14px}.business-bars.is-single .business-bar-row{min-height:22px}.business-bars.is-single .business-bar-name{font-size:11px;line-height:13px}.business-bars.is-single .business-bar-track{height:5px;margin-top:2px;padding:1px}.business-bars.is-single .business-bar-row strong{font-size:13px;line-height:14px}.business-bars.is-single .business-bar-row strong em,.business-bars.is-single .business-bar-row strong small{font-size:9px}.business-bars.is-distribution{gap:6px;padding:8px 15px 9px}.business-bars.is-distribution .business-bar-row{min-height:27px;padding:0 0 2px;border-bottom:1px solid rgba(48,220,255,.07)}.business-bars.is-distribution .business-bar-name{position:relative;padding-left:11px;color:#e7faffd6;font-size:12px;line-height:14px}.business-bars.is-distribution .business-bar-name:before{content:"";position:absolute;left:0;top:4px;width:5px;height:5px;border-radius:50%;background:#24f6c4;box-shadow:0 0 9px #24f6c4a6}.business-bars.is-distribution .business-bar-track{height:7px;margin-top:4px;padding:1px;border-color:#30dcff2e;background:linear-gradient(90deg,rgba(48,220,255,.12),rgba(48,220,255,.03))}.business-bars.is-distribution .business-bar-row strong{color:#fff;font-size:14px;line-height:15px;text-shadow:0 0 10px rgba(48,220,255,.36)}.business-bars.is-distribution.is-long{gap:3px;padding:5px 14px 6px}.business-bars.is-distribution.is-long .business-bar-row{min-height:22px}.business-bars.is-distribution.is-long .business-bar-name{font-size:11px;line-height:12px}.business-bars.is-capacity{gap:12px;padding:12px 16px 10px;overflow:hidden}.business-bars.is-capacity .business-bar-row{grid-template-columns:minmax(0,1fr) auto;min-height:24px;padding:0;border-bottom:0}.business-bars.is-capacity .business-bar-name{padding-left:0;color:#e8faffd1;font-size:11px;line-height:13px}.business-bars.is-capacity .business-bar-name:before{display:none}.business-bars.is-capacity .business-bar-track{height:5px;margin-top:5px;padding:1px;border-color:#acbfbc38;background:rgba(115,208,255,.05)}.business-bars.is-capacity .business-bar-track i{min-width:10px;box-shadow:0 0 12px #24f6c452}.business-bars.is-capacity .business-bar-row strong{color:#24f6c4;font-size:12px;line-height:13px;text-shadow:none}.business-bar-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name value" "track track";align-items:end;gap:2px 10px;flex:0 0 auto;min-height:31px;max-height:none}.business-bar-name{grid-area:name;min-width:0;color:#ffffffc7;font-size:12px;line-height:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-bar-track{grid-area:track;height:7px;margin-top:4px;padding:2px;background:rgba(48,220,255,.08);border:1px solid rgba(48,220,255,.16)}.business-bar-track i{position:relative;display:block;height:100%;min-width:8px;box-shadow:0 0 12px #30dcff5c;overflow:hidden}.business-bar-track i:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);opacity:0;transform:translate(-130%)}.business-bar-row.is-active .business-bar-track i{animation:businessDataPulse 1.8s ease-in-out infinite}.business-bar-row.is-active .business-bar-track i:after{opacity:1;animation:businessDataSweep 1.8s ease-in-out infinite}.business-bar-row.is-active .business-bar-name,.business-bar-row.is-active strong{color:#fff}.business-bar-row strong,.business-split-row strong{grid-area:value;color:#1afcff;font-family:D-DIN,Arial,sans-serif;font-size:14px;text-align:right;line-height:15px;white-space:nowrap}.business-bar-row strong em,.business-bar-row strong small,.business-split-row strong em,.business-split-row strong small{margin-left:2px;color:#ffffff8a;font-family:PingFang SC,Arial,sans-serif;font-size:10px;font-style:normal;font-weight:500}.business-bar-row strong small,.business-split-row strong small{display:inline;margin-left:4px;line-height:15px;white-space:nowrap}.business-bar-row strong{overflow:hidden;text-overflow:ellipsis}.business-columns{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(28px,1fr));align-items:stretch;gap:6px;height:100%;padding:8px 12px 6px;box-sizing:border-box;overflow:hidden}.business-columns:before{content:"";position:absolute;left:12px;right:12px;top:28px;bottom:39px;pointer-events:none;background:repeating-linear-gradient(to bottom,rgba(159,220,230,.22) 0 1px,transparent 1px 17px);opacity:0}.business-columns::-webkit-scrollbar{height:3px}.business-columns::-webkit-scrollbar-thumb{background:rgba(48,220,255,.28)}.business-columns.is-dense{grid-template-columns:repeat(auto-fit,minmax(24px,1fr));grid-auto-rows:minmax(0,1fr);gap:4px;padding:8px 9px 6px}.business-columns.is-dense .business-column-item{grid-template-rows:16px minmax(20px,1fr) 22px;min-width:0}.business-columns.is-dense .business-column-item strong{font-size:12px;line-height:15px}.business-columns.is-dense .business-column-item span{max-width:100%;font-size:10px;line-height:12px}.business-columns.is-dense .business-column-track{width:14px;height:100%;min-height:20px}.business-columns.is-variant-pin{grid-template-columns:repeat(auto-fit,minmax(24px,1fr));gap:5px;padding:8px 9px 7px}.business-columns.is-variant-pin:before{opacity:.56}.business-columns.is-variant-pin .business-column-item{position:relative;z-index:1;grid-template-rows:18px minmax(44px,1fr) 26px}.business-columns.is-variant-pin .business-column-item strong{position:relative;z-index:2;min-width:42px;padding-bottom:2px;color:#e8fcff;font-size:11px;line-height:14px;text-shadow:0 0 9px rgba(255,255,255,.36)}.business-columns.is-variant-pin .business-column-item strong:after{content:"";position:absolute;left:50%;bottom:-4px;width:18px;height:1px;border-top:1px dashed rgba(220,250,255,.62);transform:translate(-2px) rotate(12deg);transform-origin:left center}.business-columns.is-variant-pin .business-column-item span{max-width:48px;color:#ebfcffc7;font-size:9px;line-height:10px;-webkit-line-clamp:2}.business-columns.is-variant-pin .business-column-track{width:7px;height:74px;min-height:46px;border:0;background:linear-gradient(180deg,rgba(48,220,255,.07),rgba(48,220,255,.02))}.business-columns.is-variant-pin .business-column-track:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:rgba(48,220,255,.22);transform:translate(-50%)}.business-columns.is-variant-pin .business-column-track:after{content:"";position:absolute;left:50%;bottom:-5px;width:21px;height:6px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(48,220,255,.34),rgba(48,220,255,0) 72%);transform:translate(-50%)}.business-columns.is-variant-pin .business-column-track i{left:1px;right:1px;border-radius:6px 6px 2px 2px;box-shadow:0 0 16px #32dcffa3}.business-columns.is-variant-pin .business-column-track i:before{left:50%;right:auto;top:-6px;width:9px;height:9px;border:2px solid #c9fcff;border-radius:2px;background:rgba(3,27,41,.9);box-shadow:0 0 12px #30dcffb8;transform:translate(-50%) rotate(45deg);filter:none}.business-columns.is-variant-pin .business-column-track i:after{display:none}.business-columns.is-variant-slim{grid-template-columns:repeat(auto-fit,minmax(26px,1fr));gap:6px;padding:8px 10px 6px}.business-columns.is-variant-slim .business-column-track{width:16px}.business-columns.is-variant-slim .business-column-track i{border-radius:1px 1px 0 0}.business-column-item{display:grid;grid-template-rows:18px minmax(52px,1fr) 38px;justify-items:center;min-width:0}.business-column-item strong{color:#d9fbff;font-family:D-DIN,Arial,sans-serif;font-size:13px}.business-column-item span{align-self:center;max-width:76px;color:#ffffffa8;font-size:10px;line-height:12px;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;word-break:keep-all}.business-column-item.is-active strong,.business-column-item.is-active span{color:#fff}.business-column-item.is-active .business-column-track i{animation:businessDataPulse 1.8s ease-in-out infinite}.business-columns.is-variant-slim .business-column-track i,.business-columns.is-variant-slim .business-column-item.is-active .business-column-track i{transform:scaleY(1);transform-origin:center bottom;animation:businessColumnReload 3.1s cubic-bezier(.32,.72,.24,1) infinite;animation-delay:var(--column-load-delay, 0s);animation-fill-mode:both;will-change:transform,opacity,filter}.business-columns.is-variant-slim .business-column-track i:before,.business-columns.is-variant-slim .business-column-item.is-active .business-column-track i:before{animation:businessColumnReloadCap 3.1s ease-out infinite;animation-delay:var(--column-load-delay, 0s);animation-fill-mode:both}.business-column-track{position:relative;width:22px;height:72px;align-self:end;background:linear-gradient(180deg,rgba(48,220,255,.08),rgba(48,220,255,.02));border:1px solid rgba(48,220,255,.14)}.business-column-track i{position:absolute;left:0;right:0;bottom:0;min-height:8px;box-shadow:0 0 14px #30dcff75}.business-column-track i:before,.business-column-track i:after{content:"";position:absolute;left:0;right:0;height:7px;background:inherit;transform:skew(-36deg)}.business-column-track i:before{top:-4px;filter:brightness(1.35)}.business-column-track i:after{bottom:-4px;filter:brightness(.72)}.business-table{display:grid;grid-template-rows:18px minmax(0,1fr);gap:4px;height:100%;padding:7px 12px 8px;box-sizing:border-box;overflow:hidden}.business-table-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-items:center;padding:0 5px;border:1px solid rgba(48,220,255,.12);background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(48,220,255,.03))}.business-table-head-group{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:4px}.business-table-head-group span{color:#beebf5b3;font-size:10px;line-height:16px;white-space:nowrap}.business-table-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:3px 7px;min-height:0}.business-table-row{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:4px;min-width:0;min-height:0;padding:1px 5px;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.035);box-sizing:border-box}.business-table-row:nth-child(2n){background:rgba(36,246,196,.035)}.business-table-row.is-active{border-color:#24f6c457;background:linear-gradient(90deg,rgba(36,246,196,.15),rgba(48,220,255,.04));animation:businessDataPulse 1.8s ease-in-out infinite}.business-table-row.is-active .business-table-name,.business-table-row.is-active strong{color:#fff}.business-table-name{min-width:0;color:#ebfcffc7;font-size:10px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-table-row strong{display:block;color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:11px;line-height:12px;text-align:right;white-space:nowrap}.business-table-row strong em{display:none}.business-table-value{min-width:0}.business-table-value i{position:relative;display:block;height:3px;min-width:0;margin-top:2px;background:rgba(48,220,255,.08);border:1px solid rgba(48,220,255,.16);overflow:hidden}.business-table-value i b{position:relative;display:block;height:100%;min-width:5px;box-shadow:0 0 10px #30dcff61;overflow:hidden}.business-table-value i b:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.58),transparent);opacity:0;transform:translate(-130%)}.business-table-row.is-active .business-table-value i b:after{opacity:1;animation:businessDataSweep 1.8s ease-in-out infinite}.business-project-table{display:grid;grid-template-rows:28px minmax(0,1fr);gap:7px;height:100%;padding:7px 10px 8px;box-sizing:border-box;overflow:hidden}.business-project-search{min-width:0}.business-project-search input{width:100%;height:28px;padding:0 10px;border:1px solid rgba(48,220,255,.22);outline:none;color:#fff;font-size:12px;background:linear-gradient(90deg,rgba(48,220,255,.12),rgba(48,220,255,.035));box-sizing:border-box}.business-project-search input::placeholder{color:#e8fcff8f}.business-project-search input:focus{border-color:#24f6c48a;box-shadow:0 0 14px #24f6c424}.business-project-search input::-webkit-search-decoration,.business-project-search input::-webkit-search-cancel-button{display:none}.business-project-frame{position:relative;min-height:0;border:1px solid rgba(48,220,255,.16);background:rgba(5,26,39,.26);overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(48,220,255,.45) rgba(48,220,255,.08)}.business-project-frame::-webkit-scrollbar{width:5px}.business-project-frame::-webkit-scrollbar-track{background:rgba(48,220,255,.08)}.business-project-frame::-webkit-scrollbar-thumb{background:rgba(48,220,255,.44)}.business-project-frame table{width:100%;table-layout:fixed;border-collapse:collapse}.business-project-frame thead{position:sticky;top:0;z-index:2;background:#0d3144;box-shadow:0 1px #30dcff33}.business-project-frame th,.business-project-frame td{height:28px;padding:0 6px;color:#f6feffeb;font-size:11px;line-height:14px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid rgba(48,220,255,.09)}.business-project-frame th{height:25px;color:#beebf5c7;font-weight:500;background:linear-gradient(90deg,rgba(48,220,255,.16),rgba(48,220,255,.04))}.business-project-frame tbody tr{cursor:pointer;background:rgba(48,220,255,.025);transition:background .18s ease,box-shadow .18s ease}.business-project-frame tbody tr:nth-child(2n){background:rgba(36,246,196,.026)}.business-project-frame tbody tr:hover,.business-project-frame tbody tr:focus-visible,.business-project-frame tbody tr.is-active{outline:none;background:linear-gradient(90deg,rgba(36,246,196,.18),rgba(48,220,255,.055));box-shadow:inset 2px 0 #24f6c4d1}.business-project-frame td:nth-child(2),.business-project-frame td:nth-child(4),.business-project-frame th:nth-child(2),.business-project-frame th:nth-child(4){text-align:right}.business-project-frame strong{color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:12px;line-height:14px;white-space:nowrap}.business-project-frame em{margin-left:2px;color:#eefdffb8;font-size:10px;font-style:normal}.business-project-col-name{width:45%}.business-project-col-year{width:13%}.business-project-col-category{width:20%}.business-project-col-scale{width:22%}.business-project-empty{position:absolute;top:25px;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#ffffff94;font-size:12px;pointer-events:none}.business-stack-columns{display:grid;grid-template-rows:24px minmax(0,1fr);gap:5px;height:100%;padding:8px 12px 6px;box-sizing:border-box;overflow:hidden}.business-stack-columns.is-dense .business-stack-chart{gap:4px}.business-stack-columns.is-dense .business-stack-track{width:18px}.business-stack-legend{display:flex;justify-content:center;gap:9px;min-width:0;overflow:hidden}.business-stack-legend span{display:inline-flex;align-items:center;gap:4px;min-width:0;color:#ffffffd1;font-size:10px;line-height:14px;white-space:nowrap}.business-stack-legend i{width:7px;height:7px;border-radius:50%;box-shadow:0 0 8px currentColor}.business-stack-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(24px,1fr));align-items:stretch;gap:6px;min-height:0}.business-stack-item{display:grid;grid-template-rows:minmax(42px,1fr) 36px;justify-items:center;min-width:0}.business-stack-item span{align-self:center;max-width:100%;color:#ffffffb8;font-size:10px;line-height:12px;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.business-stack-track{display:flex;flex-direction:column-reverse;align-self:end;width:20px;height:100%;min-height:48px;max-height:96px;background:linear-gradient(180deg,rgba(48,220,255,.09),rgba(48,220,255,.02));border:1px solid rgba(48,220,255,.12);overflow:hidden}.business-stack-track i{display:block;min-height:2px;box-shadow:0 0 10px #30dcff57}.business-peaks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:8px;height:100%;padding:8px 15px 7px;box-sizing:border-box;overflow:hidden}.business-peak-item{display:grid;grid-template-rows:18px minmax(0,1fr) 22px;justify-items:center;min-width:0}.business-peak-item strong{color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:12px;line-height:16px;text-shadow:0 0 12px rgba(48,220,255,.45);white-space:nowrap}.business-peak-item span{align-self:center;max-width:100%;color:#ffffffad;font-size:10px;line-height:12px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-peak-stage{position:relative;width:100%;min-height:62px;align-self:stretch}.business-peak-stage:before{content:"";position:absolute;left:8px;right:8px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(48,220,255,.6),transparent)}.business-peak-stage i{position:absolute;left:50%;bottom:0;width:34px;height:var(--peak-height);min-height:20px;max-height:100%;transform:translate(-50%);background:radial-gradient(ellipse at 50% 100%,var(--peak-color) 0,rgba(36,246,196,.26) 22%,rgba(36,246,196,0) 62%),linear-gradient(180deg,var(--peak-color),rgba(36,246,196,.04));clip-path:polygon(50% 0,68% 32%,78% 100%,22% 100%,32% 32%);filter:drop-shadow(0 0 9px rgba(48,220,255,.42))}.business-peak-stage i:after{content:"";position:absolute;left:50%;top:0;width:5px;height:5px;border-radius:50%;background:#ffffff;box-shadow:0 0 9px var(--peak-color);transform:translate(-50%)}.business-line{display:grid;grid-template-rows:minmax(0,1fr) 28px;gap:4px;height:100%;padding:9px 12px 7px;box-sizing:border-box}.business-line-chart{position:relative;min-height:0;background:linear-gradient(180deg,rgba(48,220,255,.08),rgba(48,220,255,.02));border:1px solid rgba(48,220,255,.1);overflow:hidden}.business-line-chart svg{width:100%;height:100%}.business-line-grid{stroke:#ffffff1a;stroke-width:1}.business-line-area{fill:#24f6c421;stroke:none}.business-line-stroke{fill:none;stroke:#24f6c4;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:10 8;animation:businessLineFlow 2.2s linear infinite}.business-line-dot{fill:#fff;stroke:#24f6c4;stroke-width:2;animation:businessDotPulse 2.2s ease-in-out infinite;transition:r .28s ease,fill .28s ease,stroke .28s ease,stroke-width .28s ease,filter .28s ease;transform-box:fill-box;transform-origin:center}.business-line-dot.is-active{r:5.6;fill:#fff6aa;stroke:#fff;stroke-width:2.8;filter:drop-shadow(0 0 4px rgba(255,246,170,.95)) drop-shadow(0 0 10px rgba(36,246,196,.78));animation:businessActiveDotPulse 1.35s ease-in-out infinite}.business-line-hit{fill:transparent;stroke:transparent;cursor:pointer;pointer-events:all}.business-line-hover-zones{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;z-index:1}.business-line-hover-zones i{display:block;min-width:0;cursor:pointer}.business-line-tooltip{position:absolute;z-index:3;min-width:86px;padding:5px 8px;border:1px solid rgba(48,220,255,.34);background:rgba(3,18,30,.9);box-shadow:0 0 14px #30dcff38;transform:translate(-50%,calc(-100% - 8px));pointer-events:none;transition:left .28s ease,top .28s ease,transform .28s ease}.business-line-tooltip span{display:block;color:#dcf8ffc7;font-size:10px;line-height:12px;white-space:nowrap}.business-line-tooltip strong{display:block;margin-top:2px;color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:16px;line-height:18px}.business-line-tooltip strong em{margin-left:3px;color:#ffffff9e;font-family:PingFang SC,Arial,sans-serif;font-size:9px;font-style:normal;font-weight:500}.business-line-labels{display:grid;gap:2px;min-width:0}.business-line-labels span{min-width:0;color:#ffffff9e;font-size:9px;line-height:10px;text-align:center;overflow:hidden;text-overflow:clip;white-space:normal;writing-mode:vertical-rl;justify-self:center;max-height:28px}.business-heat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:7px;height:100%;padding:8px 14px 9px;box-sizing:border-box;overflow:hidden}.business-heat-cell{position:relative;display:grid;grid-template-rows:12px minmax(0,1fr) 18px;align-items:center;justify-items:center;min-width:0;min-height:0;padding:7px 5px 5px;border:1px solid rgba(48,220,255,.12);background:radial-gradient(circle at 50% 45%,var(--heat-bg),rgba(48,220,255,.02) 68%),linear-gradient(180deg,rgba(48,220,255,.06),rgba(48,220,255,.02));box-shadow:inset 0 0 16px #30dcff14;overflow:hidden}.business-heat-cell i{width:8px;height:8px;border:2px solid var(--heat-color);border-radius:50%;box-shadow:0 0 10px var(--heat-color)}.business-heat-cell span{max-width:100%;color:#e2f9ffc7;font-size:11px;line-height:13px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-heat-cell strong{max-width:100%;color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:15px;line-height:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-heat-cell strong em{margin-left:2px;color:#ffffff8a;font-family:PingFang SC,Arial,sans-serif;font-size:8px;font-style:normal;font-weight:500}.business-split{display:grid;grid-template-rows:42px minmax(0,1fr);gap:10px;height:100%;padding:13px 16px;box-sizing:border-box;overflow:hidden}.business-split.is-dense{grid-template-rows:22px minmax(0,1fr);gap:6px;padding:8px 12px}.business-split.is-dense .business-split-band{height:auto}.business-split.is-dense .business-split-list{height:auto;gap:3px}.business-split.is-dense .business-split-row{min-height:20px;padding:0 6px}.business-split.is-dense .business-split-row span{font-size:11px}.business-split.is-dense .business-split-row strong{font-size:12px}.business-split-band{display:flex;height:auto;padding:3px;background:rgba(48,220,255,.08);border:1px solid rgba(48,220,255,.16)}.business-split-band i{display:block;min-width:8px;height:100%}.business-split-list{display:grid;grid-auto-rows:minmax(26px,1fr);gap:6px;min-height:0;height:auto;overflow-y:auto;padding-right:3px}.business-split-list::-webkit-scrollbar{width:3px}.business-split-list::-webkit-scrollbar-thumb{background:rgba(48,220,255,.28)}.business-split-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:26px;padding:0 9px;background:rgba(48,220,255,.04);border:1px solid rgba(48,220,255,.08)}.business-split-row span{display:flex;align-items:center;min-width:0;color:#ffffffb8;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-split-row span i{flex:0 0 auto;width:8px;height:8px;margin-right:7px}.business-panel{color:#f4feff}.business-panel-empty{color:#e0faffd1}.business-metric-item,.business-icon-metric-item,.business-spotlight-main,.business-spotlight-chip,.business-structure-focus,.business-structure-row,.business-line-chart,.business-heat-cell,.business-split-row{border-color:#3ce1ff33;background-color:#061e2d61;box-shadow:inset 0 0 0 1px #30dcff0a}.business-metric-item span,.business-icon-metric-copy span,.business-spotlight-main span,.business-spotlight-chip span,.business-donut-row span,.business-structure-focus span,.business-structure-row span,.business-bar-name,.business-column-item span,.business-peak-item span,.business-line-labels span,.business-heat-cell span,.business-split-row span{color:#ecfcffeb}.business-icon-metric-copy strong,.business-spotlight-main strong,.business-donut-row strong,.business-structure-focus strong,.business-structure-row strong,.business-column-item strong,.business-peak-item strong,.business-heat-cell strong{color:#fff;text-shadow:0 0 4px rgba(48,220,255,.28)}.business-metric-item strong,.business-spotlight-chip strong,.business-bar-row strong,.business-split-row strong,.business-structure-focus em{color:#38f8ff;text-shadow:0 0 4px rgba(48,220,255,.32)}.business-metric-item em,.business-icon-metric-copy strong em,.business-spotlight-main strong em,.business-spotlight-chip strong em,.business-donut-row em,.business-structure-row strong em,.business-bar-row strong em,.business-bar-row strong small,.business-heat-cell strong em{color:#eefdffb8}.business-spotlight-main small,.business-spotlight-chip small,.business-structure-focus small,.business-structure-row small{color:#ffe575f5}.business-bar-track,.business-column-track,.business-split-band{border-color:#48e4ff42;background:rgba(60,225,255,.12);box-shadow:inset 0 0 0 1px #30dcff0d}.business-bar-track i,.business-column-track i,.business-split-band i{box-shadow:0 0 6px #30dcff57}.business-bars.is-capacity .business-bar-name{color:#ecfcffeb}.business-bars.is-capacity .business-bar-row strong{color:#24f6c4;text-shadow:0 0 4px rgba(36,246,196,.3)}.business-line-grid{stroke:#d5f7ff33}.business-line-area{fill:#24f6c42e}.business-line-stroke{filter:drop-shadow(0 0 2px rgba(36,246,196,.42))}.business-line-dot{filter:drop-shadow(0 0 2px rgba(48,220,255,.46))}.business-line-dot.is-active{filter:drop-shadow(0 0 4px rgba(255,246,170,.95)) drop-shadow(0 0 10px rgba(36,246,196,.78))}.business-panel,.business-panel span,.business-panel strong,.business-panel em,.business-panel small{color:#fff;text-shadow:none}.business-panel .business-bar-name,.business-panel .business-donut-row span,.business-panel .business-structure-row span,.business-panel .business-column-item span,.business-panel .business-peak-item span,.business-panel .business-line-labels span,.business-panel .business-heat-cell span,.business-panel .business-split-row span,.business-panel .business-icon-metric-copy span,.business-panel .business-spotlight-chip span,.business-panel .business-bar-row strong,.business-panel .business-split-row strong,.business-panel .business-metric-item strong,.business-panel .business-spotlight-chip strong,.business-panel .business-structure-focus em{color:#fff}.business-panel .business-bar-name,.business-panel .business-bar-row strong,.business-panel .business-bar-row strong em,.business-panel .business-bar-row strong small,.business-panel .business-donut-row span,.business-panel .business-donut-row strong,.business-panel .business-donut-row em,.business-panel .business-icon-metric-copy span,.business-panel .business-icon-metric-copy strong,.business-panel .business-icon-metric-copy strong em,.business-panel .business-line-labels span,.business-panel .business-metric-item span,.business-panel .business-metric-item strong,.business-panel .business-metric-item em,.business-panel .business-spotlight-main span,.business-panel .business-spotlight-main strong,.business-panel .business-spotlight-main strong em,.business-panel .business-spotlight-main small,.business-panel .business-spotlight-chip span,.business-panel .business-spotlight-chip strong,.business-panel .business-spotlight-chip strong em,.business-panel .business-spotlight-chip small,.business-panel .business-structure-focus span,.business-panel .business-structure-focus strong,.business-panel .business-structure-focus em,.business-panel .business-structure-focus small,.business-panel .business-structure-row span,.business-panel .business-structure-row strong,.business-panel .business-structure-row strong em,.business-panel .business-structure-row small,.business-panel .business-column-item span,.business-panel .business-column-item strong,.business-panel .business-peak-item span,.business-panel .business-peak-item strong,.business-panel .business-heat-cell span,.business-panel .business-heat-cell strong,.business-panel .business-heat-cell strong em,.business-panel .business-split-row span,.business-panel .business-split-row strong{color:#fff!important;text-shadow:none!important}.home-dashboard{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:#03121c}.home-map-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.home-map-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 42%,rgba(1,9,15,.22) 74%,rgba(1,8,13,.58) 100%),linear-gradient(90deg,rgba(0,12,20,.36),transparent 24%,transparent 76%,rgba(0,12,20,.36))}.home-side-stack{position:absolute;top:176px;z-index:5;display:flex;flex-direction:column;gap:12px;width:398px;pointer-events:all}.home-left{left:32px;transform:perspective(900px) rotateY(4deg)}.home-right{right:32px;transform:perspective(900px) rotateY(-4deg)}.home-card{flex:0 0 auto}.home-card .m-card-bd-content{top:40px;bottom:8px;color:#f3feff}.home-card .m-card-bd-bg{filter:brightness(1.08) saturate(1.04)}.home-card .m-card-bd-bg:after{content:"";position:absolute;top:4px;right:5px;bottom:6px;left:5px;z-index:0;pointer-events:none;border:1px solid rgba(48,220,255,.14);background:linear-gradient(180deg,rgba(17,73,92,.16),rgba(6,29,44,.14)),linear-gradient(90deg,rgba(48,220,255,.1),transparent 42%,rgba(48,220,255,.06));box-shadow:inset 0 0 0 1px #30dcff0f,inset 0 12px 28px #30dcff0a}.home-dashboard .m-card-hd-title{color:#fff!important;background:none!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important}.topic-switcher{display:flex;align-items:flex-start;justify-content:center;width:600px;height:52px;padding-top:10px;background:url(./bottom-menu-bg-b465793d-balabala-1782613078975.png) no-repeat center bottom;background-size:100% 52px;pointer-events:all}.topic-switcher-arrow{display:flex;align-items:center;height:30px;margin:0 12px}.topic-switcher-arrow.is-reverse{transform:scaleX(-1)}.topic-switcher-arrow img{animation:arrowAnimate 2s ease-in-out infinite}.topic-switcher-arrow img:last-child{animation:arrowAnimate2 2s ease-in-out infinite}.topic-switcher-menu{display:flex;gap:4px}.topic-switcher-item{position:relative;width:112px;height:32px;padding:0;border:0;background:url(./bottom-menu-btn-ee5c8064-balabala-1782613078975.png) no-repeat;background-size:100% 100%;color:#fff;cursor:pointer;overflow:hidden}.topic-switcher-item:hover,.topic-switcher-item.is-active{background:url(./bottom-menu-btn-hover-df33e514-balabala-1782613078975.png) no-repeat;background-size:100% 100%}.topic-switcher .topic-name{position:relative;display:flex;align-items:center;justify-content:center;height:100%}.topic-switcher .topic-name{padding-top:0;font-size:16px;font-weight:700;line-height:18px;background:-webkit-linear-gradient(rgb(117,232,255),rgb(255,255,255));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.layer-panel{display:grid;grid-template-rows:minmax(150px,210px) minmax(0,1fr);gap:12px;height:100%;box-sizing:border-box;padding:12px 12px 14px;overflow:hidden}.layer-panel-list{display:flex;flex-direction:column;gap:7px;min-height:0;padding-right:4px;overflow-y:auto}.layer-panel-item{display:flex;align-items:center;justify-content:space-between;height:27px;flex:0 0 27px;padding:0 9px;border:1px solid rgba(48,220,255,.22);background:rgba(3,20,32,.58);color:#ffffffbd;font-size:12px;cursor:pointer}.layer-panel-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-panel-item i{width:8px;height:8px;border:1px solid rgba(255,255,255,.42);border-radius:50%}.layer-panel-item.is-active{color:#fff;border-color:#30dcffb3;background:linear-gradient(90deg,rgba(21,121,130,.52),rgba(3,20,32,.78))}.layer-panel-item.is-checked i{border-color:#30dcff;background:#30dcff;box-shadow:0 0 12px #30dcffe0}.layer-panel-item.is-checked:not(.is-active){color:#ffffffe0;border-color:#30dcff6b;background:rgba(3,20,32,.72)}.layer-panel-legend{min-height:0;padding-top:9px;border-top:1px solid rgba(48,220,255,.18);overflow:visible}.layer-panel-section-title{position:relative;margin-bottom:7px;padding-left:10px;color:#dbf9ffe6;font-size:13px;font-weight:600;line-height:16px}.layer-panel-section-title:before{content:"";position:absolute;left:0;top:4px;width:4px;height:8px;background:#30dcff;box-shadow:0 0 10px #30dcffb3}.layer-panel-legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,96px));justify-content:center;align-content:start;gap:7px 8px;max-height:calc(100% - 24px);padding-right:4px;overflow-y:auto}.layer-panel-legend-grid.is-single{grid-template-columns:minmax(0,128px)}.layer-panel-legend-row{display:grid;grid-template-columns:15px minmax(0,1fr);align-items:start;column-gap:6px;min-width:0;min-height:22px;padding:3px 2px;border:1px solid transparent;background:transparent;color:inherit;text-align:left;cursor:pointer}.layer-panel-legend-row:disabled{opacity:1}.layer-panel-legend-row.is-checkable{grid-template-columns:15px minmax(0,1fr) 12px}.layer-panel-legend-row.is-selected{border-color:#30dcff6b;background:rgba(48,220,255,.08)}.layer-panel-legend-row.is-selected .legend-check{border-color:#30dcff;background:#30dcff;box-shadow:0 0 10px #30dcffc2}.layer-panel-legend-row.is-selected .legend-check:after{opacity:1}.layer-panel-legend-row.is-disabled{cursor:default}.layer-panel .legend-swatch{width:15px;height:10px;margin-top:3px;border:1px solid;box-shadow:0 0 12px #30dcff2e}.layer-panel .legend-name{display:-webkit-box;min-width:0;color:#ffffffd1;font-size:12px;line-height:14px;overflow:hidden;word-break:break-all;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical}.layer-panel .legend-check{position:relative;width:11px;height:11px;margin-top:2px;border:1px solid rgba(255,255,255,.4);border-radius:2px}.layer-panel .legend-check:after{content:"";position:absolute;left:3px;top:1px;width:3px;height:6px;border:solid rgba(3,20,32,.95);border-width:0 1px 1px 0;opacity:0;transform:rotate(45deg)}.layer-panel-empty{color:#ffffff85;line-height:48px;text-align:center}.layer-panel-empty.is-legend{line-height:28px}.layer-panel-list,.layer-panel-legend-grid{scrollbar-width:thin;scrollbar-color:rgba(48,220,255,.42) rgba(48,220,255,.08)}.layer-panel-list::-webkit-scrollbar,.layer-panel-legend-grid::-webkit-scrollbar{width:4px}.layer-panel-list::-webkit-scrollbar-thumb,.layer-panel-legend-grid::-webkit-scrollbar-thumb{background:rgba(48,220,255,.42)}.layer-panel-list::-webkit-scrollbar-track,.layer-panel-legend-grid::-webkit-scrollbar-track{background:rgba(48,220,255,.08)}.feature-info{display:block;height:100%;padding:10px 12px 12px;box-sizing:border-box;overflow:hidden}.feature-info-state{height:100%;display:flex;align-items:center;justify-content:center;color:#ffffff85;font-size:14px;text-align:center}.feature-info-state.is-inline{height:190px}.feature-table{display:flex;flex-direction:column;height:100%;max-height:100%;padding-right:5px;overflow-y:auto}.feature-table::-webkit-scrollbar{width:4px}.feature-table::-webkit-scrollbar-thumb{background:rgba(48,220,255,.32)}.feature-row{display:grid;grid-template-columns:108px minmax(0,1fr);min-height:34px;align-items:stretch;border:1px solid rgba(48,220,255,.13);border-top:0;background:rgba(5,24,37,.56)}.feature-row:first-child{border-top:1px solid rgba(48,220,255,.13)}.feature-row span{display:flex;align-items:center;padding:7px 10px;border-right:1px solid rgba(48,220,255,.13);background:rgba(48,220,255,.08);color:#ffffff8f;font-size:12px;line-height:18px}.feature-row strong{display:flex;align-items:center;min-width:0;padding:7px 11px;color:#effcfff0;font-size:13px;font-weight:600;line-height:18px;word-break:break-word}.feature-row:first-child strong,.feature-row:nth-child(2) strong{color:#1afcff;font-family:D-DIN,Arial,sans-serif;font-size:15px}.forest-grass-wet{position:absolute;top:0;right:0;bottom:0;left:0;height:1080px;overflow:clip;overscroll-behavior:none}.forest-grass-wet>.map{width:100%;height:100%}.forest-grass-wet>.map>canvas{display:block;width:100%!important;height:100%!important}.forest-grass-wet>.map>div{width:100%!important;height:100%!important}.forest-grass-wet-ui{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none}.forest-grass-wet .fgw-left,.forest-grass-wet .fgw-right{position:absolute;top:156px;bottom:112px;z-index:6;width:398px;perspective:700px;perspective-origin:50% 50%;pointer-events:all}.forest-grass-wet .fgw-left{left:32px}.forest-grass-wet .fgw-right{right:32px}.forest-grass-wet .fgw-side-stack{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:12px;transform-style:preserve-3d}.forest-grass-wet .fgw-side-stack.is-left{transform:translateZ(0) rotateY(6deg);transform-origin:left center}.forest-grass-wet .fgw-side-stack.is-right{transform:translateZ(0) rotateY(-6deg);transform-origin:right center}.forest-grass-wet .fgw-side-card{flex:0 0 auto}.forest-grass-wet .fgw-side-card .m-card-bd-content{top:40px;bottom:8px;color:#f3feff}.forest-grass-wet .fgw-side-card .m-card-bd-bg{filter:brightness(1.08) saturate(1.04)}.forest-grass-wet .fgw-side-card .m-card-bd-bg:after{content:"";position:absolute;top:4px;right:5px;bottom:6px;left:5px;z-index:0;pointer-events:none;border:1px solid rgba(48,220,255,.14);background:linear-gradient(180deg,rgba(17,73,92,.16),rgba(6,29,44,.14)),linear-gradient(90deg,rgba(48,220,255,.1),transparent 42%,rgba(48,220,255,.06));box-shadow:inset 0 0 0 1px #30dcff0f,inset 0 12px 28px #30dcff0a}.forest-grass-wet .m-card-hd-title{color:#fff!important;background:none!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important}.forest-grass-wet .fgw-map-layer-tools,.forest-grass-wet .fgw-map-feature-info{position:absolute;z-index:7;pointer-events:all}.forest-grass-wet .fgw-map-layer-tools .m-card,.forest-grass-wet .fgw-map-feature-info .m-card{background:rgba(3,18,30,.54);backdrop-filter:blur(2px)}.forest-grass-wet .fgw-map-layer-tools{top:372px;right:458px;width:232px;height:430px}.forest-grass-wet .fgw-map-layer-tools .m-card{width:100%!important;height:100%!important}.forest-grass-wet .fgw-map-feature-info{right:456px;bottom:150px}.forest-grass-wet .fgw-bottom-topic{position:absolute;left:50%;bottom:48px;z-index:8;transform:translate(-50%);pointer-events:all}.ecological-protection .fgw-map-layer-tools{top:372px;right:458px;width:248px;height:430px}.ecological-protection .ecological-bottom-topic{bottom:48px}.ecological-protection .ecological-bottom-topic .topic-switcher{width:520px}.ecological-protection .ecological-bottom-topic .topic-switcher-item{width:142px}.ecological-protection .ecological-bottom-topic .topic-name{font-size:15px;letter-spacing:0}.yak-management{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:#03121c;height:1080px;overscroll-behavior:none}.yak-map-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;background:transparent!important}.yak-map-scene>canvas{display:block;width:100%!important;height:100%!important}.yak-map-scene>div{width:100%!important;height:100%!important}.yak-map-scene .china-label .town-stat-label{transform:translate(50%) scale(.92)}.yak-management-ui{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none}.yak-map-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 42%,rgba(1,9,15,.22) 74%,rgba(1,8,13,.58) 100%),linear-gradient(90deg,rgba(0,12,20,.36),transparent 24%,transparent 76%,rgba(0,12,20,.36)),linear-gradient(180deg,rgba(2,16,27,.02),rgba(2,13,22,.22))}.yak-left,.yak-right{position:absolute;top:156px;bottom:112px;z-index:6;width:398px;perspective:700px;perspective-origin:50% 50%;pointer-events:all}.yak-left{left:32px}.yak-right{right:32px}.yak-side-stack{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:12px;transform-style:preserve-3d}.yak-side-stack.is-left{transform:translateZ(0) rotateY(6deg);transform-origin:left center}.yak-side-stack.is-right{transform:translateZ(0) rotateY(-6deg);transform-origin:right center}.yak-side-card{flex:0 0 auto}.yak-side-card .m-card-bd-content{top:40px;bottom:8px;color:#f3feff;overflow:hidden}.yak-side-card .m-card-bd-bg{filter:brightness(1.08) saturate(1.04)}.yak-side-card .m-card-bd-bg:after{content:"";position:absolute;top:4px;right:5px;bottom:6px;left:5px;z-index:0;pointer-events:none;border:1px solid rgba(48,220,255,.14);background:linear-gradient(180deg,rgba(17,73,92,.16),rgba(6,29,44,.14)),linear-gradient(90deg,rgba(48,220,255,.1),transparent 42%,rgba(48,220,255,.06));box-shadow:inset 0 0 0 1px #30dcff0f,inset 0 12px 28px #30dcff0a}.yak-management .m-card-hd-title{color:#fff!important;background:none!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important}.yak-chart{width:100%;height:100%;box-sizing:border-box}.yak-map-loading{position:absolute;left:50%;top:50%;z-index:8;color:#dffaffa3;font-size:16px;transform:translate(-50%,-50%)}.yak-bottom-topic{position:absolute;left:50%;bottom:48px;z-index:8;transform:translate(-50%);pointer-events:all}.yak-formula-card{height:100%;padding:9px 13px 10px;box-sizing:border-box}.yak-formula-row{display:grid;grid-template-columns:1fr 16px 1fr 16px 1fr;align-items:center;gap:6px}.yak-formula-row i{color:#dffaff9e;font-style:normal;font-size:18px;text-align:center}.formula-box{position:relative;height:56px;padding:8px 7px;overflow:hidden;border:1px solid rgba(48,220,255,.22);background:linear-gradient(135deg,rgba(48,220,255,.15),rgba(48,220,255,.04)),rgba(2,21,34,.28);box-sizing:border-box}.formula-box:after{content:"";position:absolute;left:7px;right:7px;bottom:0;height:2px;background:linear-gradient(90deg,rgba(48,220,255,.8),rgba(48,220,255,0))}.formula-box span{display:block;color:#dffaff94;font-size:11px;white-space:nowrap}.formula-box strong{display:block;margin-top:5px;color:#30dcff;font-family:D-DIN,Arial,sans-serif;font-size:19px;font-weight:900;white-space:nowrap}.formula-box.is-gold{border-color:#ffd76c3d;background:linear-gradient(135deg,rgba(255,215,108,.14),rgba(255,215,108,.04)),rgba(2,21,34,.28)}.formula-box.is-gold:after{background:linear-gradient(90deg,rgba(255,215,108,.85),rgba(255,215,108,0))}.formula-box.is-gold strong{color:#ffd76c}.formula-box.is-red{border-color:#ff8f6b3d;background:linear-gradient(135deg,rgba(255,143,107,.14),rgba(255,143,107,.04)),rgba(2,21,34,.28)}.formula-box.is-red:after{background:linear-gradient(90deg,rgba(255,143,107,.85),rgba(255,143,107,0))}.formula-box.is-red strong{color:#ff8f6b}.formula-result{display:flex;align-items:center;justify-content:space-between;height:42px;margin-top:12px;padding:0 14px;border:1px solid rgba(48,220,255,.28);background:linear-gradient(90deg,rgba(48,220,255,.2),rgba(39,240,192,.08)),rgba(3,25,40,.24)}.formula-result span{color:#dffaffb8;font-size:13px;font-weight:700}.formula-result strong{color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:23px;font-weight:900;white-space:nowrap}.formula-result strong em{margin-left:4px;color:#dffaff9e;font-style:normal;font-size:12px}.yak-period-tabs{display:flex;gap:8px;margin-bottom:8px}.yak-period-tabs button{flex:1;height:24px;border:1px solid rgba(48,220,255,.18);background:rgba(48,220,255,.06);color:#dffaffad;font-size:12px;cursor:pointer}.yak-period-tabs button.active{border-color:#ffd76cb8;color:#ffd76c;background:rgba(255,215,108,.1)}.yak-formula-card.is-forecast{padding-top:6px}.yak-formula-card.is-forecast .yak-formula-row{grid-template-columns:1fr 13px 1fr 13px 1fr}.yak-formula-card.is-forecast .formula-box{height:44px;padding:6px}.yak-formula-card.is-forecast .formula-box strong{margin-top:3px;font-size:16px}.yak-formula-card.is-forecast .formula-result{height:36px;margin-top:8px}.yak-formula-card.is-forecast .formula-result strong{font-size:20px}.yak-structure-list{display:flex;flex-direction:column;height:100%;gap:7px;padding:7px 13px 8px;box-sizing:border-box}.structure-item{min-height:20px}.structure-item-head{display:grid;grid-template-columns:minmax(0,1fr) 42px 76px;align-items:center;height:18px;column-gap:8px}.structure-item-head span{overflow:hidden;color:#dffaffd1;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.structure-item-head strong{color:#ffd76c;font-family:D-DIN,Arial,sans-serif;font-size:13px;text-align:right}.structure-item-head em{color:#ffffffe6;font-style:normal;font-family:D-DIN,Arial,sans-serif;font-size:12px;text-align:right;white-space:nowrap}.structure-track{position:relative;height:6px;margin-top:4px;overflow:hidden;background:rgba(48,220,255,.07)}.structure-track i{display:block;width:var(--ratio-width);height:100%;background:linear-gradient(90deg,rgba(48,220,255,.18),var(--item-color));box-shadow:0 0 10px color-mix(in srgb,var(--item-color),transparent 45%)}.forecast-heat-list{display:flex;height:100%;flex-direction:column;gap:6px;padding:8px 14px;box-sizing:border-box}.heat-row{position:relative;display:grid;grid-template-columns:78px 1fr;align-items:center;height:17px;overflow:hidden;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.04)}.heat-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--heat-width);background:linear-gradient(90deg,rgba(255,215,108,.28),rgba(48,220,255,.2))}.heat-row span,.heat-row strong{position:relative;z-index:1;padding:0 8px;white-space:nowrap}.heat-row span{color:#dffaffd1;font-size:11px}.heat-row strong{color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:12px;text-align:right}.pasture-management{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:#03121c}.pasture-map-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.pasture-map-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 40%,rgba(1,9,15,.18) 70%,rgba(1,8,13,.62) 100%),linear-gradient(90deg,rgba(0,12,20,.42),transparent 25%,transparent 75%,rgba(0,12,20,.42))}.pasture-map-loading{position:absolute;left:50%;top:54%;z-index:4;color:#defaffc7;font-size:14px;transform:translate(-50%,-50%)}.pasture-management-ui{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none}.pasture-left,.pasture-right{position:absolute;top:176px;bottom:112px;z-index:6;width:398px;perspective:700px;pointer-events:all}.pasture-left{left:32px}.pasture-right{right:32px}.pasture-side-stack{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:12px;transform-style:preserve-3d}.pasture-side-stack.is-left{transform:translateZ(0) rotateY(6deg);transform-origin:left center}.pasture-side-stack.is-right{transform:translateZ(0) rotateY(-6deg);transform-origin:right center}.pasture-side-card{flex:0 0 auto}.pasture-side-card .m-card-bd-content{top:40px;bottom:8px;color:#f3feff}.pasture-side-card .m-card-bd-bg{filter:brightness(1.08) saturate(1.04)}.pasture-side-card .m-card-bd-bg:after{content:"";position:absolute;top:4px;right:5px;bottom:6px;left:5px;z-index:0;pointer-events:none;border:1px solid rgba(48,220,255,.14);background:linear-gradient(180deg,rgba(17,73,92,.16),rgba(6,29,44,.14)),linear-gradient(90deg,rgba(48,220,255,.1),transparent 42%,rgba(48,220,255,.06));box-shadow:inset 0 0 0 1px #30dcff0f,inset 0 12px 28px #30dcff0a}.pasture-management .m-card-hd-title{color:#fff!important;background:none!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important}.pasture-center-panel{position:absolute;left:50%;bottom:142px;z-index:5;width:520px;padding:18px 22px 16px;border:1px solid rgba(48,220,255,.18);background:linear-gradient(90deg,rgba(3,18,30,.08),rgba(3,18,30,.52),rgba(3,18,30,.08)),linear-gradient(180deg,rgba(48,220,255,.09),rgba(36,246,196,.04));box-shadow:inset 0 0 24px #30dcff14,0 18px 44px #0000002e;transform:translate(-50%);pointer-events:all;box-sizing:border-box}.pasture-center-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid rgba(48,220,255,.16)}.pasture-center-title span{color:#7efbf6a8;font-family:D-DIN,Arial,sans-serif;font-size:13px;letter-spacing:0;text-transform:uppercase}.pasture-center-title strong{color:#fff;font-size:24px;line-height:28px}.pasture-center-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.pasture-center-metric{min-width:0;padding:10px 12px;border:1px solid rgba(48,220,255,.14);background:rgba(4,27,42,.48);box-sizing:border-box}.pasture-center-metric span{display:block;overflow:hidden;color:#dffaff9e;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pasture-center-metric strong{display:block;margin-top:7px;color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:24px;line-height:26px;text-shadow:0 0 14px rgba(126,251,246,.45);white-space:nowrap}.pasture-center-metric em{margin-left:4px;color:#ffffff94;font-family:AlibabaPuHuiTi,Arial,sans-serif;font-size:11px;font-style:normal}.pasture-bottom-status{position:absolute;left:50%;bottom:42px;z-index:8;display:grid;grid-template-columns:repeat(4,132px);gap:10px;transform:translate(-50%);pointer-events:all}.pasture-status-item{position:relative;min-width:0;height:68px;padding:10px 12px 8px;border:1px solid rgba(48,220,255,.18);background:linear-gradient(180deg,rgba(5,33,48,.66),rgba(3,18,30,.5));box-shadow:inset 0 0 18px #30dcff14;box-sizing:border-box}.pasture-status-item:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:2px;background:#24f6c4;box-shadow:0 0 10px #24f6c4b8}.pasture-status-item span,.pasture-status-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pasture-status-item span{color:#dffaffb8;font-size:12px}.pasture-status-item strong{display:inline-flex;align-items:baseline;margin-top:4px;color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:22px;line-height:23px}.pasture-status-item em{margin-left:3px;color:#ffffff94;font-family:AlibabaPuHuiTi,Arial,sans-serif;font-size:10px;font-style:normal}.pasture-status-item small{margin-top:2px;color:#7efbf68a;font-size:10px}.wisdom-management{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#dffaff;background:radial-gradient(circle at 50% 45%,rgba(37,161,133,.28),rgba(3,16,28,.18) 35%,rgba(2,8,18,.86) 72%),linear-gradient(180deg,#041324,#030914);pointer-events:auto}.wisdom-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.wisdom-grid{position:absolute;left:430px;right:430px;top:150px;bottom:102px;opacity:.24;background-image:linear-gradient(rgba(48,220,255,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(48,220,255,.14) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(circle at center,#000 42%,transparent 78%);mask-image:radial-gradient(circle at center,#000 42%,transparent 78%)}.wisdom-orbit{position:absolute;left:50%;top:50%;border:1px solid rgba(48,220,255,.18);border-radius:50%;transform:translate(-50%,-50%);box-shadow:inset 0 0 70px #30dcff0f,0 0 70px #20e8bc14}.wisdom-orbit-a{width:760px;height:760px;animation:wisdomOrbitSpin 24s linear infinite}.wisdom-orbit-b{width:980px;height:260px;border-color:#fad36b29;transform:translate(-50%,-48%) rotate(-9deg);animation:wisdomPulse 6s ease-in-out infinite}.wisdom-scan{position:absolute;left:50%;top:50%;width:620px;height:620px;border-radius:50%;transform:translate(-50%,-50%);background:conic-gradient(from 0deg,transparent,rgba(48,220,255,.2),transparent 24%);opacity:.34;animation:wisdomScanSpin 8s linear infinite}.wisdom-avatar-ring,.wisdom-empty-mark span{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(48,220,255,.62);border-radius:50%;animation:wisdomSpin 7s linear infinite}.wisdom-avatar-ring:before,.wisdom-empty-mark span:before{content:"";position:absolute;left:50%;top:-4px;width:8px;height:8px;border-radius:50%;background:#ffd76c;box-shadow:0 0 14px #ffd76ccc}.wisdom-chat{position:absolute;left:50%;top:138px;bottom:76px;z-index:4;width:min(860px,100% - 360px);display:flex;flex-direction:column;min-width:0;transform:translate(-50%)}.wisdom-dialogue{flex:1;min-height:0;overflow-y:auto;padding:8px 8px 18px;scrollbar-width:thin;scrollbar-color:rgba(48,220,255,.5) rgba(3,18,30,.3)}.wisdom-dialogue.is-empty{display:grid;place-items:center}.wisdom-empty-state{position:relative;width:560px;min-height:360px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.wisdom-empty-mark{position:relative;width:126px;height:126px;display:grid;place-items:center}.wisdom-empty-mark strong{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;color:#071520;font-family:D-DIN,Arial,sans-serif;font-size:34px;background:radial-gradient(circle at 32% 24%,#fff,#9cf8e9 48%,#2bd4cb 100%);box-shadow:0 0 42px #4ef3de61}.wisdom-empty-state h2{margin:18px 0 10px;color:#fff;font-size:28px;letter-spacing:0}.wisdom-empty-state p{margin:0;max-width:420px;color:#dffaffad;font-size:15px;line-height:1.8}.wisdom-prompt-grid{width:min(520px,100%);margin-top:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wisdom-prompt-grid button,.wisdom-suggestion-list button{height:34px;border:1px solid rgba(48,220,255,.28);background:linear-gradient(135deg,rgba(8,48,62,.78),rgba(6,28,43,.78));color:#dffaffdb;font-size:13px;cursor:pointer;box-shadow:inset 0 0 16px #30dcff0f}.wisdom-prompt-grid button:hover:not(:disabled),.wisdom-suggestion-list button:hover:not(:disabled){border-color:#ffd76c9e;color:#fff;background:linear-gradient(135deg,rgba(48,220,255,.18),rgba(255,215,108,.12))}.wisdom-message{display:flex;margin:14px 0;gap:10px}.wisdom-message.is-user{justify-content:flex-end}.wisdom-message-mark{flex:0 0 36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#06151f;font-weight:800;background:linear-gradient(135deg,#dffaff,#4cf0de);box-shadow:0 0 22px #4ef3de5c}.wisdom-bubble{max-width:min(680px,100% - 48px);box-sizing:border-box;border:1px solid rgba(48,220,255,.18);background:rgba(4,22,34,.82);box-shadow:inset 0 0 24px #30dcff0f,0 12px 30px #0000003d;color:#edfdffeb;font-size:14px;line-height:1.7;padding:13px 15px}.wisdom-chart-list{display:grid;gap:14px;margin-top:12px}.smart-chart-loading{width:min(620px,100%);height:292px;margin-top:12px;display:grid;place-items:center;box-sizing:border-box;border:1px solid rgba(48,220,255,.22);background:rgba(4,22,34,.72);color:#ffd76cdb;font-size:13px;box-shadow:inset 0 0 24px #30dcff0f}.wisdom-insight-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.wisdom-insight-item{min-width:0;padding:10px 11px;border:1px solid rgba(48,220,255,.16);background:rgba(3,22,35,.62);box-shadow:inset 0 0 18px #30dcff0d}.wisdom-insight-item span,.wisdom-insight-item em{display:block;color:#dffaff8c;font-size:12px;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wisdom-insight-item strong{display:block;margin:3px 0;color:#ffd76c;font-family:D-DIN,Arial,sans-serif;font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wisdom-suggestion-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.wisdom-suggestion-list button{width:auto;min-width:86px;padding:0 12px;color:#ffd76ce6}.wisdom-message.is-user .wisdom-bubble{max-width:min(560px,76%);border-color:#ffd76c42;background:linear-gradient(135deg,rgba(50,115,106,.9),rgba(13,54,65,.86))}.wisdom-steps{display:grid;gap:8px;margin-bottom:10px}.wisdom-step{display:flex;align-items:center;gap:8px;color:#dffaffa3;font-size:13px}.wisdom-step span{width:14px;height:14px;border-radius:50%;border:1px solid rgba(48,220,255,.7);position:relative}.wisdom-step span:after{content:"";position:absolute;left:4px;top:2px;width:4px;height:7px;border-right:2px solid #30dcff;border-bottom:2px solid #30dcff;transform:rotate(40deg)}.wisdom-digesting{display:flex;align-items:center;gap:8px;color:#ffd76ce0}.wisdom-digesting span,.wisdom-button-loading{width:8px;height:8px;border-radius:50%;background:#ffd76c;animation:wisdomBounce 1s ease-in-out infinite}.wisdom-digesting span:nth-child(2){animation-delay:.14s}.wisdom-digesting span:nth-child(3){animation-delay:.28s}.wisdom-digesting em{font-style:normal}.wisdom-answer{color:#edfdfff0}.wisdom-answer h3{margin:12px 0 8px;color:#fff;font-size:17px}.wisdom-answer p{margin:8px 0}.wisdom-answer ul,.wisdom-answer ol{margin:8px 0 8px 20px;padding:0}.wisdom-answer li{margin:4px 0}.wisdom-answer strong{color:#ffd76c}.wisdom-stream-caret{display:inline-block;width:8px;height:18px;margin-left:4px;vertical-align:middle;background:#30dcff;animation:wisdomBlink .8s steps(2,start) infinite}.wisdom-choice-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.wisdom-choice-list button{min-width:96px;height:34px;padding:0 14px;border:1px solid rgba(48,220,255,.32);background:rgba(9,48,62,.74);color:#dffaff;cursor:pointer}.wisdom-choice-list button:hover:not(:disabled){border-color:#ffd76c9e;color:#fff}.wisdom-input-bar{flex:0 0 64px;padding:8px 8px 0;box-sizing:border-box}.wisdom-input-shell{height:50px;border:1px solid rgba(48,220,255,.34);background:linear-gradient(135deg,rgba(8,42,55,.92),rgba(3,18,31,.92));box-shadow:inset 0 0 24px #30dcff14,0 0 30px #30dcff1a;display:flex;align-items:center;gap:10px;padding:0 8px 0 16px;box-sizing:border-box}.wisdom-input-icon{width:16px;height:16px;border:2px solid #30dcff;border-radius:50%;position:relative;flex:0 0 auto}.wisdom-input-icon:after{content:"";position:absolute;right:-7px;bottom:-5px;width:8px;height:2px;border-radius:2px;background:#30dcff;transform:rotate(45deg)}.wisdom-input-shell input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;font-size:15px}.wisdom-input-shell input::placeholder{color:#dffaff6b}.wisdom-input-shell button{width:92px;height:36px;border:1px solid rgba(255,215,108,.46);background:linear-gradient(135deg,rgba(255,215,108,.26),rgba(48,220,255,.12));color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.wisdom-input-shell button:disabled{cursor:not-allowed;opacity:.62}.wisdom-button-loading{width:12px;height:12px;border:2px solid rgba(255,255,255,.34);border-top-color:#fff;background:transparent;animation:wisdomSpin .8s linear infinite}@keyframes wisdomSpin{to{transform:rotate(360deg)}}@keyframes wisdomOrbitSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes wisdomScanSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes wisdomPulse{0%,to{opacity:.36}50%{opacity:.72}}@keyframes wisdomBounce{0%,to{transform:translateY(0);opacity:.42}50%{transform:translateY(-5px);opacity:1}}@keyframes wisdomBlink{50%{opacity:0}}@font-face{font-family:D-DIN;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:D-DIN-Bold;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:D-DIN-Italic;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:Alibaba PuHuiTi;src:url(./AlibabaPuHuiTi-14435b65-balabala-1782613078975.woff2) format("woff2")}@font-face{font-family:阿里妈妈数黑体 Bold;font-weight:700;src:url(data:font/woff2;base64,d09GMk9UVE8AAAjwAA0AAAAADegAAAiiAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAADYx7Gx4cHgZgAHQBNgIkAxgEBgWJIAcgFyQYGhsADRHVrL8g+0iMnUfJLU+EglCodCONdUc456fyCWlXNEUsuExMoPi0DMa6gXdm0rnbJbtAef7923n3BWHzTNriDxgGBhE1L62rpbN/n1BVqbbtzFuERVmMOfa+3S2tXUJXKYrS6vgIjUKoH1RvxkRINBalEUKAw7KZG2lvQbTbMMnEghWxl9qLExii0RCGYYTGhZYiM8409e7XKt+SZok50woHDrT1YSbnB6ZM0ftVmycwmD1RlT1J/daRGnTWqwfgoP9D5XdaPy/SXe/v491PH+hLCFPfEXKLnCOp+hDjYzn6YEIZZuS8tZt2nWONhPeMOEGnYnbUscaFllyz4oQ454uT1ZuWxEaL7ax5sfWFe0Dcexd6Xpf+SqOYOnjZgwtiVjivVXb+kjxnMhtFwxRXHCAu1nPPx1pdM29EyKiMV/1S/aYb6A5uq0Oa4avbPzVhCCFEN+UMx7Saqg/1Ia6+hGhTXIhORRjiScY5TX4xcUxfZgojq/6pB6kvfZffCVVD5T3/h7KVeVXRgvxEdqt8whokVZgAAyQdnAVntMrC0Ij/OPXpazBrpf3gqoykWx9rMYJa6mqxCF2hBk1Cs7YdOkvOOCWS4ssgAaLowTd7Pm/5x6E/7RPSLTo9mpOj4ICwRdwTdTBR5NM/dfvU5ydnkAriBGk4eOF/OEtBe/rP+S+XOYhng1sHdhBNHJxAD4VhO5V0LOtYwWE4e2H1+bVn13JKw35CLG8AT+mMoFilgZKVVW6/FORUxY4RKMAmeeQLEKrCKZQolwWogIFYwRrkSngvVA5X6svDaeU6abogP6ZohDmh/BV01aJEoQnM1GIDik1wpjaJQkNllgBNpIHYhDXshr6C5I/XwQjXJX9wUfzhhsSDS5UKXSQebyj+9DHYhEtorcO3A6tWaorWZP4SWON5w7awGvwRiFkMoVDTC/rImeCB9r/oEYBf8FsEb7gTJkA3+EHfrorjE6xaiHkMLnUb8ixMREP1UH/seZAy7RYH0bUxFJ9JNeAZhj6FRsBjo3sQAXuVY0o2xYKh7TtgfT/oIa0X7kFUIxajoK1wB440YbGe8l0AFTRCFWvYN19ANQu6qV83PjwD3UI8VkMEu/XUhiO2/Rcx3AMEijxstF1ednPRfc+5J+dcnHmD2wFGHE1nbJ6xZfrWuvxQjClBr57oMnDXsD2j9nKXgGIG1EMO62EG0kt0WOqAjJKsYH71kaUnFpzj1mEMcBCzns7vtCxjdU4gP3Kl9h69h6Xm6ilJ3dp5PmLRcGn9tlW7VxzwvA4EF9G157ToQss6adEVyWPatwkY22RUdBzVZpLnatkm7ESvenweeGkvVBqEBevq80PLhlgHDeDOSrtq8jupQFRR2IAbhBm2mTbxC3B/6ChxcFRZTc4gy1InAV/RZyufrnqylnvDHh15fPTxMbV4VC8OWBu0oTa/ddSW0VvH5AzNGpY9nAMrGnHYZxaTcrGmBetWBPEbZ2ycsWEmp/SQ+7OVB+QAAdRL/676vTGJDyoOKEP1UA4yK2sIpyWriVWsECQck6xZzTxROH5qJmuQakIXAfRSNixWsvFHeKxMpoqnck0AT7wKRpDoj7QEPvzk3GVzls9e5hnNc1E8qtAJmobzYMerDXi4aIR5YMAgCEJKDX4ra9r1DlP0uv9D3WS14ENcXYnIMJR3dPP0C4qv16h1SlbuoOFjJk6bvWCpbd3mHXsPHT/z6g8HUVTHhfE6DjSGRp4VhrZbgFp2nhaT0xjdaRG6ZaCmXjynoz3QsQ1WS0KO07ExvA6N6J+ILm90wUDQDYlu06M1z5e+1mH1IRjVESP9dJvXbVy/bhOn5IBRDmG33lvzdPG7AF6nBX82pdGTgumj/BPNcWKVJ7MKlGawwZRxUI1lqLQuvJnjSJVKGPw3SwgPTpB8AGpDJy/IRg6zWczKxDCsjQ38dOAfyWN7Nrw8kf+2RouZTXXaCIMQng8fzN6iXRrhaBBC7HaCEHGxpl/mCNHiMlmVRQhpWz8ac5BE/1W2cu3m9psKJCuHz6Rz6nOfQlTvWRqiwSCEqNYcIYSIVAgytXQDYuqFGj3e40RNM3xMRtOPbhXdRvQszi8dwEw6Z7cTRA3fv+bOt1u+bHGzzbZNWLpo8cJJXP9mhFFBeCpTLXM/XVje3bHey7X6A0LIy/jSe3LA/uX3gQWdShgsVQhnIvzbBasrxyyZ/ul5AoSLlCniQWJFtUf7IZ0Q3eSwf5qZHKB4avsBQ0wVqHD5B2oNcgA0IjMdtILTB6jwNAFWad0Cjk/tAwcXyLetTjyZzmWzhpAOOwAYBqu2qtxBw8NkYLXTABw0QLY6hTOdA1M9uj6NZ+a3ym45Y1LdUhQ5uiS7rWXBxy6OvQwDBR061FboVpYyJDVlYMXirldxKEvu4ItTBreY33DWla5/JO86hjRWyCKXudh5xpEnzj+X8SozvENMRqXpUkr/DvfqJ3Tel2vMjDfV6T82vUVvtj1U+CFlKqLv5uyJ6tPyS5ff7GgioiZKFMqj4uF6inCJJ4qXKBpimn1JRL5WO8d1A7tDgcP8TimFJsmuL29V0DS3UfejSDsW/Yia6q0fs2LRKPMxKUphIcmCupUSlAXA2pG5rXr5clzI7J+y6GSJIhbXhmi/HELNdsvjaMiOqb8Pi0tTS6beTPnslB0HmbrcGFO010/TgsWar4JFwcq0tCCJTW1VjuV58hXpcn37dYleckX/uqVyiPZTOoliHjgTJlBMprbKh4bYcKwILTLpjlqNvEwTjTHzsEVGP5WPICvRooRwMl7Fq6srl05lZY5nZzGdKS4PGW2vsXUwdUfDqa+PSzbFZKlByvV66N6sxKVvZR1S+PxmFjL7x7gaYucjWTUnZJ3aKsZPFV04N1FbDf113KZWqdW+lCS6jFkwT5Ue0Vysf4Mt4jKQKpBWl/hi6xy3hu+3kM2SprIBAAA=) format("woff2"),url(data:font/woff;base64,d09GRk9UVE8AAArwAA0AAAAADegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAABMAAABcQAAAZ7T0dS20dQT1MAAAb0AAAAHgAAAB5EdEx1R1NVQgAABxQAAAAeAAAAHkR0THVPUy8yAAAHNAAAAEsAAABgrSDtt2NtYXAAAAeAAAAAUgAAAHSMNPB9aGVhZAAAB9QAAAA1AAAANiVNJkVoaGVhAAAIDAAAABwAAAAkB5wC5mhtdHgAAAgoAAAAGAAAABgEswFPbWF4cAAACEAAAAAGAAAABgALUABuYW1lAAAISAAAAlYAAASgKy85MXBvc3QAAAqgAAAAEwAAACD/nwAydmhlYQAACrQAAAAfAAAAJAJsEhZ2bXR4AAAK1AAAABoAAAAaC9IDy3icbVRrVBVVFL5zL3NmOnO9yOMQl27cQd4CiqCiCYrwo1RUfPFwtciLkF4Vr8CYklcW6KpUNChTly4tEUFQcflMa1lmig/MtMeiVai9zNaqfFTmnnEP2ow9frSaH9/Za3+zzz77O3sfzhIQYOE4jo1d4K3wVHimzV38TLl3ujclx7egzCQmuLg1Lq6hwR7p4l7hXNwqq4tbbXNxdQEYZLctwZr7fu0GHxlhec7udj2x2D7gSYuFywo0sSLIxKn2WHOZaY+xEI6r29C6++CZXN+imirvnLmKnDA7UU5LTUtLMSBdNg5R6in1yAm5c70LPYlyrm9QspynlA0ymAXyo4hquaq8urzqhfJHzr9+91bLHlmp8pSVV3iq5su+5/9lnq7yLV4kP2PU4l04R87zVngVI/DvWuV/ipXNYv/rHFvmKy0fV1a+UPEqNf+rjvHVW1+2/mb9nbST/WLnY9MdN0Pv2SycyUimeIEubq09zmUJMRTgpwRbJKtBOi0vWU5ZfuMGc/O5Bk6z3rPV2LpvazfYA792+L5f6Ct7kMy0K1po3xXBoVrjGSxRJeiCIOyCeAzDeMwi34OHV49CiF5HOnt5TCTeUTxWYAgMJ+no4fMwSA3ChoEEv41mkETeuX745733RHSTebElyTOSRS0JjrG98uGkd9JkOuOnkp/m/So61DmDmVoLEXgfugjwp+6e/eWCCKlCzLgBk+RpInyA4Ton5PsmV06uFjFBONdytrWrVdTHLGaDqAOc6mmmK+pSVRH0z75l2lT9ISYig91a3TfAHiQQ8OkXGFTDUqwWHFof/Mj6avUsrZb0tamvMq2XYBisj6MfYQiPKoEcaOJxNMEcbOLTCYzRX2OQoy7FHMFxCOYz1Y2XIAwuqW4I1t1wWaUQ/MCKwSrFy7qb9EIz60blKZoHCq/mojKUdoOSSh374ofT45CyBeIgIwLmaYUQjg//wPAo/AVvJVLH54bgJXCH/LBjMB2i8JDSC8GjxlABVqFjmBm5Aaas+1SE5JEYh9fU4XAN465CNlDM7oFEOKK/rxcTnOOfOAmzImGWuov1QFK2gEkwgX0Ox3MEzNRvM7BCNloFx9sbGdoEkNbe7PjyNJTEhrdAotD5Yfvx5qPnMSEcGEEKHc0Xtn2y+QvnGyfXn2+6LO6HMFxBGvc07n21cxT1Y4oPI2Zj8NKDyw/XHxG7gWABZKKImViApJssn7qkwFcUQ1uOb/1g0xmxDVNAhJRdZGP+toKWmQNo3Xa+h/TgIs+wKeklec6vBHR079q349Bbx5yXwIKbSesZHoNJZT6PIWjpJfNzIGx8QfXk+vGrnS1aMzuAEZm0DCL4c30Otqkti/orlyk1S8Qu9WAGPWD40UqgHdtZY3NTc2OzeJfUyy8mVWaIDk1T8xl+R65tv7rjSqt4XXiv7sSKEytHULRtiWqNbh9JO+v3ruhcOdNftLy4VgTF6P7lPwuYXooZXhxVHU07Gjsa25tEfZb2gtB3TItiYNv6x47fO9Jp9MKoSrT5RSjsG85Oqco0QVcgmr2vKkWmJbMTqlJozFcGPMvArhbDFr3YWHv1NUR36h8zcOJFo71Ucmf6EJpw8o1t6998fZszmYpJFK3YH3ITKDzEi6MpnA+DDeDAaIhGQhyR2zMe2h9rsEv3/aGajRmzH2KROY7QwFBnZHRqZva4KUWlNbUrV617fdPW5rY9+4+8e+L0d3dFY0olMZ5KIgQYBlLBsHgiMRhBJB6HEgkfJxUYWoABmamiRGZh4Hjsl46iKAkpVDKEcadh8HUpxrixULRIu7/a+fXW7yUctgyTJuPASGlPW8eutt2iPhPCtFihs2fn1S03oqjEg1sw9ncaScBlWm4zcX/BSOw0sw8wIcYEzjgW9DNYNIA3WREDzTCrCZRIsRT6w9BjMBLyI6DY6L9iAYsKjedqJI6OlMA9kOJEIaEqjd7ayWNhrvQnP0nKyAABAAAACgAcABwAAURGTFQACAAEAAAAAP//AAAAAAAAAAEAAAAKABwAHAABREZMVAAIAAQAAAAA//8AAAAAAAB4nGNgYX7ItIeBlYGDqYspgoGBwRtCM8YxGDH8YkADHEhsX0dfR4YFfjKdx5iP/fvDwMB8jJGFgYWBESTHJAM0k4FBgYEJAH82DWcAeJxjYGBgYmBgYAZiESDJCKZZGBLAtABQhMVPJlgs+ENccVx9cl5qQTlj57H//xkYwKLvUUU3Pl3zZo3IwkkL2+fMnDWjk6PMBWweBgAA1ZwdGgAAeJxjYGRgYGBkdC96rbQtnt/mKwMz8wugCMNDg4JrMPr/m/8yzC+YgxgYGdgZmECiAIbyDgsAAAB4nGNgZGBgPvbvD5B88f8NiGQAiqAARgCoiQaIA+gAZAAhACgAKgBXACgAIwAuACsAKgAeAABQAAALAAB4nI1SwWoTURQ9M4kmA1IrSOlCZRYuYmnqWHFRC1UbaQLa0elo0qFmMTHJJDXphDQG1J24qFIUNxFcKPgFropfICK60IU7N65046qILmq8782dmiaiMjzuee/cc+599w2A/fiGCJSoBmA9coixAl39yVhFXA1zIphRXzCOYky9z3gXDqvLjHcjoc4yjqGhvGccxwFlg7GGV/jKeLin1r6wVjxK/czgOWMFQ3jGWO3JiWIU9xjHcJ4UAdYIgfFwj1b6L4zmPxpKJ+OkH9w1lPrYbd85ZyiPvlzZWx4yFM80p8wpwVu3FixDefo4/9ZQFn+YBwV3c65z6uGb/GZ+01BwBjVUUYArVvloyHReZj/lEmYyu2W/ttrmh+zW0kZhJGfYJ9t3Ls9VYoWR2mdrXSChcNactVLjybsLNnTMwifPYt95AldxhNhJGLQmkWR0HHpYsxsX9bqap3UuWjX7e3dPM+OlCqc9jaZSxXVSp1Ch6GIF47wrEdZhES+YqjzPUAcr8AgJnStxWWYGrCs1i5LzUacoMsY5X8dZmVH8Qx2H3ZbZV7Dp7Wo5ygo6cKSPzbvAdZ762zFtWamEVTrxyKGfqxKjS9RCk2KRcusUm7hGZz7dSB/QpIn1qU6Dp0DvwLcLuhB3bZFPEROsFY5i2XJ+GXmDS7SS4TsiS2dN2aUvZ3CMtAZ9JzBNVUvk5/Z56QNu23/FDvU86cSa/u9ewviveinKa+AG9S1mW6Ee9b/9gQNzTMg3F5NzpUb4TfBbtuT0Ak2N4u8aq3InXlRMrB3M+RcxRNz8AAB4nGNgZgCD/3MYjBiwAAAqgwHRAHicY2AUYGD88o+HgYHlFEPJfzsGEGBkQAZMAHjSBJMAA+gAdATKAJoApgC/AKYAtwCYAKEAmwCmAKEAAA==) format("woff");font-display:swap}body{font-family:SourceHanSansCN,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif;background:#000;-webkit-user-select:none;user-select:none}.loading{position:absolute;left:0;top:0;right:0;bottom:0;background:#000;pointer-events:none;z-index:99}.loading-text{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#fff;font-family:D-DIN,Arial,sans-serif;letter-spacing:10px}.loading-text span{font-size:2vw;animation:blurAni 1.5s calc(var(--index) / 5 * 1s) alternate infinite}.loading-progress{font-size:2vw;color:#fff;font-family:D-DIN,Arial,sans-serif;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:center;margin-top:-3vw}.loading-progress .unit{padding-left:10px;font-size:1vw}@keyframes blurAni{to{filter:blur(3px)}}.large-screen{position:relative;width:100%;height:100%;background:#050f33;margin:0 auto;font-size:14px}.large-screen .map{position:relative;width:100%;height:100%;z-index:2}.large-screen-wrap{position:absolute;left:0;right:0;top:0;bottom:0;z-index:3;pointer-events:none}.large-screen-wrap:after{content:"";display:block;position:absolute;left:0;top:0;right:0;bottom:0;z-index:1;opacity:.5;background:url(./bg-3acb94e3-balabala-1782613078975.png) no-repeat;background-size:cover}.large-screen-wrap .top-count-card{position:absolute;left:560px;right:560px;top:130px;justify-content:center;z-index:9;display:flex}.large-screen-wrap .top-count-card>div{padding:0 50px}.large-screen-wrap .left-wrap{position:absolute;z-index:4;width:398px;left:32px;top:126px;bottom:50px;perspective:500px;perspective-origin:50% 50%}.large-screen-wrap .left-wrap-3d{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(6deg) rotate(0) skew(0) skewY(0);z-index:4}.large-screen-wrap .left-wrap-3d .left-card{flex:1;margin-bottom:12px}.large-screen-wrap .right-wrap{position:absolute;z-index:4;width:398px;right:32px;top:126px;bottom:50px;perspective:800px;perspective-origin:50% 50%}.large-screen-wrap .right-wrap-3d{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(-6deg) rotate(0) skew(0) skewY(0)}.large-screen-wrap .right-wrap-3d .right-card{flex:1;margin-bottom:12px}.large-screen-wrap .bottom-tray{position:absolute;left:50%;bottom:0;z-index:3;margin-left:-960px;width:1920px;height:90px;box-sizing:border-box;padding-top:20px;display:flex;justify-content:center;background:url(./bottom-menu-bg-b465793d-balabala-1782613078975.png) no-repeat;background-size:contain}.large-screen-wrap .bottom-tray-arrow{display:flex;align-items:center;height:30px}.large-screen-wrap .bottom-tray-arrow.is-reverse{transform:scaleX(-1)}.large-screen-wrap .bottom-tray-arrow img{animation:arrowAnimate 2s ease-in-out infinite}.large-screen-wrap .bottom-tray-arrow img:last-child{animation:arrowAnimate2 2s ease-in-out infinite}.large-screen-wrap .bottom-tray .bottom-menu{display:flex;padding:0 20px}.large-screen-wrap .bottom-tray .bottom-menu-item{width:100px;height:32px;background:url(./bottom-menu-btn-ee5c8064-balabala-1782613078975.png) no-repeat;background-size:100%;font-size:15px;letter-spacing:1.6px;text-align:center;line-height:30px;cursor:pointer;pointer-events:all}.large-screen-wrap .bottom-tray .bottom-menu-item span{display:block;width:100px;height:32px;font-weight:700;background:-webkit-linear-gradient(rgb(117,232,255),rgb(255,255,255));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.large-screen-wrap .bottom-tray .bottom-menu-item:hover,.large-screen-wrap .bottom-tray .bottom-menu-item.is-active{background:url(./bottom-menu-btn-hover-df33e514-balabala-1782613078975.png) no-repeat;background-size:100%}.large-screen-left-zsline{position:absolute;left:0;z-index:3;top:50%;margin-top:-540px;width:120px;height:1080px;background:url(./left-kuang-5d6bd1ae-balabala-1782613078975.svg) no-repeat;background-size:contain;animation:bkAnimate 3s infinite}.large-screen-right-zsline{position:absolute;right:0;z-index:3;top:50%;margin-top:-540px;width:120px;height:1080px;background:url(./right-kuang-b1937caf-balabala-1782613078975.svg) no-repeat;background-size:contain;animation:bkAnimate 3s infinite}@keyframes bkAnimate{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes arrowAnimate{0%{transform:translate(0)}50%{transform:translate(100%)}to{transform:translate(0)}}@keyframes arrowAnimate2{0%{transform:translate(0)}50%{transform:translate(90%)}to{transform:translate(0)}}@keyframes rotate360Animate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.platform-screen{position:fixed!important;left:0;top:0;margin:0}.platform-screen.is-forest-grass-wet .large-screen-wrap:after{opacity:.28}.platform-screen.is-forest-grass-wet .large-screen-left-zsline,.platform-screen.is-forest-grass-wet .large-screen-right-zsline{filter:brightness(1.3) drop-shadow(0 0 14px rgba(48,220,255,.32))}.platform-screen.is-home .large-screen-wrap:after{opacity:.34}.platform-screen.is-home .large-screen-left-zsline,.platform-screen.is-home .large-screen-right-zsline{filter:brightness(1.32) drop-shadow(0 0 16px rgba(36,246,196,.28))}.platform-screen.is-ecological-protection .large-screen-wrap:after{opacity:.22}.platform-screen.is-yak-management .large-screen-wrap:after{opacity:.24}.platform-screen.is-yak-management .large-screen-left-zsline,.platform-screen.is-yak-management .large-screen-right-zsline{filter:brightness(1.22) drop-shadow(0 0 14px rgba(48,220,255,.26))}.platform-screen.is-pasture-management .large-screen-wrap:after{opacity:.26}.platform-screen.is-pasture-management .large-screen-left-zsline,.platform-screen.is-pasture-management .large-screen-right-zsline{filter:brightness(1.28) drop-shadow(0 0 14px rgba(36,246,196,.28))}.platform-screen.is-smart-management .large-screen-wrap:after{opacity:.2}.platform-screen .platform-module-pane{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.platform-screen .top-menu{position:absolute;left:50%;top:46px;z-index:10;transform:translate(-50%)}.platform-screen .top-menu .m-menu{justify-content:center;align-items:center}.platform-screen .top-menu .top-menu-mid-space{width:740px;height:1px;pointer-events:none}.platform-screen .m-header-date{display:flex;align-items:center;gap:12px}.platform-screen .m-header-date span{color:#c4f3fe;font-size:14px;white-space:nowrap}.platform-screen .top-count-card{left:460px;right:460px;top:134px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;justify-content:stretch}.platform-screen .top-count-card>div{min-width:0;padding:0!important;justify-content:center}.platform-screen .top-count-card .count-card,.platform-screen .top-count-card .count-card-title,.platform-screen .top-count-card .count-card-left,.platform-screen .top-count-card .count-card-right{min-width:0}.platform-screen .top-count-card .count-card-icon{width:42px;height:42px;margin-right:10px}.platform-screen .top-count-card .count-card-right{padding-left:12px}.platform-screen .top-count-card .count-card-right .value{margin-right:6px;font-size:26px;letter-spacing:0}.platform-screen .top-count-card .count-card-title .title-zh{font-size:17px}.platform-screen .top-count-card .count-card-title .title-en{max-width:112px;overflow:hidden;text-overflow:ellipsis}.platform-screen .top-count-card.is-four{left:390px;right:390px;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:18px}.platform-screen .top-count-card.is-four .count-card-icon{width:42px;height:42px;margin-right:10px}.platform-screen .top-count-card.is-four .count-card-right{padding-left:8px}.platform-screen .top-count-card.is-four .count-card-right .value{font-size:24px}.platform-screen .top-count-card.is-four .count-card-title .title-zh{font-size:15px}.platform-screen .top-count-card.is-four .count-card-title .title-en{max-width:90px;font-size:10px}.platform-screen .bottom-menu-item{width:96px!important;margin:0 2px}.platform-screen .bottom-menu-item span{width:96px!important;font-size:13px}.platform-screen .bottom-svg-line-left,.platform-screen .bottom-svg-line-right{position:absolute;right:50%;bottom:-21px;width:721px;height:57px;margin-right:-5px}.platform-screen .bottom-svg-line-right{left:50%;right:inherit;margin-left:-5px;margin-right:inherit;transform:scaleX(-1)}.platform-screen .module-coming{position:absolute;left:50%;top:50%;z-index:12;width:360px;height:130px;padding-top:28px;border:1px solid rgba(48,220,255,.28);background:rgba(3,18,30,.72);color:#fff;text-align:center;transform:translate(-50%,-50%);pointer-events:none;box-sizing:border-box}.platform-screen .module-coming-title{font-size:24px;font-weight:700}.platform-screen .module-coming-text{margin-top:12px;color:#ffffff9e;font-size:14px}.platform-screen .platform-loading{position:absolute;z-index:99}.platform-screen .platform-loading .loading-text{gap:10px;letter-spacing:0}
diff --git a/docs/assets/index-b8a77371-balabala-1782613078975.css b/docs/assets/index-b8a77371-balabala-1782613078975.css
new file mode 100644
index 0000000..3d3d85b
--- /dev/null
+++ b/docs/assets/index-b8a77371-balabala-1782613078975.css
@@ -0,0 +1 @@
+/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}*,body{padding:0;margin:0}html,body,#app{width:100%;height:100%;overflow:hidden}
diff --git a/docs/assets/index-d3bd1e52-1782613078975.js b/docs/assets/index-d3bd1e52-1782613078975.js
new file mode 100644
index 0000000..4d83fd6
--- /dev/null
+++ b/docs/assets/index-d3bd1e52-1782613078975.js
@@ -0,0 +1,4501 @@
+var f7=Object.defineProperty,d7=Object.defineProperties;var p7=Object.getOwnPropertyDescriptors;var Hg=Object.getOwnPropertySymbols;var aL=Object.prototype.hasOwnProperty,oL=Object.prototype.propertyIsEnumerable;var ux=(r,e)=>{if(e=Symbol[r])return e;throw Error("Symbol."+r+" is not defined")},cu=Math.pow,cx=(r,e,t)=>e in r?f7(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Re=(r,e)=>{for(var t in e||(e={}))aL.call(e,t)&&cx(r,t,e[t]);if(Hg)for(var t of Hg(e))oL.call(e,t)&&cx(r,t,e[t]);return r},Xe=(r,e)=>d7(r,p7(e));var sL=(r,e)=>{var t={};for(var n in r)aL.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&Hg)for(var n of Hg(r))e.indexOf(n)<0&&oL.call(r,n)&&(t[n]=r[n]);return t};var bt=(r,e,t)=>(cx(r,typeof e!="symbol"?e+"":e,t),t);var Ge=(r,e,t)=>new Promise((n,i)=>{var a=l=>{try{s(t.next(l))}catch(u){i(u)}},o=l=>{try{s(t.throw(l))}catch(u){i(u)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,o);s((t=t.apply(r,e)).next())}),v7=function(r,e){this[0]=r,this[1]=e};var lL=r=>{var e=r[ux("asyncIterator")],t=!1,n,i={};return e==null?(e=r[ux("iterator")](),n=a=>i[a]=o=>e[a](o)):(e=e.call(r),n=a=>i[a]=o=>{if(t){if(t=!1,a==="throw")throw o;return o}return t=!0,{done:!1,value:new v7(new Promise(s=>{var l=e[a](o);if(!(l instanceof Object))throw TypeError("Object expected");s(l)}),1)}}),i[ux("iterator")]=()=>i,n("next"),"throw"in e?n("throw"):i.throw=a=>{throw a},"return"in e&&n("return"),i};import{_ as OM,o as ie,c as oe,a as G,t as Te,r as Df,b as $e,d as tt,w as ni,p as uL,i as sf,n as Vt,u as _n,e as Se,f as uo,g as Tt,h as Ko,j as QB,k as fc,l as un,s as Ap,F as it,m as vt,q as Ji,v as Zn,x as Xt,y as ul,z as JB,A as Kw,B as Nc,C as no,D as g7,E as cL,G as hL,H as m7,I as y7,J as _7,K as x7,L as ih}from"./index-1782613078975.js";const _0=""+new URL("bottom-menu-arrow-big-180b7071-balabala-1782613078975.svg",import.meta.url).href,x0=""+new URL("bottom-menu-arrow-small-19304179-balabala-1782613078975.svg",import.meta.url).href;/**
+ * @name: autofit.js
+ * @author: Larry Zhu
+ * @version: 3.2.8
+ * @description: autofit.js 是迄今为止最易用的自适应工具
+ * @license: MIT
+ */let hx=null,vv="",Zw="",Qw="",fx=null,fL=null,Dr=1,yf=!1;const Y_={isAutofitRunning:!1,init(r={},e=!0){e&&console.log("autofit.js is running");const{dw:t=1920,dh:n=1080,el:i=typeof r=="string"?r:"body",resize:a=!0,ignore:o=[],transition:s="none",delay:l=0,limit:u=.1,cssMode:c="scale",allowScroll:h=!1}=r;hx=i;const f=document.querySelector(i);if(!f){console.error(`autofit: '${i}' is not exist`);return}const d=document.createElement("style"),p=document.createElement("style");d.lang="text/css",p.lang="text/css",d.id="autofit-style",p.id="ignoreStyle",!h&&(d.innerHTML="body {overflow: hidden;}");const g=document.querySelector("body");g.appendChild(d),g.appendChild(p),f.style.height=`${n}px`,f.style.width=`${t}px`,f.style.transformOrigin="0 0",!h&&(f.style.overflow="hidden"),dx(t,n,f,o,u,c),fx=()=>{clearTimeout(fL),l!=0?fL=setTimeout(()=>{dx(t,n,f,o,u,c),yf&&Jw(vv,Qw,Zw)},l):(dx(t,n,f,o,u,c),yf&&Jw(vv,Qw,Zw))},a&&window.addEventListener("resize",fx),this.isAutofitRunning=!0,setTimeout(()=>{f.style.transition=`${s}s`})},off(r="body"){try{window.removeEventListener("resize",fx);const e=document.querySelector("#autofit-style");e&&e.remove();const t=document.querySelector("#ignoreStyle");t&&t.remove();const n=document.querySelector(hx||r);n&&(n.style.cssText=""),yf&&e5()}catch(e){console.error("autofit: Failed to remove normally",e)}this.isAutofitRunning=!1,console.log("autofit.js is off")},elRectification:null,scale:Dr};function Jw(r,e=!0,t=1){if(!Y_.isAutofitRunning){console.error("autofit.js:(elRectification): autofit has not been initialized yet");return}e5(),!r&&console.error(`autofit.js:elRectification bad selector: ${r}`),vv=r,Zw=t,Qw=e;const n=Array.from(document.querySelectorAll(r));if(n.length==0){console.error(`autofit.js:elRectification found no element by selector: "${r}"`);return}for(const i of n){const a=Dr==1?1:Number(Dr)*Number(t);yf||(i.originalWidth=i.clientWidth,i.originalHeight=i.clientHeight),e?(i.style.width=`${i.originalWidth*a}px`,i.style.height=`${i.originalHeight*a}px`):(i.style.width=`${100*a}%`,i.style.height=`${100*a}%`),i.style.transform=`translateZ(0) scale(${1/Number(Dr)})`,i.style.transformOrigin="0 0"}yf=!0}function e5(){if(vv){yf=!1;for(const r of Array.from(document.querySelectorAll(vv)))r.style.width="",r.style.height="",r.style.transform=""}}function dx(r,e,t,n,i,a="scale"){const o=document.documentElement.clientHeight,s=document.documentElement.clientWidth;Dr=s/oi?Dr:1,Y_.scale=+Dr;const l=Math.round(o/Number(Dr)),u=Math.round(s/Number(Dr));t.style.height=`${l}px`,t.style.width=`${u}px`,a==="zoom"?t.style.zoom=`${Dr}`:t.style.transform=`translateZ(0) scale(${Dr})`;const c=document.querySelector("#ignoreStyle");c.innerHTML="";for(const h of n){const f=h;let d=f.el||f.dom;if(typeof f=="string"&&(d=f),!d||typeof d=="object"&&!Object.keys(d).length){console.error(`autofit: found invalid or empty selector/object: ${d}`);continue}const p=f.scale?f.scale:1/Number(Dr),g=p!=Dr&&f.fontSize,v=p!=Dr&&f.width,m=p!=Dr&&f.height;c.innerHTML+=`
+${d} {
+ transform: scale(${p})!important;
+ transform-origin: 0 0;
+ ${v?`width: ${v}!important;`:""}
+ ${m?`height: ${m}!important;`:""}
+ }`,g&&(c.innerHTML+=`
+${d} div ,${d} span,${d} a,${d} * {
+ font-size: ${g}px;
+ }`)}}Y_.elRectification=Jw;function fs(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function t5(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}/*!
+ * GSAP 3.14.2
+ * https://gsap.com
+ *
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
+ * Subject to the terms at https://gsap.com/standard-license
+ * @author: Jack Doyle, jack@greensock.com
+*/var ea={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},If={duration:.5,overwrite:!1,delay:0},FM,kr,In,Ea=1e8,An=1/Ea,eb=Math.PI*2,S7=eb/4,A7=0,n5=Math.sqrt,w7=Math.cos,b7=Math.sin,Er=function(e){return typeof e=="string"},Xn=function(e){return typeof e=="function"},Ms=function(e){return typeof e=="number"},BM=function(e){return typeof e=="undefined"},Wo=function(e){return typeof e=="object"},Ei=function(e){return e!==!1},zM=function(){return typeof window!="undefined"},Wg=function(e){return Xn(e)||Er(e)},r5=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ri=Array.isArray,T7=/random\([^)]+\)/g,M7=/,\s*/g,dL=/(?:-?\.?\d|\.)+/gi,i5=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,lf=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,px=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,a5=/[+-]=-?[.\d]+/,C7=/[^,'"\[\]\s]+/gi,E7=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Bn,To,tb,UM,ia={},S0={},o5,s5=function(e){return(S0=Nf(e,ia))&&ki},VM=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},gv=function(e,t){return!t&&console.warn(e)},l5=function(e,t){return e&&(ia[e]=t)&&S0&&(S0[e]=t)||ia},mv=function(){return 0},L7={suppressEvents:!0,isStart:!0,kill:!1},Gy={suppressEvents:!0,kill:!1},P7={suppressEvents:!0},GM={},Il=[],nb={},u5,Xi={},vx={},pL=30,Hy=[],HM="",WM=function(e){var t=e[0],n,i;if(Wo(t)||Xn(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(i=Hy.length;i--&&!Hy[i].targetTest(t););n=Hy[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new I5(e[i],n)))||e.splice(i,1);return e},dc=function(e){return e._gsap||WM(La(e))[0]._gsap},c5=function(e,t,n){return(n=e[t])&&Xn(n)?e[t]():BM(n)&&e.getAttribute&&e.getAttribute(t)||n},Li=function(e,t){return(e=e.split(",")).forEach(t)||e},Jn=function(e){return Math.round(e*1e5)/1e5||0},Fn=function(e){return Math.round(e*1e7)/1e7||0},_f=function(e,t){var n=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),n==="+"?e+i:n==="-"?e-i:n==="*"?e*i:e/i},R7=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++is;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=o,t.parent=t._dp=e,t},q_=function(e,t,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var a=t._prev,o=t._next;a?a._next=o:e[n]===t&&(e[n]=o),o?o._prev=a:e[i]===t&&(e[i]=a),t._next=t._prev=t.parent=null},Wl=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},pc=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},N7=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},rb=function(e,t,n,i){return e._startAt&&(kr?e._startAt.revert(Gy):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},k7=function r(e){return!e||e._ts&&r(e.parent)},gL=function(e){return e._repeat?kf(e._tTime,e=e.duration()+e._rDelay)*e:0},kf=function(e,t){var n=Math.floor(e=Fn(e/t));return e&&n===e?n-1:n},b0=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},j_=function(e){return e._end=Fn(e._start+(e._tDur/Math.abs(e._ts||e._rts||An)||0))},K_=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Fn(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),j_(e),n._dirty||pc(n,e)),e},v5=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._startAn)&&t.render(n,!0)),pc(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-An}},Po=function(e,t,n,i){return t.parent&&Wl(t),t._start=Fn((Ms(n)?n:n||e!==Bn?pa(e,n,t):e._time)+t._delay),t._end=Fn(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),p5(e,t,"_first","_last",e._sort?"_start":0),ib(t)||(e._recent=t),i||v5(e,t),e._ts<0&&K_(e,e._tTime),e},g5=function(e,t){return(ia.ScrollTrigger||VM("scrollTrigger",t))&&ia.ScrollTrigger.create(t,e)},m5=function(e,t,n,i,a){if(YM(e,t,a),!e._initted)return 1;if(!n&&e._pt&&!kr&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&u5!==qi.frame)return Il.push(e),e._lazy=[a,i],1},O7=function r(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||r(t))},ib=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},F7=function(e,t,n,i){var a=e.ratio,o=t<0||!t&&(!e._start&&O7(e)&&!(!e._initted&&ib(e))||(e._ts<0||e._dp._ts<0)&&!ib(e))?0:1,s=e._rDelay,l=0,u,c,h;if(s&&e._repeat&&(l=dg(0,e._tDur,t),c=kf(l,s),e._yoyo&&c&1&&(o=1-o),c!==kf(e._tTime,s)&&(a=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==a||kr||i||e._zTime===An||!t&&e._zTime){if(!e._initted&&m5(e,t,i,n,l))return;for(h=e._zTime,e._zTime=t||(n?An:0),n||(n=t&&!h),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,u=e._pt;u;)u.r(o,u.d),u=u._next;t<0&&rb(e,t,n,!0),e._onUpdate&&!n&&Ki(e,"onUpdate"),l&&e._repeat&&!n&&e.parent&&Ki(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Wl(e,1),!n&&!kr&&(Ki(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},B7=function(e,t,n){var i;if(n>t)for(i=e._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start0&&!i&&K_(e,e._tTime=e._tDur*s),e.parent&&j_(e),n||pc(e.parent,e),e},mL=function(e){return e instanceof pi?pc(e):Of(e,e._dur)},z7={_start:0,endTime:mv,totalDuration:mv},pa=function r(e,t,n){var i=e.labels,a=e._recent||z7,o=e.duration()>=Ea?a.endTime(!1):e._dur,s,l,u;return Er(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),u=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?a._start:a.endTime(a._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(s<0?a:n).totalDuration()/100:1)):s<0?(t in i||(i[t]=o),i[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),u&&n&&(l=l/100*(ri(n)?n[0]:n).totalDuration()),s>1?r(e,t.substr(0,s-1),n)+l:o+l)):t==null?o:+t},Wp=function(e,t,n){var i=Ms(t[1]),a=(i?2:1)+(e<2?0:1),o=t[a],s,l;if(i&&(o.duration=t[1]),o.parent=n,e){for(s=o,l=n;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=Ei(l.vars.inherit)&&l.parent;o.immediateRender=Ei(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[a-1]}return new sr(t[0],o,t[a+1])},ru=function(e,t){return e||e===0?t(e):t},dg=function(e,t,n){return nt?t:n},ei=function(e,t){return!Er(e)||!(t=E7.exec(e))?"":t[1]},U7=function(e,t,n){return ru(n,function(i){return dg(e,t,i)})},ab=[].slice,y5=function(e,t){return e&&Wo(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Wo(e[0]))&&!e.nodeType&&e!==To},V7=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(i){var a;return Er(i)&&!t||y5(i,1)?(a=n).push.apply(a,La(i)):n.push(i)})||n},La=function(e,t,n){return In&&!t&&In.selector?In.selector(e):Er(e)&&!n&&(tb||!Ff())?ab.call((t||UM).querySelectorAll(e),0):ri(e)?V7(e,n):y5(e)?ab.call(e,0):e?[e]:[]},ob=function(e){return e=La(e)[0]||gv("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return La(t,n.querySelectorAll?n:n===e?gv("Invalid scope")||UM.createElement("div"):e)}},_5=function(e){return e.sort(function(){return .5-Math.random()})},x5=function(e){if(Xn(e))return e;var t=Wo(e)?e:{each:e},n=vc(t.ease),i=t.from||0,a=parseFloat(t.base)||0,o={},s=i>0&&i<1,l=isNaN(i)||s,u=t.axis,c=i,h=i;return Er(i)?c=h={center:.5,edges:.5,end:1}[i]||0:!s&&l&&(c=i[0],h=i[1]),function(f,d,p){var g=(p||t).length,v=o[g],m,y,_,x,S,A,w,M,C;if(!v){if(C=t.grid==="auto"?0:(t.grid||[1,Ea])[1],!C){for(w=-Ea;w<(w=p[C++].getBoundingClientRect().left)&&Cw&&(w=S),Sg?g-1:u?u==="y"?g/C:C:Math.max(C,g/C))||0)*(i==="edges"?-1:1),v.b=g<0?a-g:a,v.u=ei(t.amount||t.each)||0,n=n&&g<0?P5(n):n}return g=(v[f]-v.min)/v.max||0,Fn(v.b+(n?n(g):g)*v.v)+v.u}},sb=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Fn(Math.round(parseFloat(n)/e)*e*t);return(i-i%1)/t+(Ms(n)?0:ei(n))}},S5=function(e,t){var n=ri(e),i,a;return!n&&Wo(e)&&(i=n=e.radius||Ea,e.values?(e=La(e.values),(a=!Ms(e[0]))&&(i*=i)):e=sb(e.increment)),ru(t,n?Xn(e)?function(o){return a=e(o),Math.abs(a-o)<=i?a:o}:function(o){for(var s=parseFloat(a?o.x:o),l=parseFloat(a?o.y:0),u=Ea,c=0,h=e.length,f,d;h--;)a?(f=e[h].x-s,d=e[h].y-l,f=f*f+d*d):f=Math.abs(e[h]-s),fi?a-o:o)})},yv=function(e){return e.replace(T7,function(t){var n=t.indexOf("[")+1,i=t.substring(n||7,n?t.indexOf("]"):t.length-1).split(M7);return A5(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},b5=function(e,t,n,i,a){var o=t-e,s=i-n;return ru(a,function(l){return n+((l-e)/o*s||0)})},Y7=function r(e,t,n,i){var a=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!a){var o=Er(e),s={},l,u,c,h,f;if(n===!0&&(i=1)&&(n=null),o)e={p:e},t={p:t};else if(ri(e)&&!ri(t)){for(c=[],h=e.length,f=h-2,u=1;u(s=Math.abs(s))&&(l=o,a=s);return l},Ki=function(e,t,n){var i=e.vars,a=i[t],o=In,s=e._ctx,l,u,c;if(a)return l=i[t+"Params"],u=i.callbackScope||e,n&&Il.length&&A0(),s&&(In=s),c=l?a.apply(u,l):a.call(u),In=o,c},wp=function(e){return Wl(e),e.scrollTrigger&&e.scrollTrigger.kill(!!kr),e.progress()<1&&Ki(e,"onInterrupt"),e},uf,T5=[],M5=function(e){if(e)if(e=!e.name&&e.default||e,zM()||e.headless){var t=e.name,n=Xn(e),i=t&&!n&&e.init?function(){this._props=[]}:e,a={init:mv,render:KM,add:XM,kill:u9,modifier:l9,rawVars:0},o={targetTest:0,get:0,getSetter:jM,aliases:{},register:0};if(Ff(),e!==i){if(Xi[t])return;aa(i,aa(w0(e,a),o)),Nf(i.prototype,Nf(a,w0(e,o))),Xi[i.prop=t]=i,e.targetTest&&(Hy.push(i),GM[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}l5(t,i),e.register&&e.register(ki,i,Pi)}else T5.push(e)},xn=255,bp={aqua:[0,xn,xn],lime:[0,xn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,xn],navy:[0,0,128],white:[xn,xn,xn],olive:[128,128,0],yellow:[xn,xn,0],orange:[xn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[xn,0,0],pink:[xn,192,203],cyan:[0,xn,xn],transparent:[xn,xn,xn,0]},gx=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*xn+.5|0},C5=function(e,t,n){var i=e?Ms(e)?[e>>16,e>>8&xn,e&xn]:0:bp.black,a,o,s,l,u,c,h,f,d,p;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),bp[e])i=bp[e];else if(e.charAt(0)==="#"){if(e.length<6&&(a=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+a+a+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&xn,i&xn,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&xn,e&xn]}else if(e.substr(0,3)==="hsl"){if(i=p=e.match(dL),!t)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,o=c<=.5?c*(u+1):c+u-c*u,a=c*2-o,i.length>3&&(i[3]*=1),i[0]=gx(l+1/3,a,o),i[1]=gx(l,a,o),i[2]=gx(l-1/3,a,o);else if(~e.indexOf("="))return i=e.match(i5),n&&i.length<4&&(i[3]=1),i}else i=e.match(dL)||bp.transparent;i=i.map(Number)}return t&&!p&&(a=i[0]/xn,o=i[1]/xn,s=i[2]/xn,h=Math.max(a,o,s),f=Math.min(a,o,s),c=(h+f)/2,h===f?l=u=0:(d=h-f,u=c>.5?d/(2-h-f):d/(h+f),l=h===a?(o-s)/d+(oe||m<0)&&(n+=m-t),i+=m,S=i-n,_=S-o,(_>0||y)&&(A=++h.frame,f=S-h.time*1e3,h.time=S=S/1e3,o+=_+(_>=a?4:a-_),x=1),y||(l=u(g)),x)for(d=0;d=m&&d--},_listeners:s},h}(),Ff=function(){return!_v&&qi.wake()},Zt={},j7=/^[\d.\-M][\d.\-,\s]/,K7=/["']/g,Z7=function(e){for(var t={},n=e.substr(1,e.length-3).split(":"),i=n[0],a=1,o=n.length,s,l,u;a1&&n.config?n.config.apply(null,~e.indexOf("{")?[Z7(t[1])]:Q7(e).split(",").map(f5)):Zt._CE&&j7.test(e)?Zt._CE("",e):n},P5=function(e){return function(t){return 1-e(1-t)}},R5=function r(e,t){for(var n=e._first,i;n;)n instanceof pi?r(n,t):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==t&&(n.timeline?r(n.timeline,t):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=t)),n=n._next},vc=function(e,t){return e&&(Xn(e)?e:Zt[e]||J7(e))||t},Xc=function(e,t,n,i){n===void 0&&(n=function(l){return 1-t(1-l)}),i===void 0&&(i=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var a={easeIn:t,easeOut:n,easeInOut:i},o;return Li(e,function(s){Zt[s]=ia[s]=a,Zt[o=s.toLowerCase()]=n;for(var l in a)Zt[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Zt[s+"."+l]=a[l]}),a},D5=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},mx=function r(e,t,n){var i=t>=1?t:1,a=(n||(e?.3:.45))/(t<1?t:1),o=a/eb*(Math.asin(1/i)||0),s=function(c){return c===1?1:i*Math.pow(2,-10*c)*b7((c-o)*a)+1},l=e==="out"?s:e==="in"?function(u){return 1-s(1-u)}:D5(s);return a=eb/a,l.config=function(u,c){return r(e,u,c)},l},yx=function r(e,t){t===void 0&&(t=1.70158);var n=function(o){return o?--o*o*((t+1)*o+t)+1:0},i=e==="out"?n:e==="in"?function(a){return 1-n(1-a)}:D5(n);return i.config=function(a){return r(e,a)},i};Li("Linear,Quad,Cubic,Quart,Quint,Strong",function(r,e){var t=e<5?e+1:e;Xc(r+",Power"+(t-1),e?function(n){return Math.pow(n,t)}:function(n){return n},function(n){return 1-Math.pow(1-n,t)},function(n){return n<.5?Math.pow(n*2,t)/2:1-Math.pow((1-n)*2,t)/2})});Zt.Linear.easeNone=Zt.none=Zt.Linear.easeIn;Xc("Elastic",mx("in"),mx("out"),mx());(function(r,e){var t=1/e,n=2*t,i=2.5*t,a=function(s){return s0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Of(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if(Ff(),!arguments.length)return this._tTime;var a=this._dp;if(a&&a.smoothChildTiming&&this._ts){for(K_(this,n),!a._dp||a.parent||v5(a,this);a&&a.parent;)a.parent._time!==a._start+(a._ts>=0?a._tTime/a._ts:(a.totalDuration()-a._tTime)/-a._ts)&&a.totalTime(a._tTime,!0),a=a.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n0||!this._tDur&&!n)&&Po(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===An||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),h5(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+gL(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},e.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+gL(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var a=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*a,i):this._repeat?kf(this._tTime,a)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-An?0:this._rts;if(this._rts===n)return this;var a=this.parent&&this._ts?b0(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-An?0:this._rts,this.totalTime(dg(-Math.abs(this._delay),this.totalDuration(),a),i!==!1),j_(this),N7(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ff(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==An&&(this._tTime-=An)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=Fn(n);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Po(i,this,this._start-this._delay),this}return this._start},e.endTime=function(n){return this._start+(Ei(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?b0(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=P7);var i=kr;return kr=n,$M(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),kr=i,this},e.globalTime=function(n){for(var i=this,a=arguments.length?n:i.rawTime();i;)a=i._start+a/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):a},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,mL(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,mL(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,i){return this.totalTime(pa(this,n),Ei(i))},e.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,Ei(i)),this._dur||(this._zTime=-An),this},e.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},e.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-An:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-An,this},e.isActive=function(){var n=this.parent||this._dp,i=this._start,a;return!!(!n||this._ts&&this._initted&&n.isActive()&&(a=n.rawTime(!0))>=i&&a1?(i?(o[n]=i,a&&(o[n+"Params"]=a),n==="onUpdate"&&(this._onUpdate=i)):delete o[n],this):o[n]},e.then=function(n){var i=this,a=i._prom;return new Promise(function(o){var s=Xn(n)?n:d5,l=function(){var c=i.then;i.then=null,a&&a(),Xn(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=c),o(s),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){wp(this)},r}();aa(xv.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-An,_prom:0,_ps:!1,_rts:1});var pi=function(r){t5(e,r);function e(n,i){var a;return n===void 0&&(n={}),a=r.call(this,n)||this,a.labels={},a.smoothChildTiming=!!n.smoothChildTiming,a.autoRemoveChildren=!!n.autoRemoveChildren,a._sort=Ei(n.sortChildren),Bn&&Po(n.parent||Bn,fs(a),i),n.reversed&&a.reverse(),n.paused&&a.paused(!0),n.scrollTrigger&&g5(fs(a),n.scrollTrigger),a}var t=e.prototype;return t.to=function(i,a,o){return Wp(0,arguments,this),this},t.from=function(i,a,o){return Wp(1,arguments,this),this},t.fromTo=function(i,a,o,s){return Wp(2,arguments,this),this},t.set=function(i,a,o){return a.duration=0,a.parent=this,Hp(a).repeatDelay||(a.repeat=0),a.immediateRender=!!a.immediateRender,new sr(i,a,pa(this,o),1),this},t.call=function(i,a,o){return Po(this,sr.delayedCall(0,i,a),o)},t.staggerTo=function(i,a,o,s,l,u,c){return o.duration=a,o.stagger=o.stagger||s,o.onComplete=u,o.onCompleteParams=c,o.parent=this,new sr(i,o,pa(this,l)),this},t.staggerFrom=function(i,a,o,s,l,u,c){return o.runBackwards=1,Hp(o).immediateRender=Ei(o.immediateRender),this.staggerTo(i,a,o,s,l,u,c)},t.staggerFromTo=function(i,a,o,s,l,u,c,h){return s.startAt=o,Hp(s).immediateRender=Ei(s.immediateRender),this.staggerTo(i,a,s,l,u,c,h)},t.render=function(i,a,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:Fn(i),h=this._zTime<0!=i<0&&(this._initted||!u),f,d,p,g,v,m,y,_,x,S,A,w;if(this!==Bn&&c>l&&i>=0&&(c=l),c!==this._tTime||o||h){if(s!==this._time&&u&&(c+=this._time-s,i+=this._time-s),f=c,x=this._start,_=this._ts,m=!_,h&&(u||(s=this._zTime),(i||!a)&&(this._zTime=i)),this._repeat){if(A=this._yoyo,v=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(v*100+i,a,o);if(f=Fn(c%v),c===l?(g=this._repeat,f=u):(S=Fn(c/v),g=~~S,g&&g===S&&(f=u,g--),f>u&&(f=u)),S=kf(this._tTime,v),!s&&this._tTime&&S!==g&&this._tTime-S*v-this._dur<=0&&(S=g),A&&g&1&&(f=u-f,w=1),g!==S&&!this._lock){var M=A&&S&1,C=M===(A&&g&1);if(g=s&&i>=0)for(d=this._first;d;){if(p=d._next,(d._act||f>=d._start)&&d._ts&&y!==d){if(d.parent!==this)return this.render(i,a,o);if(d.render(d._ts>0?(f-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(f-d._start)*d._ts,a,o),f!==this._time||!this._ts&&!m){y=0,p&&(c+=this._zTime=-An);break}}d=p}else{d=this._last;for(var b=i<0?i:f;d;){if(p=d._prev,(d._act||b<=d._end)&&d._ts&&y!==d){if(d.parent!==this)return this.render(i,a,o);if(d.render(d._ts>0?(b-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(b-d._start)*d._ts,a,o||kr&&$M(d)),f!==this._time||!this._ts&&!m){y=0,p&&(c+=this._zTime=b?-An:An);break}}d=p}}if(y&&!a&&(this.pause(),y.render(f>=s?0:-An)._zTime=f>=s?1:-1,this._ts))return this._start=x,j_(this),this.render(i,a,o);this._onUpdate&&!a&&Ki(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&s)&&(x===this._start||Math.abs(_)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Wl(this,1),!a&&!(i<0&&!s)&&(c||s||!l)&&(Ki(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},t.add=function(i,a){var o=this;if(Ms(a)||(a=pa(this,a,i)),!(i instanceof xv)){if(ri(i))return i.forEach(function(s){return o.add(s,a)}),this;if(Er(i))return this.addLabel(i,a);if(Xn(i))i=sr.delayedCall(0,i);else return this}return this!==i?Po(this,i,a):this},t.getChildren=function(i,a,o,s){i===void 0&&(i=!0),a===void 0&&(a=!0),o===void 0&&(o=!0),s===void 0&&(s=-Ea);for(var l=[],u=this._first;u;)u._start>=s&&(u instanceof sr?a&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,a,o)))),u=u._next;return l},t.getById=function(i){for(var a=this.getChildren(1,1,1),o=a.length;o--;)if(a[o].vars.id===i)return a[o]},t.remove=function(i){return Er(i)?this.removeLabel(i):Xn(i)?this.killTweensOf(i):(i.parent===this&&q_(this,i),i===this._recent&&(this._recent=this._last),pc(this))},t.totalTime=function(i,a){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Fn(qi.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),r.prototype.totalTime.call(this,i,a),this._forcing=0,this):this._tTime},t.addLabel=function(i,a){return this.labels[i]=pa(this,a),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,a,o){var s=sr.delayedCall(0,a||mv,o);return s.data="isPause",this._hasPause=1,Po(this,s,pa(this,i))},t.removePause=function(i){var a=this._first;for(i=pa(this,i);a;)a._start===i&&a.data==="isPause"&&Wl(a),a=a._next},t.killTweensOf=function(i,a,o){for(var s=this.getTweensOf(i,o),l=s.length;l--;)ml!==s[l]&&s[l].kill(i,a);return this},t.getTweensOf=function(i,a){for(var o=[],s=La(i),l=this._first,u=Ms(a),c;l;)l instanceof sr?R7(l._targets,s)&&(u?(!ml||l._initted&&l._ts)&&l.globalTime(0)<=a&&l.globalTime(l.totalDuration())>a:!a||l.isActive())&&o.push(l):(c=l.getTweensOf(s,a)).length&&o.push.apply(o,c),l=l._next;return o},t.tweenTo=function(i,a){a=a||{};var o=this,s=pa(o,i),l=a,u=l.startAt,c=l.onStart,h=l.onStartParams,f=l.immediateRender,d,p=sr.to(o,aa({ease:a.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:a.duration||Math.abs((s-(u&&"time"in u?u.time:o._time))/o.timeScale())||An,onStart:function(){if(o.pause(),!d){var v=a.duration||Math.abs((s-(u&&"time"in u?u.time:o._time))/o.timeScale());p._dur!==v&&Of(p,v,0,1).render(p._time,!0,!0),d=1}c&&c.apply(p,h||[])}},a));return f?p.render(0):p},t.tweenFromTo=function(i,a,o){return this.tweenTo(a,aa({startAt:{time:pa(this,i)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),yL(this,pa(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),yL(this,pa(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+An)},t.shiftChildren=function(i,a,o){o===void 0&&(o=0);var s=this._first,l=this.labels,u;for(i=Fn(i);s;)s._start>=o&&(s._start+=i,s._end+=i),s=s._next;if(a)for(u in l)l[u]>=o&&(l[u]+=i);return pc(this)},t.invalidate=function(i){var a=this._first;for(this._lock=0;a;)a.invalidate(i),a=a._next;return r.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var a=this._first,o;a;)o=a._next,this.remove(a),a=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),pc(this)},t.totalDuration=function(i){var a=0,o=this,s=o._last,l=Ea,u,c,h;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(h=o.parent;s;)u=s._prev,s._dirty&&s.totalDuration(),c=s._start,c>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,Po(o,s,c-s._delay,1)._lock=0):l=c,c<0&&s._ts&&(a-=c,(!h&&!o._dp||h&&h.smoothChildTiming)&&(o._start+=Fn(c/o._ts),o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),l=0),s._end>a&&s._ts&&(a=s._end),s=u;Of(o,o===Bn&&o._time>a?o._time:a,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(Bn._ts&&(h5(Bn,b0(i,Bn)),u5=qi.frame),qi.frame>=pL){pL+=ea.autoSleep||120;var a=Bn._first;if((!a||!a._ts)&&ea.autoSleep&&qi._listeners.length<2){for(;a&&!a._ts;)a=a._next;a||qi.sleep()}}},e}(xv);aa(pi.prototype,{_lock:0,_hasPause:0,_forcing:0});var e9=function(e,t,n,i,a,o,s){var l=new Pi(this._pt,e,t,0,1,z5,null,a),u=0,c=0,h,f,d,p,g,v,m,y;for(l.b=n,l.e=i,n+="",i+="",(m=~i.indexOf("random("))&&(i=yv(i)),o&&(y=[n,i],o(y,e,t),n=y[0],i=y[1]),f=n.match(px)||[];h=px.exec(i);)p=h[0],g=i.substring(u,h.index),d?d=(d+1)%5:g.substr(-5)==="rgba("&&(d=1),p!==f[c++]&&(v=parseFloat(f[c-1])||0,l._pt={_next:l._pt,p:g||c===1?g:",",s:v,c:p.charAt(1)==="="?_f(v,p)-v:parseFloat(p)-v,m:d&&d<4?Math.round:0},u=px.lastIndex);return l.c=u")}),x.duration();else{A={};for(M in p)M==="ease"||M==="easeEach"||i9(M,p[M],A,p.easeEach);for(M in A)for(D=A[M].sort(function(I,N){return I.t-N.t}),P=0,S=0;Sl-An&&!c?l:iu&&(f=u)),m=this._yoyo&&p&1,m&&(x=this._yEase,f=u-f),v=kf(this._tTime,g),f===s&&!o&&this._initted&&p===v)return this._tTime=h,this;p!==v&&(_&&this._yEase&&R5(_,m),this.vars.repeatRefresh&&!m&&!this._lock&&f!==g&&this._initted&&(this._lock=o=1,this.render(Fn(g*p),!0).invalidate()._lock=0))}if(!this._initted){if(m5(this,c?i:f,o,a,h))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&p!==v))return this;if(u!==this._dur)return this.render(i,a,o)}if(this._tTime=h,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=y=(x||this._ease)(f/u),this._from&&(this.ratio=y=1-y),!s&&h&&!a&&!v&&(Ki(this,"onStart"),this._tTime!==h))return this;for(d=this._pt;d;)d.r(y,d.d),d=d._next;_&&_.render(i<0?i:_._dur*_._ease(f/this._dur),a,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!a&&(c&&rb(this,i,a,o),Ki(this,"onUpdate")),this._repeat&&p!==v&&this.vars.onRepeat&&!a&&this.parent&&Ki(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(c&&!this._onUpdate&&rb(this,i,!0,!0),(i||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Wl(this,1),!a&&!(c&&!s)&&(h||s||m)&&(Ki(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),r.prototype.invalidate.call(this,i)},t.resetTo=function(i,a,o,s,l){_v||qi.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||YM(this,u),c=this._ease(u/this._dur),n9(this,i,a,o,s,c,u,l)?this.resetTo(i,a,o,s,1):(K_(this,0),this.parent||p5(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,a){if(a===void 0&&(a="all"),!i&&(!a||a==="all"))return this._lazy=this._pt=0,this.parent?wp(this):this.scrollTrigger&&this.scrollTrigger.kill(!!kr),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,a,ml&&ml.vars.overwrite!==!0)._first||wp(this),this.parent&&o!==this.timeline.totalDuration()&&Of(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=i?La(i):s,u=this._ptLookup,c=this._pt,h,f,d,p,g,v,m;if((!a||a==="all")&&I7(s,l))return a==="all"&&(this._pt=0),wp(this);for(h=this._op=this._op||[],a!=="all"&&(Er(a)&&(g={},Li(a,function(y){return g[y]=1}),a=g),a=r9(s,a)),m=s.length;m--;)if(~l.indexOf(s[m])){f=u[m],a==="all"?(h[m]=a,p=f,d={}):(d=h[m]=h[m]||{},p=a);for(g in p)v=f&&f[g],v&&((!("kill"in v.d)||v.d.kill(g)===!0)&&q_(this,v,"_pt"),delete f[g]),d!=="all"&&(d[g]=1)}return this._initted&&!this._pt&&c&&wp(this),this},e.to=function(i,a){return new e(i,a,arguments[2])},e.from=function(i,a){return Wp(1,arguments)},e.delayedCall=function(i,a,o,s){return new e(a,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:a,onReverseComplete:a,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(i,a,o){return Wp(2,arguments)},e.set=function(i,a){return a.duration=0,a.repeatDelay||(a.repeat=0),new e(i,a)},e.killTweensOf=function(i,a,o){return Bn.killTweensOf(i,a,o)},e}(xv);aa(sr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Li("staggerTo,staggerFrom,staggerFromTo",function(r){sr[r]=function(){var e=new pi,t=ab.call(arguments,0);return t.splice(r==="staggerFromTo"?5:4,0,0),e[r].apply(e,t)}});var qM=function(e,t,n){return e[t]=n},F5=function(e,t,n){return e[t](n)},a9=function(e,t,n,i){return e[t](i.fp,n)},o9=function(e,t,n){return e.setAttribute(t,n)},jM=function(e,t){return Xn(e[t])?F5:BM(e[t])&&e.setAttribute?o9:qM},B5=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},s9=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},z5=function(e,t){var n=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+i,n=n._next;i+=t.c}t.set(t.t,t.p,i,t)},KM=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},l9=function(e,t,n,i){for(var a=this._pt,o;a;)o=a._next,a.p===i&&a.modifier(e,t,n),a=o},u9=function(e){for(var t=this._pt,n,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?q_(this,t,"_pt"):t.dep||(n=1),t=i;return!n},c9=function(e,t,n,i){i.mSet(e,t,i.m.call(i.tween,n,i.mt),i)},U5=function(e){for(var t=e._pt,n,i,a,o;t;){for(n=t._next,i=a;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:o)?t._prev._next=t:a=t,(t._next=i)?i._prev=t:o=t,t=n}e._pt=a},Pi=function(){function r(t,n,i,a,o,s,l,u,c){this.t=n,this.s=a,this.c=o,this.p=i,this.r=s||B5,this.d=l||this,this.set=u||qM,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=r.prototype;return e.modifier=function(n,i,a){this.mSet=this.mSet||this.set,this.set=c9,this.m=n,this.mt=a,this.tween=i},r}();Li(HM+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(r){return GM[r]=1});ia.TweenMax=ia.TweenLite=sr;ia.TimelineLite=ia.TimelineMax=pi;Bn=new pi({sortChildren:!1,defaults:If,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ea.stringFilter=L5;var gc=[],Wy={},h9=[],xL=0,f9=0,_x=function(e){return(Wy[e]||h9).map(function(t){return t()})},ub=function(){var e=Date.now(),t=[];e-xL>2&&(_x("matchMediaInit"),gc.forEach(function(n){var i=n.queries,a=n.conditions,o,s,l,u;for(s in i)o=To.matchMedia(i[s]).matches,o&&(l=1),o!==a[s]&&(a[s]=o,u=1);u&&(n.revert(),l&&t.push(n))}),_x("matchMediaRevert"),t.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),xL=e,_x("matchMedia"))},V5=function(){function r(t,n){this.selector=n&&ob(n),this.data=[],this._r=[],this.isReverted=!1,this.id=f9++,t&&this.add(t)}var e=r.prototype;return e.add=function(n,i,a){Xn(n)&&(a=i,i=n,n=Xn);var o=this,s=function(){var u=In,c=o.selector,h;return u&&u!==o&&u.data.push(o),a&&(o.selector=ob(a)),In=o,h=i.apply(o,arguments),Xn(h)&&o._r.push(h),In=u,o.selector=c,o.isReverted=!1,h};return o.last=s,n===Xn?s(o,function(l){return o.add(null,l)}):n?o[n]=s:s},e.ignore=function(n){var i=In;In=null,n(this),In=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof r?n.push.apply(n,i.getTweens()):i instanceof sr&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,i){var a=this;if(n?function(){for(var s=a.getTweens(),l=a.data.length,u;l--;)u=a.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return s.splice(s.indexOf(c),1)}));for(s.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,h){return h.g-c.g||-1/0}).forEach(function(c){return c.t.revert(n)}),l=a.data.length;l--;)u=a.data[l],u instanceof pi?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof sr)&&u.revert&&u.revert(n);a._r.forEach(function(c){return c(n,a)}),a.isReverted=!0}():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),i)for(var o=gc.length;o--;)gc[o].id===this.id&&gc.splice(o,1)},e.revert=function(n){this.kill(n||{})},r}(),d9=function(){function r(t){this.contexts=[],this.scope=t,In&&In.data.push(this)}var e=r.prototype;return e.add=function(n,i,a){Wo(n)||(n={matches:n});var o=new V5(0,a||this.scope),s=o.conditions={},l,u,c;In&&!o.selector&&(o.selector=In.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=n;for(u in n)u==="all"?c=1:(l=To.matchMedia(n[u]),l&&(gc.indexOf(o)<0&&gc.push(o),(s[u]=l.matches)&&(c=1),l.addListener?l.addListener(ub):l.addEventListener("change",ub)));return c&&i(o,function(h){return o.add(null,h)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},r}(),T0={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n1){var i=e.map(function(c){return ki.quickSetter(c,t,n)}),a=i.length;return function(c){for(var h=a;h--;)i[h](c)}}e=e[0]||{};var o=Xi[t],s=dc(e),l=s.harness&&(s.harness.aliases||{})[t]||t,u=o?function(c){var h=new o;uf._pt=0,h.init(e,n?c+n:c,uf,0,[e]),h.render(1,h),uf._pt&&KM(1,uf)}:s.set(e,l);return o?u:function(c){return u(e,l,n?c+n:c,s,1)}},quickTo:function(e,t,n){var i,a=ki.to(e,aa((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),o=function(l,u,c){return a.resetTo(t,l,u,c)};return o.tween=a,o},isTweening:function(e){return Bn.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=vc(e.ease,If.ease)),vL(If,e||{})},config:function(e){return vL(ea,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,i=e.plugins,a=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(s){return s&&!Xi[s]&&!ia[s]&&gv(t+" effect requires "+s+" plugin.")}),vx[t]=function(s,l,u){return n(La(s),aa(l||{},a),u)},o&&(pi.prototype[t]=function(s,l,u){return this.add(vx[t](s,Wo(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){Zt[e]=vc(t)},parseEase:function(e,t){return arguments.length?vc(e,t):Zt},getById:function(e){return Bn.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new pi(e),i,a;for(n.smoothChildTiming=Ei(e.smoothChildTiming),Bn.remove(n),n._dp=0,n._time=n._tTime=Bn._time,i=Bn._first;i;)a=i._next,(t||!(!i._dur&&i instanceof sr&&i.vars.onComplete===i._targets[0]))&&Po(n,i,i._start-i._delay),i=a;return Po(Bn,n,0),n},context:function(e,t){return e?new V5(e,t):In},matchMedia:function(e){return new d9(e)},matchMediaRefresh:function(){return gc.forEach(function(e){var t=e.conditions,n,i;for(i in t)t[i]&&(t[i]=!1,n=1);n&&e.revert()})||ub()},addEventListener:function(e,t){var n=Wy[e]||(Wy[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Wy[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},utils:{wrap:$7,wrapYoyo:X7,distribute:x5,random:A5,snap:S5,normalize:W7,getUnit:ei,clamp:U7,splitColor:C5,toArray:La,selector:ob,mapRange:b5,pipe:G7,unitize:H7,interpolate:Y7,shuffle:_5},install:s5,effects:vx,ticker:qi,updateRoot:pi.updateRoot,plugins:Xi,globalTimeline:Bn,core:{PropTween:Pi,globals:l5,Tween:sr,Timeline:pi,Animation:xv,getCache:dc,_removeLinkedListItem:q_,reverting:function(){return kr},context:function(e){return e&&In&&(In.data.push(e),e._ctx=In),In},suppressOverwrites:function(e){return FM=e}}};Li("to,from,fromTo,delayedCall,set,killTweensOf",function(r){return T0[r]=sr[r]});qi.add(pi.updateRoot);uf=T0.to({},{duration:0});var p9=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},v9=function(e,t){var n=e._targets,i,a,o;for(i in t)for(a=n.length;a--;)o=e._ptLookup[a][i],o&&(o=o.d)&&(o._pt&&(o=p9(o,i)),o&&o.modifier&&o.modifier(t[i],e,n[a],i))},xx=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,a,o){o._onInit=function(s){var l,u;if(Er(a)&&(l={},Li(a,function(c){return l[c]=1}),a=l),t){l={};for(u in a)l[u]=t(a[u]);a=l}v9(s,a)}}}},ki=T0.registerPlugin({name:"attr",init:function(e,t,n,i,a){var o,s,l;this.tween=n;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],i,a,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(e,t){for(var n=t._pt;n;)kr?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},xx("roundProps",sb),xx("modifiers"),xx("snap",S5))||T0;sr.version=pi.version=ki.version="3.14.2";o5=1;zM()&&Ff();Zt.Power0;Zt.Power1;Zt.Power2;Zt.Power3;Zt.Power4;Zt.Linear;Zt.Quad;Zt.Cubic;Zt.Quart;Zt.Quint;Zt.Strong;Zt.Elastic;Zt.Back;Zt.SteppedEase;Zt.Bounce;Zt.Sine;Zt.Expo;Zt.Circ;/*!
+ * CSSPlugin 3.14.2
+ * https://gsap.com
+ *
+ * Copyright 2008-2025, GreenSock. All rights reserved.
+ * Subject to the terms at https://gsap.com/standard-license
+ * @author: Jack Doyle, jack@greensock.com
+*/var SL,yl,xf,ZM,nc,AL,QM,g9=function(){return typeof window!="undefined"},Cs={},Gu=180/Math.PI,Sf=Math.PI/180,ah=Math.atan2,wL=1e8,JM=/([A-Z])/g,m9=/(left|right|width|margin|padding|x)/i,y9=/[\s,\(]\S/,ko={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},cb=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},_9=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},x9=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},S9=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},A9=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},G5=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},H5=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},w9=function(e,t,n){return e.style[t]=n},b9=function(e,t,n){return e.style.setProperty(t,n)},T9=function(e,t,n){return e._gsap[t]=n},M9=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},C9=function(e,t,n,i,a){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(a,o)},E9=function(e,t,n,i,a){var o=e._gsap;o[t]=n,o.renderTransform(a,o)},zn="transform",Ri=zn+"Origin",L9=function r(e,t){var n=this,i=this.target,a=i.style,o=i._gsap;if(e in Cs&&a){if(this.tfm=this.tfm||{},e!=="transform")e=ko[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return n.tfm[s]=vs(i,s)}):this.tfm[e]=o.x?o[e]:vs(i,e),e===Ri&&(this.tfm.zOrigin=o.zOrigin);else return ko.transform.split(",").forEach(function(s){return r.call(n,s,t)});if(this.props.indexOf(zn)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ri,t,"")),e=zn}(a||t)&&this.props.push(e,t,a[e])},W5=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},P9=function(){var e=this.props,t=this.target,n=t.style,i=t._gsap,a,o;for(a=0;a=0?bL[o]:"")+e},fb=function(){g9()&&window.document&&(SL=window,yl=SL.document,xf=yl.documentElement,nc=hb("div")||{style:{}},hb("div"),zn=Bf(zn),Ri=zn+"Origin",nc.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",X5=!!Bf("perspective"),QM=ki.core.reverting,ZM=1)},TL=function(e){var t=e.ownerSVGElement,n=hb("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),a;i.style.display="block",n.appendChild(i),xf.appendChild(n);try{a=i.getBBox()}catch(o){}return n.removeChild(i),xf.removeChild(n),a},ML=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Y5=function(e){var t,n;try{t=e.getBBox()}catch(i){t=TL(e),n=1}return t&&(t.width||t.height)||n||(t=TL(e)),t&&!t.width&&!t.x&&!t.y?{x:+ML(e,["x","cx","x1"])||0,y:+ML(e,["y","cy","y1"])||0,width:0,height:0}:t},q5=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Y5(e))},$l=function(e,t){if(t){var n=e.style,i;t in Cs&&t!==Ri&&(t=zn),n.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),n.removeProperty(i==="--"?t:t.replace(JM,"-$1").toLowerCase())):n.removeAttribute(t)}},_l=function(e,t,n,i,a,o){var s=new Pi(e._pt,t,n,0,1,o?H5:G5);return e._pt=s,s.b=i,s.e=a,e._props.push(n),s},CL={deg:1,rad:1,turn:1},R9={grid:1,flex:1},Xl=function r(e,t,n,i){var a=parseFloat(n)||0,o=(n+"").trim().substr((a+"").length)||"px",s=nc.style,l=m9.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),h=100,f=i==="px",d=i==="%",p,g,v,m;if(i===o||!a||CL[i]||CL[o])return a;if(o!=="px"&&!f&&(a=r(e,t,n,"px")),m=e.getCTM&&q5(e),(d||o==="%")&&(Cs[t]||~t.indexOf("adius")))return p=m?e.getBBox()[l?"width":"height"]:e[c],Jn(d?a/p*h:a/100*p);if(s[l?"width":"height"]=h+(f?o:i),g=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,m&&(g=(e.ownerSVGElement||{}).parentNode),(!g||g===yl||!g.appendChild)&&(g=yl.body),v=g._gsap,v&&d&&v.width&&l&&v.time===qi.time&&!v.uncache)return Jn(a/v.width*h);if(d&&(t==="height"||t==="width")){var y=e.style[t];e.style[t]=h+i,p=e[c],y?e.style[t]=y:$l(e,t)}else(d||o==="%")&&!R9[Zi(g,"display")]&&(s.position=Zi(e,"position")),g===e&&(s.position="static"),g.appendChild(nc),p=nc[c],g.removeChild(nc),s.position="absolute";return l&&d&&(v=dc(g),v.time=qi.time,v.width=g[c]),Jn(f?p*a/h:p&&a?h/p*a:0)},vs=function(e,t,n,i){var a;return ZM||fb(),t in ko&&t!=="transform"&&(t=ko[t],~t.indexOf(",")&&(t=t.split(",")[0])),Cs[t]&&t!=="transform"?(a=Av(e,i),a=t!=="transformOrigin"?a[t]:a.svg?a.origin:C0(Zi(e,Ri))+" "+a.zOrigin+"px"):(a=e.style[t],(!a||a==="auto"||i||~(a+"").indexOf("calc("))&&(a=M0[t]&&M0[t](e,t,n)||Zi(e,t)||c5(e,t)||(t==="opacity"?1:0))),n&&!~(a+"").trim().indexOf(" ")?Xl(e,t,a,n)+n:a},D9=function(e,t,n,i){if(!n||n==="none"){var a=Bf(t,e,1),o=a&&Zi(e,a,1);o&&o!==n?(t=a,n=o):t==="borderColor"&&(n=Zi(e,"borderTopColor"))}var s=new Pi(this._pt,e.style,t,0,1,z5),l=0,u=0,c,h,f,d,p,g,v,m,y,_,x,S;if(s.b=n,s.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=Zi(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(g=e.style[t],e.style[t]=i,i=Zi(e,t)||i,g?e.style[t]=g:$l(e,t)),c=[n,i],L5(c),n=c[0],i=c[1],f=n.match(lf)||[],S=i.match(lf)||[],S.length){for(;h=lf.exec(i);)v=h[0],y=i.substring(l,h.index),p?p=(p+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(p=1),v!==(g=f[u++]||"")&&(d=parseFloat(g)||0,x=g.substr((d+"").length),v.charAt(1)==="="&&(v=_f(d,v)+x),m=parseFloat(v),_=v.substr((m+"").length),l=lf.lastIndex-_.length,_||(_=_||ea.units[t]||x,l===i.length&&(i+=_,s.e+=_)),x!==_&&(d=Xl(e,t,g,_)||0),s._pt={_next:s._pt,p:y||u===1?y:",",s:d,c:m-d,m:p&&p<4||t==="zIndex"?Math.round:0});s.c=l-1;)s=a[u],Cs[s]&&(l=1,s=s==="transformOrigin"?Ri:zn),$l(n,s);l&&($l(n,zn),o&&(o.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Av(n,1),o.uncache=1,W5(i)))}},M0={clearProps:function(e,t,n,i,a){if(a.data!=="isFromStart"){var o=e._pt=new Pi(e._pt,t,n,0,0,N9);return o.u=i,o.pr=-10,o.tween=a,e._props.push(n),1}}},Sv=[1,0,0,1,0,0],j5={},K5=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},LL=function(e){var t=Zi(e,zn);return K5(t)?Sv:t.substr(7).match(i5).map(Jn)},eC=function(e,t){var n=e._gsap||dc(e),i=e.style,a=LL(e),o,s,l,u;return n.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,a=[l.a,l.b,l.c,l.d,l.e,l.f],a.join(",")==="1,0,0,1,0,0"?Sv:a):(a===Sv&&!e.offsetParent&&e!==xf&&!n.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,s=e.nextElementSibling,xf.appendChild(e)),a=LL(e),l?i.display=l:$l(e,"display"),u&&(s?o.insertBefore(e,s):o?o.appendChild(e):xf.removeChild(e))),t&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},db=function(e,t,n,i,a,o){var s=e._gsap,l=a||eC(e,!0),u=s.xOrigin||0,c=s.yOrigin||0,h=s.xOffset||0,f=s.yOffset||0,d=l[0],p=l[1],g=l[2],v=l[3],m=l[4],y=l[5],_=t.split(" "),x=parseFloat(_[0])||0,S=parseFloat(_[1])||0,A,w,M,C;n?l!==Sv&&(w=d*v-p*g)&&(M=x*(v/w)+S*(-g/w)+(g*y-v*m)/w,C=x*(-p/w)+S*(d/w)-(d*y-p*m)/w,x=M,S=C):(A=Y5(e),x=A.x+(~_[0].indexOf("%")?x/100*A.width:x),S=A.y+(~(_[1]||_[0]).indexOf("%")?S/100*A.height:S)),i||i!==!1&&s.smooth?(m=x-u,y=S-c,s.xOffset=h+(m*d+y*g)-m,s.yOffset=f+(m*p+y*v)-y):s.xOffset=s.yOffset=0,s.xOrigin=x,s.yOrigin=S,s.smooth=!!i,s.origin=t,s.originIsAbsolute=!!n,e.style[Ri]="0px 0px",o&&(_l(o,s,"xOrigin",u,x),_l(o,s,"yOrigin",c,S),_l(o,s,"xOffset",h,s.xOffset),_l(o,s,"yOffset",f,s.yOffset)),e.setAttribute("data-svg-origin",x+" "+S)},Av=function(e,t){var n=e._gsap||new I5(e);if("x"in n&&!t&&!n.uncache)return n;var i=e.style,a=n.scaleX<0,o="px",s="deg",l=getComputedStyle(e),u=Zi(e,Ri)||"0",c,h,f,d,p,g,v,m,y,_,x,S,A,w,M,C,b,T,P,D,L,E,I,N,R,F,O,V,H,Q,W,Z;return c=h=f=g=v=m=y=_=x=0,d=p=1,n.svg=!!(e.getCTM&&q5(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[zn]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[zn]!=="none"?l[zn]:"")),i.scale=i.rotate=i.translate="none"),w=eC(e,n.svg),n.svg&&(n.uncache?(R=e.getBBox(),u=n.xOrigin-R.x+"px "+(n.yOrigin-R.y)+"px",N=""):N=!t&&e.getAttribute("data-svg-origin"),db(e,N||u,!!N||n.originIsAbsolute,n.smooth!==!1,w)),S=n.xOrigin||0,A=n.yOrigin||0,w!==Sv&&(T=w[0],P=w[1],D=w[2],L=w[3],c=E=w[4],h=I=w[5],w.length===6?(d=Math.sqrt(T*T+P*P),p=Math.sqrt(L*L+D*D),g=T||P?ah(P,T)*Gu:0,y=D||L?ah(D,L)*Gu+g:0,y&&(p*=Math.abs(Math.cos(y*Sf))),n.svg&&(c-=S-(S*T+A*D),h-=A-(S*P+A*L))):(Z=w[6],Q=w[7],O=w[8],V=w[9],H=w[10],W=w[11],c=w[12],h=w[13],f=w[14],M=ah(Z,H),v=M*Gu,M&&(C=Math.cos(-M),b=Math.sin(-M),N=E*C+O*b,R=I*C+V*b,F=Z*C+H*b,O=E*-b+O*C,V=I*-b+V*C,H=Z*-b+H*C,W=Q*-b+W*C,E=N,I=R,Z=F),M=ah(-D,H),m=M*Gu,M&&(C=Math.cos(-M),b=Math.sin(-M),N=T*C-O*b,R=P*C-V*b,F=D*C-H*b,W=L*b+W*C,T=N,P=R,D=F),M=ah(P,T),g=M*Gu,M&&(C=Math.cos(M),b=Math.sin(M),N=T*C+P*b,R=E*C+I*b,P=P*C-T*b,I=I*C-E*b,T=N,E=R),v&&Math.abs(v)+Math.abs(g)>359.9&&(v=g=0,m=180-m),d=Jn(Math.sqrt(T*T+P*P+D*D)),p=Jn(Math.sqrt(I*I+Z*Z)),M=ah(E,I),y=Math.abs(M)>2e-4?M*Gu:0,x=W?1/(W<0?-W:W):0),n.svg&&(N=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!K5(Zi(e,zn)),N&&e.setAttribute("transform",N))),Math.abs(y)>90&&Math.abs(y)<270&&(a?(d*=-1,y+=g<=0?180:-180,g+=g<=0?180:-180):(p*=-1,y+=y<=0?180:-180)),t=t||n.uncache,n.x=c-((n.xPercent=c&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+o,n.y=h-((n.yPercent=h&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+o,n.z=f+o,n.scaleX=Jn(d),n.scaleY=Jn(p),n.rotation=Jn(g)+s,n.rotationX=Jn(v)+s,n.rotationY=Jn(m)+s,n.skewX=y+s,n.skewY=_+s,n.transformPerspective=x+o,(n.zOrigin=parseFloat(u.split(" ")[2])||!t&&n.zOrigin||0)&&(i[Ri]=C0(u)),n.xOffset=n.yOffset=0,n.force3D=ea.force3D,n.renderTransform=n.svg?O9:X5?Z5:k9,n.uncache=0,n},C0=function(e){return(e=e.split(" "))[0]+" "+e[1]},Sx=function(e,t,n){var i=ei(t);return Jn(parseFloat(t)+parseFloat(Xl(e,"x",n+"px",i)))+i},k9=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Z5(e,t)},hu="0deg",Dd="0px",fu=") ",Z5=function(e,t){var n=t||this,i=n.xPercent,a=n.yPercent,o=n.x,s=n.y,l=n.z,u=n.rotation,c=n.rotationY,h=n.rotationX,f=n.skewX,d=n.skewY,p=n.scaleX,g=n.scaleY,v=n.transformPerspective,m=n.force3D,y=n.target,_=n.zOrigin,x="",S=m==="auto"&&e&&e!==1||m===!0;if(_&&(h!==hu||c!==hu)){var A=parseFloat(c)*Sf,w=Math.sin(A),M=Math.cos(A),C;A=parseFloat(h)*Sf,C=Math.cos(A),o=Sx(y,o,w*C*-_),s=Sx(y,s,-Math.sin(A)*-_),l=Sx(y,l,M*C*-_+_)}v!==Dd&&(x+="perspective("+v+fu),(i||a)&&(x+="translate("+i+"%, "+a+"%) "),(S||o!==Dd||s!==Dd||l!==Dd)&&(x+=l!==Dd||S?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+fu),u!==hu&&(x+="rotate("+u+fu),c!==hu&&(x+="rotateY("+c+fu),h!==hu&&(x+="rotateX("+h+fu),(f!==hu||d!==hu)&&(x+="skew("+f+", "+d+fu),(p!==1||g!==1)&&(x+="scale("+p+", "+g+fu),y.style[zn]=x||"translate(0, 0)"},O9=function(e,t){var n=t||this,i=n.xPercent,a=n.yPercent,o=n.x,s=n.y,l=n.rotation,u=n.skewX,c=n.skewY,h=n.scaleX,f=n.scaleY,d=n.target,p=n.xOrigin,g=n.yOrigin,v=n.xOffset,m=n.yOffset,y=n.forceCSS,_=parseFloat(o),x=parseFloat(s),S,A,w,M,C;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Sf,u*=Sf,S=Math.cos(l)*h,A=Math.sin(l)*h,w=Math.sin(l-u)*-f,M=Math.cos(l-u)*f,u&&(c*=Sf,C=Math.tan(u-c),C=Math.sqrt(1+C*C),w*=C,M*=C,c&&(C=Math.tan(c),C=Math.sqrt(1+C*C),S*=C,A*=C)),S=Jn(S),A=Jn(A),w=Jn(w),M=Jn(M)):(S=h,M=f,A=w=0),(_&&!~(o+"").indexOf("px")||x&&!~(s+"").indexOf("px"))&&(_=Xl(d,"x",o,"px"),x=Xl(d,"y",s,"px")),(p||g||v||m)&&(_=Jn(_+p-(p*S+g*w)+v),x=Jn(x+g-(p*A+g*M)+m)),(i||a)&&(C=d.getBBox(),_=Jn(_+i/100*C.width),x=Jn(x+a/100*C.height)),C="matrix("+S+","+A+","+w+","+M+","+_+","+x+")",d.setAttribute("transform",C),y&&(d.style[zn]=C)},F9=function(e,t,n,i,a){var o=360,s=Er(a),l=parseFloat(a)*(s&&~a.indexOf("rad")?Gu:1),u=l-i,c=i+u+"deg",h,f;return s&&(h=a.split("_")[1],h==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),h==="cw"&&u<0?u=(u+o*wL)%o-~~(u/o)*o:h==="ccw"&&u>0&&(u=(u-o*wL)%o-~~(u/o)*o)),e._pt=f=new Pi(e._pt,t,n,i,u,_9),f.e=c,f.u="deg",e._props.push(n),f},PL=function(e,t){for(var n in t)e[n]=t[n];return e},B9=function(e,t,n){var i=PL({},n._gsap),a="perspective,force3D,transformOrigin,svgOrigin",o=n.style,s,l,u,c,h,f,d,p;i.svg?(u=n.getAttribute("transform"),n.setAttribute("transform",""),o[zn]=t,s=Av(n,1),$l(n,zn),n.setAttribute("transform",u)):(u=getComputedStyle(n)[zn],o[zn]=t,s=Av(n,1),o[zn]=u);for(l in Cs)u=i[l],c=s[l],u!==c&&a.indexOf(l)<0&&(d=ei(u),p=ei(c),h=d!==p?Xl(n,l,u,p):parseFloat(u),f=parseFloat(c),e._pt=new Pi(e._pt,s,l,h,f-h,cb),e._pt.u=p||0,e._props.push(l));PL(s,i)};Li("padding,margin,Width,Radius",function(r,e){var t="Top",n="Right",i="Bottom",a="Left",o=(e<3?[t,n,i,a]:[t+a,t+n,i+n,i+a]).map(function(s){return e<2?r+s:"border"+s+r});M0[e>1?"border"+r:r]=function(s,l,u,c,h){var f,d;if(arguments.length<4)return f=o.map(function(p){return vs(s,p,u)}),d=f.join(" "),d.split(f[0]).length===5?f[0]:d;f=(c+"").split(" "),d={},o.forEach(function(p,g){return d[p]=f[g]=f[g]||f[(g-1)/2|0]}),s.init(l,d,h)}});var Q5={name:"css",register:fb,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,i,a){var o=this._props,s=e.style,l=n.vars.startAt,u,c,h,f,d,p,g,v,m,y,_,x,S,A,w,M,C;ZM||fb(),this.styles=this.styles||$5(e),M=this.styles.props,this.tween=n;for(g in t)if(g!=="autoRound"&&(c=t[g],!(Xi[g]&&N5(g,t,n,i,e,a)))){if(d=typeof c,p=M0[g],d==="function"&&(c=c.call(n,i,e,a),d=typeof c),d==="string"&&~c.indexOf("random(")&&(c=yv(c)),p)p(this,e,g,c,n)&&(w=1);else if(g.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(g)+"").trim(),c+="",Nl.lastIndex=0,Nl.test(u)||(v=ei(u),m=ei(c),m?v!==m&&(u=Xl(e,g,u,m)+m):v&&(c+=v)),this.add(s,"setProperty",u,c,i,a,0,0,g),o.push(g),M.push(g,0,s[g]);else if(d!=="undefined"){if(l&&g in l?(u=typeof l[g]=="function"?l[g].call(n,i,e,a):l[g],Er(u)&&~u.indexOf("random(")&&(u=yv(u)),ei(u+"")||u==="auto"||(u+=ea.units[g]||ei(vs(e,g))||""),(u+"").charAt(1)==="="&&(u=vs(e,g))):u=vs(e,g),f=parseFloat(u),y=d==="string"&&c.charAt(1)==="="&&c.substr(0,2),y&&(c=c.substr(2)),h=parseFloat(c),g in ko&&(g==="autoAlpha"&&(f===1&&vs(e,"visibility")==="hidden"&&h&&(f=0),M.push("visibility",0,s.visibility),_l(this,s,"visibility",f?"inherit":"hidden",h?"inherit":"hidden",!h)),g!=="scale"&&g!=="transform"&&(g=ko[g],~g.indexOf(",")&&(g=g.split(",")[0]))),_=g in Cs,_){if(this.styles.save(g),C=c,d==="string"&&c.substring(0,6)==="var(--"){if(c=Zi(e,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var b=e.style.perspective;e.style.perspective=c,c=Zi(e,"perspective"),b?e.style.perspective=b:$l(e,"perspective")}h=parseFloat(c)}if(x||(S=e._gsap,S.renderTransform&&!t.parseTransform||Av(e,t.parseTransform),A=t.smoothOrigin!==!1&&S.smooth,x=this._pt=new Pi(this._pt,s,zn,0,1,S.renderTransform,S,0,-1),x.dep=1),g==="scale")this._pt=new Pi(this._pt,S,"scaleY",S.scaleY,(y?_f(S.scaleY,y+h):h)-S.scaleY||0,cb),this._pt.u=0,o.push("scaleY",g),g+="X";else if(g==="transformOrigin"){M.push(Ri,0,s[Ri]),c=I9(c),S.svg?db(e,c,0,A,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==S.zOrigin&&_l(this,S,"zOrigin",S.zOrigin,m),_l(this,s,g,C0(u),C0(c)));continue}else if(g==="svgOrigin"){db(e,c,1,A,0,this);continue}else if(g in j5){F9(this,S,g,f,y?_f(f,y+c):c);continue}else if(g==="smoothOrigin"){_l(this,S,"smooth",S.smooth,c);continue}else if(g==="force3D"){S[g]=c;continue}else if(g==="transform"){B9(this,c,e);continue}}else g in s||(g=Bf(g)||g);if(_||(h||h===0)&&(f||f===0)&&!y9.test(c)&&g in s)v=(u+"").substr((f+"").length),h||(h=0),m=ei(c)||(g in ea.units?ea.units[g]:v),v!==m&&(f=Xl(e,g,u,m)),this._pt=new Pi(this._pt,_?S:s,g,f,(y?_f(f,y+h):h)-f,!_&&(m==="px"||g==="zIndex")&&t.autoRound!==!1?A9:cb),this._pt.u=m||0,_&&C!==c?(this._pt.b=u,this._pt.e=C,this._pt.r=S9):v!==m&&m!=="%"&&(this._pt.b=u,this._pt.r=x9);else if(g in s)D9.call(this,e,g,u,y?y+c:c);else if(g in e)this.add(e,g,u||e[g],y?y+c:c,i,a);else if(g!=="parseTransform"){VM(g,c);continue}_||(g in s?M.push(g,0,s[g]):typeof e[g]=="function"?M.push(g,2,e[g]()):M.push(g,1,u||e[g])),o.push(g)}}w&&U5(this)},render:function(e,t){if(t.tween._time||!QM())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:vs,aliases:ko,getSetter:function(e,t,n){var i=ko[t];return i&&i.indexOf(",")<0&&(t=i),t in Cs&&t!==Ri&&(e._gsap.x||vs(e,"x"))?n&&AL===n?t==="scale"?M9:T9:(AL=n||{})&&(t==="scale"?C9:E9):e.style&&!BM(e.style[t])?w9:~t.indexOf("-")?b9:jM(e,t)},core:{_removeProperty:$l,_getMatrix:eC}};ki.utils.checkPrefix=Bf;ki.core.getStyleSaver=$5;(function(r,e,t,n){var i=Li(r+","+e+","+t,function(a){Cs[a]=1});Li(e,function(a){ea.units[a]="deg",j5[a]=1}),ko[i[13]]=r+","+e,Li(n,function(a){var o=a.split(":");ko[o[1]]=i[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Li("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){ea.units[r]="px"});ki.registerPlugin(Q5);var $n=ki.registerPlugin(Q5)||ki;$n.core.Tween;const z9={name:"SvglineAnimation",props:{width:{type:Number,default:135},height:{type:Number,default:150},path:{type:String,default:"M0 72.5H682L732 0.5H3082"},color:{type:String,default:"#0091FF"},duration:{type:Number,default:3},length:{type:Number,default:100},begin:{type:Number,default:0},dir:{type:Array,default:()=>[0,1]},strokeWidth:{type:Number,default:4}},data(){let r=1;return{maskId:"svgline-"+r,radialGradientId:"radialGradient-"+r}},mounted(){let r=this._.uid;this.maskId="svgline-"+r,this.radialGradientId="radialGradient-"+r}},U9={class:"svg-line-animation"},V9=["viewBox"],G9=["id"],H9=["stop-opacity"],W9=["stop-opacity"],$9=["id"],X9=["r","fill"],Y9=["begin","dur","path","keyPoints"],q9=["d","stroke","stroke-width","mask"];function j9(r,e,t,n,i,a){return ie(),oe("div",U9,[(ie(),oe("svg",{width:"100%",height:"100%",viewBox:`0 0 ${t.width} ${t.height}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[G("defs",null,[G("radialGradient",{id:i.radialGradientId,cx:"50%",cy:"50%",fx:"100%",fy:"50%",r:"50%"},[G("stop",{offset:"0%","stop-color":"#fff","stop-opacity":t.dir[1]},null,8,H9),G("stop",{offset:"100%","stop-color":"#fff","stop-opacity":t.dir[0]},null,8,W9)],8,G9),G("mask",{id:i.maskId},[G("circle",{r:t.length,cx:"0",cy:"0",fill:`url(#${i.radialGradientId})`},[G("animateMotion",{begin:`${t.begin}s`,dur:`${t.duration}s`,path:t.path,rotate:"auto",keyPoints:`${t.dir[0]};${t.dir[1]}`,keyTimes:"0;1",repeatCount:"indefinite"},null,8,Y9)],8,X9)],8,$9)]),G("path",{class:"path-line",d:t.path,stroke:t.color,"stroke-width":t.strokeWidth,mask:`url(#${i.maskId})`},null,8,q9)],8,V9))])}const E0=OM(z9,[["render",j9]]);const K9={class:"m-header"},Z9={class:"m-header-wrap"},Q9={class:"m-header-title"},J9={class:"m-header-subtext"},e$={class:"m-header-left",style:{color:"#fff"}},t$={class:"m-header-right"},n$={class:"m-header-line"},r$={__name:"index",props:{title:{type:String,default:"数据可视化大屏"},subText:{type:String,default:"Visualization Platform"}},setup(r){return(e,t)=>(ie(),oe("div",K9,[G("div",Z9,[G("div",Q9,Te(r.title),1),G("div",J9,Te(r.subText),1)]),G("div",e$,[Df(e.$slots,"left")]),G("div",t$,[Df(e.$slots,"right")]),G("div",n$,[$e(E0,{class:"m-header-line-left",width:961,height:79,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:100,path:"M1 1.52783L535 25.6808C552.73 26.5835 571.454 31.3851 588.834 39.2194C593.758 41.4385 598.692 43.7289 603.643 46.0273C633.567 59.9182 664.121 74.1016 696.754 74.6262C696.765 74.6264 696.775 74.6265 696.786 74.6267C821.602 76.5993 879.336 78 961 78"}),$e(E0,{class:"m-header-line-right",width:961,height:79,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:100,path:"M1 1.52783L535 25.6808C552.73 26.5835 571.454 31.3851 588.834 39.2194C593.758 41.4385 598.692 43.7289 603.643 46.0273C633.567 59.9182 664.121 74.1016 696.754 74.6262C696.765 74.6264 696.775 74.6265 696.786 74.6267C821.602 76.5993 879.336 78 961 78"})])]))}};const i$={class:"m-menu"},a$={__name:"index",props:{defaultActive:{type:[String,Number],default:""}},emits:["select"],setup(r,{emit:e}){const t=e,n=r,i=tt(n.defaultActive);return uL("updateActive",o=>{i.value=o,t("select",o)}),uL("activeIndex",i),ni(()=>n.defaultActive,o=>{o!==i.value&&(i.value=o)}),(o,s)=>(ie(),oe("div",i$,[Df(o.$slots,"default")]))}},o$={__name:"index",props:{index:{type:[String,Number],required:!0}},setup(r){const e=r,t=sf("updateActive"),n=sf("activeIndex"),i=()=>{t(e.index)};return(a,o)=>(ie(),oe("div",{class:Vt(["m-menu-item",{"is-active":r.index===_n(n)}]),onClick:i},[Df(a.$slots,"default")],2))}};let RL=0;const DL="webkit moz ms o".split(" ");let Mo,Co;const s$=typeof window=="undefined";if(s$)Mo=function(){},Co=function(){};else{Mo=window.requestAnimationFrame,Co=window.cancelAnimationFrame;let r;for(let e=0;e{e(t+n)},n);return RL=t+n,i},Co=function(e){window.clearTimeout(e)})}const l$={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator(r){return r>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default(r,e,t,n){return t*(-Math.pow(2,-10*r/n)+1)*1024/1023+e}}},data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=Mo(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){Co(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,Mo(this.count)},reset(){this.startTime=null,Co(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(r){this.startTime||(this.startTime=r),this.timestamp=r;const e=r-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e1?this.decimal+e[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;i.test(t);)t=t.replace(i,"$1"+this.separator+"$2");return this.prefix+t+n+this.suffix}},destroyed(){Co(this.rAF)}};function u$(r,e,t,n,i,a){return ie(),oe("span",null,Te(i.displayValue),1)}const J5=OM(l$,[["render",u$]]);typeof window!="undefined"&&window.Vue&&window.Vue.component("count-to",J5);const c$={class:"count-card-left"},h$={class:"count-card-title"},f$={class:"title-zh"},d$={key:0,class:"title-en"},p$={class:"count-card-right"},v$={class:"unit"},g$={__name:"index",props:{info:{type:Object,default:()=>({icon:"xiaoshoujine",zh:"2023年销售金额",en:"Sales amount in 2023",value:9500,unit:"万元",decimals:0})}},setup(r){const e=r,t=tt(!0),n=tt(!1),i=tt(0);let a=null;const o=Se(()=>e.info.duration||1800);ni(()=>[e.info.value,e.info.zh],()=>{a&&window.clearTimeout(a),t.value=!0,n.value=!1,i.value+=1},{immediate:!0});function s(c){return c.toUpperCase()}function l(){t.value=!0,n.value=!1}function u(){t.value=!1,n.value=!0,a&&window.clearTimeout(a),a=window.setTimeout(()=>{n.value=!1},900)}return uo(()=>{a&&window.clearTimeout(a)}),(c,h)=>(ie(),oe("div",{class:Vt(["count-card",{"is-counting":t.value,"is-settled":n.value}])},[G("div",c$,[G("div",{class:Vt(["count-card-icon","icon-"+r.info.icon])},null,2),G("div",h$,[G("div",f$,Te(r.info.zh),1),r.info.en?(ie(),oe("div",d$,Te(s(r.info.en)),1)):Tt("",!0)])]),G("div",p$,[(ie(),oe("div",{class:"value",key:i.value},[$e(_n(J5),{startVal:0,endVal:r.info.value,decimals:r.info.decimals,duration:o.value,separator:"",autoplay:!0,onMountedCallback:l,onCallback:u},null,8,["endVal","decimals","duration"])])),G("div",v$,Te(r.info.unit),1)])],2))}},m$=""+new URL("title-zs1-c15a5ee8-balabala-1782613078975.svg",import.meta.url).href,y$=""+new URL("saoguang-ccf84a88-balabala-1782613078975.svg",import.meta.url).href,_$=""+new URL("content-bottom-left-arrow-3a8a61f3-balabala-1782613078975.svg",import.meta.url).href,x$=""+new URL("content-bottom-right-arrow-a3c5270d-balabala-1782613078975.svg",import.meta.url).href,IL=""+new URL("content-middle-line-162bc0d5-balabala-1782613078975.svg",import.meta.url).href;const S$={class:"m-card-hd"},A$={class:"m-card-hd-bg"},w$=["width","viewBox"],b$=["clip-path"],T$=["width"],M$=["id"],C$=["d"],E$=["d","fill"],L$=["d","fill","mask"],P$=["clip-path"],R$=["x1"],D$=["id","x1"],I$=["id"],N$=["id"],k$=["width"],O$=["id"],F$={class:"m-card-hd-title"},B$=["width","height","viewBox"],z$={opacity:"0.6"},U$=["d"],V$=["d"],G$={class:"m-card-bd-content"},tn={__name:"index",props:{width:{type:Number,default:398},height:{type:Number,default:200},title:{type:String,default:"标题"}},setup(r){const e=r,t=tt(1),n=Se(()=>{let o=e.width;return`M165 0.5
+ L165.707 -0.207107
+ L165.414 -0.5
+ H165
+ V0.5Z
+ M10 0.5
+ V-0.5
+ H9.58579
+ L9.29289 -0.207107
+ L10 0.5Z
+ M175 10.5
+ L174.293 11.2071
+ L174.586 11.5
+ H175
+ V10.5Z
+ M${o} 10.5
+ H${o+1}
+ V9.5
+ H${o}
+ V10.5Z
+ M${o} 34.5
+ V35.5
+ H${o+1}
+ V34.5
+ H${o}Z
+ M0 34.5
+ H-1
+ V35.5
+ H0
+ V34.5Z
+ M0 10.5
+ L-0.707107 9.79289
+ L-1 10.0858
+ V10.5
+ H0Z
+ M165 -0.5
+ H10
+ V1.5
+ H165
+ V-0.5Z
+ M175.707 9.79289
+ L165.707 -0.207107
+ L164.293 1.20711
+ L174.293 11.2071
+ L175.707 9.79289Z
+ M${o} 9.5
+ H175
+ V11.5
+ H${o}
+ V9.5Z
+ M${o+1} 34.5
+ V10.5
+ H397
+ V34.5
+ H${o+1}Z
+ M0 35.5
+ H${o}
+ V33.5
+ H0
+ V35.5Z
+ M-1 10.5
+ V34.5
+ H1
+ V10.5
+ H-1Z
+ M9.29289 -0.207107
+ L-0.707107 9.79289
+ L0.707107 11.2071
+ L10.7071 1.20711
+ L9.29289 -0.207107Z`}),i=Se(()=>{let s=e.height-156,l=e.width;return`M3.485 ${46.0565+s/2}
+ V${45.8735+s/2}
+ L3.36682 ${45.7337+s/2}
+ L0.5 ${42.343+s/2}
+ V1
+ H${l-.5}
+ V${42.3431+s/2}
+ L${l-3.367} ${45.7337+s/2}
+ L${l-3.485} ${45.8735+s/2}
+ V${46.0565+s/2}
+ L${l-3.367} ${88.745+s/2}
+ L${l-.5} ${92.135+s/2}
+ V${155+s}
+ H0.5
+ V${92.135+s/2}
+ L3.36682 ${88.745+s/2}
+ L3.485 ${88.605+s/2}
+ V${88.422+s/2}
+ V${46.0565+s/2}Z`}),a=Se(()=>`width:${e.width}px;height:${e.height}px;`);return Ko(()=>{t.value="__"+QB().uid}),(o,s)=>(ie(),oe("div",{class:"m-card",style:un(a.value)},[G("div",S$,[G("div",A$,[(ie(),oe("svg",{width:r.width,height:"36",viewBox:`0 0 ${r.width} 36`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[G("g",{"clip-path":`url(#clip0_70_69244${t.value})`},[G("rect",{y:"34.5",width:r.width,height:"1",fill:"url(#paint0_linear_70_69244)"},null,8,T$),G("mask",{id:`path-2-inside-1_70_69244${t.value}`,fill:"white"},[G("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:`M10 0.5H165L175 10.5H${r.width}V34.5H0V10.5L10 0.5Z`},null,8,C$)],8,M$),G("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:`M10 0.5H165L175 10.5H${r.width}V34.5H0V10.5L10 0.5Z`,fill:`url(#paint1_linear_70_69244${t.value})`},null,8,E$),G("path",{d:n.value,fill:`url(#paint2_linear_70_69244${t.value})`,mask:`url(#path-2-inside-1_70_69244${t.value})`},null,8,L$),s[1]||(s[1]=fc('',4)),G("g",{style:{"mix-blend-mode":"plus-lighter"},"clip-path":`url(#clip1_70_69244${t.value})`},[...s[0]||(s[0]=[fc('',4)])],8,P$)],8,b$),G("defs",null,[G("linearGradient",{id:"paint0_linear_70_69244",x1:r.width,y1:"35.5021",x2:"0",y2:"35.5021",gradientUnits:"userSpaceOnUse"},[...s[2]||(s[2]=[G("stop",{"stop-color":"#35A8EB","stop-opacity":"0.1"},null,-1),G("stop",{offset:"1","stop-color":"#30DCFF"},null,-1)])],8,R$),G("linearGradient",{id:`paint1_linear_70_69244${t.value}`,x1:r.width,y1:"17.5",x2:"7.94819",y2:"17.5",gradientUnits:"userSpaceOnUse"},[...s[3]||(s[3]=[G("stop",{offset:"0.0364889","stop-color":"#35A8EB","stop-opacity":"0.11"},null,-1),G("stop",{offset:"1","stop-color":"#30C1FF","stop-opacity":"0.27"},null,-1)])],8,D$),G("linearGradient",{id:`paint2_linear_70_69244${t.value}`,x1:"40.8948",y1:"13.5",x2:"40.895",y2:"-6.50005",gradientUnits:"userSpaceOnUse"},[...s[4]||(s[4]=[G("stop",{"stop-color":"#35A8EB","stop-opacity":"0"},null,-1),G("stop",{offset:"1","stop-color":"#30DCFF"},null,-1)])],8,I$),s[6]||(s[6]=fc('',8)),G("clipPath",{id:`clip0_70_69244${t.value}`},[G("rect",{width:r.width,height:"35",fill:"white",transform:"translate(0 0.5)"},null,8,k$)],8,N$),G("clipPath",{id:`clip1_70_69244${t.value}`},[...s[5]||(s[5]=[G("rect",{width:"130",height:"4",fill:"white",transform:"matrix(1 1.64302e-07 -0.0495776 -0.99877 28 4.5)"},null,-1)])],8,O$)])],8,w$))]),s[7]||(s[7]=G("img",{class:"m-card-hd-zs1",src:m$,alt:""},null,-1)),s[8]||(s[8]=G("div",{class:"saoguang"},[G("img",{src:y$,alt:""})],-1)),G("div",F$,Te(r.title),1)]),G("div",{class:"m-card-bd",style:un(a.value)},[G("div",{class:"m-card-bd-bg",style:un(a.value)},[(ie(),oe("svg",{width:r.width,height:r.height,viewBox:`0 0 ${r.width} ${r.height}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[G("g",z$,[G("path",{d:i.value,fill:"rgba(26, 57, 77,1)"},null,8,U$),G("path",{d:i.value,stroke:"url(#paint1_linear_70_69585)"},null,8,V$)]),s[9]||(s[9]=G("defs",null,[G("linearGradient",{id:"paint1_linear_70_69585",x1:"199",y1:"203.499",x2:"199",y2:"0.499359",gradientUnits:"userSpaceOnUse"},[G("stop",{"stop-color":"#4FC5DD"}),G("stop",{offset:"1","stop-color":"#05839D","stop-opacity":"0"})])],-1))],8,B$)),s[10]||(s[10]=G("img",{class:"m-card-bd-bottom-left-arrow",src:_$,alt:""},null,-1)),s[11]||(s[11]=G("img",{class:"m-card-bd-bottom-right-arrow",src:x$,alt:""},null,-1)),s[12]||(s[12]=G("img",{class:"m-card-bd-middle-left-line",src:IL,alt:""},null,-1)),s[13]||(s[13]=G("img",{class:"m-card-bd-middle-right-line",src:IL,alt:""},null,-1))],4),G("div",G$,[Df(o.$slots,"default")])],4)],4))}};/**
+ * @license
+ * Copyright 2010-2023 Three.js Authors
+ * SPDX-License-Identifier: MIT
+ */const tC="161",oh={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},sh={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},H$=0,NL=1,W$=2,ez=1,$$=2,hs=3,Es=0,Di=1,ur=2,kl=0,mc=1,Eo=2,kL=3,OL=4,tz=5,vl=100,X$=101,Y$=102,FL=103,BL=104,q$=200,nz=201,j$=202,K$=203,pb=204,vb=205,Z$=206,Q$=207,rz=208,J$=209,eX=210,tX=211,nX=212,rX=213,iX=214,aX=0,oX=1,sX=2,L0=3,lX=4,uX=5,cX=6,hX=7,nC=0,fX=1,dX=2,Ol=0,pX=1,vX=2,gX=3,mX=4,yX=5,_X=6,zL="attached",xX="detached",iz=300,zf=301,Uf=302,gb=303,mb=304,Z_=306,jr=1e3,ti=1001,P0=1002,vr=1003,yb=1004,Qh=1005,lr=1006,$y=1007,gs=1008,Fl=1009,SX=1010,AX=1011,rC=1012,az=1013,xl=1014,Ro=1015,wv=1016,oz=1017,sz=1018,yc=1020,wX=1021,ba=1023,bX=1024,TX=1025,_c=1026,Vf=1027,MX=1028,lz=1029,CX=1030,uz=1031,cz=1033,Ax=33776,bx=33777,Tx=33778,Mx=33779,UL=35840,VL=35841,GL=35842,HL=35843,hz=36196,WL=37492,$L=37496,XL=37808,YL=37809,qL=37810,jL=37811,KL=37812,ZL=37813,QL=37814,JL=37815,eP=37816,tP=37817,nP=37818,rP=37819,iP=37820,aP=37821,Cx=36492,oP=36494,sP=36495,EX=36283,lP=36284,uP=36285,cP=36286,bv=2300,Gf=2301,Ex=2302,hP=2400,fP=2401,dP=2402,LX=2500,PX=0,fz=1,_b=2,dz=3e3,xc=3001,RX=3200,DX=3201,iC=0,IX=1,Ta="",dn="srgb",yr="srgb-linear",aC="display-p3",Q_="display-p3-linear",R0="linear",Ln="srgb",D0="rec709",I0="p3",lh=7680,pP=519,NX=512,kX=513,OX=514,pz=515,FX=516,BX=517,zX=518,UX=519,xb=35044,vP="300 es",Sb=1035,ms=2e3,N0=2001;class Yc{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});const n=this._listeners;n[e]===void 0&&(n[e]=[]),n[e].indexOf(t)===-1&&n[e].push(t)}hasEventListener(e,t){if(this._listeners===void 0)return!1;const n=this._listeners;return n[e]!==void 0&&n[e].indexOf(t)!==-1}removeEventListener(e,t){if(this._listeners===void 0)return;const i=this._listeners[e];if(i!==void 0){const a=i.indexOf(t);a!==-1&&i.splice(a,1)}}dispatchEvent(e){if(this._listeners===void 0)return;const n=this._listeners[e.type];if(n!==void 0){e.target=this;const i=n.slice(0);for(let a=0,o=i.length;a>8&255]+Gr[r>>16&255]+Gr[r>>24&255]+"-"+Gr[e&255]+Gr[e>>8&255]+"-"+Gr[e>>16&15|64]+Gr[e>>24&255]+"-"+Gr[t&63|128]+Gr[t>>8&255]+"-"+Gr[t>>16&255]+Gr[t>>24&255]+Gr[n&255]+Gr[n>>8&255]+Gr[n>>16&255]+Gr[n>>24&255]).toLowerCase()}function hr(r,e,t){return Math.max(e,Math.min(t,r))}function oC(r,e){return(r%e+e)%e}function VX(r,e,t,n,i){return n+(r-e)*(i-n)/(t-e)}function GX(r,e,t){return r!==e?(t-r)/(e-r):0}function Yp(r,e,t){return(1-t)*r+t*e}function HX(r,e,t,n){return Yp(r,e,1-Math.exp(-t*n))}function WX(r,e=1){return e-Math.abs(oC(r,e*2)-e)}function $X(r,e,t){return r<=e?0:r>=t?1:(r=(r-e)/(t-e),r*r*(3-2*r))}function XX(r,e,t){return r<=e?0:r>=t?1:(r=(r-e)/(t-e),r*r*r*(r*(r*6-15)+10))}function YX(r,e){return r+Math.floor(Math.random()*(e-r+1))}function qX(r,e){return r+Math.random()*(e-r)}function jX(r){return r*(.5-Math.random())}function KX(r){r!==void 0&&(gP=r);let e=gP+=1831565813;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}function ZX(r){return r*Xp}function QX(r){return r*Hf}function Ab(r){return(r&r-1)===0&&r!==0}function JX(r){return Math.pow(2,Math.ceil(Math.log(r)/Math.LN2))}function k0(r){return Math.pow(2,Math.floor(Math.log(r)/Math.LN2))}function eY(r,e,t,n,i){const a=Math.cos,o=Math.sin,s=a(t/2),l=o(t/2),u=a((e+n)/2),c=o((e+n)/2),h=a((e-n)/2),f=o((e-n)/2),d=a((n-e)/2),p=o((n-e)/2);switch(i){case"XYX":r.set(s*c,l*h,l*f,s*u);break;case"YZY":r.set(l*f,s*c,l*h,s*u);break;case"ZXZ":r.set(l*h,l*f,s*c,s*u);break;case"XZX":r.set(s*c,l*p,l*d,s*u);break;case"YXY":r.set(l*d,s*c,l*p,s*u);break;case"ZYZ":r.set(l*p,l*d,s*c,s*u);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+i)}}function Ka(r,e){switch(e.constructor){case Float32Array:return r;case Uint32Array:return r/4294967295;case Uint16Array:return r/65535;case Uint8Array:return r/255;case Int32Array:return Math.max(r/2147483647,-1);case Int16Array:return Math.max(r/32767,-1);case Int8Array:return Math.max(r/127,-1);default:throw new Error("Invalid component type.")}}function cn(r,e){switch(e.constructor){case Float32Array:return r;case Uint32Array:return Math.round(r*4294967295);case Uint16Array:return Math.round(r*65535);case Uint8Array:return Math.round(r*255);case Int32Array:return Math.round(r*2147483647);case Int16Array:return Math.round(r*32767);case Int8Array:return Math.round(r*127);default:throw new Error("Invalid component type.")}}const sC={DEG2RAD:Xp,RAD2DEG:Hf,generateUUID:Ra,clamp:hr,euclideanModulo:oC,mapLinear:VX,inverseLerp:GX,lerp:Yp,damp:HX,pingpong:WX,smoothstep:$X,smootherstep:XX,randInt:YX,randFloat:qX,randFloatSpread:jX,seededRandom:KX,degToRad:ZX,radToDeg:QX,isPowerOfTwo:Ab,ceilPowerOfTwo:JX,floorPowerOfTwo:k0,setQuaternionFromProperEuler:eY,normalize:cn,denormalize:Ka};class Me{constructor(e=0,t=0){Me.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,n=this.y,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6],this.y=i[1]*t+i[4]*n+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}clampLength(e,t){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const n=this.dot(e)/t;return Math.acos(hr(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const n=Math.cos(t),i=Math.sin(t),a=this.x-e.x,o=this.y-e.y;return this.x=a*n-o*i+e.x,this.y=a*i+o*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class Ht{constructor(e,t,n,i,a,o,s,l,u){Ht.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,t,n,i,a,o,s,l,u)}set(e,t,n,i,a,o,s,l,u){const c=this.elements;return c[0]=e,c[1]=i,c[2]=s,c[3]=t,c[4]=a,c[5]=l,c[6]=n,c[7]=o,c[8]=u,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const n=e.elements,i=t.elements,a=this.elements,o=n[0],s=n[3],l=n[6],u=n[1],c=n[4],h=n[7],f=n[2],d=n[5],p=n[8],g=i[0],v=i[3],m=i[6],y=i[1],_=i[4],x=i[7],S=i[2],A=i[5],w=i[8];return a[0]=o*g+s*y+l*S,a[3]=o*v+s*_+l*A,a[6]=o*m+s*x+l*w,a[1]=u*g+c*y+h*S,a[4]=u*v+c*_+h*A,a[7]=u*m+c*x+h*w,a[2]=f*g+d*y+p*S,a[5]=f*v+d*_+p*A,a[8]=f*m+d*x+p*w,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],u=e[7],c=e[8];return t*o*c-t*s*u-n*a*c+n*s*l+i*a*u-i*o*l}invert(){const e=this.elements,t=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=c*o-s*u,f=s*l-c*a,d=u*a-o*l,p=t*h+n*f+i*d;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const g=1/p;return e[0]=h*g,e[1]=(i*u-c*n)*g,e[2]=(s*n-i*o)*g,e[3]=f*g,e[4]=(c*t-i*l)*g,e[5]=(i*a-s*t)*g,e[6]=d*g,e[7]=(n*l-u*t)*g,e[8]=(o*t-n*a)*g,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,i,a,o,s){const l=Math.cos(a),u=Math.sin(a);return this.set(n*l,n*u,-n*(l*o+u*s)+o+e,-i*u,i*l,-i*(-u*o+l*s)+s+t,0,0,1),this}scale(e,t){return this.premultiply(Lx.makeScale(e,t)),this}rotate(e){return this.premultiply(Lx.makeRotation(-e)),this}translate(e,t){return this.premultiply(Lx.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){const t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){const t=this.elements,n=e.elements;for(let i=0;i<9;i++)if(t[i]!==n[i])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){const n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}}const Lx=new Ht;function vz(r){for(let e=r.length-1;e>=0;--e)if(r[e]>=65535)return!0;return!1}function Tv(r){return document.createElementNS("http://www.w3.org/1999/xhtml",r)}function tY(){const r=Tv("canvas");return r.style.display="block",r}const mP={};function Sc(r){r in mP||(mP[r]=!0,console.warn(r))}const yP=new Ht().set(.8224621,.177538,0,.0331941,.9668058,0,.0170827,.0723974,.9105199),_P=new Ht().set(1.2249401,-.2249404,0,-.0420569,1.0420571,0,-.0196376,-.0786361,1.0982735),$g={[yr]:{transfer:R0,primaries:D0,toReference:r=>r,fromReference:r=>r},[dn]:{transfer:Ln,primaries:D0,toReference:r=>r.convertSRGBToLinear(),fromReference:r=>r.convertLinearToSRGB()},[Q_]:{transfer:R0,primaries:I0,toReference:r=>r.applyMatrix3(_P),fromReference:r=>r.applyMatrix3(yP)},[aC]:{transfer:Ln,primaries:I0,toReference:r=>r.convertSRGBToLinear().applyMatrix3(_P),fromReference:r=>r.applyMatrix3(yP).convertLinearToSRGB()}},nY=new Set([yr,Q_]),ln={enabled:!0,_workingColorSpace:yr,get workingColorSpace(){return this._workingColorSpace},set workingColorSpace(r){if(!nY.has(r))throw new Error(`Unsupported working color space, "${r}".`);this._workingColorSpace=r},convert:function(r,e,t){if(this.enabled===!1||e===t||!e||!t)return r;const n=$g[e].toReference,i=$g[t].fromReference;return i(n(r))},fromWorkingColorSpace:function(r,e){return this.convert(r,this._workingColorSpace,e)},toWorkingColorSpace:function(r,e){return this.convert(r,e,this._workingColorSpace)},getPrimaries:function(r){return $g[r].primaries},getTransfer:function(r){return r===Ta?R0:$g[r].transfer}};function Af(r){return r<.04045?r*.0773993808:Math.pow(r*.9478672986+.0521327014,2.4)}function Px(r){return r<.0031308?r*12.92:1.055*Math.pow(r,.41666)-.055}let uh;class gz{static getDataURL(e){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement=="undefined")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{uh===void 0&&(uh=Tv("canvas")),uh.width=e.width,uh.height=e.height;const n=uh.getContext("2d");e instanceof ImageData?n.putImageData(e,0,0):n.drawImage(e,0,0,e.width,e.height),t=uh}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement!="undefined"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement!="undefined"&&e instanceof HTMLCanvasElement||typeof ImageBitmap!="undefined"&&e instanceof ImageBitmap){const t=Tv("canvas");t.width=e.width,t.height=e.height;const n=t.getContext("2d");n.drawImage(e,0,0,e.width,e.height);const i=n.getImageData(0,0,e.width,e.height),a=i.data;for(let o=0;o0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==iz)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case jr:e.x=e.x-Math.floor(e.x);break;case ti:e.x=e.x<0?0:1;break;case P0:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case jr:e.y=e.y-Math.floor(e.y);break;case ti:e.y=e.y<0?0:1;break;case P0:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}get encoding(){return Sc("THREE.Texture: Property .encoding has been replaced by .colorSpace."),this.colorSpace===dn?xc:dz}set encoding(e){Sc("THREE.Texture: Property .encoding has been replaced by .colorSpace."),this.colorSpace=e===xc?dn:Ta}}mr.DEFAULT_IMAGE=null;mr.DEFAULT_MAPPING=iz;mr.DEFAULT_ANISOTROPY=1;class an{constructor(e=0,t=0,n=0,i=1){an.prototype.isVector4=!0,this.x=e,this.y=t,this.z=n,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,i){return this.x=e,this.y=t,this.z=n,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,n=this.y,i=this.z,a=this.w,o=e.elements;return this.x=o[0]*t+o[4]*n+o[8]*i+o[12]*a,this.y=o[1]*t+o[5]*n+o[9]*i+o[13]*a,this.z=o[2]*t+o[6]*n+o[10]*i+o[14]*a,this.w=o[3]*t+o[7]*n+o[11]*i+o[15]*a,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,i,a;const l=e.elements,u=l[0],c=l[4],h=l[8],f=l[1],d=l[5],p=l[9],g=l[2],v=l[6],m=l[10];if(Math.abs(c-f)<.01&&Math.abs(h-g)<.01&&Math.abs(p-v)<.01){if(Math.abs(c+f)<.1&&Math.abs(h+g)<.1&&Math.abs(p+v)<.1&&Math.abs(u+d+m-3)<.1)return this.set(1,0,0,0),this;t=Math.PI;const _=(u+1)/2,x=(d+1)/2,S=(m+1)/2,A=(c+f)/4,w=(h+g)/4,M=(p+v)/4;return _>x&&_>S?_<.01?(n=0,i=.707106781,a=.707106781):(n=Math.sqrt(_),i=A/n,a=w/n):x>S?x<.01?(n=.707106781,i=0,a=.707106781):(i=Math.sqrt(x),n=A/i,a=M/i):S<.01?(n=.707106781,i=.707106781,a=0):(a=Math.sqrt(S),n=w/a,i=M/a),this.set(n,i,a,t),this}let y=Math.sqrt((v-p)*(v-p)+(h-g)*(h-g)+(f-c)*(f-c));return Math.abs(y)<.001&&(y=1),this.x=(v-p)/y,this.y=(h-g)/y,this.z=(f-c)/y,this.w=Math.acos((u+d+m-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),this}clampLength(e,t){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class aY extends Yc{constructor(e=1,t=1,n={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new an(0,0,e,t),this.scissorTest=!1,this.viewport=new an(0,0,e,t);const i={width:e,height:t,depth:1};n.encoding!==void 0&&(Sc("THREE.WebGLRenderTarget: option.encoding has been replaced by option.colorSpace."),n.colorSpace=n.encoding===xc?dn:Ta),n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:lr,depthBuffer:!0,stencilBuffer:!1,depthTexture:null,samples:0},n),this.texture=new mr(i,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=n.generateMipmaps,this.texture.internalFormat=n.internalFormat,this.depthBuffer=n.depthBuffer,this.stencilBuffer=n.stencilBuffer,this.depthTexture=n.depthTexture,this.samples=n.samples}setSize(e,t,n=1){(this.width!==e||this.height!==t||this.depth!==n)&&(this.width=e,this.height=t,this.depth=n,this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.scissor.copy(e.scissor),this.scissorTest=e.scissorTest,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;const t=Object.assign({},e.texture.image);return this.texture.source=new mz(t),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class kc extends aY{constructor(e=1,t=1,n={}){super(e,t,n),this.isWebGLRenderTarget=!0}}class yz extends mr{constructor(e=null,t=1,n=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:t,height:n,depth:i},this.magFilter=vr,this.minFilter=vr,this.wrapR=ti,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class oY extends mr{constructor(e=null,t=1,n=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:n,depth:i},this.magFilter=vr,this.minFilter=vr,this.wrapR=ti,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class ao{constructor(e=0,t=0,n=0,i=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=n,this._w=i}static slerpFlat(e,t,n,i,a,o,s){let l=n[i+0],u=n[i+1],c=n[i+2],h=n[i+3];const f=a[o+0],d=a[o+1],p=a[o+2],g=a[o+3];if(s===0){e[t+0]=l,e[t+1]=u,e[t+2]=c,e[t+3]=h;return}if(s===1){e[t+0]=f,e[t+1]=d,e[t+2]=p,e[t+3]=g;return}if(h!==g||l!==f||u!==d||c!==p){let v=1-s;const m=l*f+u*d+c*p+h*g,y=m>=0?1:-1,_=1-m*m;if(_>Number.EPSILON){const S=Math.sqrt(_),A=Math.atan2(S,m*y);v=Math.sin(v*A)/S,s=Math.sin(s*A)/S}const x=s*y;if(l=l*v+f*x,u=u*v+d*x,c=c*v+p*x,h=h*v+g*x,v===1-s){const S=1/Math.sqrt(l*l+u*u+c*c+h*h);l*=S,u*=S,c*=S,h*=S}}e[t]=l,e[t+1]=u,e[t+2]=c,e[t+3]=h}static multiplyQuaternionsFlat(e,t,n,i,a,o){const s=n[i],l=n[i+1],u=n[i+2],c=n[i+3],h=a[o],f=a[o+1],d=a[o+2],p=a[o+3];return e[t]=s*p+c*h+l*d-u*f,e[t+1]=l*p+c*f+u*h-s*d,e[t+2]=u*p+c*d+s*f-l*h,e[t+3]=c*p-s*h-l*f-u*d,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,i){return this._x=e,this._y=t,this._z=n,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){const n=e._x,i=e._y,a=e._z,o=e._order,s=Math.cos,l=Math.sin,u=s(n/2),c=s(i/2),h=s(a/2),f=l(n/2),d=l(i/2),p=l(a/2);switch(o){case"XYZ":this._x=f*c*h+u*d*p,this._y=u*d*h-f*c*p,this._z=u*c*p+f*d*h,this._w=u*c*h-f*d*p;break;case"YXZ":this._x=f*c*h+u*d*p,this._y=u*d*h-f*c*p,this._z=u*c*p-f*d*h,this._w=u*c*h+f*d*p;break;case"ZXY":this._x=f*c*h-u*d*p,this._y=u*d*h+f*c*p,this._z=u*c*p+f*d*h,this._w=u*c*h-f*d*p;break;case"ZYX":this._x=f*c*h-u*d*p,this._y=u*d*h+f*c*p,this._z=u*c*p-f*d*h,this._w=u*c*h+f*d*p;break;case"YZX":this._x=f*c*h+u*d*p,this._y=u*d*h+f*c*p,this._z=u*c*p-f*d*h,this._w=u*c*h-f*d*p;break;case"XZY":this._x=f*c*h-u*d*p,this._y=u*d*h-f*c*p,this._z=u*c*p+f*d*h,this._w=u*c*h+f*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return t===!0&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const n=t/2,i=Math.sin(n);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,n=t[0],i=t[4],a=t[8],o=t[1],s=t[5],l=t[9],u=t[2],c=t[6],h=t[10],f=n+s+h;if(f>0){const d=.5/Math.sqrt(f+1);this._w=.25/d,this._x=(c-l)*d,this._y=(a-u)*d,this._z=(o-i)*d}else if(n>s&&n>h){const d=2*Math.sqrt(1+n-s-h);this._w=(c-l)/d,this._x=.25*d,this._y=(i+o)/d,this._z=(a+u)/d}else if(s>h){const d=2*Math.sqrt(1+s-n-h);this._w=(a-u)/d,this._x=(i+o)/d,this._y=.25*d,this._z=(l+c)/d}else{const d=2*Math.sqrt(1+h-n-s);this._w=(o-i)/d,this._x=(a+u)/d,this._y=(l+c)/d,this._z=.25*d}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return nMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=n):(this._x=0,this._y=-e.z,this._z=e.y,this._w=n)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=n),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(hr(this.dot(e),-1,1)))}rotateTowards(e,t){const n=this.angleTo(e);if(n===0)return this;const i=Math.min(1,t/n);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const n=e._x,i=e._y,a=e._z,o=e._w,s=t._x,l=t._y,u=t._z,c=t._w;return this._x=n*c+o*s+i*u-a*l,this._y=i*c+o*l+a*s-n*u,this._z=a*c+o*u+n*l-i*s,this._w=o*c-n*s-i*l-a*u,this._onChangeCallback(),this}slerp(e,t){if(t===0)return this;if(t===1)return this.copy(e);const n=this._x,i=this._y,a=this._z,o=this._w;let s=o*e._w+n*e._x+i*e._y+a*e._z;if(s<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,s=-s):this.copy(e),s>=1)return this._w=o,this._x=n,this._y=i,this._z=a,this;const l=1-s*s;if(l<=Number.EPSILON){const d=1-t;return this._w=d*o+t*this._w,this._x=d*n+t*this._x,this._y=d*i+t*this._y,this._z=d*a+t*this._z,this.normalize(),this}const u=Math.sqrt(l),c=Math.atan2(u,s),h=Math.sin((1-t)*c)/u,f=Math.sin(t*c)/u;return this._w=o*h+this._w*f,this._x=n*h+this._x*f,this._y=i*h+this._y*f,this._z=a*h+this._z*f,this._onChangeCallback(),this}slerpQuaternions(e,t,n){return this.copy(e).slerp(t,n)}random(){const e=Math.random(),t=Math.sqrt(1-e),n=Math.sqrt(e),i=2*Math.PI*Math.random(),a=2*Math.PI*Math.random();return this.set(t*Math.cos(i),n*Math.sin(a),n*Math.cos(a),t*Math.sin(i))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class X{constructor(e=0,t=0,n=0){X.prototype.isVector3=!0,this.x=e,this.y=t,this.z=n}set(e,t,n){return n===void 0&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(xP.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(xP.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,n=this.y,i=this.z,a=e.elements;return this.x=a[0]*t+a[3]*n+a[6]*i,this.y=a[1]*t+a[4]*n+a[7]*i,this.z=a[2]*t+a[5]*n+a[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,n=this.y,i=this.z,a=e.elements,o=1/(a[3]*t+a[7]*n+a[11]*i+a[15]);return this.x=(a[0]*t+a[4]*n+a[8]*i+a[12])*o,this.y=(a[1]*t+a[5]*n+a[9]*i+a[13])*o,this.z=(a[2]*t+a[6]*n+a[10]*i+a[14])*o,this}applyQuaternion(e){const t=this.x,n=this.y,i=this.z,a=e.x,o=e.y,s=e.z,l=e.w,u=2*(o*i-s*n),c=2*(s*t-a*i),h=2*(a*n-o*t);return this.x=t+l*u+o*h-s*c,this.y=n+l*c+s*u-a*h,this.z=i+l*h+a*c-o*u,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,n=this.y,i=this.z,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*i,this.y=a[1]*t+a[5]*n+a[9]*i,this.z=a[2]*t+a[6]*n+a[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this}clampLength(e,t){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){const n=e.x,i=e.y,a=e.z,o=t.x,s=t.y,l=t.z;return this.x=i*l-a*s,this.y=a*o-n*l,this.z=n*s-i*o,this}projectOnVector(e){const t=e.lengthSq();if(t===0)return this.set(0,0,0);const n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return Dx.copy(this).projectOnVector(e),this.sub(Dx)}reflect(e){return this.sub(Dx.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const n=this.dot(e)/t;return Math.acos(hr(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,n=this.y-e.y,i=this.z-e.z;return t*t+n*n+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){const i=Math.sin(t)*e;return this.x=i*Math.sin(n),this.y=Math.cos(t)*e,this.z=i*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=i,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=(Math.random()-.5)*2,t=Math.random()*Math.PI*2,n=Math.sqrt(1-cu(e,2));return this.x=n*Math.cos(t),this.y=n*Math.sin(t),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Dx=new X,xP=new ao;class Oa{constructor(e=new X(1/0,1/0,1/0),t=new X(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,n=e.length;tthis.max.x||e.ythis.max.y||e.zthis.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,Va),Va.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(Id),Yg.subVectors(this.max,Id),ch.subVectors(e.a,Id),hh.subVectors(e.b,Id),fh.subVectors(e.c,Id),Gs.subVectors(hh,ch),Hs.subVectors(fh,hh),du.subVectors(ch,fh);let t=[0,-Gs.z,Gs.y,0,-Hs.z,Hs.y,0,-du.z,du.y,Gs.z,0,-Gs.x,Hs.z,0,-Hs.x,du.z,0,-du.x,-Gs.y,Gs.x,0,-Hs.y,Hs.x,0,-du.y,du.x,0];return!Ix(t,ch,hh,fh,Yg)||(t=[1,0,0,0,1,0,0,0,1],!Ix(t,ch,hh,fh,Yg))?!1:(qg.crossVectors(Gs,Hs),t=[qg.x,qg.y,qg.z],Ix(t,ch,hh,fh,Yg))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,Va).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(Va).length()*.5),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(ns[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),ns[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),ns[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),ns[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),ns[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),ns[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),ns[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),ns[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(ns),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const ns=[new X,new X,new X,new X,new X,new X,new X,new X],Va=new X,Xg=new Oa,ch=new X,hh=new X,fh=new X,Gs=new X,Hs=new X,du=new X,Id=new X,Yg=new X,qg=new X,pu=new X;function Ix(r,e,t,n,i){for(let a=0,o=r.length-3;a<=o;a+=3){pu.fromArray(r,a);const s=i.x*Math.abs(pu.x)+i.y*Math.abs(pu.y)+i.z*Math.abs(pu.z),l=e.dot(pu),u=t.dot(pu),c=n.dot(pu);if(Math.max(-Math.max(l,u,c),Math.min(l,u,c))>s)return!1}return!0}const sY=new Oa,Nd=new X,Nx=new X;class Fa{constructor(e=new X,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const n=this.center;t!==void 0?n.copy(t):sY.setFromPoints(e).getCenter(n);let i=0;for(let a=0,o=e.length;athis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;Nd.subVectors(e,this.center);const t=Nd.lengthSq();if(t>this.radius*this.radius){const n=Math.sqrt(t),i=(n-this.radius)*.5;this.center.addScaledVector(Nd,i/n),this.radius+=i}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(Nx.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(Nd.copy(e.center).add(Nx)),this.expandByPoint(Nd.copy(e.center).sub(Nx))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const rs=new X,kx=new X,jg=new X,Ws=new X,Ox=new X,Kg=new X,Fx=new X;class sd{constructor(e=new X,t=new X(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,rs)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);const n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=rs.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(rs.copy(this.origin).addScaledVector(this.direction,t),rs.distanceToSquared(e))}distanceSqToSegment(e,t,n,i){kx.copy(e).add(t).multiplyScalar(.5),jg.copy(t).sub(e).normalize(),Ws.copy(this.origin).sub(kx);const a=e.distanceTo(t)*.5,o=-this.direction.dot(jg),s=Ws.dot(this.direction),l=-Ws.dot(jg),u=Ws.lengthSq(),c=Math.abs(1-o*o);let h,f,d,p;if(c>0)if(h=o*l-s,f=o*s-l,p=a*c,h>=0)if(f>=-p)if(f<=p){const g=1/c;h*=g,f*=g,d=h*(h+o*f+2*s)+f*(o*h+f+2*l)+u}else f=a,h=Math.max(0,-(o*f+s)),d=-h*h+f*(f+2*l)+u;else f=-a,h=Math.max(0,-(o*f+s)),d=-h*h+f*(f+2*l)+u;else f<=-p?(h=Math.max(0,-(-o*a+s)),f=h>0?-a:Math.min(Math.max(-a,-l),a),d=-h*h+f*(f+2*l)+u):f<=p?(h=0,f=Math.min(Math.max(-a,-l),a),d=f*(f+2*l)+u):(h=Math.max(0,-(o*a+s)),f=h>0?a:Math.min(Math.max(-a,-l),a),d=-h*h+f*(f+2*l)+u);else f=o>0?-a:a,h=Math.max(0,-(o*f+s)),d=-h*h+f*(f+2*l)+u;return n&&n.copy(this.origin).addScaledVector(this.direction,h),i&&i.copy(kx).addScaledVector(jg,f),d}intersectSphere(e,t){rs.subVectors(e.center,this.origin);const n=rs.dot(this.direction),i=rs.dot(rs)-n*n,a=e.radius*e.radius;if(i>a)return null;const o=Math.sqrt(a-i),s=n-o,l=n+o;return l<0?null:s<0?this.at(l,t):this.at(s,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;const n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){const n=this.distanceToPlane(e);return n===null?null:this.at(n,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let n,i,a,o,s,l;const u=1/this.direction.x,c=1/this.direction.y,h=1/this.direction.z,f=this.origin;return u>=0?(n=(e.min.x-f.x)*u,i=(e.max.x-f.x)*u):(n=(e.max.x-f.x)*u,i=(e.min.x-f.x)*u),c>=0?(a=(e.min.y-f.y)*c,o=(e.max.y-f.y)*c):(a=(e.max.y-f.y)*c,o=(e.min.y-f.y)*c),n>o||a>i||((a>n||isNaN(n))&&(n=a),(o=0?(s=(e.min.z-f.z)*h,l=(e.max.z-f.z)*h):(s=(e.max.z-f.z)*h,l=(e.min.z-f.z)*h),n>l||s>i)||((s>n||n!==n)&&(n=s),(l=0?n:i,t)}intersectsBox(e){return this.intersectBox(e,rs)!==null}intersectTriangle(e,t,n,i,a){Ox.subVectors(t,e),Kg.subVectors(n,e),Fx.crossVectors(Ox,Kg);let o=this.direction.dot(Fx),s;if(o>0){if(i)return null;s=1}else if(o<0)s=-1,o=-o;else return null;Ws.subVectors(this.origin,e);const l=s*this.direction.dot(Kg.crossVectors(Ws,Kg));if(l<0)return null;const u=s*this.direction.dot(Ox.cross(Ws));if(u<0||l+u>o)return null;const c=-s*Ws.dot(Fx);return c<0?null:this.at(c/o,a)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class Mt{constructor(e,t,n,i,a,o,s,l,u,c,h,f,d,p,g,v){Mt.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],e!==void 0&&this.set(e,t,n,i,a,o,s,l,u,c,h,f,d,p,g,v)}set(e,t,n,i,a,o,s,l,u,c,h,f,d,p,g,v){const m=this.elements;return m[0]=e,m[4]=t,m[8]=n,m[12]=i,m[1]=a,m[5]=o,m[9]=s,m[13]=l,m[2]=u,m[6]=c,m[10]=h,m[14]=f,m[3]=d,m[7]=p,m[11]=g,m[15]=v,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Mt().fromArray(this.elements)}copy(e){const t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}copyPosition(e){const t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,n){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,n=e.elements,i=1/dh.setFromMatrixColumn(e,0).length(),a=1/dh.setFromMatrixColumn(e,1).length(),o=1/dh.setFromMatrixColumn(e,2).length();return t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i,t[3]=0,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=0,t[8]=n[8]*o,t[9]=n[9]*o,t[10]=n[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){const t=this.elements,n=e.x,i=e.y,a=e.z,o=Math.cos(n),s=Math.sin(n),l=Math.cos(i),u=Math.sin(i),c=Math.cos(a),h=Math.sin(a);if(e.order==="XYZ"){const f=o*c,d=o*h,p=s*c,g=s*h;t[0]=l*c,t[4]=-l*h,t[8]=u,t[1]=d+p*u,t[5]=f-g*u,t[9]=-s*l,t[2]=g-f*u,t[6]=p+d*u,t[10]=o*l}else if(e.order==="YXZ"){const f=l*c,d=l*h,p=u*c,g=u*h;t[0]=f+g*s,t[4]=p*s-d,t[8]=o*u,t[1]=o*h,t[5]=o*c,t[9]=-s,t[2]=d*s-p,t[6]=g+f*s,t[10]=o*l}else if(e.order==="ZXY"){const f=l*c,d=l*h,p=u*c,g=u*h;t[0]=f-g*s,t[4]=-o*h,t[8]=p+d*s,t[1]=d+p*s,t[5]=o*c,t[9]=g-f*s,t[2]=-o*u,t[6]=s,t[10]=o*l}else if(e.order==="ZYX"){const f=o*c,d=o*h,p=s*c,g=s*h;t[0]=l*c,t[4]=p*u-d,t[8]=f*u+g,t[1]=l*h,t[5]=g*u+f,t[9]=d*u-p,t[2]=-u,t[6]=s*l,t[10]=o*l}else if(e.order==="YZX"){const f=o*l,d=o*u,p=s*l,g=s*u;t[0]=l*c,t[4]=g-f*h,t[8]=p*h+d,t[1]=h,t[5]=o*c,t[9]=-s*c,t[2]=-u*c,t[6]=d*h+p,t[10]=f-g*h}else if(e.order==="XZY"){const f=o*l,d=o*u,p=s*l,g=s*u;t[0]=l*c,t[4]=-h,t[8]=u*c,t[1]=f*h+g,t[5]=o*c,t[9]=d*h-p,t[2]=p*h-d,t[6]=s*c,t[10]=g*h+f}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(lY,e,uY)}lookAt(e,t,n){const i=this.elements;return Gi.subVectors(e,t),Gi.lengthSq()===0&&(Gi.z=1),Gi.normalize(),$s.crossVectors(n,Gi),$s.lengthSq()===0&&(Math.abs(n.z)===1?Gi.x+=1e-4:Gi.z+=1e-4,Gi.normalize(),$s.crossVectors(n,Gi)),$s.normalize(),Zg.crossVectors(Gi,$s),i[0]=$s.x,i[4]=Zg.x,i[8]=Gi.x,i[1]=$s.y,i[5]=Zg.y,i[9]=Gi.y,i[2]=$s.z,i[6]=Zg.z,i[10]=Gi.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const n=e.elements,i=t.elements,a=this.elements,o=n[0],s=n[4],l=n[8],u=n[12],c=n[1],h=n[5],f=n[9],d=n[13],p=n[2],g=n[6],v=n[10],m=n[14],y=n[3],_=n[7],x=n[11],S=n[15],A=i[0],w=i[4],M=i[8],C=i[12],b=i[1],T=i[5],P=i[9],D=i[13],L=i[2],E=i[6],I=i[10],N=i[14],R=i[3],F=i[7],O=i[11],V=i[15];return a[0]=o*A+s*b+l*L+u*R,a[4]=o*w+s*T+l*E+u*F,a[8]=o*M+s*P+l*I+u*O,a[12]=o*C+s*D+l*N+u*V,a[1]=c*A+h*b+f*L+d*R,a[5]=c*w+h*T+f*E+d*F,a[9]=c*M+h*P+f*I+d*O,a[13]=c*C+h*D+f*N+d*V,a[2]=p*A+g*b+v*L+m*R,a[6]=p*w+g*T+v*E+m*F,a[10]=p*M+g*P+v*I+m*O,a[14]=p*C+g*D+v*N+m*V,a[3]=y*A+_*b+x*L+S*R,a[7]=y*w+_*T+x*E+S*F,a[11]=y*M+_*P+x*I+S*O,a[15]=y*C+_*D+x*N+S*V,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],n=e[4],i=e[8],a=e[12],o=e[1],s=e[5],l=e[9],u=e[13],c=e[2],h=e[6],f=e[10],d=e[14],p=e[3],g=e[7],v=e[11],m=e[15];return p*(+a*l*h-i*u*h-a*s*f+n*u*f+i*s*d-n*l*d)+g*(+t*l*d-t*u*f+a*o*f-i*o*d+i*u*c-a*l*c)+v*(+t*u*h-t*s*d-a*o*h+n*o*d+a*s*c-n*u*c)+m*(-i*s*c-t*l*h+t*s*f+i*o*h-n*o*f+n*l*c)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,n){const i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=t,i[14]=n),this}invert(){const e=this.elements,t=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],f=e[10],d=e[11],p=e[12],g=e[13],v=e[14],m=e[15],y=h*v*u-g*f*u+g*l*d-s*v*d-h*l*m+s*f*m,_=p*f*u-c*v*u-p*l*d+o*v*d+c*l*m-o*f*m,x=c*g*u-p*h*u+p*s*d-o*g*d-c*s*m+o*h*m,S=p*h*l-c*g*l-p*s*f+o*g*f+c*s*v-o*h*v,A=t*y+n*_+i*x+a*S;if(A===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const w=1/A;return e[0]=y*w,e[1]=(g*f*a-h*v*a-g*i*d+n*v*d+h*i*m-n*f*m)*w,e[2]=(s*v*a-g*l*a+g*i*u-n*v*u-s*i*m+n*l*m)*w,e[3]=(h*l*a-s*f*a-h*i*u+n*f*u+s*i*d-n*l*d)*w,e[4]=_*w,e[5]=(c*v*a-p*f*a+p*i*d-t*v*d-c*i*m+t*f*m)*w,e[6]=(p*l*a-o*v*a-p*i*u+t*v*u+o*i*m-t*l*m)*w,e[7]=(o*f*a-c*l*a+c*i*u-t*f*u-o*i*d+t*l*d)*w,e[8]=x*w,e[9]=(p*h*a-c*g*a-p*n*d+t*g*d+c*n*m-t*h*m)*w,e[10]=(o*g*a-p*s*a+p*n*u-t*g*u-o*n*m+t*s*m)*w,e[11]=(c*s*a-o*h*a-c*n*u+t*h*u+o*n*d-t*s*d)*w,e[12]=S*w,e[13]=(c*g*i-p*h*i+p*n*f-t*g*f-c*n*v+t*h*v)*w,e[14]=(p*s*i-o*g*i-p*n*l+t*g*l+o*n*v-t*s*v)*w,e[15]=(o*h*i-c*s*i+c*n*l-t*h*l-o*n*f+t*s*f)*w,this}scale(e){const t=this.elements,n=e.x,i=e.y,a=e.z;return t[0]*=n,t[4]*=i,t[8]*=a,t[1]*=n,t[5]*=i,t[9]*=a,t[2]*=n,t[6]*=i,t[10]*=a,t[3]*=n,t[7]*=i,t[11]*=a,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],n=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],i=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,n,i))}makeTranslation(e,t,n){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const n=Math.cos(t),i=Math.sin(t),a=1-n,o=e.x,s=e.y,l=e.z,u=a*o,c=a*s;return this.set(u*o+n,u*s-i*l,u*l+i*s,0,u*s+i*l,c*s+n,c*l-i*o,0,u*l-i*s,c*l+i*o,a*l*l+n,0,0,0,0,1),this}makeScale(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,t,n,i,a,o){return this.set(1,n,a,0,e,1,o,0,t,i,1,0,0,0,0,1),this}compose(e,t,n){const i=this.elements,a=t._x,o=t._y,s=t._z,l=t._w,u=a+a,c=o+o,h=s+s,f=a*u,d=a*c,p=a*h,g=o*c,v=o*h,m=s*h,y=l*u,_=l*c,x=l*h,S=n.x,A=n.y,w=n.z;return i[0]=(1-(g+m))*S,i[1]=(d+x)*S,i[2]=(p-_)*S,i[3]=0,i[4]=(d-x)*A,i[5]=(1-(f+m))*A,i[6]=(v+y)*A,i[7]=0,i[8]=(p+_)*w,i[9]=(v-y)*w,i[10]=(1-(f+g))*w,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,t,n){const i=this.elements;let a=dh.set(i[0],i[1],i[2]).length();const o=dh.set(i[4],i[5],i[6]).length(),s=dh.set(i[8],i[9],i[10]).length();this.determinant()<0&&(a=-a),e.x=i[12],e.y=i[13],e.z=i[14],Ga.copy(this);const u=1/a,c=1/o,h=1/s;return Ga.elements[0]*=u,Ga.elements[1]*=u,Ga.elements[2]*=u,Ga.elements[4]*=c,Ga.elements[5]*=c,Ga.elements[6]*=c,Ga.elements[8]*=h,Ga.elements[9]*=h,Ga.elements[10]*=h,t.setFromRotationMatrix(Ga),n.x=a,n.y=o,n.z=s,this}makePerspective(e,t,n,i,a,o,s=ms){const l=this.elements,u=2*a/(t-e),c=2*a/(n-i),h=(t+e)/(t-e),f=(n+i)/(n-i);let d,p;if(s===ms)d=-(o+a)/(o-a),p=-2*o*a/(o-a);else if(s===N0)d=-o/(o-a),p=-o*a/(o-a);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+s);return l[0]=u,l[4]=0,l[8]=h,l[12]=0,l[1]=0,l[5]=c,l[9]=f,l[13]=0,l[2]=0,l[6]=0,l[10]=d,l[14]=p,l[3]=0,l[7]=0,l[11]=-1,l[15]=0,this}makeOrthographic(e,t,n,i,a,o,s=ms){const l=this.elements,u=1/(t-e),c=1/(n-i),h=1/(o-a),f=(t+e)*u,d=(n+i)*c;let p,g;if(s===ms)p=(o+a)*h,g=-2*h;else if(s===N0)p=a*h,g=-1*h;else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+s);return l[0]=2*u,l[4]=0,l[8]=0,l[12]=-f,l[1]=0,l[5]=2*c,l[9]=0,l[13]=-d,l[2]=0,l[6]=0,l[10]=g,l[14]=-p,l[3]=0,l[7]=0,l[11]=0,l[15]=1,this}equals(e){const t=this.elements,n=e.elements;for(let i=0;i<16;i++)if(t[i]!==n[i])return!1;return!0}fromArray(e,t=0){for(let n=0;n<16;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){const n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}}const dh=new X,Ga=new Mt,lY=new X(0,0,0),uY=new X(1,1,1),$s=new X,Zg=new X,Gi=new X,SP=new Mt,AP=new ao;class J_{constructor(e=0,t=0,n=0,i=J_.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=n,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,n,i=this._order){return this._x=e,this._y=t,this._z=n,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,n=!0){const i=e.elements,a=i[0],o=i[4],s=i[8],l=i[1],u=i[5],c=i[9],h=i[2],f=i[6],d=i[10];switch(t){case"XYZ":this._y=Math.asin(hr(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-c,d),this._z=Math.atan2(-o,a)):(this._x=Math.atan2(f,u),this._z=0);break;case"YXZ":this._x=Math.asin(-hr(c,-1,1)),Math.abs(c)<.9999999?(this._y=Math.atan2(s,d),this._z=Math.atan2(l,u)):(this._y=Math.atan2(-h,a),this._z=0);break;case"ZXY":this._x=Math.asin(hr(f,-1,1)),Math.abs(f)<.9999999?(this._y=Math.atan2(-h,d),this._z=Math.atan2(-o,u)):(this._y=0,this._z=Math.atan2(l,a));break;case"ZYX":this._y=Math.asin(-hr(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(f,d),this._z=Math.atan2(l,a)):(this._x=0,this._z=Math.atan2(-o,u));break;case"YZX":this._z=Math.asin(hr(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-c,u),this._y=Math.atan2(-h,a)):(this._x=0,this._y=Math.atan2(s,d));break;case"XZY":this._z=Math.asin(-hr(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(f,u),this._y=Math.atan2(s,a)):(this._x=Math.atan2(-c,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,n===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,n){return SP.makeRotationFromQuaternion(e),this.setFromRotationMatrix(SP,t,n)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return AP.setFromEuler(this),this.setFromQuaternion(AP,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}J_.DEFAULT_ORDER="XYZ";class lC{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let t=0;t1){for(let n=0;n0&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),i.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(i.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(i.type="BatchedMesh",i.perObjectFrustumCulled=this.perObjectFrustumCulled,i.sortObjects=this.sortObjects,i.drawRanges=this._drawRanges,i.reservedRanges=this._reservedRanges,i.visibility=this._visibility,i.active=this._active,i.bounds=this._bounds.map(s=>({boxInitialized:s.boxInitialized,boxMin:s.box.min.toArray(),boxMax:s.box.max.toArray(),sphereInitialized:s.sphereInitialized,sphereRadius:s.sphere.radius,sphereCenter:s.sphere.center.toArray()})),i.maxGeometryCount=this._maxGeometryCount,i.maxVertexCount=this._maxVertexCount,i.maxIndexCount=this._maxIndexCount,i.geometryInitialized=this._geometryInitialized,i.geometryCount=this._geometryCount,i.matricesTexture=this._matricesTexture.toJSON(e),this.boundingSphere!==null&&(i.boundingSphere={center:i.boundingSphere.center.toArray(),radius:i.boundingSphere.radius}),this.boundingBox!==null&&(i.boundingBox={min:i.boundingBox.min.toArray(),max:i.boundingBox.max.toArray()}));function a(s,l){return s[l.uuid]===void 0&&(s[l.uuid]=l.toJSON(e)),l.uuid}if(this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(i.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=a(e.geometries,this.geometry);const s=this.geometry.parameters;if(s!==void 0&&s.shapes!==void 0){const l=s.shapes;if(Array.isArray(l))for(let u=0,c=l.length;u0){i.children=[];for(let s=0;s0){i.animations=[];for(let s=0;s0&&(n.geometries=s),l.length>0&&(n.materials=l),u.length>0&&(n.textures=u),c.length>0&&(n.images=c),h.length>0&&(n.shapes=h),f.length>0&&(n.skeletons=f),d.length>0&&(n.animations=d),p.length>0&&(n.nodes=p)}return n.object=i,n;function o(s){const l=[];for(const u in s){const c=s[u];delete c.metadata,l.push(c)}return l}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let n=0;n0?i.multiplyScalar(1/Math.sqrt(a)):i.set(0,0,0)}static getBarycoord(e,t,n,i,a){Ha.subVectors(i,t),as.subVectors(n,t),Bx.subVectors(e,t);const o=Ha.dot(Ha),s=Ha.dot(as),l=Ha.dot(Bx),u=as.dot(as),c=as.dot(Bx),h=o*u-s*s;if(h===0)return a.set(0,0,0),null;const f=1/h,d=(u*l-s*c)*f,p=(o*c-s*l)*f;return a.set(1-d-p,p,d)}static containsPoint(e,t,n,i){return this.getBarycoord(e,t,n,i,os)===null?!1:os.x>=0&&os.y>=0&&os.x+os.y<=1}static getInterpolation(e,t,n,i,a,o,s,l){return this.getBarycoord(e,t,n,i,os)===null?(l.x=0,l.y=0,"z"in l&&(l.z=0),"w"in l&&(l.w=0),null):(l.setScalar(0),l.addScaledVector(a,os.x),l.addScaledVector(o,os.y),l.addScaledVector(s,os.z),l)}static isFrontFacing(e,t,n,i){return Ha.subVectors(n,t),as.subVectors(e,t),Ha.cross(as).dot(i)<0}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,i){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,t,n,i){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return Ha.subVectors(this.c,this.b),as.subVectors(this.a,this.b),Ha.cross(as).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Jh.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return Jh.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,n,i,a){return Jh.getInterpolation(e,this.a,this.b,this.c,t,n,i,a)}containsPoint(e){return Jh.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Jh.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){const n=this.a,i=this.b,a=this.c;let o,s;vh.subVectors(i,n),gh.subVectors(a,n),zx.subVectors(e,n);const l=vh.dot(zx),u=gh.dot(zx);if(l<=0&&u<=0)return t.copy(n);Ux.subVectors(e,i);const c=vh.dot(Ux),h=gh.dot(Ux);if(c>=0&&h<=c)return t.copy(i);const f=l*h-c*u;if(f<=0&&l>=0&&c<=0)return o=l/(l-c),t.copy(n).addScaledVector(vh,o);Vx.subVectors(e,a);const d=vh.dot(Vx),p=gh.dot(Vx);if(p>=0&&d<=p)return t.copy(a);const g=d*u-l*p;if(g<=0&&u>=0&&p<=0)return s=u/(u-p),t.copy(n).addScaledVector(gh,s);const v=c*p-d*h;if(v<=0&&h-c>=0&&d-p>=0)return CP.subVectors(a,i),s=(h-c)/(h-c+(d-p)),t.copy(i).addScaledVector(CP,s);const m=1/(v+g+f);return o=g*m,s=f*m,t.copy(n).addScaledVector(vh,o).addScaledVector(gh,s)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}};const _z={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Xs={h:0,s:0,l:0},Jg={h:0,s:0,l:0};function Gx(r,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?r+(e-r)*6*t:t<1/2?e:t<2/3?r+(e-r)*6*(2/3-t):r}class nt{constructor(e,t,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,n)}set(e,t,n){if(t===void 0&&n===void 0){const i=e;i&&i.isColor?this.copy(i):typeof i=="number"?this.setHex(i):typeof i=="string"&&this.setStyle(i)}else this.setRGB(e,t,n);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=dn){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,ln.toWorkingColorSpace(this,t),this}setRGB(e,t,n,i=ln.workingColorSpace){return this.r=e,this.g=t,this.b=n,ln.toWorkingColorSpace(this,i),this}setHSL(e,t,n,i=ln.workingColorSpace){if(e=oC(e,1),t=hr(t,0,1),n=hr(n,0,1),t===0)this.r=this.g=this.b=n;else{const a=n<=.5?n*(1+t):n+t-n*t,o=2*n-a;this.r=Gx(o,a,e+1/3),this.g=Gx(o,a,e),this.b=Gx(o,a,e-1/3)}return ln.toWorkingColorSpace(this,i),this}setStyle(e,t=dn){function n(a){a!==void 0&&parseFloat(a)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let i;if(i=/^(\w+)\(([^\)]*)\)/.exec(e)){let a;const o=i[1],s=i[2];switch(o){case"rgb":case"rgba":if(a=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return n(a[4]),this.setRGB(Math.min(255,parseInt(a[1],10))/255,Math.min(255,parseInt(a[2],10))/255,Math.min(255,parseInt(a[3],10))/255,t);if(a=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return n(a[4]),this.setRGB(Math.min(100,parseInt(a[1],10))/100,Math.min(100,parseInt(a[2],10))/100,Math.min(100,parseInt(a[3],10))/100,t);break;case"hsl":case"hsla":if(a=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return n(a[4]),this.setHSL(parseFloat(a[1])/360,parseFloat(a[2])/100,parseFloat(a[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(e)){const a=i[1],o=a.length;if(o===3)return this.setRGB(parseInt(a.charAt(0),16)/15,parseInt(a.charAt(1),16)/15,parseInt(a.charAt(2),16)/15,t);if(o===6)return this.setHex(parseInt(a,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=dn){const n=_z[e.toLowerCase()];return n!==void 0?this.setHex(n,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=Af(e.r),this.g=Af(e.g),this.b=Af(e.b),this}copyLinearToSRGB(e){return this.r=Px(e.r),this.g=Px(e.g),this.b=Px(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=dn){return ln.fromWorkingColorSpace(Hr.copy(this),e),Math.round(hr(Hr.r*255,0,255))*65536+Math.round(hr(Hr.g*255,0,255))*256+Math.round(hr(Hr.b*255,0,255))}getHexString(e=dn){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=ln.workingColorSpace){ln.fromWorkingColorSpace(Hr.copy(this),t);const n=Hr.r,i=Hr.g,a=Hr.b,o=Math.max(n,i,a),s=Math.min(n,i,a);let l,u;const c=(s+o)/2;if(s===o)l=0,u=0;else{const h=o-s;switch(u=c<=.5?h/(o+s):h/(2-o-s),o){case n:l=(i-a)/h+(i0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(const t in e){const n=e[t];if(n===void 0){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}const i=this[t];if(i===void 0){console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`);continue}i&&i.isColor?i.set(n):i&&i.isVector3&&n&&n.isVector3?i.copy(n):this[t]=n}}toJSON(e){const t=e===void 0||typeof e=="string";t&&(e={textures:{},images:{}});const n={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};n.uuid=this.uuid,n.type=this.type,this.name!==""&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),this.roughness!==void 0&&(n.roughness=this.roughness),this.metalness!==void 0&&(n.metalness=this.metalness),this.sheen!==void 0&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(n.shininess=this.shininess),this.clearcoat!==void 0&&(n.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.iridescence!==void 0&&(n.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(n.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.anisotropy!==void 0&&(n.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(n.combine=this.combine)),this.envMapIntensity!==void 0&&(n.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(n.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(n.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(n.size=this.size),this.shadowSide!==null&&(n.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==mc&&(n.blending=this.blending),this.side!==Es&&(n.side=this.side),this.vertexColors===!0&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),this.transparent===!0&&(n.transparent=!0),this.blendSrc!==pb&&(n.blendSrc=this.blendSrc),this.blendDst!==vb&&(n.blendDst=this.blendDst),this.blendEquation!==vl&&(n.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(n.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(n.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(n.blendAlpha=this.blendAlpha),this.depthFunc!==L0&&(n.depthFunc=this.depthFunc),this.depthTest===!1&&(n.depthTest=this.depthTest),this.depthWrite===!1&&(n.depthWrite=this.depthWrite),this.colorWrite===!1&&(n.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(n.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==pP&&(n.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(n.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(n.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==lh&&(n.stencilFail=this.stencilFail),this.stencilZFail!==lh&&(n.stencilZFail=this.stencilZFail),this.stencilZPass!==lh&&(n.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(n.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(n.rotation=this.rotation),this.polygonOffset===!0&&(n.polygonOffset=!0),this.polygonOffsetFactor!==0&&(n.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(n.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(n.linewidth=this.linewidth),this.dashSize!==void 0&&(n.dashSize=this.dashSize),this.gapSize!==void 0&&(n.gapSize=this.gapSize),this.scale!==void 0&&(n.scale=this.scale),this.dithering===!0&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),this.alphaHash===!0&&(n.alphaHash=!0),this.alphaToCoverage===!0&&(n.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(n.premultipliedAlpha=!0),this.forceSinglePass===!0&&(n.forceSinglePass=!0),this.wireframe===!0&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(n.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(n.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(n.flatShading=!0),this.visible===!1&&(n.visible=!1),this.toneMapped===!1&&(n.toneMapped=!1),this.fog===!1&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData);function i(a){const o=[];for(const s in a){const l=a[s];delete l.metadata,o.push(l)}return o}if(t){const a=i(e.textures),o=i(e.images);a.length>0&&(n.textures=a),o.length>0&&(n.images=o)}return n}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let n=null;if(t!==null){const i=t.length;n=new Array(i);for(let a=0;a!==i;++a)n[a]=t[a].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}}class Pn extends Da{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new nt(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=nC,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const ar=new X,em=new Me;class Gn{constructor(e,t,n=!1){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=t,this.count=e!==void 0?e.length/t:0,this.normalized=n,this.usage=xb,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.gpuType=Ro,this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}get updateRange(){return Sc("THREE.BufferAttribute: updateRange() is deprecated and will be removed in r169. Use addUpdateRange() instead."),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let i=0,a=this.itemSize;i0&&(e.userData=this.userData),this.parameters!==void 0){const l=this.parameters;for(const u in l)l[u]!==void 0&&(e[u]=l[u]);return e}e.data={attributes:{}};const t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const n=this.attributes;for(const l in n){const u=n[l];e.data.attributes[l]=u.toJSON(e.data)}const i={};let a=!1;for(const l in this.morphAttributes){const u=this.morphAttributes[l],c=[];for(let h=0,f=u.length;h0&&(i[l]=c,a=!0)}a&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));const s=this.boundingSphere;return s!==null&&(e.data.boundingSphere={center:s.center.toArray(),radius:s.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const n=e.index;n!==null&&this.setIndex(n.clone(t));const i=e.attributes;for(const u in i){const c=i[u];this.setAttribute(u,c.clone(t))}const a=e.morphAttributes;for(const u in a){const c=[],h=a[u];for(let f=0,d=h.length;f0){const i=t[n[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let a=0,o=i.length;acu(e.far-e.near,2)))&&(EP.copy(a).invert(),vu.copy(e.ray).applyMatrix4(EP),!(n.boundingBox!==null&&vu.intersectsBox(n.boundingBox)===!1)&&this._computeIntersections(e,t,vu)))}_computeIntersections(e,t,n){let i;const a=this.geometry,o=this.material,s=a.index,l=a.attributes.position,u=a.attributes.uv,c=a.attributes.uv1,h=a.attributes.normal,f=a.groups,d=a.drawRange;if(s!==null)if(Array.isArray(o))for(let p=0,g=f.length;pt.far?null:{distance:u,point:sm.clone(),object:r}}function lm(r,e,t,n,i,a,o,s,l,u){r.getVertexPosition(s,yh),r.getVertexPosition(l,_h),r.getVertexPosition(u,xh);const c=mY(r,e,t,n,yh,_h,xh,om);if(c){i&&(rm.fromBufferAttribute(i,s),im.fromBufferAttribute(i,l),am.fromBufferAttribute(i,u),c.uv=Tp.getInterpolation(om,yh,_h,xh,rm,im,am,new Me)),a&&(rm.fromBufferAttribute(a,s),im.fromBufferAttribute(a,l),am.fromBufferAttribute(a,u),c.uv1=Tp.getInterpolation(om,yh,_h,xh,rm,im,am,new Me),c.uv2=c.uv1),o&&(PP.fromBufferAttribute(o,s),RP.fromBufferAttribute(o,l),DP.fromBufferAttribute(o,u),c.normal=Tp.getInterpolation(om,yh,_h,xh,PP,RP,DP,new X),c.normal.dot(n.direction)>0&&c.normal.multiplyScalar(-1));const h={a:s,b:l,c:u,normal:new X,materialIndex:0};Tp.getNormal(yh,_h,xh,h.normal),c.face=h}return c}class ld extends wn{constructor(e=1,t=1,n=1,i=1,a=1,o=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:n,widthSegments:i,heightSegments:a,depthSegments:o};const s=this;i=Math.floor(i),a=Math.floor(a),o=Math.floor(o);const l=[],u=[],c=[],h=[];let f=0,d=0;p("z","y","x",-1,-1,n,t,e,o,a,0),p("z","y","x",1,-1,n,t,-e,o,a,1),p("x","z","y",1,1,e,n,t,i,o,2),p("x","z","y",1,-1,e,n,-t,i,o,3),p("x","y","z",1,-1,e,t,n,i,a,4),p("x","y","z",-1,-1,e,t,-n,i,a,5),this.setIndex(l),this.setAttribute("position",new Nn(u,3)),this.setAttribute("normal",new Nn(c,3)),this.setAttribute("uv",new Nn(h,2));function p(g,v,m,y,_,x,S,A,w,M,C){const b=x/w,T=S/M,P=x/2,D=S/2,L=A/2,E=w+1,I=M+1;let N=0,R=0;const F=new X;for(let O=0;O0?1:-1,c.push(F.x,F.y,F.z),h.push(H/w),h.push(1-O/M),N+=1}}for(let O=0;O0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;const n={};for(const i in this.extensions)this.extensions[i]===!0&&(n[i]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}}let wz=class extends bn{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Mt,this.projectionMatrix=new Mt,this.projectionMatrixInverse=new Mt,this.coordinateSystem=ms}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}};const Ys=new X,IP=new Me,NP=new Me;class Qr extends wz{constructor(e=50,t=1,n=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=n,this.far=i,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=Hf*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(Xp*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return Hf*2*Math.atan(Math.tan(Xp*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,n){Ys.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(Ys.x,Ys.y).multiplyScalar(-e/Ys.z),Ys.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),n.set(Ys.x,Ys.y).multiplyScalar(-e/Ys.z)}getViewSize(e,t){return this.getViewBounds(e,IP,NP),t.subVectors(NP,IP)}setViewOffset(e,t,n,i,a,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=i,this.view.width=a,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(Xp*.5*this.fov)/this.zoom,n=2*t,i=this.aspect*n,a=-.5*i;const o=this.view;if(this.view!==null&&this.view.enabled){const l=o.fullWidth,u=o.fullHeight;a+=o.offsetX*i/l,t-=o.offsetY*n/u,i*=o.width/l,n*=o.height/u}const s=this.filmOffset;s!==0&&(a+=e*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(a,a+i,t,t-n,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}const Sh=-90,Ah=1;class SY extends bn{constructor(e,t,n){super(),this.type="CubeCamera",this.renderTarget=n,this.coordinateSystem=null,this.activeMipmapLevel=0;const i=new Qr(Sh,Ah,e,t);i.layers=this.layers,this.add(i);const a=new Qr(Sh,Ah,e,t);a.layers=this.layers,this.add(a);const o=new Qr(Sh,Ah,e,t);o.layers=this.layers,this.add(o);const s=new Qr(Sh,Ah,e,t);s.layers=this.layers,this.add(s);const l=new Qr(Sh,Ah,e,t);l.layers=this.layers,this.add(l);const u=new Qr(Sh,Ah,e,t);u.layers=this.layers,this.add(u)}updateCoordinateSystem(){const e=this.coordinateSystem,t=this.children.concat(),[n,i,a,o,s,l]=t;for(const u of t)this.remove(u);if(e===ms)n.up.set(0,1,0),n.lookAt(1,0,0),i.up.set(0,1,0),i.lookAt(-1,0,0),a.up.set(0,0,-1),a.lookAt(0,1,0),o.up.set(0,0,1),o.lookAt(0,-1,0),s.up.set(0,1,0),s.lookAt(0,0,1),l.up.set(0,1,0),l.lookAt(0,0,-1);else if(e===N0)n.up.set(0,-1,0),n.lookAt(-1,0,0),i.up.set(0,-1,0),i.lookAt(1,0,0),a.up.set(0,0,1),a.lookAt(0,1,0),o.up.set(0,0,-1),o.lookAt(0,-1,0),s.up.set(0,-1,0),s.lookAt(0,0,1),l.up.set(0,-1,0),l.lookAt(0,0,-1);else throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(const u of t)this.add(u),u.updateMatrixWorld()}update(e,t){this.parent===null&&this.updateMatrixWorld();const{renderTarget:n,activeMipmapLevel:i}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());const[a,o,s,l,u,c]=this.children,h=e.getRenderTarget(),f=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;const g=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0,i),e.render(t,a),e.setRenderTarget(n,1,i),e.render(t,o),e.setRenderTarget(n,2,i),e.render(t,s),e.setRenderTarget(n,3,i),e.render(t,l),e.setRenderTarget(n,4,i),e.render(t,u),n.texture.generateMipmaps=g,e.setRenderTarget(n,5,i),e.render(t,c),e.setRenderTarget(h,f,d),e.xr.enabled=p,n.texture.needsPMREMUpdate=!0}}class bz extends mr{constructor(e,t,n,i,a,o,s,l,u,c){e=e!==void 0?e:[],t=t!==void 0?t:zf,super(e,t,n,i,a,o,s,l,u,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class AY extends kc{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const n={width:e,height:e,depth:1},i=[n,n,n,n,n,n];t.encoding!==void 0&&(Sc("THREE.WebGLCubeRenderTarget: option.encoding has been replaced by option.colorSpace."),t.colorSpace=t.encoding===xc?dn:Ta),this.texture=new bz(i,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:lr}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const n={uniforms:{tEquirect:{value:null}},vertexShader:`
+
+ varying vec3 vWorldDirection;
+
+ vec3 transformDirection( in vec3 dir, in mat4 matrix ) {
+
+ return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );
+
+ }
+
+ void main() {
+
+ vWorldDirection = transformDirection( position, modelMatrix );
+
+ #include
+ #include
+
+ }
+ `,fragmentShader:`
+
+ uniform sampler2D tEquirect;
+
+ varying vec3 vWorldDirection;
+
+ #include
+
+ void main() {
+
+ vec3 direction = normalize( vWorldDirection );
+
+ vec2 sampleUV = equirectUv( direction );
+
+ gl_FragColor = texture2D( tEquirect, sampleUV );
+
+ }
+ `},i=new ld(5,5,5),a=new Ls({name:"CubemapFromEquirect",uniforms:Wf(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:Di,blending:kl});a.uniforms.tEquirect.value=t;const o=new rn(i,a),s=t.minFilter;return t.minFilter===gs&&(t.minFilter=lr),new SY(1,10,this).update(e,o),t.minFilter=s,o.geometry.dispose(),o.material.dispose(),this}clear(e,t,n,i){const a=e.getRenderTarget();for(let o=0;o<6;o++)e.setRenderTarget(this,o),e.clear(t,n,i);e.setRenderTarget(a)}}const $x=new X,wY=new X,bY=new Ht;let cl=class{constructor(e=new X(1,0,0),t=0){this.isPlane=!0,this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,n,i){return this.normal.set(e,t,n),this.constant=i,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,n){const i=$x.subVectors(n,t).cross(wY.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(i,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))}intersectLine(e,t){const n=e.delta($x),i=this.normal.dot(n);if(i===0)return this.distanceToPoint(e.start)===0?t.copy(e.start):null;const a=-(e.start.dot(this.normal)+this.constant)/i;return a<0||a>1?null:t.copy(e.start).addScaledVector(n,a)}intersectsLine(e){const t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const n=t||bY.getNormalMatrix(e),i=this.coplanarPoint($x).applyMatrix4(e),a=this.normal.applyMatrix3(n).normalize();return this.constant=-i.dot(a),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}};const gu=new Fa,um=new X;class cC{constructor(e=new cl,t=new cl,n=new cl,i=new cl,a=new cl,o=new cl){this.planes=[e,t,n,i,a,o]}set(e,t,n,i,a,o){const s=this.planes;return s[0].copy(e),s[1].copy(t),s[2].copy(n),s[3].copy(i),s[4].copy(a),s[5].copy(o),this}copy(e){const t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,t=ms){const n=this.planes,i=e.elements,a=i[0],o=i[1],s=i[2],l=i[3],u=i[4],c=i[5],h=i[6],f=i[7],d=i[8],p=i[9],g=i[10],v=i[11],m=i[12],y=i[13],_=i[14],x=i[15];if(n[0].setComponents(l-a,f-u,v-d,x-m).normalize(),n[1].setComponents(l+a,f+u,v+d,x+m).normalize(),n[2].setComponents(l+o,f+c,v+p,x+y).normalize(),n[3].setComponents(l-o,f-c,v-p,x-y).normalize(),n[4].setComponents(l-s,f-h,v-g,x-_).normalize(),t===ms)n[5].setComponents(l+s,f+h,v+g,x+_).normalize();else if(t===N0)n[5].setComponents(s,h,g,_).normalize();else throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),gu.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{const t=e.geometry;t.boundingSphere===null&&t.computeBoundingSphere(),gu.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(gu)}intersectsSprite(e){return gu.center.set(0,0,0),gu.radius=.7071067811865476,gu.applyMatrix4(e.matrixWorld),this.intersectsSphere(gu)}intersectsSphere(e){const t=this.planes,n=e.center,i=-e.radius;for(let a=0;a<6;a++)if(t[a].distanceToPoint(n)0?e.max.x:e.min.x,um.y=i.normal.y>0?e.max.y:e.min.y,um.z=i.normal.z>0?e.max.z:e.min.z,i.distanceToPoint(um)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let n=0;n<6;n++)if(t[n].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function Tz(){let r=null,e=!1,t=null,n=null;function i(a,o){t(a,o),n=r.requestAnimationFrame(i)}return{start:function(){e!==!0&&t!==null&&(n=r.requestAnimationFrame(i),e=!0)},stop:function(){r.cancelAnimationFrame(n),e=!1},setAnimationLoop:function(a){t=a},setContext:function(a){r=a}}}function TY(r,e){const t=e.isWebGL2,n=new WeakMap;function i(u,c){const h=u.array,f=u.usage,d=h.byteLength,p=r.createBuffer();r.bindBuffer(c,p),r.bufferData(c,h,f),u.onUploadCallback();let g;if(h instanceof Float32Array)g=r.FLOAT;else if(h instanceof Uint16Array)if(u.isFloat16BufferAttribute)if(t)g=r.HALF_FLOAT;else throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");else g=r.UNSIGNED_SHORT;else if(h instanceof Int16Array)g=r.SHORT;else if(h instanceof Uint32Array)g=r.UNSIGNED_INT;else if(h instanceof Int32Array)g=r.INT;else if(h instanceof Int8Array)g=r.BYTE;else if(h instanceof Uint8Array)g=r.UNSIGNED_BYTE;else if(h instanceof Uint8ClampedArray)g=r.UNSIGNED_BYTE;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+h);return{buffer:p,type:g,bytesPerElement:h.BYTES_PER_ELEMENT,version:u.version,size:d}}function a(u,c,h){const f=c.array,d=c._updateRange,p=c.updateRanges;if(r.bindBuffer(h,u),d.count===-1&&p.length===0&&r.bufferSubData(h,0,f),p.length!==0){for(let g=0,v=p.length;g 0
+ vec4 plane;
+ #ifdef ALPHA_TO_COVERAGE
+ float distanceToPlane, distanceGradient;
+ float clipOpacity = 1.0;
+ #pragma unroll_loop_start
+ for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {
+ plane = clippingPlanes[ i ];
+ distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;
+ distanceGradient = fwidth( distanceToPlane ) / 2.0;
+ clipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane );
+ if ( clipOpacity == 0.0 ) discard;
+ }
+ #pragma unroll_loop_end
+ #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES
+ float unionClipOpacity = 1.0;
+ #pragma unroll_loop_start
+ for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {
+ plane = clippingPlanes[ i ];
+ distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;
+ distanceGradient = fwidth( distanceToPlane ) / 2.0;
+ unionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane );
+ }
+ #pragma unroll_loop_end
+ clipOpacity *= 1.0 - unionClipOpacity;
+ #endif
+ diffuseColor.a *= clipOpacity;
+ if ( diffuseColor.a == 0.0 ) discard;
+ #else
+ #pragma unroll_loop_start
+ for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {
+ plane = clippingPlanes[ i ];
+ if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;
+ }
+ #pragma unroll_loop_end
+ #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES
+ bool clipped = true;
+ #pragma unroll_loop_start
+ for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {
+ plane = clippingPlanes[ i ];
+ clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;
+ }
+ #pragma unroll_loop_end
+ if ( clipped ) discard;
+ #endif
+ #endif
+#endif`,GY=`#if NUM_CLIPPING_PLANES > 0
+ varying vec3 vClipPosition;
+ uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];
+#endif`,HY=`#if NUM_CLIPPING_PLANES > 0
+ varying vec3 vClipPosition;
+#endif`,WY=`#if NUM_CLIPPING_PLANES > 0
+ vClipPosition = - mvPosition.xyz;
+#endif`,$Y=`#if defined( USE_COLOR_ALPHA )
+ diffuseColor *= vColor;
+#elif defined( USE_COLOR )
+ diffuseColor.rgb *= vColor;
+#endif`,XY=`#if defined( USE_COLOR_ALPHA )
+ varying vec4 vColor;
+#elif defined( USE_COLOR )
+ varying vec3 vColor;
+#endif`,YY=`#if defined( USE_COLOR_ALPHA )
+ varying vec4 vColor;
+#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )
+ varying vec3 vColor;
+#endif`,qY=`#if defined( USE_COLOR_ALPHA )
+ vColor = vec4( 1.0 );
+#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )
+ vColor = vec3( 1.0 );
+#endif
+#ifdef USE_COLOR
+ vColor *= color;
+#endif
+#ifdef USE_INSTANCING_COLOR
+ vColor.xyz *= instanceColor.xyz;
+#endif`,jY=`#define PI 3.141592653589793
+#define PI2 6.283185307179586
+#define PI_HALF 1.5707963267948966
+#define RECIPROCAL_PI 0.3183098861837907
+#define RECIPROCAL_PI2 0.15915494309189535
+#define EPSILON 1e-6
+#ifndef saturate
+#define saturate( a ) clamp( a, 0.0, 1.0 )
+#endif
+#define whiteComplement( a ) ( 1.0 - saturate( a ) )
+float pow2( const in float x ) { return x*x; }
+vec3 pow2( const in vec3 x ) { return x*x; }
+float pow3( const in float x ) { return x*x*x; }
+float pow4( const in float x ) { float x2 = x*x; return x2*x2; }
+float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }
+float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }
+highp float rand( const in vec2 uv ) {
+ const highp float a = 12.9898, b = 78.233, c = 43758.5453;
+ highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );
+ return fract( sin( sn ) * c );
+}
+#ifdef HIGH_PRECISION
+ float precisionSafeLength( vec3 v ) { return length( v ); }
+#else
+ float precisionSafeLength( vec3 v ) {
+ float maxComponent = max3( abs( v ) );
+ return length( v / maxComponent ) * maxComponent;
+ }
+#endif
+struct IncidentLight {
+ vec3 color;
+ vec3 direction;
+ bool visible;
+};
+struct ReflectedLight {
+ vec3 directDiffuse;
+ vec3 directSpecular;
+ vec3 indirectDiffuse;
+ vec3 indirectSpecular;
+};
+#ifdef USE_ALPHAHASH
+ varying vec3 vPosition;
+#endif
+vec3 transformDirection( in vec3 dir, in mat4 matrix ) {
+ return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );
+}
+vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {
+ return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );
+}
+mat3 transposeMat3( const in mat3 m ) {
+ mat3 tmp;
+ tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );
+ tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );
+ tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );
+ return tmp;
+}
+float luminance( const in vec3 rgb ) {
+ const vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );
+ return dot( weights, rgb );
+}
+bool isPerspectiveMatrix( mat4 m ) {
+ return m[ 2 ][ 3 ] == - 1.0;
+}
+vec2 equirectUv( in vec3 dir ) {
+ float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;
+ float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;
+ return vec2( u, v );
+}
+vec3 BRDF_Lambert( const in vec3 diffuseColor ) {
+ return RECIPROCAL_PI * diffuseColor;
+}
+vec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {
+ float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );
+ return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );
+}
+float F_Schlick( const in float f0, const in float f90, const in float dotVH ) {
+ float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );
+ return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );
+} // validated`,KY=`#ifdef ENVMAP_TYPE_CUBE_UV
+ #define cubeUV_minMipLevel 4.0
+ #define cubeUV_minTileSize 16.0
+ float getFace( vec3 direction ) {
+ vec3 absDirection = abs( direction );
+ float face = - 1.0;
+ if ( absDirection.x > absDirection.z ) {
+ if ( absDirection.x > absDirection.y )
+ face = direction.x > 0.0 ? 0.0 : 3.0;
+ else
+ face = direction.y > 0.0 ? 1.0 : 4.0;
+ } else {
+ if ( absDirection.z > absDirection.y )
+ face = direction.z > 0.0 ? 2.0 : 5.0;
+ else
+ face = direction.y > 0.0 ? 1.0 : 4.0;
+ }
+ return face;
+ }
+ vec2 getUV( vec3 direction, float face ) {
+ vec2 uv;
+ if ( face == 0.0 ) {
+ uv = vec2( direction.z, direction.y ) / abs( direction.x );
+ } else if ( face == 1.0 ) {
+ uv = vec2( - direction.x, - direction.z ) / abs( direction.y );
+ } else if ( face == 2.0 ) {
+ uv = vec2( - direction.x, direction.y ) / abs( direction.z );
+ } else if ( face == 3.0 ) {
+ uv = vec2( - direction.z, direction.y ) / abs( direction.x );
+ } else if ( face == 4.0 ) {
+ uv = vec2( - direction.x, direction.z ) / abs( direction.y );
+ } else {
+ uv = vec2( direction.x, direction.y ) / abs( direction.z );
+ }
+ return 0.5 * ( uv + 1.0 );
+ }
+ vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {
+ float face = getFace( direction );
+ float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );
+ mipInt = max( mipInt, cubeUV_minMipLevel );
+ float faceSize = exp2( mipInt );
+ highp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;
+ if ( face > 2.0 ) {
+ uv.y += faceSize;
+ face -= 3.0;
+ }
+ uv.x += face * faceSize;
+ uv.x += filterInt * 3.0 * cubeUV_minTileSize;
+ uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );
+ uv.x *= CUBEUV_TEXEL_WIDTH;
+ uv.y *= CUBEUV_TEXEL_HEIGHT;
+ #ifdef texture2DGradEXT
+ return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;
+ #else
+ return texture2D( envMap, uv ).rgb;
+ #endif
+ }
+ #define cubeUV_r0 1.0
+ #define cubeUV_m0 - 2.0
+ #define cubeUV_r1 0.8
+ #define cubeUV_m1 - 1.0
+ #define cubeUV_r4 0.4
+ #define cubeUV_m4 2.0
+ #define cubeUV_r5 0.305
+ #define cubeUV_m5 3.0
+ #define cubeUV_r6 0.21
+ #define cubeUV_m6 4.0
+ float roughnessToMip( float roughness ) {
+ float mip = 0.0;
+ if ( roughness >= cubeUV_r1 ) {
+ mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;
+ } else if ( roughness >= cubeUV_r4 ) {
+ mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;
+ } else if ( roughness >= cubeUV_r5 ) {
+ mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;
+ } else if ( roughness >= cubeUV_r6 ) {
+ mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;
+ } else {
+ mip = - 2.0 * log2( 1.16 * roughness ); }
+ return mip;
+ }
+ vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {
+ float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );
+ float mipF = fract( mip );
+ float mipInt = floor( mip );
+ vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );
+ if ( mipF == 0.0 ) {
+ return vec4( color0, 1.0 );
+ } else {
+ vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );
+ return vec4( mix( color0, color1, mipF ), 1.0 );
+ }
+ }
+#endif`,ZY=`vec3 transformedNormal = objectNormal;
+#ifdef USE_TANGENT
+ vec3 transformedTangent = objectTangent;
+#endif
+#ifdef USE_BATCHING
+ mat3 bm = mat3( batchingMatrix );
+ transformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) );
+ transformedNormal = bm * transformedNormal;
+ #ifdef USE_TANGENT
+ transformedTangent = bm * transformedTangent;
+ #endif
+#endif
+#ifdef USE_INSTANCING
+ mat3 im = mat3( instanceMatrix );
+ transformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) );
+ transformedNormal = im * transformedNormal;
+ #ifdef USE_TANGENT
+ transformedTangent = im * transformedTangent;
+ #endif
+#endif
+transformedNormal = normalMatrix * transformedNormal;
+#ifdef FLIP_SIDED
+ transformedNormal = - transformedNormal;
+#endif
+#ifdef USE_TANGENT
+ transformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz;
+ #ifdef FLIP_SIDED
+ transformedTangent = - transformedTangent;
+ #endif
+#endif`,QY=`#ifdef USE_DISPLACEMENTMAP
+ uniform sampler2D displacementMap;
+ uniform float displacementScale;
+ uniform float displacementBias;
+#endif`,JY=`#ifdef USE_DISPLACEMENTMAP
+ transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );
+#endif`,eq=`#ifdef USE_EMISSIVEMAP
+ vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );
+ totalEmissiveRadiance *= emissiveColor.rgb;
+#endif`,tq=`#ifdef USE_EMISSIVEMAP
+ uniform sampler2D emissiveMap;
+#endif`,nq="gl_FragColor = linearToOutputTexel( gl_FragColor );",rq=`
+const mat3 LINEAR_SRGB_TO_LINEAR_DISPLAY_P3 = mat3(
+ vec3( 0.8224621, 0.177538, 0.0 ),
+ vec3( 0.0331941, 0.9668058, 0.0 ),
+ vec3( 0.0170827, 0.0723974, 0.9105199 )
+);
+const mat3 LINEAR_DISPLAY_P3_TO_LINEAR_SRGB = mat3(
+ vec3( 1.2249401, - 0.2249404, 0.0 ),
+ vec3( - 0.0420569, 1.0420571, 0.0 ),
+ vec3( - 0.0196376, - 0.0786361, 1.0982735 )
+);
+vec4 LinearSRGBToLinearDisplayP3( in vec4 value ) {
+ return vec4( value.rgb * LINEAR_SRGB_TO_LINEAR_DISPLAY_P3, value.a );
+}
+vec4 LinearDisplayP3ToLinearSRGB( in vec4 value ) {
+ return vec4( value.rgb * LINEAR_DISPLAY_P3_TO_LINEAR_SRGB, value.a );
+}
+vec4 LinearTransferOETF( in vec4 value ) {
+ return value;
+}
+vec4 sRGBTransferOETF( in vec4 value ) {
+ return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );
+}
+vec4 LinearToLinear( in vec4 value ) {
+ return value;
+}
+vec4 LinearTosRGB( in vec4 value ) {
+ return sRGBTransferOETF( value );
+}`,iq=`#ifdef USE_ENVMAP
+ #ifdef ENV_WORLDPOS
+ vec3 cameraToFrag;
+ if ( isOrthographic ) {
+ cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );
+ } else {
+ cameraToFrag = normalize( vWorldPosition - cameraPosition );
+ }
+ vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );
+ #ifdef ENVMAP_MODE_REFLECTION
+ vec3 reflectVec = reflect( cameraToFrag, worldNormal );
+ #else
+ vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );
+ #endif
+ #else
+ vec3 reflectVec = vReflect;
+ #endif
+ #ifdef ENVMAP_TYPE_CUBE
+ vec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );
+ #else
+ vec4 envColor = vec4( 0.0 );
+ #endif
+ #ifdef ENVMAP_BLENDING_MULTIPLY
+ outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );
+ #elif defined( ENVMAP_BLENDING_MIX )
+ outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );
+ #elif defined( ENVMAP_BLENDING_ADD )
+ outgoingLight += envColor.xyz * specularStrength * reflectivity;
+ #endif
+#endif`,aq=`#ifdef USE_ENVMAP
+ uniform float envMapIntensity;
+ uniform float flipEnvMap;
+ #ifdef ENVMAP_TYPE_CUBE
+ uniform samplerCube envMap;
+ #else
+ uniform sampler2D envMap;
+ #endif
+
+#endif`,oq=`#ifdef USE_ENVMAP
+ uniform float reflectivity;
+ #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )
+ #define ENV_WORLDPOS
+ #endif
+ #ifdef ENV_WORLDPOS
+ varying vec3 vWorldPosition;
+ uniform float refractionRatio;
+ #else
+ varying vec3 vReflect;
+ #endif
+#endif`,sq=`#ifdef USE_ENVMAP
+ #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )
+ #define ENV_WORLDPOS
+ #endif
+ #ifdef ENV_WORLDPOS
+
+ varying vec3 vWorldPosition;
+ #else
+ varying vec3 vReflect;
+ uniform float refractionRatio;
+ #endif
+#endif`,lq=`#ifdef USE_ENVMAP
+ #ifdef ENV_WORLDPOS
+ vWorldPosition = worldPosition.xyz;
+ #else
+ vec3 cameraToVertex;
+ if ( isOrthographic ) {
+ cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );
+ } else {
+ cameraToVertex = normalize( worldPosition.xyz - cameraPosition );
+ }
+ vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );
+ #ifdef ENVMAP_MODE_REFLECTION
+ vReflect = reflect( cameraToVertex, worldNormal );
+ #else
+ vReflect = refract( cameraToVertex, worldNormal, refractionRatio );
+ #endif
+ #endif
+#endif`,uq=`#ifdef USE_FOG
+ vFogDepth = - mvPosition.z;
+#endif`,cq=`#ifdef USE_FOG
+ varying float vFogDepth;
+#endif`,hq=`#ifdef USE_FOG
+ #ifdef FOG_EXP2
+ float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );
+ #else
+ float fogFactor = smoothstep( fogNear, fogFar, vFogDepth );
+ #endif
+ gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );
+#endif`,fq=`#ifdef USE_FOG
+ uniform vec3 fogColor;
+ varying float vFogDepth;
+ #ifdef FOG_EXP2
+ uniform float fogDensity;
+ #else
+ uniform float fogNear;
+ uniform float fogFar;
+ #endif
+#endif`,dq=`#ifdef USE_GRADIENTMAP
+ uniform sampler2D gradientMap;
+#endif
+vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {
+ float dotNL = dot( normal, lightDirection );
+ vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );
+ #ifdef USE_GRADIENTMAP
+ return vec3( texture2D( gradientMap, coord ).r );
+ #else
+ vec2 fw = fwidth( coord ) * 0.5;
+ return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );
+ #endif
+}`,pq=`#ifdef USE_LIGHTMAP
+ vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );
+ vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;
+ reflectedLight.indirectDiffuse += lightMapIrradiance;
+#endif`,vq=`#ifdef USE_LIGHTMAP
+ uniform sampler2D lightMap;
+ uniform float lightMapIntensity;
+#endif`,gq=`LambertMaterial material;
+material.diffuseColor = diffuseColor.rgb;
+material.specularStrength = specularStrength;`,mq=`varying vec3 vViewPosition;
+struct LambertMaterial {
+ vec3 diffuseColor;
+ float specularStrength;
+};
+void RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {
+ float dotNL = saturate( dot( geometryNormal, directLight.direction ) );
+ vec3 irradiance = dotNL * directLight.color;
+ reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
+}
+void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {
+ reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
+}
+#define RE_Direct RE_Direct_Lambert
+#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert`,yq=`uniform bool receiveShadow;
+uniform vec3 ambientLightColor;
+#if defined( USE_LIGHT_PROBES )
+ uniform vec3 lightProbe[ 9 ];
+#endif
+vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {
+ float x = normal.x, y = normal.y, z = normal.z;
+ vec3 result = shCoefficients[ 0 ] * 0.886227;
+ result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;
+ result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;
+ result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;
+ result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;
+ result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;
+ result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );
+ result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;
+ result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );
+ return result;
+}
+vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {
+ vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );
+ vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );
+ return irradiance;
+}
+vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {
+ vec3 irradiance = ambientLightColor;
+ return irradiance;
+}
+float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {
+ #if defined ( LEGACY_LIGHTS )
+ if ( cutoffDistance > 0.0 && decayExponent > 0.0 ) {
+ return pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );
+ }
+ return 1.0;
+ #else
+ float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );
+ if ( cutoffDistance > 0.0 ) {
+ distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );
+ }
+ return distanceFalloff;
+ #endif
+}
+float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {
+ return smoothstep( coneCosine, penumbraCosine, angleCosine );
+}
+#if NUM_DIR_LIGHTS > 0
+ struct DirectionalLight {
+ vec3 direction;
+ vec3 color;
+ };
+ uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];
+ void getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) {
+ light.color = directionalLight.color;
+ light.direction = directionalLight.direction;
+ light.visible = true;
+ }
+#endif
+#if NUM_POINT_LIGHTS > 0
+ struct PointLight {
+ vec3 position;
+ vec3 color;
+ float distance;
+ float decay;
+ };
+ uniform PointLight pointLights[ NUM_POINT_LIGHTS ];
+ void getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) {
+ vec3 lVector = pointLight.position - geometryPosition;
+ light.direction = normalize( lVector );
+ float lightDistance = length( lVector );
+ light.color = pointLight.color;
+ light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );
+ light.visible = ( light.color != vec3( 0.0 ) );
+ }
+#endif
+#if NUM_SPOT_LIGHTS > 0
+ struct SpotLight {
+ vec3 position;
+ vec3 direction;
+ vec3 color;
+ float distance;
+ float decay;
+ float coneCos;
+ float penumbraCos;
+ };
+ uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];
+ void getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) {
+ vec3 lVector = spotLight.position - geometryPosition;
+ light.direction = normalize( lVector );
+ float angleCos = dot( light.direction, spotLight.direction );
+ float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );
+ if ( spotAttenuation > 0.0 ) {
+ float lightDistance = length( lVector );
+ light.color = spotLight.color * spotAttenuation;
+ light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );
+ light.visible = ( light.color != vec3( 0.0 ) );
+ } else {
+ light.color = vec3( 0.0 );
+ light.visible = false;
+ }
+ }
+#endif
+#if NUM_RECT_AREA_LIGHTS > 0
+ struct RectAreaLight {
+ vec3 color;
+ vec3 position;
+ vec3 halfWidth;
+ vec3 halfHeight;
+ };
+ uniform sampler2D ltc_1; uniform sampler2D ltc_2;
+ uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];
+#endif
+#if NUM_HEMI_LIGHTS > 0
+ struct HemisphereLight {
+ vec3 direction;
+ vec3 skyColor;
+ vec3 groundColor;
+ };
+ uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];
+ vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {
+ float dotNL = dot( normal, hemiLight.direction );
+ float hemiDiffuseWeight = 0.5 * dotNL + 0.5;
+ vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );
+ return irradiance;
+ }
+#endif`,_q=`#ifdef USE_ENVMAP
+ vec3 getIBLIrradiance( const in vec3 normal ) {
+ #ifdef ENVMAP_TYPE_CUBE_UV
+ vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );
+ vec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );
+ return PI * envMapColor.rgb * envMapIntensity;
+ #else
+ return vec3( 0.0 );
+ #endif
+ }
+ vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {
+ #ifdef ENVMAP_TYPE_CUBE_UV
+ vec3 reflectVec = reflect( - viewDir, normal );
+ reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );
+ reflectVec = inverseTransformDirection( reflectVec, viewMatrix );
+ vec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );
+ return envMapColor.rgb * envMapIntensity;
+ #else
+ return vec3( 0.0 );
+ #endif
+ }
+ #ifdef USE_ANISOTROPY
+ vec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) {
+ #ifdef ENVMAP_TYPE_CUBE_UV
+ vec3 bentNormal = cross( bitangent, viewDir );
+ bentNormal = normalize( cross( bentNormal, bitangent ) );
+ bentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) );
+ return getIBLRadiance( viewDir, bentNormal, roughness );
+ #else
+ return vec3( 0.0 );
+ #endif
+ }
+ #endif
+#endif`,xq=`ToonMaterial material;
+material.diffuseColor = diffuseColor.rgb;`,Sq=`varying vec3 vViewPosition;
+struct ToonMaterial {
+ vec3 diffuseColor;
+};
+void RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {
+ vec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color;
+ reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
+}
+void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {
+ reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
+}
+#define RE_Direct RE_Direct_Toon
+#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon`,Aq=`BlinnPhongMaterial material;
+material.diffuseColor = diffuseColor.rgb;
+material.specularColor = specular;
+material.specularShininess = shininess;
+material.specularStrength = specularStrength;`,wq=`varying vec3 vViewPosition;
+struct BlinnPhongMaterial {
+ vec3 diffuseColor;
+ vec3 specularColor;
+ float specularShininess;
+ float specularStrength;
+};
+void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {
+ float dotNL = saturate( dot( geometryNormal, directLight.direction ) );
+ vec3 irradiance = dotNL * directLight.color;
+ reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
+ reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength;
+}
+void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {
+ reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
+}
+#define RE_Direct RE_Direct_BlinnPhong
+#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong`,bq=`PhysicalMaterial material;
+material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );
+vec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) );
+float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );
+material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;
+material.roughness = min( material.roughness, 1.0 );
+#ifdef IOR
+ material.ior = ior;
+ #ifdef USE_SPECULAR
+ float specularIntensityFactor = specularIntensity;
+ vec3 specularColorFactor = specularColor;
+ #ifdef USE_SPECULAR_COLORMAP
+ specularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;
+ #endif
+ #ifdef USE_SPECULAR_INTENSITYMAP
+ specularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;
+ #endif
+ material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );
+ #else
+ float specularIntensityFactor = 1.0;
+ vec3 specularColorFactor = vec3( 1.0 );
+ material.specularF90 = 1.0;
+ #endif
+ material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );
+#else
+ material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );
+ material.specularF90 = 1.0;
+#endif
+#ifdef USE_CLEARCOAT
+ material.clearcoat = clearcoat;
+ material.clearcoatRoughness = clearcoatRoughness;
+ material.clearcoatF0 = vec3( 0.04 );
+ material.clearcoatF90 = 1.0;
+ #ifdef USE_CLEARCOATMAP
+ material.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;
+ #endif
+ #ifdef USE_CLEARCOAT_ROUGHNESSMAP
+ material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;
+ #endif
+ material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );
+ material.clearcoatRoughness += geometryRoughness;
+ material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );
+#endif
+#ifdef USE_IRIDESCENCE
+ material.iridescence = iridescence;
+ material.iridescenceIOR = iridescenceIOR;
+ #ifdef USE_IRIDESCENCEMAP
+ material.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;
+ #endif
+ #ifdef USE_IRIDESCENCE_THICKNESSMAP
+ material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;
+ #else
+ material.iridescenceThickness = iridescenceThicknessMaximum;
+ #endif
+#endif
+#ifdef USE_SHEEN
+ material.sheenColor = sheenColor;
+ #ifdef USE_SHEEN_COLORMAP
+ material.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;
+ #endif
+ material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );
+ #ifdef USE_SHEEN_ROUGHNESSMAP
+ material.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;
+ #endif
+#endif
+#ifdef USE_ANISOTROPY
+ #ifdef USE_ANISOTROPYMAP
+ mat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x );
+ vec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb;
+ vec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b;
+ #else
+ vec2 anisotropyV = anisotropyVector;
+ #endif
+ material.anisotropy = length( anisotropyV );
+ if( material.anisotropy == 0.0 ) {
+ anisotropyV = vec2( 1.0, 0.0 );
+ } else {
+ anisotropyV /= material.anisotropy;
+ material.anisotropy = saturate( material.anisotropy );
+ }
+ material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) );
+ material.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y;
+ material.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y;
+#endif`,Tq=`struct PhysicalMaterial {
+ vec3 diffuseColor;
+ float roughness;
+ vec3 specularColor;
+ float specularF90;
+ #ifdef USE_CLEARCOAT
+ float clearcoat;
+ float clearcoatRoughness;
+ vec3 clearcoatF0;
+ float clearcoatF90;
+ #endif
+ #ifdef USE_IRIDESCENCE
+ float iridescence;
+ float iridescenceIOR;
+ float iridescenceThickness;
+ vec3 iridescenceFresnel;
+ vec3 iridescenceF0;
+ #endif
+ #ifdef USE_SHEEN
+ vec3 sheenColor;
+ float sheenRoughness;
+ #endif
+ #ifdef IOR
+ float ior;
+ #endif
+ #ifdef USE_TRANSMISSION
+ float transmission;
+ float transmissionAlpha;
+ float thickness;
+ float attenuationDistance;
+ vec3 attenuationColor;
+ #endif
+ #ifdef USE_ANISOTROPY
+ float anisotropy;
+ float alphaT;
+ vec3 anisotropyT;
+ vec3 anisotropyB;
+ #endif
+};
+vec3 clearcoatSpecularDirect = vec3( 0.0 );
+vec3 clearcoatSpecularIndirect = vec3( 0.0 );
+vec3 sheenSpecularDirect = vec3( 0.0 );
+vec3 sheenSpecularIndirect = vec3(0.0 );
+vec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {
+ float x = clamp( 1.0 - dotVH, 0.0, 1.0 );
+ float x2 = x * x;
+ float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );
+ return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );
+}
+float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {
+ float a2 = pow2( alpha );
+ float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );
+ float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );
+ return 0.5 / max( gv + gl, EPSILON );
+}
+float D_GGX( const in float alpha, const in float dotNH ) {
+ float a2 = pow2( alpha );
+ float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;
+ return RECIPROCAL_PI * a2 / pow2( denom );
+}
+#ifdef USE_ANISOTROPY
+ float V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) {
+ float gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) );
+ float gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) );
+ float v = 0.5 / ( gv + gl );
+ return saturate(v);
+ }
+ float D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) {
+ float a2 = alphaT * alphaB;
+ highp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH );
+ highp float v2 = dot( v, v );
+ float w2 = a2 / v2;
+ return RECIPROCAL_PI * a2 * pow2 ( w2 );
+ }
+#endif
+#ifdef USE_CLEARCOAT
+ vec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {
+ vec3 f0 = material.clearcoatF0;
+ float f90 = material.clearcoatF90;
+ float roughness = material.clearcoatRoughness;
+ float alpha = pow2( roughness );
+ vec3 halfDir = normalize( lightDir + viewDir );
+ float dotNL = saturate( dot( normal, lightDir ) );
+ float dotNV = saturate( dot( normal, viewDir ) );
+ float dotNH = saturate( dot( normal, halfDir ) );
+ float dotVH = saturate( dot( viewDir, halfDir ) );
+ vec3 F = F_Schlick( f0, f90, dotVH );
+ float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );
+ float D = D_GGX( alpha, dotNH );
+ return F * ( V * D );
+ }
+#endif
+vec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {
+ vec3 f0 = material.specularColor;
+ float f90 = material.specularF90;
+ float roughness = material.roughness;
+ float alpha = pow2( roughness );
+ vec3 halfDir = normalize( lightDir + viewDir );
+ float dotNL = saturate( dot( normal, lightDir ) );
+ float dotNV = saturate( dot( normal, viewDir ) );
+ float dotNH = saturate( dot( normal, halfDir ) );
+ float dotVH = saturate( dot( viewDir, halfDir ) );
+ vec3 F = F_Schlick( f0, f90, dotVH );
+ #ifdef USE_IRIDESCENCE
+ F = mix( F, material.iridescenceFresnel, material.iridescence );
+ #endif
+ #ifdef USE_ANISOTROPY
+ float dotTL = dot( material.anisotropyT, lightDir );
+ float dotTV = dot( material.anisotropyT, viewDir );
+ float dotTH = dot( material.anisotropyT, halfDir );
+ float dotBL = dot( material.anisotropyB, lightDir );
+ float dotBV = dot( material.anisotropyB, viewDir );
+ float dotBH = dot( material.anisotropyB, halfDir );
+ float V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL );
+ float D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH );
+ #else
+ float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );
+ float D = D_GGX( alpha, dotNH );
+ #endif
+ return F * ( V * D );
+}
+vec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {
+ const float LUT_SIZE = 64.0;
+ const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;
+ const float LUT_BIAS = 0.5 / LUT_SIZE;
+ float dotNV = saturate( dot( N, V ) );
+ vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );
+ uv = uv * LUT_SCALE + LUT_BIAS;
+ return uv;
+}
+float LTC_ClippedSphereFormFactor( const in vec3 f ) {
+ float l = length( f );
+ return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );
+}
+vec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {
+ float x = dot( v1, v2 );
+ float y = abs( x );
+ float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;
+ float b = 3.4175940 + ( 4.1616724 + y ) * y;
+ float v = a / b;
+ float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;
+ return cross( v1, v2 ) * theta_sintheta;
+}
+vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {
+ vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];
+ vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];
+ vec3 lightNormal = cross( v1, v2 );
+ if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );
+ vec3 T1, T2;
+ T1 = normalize( V - N * dot( V, N ) );
+ T2 = - cross( N, T1 );
+ mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );
+ vec3 coords[ 4 ];
+ coords[ 0 ] = mat * ( rectCoords[ 0 ] - P );
+ coords[ 1 ] = mat * ( rectCoords[ 1 ] - P );
+ coords[ 2 ] = mat * ( rectCoords[ 2 ] - P );
+ coords[ 3 ] = mat * ( rectCoords[ 3 ] - P );
+ coords[ 0 ] = normalize( coords[ 0 ] );
+ coords[ 1 ] = normalize( coords[ 1 ] );
+ coords[ 2 ] = normalize( coords[ 2 ] );
+ coords[ 3 ] = normalize( coords[ 3 ] );
+ vec3 vectorFormFactor = vec3( 0.0 );
+ vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );
+ vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );
+ vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );
+ vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );
+ float result = LTC_ClippedSphereFormFactor( vectorFormFactor );
+ return vec3( result );
+}
+#if defined( USE_SHEEN )
+float D_Charlie( float roughness, float dotNH ) {
+ float alpha = pow2( roughness );
+ float invAlpha = 1.0 / alpha;
+ float cos2h = dotNH * dotNH;
+ float sin2h = max( 1.0 - cos2h, 0.0078125 );
+ return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );
+}
+float V_Neubelt( float dotNV, float dotNL ) {
+ return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );
+}
+vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {
+ vec3 halfDir = normalize( lightDir + viewDir );
+ float dotNL = saturate( dot( normal, lightDir ) );
+ float dotNV = saturate( dot( normal, viewDir ) );
+ float dotNH = saturate( dot( normal, halfDir ) );
+ float D = D_Charlie( sheenRoughness, dotNH );
+ float V = V_Neubelt( dotNV, dotNL );
+ return sheenColor * ( D * V );
+}
+#endif
+float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {
+ float dotNV = saturate( dot( normal, viewDir ) );
+ float r2 = roughness * roughness;
+ float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;
+ float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;
+ float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );
+ return saturate( DG * RECIPROCAL_PI );
+}
+vec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {
+ float dotNV = saturate( dot( normal, viewDir ) );
+ const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );
+ const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );
+ vec4 r = roughness * c0 + c1;
+ float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;
+ vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;
+ return fab;
+}
+vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {
+ vec2 fab = DFGApprox( normal, viewDir, roughness );
+ return specularColor * fab.x + specularF90 * fab.y;
+}
+#ifdef USE_IRIDESCENCE
+void computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {
+#else
+void computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {
+#endif
+ vec2 fab = DFGApprox( normal, viewDir, roughness );
+ #ifdef USE_IRIDESCENCE
+ vec3 Fr = mix( specularColor, iridescenceF0, iridescence );
+ #else
+ vec3 Fr = specularColor;
+ #endif
+ vec3 FssEss = Fr * fab.x + specularF90 * fab.y;
+ float Ess = fab.x + fab.y;
+ float Ems = 1.0 - Ess;
+ vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );
+ singleScatter += FssEss;
+ multiScatter += Fms * Ems;
+}
+#if NUM_RECT_AREA_LIGHTS > 0
+ void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {
+ vec3 normal = geometryNormal;
+ vec3 viewDir = geometryViewDir;
+ vec3 position = geometryPosition;
+ vec3 lightPos = rectAreaLight.position;
+ vec3 halfWidth = rectAreaLight.halfWidth;
+ vec3 halfHeight = rectAreaLight.halfHeight;
+ vec3 lightColor = rectAreaLight.color;
+ float roughness = material.roughness;
+ vec3 rectCoords[ 4 ];
+ rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight;
+ rectCoords[ 2 ] = lightPos - halfWidth + halfHeight;
+ rectCoords[ 3 ] = lightPos + halfWidth + halfHeight;
+ vec2 uv = LTC_Uv( normal, viewDir, roughness );
+ vec4 t1 = texture2D( ltc_1, uv );
+ vec4 t2 = texture2D( ltc_2, uv );
+ mat3 mInv = mat3(
+ vec3( t1.x, 0, t1.y ),
+ vec3( 0, 1, 0 ),
+ vec3( t1.z, 0, t1.w )
+ );
+ vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );
+ reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );
+ reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );
+ }
+#endif
+void RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {
+ float dotNL = saturate( dot( geometryNormal, directLight.direction ) );
+ vec3 irradiance = dotNL * directLight.color;
+ #ifdef USE_CLEARCOAT
+ float dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) );
+ vec3 ccIrradiance = dotNLcc * directLight.color;
+ clearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material );
+ #endif
+ #ifdef USE_SHEEN
+ sheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness );
+ #endif
+ reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometryViewDir, geometryNormal, material );
+ reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
+}
+void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {
+ reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
+}
+void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {
+ #ifdef USE_CLEARCOAT
+ clearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );
+ #endif
+ #ifdef USE_SHEEN
+ sheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );
+ #endif
+ vec3 singleScattering = vec3( 0.0 );
+ vec3 multiScattering = vec3( 0.0 );
+ vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;
+ #ifdef USE_IRIDESCENCE
+ computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );
+ #else
+ computeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );
+ #endif
+ vec3 totalScattering = singleScattering + multiScattering;
+ vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );
+ reflectedLight.indirectSpecular += radiance * singleScattering;
+ reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;
+ reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;
+}
+#define RE_Direct RE_Direct_Physical
+#define RE_Direct_RectArea RE_Direct_RectArea_Physical
+#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical
+#define RE_IndirectSpecular RE_IndirectSpecular_Physical
+float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {
+ return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );
+}`,Mq=`
+vec3 geometryPosition = - vViewPosition;
+vec3 geometryNormal = normal;
+vec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );
+vec3 geometryClearcoatNormal = vec3( 0.0 );
+#ifdef USE_CLEARCOAT
+ geometryClearcoatNormal = clearcoatNormal;
+#endif
+#ifdef USE_IRIDESCENCE
+ float dotNVi = saturate( dot( normal, geometryViewDir ) );
+ if ( material.iridescenceThickness == 0.0 ) {
+ material.iridescence = 0.0;
+ } else {
+ material.iridescence = saturate( material.iridescence );
+ }
+ if ( material.iridescence > 0.0 ) {
+ material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );
+ material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );
+ }
+#endif
+IncidentLight directLight;
+#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )
+ PointLight pointLight;
+ #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0
+ PointLightShadow pointLightShadow;
+ #endif
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {
+ pointLight = pointLights[ i ];
+ getPointLightInfo( pointLight, geometryPosition, directLight );
+ #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )
+ pointLightShadow = pointLightShadows[ i ];
+ directLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;
+ #endif
+ RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
+ }
+ #pragma unroll_loop_end
+#endif
+#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )
+ SpotLight spotLight;
+ vec4 spotColor;
+ vec3 spotLightCoord;
+ bool inSpotLightMap;
+ #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0
+ SpotLightShadow spotLightShadow;
+ #endif
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {
+ spotLight = spotLights[ i ];
+ getSpotLightInfo( spotLight, geometryPosition, directLight );
+ #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )
+ #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX
+ #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )
+ #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS
+ #else
+ #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )
+ #endif
+ #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )
+ spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;
+ inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );
+ spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );
+ directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;
+ #endif
+ #undef SPOT_LIGHT_MAP_INDEX
+ #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )
+ spotLightShadow = spotLightShadows[ i ];
+ directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;
+ #endif
+ RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
+ }
+ #pragma unroll_loop_end
+#endif
+#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )
+ DirectionalLight directionalLight;
+ #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0
+ DirectionalLightShadow directionalLightShadow;
+ #endif
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {
+ directionalLight = directionalLights[ i ];
+ getDirectionalLightInfo( directionalLight, directLight );
+ #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )
+ directionalLightShadow = directionalLightShadows[ i ];
+ directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;
+ #endif
+ RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
+ }
+ #pragma unroll_loop_end
+#endif
+#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )
+ RectAreaLight rectAreaLight;
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {
+ rectAreaLight = rectAreaLights[ i ];
+ RE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
+ }
+ #pragma unroll_loop_end
+#endif
+#if defined( RE_IndirectDiffuse )
+ vec3 iblIrradiance = vec3( 0.0 );
+ vec3 irradiance = getAmbientLightIrradiance( ambientLightColor );
+ #if defined( USE_LIGHT_PROBES )
+ irradiance += getLightProbeIrradiance( lightProbe, geometryNormal );
+ #endif
+ #if ( NUM_HEMI_LIGHTS > 0 )
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {
+ irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );
+ }
+ #pragma unroll_loop_end
+ #endif
+#endif
+#if defined( RE_IndirectSpecular )
+ vec3 radiance = vec3( 0.0 );
+ vec3 clearcoatRadiance = vec3( 0.0 );
+#endif`,Cq=`#if defined( RE_IndirectDiffuse )
+ #ifdef USE_LIGHTMAP
+ vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );
+ vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;
+ irradiance += lightMapIrradiance;
+ #endif
+ #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )
+ iblIrradiance += getIBLIrradiance( geometryNormal );
+ #endif
+#endif
+#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )
+ #ifdef USE_ANISOTROPY
+ radiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy );
+ #else
+ radiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness );
+ #endif
+ #ifdef USE_CLEARCOAT
+ clearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness );
+ #endif
+#endif`,Eq=`#if defined( RE_IndirectDiffuse )
+ RE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
+#endif
+#if defined( RE_IndirectSpecular )
+ RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
+#endif`,Lq=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )
+ gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;
+#endif`,Pq=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )
+ uniform float logDepthBufFC;
+ varying float vFragDepth;
+ varying float vIsPerspective;
+#endif`,Rq=`#ifdef USE_LOGDEPTHBUF
+ #ifdef USE_LOGDEPTHBUF_EXT
+ varying float vFragDepth;
+ varying float vIsPerspective;
+ #else
+ uniform float logDepthBufFC;
+ #endif
+#endif`,Dq=`#ifdef USE_LOGDEPTHBUF
+ #ifdef USE_LOGDEPTHBUF_EXT
+ vFragDepth = 1.0 + gl_Position.w;
+ vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );
+ #else
+ if ( isPerspectiveMatrix( projectionMatrix ) ) {
+ gl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;
+ gl_Position.z *= gl_Position.w;
+ }
+ #endif
+#endif`,Iq=`#ifdef USE_MAP
+ vec4 sampledDiffuseColor = texture2D( map, vMapUv );
+ #ifdef DECODE_VIDEO_TEXTURE
+ sampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );
+
+ #endif
+ diffuseColor *= sampledDiffuseColor;
+#endif`,Nq=`#ifdef USE_MAP
+ uniform sampler2D map;
+#endif`,kq=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP )
+ #if defined( USE_POINTS_UV )
+ vec2 uv = vUv;
+ #else
+ vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;
+ #endif
+#endif
+#ifdef USE_MAP
+ diffuseColor *= texture2D( map, uv );
+#endif
+#ifdef USE_ALPHAMAP
+ diffuseColor.a *= texture2D( alphaMap, uv ).g;
+#endif`,Oq=`#if defined( USE_POINTS_UV )
+ varying vec2 vUv;
+#else
+ #if defined( USE_MAP ) || defined( USE_ALPHAMAP )
+ uniform mat3 uvTransform;
+ #endif
+#endif
+#ifdef USE_MAP
+ uniform sampler2D map;
+#endif
+#ifdef USE_ALPHAMAP
+ uniform sampler2D alphaMap;
+#endif`,Fq=`float metalnessFactor = metalness;
+#ifdef USE_METALNESSMAP
+ vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );
+ metalnessFactor *= texelMetalness.b;
+#endif`,Bq=`#ifdef USE_METALNESSMAP
+ uniform sampler2D metalnessMap;
+#endif`,zq=`#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )
+ vColor *= morphTargetBaseInfluence;
+ for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
+ #if defined( USE_COLOR_ALPHA )
+ if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];
+ #elif defined( USE_COLOR )
+ if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];
+ #endif
+ }
+#endif`,Uq=`#ifdef USE_MORPHNORMALS
+ objectNormal *= morphTargetBaseInfluence;
+ #ifdef MORPHTARGETS_TEXTURE
+ for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
+ if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];
+ }
+ #else
+ objectNormal += morphNormal0 * morphTargetInfluences[ 0 ];
+ objectNormal += morphNormal1 * morphTargetInfluences[ 1 ];
+ objectNormal += morphNormal2 * morphTargetInfluences[ 2 ];
+ objectNormal += morphNormal3 * morphTargetInfluences[ 3 ];
+ #endif
+#endif`,Vq=`#ifdef USE_MORPHTARGETS
+ uniform float morphTargetBaseInfluence;
+ #ifdef MORPHTARGETS_TEXTURE
+ uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];
+ uniform sampler2DArray morphTargetsTexture;
+ uniform ivec2 morphTargetsTextureSize;
+ vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {
+ int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;
+ int y = texelIndex / morphTargetsTextureSize.x;
+ int x = texelIndex - y * morphTargetsTextureSize.x;
+ ivec3 morphUV = ivec3( x, y, morphTargetIndex );
+ return texelFetch( morphTargetsTexture, morphUV, 0 );
+ }
+ #else
+ #ifndef USE_MORPHNORMALS
+ uniform float morphTargetInfluences[ 8 ];
+ #else
+ uniform float morphTargetInfluences[ 4 ];
+ #endif
+ #endif
+#endif`,Gq=`#ifdef USE_MORPHTARGETS
+ transformed *= morphTargetBaseInfluence;
+ #ifdef MORPHTARGETS_TEXTURE
+ for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
+ if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];
+ }
+ #else
+ transformed += morphTarget0 * morphTargetInfluences[ 0 ];
+ transformed += morphTarget1 * morphTargetInfluences[ 1 ];
+ transformed += morphTarget2 * morphTargetInfluences[ 2 ];
+ transformed += morphTarget3 * morphTargetInfluences[ 3 ];
+ #ifndef USE_MORPHNORMALS
+ transformed += morphTarget4 * morphTargetInfluences[ 4 ];
+ transformed += morphTarget5 * morphTargetInfluences[ 5 ];
+ transformed += morphTarget6 * morphTargetInfluences[ 6 ];
+ transformed += morphTarget7 * morphTargetInfluences[ 7 ];
+ #endif
+ #endif
+#endif`,Hq=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;
+#ifdef FLAT_SHADED
+ vec3 fdx = dFdx( vViewPosition );
+ vec3 fdy = dFdy( vViewPosition );
+ vec3 normal = normalize( cross( fdx, fdy ) );
+#else
+ vec3 normal = normalize( vNormal );
+ #ifdef DOUBLE_SIDED
+ normal *= faceDirection;
+ #endif
+#endif
+#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )
+ #ifdef USE_TANGENT
+ mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );
+ #else
+ mat3 tbn = getTangentFrame( - vViewPosition, normal,
+ #if defined( USE_NORMALMAP )
+ vNormalMapUv
+ #elif defined( USE_CLEARCOAT_NORMALMAP )
+ vClearcoatNormalMapUv
+ #else
+ vUv
+ #endif
+ );
+ #endif
+ #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )
+ tbn[0] *= faceDirection;
+ tbn[1] *= faceDirection;
+ #endif
+#endif
+#ifdef USE_CLEARCOAT_NORMALMAP
+ #ifdef USE_TANGENT
+ mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );
+ #else
+ mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );
+ #endif
+ #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )
+ tbn2[0] *= faceDirection;
+ tbn2[1] *= faceDirection;
+ #endif
+#endif
+vec3 nonPerturbedNormal = normal;`,Wq=`#ifdef USE_NORMALMAP_OBJECTSPACE
+ normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;
+ #ifdef FLIP_SIDED
+ normal = - normal;
+ #endif
+ #ifdef DOUBLE_SIDED
+ normal = normal * faceDirection;
+ #endif
+ normal = normalize( normalMatrix * normal );
+#elif defined( USE_NORMALMAP_TANGENTSPACE )
+ vec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;
+ mapN.xy *= normalScale;
+ normal = normalize( tbn * mapN );
+#elif defined( USE_BUMPMAP )
+ normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );
+#endif`,$q=`#ifndef FLAT_SHADED
+ varying vec3 vNormal;
+ #ifdef USE_TANGENT
+ varying vec3 vTangent;
+ varying vec3 vBitangent;
+ #endif
+#endif`,Xq=`#ifndef FLAT_SHADED
+ varying vec3 vNormal;
+ #ifdef USE_TANGENT
+ varying vec3 vTangent;
+ varying vec3 vBitangent;
+ #endif
+#endif`,Yq=`#ifndef FLAT_SHADED
+ vNormal = normalize( transformedNormal );
+ #ifdef USE_TANGENT
+ vTangent = normalize( transformedTangent );
+ vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );
+ #endif
+#endif`,qq=`#ifdef USE_NORMALMAP
+ uniform sampler2D normalMap;
+ uniform vec2 normalScale;
+#endif
+#ifdef USE_NORMALMAP_OBJECTSPACE
+ uniform mat3 normalMatrix;
+#endif
+#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) )
+ mat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {
+ vec3 q0 = dFdx( eye_pos.xyz );
+ vec3 q1 = dFdy( eye_pos.xyz );
+ vec2 st0 = dFdx( uv.st );
+ vec2 st1 = dFdy( uv.st );
+ vec3 N = surf_norm;
+ vec3 q1perp = cross( q1, N );
+ vec3 q0perp = cross( N, q0 );
+ vec3 T = q1perp * st0.x + q0perp * st1.x;
+ vec3 B = q1perp * st0.y + q0perp * st1.y;
+ float det = max( dot( T, T ), dot( B, B ) );
+ float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );
+ return mat3( T * scale, B * scale, N );
+ }
+#endif`,jq=`#ifdef USE_CLEARCOAT
+ vec3 clearcoatNormal = nonPerturbedNormal;
+#endif`,Kq=`#ifdef USE_CLEARCOAT_NORMALMAP
+ vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;
+ clearcoatMapN.xy *= clearcoatNormalScale;
+ clearcoatNormal = normalize( tbn2 * clearcoatMapN );
+#endif`,Zq=`#ifdef USE_CLEARCOATMAP
+ uniform sampler2D clearcoatMap;
+#endif
+#ifdef USE_CLEARCOAT_NORMALMAP
+ uniform sampler2D clearcoatNormalMap;
+ uniform vec2 clearcoatNormalScale;
+#endif
+#ifdef USE_CLEARCOAT_ROUGHNESSMAP
+ uniform sampler2D clearcoatRoughnessMap;
+#endif`,Qq=`#ifdef USE_IRIDESCENCEMAP
+ uniform sampler2D iridescenceMap;
+#endif
+#ifdef USE_IRIDESCENCE_THICKNESSMAP
+ uniform sampler2D iridescenceThicknessMap;
+#endif`,Jq=`#ifdef OPAQUE
+diffuseColor.a = 1.0;
+#endif
+#ifdef USE_TRANSMISSION
+diffuseColor.a *= material.transmissionAlpha;
+#endif
+gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,ej=`vec3 packNormalToRGB( const in vec3 normal ) {
+ return normalize( normal ) * 0.5 + 0.5;
+}
+vec3 unpackRGBToNormal( const in vec3 rgb ) {
+ return 2.0 * rgb.xyz - 1.0;
+}
+const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;
+const vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );
+const vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );
+const float ShiftRight8 = 1. / 256.;
+vec4 packDepthToRGBA( const in float v ) {
+ vec4 r = vec4( fract( v * PackFactors ), v );
+ r.yzw -= r.xyz * ShiftRight8; return r * PackUpscale;
+}
+float unpackRGBAToDepth( const in vec4 v ) {
+ return dot( v, UnpackFactors );
+}
+vec2 packDepthToRG( in highp float v ) {
+ return packDepthToRGBA( v ).yx;
+}
+float unpackRGToDepth( const in highp vec2 v ) {
+ return unpackRGBAToDepth( vec4( v.xy, 0.0, 0.0 ) );
+}
+vec4 pack2HalfToRGBA( vec2 v ) {
+ vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );
+ return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );
+}
+vec2 unpackRGBATo2Half( vec4 v ) {
+ return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );
+}
+float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {
+ return ( viewZ + near ) / ( near - far );
+}
+float orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {
+ return depth * ( near - far ) - near;
+}
+float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {
+ return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );
+}
+float perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {
+ return ( near * far ) / ( ( far - near ) * depth - far );
+}`,tj=`#ifdef PREMULTIPLIED_ALPHA
+ gl_FragColor.rgb *= gl_FragColor.a;
+#endif`,nj=`vec4 mvPosition = vec4( transformed, 1.0 );
+#ifdef USE_BATCHING
+ mvPosition = batchingMatrix * mvPosition;
+#endif
+#ifdef USE_INSTANCING
+ mvPosition = instanceMatrix * mvPosition;
+#endif
+mvPosition = modelViewMatrix * mvPosition;
+gl_Position = projectionMatrix * mvPosition;`,rj=`#ifdef DITHERING
+ gl_FragColor.rgb = dithering( gl_FragColor.rgb );
+#endif`,ij=`#ifdef DITHERING
+ vec3 dithering( vec3 color ) {
+ float grid_position = rand( gl_FragCoord.xy );
+ vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );
+ dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );
+ return color + dither_shift_RGB;
+ }
+#endif`,aj=`float roughnessFactor = roughness;
+#ifdef USE_ROUGHNESSMAP
+ vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );
+ roughnessFactor *= texelRoughness.g;
+#endif`,oj=`#ifdef USE_ROUGHNESSMAP
+ uniform sampler2D roughnessMap;
+#endif`,sj=`#if NUM_SPOT_LIGHT_COORDS > 0
+ varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];
+#endif
+#if NUM_SPOT_LIGHT_MAPS > 0
+ uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];
+#endif
+#ifdef USE_SHADOWMAP
+ #if NUM_DIR_LIGHT_SHADOWS > 0
+ uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];
+ varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];
+ struct DirectionalLightShadow {
+ float shadowBias;
+ float shadowNormalBias;
+ float shadowRadius;
+ vec2 shadowMapSize;
+ };
+ uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];
+ #endif
+ #if NUM_SPOT_LIGHT_SHADOWS > 0
+ uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];
+ struct SpotLightShadow {
+ float shadowBias;
+ float shadowNormalBias;
+ float shadowRadius;
+ vec2 shadowMapSize;
+ };
+ uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];
+ #endif
+ #if NUM_POINT_LIGHT_SHADOWS > 0
+ uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];
+ varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];
+ struct PointLightShadow {
+ float shadowBias;
+ float shadowNormalBias;
+ float shadowRadius;
+ vec2 shadowMapSize;
+ float shadowCameraNear;
+ float shadowCameraFar;
+ };
+ uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];
+ #endif
+ float texture2DCompare( sampler2D depths, vec2 uv, float compare ) {
+ return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );
+ }
+ vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {
+ return unpackRGBATo2Half( texture2D( shadow, uv ) );
+ }
+ float VSMShadow (sampler2D shadow, vec2 uv, float compare ){
+ float occlusion = 1.0;
+ vec2 distribution = texture2DDistribution( shadow, uv );
+ float hard_shadow = step( compare , distribution.x );
+ if (hard_shadow != 1.0 ) {
+ float distance = compare - distribution.x ;
+ float variance = max( 0.00000, distribution.y * distribution.y );
+ float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );
+ }
+ return occlusion;
+ }
+ float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {
+ float shadow = 1.0;
+ shadowCoord.xyz /= shadowCoord.w;
+ shadowCoord.z += shadowBias;
+ bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;
+ bool frustumTest = inFrustum && shadowCoord.z <= 1.0;
+ if ( frustumTest ) {
+ #if defined( SHADOWMAP_TYPE_PCF )
+ vec2 texelSize = vec2( 1.0 ) / shadowMapSize;
+ float dx0 = - texelSize.x * shadowRadius;
+ float dy0 = - texelSize.y * shadowRadius;
+ float dx1 = + texelSize.x * shadowRadius;
+ float dy1 = + texelSize.y * shadowRadius;
+ float dx2 = dx0 / 2.0;
+ float dy2 = dy0 / 2.0;
+ float dx3 = dx1 / 2.0;
+ float dy3 = dy1 / 2.0;
+ shadow = (
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )
+ ) * ( 1.0 / 17.0 );
+ #elif defined( SHADOWMAP_TYPE_PCF_SOFT )
+ vec2 texelSize = vec2( 1.0 ) / shadowMapSize;
+ float dx = texelSize.x;
+ float dy = texelSize.y;
+ vec2 uv = shadowCoord.xy;
+ vec2 f = fract( uv * shadowMapSize + 0.5 );
+ uv -= f * texelSize;
+ shadow = (
+ texture2DCompare( shadowMap, uv, shadowCoord.z ) +
+ texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +
+ texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +
+ mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),
+ texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),
+ f.x ) +
+ mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),
+ texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),
+ f.x ) +
+ mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),
+ texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),
+ f.y ) +
+ mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),
+ texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),
+ f.y ) +
+ mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),
+ texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),
+ f.x ),
+ mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),
+ texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),
+ f.x ),
+ f.y )
+ ) * ( 1.0 / 9.0 );
+ #elif defined( SHADOWMAP_TYPE_VSM )
+ shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );
+ #else
+ shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );
+ #endif
+ }
+ return shadow;
+ }
+ vec2 cubeToUV( vec3 v, float texelSizeY ) {
+ vec3 absV = abs( v );
+ float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );
+ absV *= scaleToCube;
+ v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );
+ vec2 planar = v.xy;
+ float almostATexel = 1.5 * texelSizeY;
+ float almostOne = 1.0 - almostATexel;
+ if ( absV.z >= almostOne ) {
+ if ( v.z > 0.0 )
+ planar.x = 4.0 - v.x;
+ } else if ( absV.x >= almostOne ) {
+ float signX = sign( v.x );
+ planar.x = v.z * signX + 2.0 * signX;
+ } else if ( absV.y >= almostOne ) {
+ float signY = sign( v.y );
+ planar.x = v.x + 2.0 * signY + 2.0;
+ planar.y = v.z * signY - 2.0;
+ }
+ return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );
+ }
+ float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {
+ vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );
+ vec3 lightToPosition = shadowCoord.xyz;
+ float dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias;
+ vec3 bd3D = normalize( lightToPosition );
+ #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )
+ vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;
+ return (
+ texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +
+ texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +
+ texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +
+ texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +
+ texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +
+ texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +
+ texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +
+ texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +
+ texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )
+ ) * ( 1.0 / 9.0 );
+ #else
+ return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );
+ #endif
+ }
+#endif`,lj=`#if NUM_SPOT_LIGHT_COORDS > 0
+ uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];
+ varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];
+#endif
+#ifdef USE_SHADOWMAP
+ #if NUM_DIR_LIGHT_SHADOWS > 0
+ uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];
+ varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];
+ struct DirectionalLightShadow {
+ float shadowBias;
+ float shadowNormalBias;
+ float shadowRadius;
+ vec2 shadowMapSize;
+ };
+ uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];
+ #endif
+ #if NUM_SPOT_LIGHT_SHADOWS > 0
+ struct SpotLightShadow {
+ float shadowBias;
+ float shadowNormalBias;
+ float shadowRadius;
+ vec2 shadowMapSize;
+ };
+ uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];
+ #endif
+ #if NUM_POINT_LIGHT_SHADOWS > 0
+ uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];
+ varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];
+ struct PointLightShadow {
+ float shadowBias;
+ float shadowNormalBias;
+ float shadowRadius;
+ vec2 shadowMapSize;
+ float shadowCameraNear;
+ float shadowCameraFar;
+ };
+ uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];
+ #endif
+#endif`,uj=`#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )
+ vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );
+ vec4 shadowWorldPosition;
+#endif
+#if defined( USE_SHADOWMAP )
+ #if NUM_DIR_LIGHT_SHADOWS > 0
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {
+ shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );
+ vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;
+ }
+ #pragma unroll_loop_end
+ #endif
+ #if NUM_POINT_LIGHT_SHADOWS > 0
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {
+ shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );
+ vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;
+ }
+ #pragma unroll_loop_end
+ #endif
+#endif
+#if NUM_SPOT_LIGHT_COORDS > 0
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {
+ shadowWorldPosition = worldPosition;
+ #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )
+ shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;
+ #endif
+ vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;
+ }
+ #pragma unroll_loop_end
+#endif`,cj=`float getShadowMask() {
+ float shadow = 1.0;
+ #ifdef USE_SHADOWMAP
+ #if NUM_DIR_LIGHT_SHADOWS > 0
+ DirectionalLightShadow directionalLight;
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {
+ directionalLight = directionalLightShadows[ i ];
+ shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;
+ }
+ #pragma unroll_loop_end
+ #endif
+ #if NUM_SPOT_LIGHT_SHADOWS > 0
+ SpotLightShadow spotLight;
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {
+ spotLight = spotLightShadows[ i ];
+ shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;
+ }
+ #pragma unroll_loop_end
+ #endif
+ #if NUM_POINT_LIGHT_SHADOWS > 0
+ PointLightShadow pointLight;
+ #pragma unroll_loop_start
+ for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {
+ pointLight = pointLightShadows[ i ];
+ shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;
+ }
+ #pragma unroll_loop_end
+ #endif
+ #endif
+ return shadow;
+}`,hj=`#ifdef USE_SKINNING
+ mat4 boneMatX = getBoneMatrix( skinIndex.x );
+ mat4 boneMatY = getBoneMatrix( skinIndex.y );
+ mat4 boneMatZ = getBoneMatrix( skinIndex.z );
+ mat4 boneMatW = getBoneMatrix( skinIndex.w );
+#endif`,fj=`#ifdef USE_SKINNING
+ uniform mat4 bindMatrix;
+ uniform mat4 bindMatrixInverse;
+ uniform highp sampler2D boneTexture;
+ mat4 getBoneMatrix( const in float i ) {
+ int size = textureSize( boneTexture, 0 ).x;
+ int j = int( i ) * 4;
+ int x = j % size;
+ int y = j / size;
+ vec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 );
+ vec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 );
+ vec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 );
+ vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );
+ return mat4( v1, v2, v3, v4 );
+ }
+#endif`,dj=`#ifdef USE_SKINNING
+ vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );
+ vec4 skinned = vec4( 0.0 );
+ skinned += boneMatX * skinVertex * skinWeight.x;
+ skinned += boneMatY * skinVertex * skinWeight.y;
+ skinned += boneMatZ * skinVertex * skinWeight.z;
+ skinned += boneMatW * skinVertex * skinWeight.w;
+ transformed = ( bindMatrixInverse * skinned ).xyz;
+#endif`,pj=`#ifdef USE_SKINNING
+ mat4 skinMatrix = mat4( 0.0 );
+ skinMatrix += skinWeight.x * boneMatX;
+ skinMatrix += skinWeight.y * boneMatY;
+ skinMatrix += skinWeight.z * boneMatZ;
+ skinMatrix += skinWeight.w * boneMatW;
+ skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;
+ objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;
+ #ifdef USE_TANGENT
+ objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;
+ #endif
+#endif`,vj=`float specularStrength;
+#ifdef USE_SPECULARMAP
+ vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );
+ specularStrength = texelSpecular.r;
+#else
+ specularStrength = 1.0;
+#endif`,gj=`#ifdef USE_SPECULARMAP
+ uniform sampler2D specularMap;
+#endif`,mj=`#if defined( TONE_MAPPING )
+ gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );
+#endif`,yj=`#ifndef saturate
+#define saturate( a ) clamp( a, 0.0, 1.0 )
+#endif
+uniform float toneMappingExposure;
+vec3 LinearToneMapping( vec3 color ) {
+ return saturate( toneMappingExposure * color );
+}
+vec3 ReinhardToneMapping( vec3 color ) {
+ color *= toneMappingExposure;
+ return saturate( color / ( vec3( 1.0 ) + color ) );
+}
+vec3 OptimizedCineonToneMapping( vec3 color ) {
+ color *= toneMappingExposure;
+ color = max( vec3( 0.0 ), color - 0.004 );
+ return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );
+}
+vec3 RRTAndODTFit( vec3 v ) {
+ vec3 a = v * ( v + 0.0245786 ) - 0.000090537;
+ vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;
+ return a / b;
+}
+vec3 ACESFilmicToneMapping( vec3 color ) {
+ const mat3 ACESInputMat = mat3(
+ vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ),
+ vec3( 0.04823, 0.01566, 0.83777 )
+ );
+ const mat3 ACESOutputMat = mat3(
+ vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ),
+ vec3( -0.07367, -0.00605, 1.07602 )
+ );
+ color *= toneMappingExposure / 0.6;
+ color = ACESInputMat * color;
+ color = RRTAndODTFit( color );
+ color = ACESOutputMat * color;
+ return saturate( color );
+}
+const mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3(
+ vec3( 1.6605, - 0.1246, - 0.0182 ),
+ vec3( - 0.5876, 1.1329, - 0.1006 ),
+ vec3( - 0.0728, - 0.0083, 1.1187 )
+);
+const mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3(
+ vec3( 0.6274, 0.0691, 0.0164 ),
+ vec3( 0.3293, 0.9195, 0.0880 ),
+ vec3( 0.0433, 0.0113, 0.8956 )
+);
+vec3 agxDefaultContrastApprox( vec3 x ) {
+ vec3 x2 = x * x;
+ vec3 x4 = x2 * x2;
+ return + 15.5 * x4 * x2
+ - 40.14 * x4 * x
+ + 31.96 * x4
+ - 6.868 * x2 * x
+ + 0.4298 * x2
+ + 0.1191 * x
+ - 0.00232;
+}
+vec3 AgXToneMapping( vec3 color ) {
+ const mat3 AgXInsetMatrix = mat3(
+ vec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ),
+ vec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ),
+ vec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 )
+ );
+ const mat3 AgXOutsetMatrix = mat3(
+ vec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ),
+ vec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ),
+ vec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 )
+ );
+ const float AgxMinEv = - 12.47393; const float AgxMaxEv = 4.026069;
+ color *= toneMappingExposure;
+ color = LINEAR_SRGB_TO_LINEAR_REC2020 * color;
+ color = AgXInsetMatrix * color;
+ color = max( color, 1e-10 ); color = log2( color );
+ color = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv );
+ color = clamp( color, 0.0, 1.0 );
+ color = agxDefaultContrastApprox( color );
+ color = AgXOutsetMatrix * color;
+ color = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) );
+ color = LINEAR_REC2020_TO_LINEAR_SRGB * color;
+ color = clamp( color, 0.0, 1.0 );
+ return color;
+}
+vec3 CustomToneMapping( vec3 color ) { return color; }`,_j=`#ifdef USE_TRANSMISSION
+ material.transmission = transmission;
+ material.transmissionAlpha = 1.0;
+ material.thickness = thickness;
+ material.attenuationDistance = attenuationDistance;
+ material.attenuationColor = attenuationColor;
+ #ifdef USE_TRANSMISSIONMAP
+ material.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;
+ #endif
+ #ifdef USE_THICKNESSMAP
+ material.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;
+ #endif
+ vec3 pos = vWorldPosition;
+ vec3 v = normalize( cameraPosition - pos );
+ vec3 n = inverseTransformDirection( normal, viewMatrix );
+ vec4 transmitted = getIBLVolumeRefraction(
+ n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,
+ pos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness,
+ material.attenuationColor, material.attenuationDistance );
+ material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );
+ totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );
+#endif`,xj=`#ifdef USE_TRANSMISSION
+ uniform float transmission;
+ uniform float thickness;
+ uniform float attenuationDistance;
+ uniform vec3 attenuationColor;
+ #ifdef USE_TRANSMISSIONMAP
+ uniform sampler2D transmissionMap;
+ #endif
+ #ifdef USE_THICKNESSMAP
+ uniform sampler2D thicknessMap;
+ #endif
+ uniform vec2 transmissionSamplerSize;
+ uniform sampler2D transmissionSamplerMap;
+ uniform mat4 modelMatrix;
+ uniform mat4 projectionMatrix;
+ varying vec3 vWorldPosition;
+ float w0( float a ) {
+ return ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );
+ }
+ float w1( float a ) {
+ return ( 1.0 / 6.0 ) * ( a * a * ( 3.0 * a - 6.0 ) + 4.0 );
+ }
+ float w2( float a ){
+ return ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );
+ }
+ float w3( float a ) {
+ return ( 1.0 / 6.0 ) * ( a * a * a );
+ }
+ float g0( float a ) {
+ return w0( a ) + w1( a );
+ }
+ float g1( float a ) {
+ return w2( a ) + w3( a );
+ }
+ float h0( float a ) {
+ return - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );
+ }
+ float h1( float a ) {
+ return 1.0 + w3( a ) / ( w2( a ) + w3( a ) );
+ }
+ vec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) {
+ uv = uv * texelSize.zw + 0.5;
+ vec2 iuv = floor( uv );
+ vec2 fuv = fract( uv );
+ float g0x = g0( fuv.x );
+ float g1x = g1( fuv.x );
+ float h0x = h0( fuv.x );
+ float h1x = h1( fuv.x );
+ float h0y = h0( fuv.y );
+ float h1y = h1( fuv.y );
+ vec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;
+ vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;
+ vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;
+ vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;
+ return g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +
+ g1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );
+ }
+ vec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {
+ vec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );
+ vec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );
+ vec2 fLodSizeInv = 1.0 / fLodSize;
+ vec2 cLodSizeInv = 1.0 / cLodSize;
+ vec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) );
+ vec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) );
+ return mix( fSample, cSample, fract( lod ) );
+ }
+ vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {
+ vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );
+ vec3 modelScale;
+ modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );
+ modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );
+ modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );
+ return normalize( refractionVector ) * thickness * modelScale;
+ }
+ float applyIorToRoughness( const in float roughness, const in float ior ) {
+ return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );
+ }
+ vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {
+ float lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );
+ return textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );
+ }
+ vec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {
+ if ( isinf( attenuationDistance ) ) {
+ return vec3( 1.0 );
+ } else {
+ vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;
+ vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance;
+ }
+ }
+ vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,
+ const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,
+ const in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,
+ const in vec3 attenuationColor, const in float attenuationDistance ) {
+ vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );
+ vec3 refractedRayExit = position + transmissionRay;
+ vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );
+ vec2 refractionCoords = ndcPos.xy / ndcPos.w;
+ refractionCoords += 1.0;
+ refractionCoords /= 2.0;
+ vec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );
+ vec3 transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance );
+ vec3 attenuatedColor = transmittance * transmittedLight.rgb;
+ vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );
+ float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;
+ return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );
+ }
+#endif`,Sj=`#if defined( USE_UV ) || defined( USE_ANISOTROPY )
+ varying vec2 vUv;
+#endif
+#ifdef USE_MAP
+ varying vec2 vMapUv;
+#endif
+#ifdef USE_ALPHAMAP
+ varying vec2 vAlphaMapUv;
+#endif
+#ifdef USE_LIGHTMAP
+ varying vec2 vLightMapUv;
+#endif
+#ifdef USE_AOMAP
+ varying vec2 vAoMapUv;
+#endif
+#ifdef USE_BUMPMAP
+ varying vec2 vBumpMapUv;
+#endif
+#ifdef USE_NORMALMAP
+ varying vec2 vNormalMapUv;
+#endif
+#ifdef USE_EMISSIVEMAP
+ varying vec2 vEmissiveMapUv;
+#endif
+#ifdef USE_METALNESSMAP
+ varying vec2 vMetalnessMapUv;
+#endif
+#ifdef USE_ROUGHNESSMAP
+ varying vec2 vRoughnessMapUv;
+#endif
+#ifdef USE_ANISOTROPYMAP
+ varying vec2 vAnisotropyMapUv;
+#endif
+#ifdef USE_CLEARCOATMAP
+ varying vec2 vClearcoatMapUv;
+#endif
+#ifdef USE_CLEARCOAT_NORMALMAP
+ varying vec2 vClearcoatNormalMapUv;
+#endif
+#ifdef USE_CLEARCOAT_ROUGHNESSMAP
+ varying vec2 vClearcoatRoughnessMapUv;
+#endif
+#ifdef USE_IRIDESCENCEMAP
+ varying vec2 vIridescenceMapUv;
+#endif
+#ifdef USE_IRIDESCENCE_THICKNESSMAP
+ varying vec2 vIridescenceThicknessMapUv;
+#endif
+#ifdef USE_SHEEN_COLORMAP
+ varying vec2 vSheenColorMapUv;
+#endif
+#ifdef USE_SHEEN_ROUGHNESSMAP
+ varying vec2 vSheenRoughnessMapUv;
+#endif
+#ifdef USE_SPECULARMAP
+ varying vec2 vSpecularMapUv;
+#endif
+#ifdef USE_SPECULAR_COLORMAP
+ varying vec2 vSpecularColorMapUv;
+#endif
+#ifdef USE_SPECULAR_INTENSITYMAP
+ varying vec2 vSpecularIntensityMapUv;
+#endif
+#ifdef USE_TRANSMISSIONMAP
+ uniform mat3 transmissionMapTransform;
+ varying vec2 vTransmissionMapUv;
+#endif
+#ifdef USE_THICKNESSMAP
+ uniform mat3 thicknessMapTransform;
+ varying vec2 vThicknessMapUv;
+#endif`,Aj=`#if defined( USE_UV ) || defined( USE_ANISOTROPY )
+ varying vec2 vUv;
+#endif
+#ifdef USE_MAP
+ uniform mat3 mapTransform;
+ varying vec2 vMapUv;
+#endif
+#ifdef USE_ALPHAMAP
+ uniform mat3 alphaMapTransform;
+ varying vec2 vAlphaMapUv;
+#endif
+#ifdef USE_LIGHTMAP
+ uniform mat3 lightMapTransform;
+ varying vec2 vLightMapUv;
+#endif
+#ifdef USE_AOMAP
+ uniform mat3 aoMapTransform;
+ varying vec2 vAoMapUv;
+#endif
+#ifdef USE_BUMPMAP
+ uniform mat3 bumpMapTransform;
+ varying vec2 vBumpMapUv;
+#endif
+#ifdef USE_NORMALMAP
+ uniform mat3 normalMapTransform;
+ varying vec2 vNormalMapUv;
+#endif
+#ifdef USE_DISPLACEMENTMAP
+ uniform mat3 displacementMapTransform;
+ varying vec2 vDisplacementMapUv;
+#endif
+#ifdef USE_EMISSIVEMAP
+ uniform mat3 emissiveMapTransform;
+ varying vec2 vEmissiveMapUv;
+#endif
+#ifdef USE_METALNESSMAP
+ uniform mat3 metalnessMapTransform;
+ varying vec2 vMetalnessMapUv;
+#endif
+#ifdef USE_ROUGHNESSMAP
+ uniform mat3 roughnessMapTransform;
+ varying vec2 vRoughnessMapUv;
+#endif
+#ifdef USE_ANISOTROPYMAP
+ uniform mat3 anisotropyMapTransform;
+ varying vec2 vAnisotropyMapUv;
+#endif
+#ifdef USE_CLEARCOATMAP
+ uniform mat3 clearcoatMapTransform;
+ varying vec2 vClearcoatMapUv;
+#endif
+#ifdef USE_CLEARCOAT_NORMALMAP
+ uniform mat3 clearcoatNormalMapTransform;
+ varying vec2 vClearcoatNormalMapUv;
+#endif
+#ifdef USE_CLEARCOAT_ROUGHNESSMAP
+ uniform mat3 clearcoatRoughnessMapTransform;
+ varying vec2 vClearcoatRoughnessMapUv;
+#endif
+#ifdef USE_SHEEN_COLORMAP
+ uniform mat3 sheenColorMapTransform;
+ varying vec2 vSheenColorMapUv;
+#endif
+#ifdef USE_SHEEN_ROUGHNESSMAP
+ uniform mat3 sheenRoughnessMapTransform;
+ varying vec2 vSheenRoughnessMapUv;
+#endif
+#ifdef USE_IRIDESCENCEMAP
+ uniform mat3 iridescenceMapTransform;
+ varying vec2 vIridescenceMapUv;
+#endif
+#ifdef USE_IRIDESCENCE_THICKNESSMAP
+ uniform mat3 iridescenceThicknessMapTransform;
+ varying vec2 vIridescenceThicknessMapUv;
+#endif
+#ifdef USE_SPECULARMAP
+ uniform mat3 specularMapTransform;
+ varying vec2 vSpecularMapUv;
+#endif
+#ifdef USE_SPECULAR_COLORMAP
+ uniform mat3 specularColorMapTransform;
+ varying vec2 vSpecularColorMapUv;
+#endif
+#ifdef USE_SPECULAR_INTENSITYMAP
+ uniform mat3 specularIntensityMapTransform;
+ varying vec2 vSpecularIntensityMapUv;
+#endif
+#ifdef USE_TRANSMISSIONMAP
+ uniform mat3 transmissionMapTransform;
+ varying vec2 vTransmissionMapUv;
+#endif
+#ifdef USE_THICKNESSMAP
+ uniform mat3 thicknessMapTransform;
+ varying vec2 vThicknessMapUv;
+#endif`,wj=`#if defined( USE_UV ) || defined( USE_ANISOTROPY )
+ vUv = vec3( uv, 1 ).xy;
+#endif
+#ifdef USE_MAP
+ vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_ALPHAMAP
+ vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_LIGHTMAP
+ vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_AOMAP
+ vAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_BUMPMAP
+ vBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_NORMALMAP
+ vNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_DISPLACEMENTMAP
+ vDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_EMISSIVEMAP
+ vEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_METALNESSMAP
+ vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_ROUGHNESSMAP
+ vRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_ANISOTROPYMAP
+ vAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_CLEARCOATMAP
+ vClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_CLEARCOAT_NORMALMAP
+ vClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_CLEARCOAT_ROUGHNESSMAP
+ vClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_IRIDESCENCEMAP
+ vIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_IRIDESCENCE_THICKNESSMAP
+ vIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_SHEEN_COLORMAP
+ vSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_SHEEN_ROUGHNESSMAP
+ vSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_SPECULARMAP
+ vSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_SPECULAR_COLORMAP
+ vSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_SPECULAR_INTENSITYMAP
+ vSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_TRANSMISSIONMAP
+ vTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;
+#endif
+#ifdef USE_THICKNESSMAP
+ vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;
+#endif`,bj=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0
+ vec4 worldPosition = vec4( transformed, 1.0 );
+ #ifdef USE_BATCHING
+ worldPosition = batchingMatrix * worldPosition;
+ #endif
+ #ifdef USE_INSTANCING
+ worldPosition = instanceMatrix * worldPosition;
+ #endif
+ worldPosition = modelMatrix * worldPosition;
+#endif`;const Tj=`varying vec2 vUv;
+uniform mat3 uvTransform;
+void main() {
+ vUv = ( uvTransform * vec3( uv, 1 ) ).xy;
+ gl_Position = vec4( position.xy, 1.0, 1.0 );
+}`,Mj=`uniform sampler2D t2D;
+uniform float backgroundIntensity;
+varying vec2 vUv;
+void main() {
+ vec4 texColor = texture2D( t2D, vUv );
+ #ifdef DECODE_VIDEO_TEXTURE
+ texColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );
+ #endif
+ texColor.rgb *= backgroundIntensity;
+ gl_FragColor = texColor;
+ #include
+ #include
+}`,Cj=`varying vec3 vWorldDirection;
+#include
+void main() {
+ vWorldDirection = transformDirection( position, modelMatrix );
+ #include
+ #include
+ gl_Position.z = gl_Position.w;
+}`,Ej=`#ifdef ENVMAP_TYPE_CUBE
+ uniform samplerCube envMap;
+#elif defined( ENVMAP_TYPE_CUBE_UV )
+ uniform sampler2D envMap;
+#endif
+uniform float flipEnvMap;
+uniform float backgroundBlurriness;
+uniform float backgroundIntensity;
+varying vec3 vWorldDirection;
+#include
+void main() {
+ #ifdef ENVMAP_TYPE_CUBE
+ vec4 texColor = textureCube( envMap, vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );
+ #elif defined( ENVMAP_TYPE_CUBE_UV )
+ vec4 texColor = textureCubeUV( envMap, vWorldDirection, backgroundBlurriness );
+ #else
+ vec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );
+ #endif
+ texColor.rgb *= backgroundIntensity;
+ gl_FragColor = texColor;
+ #include
+ #include
+}`,Lj=`varying vec3 vWorldDirection;
+#include
+void main() {
+ vWorldDirection = transformDirection( position, modelMatrix );
+ #include
+ #include
+ gl_Position.z = gl_Position.w;
+}`,Pj=`uniform samplerCube tCube;
+uniform float tFlip;
+uniform float opacity;
+varying vec3 vWorldDirection;
+void main() {
+ vec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );
+ gl_FragColor = texColor;
+ gl_FragColor.a *= opacity;
+ #include
+ #include
+}`,Rj=`#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+varying vec2 vHighPrecisionZW;
+void main() {
+ #include
+ #include
+ #include
+ #ifdef USE_DISPLACEMENTMAP
+ #include
+ #include
+ #include
+ #endif
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ vHighPrecisionZW = gl_Position.zw;
+}`,Dj=`#if DEPTH_PACKING == 3200
+ uniform float opacity;
+#endif
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+varying vec2 vHighPrecisionZW;
+void main() {
+ vec4 diffuseColor = vec4( 1.0 );
+ #include
+ #if DEPTH_PACKING == 3200
+ diffuseColor.a = opacity;
+ #endif
+ #include
+ #include
+ #include
+ #include
+ #include
+ float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;
+ #if DEPTH_PACKING == 3200
+ gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );
+ #elif DEPTH_PACKING == 3201
+ gl_FragColor = packDepthToRGBA( fragCoordZ );
+ #endif
+}`,Ij=`#define DISTANCE
+varying vec3 vWorldPosition;
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+void main() {
+ #include
+ #include
+ #include
+ #ifdef USE_DISPLACEMENTMAP
+ #include
+ #include
+ #include
+ #endif
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ vWorldPosition = worldPosition.xyz;
+}`,Nj=`#define DISTANCE
+uniform vec3 referencePosition;
+uniform float nearDistance;
+uniform float farDistance;
+varying vec3 vWorldPosition;
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+void main () {
+ vec4 diffuseColor = vec4( 1.0 );
+ #include
+ #include
+ #include
+ #include
+ #include
+ float dist = length( vWorldPosition - referencePosition );
+ dist = ( dist - nearDistance ) / ( farDistance - nearDistance );
+ dist = saturate( dist );
+ gl_FragColor = packDepthToRGBA( dist );
+}`,kj=`varying vec3 vWorldDirection;
+#include
+void main() {
+ vWorldDirection = transformDirection( position, modelMatrix );
+ #include
+ #include
+}`,Oj=`uniform sampler2D tEquirect;
+varying vec3 vWorldDirection;
+#include
+void main() {
+ vec3 direction = normalize( vWorldDirection );
+ vec2 sampleUV = equirectUv( direction );
+ gl_FragColor = texture2D( tEquirect, sampleUV );
+ #include
+ #include
+}`,Fj=`uniform float scale;
+attribute float lineDistance;
+varying float vLineDistance;
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+void main() {
+ vLineDistance = scale * lineDistance;
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+}`,Bj=`uniform vec3 diffuse;
+uniform float opacity;
+uniform float dashSize;
+uniform float totalSize;
+varying float vLineDistance;
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+void main() {
+ vec4 diffuseColor = vec4( diffuse, opacity );
+ #include
+ if ( mod( vLineDistance, totalSize ) > dashSize ) {
+ discard;
+ }
+ vec3 outgoingLight = vec3( 0.0 );
+ #include
+ #include
+ #include
+ outgoingLight = diffuseColor.rgb;
+ #include
+ #include
+ #include
+ #include
+ #include
+}`,zj=`#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+void main() {
+ #include
+ #include
+ #include
+ #include
+ #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )
+ #include
+ #include
+ #include
+ #include
+ #include
+ #endif
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+ #include
+}`,Uj=`uniform vec3 diffuse;
+uniform float opacity;
+#ifndef FLAT_SHADED
+ varying vec3 vNormal;
+#endif
+#include
+#include
+#include
+#include
+#include
+#include
+#include