PageSourceSearch

http://www.kitco.com/_next/static/chunks/8407-32dca2e0ccd1111b.js

js kitco.com collected 2026-09-24 08:35:31 UTC 23,729 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8407],{2546:function(e,t,n){n.d(t,{t:function(){return p},e:function(){return h}});var r=n(85893),l=n(3601),i=n(67294),a=n(79427);let o=e=>{let{playlistId:t,title:n,className:o="",autoplay:h=l.SM.autoplay,muted:p=l.SM.muted,topBarBackgroundColor:x="#F9C432",topBarTextColor:f="#111111",topBarButtonBackgroundColor:g="rgba(0, 0, 0, 0.15)",topBarButtonTextColor:b="#111111"}=e,y=(0,i.useRef)(null),w=(0,i.useRef)(null),[v,j]=(0,i.useState)(!1),[k,N]=(0,i.useState)(p),[C,F]=(0,i.useState)(!1),[P,_]=(0,i.useState)(!1),D=(0,i.useCallback)(function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(null===(t=y.current)||void 0===t?void 0:t.contentWindow)&&y.current.contentWindow.postMessage(JSON.stringify({event:"command",func:e,args:n}),"*")},[]),B=(0,i.useCallback)(()=>{if(!P)return;let e=!k;e?D("mute"):(D("unMute"),D("setVolume",[100])),N(e)},[k,P,D]),S=(0,i.useCallback)(()=>{if(w.current){if(document.fullscreenElement===w.current){document.exitFullscreen();return}w.current.requestFullscreen()}},[]);(0,i.useEffect)(()=>{let e=()=>{F(document.fullscreenElement===w.current)};return document.addEventListener("fullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e)}},[]);let M=(0,l.ej)({playlistId:t,autoplay:h,muted:p}),L=(0,r.jsx)("div",{className:"flex items-center justify-center rounded-lg border border-ktc-borders bg-[#f7f7f7] px-4 text-center text-sm text-[#646464] ".concat(o),children:"Unable to load video player"});return v?L:(0,r.jsx)(a.SV,{fallback:L,children:(0,r.jsxs)("div",{ref:w,className:"overflow-hidden rounded-lg bg-black ".concat(o),children:[(0,r.jsxs)("div",{className:"flex h-[44px] items-center justify-between px-3",style:{backgroundColor:x},children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(s,{color:f}),(0,r.jsx)("h3",{className:"m-0 text-[13px] font-semibold",style:{color:f},children:n})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)("button",{type:"button",title:k?"Turn sound on":"Mute",className:"flex h-8 w-8 items-center justify-center rounded-md transition-colors disabled:cursor-not-allowed disabled:opacity-60",onClick:B,disabled:!P,style:{backgroundColor:g,color:b},children:k?(0,r.jsx)(c,{}):(0,r.jsx)(u,{})}),(0,r.jsx)("button",{type:"button",title:C?"Exit fullscreen":"Fullscreen",className:"flex h-8 w-8 items-center justify-center rounded-md transition-colors",onClick:S,style:{backgroundColor:g,color:b},children:C?(0,r.jsx)(m,{}):(0,r.jsx)(d,{})})]})]}),(0,r.jsx)("div",{className:"relative h-[calc(100%-44px)] bg-black",children:(0,r.jsx)("iframe",{suppressHydrationWarning:!0,ref:y,title:n,className:"absolute inset-0 h-full w-full border-0",src:M,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,loading:"lazy",referrerPolicy:"strict-origin-when-cross-origin",onLoad:()=>_(!0),onError:()=>j(!0)})})]})})},s=e=>{let{color:t}=e;return(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",style:{color:t},children:(0,r.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})},c=()=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),(0,r.jsx)("line",{x1:"23",y1:"9",x2:"17",y2:"15"}),(0,r.jsx)("line",{x1:"17",y1:"9",x2:"23",y2:"15"})]}),u=()=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),(0,r.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"})]}),d=()=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,r.jsx)("polyline",{points:"9 21 3 21 3 15"}),(0,r.jsx)("line",{x1:"21",y1:"3",x2:"14",y2:"10"}),(0,r.jsx)("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]}),m=()=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("polyline",{points:"4 14 10 14 10 20"}),(0,r.jsx)("polyline",{points:"20 10 14 10 14 4"}),(0,r.jsx)("line",{x1:"14",y1:"10",x2:"21",y2:"3"}),(0,r.jsx)("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]}),h=e=>{let{className:t,target:n}=e,i=l.SH[n],a=l.nL[i.playlist],s=l.DE[i.theme];return(0,r.jsx)(o,{title:i.title,playlistId:a.id,className:t,muted:!0,topBarBackgroun
1dColor:s.topBarBackgroundColor,topBarTextColor:s.topBarTextColor,topBarButtonBackgroundColor:s.topBarButtonBackgroundColor,topBarButtonTextColor:s.topBarButtonTextColor})},p=h},40529:function(e,t,n){n.d(t,{Z:function(){return L}});var r=n(85893),l=n(67294),i=n(90512),a=n(87235);let o={"3 Days":3,"7 Days":7,"30 Days":30,"60 Days":60,"6 Months":180,"1 Year":365,"5 Years":1825,"10 Years":3650,"15 Years":5475},s=Object.keys(o),c=Object.values(o),u=["7 Days","15 Years"],d=["RH"],m={oz:1,g:.03215,kg:32.15,tola:.375},h=[{symbol:"AU",label:"Gold"},{symbol:"AG",label:"Silver"},{symbol:"PT",label:"Platinum"},{symbol:"PD",label:"Palladium"}],p=["USD","CAD","EUR","GBP","JPY","CHF","AUD","CNY","INR","MXN","BRL","ZAR","RUB"];function x(e){let t=String(null!=e?e:"").toUpperCase();return h.some(e=>e.symbol===t)?t:"AU"}function f(e){let t=String(null!=e?e:"").toUpperCase();return p.includes(t)?t:"USD"}let g=["oz","kg","g","tola"],b={oz:"Ounce",kg:"Kilo",g:"Gram",tola:"Tola"},y={oz:"OZ",kg:"KILO",g:"GRAM",tola:"TOLA"},w=["tola"];function v(e){return Math.trunc(1e4*e)/1e4}function j(e,t){var n;return e*(null!==(n=m[t])&&void 0!==n?n:1)}function k(e){return new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}function N(e){return"".concat(e>=0?"+":"").concat(k(e),"%")}function C(e){return"number"==typeof e&&Number.isFinite(e)&&0!==e?e>0?"up":"down":"neutral"}let F={"3 Days":"3d","30 Days":"30d","60 Days":"60d","6 Months":"180d","1 Year":"365d","5 Years":"1825d","10 Years":"3650d"},P=()=>{let e=window.location.hostname;return"www.kitco.com"===e||"kitco.com"===e||"m.kitco.com"===e?"production":e.includes("localhost")||e.startsWith("127.")?"local":"uat"},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!window.dataLayer)return;let n={event:"hist_perf_".concat(e),hist_perf_environment:P()};for(let[e,r]of Object.entries(t))n["hist_perf_".concat(e)]=null!=r?r:void 0;window.dataLayer.push(n)};var D=n(56619);let B={AU:"Gold",AG:"Silver",PT:"Platinum",PD:"Palladium",RH:"Rhodium"},S=e=>"up"===e?"text-[#009981]":"down"===e?"text-[#fc374a]":"text-kitco-black",M=e=>{let{className:t}=e;return(0,r.jsx)("span",{"aria-hidden":!0,className:(0,i.Z)("inline-block animate-pulse rounded bg-[#E4E7EC]",t)})};var L=e=>{var t;let{metal:n,currency:m,width:P,className:L="",title:U="Precious Metals Historical Performance",placement:E="detail"}=e,R=336>Number(P),[A,Z]=(0,l.useState)(()=>x(n)),[T,z]=(0,l.useState)(()=>f(m)),[O,G]=(0,l.useState)("oz"),[I,W]=(0,l.useState)(null),[Y,K]=(0,l.useState)("");(0,l.useEffect)(()=>{Z(x(n)),z(f(m))},[n,m]);let J=null!==(t=B[A])&&void 0!==t?t:A,{bid:H,change:Q,changePercentage:V,timestamp:q,isLoading:$}=(0,D.s)(A,T),X="number"!=typeof q||!Number.isFinite(q)||q<=0?null:new Date(q<1e10?1e3*q:q).toLocaleString("en-US",{year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!0,timeZone:"America/New_York"}),ee=!d.includes(String(A).toUpperCase()),{data:et,isLoading:en}=(0,a.A)(A,T,ee,c),er=(0,l.useRef)(!1);(0,l.useEffect)(()=>{er.current||(er.current=!0,_("view",{metal:A,currency:T,unit:O,placement:E}))},[A,T,O,E]);let el=(0,l.useMemo)(()=>s.map(e=>({period:e,change:function(e,t,n){let r=o[n];if(void 0===r||"number"!=typeof e||!Number.isFinite(e))return null;let l=null==t?void 0:t[r];return"number"==typeof l&&Number.isFinite(l)&&0!==l?{change:v(e-l),changePercent:v((e-l)/l*100)}:null}(H,et,e)})),[H,et]),ei=e=>{_("period_click",{metal:A,currency:T,unit:O,period:e,placement:E});let t=w.includes(O)?"Chart coming soon":u.includes(e)?"".concat(e.toLowerCase()," chart coming soon"):null;if(t){K(t),_("chart_unavailable",{metal:A,currency:T,unit:O,period:e,placement:E,reason:t});return}W(e),_("chart_open",{metal:A,currency:T,unit:O,period:e,placement:E})},ea=I?function(e){let t=F[e.period];if(!t)return null;let n=e.metalName.charAt(0).toUpperCase()+e.metalName.slice(1).toLowerCase();return"https://proxy.kitco.com/kcast/live/".concat(n,"/438_235/").concat(e.symbol,"_").concat(t,"_").concat(e.currency,"_").concat(e.unit,".gif")}({metalName:J,symbol:A,period:I,currency:T,unit:O}):null,eo=$&&null==H,es=en&&!et;return(0,r.jsxs)("div",{className:(0,i.Z)("w-full",L),style:{maxWidth:"".concat(P,"px")},"data-testid":"historical-performance",children:[(0,r.jsxs)("div",{className:"w-full overflow-hidden rounded-lg border border-[#
1E4E7EC] bg-white p-2 text-kitco-black",children:[(0,r.jsx)("h2",{className:(0,i.Z)("pt-2 text-center font-medium",R?"text-[18px]":"text-[21px]"),children:U}),(0,r.jsxs)("div",{className:(0,i.Z)(R?"p-1":"p-3","pb-0"),children:[(0,r.jsxs)("div",{className:"mb-3 flex justify-between space-x-2",children:[(0,r.jsxs)("div",{className:"relative inline-block w-1/3",children:[(0,r.jsx)("label",{className:"sr-only",htmlFor:"hp-metal-".concat(E),children:"Metal"}),(0,r.jsx)("select",{id:"hp-metal-".concat(E),value:A,onChange:e=>{let t=e.target.value;_("metal_change",{metal:t,previous_metal:A,currency:T,unit:O,placement:E}),Z(t)},className:"h-10 w-full rounded border border-[#D0D5DD] bg-white px-1 text-[14px] text-[#344054]",children:h.map(e=>(0,r.jsx)("option",{value:e.symbol,children:e.label},e.symbol))})]}),(0,r.jsxs)("div",{className:"relative inline-block w-1/3",children:[(0,r.jsx)("label",{className:"sr-only",htmlFor:"hp-unit-".concat(E),children:"Unit of measure"}),(0,r.jsx)("select",{id:"hp-unit-".concat(E),value:O,onChange:e=>{let t=e.target.value;_("unit_change",{metal:A,currency:T,unit:t,previous_unit:O,placement:E}),G(t)},className:"h-10 w-full rounded border border-[#D0D5DD] bg-white px-1 text-[14px] text-[#344054]",children:g.map(e=>(0,r.jsx)("option",{value:e,children:e===O?y[e]:b[e]},e))})]}),(0,r.jsxs)("div",{className:"relative inline-block w-1/3",children:[(0,r.jsx)("label",{className:"sr-only",htmlFor:"hp-currency-".concat(E),children:"Currency"}),(0,r.jsx)("select",{id:"hp-currency-".concat(E),value:T,onChange:e=>{let t=e.target.value;_("currency_change",{metal:A,currency:t,previous_currency:T,unit:O,placement:E}),z(t)},className:"h-10 w-full rounded border border-[#D0D5DD] bg-white px-1 text-[14px] text-[#344054]",children:p.map(e=>(0,r.jsx)("option",{value:e,children:e},e))})]})]}),(0,r.jsxs)("div",{className:"mb-3 rounded bg-[#F2F4F7] p-2",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{className:R?"text-[12px]":"text-[14px]",children:"Current Price:"}),(0,r.jsxs)("span",{className:"font-normal",children:[eo?(0,r.jsx)(M,{className:R?"mr-1 h-5 w-20":"mr-1 h-6 w-28"}):(0,r.jsxs)("span",{className:(0,i.Z)("font-bold",R?"text-[18px]":"text-[24px]"),"data-testid":"hp-current-price",children:[null!=H?k(j(H,O)):"—"," "]}),T,"/",O]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{className:(0,i.Z)("mb-[2px]",R?"text-[9px]":"text-[11px]"),"data-testid":"hp-quote-time",children:X?"".concat(X," ").concat("NY"):""}),eo?(0,r.jsx)(M,{className:"h-4 w-24"}):null!=Q?(0,r.jsxs)("div",{className:(0,i.Z)(R&&"text-[12px]"),"data-testid":"hp-change",children:[(0,r.jsx)("span",{className:(0,i.Z)("font-bold",S(C(Q))),children:function(e,t){try{return new Intl.NumberFormat("en-US",{style:"currency",currency:t,signDisplay:"always",minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}catch(t){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",signDisplay:"always",minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}}(j(Q,O),T)}),(0,r.jsxs)("span",{className:(0,i.Z)("ml-2",S(C(Q))),children:["(",N(null!=V?V:0),")"]})]}):null]})]}),(0,r.jsxs)("table",{className:"w-full text-sm",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"border-b border-[#EAECF0]",children:[(0,r.jsx)("th",{scope:"col",className:"py-1 text-left",children:"Time"}),(0,r.jsx)("th",{scope:"col",className:"py-1 text-right",children:"Change"}),(0,r.jsx)("th",{scope:"col",className:"py-1 text-right",children:"Change%"})]})}),(0,r.jsx)("tbody",{children:el.map(e=>{var t;let{period:n,change:l}=e;return(0,r.jsxs)("tr",{className:"cursor-pointer border-b border-[#EAECF0] last:border-b-0 hover:bg-[#F9FAFB]",onClick:()=>ei(n),children:[(0,r.jsx)("td",{className:"py-1",children:n}),es?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"py-1 text-right",children:(0,r.jsx)(M,{className:"ml-auto h-3 w-14"})}),(0,r.jsx)("td",{className:"py-1 text-right",children:(0,r.jsx)(M,{className:"ml-auto h-3 w-14"})})]}):l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:(0,i.Z)("py-1 text-right font-normal",S(C(l.change))),children:(t=j(l.change,O),"".concat(t>=0?"+":"").concat(k(t)))}),(0,r.jsx)("td",{className:(0,i.Z)("py-1 text-right font-normal",S(C(l.changePercent))),children:N(l.changePercent)})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("td",{className:"py-1 text-right text-[#667085]",children:"—"}),(0,r.jsx)("td",{className:"py-1 text-right text-[#667085]",children:"—"})]})]},n)})})]})]}),(0,r.jsx)("div",{className:"mt-[25px] flex items-center justify-center bg-[#F2F4F7] p-2 text-center text-[12px] leading-relaxed text-[#475467]",children:(0,r.jsxs)("span",{children:["Want this widget on your site?"," ",(0,r.jsx)("a",{href:"https://widgets.kitco.com/#/widgets/precious_metals_performance",target:"_blank",rel:"noopener noreferrer",className:"text-[#0b69c7] underline hover:no-underline",onClick:()=>_("embed_click",{metal:A,currency:T,unit:O,placement:E}),children:"Get the widget"})]})})]}),(I||Y)&&(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",role:"dialog","aria-modal":"true","aria-label":Y?"Chart unavailable":"Chart for ".concat(J),children:(0,r.jsxs)("div",{className:"max-h-[90vh] overflow-auto rounded-lg bg-white p-4",children:[Y?(0,r.jsx)("p",{className:"px-4 py-6 text-center text-lg font-semibold",children:Y}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("h3",{className:"mb-2 text-lg font-bold",children:["Chart for ",J," - ",I]}),ea&&(0,r.jsx)("img",{src:ea,alt:"".concat(J," ").concat(I," chart"),className:"h-auto w-full object-contain"})]}),(0,r.jsx)("button",{type:"button",onClick:()=>{W(null),K("")},className:"mt-4 rounded bg-[#0680CD] px-4 py-2 text-white hover:bg-[#0568a8]",children:Y?"Close"
1:"Close Chart"})]})})]})}},56619:function(e,t,n){n.d(t,{s:function(){return o}});var r=n(83853),l=n(50600),i=n(83193),a=n(18474);function o(e,t){var n,o,s;let{preciousData:c,useFallback:u}=(0,l.e)(),d=null==c?void 0:c[e],m=!!(null==d?void 0:null===(n=d.prices)||void 0===n?void 0:n[t]),h=!!d&&!u&&m,p=(0,i.ZP)({...(0,r.Qv)(e,t),enabled:!h}),x=h&&d?(0,a.jw)(d,t):p.data,f=null==x?void 0:null===(s=x.GetMetalQuoteV3)||void 0===s?void 0:null===(o=s.results)||void 0===o?void 0:o[0],g=e=>"number"==typeof e&&Number.isFinite(e)?e:null;return{bid:g(null==f?void 0:f.bid),change:g(null==f?void 0:f.change),changePercentage:g(null==f?void 0:f.changePercentage),timestamp:"number"==typeof(null==f?void 0:f.timestamp)&&f.timestamp>0?f.timestamp:null,isLoading:!h&&p.isLoading}}},11174:function(e,t,n){function r(e){let t="number"==typeof e?e:"string"==typeof e&&""!==e.trim()?Number(e):Number.NaN;return Number.isFinite(t)&&0!==t?t>0?"up":"down":"neutral"}function l(e){return"up"===e||"down"===e}n.d(t,{R:function(){return l},k:function(){return r}})},48790:function(e,t,n){n.d(t,{G:function(){return a}});var r=n(67294),l=n(11174);function i(e){for(let t of e){let e="number"==typeof t?t:"string"==typeof t&&""!==t.trim()?Number(t):Number.NaN;if(Number.isFinite(e))return e}return null}function a(e,t,n){let[a,o]=(0,r.useState)("neutral"),s=(0,r.useRef)(!0),c=(0,r.useRef)([]),u=(0,r.useRef)(null),d=(0,r.useRef)(null),m=(0,r.useMemo)(()=>JSON.stringify(t),[t]);return(0,r.useEffect)(()=>{if(!e){null!==u.current&&(window.clearTimeout(u.current),u.current=null),null!==d.current&&(window.cancelAnimationFrame(d.current),d.current=null),o("neutral");return}if(s.current){s.current=!1,c.current=t;return}if(m===JSON.stringify(c.current))return;let r=i(c.current),a=i(t),h=null!==r&&null!==a&&r!==a?a>r?"up":"down":(0,l.k)(n);return c.current=t,null!==u.current&&(window.clearTimeout(u.current),u.current=null),null!==d.current&&(window.cancelAnimationFrame(d.current),d.current=null),o("neutral"),d.current=window.requestAnimationFrame(()=>{o(h),u.current=window.setTimeout(()=>{o("neutral"),u.current=null},1200),d.current=null}),()=>{null!==u.current&&(window.clearTimeout(u.current),u.current=null),null!==d.current&&(window.cancelAnimationFrame(d.current),d.current=null)}},[e,n,m]),a}},3601:function(e,t,n){n.d(t,{DE:function(){return i},L6:function(){return o},Py:function(){return s},SH:function(){return a},SM:function(){return l},ej:function(){return c},nL:function(){return r}});let r={miningMain:{id:"PLzpGB1bx9UxeVQiPDkc8a9m24S87x2wNa",playlistUrl:"https://www.youtube.com/playlist?list=PLzpGB1bx9UxeVQiPDkc8a9m24S87x2wNa",channel:"kitcoMining"},kitcoNewsMain:{id:"PL0ig7_FhNeJx8ikJks_nvZdl5jkiy3Rzw",playlistUrl:"https://www.youtube.com/playlist?list=PL0ig7_FhNeJx8ikJks_nvZdl5jkiy3Rzw",channel:"kitcoNews"}},l={autoplay:!1,muted:!0}
1,i={kitcoMining:{topBarBackgroundColor:"#F9C432",topBarTextColor:"#111111",topBarButtonBackgroundColor:"rgba(0, 0, 0, 0.15)",topBarButtonTextColor:"#111111"},kitcoNews:{topBarBackgroundColor:"#078CD2",topBarTextColor:"#FFFFFF",topBarButtonBackgroundColor:"rgba(255, 255, 255, 0.2)",topBarButtonTextColor:"#FFFFFF"}},a={miningNewsCategory:{title:"Kitco Mining Channel",playlist:"miningMain",theme:"kitcoMining"},miningEquities:{title:"Kitco Mining Channel",playlist:"miningMain",theme:"kitcoMining"},miningPressRelease:{title:"Kitco Mining Channel",playlist:"miningMain",theme:"kitcoMining"},baseMetals:{title:"Kitco Mining Channel",playlist:"miningMain",theme:"kitcoMining"},preciousMetalsAllQuotesRightRail:{title:"Kitco News Channel",playlist:"kitcoNewsMain",theme:"kitcoNews"},chartsGoldRightRail:{title:"Kitco News Channel",playlist:"kitcoNewsMain",theme:"kitcoNews"},chartsSilverRightRail:{title:"Kitco News Channel",playlist:"kitcoNewsMain",theme:"kitcoNews"}},o={newsCategory:{desktop:"h-[277px] w-[420px] shrink-0",tablet:"mx-auto mt-5 aspect-[420/277] w-full max-w-[728px]",mobile:"aspect-[420/277] w-full"},rightRail:{desktop:"mx-auto h-[249px] w-[300px]",mobileTablet:"mx-auto aspect-[300/205] w-full max-w-[300px]",spacingToNextSection:"mb-[30px]"},rightRailWide:{desktop:"mx-auto h-[249px] w-full max-w-[336px]",mobileTablet:"mx-auto aspect-[336/205] w-full max-w-[336px]",spacingToNextSection:"mb-[30px]"}},s=o,c=e=>{let{playlistId:t,autoplay:n=l.autoplay,muted:r=l.muted}=e,i=new URL("https://www.youtube.com/embed/videoseries");return i.searchParams.set("list",t),i.searchParams.set("autoplay",n?"1":"0"),i.searchParams.set("mute",r?"1":"0"),i.searchParams.set("playsinline","1"),i.searchParams.set("modestbranding","1"),i.searchParams.set("rel","0"),i.searchParams.set("enablejsapi","1"),i.searchParams.set("listType","playlist"),i.toString()}},83853:function(e,t,n){n.d(t,{kb:function(){return u},ZP:function(){return m},Qv:function(){return d}});var r=n(93351),l=n(1945),i=n(50600),a=n(5528),o=n(83193),s=n(18474),c=n(5409);let u={AL:"ALUMINUM",CU:"COPPER",PB:"LEAD",NI:"NICKEL",ZN:"ZINC"},d=(e,t)=>a.k.metalQuote({variables:{symbol:e,currency:null!=t?t:"USD",timestamp:c.Vk()}});var m=e=>{var t,n,a;let c=(0,r.U)(),{preciousData:m,useFallback:h}=(0,i.e)(),{baseData:p,useFallback:x}=(0,l.i)(),f=h||x,g=null!==(a=null!==(n=null==m?void 0:m[e])&&void 0!==n?n:null==p?void 0:p[null!==(t=u[e])&&void 0!==t?t:e])&&void 0!==a?a:null,{data:b,isLoading:y,error:w}=(0,o.ZP)({...d(e,c.symbol),enabled:f}),v=g&&!f?(0,s.jw)(g,c.symbol):b;return{currency:c,data:v,isLoading:(!g||!!f)&&y,error:g&&!f?void 0:w}}},1945:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(85113);function l(){let{data:e,isConnected:t,useFallback:n}=(0,r.o)("base");return{baseData:e,isConnected:t,useFallback:n}}},87235:function(e,t,n){async function r(e){let t=await fetch("".concat(e.replace(/\/$/,""),"/v1/anon/api-token"),{method:"POST",headers:{"Content-Type":"application/json",Origin:"https://www.kitco.com".trim().replace(/\/$/,"")||"https://www.kitco.com"},body:JSON.stringify({client_type:"web"})});if(!t.ok)throw Error("Zeus api-token mint failed: ".concat(t.status));let n=await t.json();if(!n.access_token)throw Error("Zeus api-token mint missing access_token");return n.access_token}async function l(){let e={Accept:"application/json"};if("https://zeus-api.kitco.com".trim().replace(/\/$/,"").includes("zeus.kitco.com/dev"))return e;let t="https://zeus-auth.kitco.com";if(!t)throw Error("[Zeus] Missing NEXT_PUBLIC_ZEUS_AUTH_URL");let n=await r(t);return e.Authorization="Bearer ".concat(n),e}async function i(e){var t,n;let r=function(){let e="https://zeus-api.kitco.com";if(!e)throw Error("[Zeus] Missing NEXT_PUBLIC_ZEUS_API_URL");return e.replace(/\/$/,"")}(),i=null!==(t=e.currency)&&void 0!==t?t:"USD",a=new URL("".concat(r,"/api/historical-closes"));a.searchParams.set("asset_class",null!==(n=e.assetClass)&&void 0!==n?n:"precious"),a.searchParams.set("symbol",e.symbol),a.searchParams.set("lookbacks",e.lookbacks.join(",")),a.searchParams.set("currency",i);let o=await fetch(a.toString(),{headers:await l()});if(!o.ok)throw Error("Zeus historical-closes failed: ".concat(o.status));return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD",n=e.row_schema.indexOf("lookback_days"),r=e.row_schema.indexOf("price");if(n<0||r<0)return{};let l=e.series.find(e=>{let[n]=e;return n===t});if(!l)return{};let i=l[1],a={};for(let e of i){let t=e[n],l=e[r];"number"==typeof t&&"number"==typeof l&&Number.isFinite(t)&&Number.isFinite(l)&&(a[t]=l)}return a}(await o.json(),i)}n.d(t,{A:function(){return s}});var a=n(83193);let o=[30,365];function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD",n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o;return(0,a.ZP)({queryKey:["zeusHistoricalCloses",e,t,r.join(",")],queryFn:()=>
1i({symbol:e,lookbacks:[...r],currency:t}),enabled:n&&!0,refetchOnWindowFocus:!1,staleTime:3e5,retry:1})}},50600:function(e,t,n){n.d(t,{e:function(){return l}});var r=n(85113);function l(){let{data:e,isConnected:t,useFallback:n,connectionState:l}=(0,r.o)("precious");return{preciousData:e,isConnected:t,useFallback:n,connectionState:l}}},10374:function(e,t,n){n.d(t,{Jc:function(){return r},QB:function(){return i},k:function(){return l}});let r=2204.62,l={pound:1,gram:.00220462,kilo:2.20462,ton:2e3,tonne:2204.62},i={tonne:1,lb:4535929094356397e-19,gram_t:1e-6,kilo_t:.001,ton:.9071858188712795}}}]);

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.