PageSourceSearch

https://kliemax.com/_next/static/chunks/6138.e1bd161220c3f96c.js

js kliemax.com collected 2026-09-24 10:24:22 UTC 2,994 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6138],{3333:(e,r,n)=>{n.d(r,{A:()=>i});var s=n(33308),t=n(94402);function i(e,r,n,l={}){let c={...l};n?.refreshInterval&&(c.refreshInterval=n.refreshInterval);let d=(0,t.$C)(e,r,n);""===r&&(d=null);let{data:o,error:a,mutate:u}=(0,s.u)(d,c);return{data:o,error:o?.error??a,mutate:u}}},76138:(e,r,n)=>{n.r(r),n.d(r,{default:()=>x});var s=n(15383),t=n(46001),i=n.n(t),l=n(31912),c=n(87717),d=n(89651),o=n(3333);function a({service:e}){let{t:r}=(0,l.Bd)(),{widget:n}=e,{data:t,error:i}=(0,o.A)(n,"status",{exchange:"US"});if(i||t?.error)return(0,s.jsx)(d.A,{service:e,error:i});if(!t)return(0,s.jsx)(d.A,{service:e,children:(0,s.jsx)(c.A,{value:r("stocks.loading")})});let{isOpen:u}=t;return u?(0,s.jsx)("span",{className:"inline-flex items-center rounded-md bg-green-500/10 px-2 py-1 text-xs font-medium text-green-400/90 ring-1 ring-inset ring-green-500/20",children:r("stocks.open")}):(0,s.jsx)("span",{className:"inline-flex items-center rounded-md bg-red-400/10 px-2 py-1 text-xs font-medium text-red-400/60 ring-1 ring-inset ring-red-400/10",children:r("stocks.closed")})}function u({service:e,ticker:r}){let{t:n}=(0,l.Bd)(),{widget:t}=e,{data:i,error:a}=(0,o.A)(t,"quote",{symbol:r});return a||i?.error?(0,s.jsx)(d.A,{service:e,error:a}):i?(0,s.jsxs)("div",{className:"bg-theme-200/50 dark:bg-theme-900/20 rounded-sm flex flex-1 items-center justify-between m-1 p-1 text-xs",children:[(0,s.jsx)("span",{className:"font-thin ml-2 flex-none",children:r}),(0,s.jsxs)("div",{className:"flex items-center flex-row-reverse mr-2 text-right",children:[(0,s.jsx)("span",{className:`font-bold ml-2 w-10 ${i.dp>0?"text-emerald-300":"text-rose-300"}`,children:i.dp?.toFixed(2)?`${i.dp?.toFixed(2)}%`:n("widget.api_error")}),(0,s.jsx)("span",{className:"font-bold",children:i.c?n("common.number",{value:i?.c,style:"currency",currency:"USD"}):n("widget.api_error")})]})]}):(0,s.jsx)(d.A,{service:e,children:(0,s.jsx)(c.A,{value:n("stocks.loading")})})}function x({service:e}){let{t:r}=(0,l.Bd)(),{widget:n}=e,{watchlist:t,showUSMarketStatus:o}=n;return t&&t.length&&!(t.length>28)&&new Set(t).size===t.length?(0,s.jsxs)(d.A,{service:e,children:[(0,s.jsx)("div",{className:i()(e.description?"-top-10":"-top-8","absolute right-1 z-20"),children:!0===o&&(0,s.jsx)(a,{service:e})}),(0,s.jsx)("div",{className:"flex flex-col w-full",children:t.map(r=>(0,s.jsx)(u,{service:e,ticker:r},r))})]}):(0,s.jsx)(d.A,{service:e,children:(0,s.jsx)(c.A,{value:r("stocks.invalidConfiguration")})})}},94402:(e,r,n)=>{function s(e,r=null){return null==e||""===e?r:"number"==typeof e?Number.isInteger(e)&&e>=0?e:r:"string"==typeof e&&/^\d+$/.test(e)?Number(e):r}function t(e,r){let n=new URLSearchParams({group:e.service_group,service:e.service_name,index:e.index});return r&&n.append("endpoint",r),n}function i(e,r,n){let s=t(e,r);return n&&s.append("query",JSON.stringify(n)),`/api/services/proxy?${s.toString()}`}n.d(r,{$C:()=>i,Sk:()=>s,_V:()=>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.