1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8242],{28242:function(a,r,e){e.r(r);var t=e(57437),l=e(36990);r.default=a=>{let{slice:r}=a;return(0,t.jsx)("section",{"data-slice-type":r.slice_type,"data-slice-variation":r.variation,children:(0,t.jsx)(l.Z,{...r})})}},36990:function(a,r,e){var t=e(57437),l=e(88395),i=e(75397),n=e(9413),p=e(34392),s=e(65051),o=e(2265),u=e(10312),c=e(27641),g=e(65132),d=e(56800),h=e.n(d);let m=async a=>{let r=(0,g.XC)(a.primary),e=await (0,s.Kd)(),d=(0,l.vO)(e),m=await (async()=>{switch(a.variation){case"realTimeStock":case"stockHistory":case"stockGraph":return{...a};case"statistics":{let r=await i.n.getRealTime();if(!r)return null;return{...a,datas:r}}case"default":case"tableAlternateRowColor":case"horizontalBar":case"groupedHorizontalBar":case"groupeVerticalBar":case"donut":{let r=p.BI(a.primary.graphDataSource)&&a.primary.graphDataSource.uid?await (0,n.oZ)(a.primary.graphDataSource.type,a.primary.graphDataSource.uid,{lang:(null==d?void 0:d.lang)||"*"}):null;if(!r)return null;return{...a,datas:r}}case"independantVerticalBar":case"horizontalStackedBar":{let r=await Promise.all(a.items.map(a=>{if(p.BI(a.graphDataSource)&&a.graphDataSource.uid)return(0,n.oZ)(a.graphDataSource.type,a.graphDataSource.uid,{lang:(null==d?void 0:d.lang)||"*"})})).then(r=>r.reduce((r,e,t)=>{var l;let i=null===(l=a.items)||void 0===l?void 0:l[t].label;return e&&i&&r.push({itemLabel:i,data:e.data}),r},[]));return{...a,datas:r}}}})();return m?(0,t.jsx)(c.Z,{containerClassName:h()(r,!a.preventHorizontalPadding&&c.Q,"group-[&.graphTab]/graphTab:p-0"),contentClassName:"bg-white group-[&.graphTab]/graphTab:gap-y-12 group-[&.graphTab]/graphTab:py-0 py-14 lg:!gap-14",children:(0,t.jsx)("div",{className:h()("col-span-full flex max-w-full group-[&.graphTab]/graphTab:px-0",{"px-6 sm:px-14":!a.preventHorizontalPadding}),children:(0,t.jsx)(u.default,{graphDatas:m})})}):(0,t.jsx)(o.Fragment,{})};r.Z=m}}]);
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.