PageSourceSearch

https://lab.flabslis.com/static/js/3401.73436e10.js

js flabslis.com collected 2026-09-24 10:59:46 UTC 9,987 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkflabs_frontend||=[]).push([[3401],{59112(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(9950).createContext)({});t.default=n},42730(e,t,r){var n=r(9950),o=r(98971),a=r(9392),c=r(14715),i=r(35774),l=r(4327),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const f=(0,n.forwardRef)(function(e,t){var r=e.chartRef,f=e.style,s=void 0===f?{height:"inherit"}:f,p=e.className,d=e.loading,h=e.loadingTemplate,m=e.errorTemplate,y=u(e,["chartRef","style","className","loading","loadingTemplate","errorTemplate"]),v=(0,a.A)(o.Gk,y),g=v.chart,x=v.container;return(0,n.useEffect)(function(){(0,c.x)(r,g.current)},[g.current]),(0,n.useImperativeHandle)(t,function(){return{getChart:function(){return g.current}}}),n.createElement(i.A,{errorTemplate:m},d&&n.createElement(l.A,{loadingTemplate:h,theme:e.theme}),n.createElement("div",{className:p,style:s,ref:x}))});r.d(t,["A",0,f])},75641(e,t,r){var n=r(9950),o=r(98971),a=r(9392),c=r(14715),i=r(35774),l=r(4327),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const f=(0,n.forwardRef)(function(e,t){var r=e.chartRef,f=e.style,s=void 0===f?{height:"inherit"}:f,p=e.className,d=e.loading,h=e.loadingTemplate,m=e.errorTemplate,y=u(e,["chartRef","style","className","loading","loadingTemplate","errorTemplate"]),v=(0,a.A)(o.N1,y),g=v.chart,x=v.container;return(0,n.useEffect)(function(){(0,c.x)(r,g.current)},[g.current]),(0,n.useImperativeHandle)(t,function(){return{getChart:function(){return g.current}}}),n.createElement(i.A,{errorTemplate:m},d&&n.createElement(l.A,{loadingTemplate:h,theme:e.theme}),n.createElement("div",{className:p,style:s,ref:x}))});r.d(t,["A",0,f])},80560(e,t,r){var n=r(9950),o=r(98971),a=r(9392),c=r(14715),i=r(35774),l=r(4327),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const f=(0,n.forwardRef)(function(e,t){var r=e.chartRef,f=e.style,s=void 0===f?{height:"inherit"}:f,p=e.className,d=e.loading,h=e.loadingTemplate,m=e.errorTemplate,y=u(e,["chartRef","style","className","loading","loadingTemplate","errorTemplate"]),v=(0,a.A)(o.Fq,y),g=v.chart,x=v.container;return(0,n.useEffect)(function(){(0,c.x)(r,g.current)},[g.current]),(0,n.useImperativeHandle)(t,function(){return{getChart:function(){return g.current}}}),n.createElement(i.A,{errorTemplate:m},d&&n.createElement(l.A,{loadingTemplate:h,theme:e.theme}),n.createElement("div",{className:p,style:s,ref:x}))});r.d(t,["A",0,f])},35774(e,t,r){var n,o=r(9950),a=(n=function(e,t){return n=Object.
1setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var r=t.props.errorTemplate;return"function"==typeof r?r(e):r||o.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return a(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):o.createElement(o.Fragment,null,this.props.children)},t}(o.Component);const i=c;r.d(t,["A",0,i])},9392(e,t,r){r.d(t,{A:()=>O});var n,o=r(9950),a=r(97730),c=r(17119),i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},l=i({},r.t(c,2)),u=l.version,f=l.render;l.unmountComponentAtNode;try{Number((u||"").split(".")[0])>=18&&(n=l.createRoot)}catch(e){}function s(e){var t=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var p="__rc_react_root__";function d(e,t){n?function(e,t){s(!0);var r=t[p]||n(t);s(!1),r.render(e),t[p]=r}(e,t):function(e,t){f(e,t)}(e,t)}var h=new Map;const m=function(e,t,r){var n=document.createElement("div");return"tooltip"===t&&(n.setAttribute("data-uuid",r),h.has(r)?n=h.get(r):h.set(r,n),n.className="g2-tooltip"),d(e,n),n};var y=function(e,t){return{}.toString.call(e)==="[object ".concat(t,"]")},v=function(e){return e&&"object"==typeof e?(Array.isArray(e)?t=e.map(function(e){return v(e)}):(t={},Object.keys(e).forEach(function(r){return t[r]=v(e[r])})),t):e;var t},g=function(e,t){for(var r=e,n=0;n<t.length;n+=1){if(!(null==r?void 0:r[t[n]])){r=void 0;break}r=r[t[n]]}return r},x=function(){return x=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)},b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function O(e,t){var r=(0,o.useRef)(),n=(0,o.useRef)(),c=(0,o.useRef)(null),i=t.onReady,l=t.onEvent,u=function(e,t,r,n){var o=g(e,t);!function(e,t,r){if(!e)return e;var n=e;t.forEach(function(e,o){o<t.length-1?n=n[e]:n[e]=r})}(e,t,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var a=y(o,"Function")?o.apply(void 0,e):o;return y(a,"String")||y(a,"Number")||y(a,"HTMLDivElement")?a:m(a,r,n)})},f=function(){var e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)});g(t,["statistic","content","customHtml"])&&u(t,["statistic","content","customHtml"]),g(t,["statistic","title","customHtml"])&&u(t,["statistic","title","customHtml"]),"object"==typeof t.tooltip&&(g(t,["tooltip","container"])&&u(t,["tooltip","container"],"tooltip",e),g(t,["tooltip","customContent"])&&u(t,["tooltip","customContent"],"tooltip",e))};return(0,o.useEffect)(function(){if(r.current&&!(0,a.n4)(n.current,t)){var e=!1;if(n.current){var o=n.current,c=(o.data,o.value,o.percent,b(o,["data","value","percent"])),i=(t.data,t.value,t.percent,b(t,["data","value","percent"]));e=(0,a.n4)(c,i)}if(n.current=v(t),e&&"Mix"!==(0,a.Jt)(t,"chartType")){var l="data",u=Object.keys(t);["percent"].forEach(function(e){u.includes(e)&&(l=e)}),r.current.changeData((null==t?void 0:t[l])||[]),r.current.render()}else f(),r.current.update(t)}},[t]),(0,o.useEffect)(function(){if(!c.current)return function(){return null};n.current||(n.current=v(t)),f();var o=new e(c.current,x({},t));o.toDataURL=function(e,t){return function(e,t){var n;return void 0===e&&(e="image/png"),null===(n=r.current)||void 0===n?void 0:n.chart.canvas.cfg.el.toDataURL(e,t)}(e,t)},o.downloadImage=function(e,t,n){return function(e,t,n){var o;void 0===e&&(e="download"),void 0===t&&(t="image/png");var a=e;-1===e.indexOf(".")&&(a="".concat(e,".").concat(t.split("/")[1]));var c=null===(o=r.current)||void 0===o?void 0:o.chart.canvas.cfg.el.toDataURL(t,n),i=document.createElement("a");return i.href=c,i.download=a,document.body.appendChild(i),i.click(),document.body.removeChild(i),i=null,a}(e,t,n)},o.render(),r.current=function(e){if(!e)return e;var t={};for(var r in e)t[r]=e[r];return t}(o),i&&i(o);var a=function(e){l&&l(o,e)};return o.on("*",a),function(){r.current&&(r.current.destroy(),r.current.off("*",a),r.current=void 0)}},[]),{chart:r,container:c}}},4327(e,t,r){var n=r(9950),o=r(88858);const a=function(e){var t=e.loadingTemplate,r=e.theme,a=void 0===r?"light":r;return n.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===a?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||n.createElement(o.Ay,{viewBox:"0 0 400 180",width:200,height:90,speed:1,backgroundColor:"dark"===a?"#262626":"#D9D9D9"},n.createElement("rect",{x:"20",y:"5",rx:"0",ry:"0",width:"1",height:"170"}),n.createElement("rect",{x:"20",y:"175",rx:"0",ry:"0",width:"360",height:"1"}),n.createElement("rect",{x:"40",y:"75",rx:"0",ry:"0",width:"35",height:"100"}),n.createElement("rect",{x:"80",y:"125",rx:"0",ry:"0",width:"35",height:"50"}),n.createElement("rect",{x:"120",y:"105",rx:"0",ry:"0",width:"35",height:"70"}),n.createElement("rect",{x:"160",y:"35",rx:"0",ry:"0",width:"35",height:"140"}),n.createElement("rect",{x:"200",y:"55",rx:"0",ry:"0",width:"35",height:"120"}),n.createElement("rect",{x:"240",y:"15",rx:"0",ry:"0",width:"35",height:"160"}),n.createElement("rect",{x:"280",y:"135",rx:"0",ry:"0",width:"35",height:"40"}),n.createElement("rect",{x:"320",y:"85",rx:"0",ry:"0",width:"35",height:"90"})))};
1r.d(t,["A",0,a])},14715(e,t,r){r.d(t,{x:()=>o});var n=r(97730),o=function(e,t){e&&((0,n.Tn)(e)?e(t):e.current=t)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.