初始提交:5G 基站退服时长智能分析与故障闭环管控系统
Flask + SQLite 后端,免构建 React + ECharts 前端,含合成样例数据。 测试参考数据(FOR-TEST-ONLY)与运行时数据库不入库。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
f8d1ccc526
39 files changed
+29010
No files matched your search
Vendored
+40
@@ -0,0 +1,40 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */var Eu=function(r,t){return Eu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])},Eu(r,t)};function N(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Eu(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var g_=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),y_=function(){function r(){this.browser=new g_,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r}(),Z=new y_;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Z.wxa=!0,Z.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Z.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js")===0?(Z.node=!0,Z.svgSupported=!0):m_(navigator.userAgent,Z);function m_(r,t){var e=t.browser,i=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),a=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);i&&(e.firefox=!0,e.version=i[1]),n&&(e.ie=!0,e.version=n[1]),a&&(e.edge=!0,e.version=a[1],e.newEdge=+a[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}var Wf=12,__="sans-serif",yi=Wf+"px "+__,S_=20,w_=100,b_="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function x_(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e<r.length;e++){var i=String.fromCharCode(e+32),n=(r.charCodeAt(e)-S_)/w_;t[i]=n}return t}var T_=x_(b_),Oe={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var r,t;return function(e,i){if(!r){var n=Oe.createCanvas();r=n&&n.getContext("2d")}if(r)return t!==i&&(t=r.font=i||yi),r.measureText(e);e=e||"",i=i||yi;var a=/((?:\d+)?\.?\d*)px/.exec(i),o=a&&+a[1]||Wf,s=0;if(i.indexOf("mono")>=0)s=o*e.length;else for(var l=0;l<e.length;l++){var u=T_[e[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(r,t,e){var i=new Image;return i.onload=t,i.onerror=e,i.src=r,i}};function ig(r){for(var t in Oe)r[t]&&(Oe[t]=r[t])}var ng=Ke(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,t){return r["[object "+t+"]"]=!0,r},{}),ag=Ke(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,t){return r["[object "+t+"Array]"]=!0,r},{}),ln=Object.prototype.toString,Ms=Array.prototype,C_=Ms.forEach,M_=Ms.filter,Uf=Ms.slice,D_=Ms.map,sv=(function(){}).constructor,Fa=sv?sv.prototype:null,Yf="__proto__",A_=2311;function Xf(){return A_++}function Ds(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];typeof console<"u"&&console.error.apply(console,r)}function X(r){if(r==null||typeof r!="object")return r;var t=r,e=ln.call(r);if(e==="[object Array]"){if(!Ki(r)){t=[];for(var i=0,n=r.length;i<n;i++)t[i]=X(r[i])}}else if(ag[e]){if(!Ki(r)){var a=r.constructor;if(a.from)t=a.from(r);else{t=new a(r.length);for(var i=0,n=r.length;i<n;i++)t[i]=r[i]}}}else if(!ng[e]&&!Ki(r)&&!nn(r)){t={};for(var o in r)r.hasOwnProperty(o)&&o!==Yf&&(t[o]=X(r[o]))}return t}function rt(r,t,e){if(!G(t)||!G(r))return e?X(t):r;for(var i in t)if(t.hasOwnProperty(i)&&i!==Yf){var n=r[i],a=t[i];G(a)&&G(n)&&!F(a)&&!F(n)&&!nn(a)&&!nn(n)&&!Ou(a)&&!Ou(n)&&!Ki(a)&&!Ki(n)?rt(n,a,e):(e||!(i in r))&&(r[i]=X(t[i]))}return r}function I_(r,t){for(var e=r[0],i=1,n=r.length;i<n;i++)e=rt(e,r[i],t);return e}function B(r,t){if(Object.assign)Object.assign(r,t);else for(var e in t)t.hasOwnProperty(e)&&e!==Yf&&(r[e]=t[e]);return r}function at(r,t,e){for(var i=ct(t),n=0;n<i.length;n++){var a=i[n];(e?t[a]!=null:r[a]==null)&&(r[a]=t[a])}return r}var L_=Oe.createCanvas;function ut(r,t){if(r){if(r.indexOf)return r.indexOf(t);for(var e=0,i=r.length;e<i;e++)if(r[e]===t)return e}return-1}function $f(r,t){var e=r.prototype;function i(){}i.prototype=t.prototype,r.prototype=new i;for(var n in e)e.hasOwnProperty(n)&&(r.prototype[n]=e[n]);r.prototype.constructor=r,r.superClass=t}function Se(r,t,e){if(r="prototype"in r?r.prototype:r,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(t),n=0;n<i.lengtLine truncated
|
||||
`),a=n.length;if(a===1)return Pv(n[0],t,e,i);for(var o=new nt(0,0,0,0),s=0;s<n.length;s++){var l=Pv(n[s],t,e,i);s===0?o.copy(l):o.union(l)}return o}function Vn(r,t,e){return e==="right"?r-=t:e==="center"&&(r-=t/2),r}function Yi(r,t,e){return e==="middle"?r-=t/2:e==="bottom"&&(r-=t),r}function nh(r){return oe("国",r)}function Qe(r,t){return typeof r=="string"?r.lastIndexOf("%")>=0?parseFloat(r)/100*t:parseFloat(r):r}function rs(r,t,e){var i=t.position||"inside",n=t.distance!=null?t.distance:5,a=e.height,o=e.width,s=a/2,l=e.x,u=e.y,f="left",h="top";if(i instanceof Array)l+=Qe(i[0],e.width),u+=Qe(i[1],e.height),f=null,h=null;else switch(i){case"left":l-=n,u+=s,f="right",h="middle";break;case"right":l+=n+o,u+=s,h="middle";break;case"top":l+=o/2,u-=n,f="center",h="bottom";break;case"bottom":l+=o/2,u+=a+n,f="center";break;case"inside":l+=o/2,u+=s,f="center",h="middle";break;case"insideLeft":l+=n,u+=s,h="middle";break;case"insideRight":l+=o-n,u+=s,f="right",h="middle";break;case"insideTop":l+=o/2,u+=n,f="center";break;case"insideBottom":l+=o/2,u+=a-n,f="center",h="bottom";break;case"insideTopLeft":l+=n,u+=n;break;case"insideTopRight":l+=o-n,u+=n,f="right";break;case"insideBottomLeft":l+=n,u+=a-n,h="bottom";break;case"insideBottomRight":l+=o-n,u+=a-n,f="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=f,r.verticalAlign=h,r}var Cl="__zr_normal__",Ml=la.concat(["ignore"]),K1=Ke(la,function(r,t){return r[t]=!0,r},{ignore:!1}),Pi={},Q1=new nt(0,0,0,0),Ls=function(){function r(t){this.id=Xf(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,i){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,n=i.local,a=e.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=n?this:null;var u=!1;if(a.copyTransform(e),i.position!=null){var f=Q1;i.layoutRect?f.copy(i.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Pi,i,f):rs(Pi,i,f),a.x=Pi.x,a.y=Pi.y,o=Pi.align,s=Pi.verticalAlign;var h=i.origin;if(h&&i.rotation!=null){var c=void 0,v=void 0;h==="center"?(c=f.width*.5,v=f.height*.5):(c=Qe(h[0],f.width),v=Qe(h[1],f.height)),u=!0,a.originX=-a.x+c+(n?0:f.x),a.originY=-a.y+v+(n?0:f.y)}}i.rotation!=null&&(a.rotation=i.rotation);var p=i.offset;p&&(a.x+=p[0],a.y+=p[1],u||(a.originX=-p[0],a.originY=-p[1]));var g=i.inside==null?typeof i.position=="string"&&i.position.indexOf("inside")>=0:i.inside,d=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,_=void 0;g&&this.canBeInsideText()?(y=i.insideFill,m=i.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(y),_=!0)):(y=i.outsideFill,m=i.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(y),_=!0)),y=y||"#000",(y!==d.fill||m!==d.stroke||_!==d.autoStroke||o!==d.align||s!==d.verticalAlign)&&(l=!0,d.fill=y,d.stroke=m,d.autoStroke=_,d.align=o,d.verticalAlign=s,e.setDefaultTextStyle(d)),e.__dirty|=ae,l&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ku:qu},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),i=typeof e=="string"&&ee(e);i||(i=[255,255,255,1]);for(var n=i[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+(a?0:255)*(1-n);return i[3]=1,Pe(i,"rgba")},r.prototype.traverse=function(t,e){},r.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},B(this.extra,e)):this[t]=e},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if(G(t))for(var i=t,n=ct(i),a=0;a<n.length;a++){var o=n[a];this.attrKV(o,t[o])}return this.markRedraw(),this},r.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,i=0;i<this.animators.length;i++){var n=this.animators[i],a=n.__fromStateTransition;if(!(n.getLoop()||a&&a!==Cl)){var o=n.targetName,s=o?e[o]:e;n.saveTo(s)}}},r.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfi
Line truncated
|
||||
* ZRender, a high performance 2d drawing library.
|
||||
*
|
||||
* Copyright (c) 2013, Baidu Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* LICENSE
|
||||
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
||||
*/var Bo={},si={};function rS(r){delete si[r]}function iS(r){if(!r)return!1;if(typeof r=="string")return sa(r,1)<Zu;if(r.colorStops){for(var t=r.colorStops,e=0,i=t.length,n=0;n<i;n++)e+=sa(t[n].color,1);return e/=i,e<Zu}return!1}var nS=function(){function r(t,e,i){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,i=i||{},this.dom=e,this.id=t;var a=new y1,o=i.renderer||"canvas";Bo[o]||(o=ct(Bo)[0]),i.useDirtyRect=i.useDirtyRect==null?!1:i.useDirtyRect;var s=new Bo[o](e,a,i,t),l=i.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!Z.node&&!Z.worker&&!l?new $1(s.getViewportRoot(),s.root):null,f=i.useCoarsePointer,h=f==null||f==="auto"?Z.touchEventsSupported:!!f,c=44,v;h&&(v=j(i.pointerSize,c)),this.handler=new _g(a,s,u,s.root,v),this.animation=new V1({stage:{update:l?null:function(){return n._flush(!0)}}}),l||this.animation.start()}return r.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},r.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},r.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},r.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=iS(t))},r.prototype.getBackgroundColor=function(){return this._backgroundColor},r.prototype.setDarkMode=function(t){this._darkMode=t},r.prototype.isDarkMode=function(){return this._darkMode},r.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},r.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},r.prototype.flush=function(){this._disposed||this._flush(!1)},r.prototype._flush=function(t){var e,i=Xi();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var n=Xi();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-i})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,i){return this._disposed||this.handler.on(t,e,i),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof St&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},r.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,rS(this.id))},r}();function Qu(r,t){var e=new nS(Xf(),r,t);return si[e.id]=e,e}function aS(r){r.dispose()}function oS(){for(var r in si)si.hasOwnProperty(r)&&si[r].dispose();si={}}function sS(r){return si[r]}function Og(r,t){Bo[r]=t}var Ju;function lS(r){if(typeof Ju=="function")return Ju(r)}function kg(r){Ju=r}var uS="5.6.0";const fS=Object.freeze(Object.defineProperty({__proto__:null,dispose:aS,disposeAll:oS,getElementSSRData:lS,getInstance:sS,init:Qu,registerPainter:Og,registerSSRDataGetter:kg,version:uS},Symbol.toStringTag,{value:"Module"}));var Rv=1e-4,Bg=20;function hS(r){return r.replace(/^\s+|\s+$/g,"")}function Be(r,t,e,i){var n=t[0],a=t[1],o=e[0],s=e[1],l=a-n,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(i)if(l>0){if(r<=n)return o;if(r>=a)return s}else{if(r>=n)return o;if(r<=a)return s}else{if(r===n)return o;if(r===a)return s}return(r-n)/l*u+o}function dt(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return H(r)?hS(r).match(/%$/)?parseFloat(r)/100*t:parseLine truncated
|
||||
`);n=Qg(t,e,i,n);for(var o=0,s=a.length;o<s;o++)a[o]=Jg(a[o],n);return a.join(`
|
||||
`)}function Qg(r,t,e,i){i=i||{};var n=B({},i);n.font=t,e=j(e,"..."),n.maxIterations=j(i.maxIterations,2);var a=n.minChar=j(i.minChar,0);n.cnCharWidth=oe("国",t);var o=n.ascCharWidth=oe("a",t);n.placeholder=j(i.placeholder,"");for(var s=r=Math.max(0,r-1),l=0;l<a&&s>=o;l++)s-=o;var u=oe(e,t);return u>s&&(e="",u=0),s=r-u,n.ellipsis=e,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=r,n}function Jg(r,t){var e=t.containerWidth,i=t.font,n=t.contentWidth;if(!e)return"";var a=oe(r,i);if(a<=e)return r;for(var o=0;;o++){if(a<=n||o>=t.maxIterations){r+=t.ellipsis;break}var s=o===0?YS(r,n,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(r.length*n/a):0;r=r.substr(0,s),a=oe(r,i)}return r===""&&(r=t.placeholder),r}function YS(r,t,e,i){for(var n=0,a=0,o=r.length;a<o&&n<t;a++){var s=r.charCodeAt(a);n+=0<=s&&s<=127?e:i}return a}function XS(r,t){r!=null&&(r+="");var e=t.overflow,i=t.padding,n=t.font,a=e==="truncate",o=nh(n),s=j(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",f=t.width,h;f!=null&&(e==="break"||e==="breakAll")?h=r?jg(r,t.font,f,e==="breakAll",0).lines:[]:h=r?r.split(`
|
||||
`):[];var c=h.length*s,v=j(t.height,c);if(c>v&&u){var p=Math.floor(v/s);h=h.slice(0,p)}if(r&&a&&f!=null)for(var g=Qg(f,n,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),d=0;d<h.length;d++)h[d]=Jg(h[d],g);for(var y=v,m=0,d=0;d<h.length;d++)m=Math.max(oe(h[d],n),m);f==null&&(f=m);var _=m;return i&&(y+=i[0]+i[2],_+=i[1]+i[3],f+=i[1]+i[3]),l&&(_=f),{lines:h,height:v,outerWidth:_,outerHeight:y,lineHeight:s,calculatedLineHeight:o,contentWidth:m,contentHeight:c,width:f}}var $S=function(){function r(){}return r}(),Nv=function(){function r(t){this.tokens=[],t&&(this.tokens=t)}return r}(),ZS=function(){function r(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return r}();function qS(r,t){var e=new ZS;if(r!=null&&(r+=""),!r)return e;for(var i=t.width,n=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&i!=null?{width:i,accumWidth:0,breakAll:a==="breakAll"}:null,s=Ll.lastIndex=0,l;(l=Ll.exec(r))!=null;){var u=l.index;u>s&&Pl(e,r.substring(s,u),t,o),Pl(e,l[2],t,o,l[1]),s=Ll.lastIndex}s<r.length&&Pl(e,r.substring(s,r.length),t,o);var f=[],h=0,c=0,v=t.padding,p=a==="truncate",g=t.lineOverflow==="truncate";function d(O,k,z){O.width=k,O.lineHeight=z,h+=z,c=Math.max(c,k)}t:for(var y=0;y<e.lines.length;y++){for(var m=e.lines[y],_=0,w=0,b=0;b<m.tokens.length;b++){var S=m.tokens[b],x=S.styleName&&t.rich[S.styleName]||{},T=S.textPadding=x.padding,D=T?T[1]+T[3]:0,A=S.font=x.font||t.font;S.contentHeight=nh(A);var M=j(x.height,S.contentHeight);if(S.innerHeight=M,T&&(M+=T[0]+T[2]),S.height=M,S.lineHeight=qi(x.lineHeight,t.lineHeight,M),S.align=x&&x.align||t.align,S.verticalAlign=x&&x.verticalAlign||"middle",g&&n!=null&&h+S.lineHeight>n){b>0?(m.tokens=m.tokens.slice(0,b),d(m,w,_),e.lines=e.lines.slice(0,y+1)):e.lines=e.lines.slice(0,y);break t}var I=x.width,L=I==null||I==="auto";if(typeof I=="string"&&I.charAt(I.length-1)==="%")S.percentWidth=I,f.push(S),S.contentWidth=oe(S.text,A);else{if(L){var P=x.backgroundColor,R=P&&P.image;R&&(R=US(R),Es(R)&&(S.width=Math.max(S.width,R.width*M/R.height)))}var E=p&&i!=null?i-w:null;E!=null&&E<S.width?!L||E<D?(S.text="",S.width=S.contentWidth=0):(S.text=Kg(S.text,E-D,A,t.ellipsis,{minChar:t.truncateMinChar}),S.width=S.contentWidth=oe(S.text,A)):S.contentWidth=oe(S.text,A)}S.width+=D,w+=S.width,x&&(_=Math.max(_,S.lineHeight))}d(m,w,_)}e.outerWidth=e.width=j(i,c),e.outerHeight=e.height=j(n,h),e.contentHeight=h,e.contentWidth=c,v&&(e.outerWidth+=v[1]+v[3],e.outerHeight+=v[0]+v[2]);for(var y=0;y<f.length;y++){var S=f[y],V=S.percentWidth;S.width=parseInt(V,10)/100*e.width}return e}function Pl(r,t,e,i,n){var a=t==="",o=n&&e.rich[n]||{},s=r.lines,l=o.font||e.font,u=!1,f,h;if(i){var c=o.padding,v=c?c[1]+c[3]:0;if(o.width!=null&&o.width!=="auto"){var p=Qe(o.width,i.width)+v;s.length>0&&p+i.accumWidth>i.width&&(f=t.split(`
|
||||
`),u=!0),i.accumWidth=p}else{var g=jg(t,l,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+v,h=g.linesWidths,f=g.lines}}else f=t.split(`
|
||||
`);for(var d=0;d<f.length;d++){var y=f[d],m=new $S;if(m.styleName=n,m.text=y,m.isLineHolder=!y&&!a,typeof o.width=="number"?m.width=o.width:m.width=h?h[d]:oe(y,l),!d&&!u){var _=(s[s.length-1]||(s[0]=new Nv)).tokens,w=_.length;w===1&&_[0].isLineHolder?_[0]=m:(y||!w||a)&&_.push(m)}else s.push(new Nv([m]))}}function KS(r){var t=r.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var QS=Ke(",&?/;] ".split(""),function(r,t){return r[t]=!0,r},{});function JS(r){return KS(r)?!!QS[r]:!0}function jg(r,t,e,i,n){for(var a=[],o=[],s="",l="",u=0,f=0,h=0;h<r.length;h++){var c=r.charAt(h);if(c===`
|
||||
`){l&&(s+=l,f+=u),a.push(s),o.push(f),s="",l="",u=0,f=0;continue}var v=oe(c,t),p=i?!1:!JS(c);if(a.length?f+v>e:n+f+v>e){f?(s||l)&&(p?(s||(s=l,l="",u=0,f=u),a.push(s),o.push(f-u),l+=c,u+=v,s="",f=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(f),s=c,f=v)):p?(a.push(l),o.push(u),l=c,u=v):(a.push(c),o.push(v));continue}f+=v,p?(l+=c,u+=v):(l&&(s+=l,l="",u=0),s+=c)}return!a.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(f)),a.length===1&&(f+=n),{accumWidth:f,lines:a,linesWidths:o}}var rf="__zr_style_"+Math.round(Math.random()*10),ci={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Os={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ci[rf]=!0;var Fv=["z","z2","invisible"],jS=["invisible"],La=function(r){N(t,r);function t(e){return r.call(this,e)||this}return t.prototype._init=function(e){for(var i=ct(e),n=0;n<i.length;n++){var a=i[n];a==="style"?this.useStyle(e[a]):r.prototype.attrKV.call(this,a,e[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,i,n,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&tw(this,e,i)||o&&!o[0]&&!o[3])return!1;if(n&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(e,i){return this.rectContain(e,i)},t.prototype.traverse=function(e,i){e.call(i,this)},t.prototype.rectContain=function(e,i){var n=this.transformCoordToLocal(e,i),a=this.getBoundingRect();return a.contain(n[0],n[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var i=this.transform,n=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,l=a.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new nt(0,0,0,0)),i?nt.applyTransform(e,n,i):e.copy(n),(o||s||l)&&(e.width+=o*2+Math.abs(s),e.height+=o*2+Math.abs(l),e.x=Math.min(e.x,e.x+s-o),e.y=Math.min(e.y,e.y+l-o));var u=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-u),e.y=Math.floor(e.y-u),e.width=Math.ceil(e.width+1+u*2),e.height=Math.ceil(e.height+1+u*2))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new nt(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(e,i){e!=="style"?r.prototype.attrKV.call(this,e,i):this.style?this.setStyle(i):this.useStyle(i)},t.prototype.setStyle=function(e,i){return typeof e=="string"?this.style[e]=i:B(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=Fn,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Fn)},t.prototype.styleUpdated=function(){this.__dirty&=~Fn},t.prototype.createStyle=function(e){return Ta(ci,e)},t.prototype.useStyle=function(e){e[rf]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[rf]},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var i=this._normalState;e.style&&!i.style&&(i.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,i,Fv)},t.prototype._applyStateObj=function(e,i,n,a,o,s){r.prototype._applyStateObj.call(this,e,i,n,a,o,s);var l=!(i&&a),u;if(i&&i.style?o?a?u=i.style:(u=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(u,i.style)):(u=this._mergeStyle(this.createStyle(),a?this.style:n.style),this._mergeStyle(u,i.style)):l&&(u=n.style),u)if(o){var f=this.style;if(this.style=this.createStyle(l?{}:f),l)for(var h=ct(f),c=0;c<h.length;c++){var v=h[c];v in u&&(u[v]=u[v],this.style[v]=f[v])}for(var p=ct(u),c=0;c<p.length;c++){var v=p[c];this.style[v]=this.style[v]}this._transitionState(e,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);for(var g=this.__inHover?jS:Fv,c=0;c<g.length;c++){var v=g[c];i&&i[v]!=null?this[v]=i[v]:l&&n[v]!=null&&(this[v]=n[v])}},t.prototype._mergeStates=function(e){for(var i=r.prototype._mergeStates.call(this,e),n,a=0;a<e.length;a++){var o=e[a];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},t.prototype._mergeStyle=function(e,i){return B(e,i),e},t.prototype.getAnimationStyleProps=function(){return Os},t.initDefaultProps=function(){var e=t.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirty
Line truncated
|
||||
yyyy`);var i=me(t),n=e?"getUTC":"get",a=i[n+"FullYear"](),o=i[n+"Month"]()+1,s=i[n+"Date"](),l=i[n+"Hours"](),u=i[n+"Minutes"](),f=i[n+"Seconds"](),h=i[n+"Milliseconds"]();return r=r.replace("MM",Gt(o,2)).replace("M",o).replace("yyyy",a).replace("yy",Gt(a%100+"",2)).replace("dd",Gt(s,2)).replace("d",s).replace("hh",Gt(l,2)).replace("h",l).replace("mm",Gt(u,2)).replace("m",u).replace("ss",Gt(f,2)).replace("s",f).replace("SSS",Gt(h,3)),r}function ex(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function xi(r,t){return t=t||"transparent",H(r)?r:G(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}var Vo=C,rx=["left","right","top","bottom","width","height"],io=[["width","left","right"],["height","top","bottom"]];function Lh(r,t,e,i,n){var a=0,o=0;i==null&&(i=1/0),n==null&&(n=1/0);var s=0;t.eachChild(function(l,u){var f=l.getBoundingRect(),h=t.childAt(u+1),c=h&&h.getBoundingRect(),v,p;if(r==="horizontal"){var g=f.width+(c?-c.x+f.x:0);v=a+g,v>i||l.newline?(a=0,v=g,o+=s+e,s=f.height):s=Math.max(s,f.height)}else{var d=f.height+(c?-c.y+f.y:0);p=o+d,p>n||l.newline?(a+=s+e,o=0,p=d,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),r==="horizontal"?a=v+e:o=p+e)})}var rn=Lh;yt(Lh,"vertical");yt(Lh,"horizontal");function Br(r,t,e){e=hn(e||0);var i=t.width,n=t.height,a=dt(r.left,i),o=dt(r.top,n),s=dt(r.right,i),l=dt(r.bottom,n),u=dt(r.width,i),f=dt(r.height,n),h=e[2]+e[0],c=e[1]+e[3],v=r.aspect;switch(isNaN(u)&&(u=i-s-c-a),isNaN(f)&&(f=n-l-h-o),v!=null&&(isNaN(u)&&isNaN(f)&&(v>i/n?u=i*.8:f=n*.8),isNaN(u)&&(u=v*f),isNaN(f)&&(f=u/v)),isNaN(a)&&(a=i-s-u-c),isNaN(o)&&(o=n-l-f-h),r.left||r.right){case"center":a=i/2-u/2-e[3];break;case"right":a=i-u-c;break}switch(r.top||r.bottom){case"middle":case"center":o=n/2-f/2-e[0];break;case"bottom":o=n-f-h;break}a=a||0,o=o||0,isNaN(u)&&(u=i-c-a-(s||0)),isNaN(f)&&(f=n-h-o-(l||0));var p=new nt(a+e[3],o+e[0],u,f);return p.margin=e,p}function ix(r,t,e,i,n,a){a=a||r,a.x=r.x,a.y=r.y;var o;if(o=r.getBoundingRect(),r.needLocalTransform()){var s=r.getLocalTransform();o=o.clone(),o.applyTransform(s)}var l=Br(at({width:o.width,height:o.height},t),e,i),u=l.x-o.x,f=l.y-o.y;return a.x+=u,a.y+=f,a===r&&r.markRedraw(),!0}function da(r){var t=r.layoutMode||r.constructor.layoutMode;return G(t)?t:t?{type:t}:null}function on(r,t,e){var i=e&&e.ignoreSize;!F(i)&&(i=[i,i]);var n=o(io[0],0),a=o(io[1],1);u(io[0],r,n),u(io[1],r,a);function o(f,h){var c={},v=0,p={},g=0,d=2;if(Vo(f,function(_){p[_]=r[_]}),Vo(f,function(_){s(t,_)&&(c[_]=p[_]=t[_]),l(c,_)&&v++,l(p,_)&&g++}),i[h])return l(t,f[1])?p[f[2]]=null:l(t,f[2])&&(p[f[1]]=null),p;if(g===d||!v)return p;if(v>=d)return c;for(var y=0;y<f.length;y++){var m=f[y];if(!s(c,m)&&s(r,m)){c[m]=r[m];break}}return c}function s(f,h){return f.hasOwnProperty(h)}function l(f,h){return f[h]!=null&&f[h]!=="auto"}function u(f,h,c){Vo(f,function(v){h[v]=c[v]})}}function Js(r){return nx({},r)}function nx(r,t){return t&&r&&Vo(rx,function(e){t.hasOwnProperty(e)&&(r[e]=t[e])}),r}var ax=Tt(),ot=function(r){N(t,r);function t(e,i,n){var a=r.call(this,e,i,n)||this;return a.uid=Xs("ec_cpt_model"),a}return t.prototype.init=function(e,i,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,i){var n=da(this),a=n?Js(e):{},o=i.getTheme();rt(e,o.get(this.mainType)),rt(e,this.getDefaultOption()),n&&on(e,a,n)},t.prototype.mergeOption=function(e,i){rt(this.option,e,!0);var n=da(this);n&&on(this.option,e,n)},t.prototype.optionUpdated=function(e,i){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!kS(e))return e.defaultOption;var i=ax(this);if(!i.defaultOption){for(var n=[],a=e;a;){var o=a.prototype.defaultOption;o&&n.push(o),a=a.superClass}for(var s={},l=n.length-1;l>=0;l--)s=rt(s,n[l],!0);i.defaultOption=s}return i.defaultOption},t.prototype.getReferringComponents=function(e,i){var n=e+"Index",a=e+"Id";return Ia(this.ecModel,e,{index:this.get(n,!0),id:this.get(a,!0)},i)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(pt);Zg(ot,pt);Rs(ot);Gb(ot);Wb(ot,ox);function ox(r){var t=[];return C(ot.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=W(t,function(e){return qe(e).main}),r!=="dataset"&&ut(t,"dataset")<=0&&t.unshift("dataset"),t}var Yy="";typeof navigator<"u"&&(Yy=navigator.platform||"");var Bi="rgba(0, 0, 0, 0.2)";const sx={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Bi,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Bi,symbol:"cir
Line truncated
|
||||
`,`
|
||||
|
||||
`,`
|
||||
|
||||
|
||||
`];function ya(r,t){return t.type=r,t}function pf(r){return r.type==="section"}function vm(r){return pf(r)?lT:uT}function cm(r){if(pf(r)){var t=0,e=r.blocks.length,i=e>1||e>0&&!r.noHeader;return C(r.blocks,function(n){var a=cm(n);a>=t&&(t=a+ +(i&&(!a||pf(n)&&!n.noHeader)))}),t}return 0}function lT(r,t,e,i){var n=t.noHeader,a=fT(cm(t)),o=[],s=t.blocks||[];ke(!s||F(s)),s=s||[];var l=r.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(_i(u,l)){var f=new Xx(u[l],null);s.sort(function(p,g){return f.evaluate(p.sortParam,g.sortParam)})}else l==="seriesDesc"&&s.reverse()}C(s,function(p,g){var d=t.valueFormatter,y=vm(p)(d?B(B({},r),{valueFormatter:d}):r,p,g>0?a.html:0,i);y!=null&&o.push(y)});var h=r.renderMode==="richText"?o.join(a.richText):df(o.join(""),n?e:a.html);if(n)return h;var c=hf(t.header,"ordinal",r.useUTC),v=hm(i,r.renderMode).nameStyle;return r.renderMode==="richText"?pm(r,c,v)+a.richText+h:df('<div style="'+v+";"+fm+';">'+Qt(c)+"</div>"+h,e)}function uT(r,t,e,i){var n=r.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=r.useUTC,f=t.valueFormatter||r.valueFormatter||function(w){return w=F(w)?w:[w],W(w,function(b,S){return hf(b,F(v)?v[S]:v,u)})};if(!(a&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",n),c=a?"":hf(l,"ordinal",u),v=t.valueType,p=o?[]:f(t.value,t.dataIndex),g=!s||!a,d=!s&&a,y=hm(i,n),m=y.nameStyle,_=y.valueStyle;return n==="richText"?(s?"":h)+(a?"":pm(r,c,m))+(o?"":cT(r,p,g,d,_)):df((s?"":h)+(a?"":hT(c,!s,m))+(o?"":vT(p,g,d,_)),e)}}function Zc(r,t,e,i,n,a){if(r){var o=vm(r),s={useUTC:n,renderMode:e,orderMode:i,markupStyleCreator:t,valueFormatter:r.valueFormatter};return o(s,r,0,a)}}function fT(r){return{html:oT[r],richText:sT[r]}}function df(r,t){var e='<div style="clear:both"></div>',i="margin: "+t+"px 0 0";return'<div style="'+i+";"+fm+';">'+r+e+"</div>"}function hT(r,t,e){var i=t?"margin-left:2px":"";return'<span style="'+e+";"+i+'">'+Qt(r)+"</span>"}function vT(r,t,e,i){var n=e?"10px":"20px",a=t?"float:right;margin-left:"+n:"";return r=F(r)?r:[r],'<span style="'+a+";"+i+'">'+W(r,function(o){return Qt(o)}).join(" ")+"</span>"}function pm(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function cT(r,t,e,i,n){var a=[n],o=i?10:20;return e&&a.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(F(t)?t.join(" "):t,a)}function pT(r,t){var e=r.getData().getItemVisual(t,"style"),i=e[r.visualDrawType];return xi(i)}function dm(r,t){var e=r.get("padding");return e??(t==="richText"?[8,10]:10)}var eu=function(){function r(){this.richTextStyles={},this._nextStyleNameId=Gg()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,i){var n=i==="richText"?this._generateStyleName():null,a=Uy({color:e,type:t,renderMode:i,markerId:n});return H(a)?a:(this.richTextStyles[n]=a.style,a.content)},r.prototype.wrapRichTextStyle=function(t,e){var i={};F(e)?C(e,function(a){return B(i,a)}):B(i,e);var n=this._generateStyleName();return this.richTextStyles[n]=i,"{"+n+"|"+t+"}"},r}();function dT(r){var t=r.series,e=r.dataIndex,i=r.multipleSeries,n=t.getData(),a=n.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(e),l=F(s),u=pT(t,e),f,h,c,v;if(o>1||l&&!o){var p=gT(s,t,e,a,u);f=p.inlineValues,h=p.inlineValueTypes,c=p.blocks,v=p.inlineValues[0]}else if(o){var g=n.getDimensionInfo(a[0]);v=f=sn(n,e,a[0]),h=g.type}else v=f=l?s[0]:s;var d=lh(t),y=d&&t.name||"",m=n.getName(e),_=i?y:m;return ya("section",{header:y,noHeader:i||!d,sortParam:v,blocks:[ya("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Ae(_),value:f,valueType:h,dataIndex:e})].concat(c||[])})}function gT(r,t,e,i,n){var a=t.getData(),o=Ke(r,function(h,c,v){var p=a.getDimensionInfo(v);return h=h||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];i.length?C(i,function(h){f(sn(a,e,h),h)}):C(r,f);function f(h,c){var v=a.getDimensionInfo(c);!v||v.otherDims.tooltip===!1||(o?u.push(ya("nameValue",{markerType:"subItem",markerColor:n,name:v.displayName,value:h,valueType:v.type})):(s.push(h),l.push(v.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var gr=Tt();function oo(r,t){return r.getName(t)||r.getId(t)}var yT="__universalTransitionEnabled",$t=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,i,n){this.seriesIndex=this.componentIndex,this.dataTask=ea({count:_T,reset:ST}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n);var a=gr(this).sourceManager=new aT(this);a.prepareSource();var o=this.getInitialData(e,n);Kc(o,this),this.dataTask.context.data=o,gr(this).dataBeforeProcessed=o,qc(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,i){var n=da(this),a=n?Js(e):{},o=this.subType;ot.hasClass(o)&&(o+="Series"),rt(e,i.getTheme().get(this.subType)),rt(e,this.getDefaultOption(
Line truncated
|
||||
|
||||
`:"<br/>",y=h.join(d);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],v,null,c)})},t.prototype._showSeriesItemTooltip=function(e,i,n){var a=this._ecModel,o=it(i),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,c=u.getData(h),v=this._renderMode,p=e.positionDefault,g=Bn([c.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),d=g.get("trigger");if(!(d!=null&&d!=="item")){var y=u.getDataParams(f,h),m=new eu;y.marker=m.makeTooltipMarker("item",xi(y.color),v);var _=Wc(u.formatTooltip(f,!1,h)),w=g.get("order"),b=g.get("valueFormatter"),S=_.frag,x=S?Zc(b?B({valueFormatter:b},S):S,m,v,w,a.get("useUTC"),g.get("textStyle")):_.text,T="item_"+u.name+"_"+f;this._showOrMove(g,function(){this._showTooltipContent(g,x,y,T,e.offsetX,e.offsetY,e.position,e.target,m)}),n({type:"showTip",dataIndexInside:f,dataIndex:c.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,i,n){var a=this._renderMode==="html",o=it(i),s=o.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(H(l)){var f=l;l={content:f,formatter:f},u=!0}u&&a&&l.content&&(l=X(l),l.content=Qt(l.content));var h=[l],c=this._ecModel.getComponent(o.componentMainType,o.componentIndex);c&&h.push(c),h.push({formatter:l.content});var v=e.positionDefault,p=Bn(h,this._tooltipModel,v?{position:v}:null),g=p.get("content"),d=Math.random()+"",y=new eu;this._showOrMove(p,function(){var m=X(p.get("formatterParams")||{});this._showTooltipContent(p,g,m,d,e.offsetX,e.offsetY,e.position,i,y)}),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,i,n,a,o,s,l,u,f){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var h=this._tooltipContent;h.setEnterable(e.get("enterable"));var c=e.get("formatter");l=l||e.get("position");var v=i,p=this._getNearestPoint([o,s],n,e.get("trigger"),e.get("borderColor")),g=p.color;if(c)if(H(c)){var d=e.ecModel.get("useUTC"),y=F(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;v=c,m&&(v=ka(y.axisValue,v,d)),v=Ih(v,n,!0)}else if(q(c)){var _=J(function(w,b){w===this._ticket&&(h.setContent(b,f,e,g,l),this._updatePosition(e,l,o,s,h,n,u))},this);this._ticket=a,v=c(n,a,_)}else v=c;h.setContent(v,f,e,g,l),h.show(e,g),this._updatePosition(e,l,o,s,h,n,u)}},t.prototype._getNearestPoint=function(e,i,n,a){if(n==="axis"||F(i))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!F(i))return{color:a||i.color||i.borderColor}},t.prototype._updatePosition=function(e,i,n,a,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();i=i||e.get("position");var h=o.getSize(),c=e.get("align"),v=e.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),q(i)&&(i=i([n,a],s,o.el,p,{viewSize:[u,f],contentSize:h.slice()})),F(i))n=dt(i[0],u),a=dt(i[1],f);else if(G(i)){var g=i;g.width=h[0],g.height=h[1];var d=Br(g,{width:u,height:f});n=d.x,a=d.y,c=null,v=null}else if(H(i)&&l){var y=vL(i,p,h,e.get("borderWidth"));n=y[0],a=y[1]}else{var y=fL(n,a,o,u,f,c?null:20,v?null:20);n=y[0],a=y[1]}if(c&&(n-=Bd(c)?h[0]/2:c==="right"?h[0]:0),v&&(a-=Bd(v)?h[1]/2:v==="bottom"?h[1]:0),i_(e)){var y=hL(n,a,o,u,f);n=y[0],a=y[1]}o.moveTo(n,a)},t.prototype._updateContentNotChangedOnAxis=function(e,i){var n=this._lastDataByCoordSys,a=this._cbParamsList,o=!!n&&n.length===e.length;return o&&C(n,function(s,l){var u=s.dataByAxis||[],f=e[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&C(u,function(c,v){var p=h[v]||{},g=c.seriesDataIndices||[],d=p.seriesDataIndices||[];o=o&&c.value===p.value&&c.axisType===p.axisType&&c.axisId===p.axisId&&g.length===d.length,o&&C(g,function(y,m){var _=d[m];o=o&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),a&&C(c.seriesDataIndices,function(y){var m=y.seriesIndex,_=i[m],w=a[m];_&&w&&w.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=i,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,i){Z.node||!i.getDom()||(yf(this,"_updatePosition"),this._tooltipContent.dispose(),Ff("itemTooltip",i))},t.type="tooltip",t}(ie);function Bn(r,t,e){var i=t.ecModel,n;e?(n=new pt(e,i,i),n=new pt(t.option,n,i)):n=t;for(var a=r.length-1;a>=0;a--){var o=r[a];o&&(o instanceof pt&&(o=o.get("tooltip",!0)),H(o)&&(o={formatter:o}),o&&(n=new pt(o,n,i)))}return n}function kd(r,t){return r.dispatchAction||J(t.dispatchAction,t)}function fL(r,t,e,i,n,a,o){var s=e.getSize(),l=s[0],u=s[1];return a!=null&&(r+l+a+2>i?r-=l+a:r+=a),o!=null&&(t+u+o>n?t-=u+o:t+=o),[r,t]}function hL(r,t,e,i,n){var a=e.getSize(),o=a[0],s=a[1];return r=Math.min(r+o,i)-o,t=Math.min(t+s,n)-s,r=Math.max(r,0),t=Math.max(t,0),[r,t]}function vL(r,t,e,i){var n=e[0],a=e[1],o=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=t.width,f=t.height;switch(r){case"inside":s=t.x+u/2-n/2,l=t.y+f/2-a/2;break;case"top":s=t.x+u
Line truncated
|
||||
`)){var d=new Mo;d.newline=!0,u.add(d);return}var y=n.getSeriesByName(g)[0];if(!f.get(g))if(y){var m=y.getData(),_=m.getVisual("legendLineStyle")||{},w=m.getVisual("legendIcon"),b=m.getVisual("style"),S=this._createItem(y,g,p,v,i,e,_,b,w,h,a);S.on("click",Gi(Vd,g,null,a,c)).on("mouseover",Gi(Hf,y.name,null,a,c)).on("mouseout",Gi(Gf,y.name,null,a,c)),n.ssr&&S.eachChild(function(x){var T=it(x);T.seriesIndex=y.seriesIndex,T.dataIndex=p,T.ssrType="legend"}),f.set(g,!0)}else n.eachRawSeries(function(x){if(!f.get(g)&&x.legendVisualProvider){var T=x.legendVisualProvider;if(!T.containName(g))return;var D=T.indexOfName(g),A=T.getItemVisual(D,"style"),M=T.getItemVisual(D,"legendIcon"),I=ee(A.fill);I&&I[3]===0&&(I[3]=.2,A=B(B({},A),{fill:Pe(I,"rgba")}));var L=this._createItem(x,g,p,v,i,e,{},A,M,h,a);L.on("click",Gi(Vd,null,g,a,c)).on("mouseover",Gi(Hf,null,g,a,c)).on("mouseout",Gi(Gf,null,g,a,c)),n.ssr&&L.eachChild(function(P){var R=it(P);R.seriesIndex=x.seriesIndex,R.dataIndex=p,R.ssrType="legend"}),f.set(g,!0)}},this)},this),o&&this._createSelector(o,i,a,s,l)},t.prototype._createSelector=function(e,i,n,a,o){var s=this.getSelectorGroup();Vf(e,function(u){var f=u.type,h=new _t({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(h);var c=i.getModel("selectorLabel"),v=i.getModel(["emphasis","selectorLabel"]);fn(h,{normal:c,emphasis:v},{defaultText:u.title}),ss(h)})},t.prototype._createItem=function(e,i,n,a,o,s,l,u,f,h,c){var v=e.visualDrawType,p=o.get("itemWidth"),g=o.get("itemHeight"),d=o.isSelected(i),y=a.get("symbolRotate"),m=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var w=mL(f,a,l,u,v,d,c),b=new Mo,S=a.getModel("textStyle");if(q(e.getLegendIcon)&&(!_||_==="inherit"))b.add(e.getLegendIcon({itemWidth:p,itemHeight:g,icon:f,iconRotate:y,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:m}));else{var x=_==="inherit"&&e.getData().getVisual("symbol")?y==="inherit"?e.getData().getVisual("symbolRotate"):y:0;b.add(_L({itemWidth:p,itemHeight:g,icon:f,iconRotate:x,itemStyle:w.itemStyle,symbolKeepAspect:m}))}var T=s==="left"?p+5:-5,D=s,A=o.get("formatter"),M=i;H(A)&&A?M=A.replace("{name}",i??""):q(A)&&(M=A(i));var I=d?S.getTextColor():a.get("inactiveColor");b.add(new _t({style:Ee(S,{text:M,x:T,y:g/2,fill:I,align:D,verticalAlign:"middle"},{inheritColor:I})}));var L=new gt({shape:b.getBoundingRect(),style:{fill:"transparent"}}),P=a.getModel("tooltip");return P.get("show")&&Sh({el:L,componentModel:o,itemName:i,itemTooltipOption:P.option}),b.add(L),b.eachChild(function(R){R.silent=!0}),L.silent=!h,this.getContentGroup().add(b),ss(b),b.__legendDataIndex=n,b},t.prototype.layoutInner=function(e,i,n,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();rn(e.get("orient"),l,e.get("itemGap"),n.width,n.height);var f=l.getBoundingRect(),h=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){rn("horizontal",u,e.get("selectorItemGap",!0));var c=u.getBoundingRect(),v=[-c.x,-c.y],p=e.get("selectorButtonGap",!0),g=e.getOrient().index,d=g===0?"width":"height",y=g===0?"height":"width",m=g===0?"y":"x";s==="end"?v[g]+=f[d]+p:h[g]+=c[d]+p,v[1-g]+=f[y]/2-c[y]/2,u.x=v[0],u.y=v[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[d]=f[d]+p+c[d],_[y]=Math.max(f[y],c[y]),_[m]=Math.min(0,c[m]+v[1-g]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(ie);function mL(r,t,e,i,n,a,o){function s(d,y){d.lineWidth==="auto"&&(d.lineWidth=y.lineWidth>0?2:0),Vf(d,function(m,_){d[_]==="inherit"&&(d[_]=y[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?i.decal:bf(h,o),u.fill==="inherit"&&(u.fill=i[n]),u.stroke==="inherit"&&(u.stroke=i[f]),u.opacity==="inherit"&&(u.opacity=(n==="fill"?i:e).opacity),s(u,i);var c=t.getModel("lineStyle"),v=c.getLineStyle();if(s(v,e),u.fill==="auto"&&(u.fill=i.fill),u.stroke==="auto"&&(u.stroke=i.fill),v.stroke==="auto"&&(v.stroke=i.fill),!a){var p=t.get("inactiveBorderWidth"),g=u[f];u.lineWidth=p==="auto"?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),v.stroke=c.get("inactiveColor"),v.lineWidth=c.get("inactiveWidth")}return{itemStyle:u,lineStyle:v}}function _L(r){var t=r.icon||"roundRect",e=Je(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function Vd(r,t,e,i){Gf(r,t,e,i),e.dispatchAction({type:"legendToggleSelect",name:r??t}),Hf(r,t,e,i)}function l_(r){for(var t=r.getZr().storage.getDisplayList(),e,i=0,n=t.length;i<n&&!(e=t[i].states.emphasis);)i++;return e&&e.hoverLayer}function Hf(r,t,e,i){l_(e)||e.
Line truncated
|
||||
`||u==="")){var f=o.isSelected(u);i.hasOwnProperty(u)?i[u]=i[u]&&f:i[u]=f}})}),r==="allSelect"||r==="inverseSelect"?{selected:i}:{name:t.name,selected:i}}function wL(r){r.registerAction("legendToggleSelect","legendselectchanged",yt(Nn,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",yt(Nn,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",yt(Nn,"inverseSelect")),r.registerAction("legendSelect","legendselected",yt(Nn,"select")),r.registerAction("legendUnSelect","legendunselected",yt(Nn,"unSelect"))}function u_(r){r.registerComponentModel(zf),r.registerComponentView(s_),r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,SL),r.registerSubTypeDefaulter("legend",function(){return"plain"}),wL(r)}var bL=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(e,i,n){var a=Js(e);r.prototype.init.call(this,e,i,n),Hd(this,e,a)},t.prototype.mergeOption=function(e,i){r.prototype.mergeOption.call(this,e,i),Hd(this,this.option,e)},t.type="legend.scroll",t.defaultOption=$s(zf.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(zf);function Hd(r,t,e){var i=r.getOrient(),n=[1,1];n[i.index]=0,on(t,e,{type:"box",ignoreSize:!!n})}var Gd=St,Iu=["width","height"],Lu=["x","y"],xL=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!0,e._currentIndex=0,e}return t.prototype.init=function(){r.prototype.init.call(this),this.group.add(this._containerGroup=new Gd),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Gd)},t.prototype.resetInner=function(){r.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(e,i,n,a,o,s,l){var u=this;r.prototype.renderInner.call(this,e,i,n,a,o,s,l);var f=this._controllerGroup,h=i.get("pageIconSize",!0),c=F(h)?h:[h,h];p("pagePrev",0);var v=i.getModel("pageTextStyle");f.add(new _t({name:"pageText",style:{text:"xx/xx",fill:v.getTextColor(),font:v.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1);function p(g,d){var y=g+"DataIndex",m=Ws(i.get("pageIcons",!0)[i.getOrient().name][d],{onclick:J(u._pageGo,u,y,i,a)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});m.name=g,f.add(m)}},t.prototype.layoutInner=function(e,i,n,a,o,s){var l=this.getSelectorGroup(),u=e.getOrient().index,f=Iu[u],h=Lu[u],c=Iu[1-u],v=Lu[1-u];o&&rn("horizontal",l,e.get("selectorItemGap",!0));var p=e.get("selectorButtonGap",!0),g=l.getBoundingRect(),d=[-g.x,-g.y],y=X(n);o&&(y[f]=n[f]-g[f]-p);var m=this._layoutContentAndController(e,a,y,u,f,c,v,h);if(o){if(s==="end")d[u]+=m[f]+p;else{var _=g[f]+p;d[u]-=_,m[h]-=_}m[f]+=g[f]+p,d[1-u]+=m[v]+m[c]/2-g[c]/2,m[c]=Math.max(m[c],g[c]),m[v]=Math.min(m[v],g[v]+d[1-u]),l.x=d[0],l.y=d[1],l.markRedraw()}return m},t.prototype._layoutContentAndController=function(e,i,n,a,o,s,l,u){var f=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;rn(e.get("orient"),f,e.get("itemGap"),a?n.width:null,a?null:n.height),rn("horizontal",c,e.get("pageButtonItemGap",!0));var v=f.getBoundingRect(),p=c.getBoundingRect(),g=this._showController=v[o]>n[o],d=[-v.x,-v.y];i||(d[a]=f[u]);var y=[0,0],m=[-p.x,-p.y],_=j(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(g){var w=e.get("pageButtonPosition",!0);w==="end"?m[a]+=n[o]-p[o]:y[a]+=p[o]+_}m[1-a]+=v[s]/2-p[s]/2,f.setPosition(d),h.setPosition(y),c.setPosition(m);var b={x:0,y:0};if(b[o]=g?n[o]:v[o],b[s]=Math.max(v[s],p[s]),b[l]=Math.min(0,p[l]+m[1-a]),h.__rectSize=n[o],g){var S={x:0,y:0};S[o]=Math.max(n[o]-p[o]-_,0),S[s]=b[s],h.setClipPath(new gt({shape:S})),h.__rectSize=S[o]}else c.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var x=this._getPageInfo(e);return x.pageIndex!=null&&zt(f,{x:x.contentPosition[0],y:x.contentPosition[1]},g?e:null),this._updatePageInfoView(e,x),b},t.prototype._pageGo=function(e,i,n){var a=this._getPageInfo(i)[e];a!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:i.id})},t.prototype._updatePageInfoView=function(e,i){var n=this._controllerGroup;C(["pagePrev","pageNext"],function(f){var h=f+"DataIndex",c=i[h]!=null,v=n.childOfName(f);v&&(v.setStyle("fill",c?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),v.cursor=c?"pointer":"default")});var a=n.childOfName("pageText"),o=e.get("pageFormatter"),s=i.pageIndex,l=s!=null?s+1:0,u=i.pageCount;a&&o&&a.setStyle("text",H(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==nul
Line truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
/*! @ttqtt/liquid-glass-react 0.0.2 | MIT */@layer lg.tokens{:root{--lg-font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;--lg-font-display: var(--lg-font-text);--lg-font-rounded: ui-rounded, "SF Pro Rounded", var(--lg-font-text);--lg-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;--lg-font: var(--lg-font-text);--lg-text-scale: 1;--lg-text-largetitle-size: calc(34px * var(--lg-text-scale));--lg-text-largetitle-leading: calc(41px * var(--lg-text-scale));--lg-text-largetitle-tracking: .012em;--lg-text-title1-size: calc(28px * var(--lg-text-scale));--lg-text-title1-leading: calc(34px * var(--lg-text-scale));--lg-text-title1-tracking: .014em;--lg-text-title2-size: calc(22px * var(--lg-text-scale));--lg-text-title2-leading: calc(28px * var(--lg-text-scale));--lg-text-title2-tracking: -.012em;--lg-text-title3-size: calc(20px * var(--lg-text-scale));--lg-text-title3-leading: calc(25px * var(--lg-text-scale));--lg-text-title3-tracking: -.023em;--lg-text-headline-size: calc(17px * var(--lg-text-scale));--lg-text-headline-leading: calc(22px * var(--lg-text-scale));--lg-text-headline-tracking: -.026em;--lg-text-body-size: calc(17px * var(--lg-text-scale));--lg-text-body-leading: calc(22px * var(--lg-text-scale));--lg-text-body-tracking: -.026em;--lg-text-callout-size: calc(16px * var(--lg-text-scale));--lg-text-callout-leading: calc(21px * var(--lg-text-scale));--lg-text-callout-tracking: -.02em;--lg-text-subhead-size: calc(15px * var(--lg-text-scale));--lg-text-subhead-leading: calc(20px * var(--lg-text-scale));--lg-text-subhead-tracking: -.016em;--lg-text-footnote-size: calc(13px * var(--lg-text-scale));--lg-text-footnote-leading: calc(18px * var(--lg-text-scale));--lg-text-footnote-tracking: -.006em;--lg-text-caption1-size: calc(12px * var(--lg-text-scale));--lg-text-caption1-leading: calc(16px * var(--lg-text-scale));--lg-text-caption1-tracking: 0em;--lg-text-caption2-size: calc(11px * var(--lg-text-scale));--lg-text-caption2-leading: calc(13px * var(--lg-text-scale));--lg-text-caption2-tracking: .006em;--lg-weight-regular: 400;--lg-weight-medium: 500;--lg-weight-semibold: 600;--lg-weight-bold: 700;--lg-space-1: 4px;--lg-space-2: 8px;--lg-space-3: 12px;--lg-space-4: 16px;--lg-space-5: 20px;--lg-space-6: 24px;--lg-space-8: 32px;--lg-space-10: 40px;--lg-margin: 16px;--lg-margin-regular: 20px;--lg-hit-min: 44px;--lg-hit-width: 0px;--lg-height-compact: 36px;--lg-height-comfortable: 44px;--lg-height-small: 32px;--lg-height-large: 50px;--lg-height-extra-large: 60px;--lg-height-field-small: 36px;--lg-height-field-large: 52px;--lg-field-font: max(16px, var(--lg-text-body-size));--lg-control-font: var(--lg-text-subhead-size);--lg-field-padding-block: var(--lg-space-2);--lg-readable: 672px;--lg-sidebar-width: 260px;--lg-radius-xs: 6px;--lg-radius-s: 10px;--lg-radius-m: 14px;--lg-radius-l: 20px;--lg-radius-xl: 26px;--lg-radius-xxl: 34px;--lg-radius-capsule: 9999px;--lg-radius-sheet: 38px;--lg-radius-window: 24px;--lg-radius-container: var(--lg-radius-xl);--lg-concentric-inset: 0px;--lg-z-content: 0;--lg-z-scroll-edge: 10;--lg-z-sidebar: 15;--lg-z-tabbar: 20;--lg-z-sheet-backdrop: 30;--lg-z-sheet: 31;--lg-z-menu: 40;--lg-z-alert: 41;--lg-z-toast: 60;--lg-duration-press: 90ms;--lg-duration-release: .22s;--lg-duration-layout: .28s;--lg-duration-spring: .52s;--lg-duration-overlay: .36s;--lg-duration-exit: .22s;--lg-ease: cubic-bezier(.2,.8,.2,1);--lg-ease-out: cubic-bezier(.16,1,.3,1);--lg-spring: linear(0, .008 1.1%, .03 2.2%, .118 4.6%, .43 9.6%, .657 13.4%, .84 17.4%, .94 20.7%, 1.006 23.9%, 1.05 27.5%, 1.072 31.5%, 1.07 35.9%, 1.05 41.4%, 1.011 51.3%, .995 61.4%, .994 70.3%, 1.001 87.4%, 1);--lg-spring-soft: linear(0, .011 1.6%, .045 3.4%, .164 7%, .49 14%, .71 19.4%, .866 24.8%, .955 30.3%, 1.004 36%, 1.02 42.2%, 1.018 49.3%, 1.005 61.3%, .999 78%, 1);--lg-spring-bouncy: linear(0, .01 .9%, .043 2%, .152 4.3%, .49 9.2%, .74 12.9%, .91 16.2%, 1.05 19.8%, 1.13 23.4%, 1.16 26.4%, 1.15 29.5%, 1.11 33.6%, 1.03 40.8%, .985 47.3%, .972 53.2%, .985 63%, 1.004 75.2%, 1);--lg-press-scale: 1.06;--lg-press-scale-shared: 1.07;--lg-hover-scale: 1.015;--lg-stretch-gain: 1;--lg-focus-width: 2px;--lg-focus-offset: 2px;--lg-glass-rim-width: 1px;--lg-light-angle: 145deg;--lg-glass-contrast: 1.05;--lg-material-blur: 30px}:root[data-lg-text-size=xs]{--lg-text-scale: .824}:root[data-lg-text-size=s]{--lg-text-scale: .882}:root[data-lg-text-size=m]{--lg-text-scale: .941}:root[data-lg-text-size=l]{--lg-text-scale: 1}:root[data-lg-text-size=xl]{--lg-text-scale: 1.118}:root[data-lg-text-size=xxl]{--lg-text-scale: 1.235}:root[data-lg-text-size=xxxl]{--lg-text-scale: 1.353}:root[data-lg-text-size=ax1]{--lg-text-scale: 1.647}:root[data-lg-text-size=ax2]{--lg-text-scale: 1.941}:root[data-lg-text-size=ax3]{--lg-text-scale: 2.353}:root[data-lg-text-size=ax4]{--lg-text-scale: 2.765}:root[data-lg-text-size=ax5]{--lg-text-scale: 3.118}@media (pointer: fine) and (min-wLine truncated
|
||||
Vendored
+50
@@ -0,0 +1,50 @@
|
||||
var cv=Object.defineProperty;var sv=(i,s,o)=>s in i?cv(i,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):i[s]=o;var uu=(i,s,o)=>sv(i,typeof s!="symbol"?s+"":s,o);var Gc={exports:{}},be={};/**
|
||||
* @license React
|
||||
* react.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Xd;function ov(){if(Xd)return be;Xd=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),O=Symbol.iterator;function x(y){return y===null||typeof y!="object"?null:(y=O&&y[O]||y["@@iterator"],typeof y=="function"?y:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,S={};function C(y,B,le){this.props=y,this.context=B,this.refs=S,this.updater=le||w}C.prototype.isReactComponent={},C.prototype.setState=function(y,B){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,B,"setState")},C.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function _(){}_.prototype=C.prototype;function k(y,B,le){this.props=y,this.context=B,this.refs=S,this.updater=le||w}var T=k.prototype=new _;T.constructor=k,j(T,C.prototype),T.isPureReactComponent=!0;var L=Array.isArray,A={H:null,A:null,T:null,S:null},M=Object.prototype.hasOwnProperty;function Q(y,B,le,$,F,P){return le=P.ref,{$$typeof:i,type:y,key:B,ref:le!==void 0?le:null,props:P}}function q(y,B){return Q(y.type,B,void 0,void 0,void 0,y.props)}function R(y){return typeof y=="object"&&y!==null&&y.$$typeof===i}function Y(y){var B={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(le){return B[le]})}var K=/\/+/g;function D(y,B){return typeof y=="object"&&y!==null&&y.key!=null?Y(""+y.key):B.toString(36)}function te(){}function W(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(te,te):(y.status="pending",y.then(function(B){y.status==="pending"&&(y.status="fulfilled",y.value=B)},function(B){y.status==="pending"&&(y.status="rejected",y.reason=B)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function ne(y,B,le,$,F){var P=typeof y;(P==="undefined"||P==="boolean")&&(y=null);var ce=!1;if(y===null)ce=!0;else switch(P){case"bigint":case"string":case"number":ce=!0;break;case"object":switch(y.$$typeof){case i:case s:ce=!0;break;case z:return ce=y._init,ne(ce(y._payload),B,le,$,F)}}if(ce)return F=F(y),ce=$===""?"."+D(y,0):$,L(F)?(le="",ce!=null&&(le=ce.replace(K,"$&/")+"/"),ne(F,B,le,"",function(ve){return ve})):F!=null&&(R(F)&&(F=q(F,le+(F.key==null||y&&y.key===F.key?"":(""+F.key).replace(K,"$&/")+"/")+ce)),B.push(F)),1;ce=0;var se=$===""?".":$+":";if(L(y))for(var de=0;de<y.length;de++)$=y[de],P=se+D($,de),ce+=ne($,B,le,P,F);else if(de=x(y),typeof de=="function")for(y=de.call(y),de=0;!($=y.next()).done;)$=$.value,P=se+D($,de++),ce+=ne($,B,le,P,F);else if(P==="object"){if(typeof y.then=="function")return ne(W(y),B,le,$,F);throw B=String(y),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.")}return ce}function V(y,B,le){if(y==null)return y;var $=[],F=0;return ne(y,$,"","",function(P){return B.call(le,P,F++)}),$}function ie(y){if(y._status===-1){var B=y._result;B=B(),B.then(function(le){(y._status===0||y._status===-1)&&(y._status=1,y._result=le)},function(le){(y._status===0||y._status===-1)&&(y._status=2,y._result=le)}),y._status===-1&&(y._status=0,y._result=B)}if(y._status===1)return y._result.default;throw y._result}var I=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(B))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)};function J(){}return be.Children={map:V,forEach:function(y,B,le){V(y,function(){B.apply(this,arguments)},le)},count:function(y){var B=0;return V(y,function(){B++}),B},toArray:function(y){return V(y,function(B){return B})||[]},only:function(y){if(!R(y))throw Error("React.Children.only expected to receive a single React element child.");return y}},be.Component=C,be.Fragment=o,be.Profiler=d,be.PureComponent=k,be.StrictMode=r,be.Suspense=p,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A,be.act=function(){throw Error("act(...) is not supported in production builds of React.")},be.cache=function(y){return function(){return y.apply(null,arguments)}},be.cloneElement=function(y,B,le){if(y==null)throw Error("The argument must be a React element, but you passed
Line truncated
|
||||
`||r==="\r"?(m(),g=2):v+=r),g===3&&v==="!--"&&(g=4,p=p[0])}return m(),p}(i)),s),arguments,[])).length>1?s:s[0]}var Yc={exports:{}},iu={},Xc={exports:{}},Vc={};/**
|
||||
* @license React
|
||||
* scheduler.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Zd;function dv(){return Zd||(Zd=1,function(i){function s(V,ie){var I=V.length;V.push(ie);e:for(;0<I;){var J=I-1>>>1,y=V[J];if(0<d(y,ie))V[J]=ie,V[I]=y,I=J;else break e}}function o(V){return V.length===0?null:V[0]}function r(V){if(V.length===0)return null;var ie=V[0],I=V.pop();if(I!==ie){V[0]=I;e:for(var J=0,y=V.length,B=y>>>1;J<B;){var le=2*(J+1)-1,$=V[le],F=le+1,P=V[F];if(0>d($,I))F<y&&0>d(P,$)?(V[J]=P,V[F]=I,J=F):(V[J]=$,V[le]=I,J=le);else if(F<y&&0>d(P,I))V[J]=P,V[F]=I,J=F;else break e}}return ie}function d(V,ie){var I=V.sortIndex-ie.sortIndex;return I!==0?I:V.id-ie.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var g=performance;i.unstable_now=function(){return g.now()}}else{var v=Date,b=v.now();i.unstable_now=function(){return v.now()-b}}var p=[],m=[],z=1,O=null,x=3,w=!1,j=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function T(V){for(var ie=o(m);ie!==null;){if(ie.callback===null)r(m);else if(ie.startTime<=V)r(m),ie.sortIndex=ie.expirationTime,s(p,ie);else break;ie=o(m)}}function L(V){if(S=!1,T(V),!j)if(o(p)!==null)j=!0,W();else{var ie=o(m);ie!==null&&ne(L,ie.startTime-V)}}var A=!1,M=-1,Q=5,q=-1;function R(){return!(i.unstable_now()-q<Q)}function Y(){if(A){var V=i.unstable_now();q=V;var ie=!0;try{e:{j=!1,S&&(S=!1,_(M),M=-1),w=!0;var I=x;try{t:{for(T(V),O=o(p);O!==null&&!(O.expirationTime>V&&R());){var J=O.callback;if(typeof J=="function"){O.callback=null,x=O.priorityLevel;var y=J(O.expirationTime<=V);if(V=i.unstable_now(),typeof y=="function"){O.callback=y,T(V),ie=!0;break t}O===o(p)&&r(p),T(V)}else r(p);O=o(p)}if(O!==null)ie=!0;else{var B=o(m);B!==null&&ne(L,B.startTime-V),ie=!1}}break e}finally{O=null,x=I,w=!1}ie=void 0}}finally{ie?K():A=!1}}}var K;if(typeof k=="function")K=function(){k(Y)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,te=D.port2;D.port1.onmessage=Y,K=function(){te.postMessage(null)}}else K=function(){C(Y,0)};function W(){A||(A=!0,K())}function ne(V,ie){M=C(function(){V(i.unstable_now())},ie)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(V){V.callback=null},i.unstable_continueExecution=function(){j||w||(j=!0,W())},i.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<V?Math.floor(1e3/V):5},i.unstable_getCurrentPriorityLevel=function(){return x},i.unstable_getFirstCallbackNode=function(){return o(p)},i.unstable_next=function(V){switch(x){case 1:case 2:case 3:var ie=3;break;default:ie=x}var I=x;x=ie;try{return V()}finally{x=I}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(V,ie){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var I=x;x=V;try{return ie()}finally{x=I}},i.unstable_scheduleCallback=function(V,ie,I){var J=i.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?J+I:J):I=J,V){case 1:var y=-1;break;case 2:y=250;break;case 5:y=1073741823;break;case 4:y=1e4;break;default:y=5e3}return y=I+y,V={id:z++,callback:ie,priorityLevel:V,startTime:I,expirationTime:y,sortIndex:-1},I>J?(V.sortIndex=I,s(m,V),o(p)===null&&V===o(m)&&(S?(_(M),M=-1):S=!0,ne(L,I-J))):(V.sortIndex=y,s(p,V),j||w||(j=!0,W())),V},i.unstable_shouldYield=R,i.unstable_wrapCallback=function(V){var ie=x;return function(){var I=x;x=ie;try{return V.apply(this,arguments)}finally{x=I}}}}(Vc)),Vc}var Kd;function hv(){return Kd||(Kd=1,Xc.exports=dv()),Xc.exports}var Qc={exports:{}},mt={};/**
|
||||
* @license React
|
||||
* react-dom.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var $d;function mv(){if($d)return mt;$d=1;var i=ts();function s(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var z=2;z<arguments.length;z++)m+="&args[]="+encodeURIComponent(arguments[z])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(s(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},d=Symbol.for("react.portal");function g(p,m,z){var O=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:O==null?null:""+O,children:p,containerInfo:m,implementation:z}}var v=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function b(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,mt.createPortal=function(p,m){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(s(299));return g(p,m,null,z)},mt.flushSync=function(p){var m=v.T,z=r.p;try{if(v.T=null,r.p=2,p)return p()}finally{v.T=m,r.p=z,r.d.f()}},mt.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(p,m))},mt.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},mt.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var z=m.as,O=b(z,m.crossOrigin),x=typeof m.integrity=="string"?m.integrity:void 0,w=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;z==="style"?r.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:O,integrity:x,fetchPriority:w}):z==="script"&&r.d.X(p,{crossOrigin:O,integrity:x,fetchPriority:w,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},mt.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var z=b(m.as,m.crossOrigin);r.d.M(p,{crossOrigin:z,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(p)},mt.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var z=m.as,O=b(z,m.crossOrigin);r.d.L(p,z,{crossOrigin:O,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},mt.preloadModule=function(p,m){if(typeof p=="string")if(m){var z=b(m.as,m.crossOrigin);r.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:z,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(p)},mt.requestFormReset=function(p){r.d.r(p)},mt.unstable_batchedUpdates=function(p,m){return p(m)},mt.useFormState=function(p,m,z){return v.H.useFormState(p,m,z)},mt.useFormStatus=function(){return v.H.useHostTransitionStatus()},mt.version="19.0.0",mt}var Jd;function gv(){if(Jd)return Qc.exports;Jd=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),Qc.exports=mv(),Qc.exports}/**
|
||||
* @license React
|
||||
* react-dom-client.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Wd;function vv(){if(Wd)return iu;Wd=1;var i=hv(),s=ts(),o=gv();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}var g=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),x=Symbol.for("react.consumer"),w=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),L=Symbol.for("react.memo_cache_sentinel"),A=Symbol.iterator;function M(e){return e===null||typeof e!="object"?null:(e=A&&e[A]||e["@@iterator"],typeof e=="function"?e:null)}var Q=Symbol.for("react.client.reference");function q(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Q?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case b:return"Portal";case z:return"Profiler";case m:return"StrictMode";case S:return"Suspense";case C:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case w:return(e.displayName||"Context")+".Provider";case x:return(e._context.displayName||"Context")+".Consumer";case j:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _:return t=e.displayName||null,t!==null?t:q(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return q(e(t))}catch{}}return null}var R=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.assign,K,D;function te(e){if(K===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);K=t&&t[1]||"",D=-1<l.stack.indexOf(`
|
||||
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||||
`+K+e+D}var W=!1;function ne(e,t){if(!e||W)return"";W=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(ee){var Z=ee}Reflect.construct(e,[],re)}else{try{re.call()}catch(ee){Z=ee}e.call(re.prototype)}}else{try{throw Error()}catch(ee){Z=ee}(re=e())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(ee){if(ee&&Z&&typeof ee.stack=="string")return[ee.stack,Z.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],h=u[1];if(c&&h){var E=c.split(`
|
||||
`),H=h.split(`
|
||||
`);for(n=a=0;a<E.length&&!E[a].includes("DetermineComponentFrameRoot");)a++;for(;n<H.length&&!H[n].includes("DetermineComponentFrameRoot");)n++;if(a===E.length||n===H.length)for(a=E.length-1,n=H.length-1;1<=a&&0<=n&&E[a]!==H[n];)n--;for(;1<=a&&0<=n;a--,n--)if(E[a]!==H[n]){if(a!==1||n!==1)do if(a--,n--,0>n||E[a]!==H[n]){var ae=`
|
||||
`+E[a].replace(" at new "," at ");return e.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",e.displayName)),ae}while(1<=a&&0<=n);break}}}finally{W=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?te(l):""}function V(e){switch(e.tag){case 26:case 27:case 5:return te(e.type);case 16:return te("Lazy");case 13:return te("Suspense");case 19:return te("SuspenseList");case 0:case 15:return e=ne(e.type,!1),e;case 11:return e=ne(e.type.render,!1),e;case 1:return e=ne(e.type,!0),e;default:return""}}function ie(e){try{var t="";do t+=V(e),e=e.return;while(e);return t}catch(l){return`
|
||||
Error generating stack: `+l.message+`
|
||||
`+l.stack}}function I(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function J(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function y(e){if(I(e)!==e)throw Error(r(188))}function B(e){var t=e.alternate;if(!t){if(t=I(e),t===null)throw Error(r(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return y(n),e;if(u===a)return y(n),t;u=u.sibling}throw Error(r(188))}if(l.return!==a.return)l=n,a=u;else{for(var c=!1,h=n.child;h;){if(h===l){c=!0,l=n,a=u;break}if(h===a){c=!0,a=n,l=u;break}h=h.sibling}if(!c){for(h=u.child;h;){if(h===l){c=!0,l=u,a=n;break}if(h===a){c=!0,a=u,l=n;break}h=h.sibling}if(!c)throw Error(r(189))}}if(l.alternate!==a)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?e:t}function le(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=le(e),t!==null)return t;e=e.sibling}return null}var $=Array.isArray,F=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},ce=[],se=-1;function de(e){return{current:e}}function ve(e){0>se||(e.current=ce[se],ce[se]=null,se--)}function he(e,t){se++,ce[se]=e.current,e.current=t}var Be=de(null),He=de(null),ke=de(null),et=de(null);function Ve(e,t){switch(he(ke,t),he(He,e),he(Be,null),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?pd(t):0;break;default:if(e=e===8?t.parentNode:t,t=e.tagName,e=e.namespaceURI)e=pd(e),t=bd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}ve(Be),he(Be,t)}function Ot(){ve(Be),ve(He),ve(ke)}function rl(e){e.memoizedState!==null&&he(et,e);var t=Be.current,l=bd(t,e.type);t!==l&&(he(He,e),he(Be,l))}function Ct(e){He.current===e&&(ve(Be),ve(He)),et.current===e&&(ve(et),eu._currentValue=P)}var xe=Object.prototype.hasOwnProperty,je=i.unstable_scheduleCallback,Oe=i.unstable_cancelCallback,pt=i.unstable_shouldYield,bt=i.unstable_requestPaint,Je=i.unstable_now,el=i.unstable_getCurrentPriorityLevel,cn=i.unstable_ImmediatePriority,sn=i.unstable_UserBlockingPriority,Ut=i.unstable_NormalPriority,cl=i.unstable_LowPriority,hu=i.unstable_IdlePriority,Ci=i.log,$t=i.unstable_setDisableYieldValue,zl=null,it=null;function Pl(e){if(it&&typeof it.onCommitFiberRoot=="function")try{it.onCommitFiberRoot(zl,e,void 0,(e.current.flags&128)===128)}catch{}}function xt(e){if(typeof Ci=="function"&&$t(e),it&&typeof it.setStrictMode=="function")try{it.setStrictMode(zl,e)}catch{}}var ft=Math.clz32?Math.clz32:_i,mu=Math.log,Ui=Math.LN2;function _i(e){return e>>>=0,e===0?32:31-(mu(e)/Ui|0)|0}var gu=128,vu=4194304;function Il(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function yu(e,t){var l=e.pendingLanes;if(l===0)return 0;var a=0,n=e.suspendedLanes,u=e.pingedLanes,c=e.warmLanes;e=e.finishedLanes!==0;var h=l&134217727;return h!==0?(l=h&~n,l!==0?a=Il(l):(u&=h,u!==0?a=Il(u):e||(c=h&~c,c!==0&&(a=Il(c))))):(h=l&~n,h!==0?a=Il(h):u!==0?a=Il(u):e||(c=l&~c,c!==0&&(a=Il(c)))),a===0?0:t!==0&&t!==a&&!(t&n)&&(n=a&-a,c=t&-t,n>=c||n===32&&(c&4194176)!==0)?t:a}function on(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Wh(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function cs(){var e=gu;return gu<<=1,!(gu&4194176)&&(gu=128),e}function ss(){var e=vu;return vu<<=1,!(vu&62914560)&&(vu=4194304),e}function Hi(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function fn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Fh(e,t,l,a,n,u){var c=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var h=e.entanglements,E=e.expirationTimes,H=e.hiddenUpdates;for(l=c&~l;0<l;){var ae=31-ft(l),re=1<<ae;h[ae
Line truncated
|
||||
`).replace(Dg,"")}function yd(e,t){return t=vd(t),vd(e)===t}function fi(){}function De(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||wa(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&wa(e,""+a);break;case"className":bu(e,"class",a);break;case"tabIndex":bu(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":bu(e,l,a);break;case"style":js(e,a,u);break;case"data":if(t!=="object"){bu(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Eu(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(t!=="input"&&De(e,t,"name",n.name,n,null),De(e,t,"formEncType",n.formEncType,n,null),De(e,t,"formMethod",n.formMethod,n,null),De(e,t,"formTarget",n.formTarget,n,null)):(De(e,t,"encType",n.encType,n,null),De(e,t,"method",n.method,n,null),De(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Eu(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=fi);break;case"onScroll":a!=null&&Me("scroll",e);break;case"onScrollEnd":a!=null&&Me("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=Eu(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":Me("beforetoggle",e),Me("toggle",e),pu(e,"popover",a);break;case"xlinkActuate":ol(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ol(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ol(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ol(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ol(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ol(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ol(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ol(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ol(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":pu(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=im.get(l)||l,pu(e,l,a))}}function jc(e,t,l,a,n,u){switch(l){case"style":js(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"children":typeof a=="string"?wa(e,a):(typeof a=="number"||typeof a=="bigint")&&wa(e,""+a);break;case"onScroll":a!=null&&Me("scroll",e);break;case"onScrollEnd":a!=null&&Me("scrollend",e);break;case"onClick":a!=null&&(e.onclick=fi);break;case"suppressContentEditableWarning":case"suppressHydrationWar
Line truncated
|
||||
* @license React
|
||||
* react-jsx-runtime.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Pd;function bv(){if(Pd)return ru;Pd=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function o(r,d,g){var v=null;if(g!==void 0&&(v=""+g),d.key!==void 0&&(v=""+d.key),"key"in d){g={};for(var b in d)b!=="key"&&(g[b]=d[b])}else g=d;return d=g.ref,{$$typeof:i,type:r,key:v,ref:d!==void 0?d:null,props:g}}return ru.Fragment=s,ru.jsx=o,ru.jsxs=o,ru}var Id;function xv(){return Id||(Id=1,Zc.exports=bv()),Zc.exports}var f=xv();const Sv={regular:{small:{blur:14,saturation:1.15,refraction:18,edge:16},large:{blur:40,saturation:1.3,refraction:26,edge:22}},clear:{small:{blur:1.5,saturation:1.08,refraction:32,edge:18},large:{blur:6,saturation:1.12,refraction:40,edge:24}}},Ev={compact:{controlHeight:36,radius:12,gap:6},comfortable:{controlHeight:44,radius:18,gap:8}},k0={press:90,release:220,layout:280,spring:520,overlay:360},G0={space1:4,space2:8,space3:12,space4:16,space5:20,space6:24,space8:32,space10:40,margin:16,marginRegular:20,hitMin:44,readable:672,sidebarWidth:260,controlGap:8},Y0={xs:6,s:10,m:14,l:20,xl:26,xxl:34,sheet:38,window:24},X0={largeTitle:{size:34,leading:41,tracking:.012,weight:400,emphasizedWeight:700},title1:{size:28,leading:34,tracking:.014,weight:400,emphasizedWeight:700},title2:{size:22,leading:28,tracking:-.012,weight:400,emphasizedWeight:700},title3:{size:20,leading:25,tracking:-.023,weight:400,emphasizedWeight:600},headline:{size:17,leading:22,tracking:-.026,weight:600,emphasizedWeight:600},body:{size:17,leading:22,tracking:-.026,weight:400,emphasizedWeight:600},callout:{size:16,leading:21,tracking:-.02,weight:400,emphasizedWeight:600},subhead:{size:15,leading:20,tracking:-.016,weight:400,emphasizedWeight:600},footnote:{size:13,leading:18,tracking:-.006,weight:400,emphasizedWeight:600},caption1:{size:12,leading:16,tracking:0,weight:400,emphasizedWeight:600},caption2:{size:11,leading:13,tracking:.006,weight:400,emphasizedWeight:600}},V0={xs:.824,s:.882,m:.941,l:1,xl:1.118,xxl:1.235,xxxl:1.353,ax1:1.647,ax2:1.941,ax3:2.353,ax4:2.765,ax5:3.118},Q0={content:0,scrollEdge:10,sidebar:15,tabBar:20,sheetBackdrop:30,sheet:31,menu:40,alert:41,toast:60},Nv={material:"regular",renderer:"auto",quality:"balanced",theme:"system",density:"comfortable",transparency:"system",motion:"system",contrast:"system",platform:"auto"},Mv={close:"Close",cancel:"Cancel",decrease:"Decrease",increase:"Increase",clearSearch:"Clear search",searchCommands:"Search commands",noResults:"No matching commands",back:"Back to",resizeSidebar:"Resize sidebar",sheetHeight:i=>`${i} height`,morePathLevels:"More levels",moreToolbarItems:"More",collapsePanel:i=>`Collapse ${i}`,expandPanel:i=>`Expand ${i}`,movePanel:i=>`Move ${i}`},jh=N.createContext(Mv),jv=jh.Provider;function jt(){return N.useContext(jh)}const zh={...Nv,resolvedTheme:"light",resolvedPlatform:"touch",reduceTransparency:!1,reduceMotion:!1,increaseContrast:!1,forcedColors:!1,enableSvgAuto:!1},Wc=N.createContext(zh);function Jl(i){const s=N.useMemo(()=>({subscribe(o){const r=window.matchMedia(i);return r.addEventListener("change",o),()=>r.removeEventListener("change",o)},getSnapshot:()=>typeof window<"u"&&window.matchMedia(i).matches,getServerSnapshot:()=>!1}),[i]);return N.useSyncExternalStore(s.subscribe,s.getSnapshot,s.getServerSnapshot)}function Z0({children:i,strings:s,...o}){const r=N.useContext(Wc),d=jt(),g=Jl("(prefers-color-scheme: dark)"),v=Jl("(prefers-reduced-motion: reduce)"),b=Jl("(prefers-reduced-transparency: reduce)"),p=Jl("(prefers-contrast: more)"),m=Jl("(forced-colors: active)"),z=Jl("(pointer: fine) and (min-width: 768px)"),O=Object.fromEntries(Object.entries(o).filter(([,A])=>A!==void 0)),x={...r,...O},w={...x,resolvedTheme:x.theme==="system"?g?"dark":"light":x.theme,reduceMotion:r.reduceMotion||v||x.motion!=="system",reduceTransparency:r.reduceTransparency||b||m||x.transparency!=="system",increaseContrast:r.increaseContrast||p||m||x.contrast!=="system",forcedColors:r.forcedColors||m,resolvedPlatform:x.platform==="auto"?z?"desktop":"touch":x.platform},j=r===zh,{motion:S,transparency:C,contrast:_,platform:k}=x,{resolvedTheme:T}=w;N.useEffect(()=>{if(!j||typeof document>"u")return;const A=document.documentElement,M=[["data-lg-theme",T],["data-lg-motion",S==="system"?null:S],["data-lg-transparency",C==="system"?null:C],["data-lg-contrast",_==="system"?null:_],["data-lg-platform",k==="auto"?null:k]],Q=M.map(([q])=>[q,A.getAttribute(q)]);for(const[q,R]of M)R===null?A.removeAttribute(q):A.setAttribute(q,R);return()=>{for(const[q,R]of Q)R===null?A.removeAttribute(q):A.setAttribute(q,R)}},[j,T,S,C,_,k]);const L=N.useMemo(()=>s?{...d,...s}:d,[d,s]);return f.jsx(Wc.Provider,{value:w,children:f.jsx(jv,{value:L,children:i})})}const Dt=()=>N.useContext(Wc),zv=768;function wi(){return Jl(`(min-width: ${zv}px)`)?"regular":"compact"}const ls=N.createContext("mixed"),Av=()=>N.useContext(ls);function K0({tone:i,children:s}){return f.jsx(ls.Provider,{value:i,children:s})}function $0({tone:i,children:s,ref:o,...r}){return f.jsx("div",{...r,reLine truncated
|
||||
Reference in new issue
Block a user