PageSourceSearch

http://www.kitco.com/_next/static/chunks/pages/news/tag/[urlAlias]-ee1ac8f63be09385.js

js kitco.com collected 2026-10-01 09:00:10 UTC 10,789 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6304],{7124:function(e){var s;s=function(){return function(e,s,l){s.prototype.isToday=function(){var e="YYYY-MM-DD",s=l();return this.format(e)===s.format(e)}}},e.exports=s()},84110:function(e){var s;s=function(){return function(e,s,l){e=e||{};var a=s.prototype,t={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,s,l,t){return a.fromToBase(e,s,l,t)}l.en.relativeTime=t,a.fromToBase=function(s,a,i,n,r){for(var d,o,c,u=i.$locale().relativeTime||t,x=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=x.length,p=0;p<m;p+=1){var h=x[p];h.d&&(d=n?l(s).diff(i,h.d,!0):i.diff(s,h.d,!0));var v=(e.rounding||Math.round)(Math.abs(d));if(c=d>0,v<=h.r||!h.r){v<=1&&p>0&&(h=x[p-1]);var j=u[h.l];r&&(v=r(""+v)),o="string"==typeof j?j.replace("%d",v):j(v,a,h.l,c);break}}if(a)return o;var g=c?u.future:u.past;return"function"==typeof g?g(o):g.replace("%s",o)},a.to=function(e,s){return i(e,s,this,!0)},a.from=function(e,s){return i(e,s,this)};var n=function(e){return e.$u?l.utc():l()};a.toNow=function(e){return this.to(n(this),e)},a.fromNow=function(e){return this.from(n(this),e)}}},e.exports=s()},63205:function(e,s,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/news/tag/[urlAlias]",function(){return l(36033)}])},29492:function(e,s,l){"use strict";function a(e){let s=String(null!=e?e:"").trim().split("?")[0].split("#")[0],l=s.startsWith("/")?s:"/".concat(s),a=l.length>1?l.replace(/\/+$/,""):l;return"".concat("https://www.kitco.com").concat("/"===a?"":a)}l.d(s,{H:function(){return a}})},36033:function(e,s,l){"use strict";l.r(s),l.d(s,{__N_SSP:function(){return L},default:function(){return M}});var a=l(85893),t=l(90512),i=l(9008),n=l.n(i),r=l(29492),d=l(11163),o=l(67294),c=l(44478),u=l(86250),x=l(98577),m=l(54011),p=l(80193),h=l(7449),v=l(41664),j=l.n(v),g=l(68506),f=l(83193),N=l(46761);let b=()=>{var e;let{data:s}=(0,f.ZP)(g.r.trendingTags({options:{enabled:!0}}));return(0,a.jsxs)("div",{className:"bg-kitco-black pb-10 pt-[30px]",children:[(0,a.jsx)("h4",{className:(0,N.Z)(["pb-4 text-center text-2xl uppercase"]),style:{color:"white"},children:(0,a.jsx)("span",{className:"text-[21px] leading-[27px]",children:"Trending Tags"})}),(0,a.jsx)("div",{className:"mx-auto flex max-w-[1240px] flex-wrap justify-center gap-2 px-10 lg:px-0",children:null==s?void 0:null===(e=s.trendingTags)||void 0===e?void 0:e.map(e=>(0,a.jsx)(y,{tag:e},e.id))})]})},y=e=>{let{tag:s}=e;return(0,a.jsx)(j(),{className:"rounded border border-white border-opacity-40 px-3.5 py-px leading-7",href:s.urlAlias,children:(0,a.jsx)("span",{className:"text-[12px] text-white",children:s.name})})};var w=l(43571),_=l(64622),k=l.n(_);let T=e=>{var s,l,a;let{params:t,incrementParams:i}=(0,w.U)(8),{data:n,isFetching:r,isLoading:d}=(0,f.ZP)(g.r.nodeListByTag({variables:{...t,urlAlias:e},options:{enabled:!0}})),{items:o,isNextPage:c,fetchMore:u,loading:x}=(0,w.F)({items:null==n?void 0:null===(s=n.nodeListByTag)||void 0===s?void 0:s.items,incrementParams:i,total:null==n?void 0:null===(l=n.nodeListByTag)||void 0===l?void 0:l.total});return{data:null!=o?o:null==n?void 0:null===(a=n.nodeListByTag)||void 0===a?void 0:a.items,loading:x||d||r,loadMore:{isDisabled:!c,execute:u}}};var L=!0,M=e=>{let{urlAlias:s}=e,l=(0,d.useRouter)(),{data:t,refetch:i}=(0,f.ZP)(g.r.tagByUrlAlias({variables:{urlAlias:"/news/tag/".concat(s)}}));(0,o.useEffect)(()=>{if(null===t.tagByUrlAlias)return l.push("/notfound"),null},[]),(0,o.useEffect)(()=>{i()},[s]);let c=null==t?void 0:t.tagByUrlAlias;return(0,a.jsxs)(p.Z,{title:"".concat(null==c?void 0:c.name," | KITCO"),children:[(0,a.jsxs)(n(),{children:[(0,a.jsx)("link",{rel:"canonical",href:(0,r.H)("/news/tag/".concat(s))}),(0,a.jsx)("meta",{name:"description",content:"KITCO Covers The Latest Gold News, Silver News, Live Gold Prices, Silver Prices, Gold Charts, Gold Rate, Mining News, ETF, FOREX, Bitcoin, Crypto, Stock Markets"})]}),(0,a.jsx)(A,{tag:c})]})};let A=e=>{let{tag:s}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:k().desktopLayout,children:(0,a.jsx)(z,{tag:s})}),(0,a.jsx)("div",{className:k().tabletLayout,children:(0,a.jsx)(C,{tag:s})}),(0,a.jsx)("div",{className:k().mobileLayout,children:(0,a.jsx)(F,{tag:s})})]})})},z=e=>{let{tag:s}=e,{data:l,loadMore:t,loading:i}=T(null==s?void 0:s.urlAlias);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"mx-auto w-[1240px]",children:[(0,a.jsx)(B,{name:null==s?void 0:s.name}),i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(G,{}),(0,a.jsx)(U,{})]}):!(null==l?void 0:l.length)&&(0,a.jsx)(q,{tagName:null==s?void 0:s.name}),(0,a.jsx)(E,{data:null==l?void 0:l.slice(0,3)}),(0,a.jsx)(Z,{data:null==l?void 0:l.slice(3)}),(0,a.jsx)(S,{loadMore:t})]}),(0,a.jsx)(b,{}),(0,a.jsxs)("div",{className:"mx-auto w-[1240px] pt-10",children:[(0,a.jsx)("h2",{className:"font-mulish text-[32px] font-semibold leading-[42px]",children:"Latest News"}),(0,a.jsx)(O,{})]})]})},C=e=>{let{tag:s}=e,{data:l,loadMore:t,loading:i}=T(null==s?void 0:s.urlAlias);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"mx-auto w-full px-10",children:[(0,a.jsx)(B,{name:null==s?void 0:s.name}),i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(I,{}),(0,a.jsx)(I,{})]}):!(null==l?void 0:l.length)&&(0,a.jsx)(q,{tagName:null==s?void 0:s.name}),(0,a.jsx)(P,{data:null==l?void 0:l.slice(0,4)}),(0,a.jsx)(P,{data:null==l?void 0:l.slice(4)}),(0,a.jsx)(c.Z,{id:"banner-2",className:"mx-auto bg-red-400 md:h-[90px] md:w-[728px] no-print"}),(0,a.jsx)(S,{loadMore:t})]}),(0,a.jsx)(b,{}),(0,a.jsxs)("div",{className:"mx-auto w-full px-10 py-10",children:[(0,a.jsx)("h2",{className:"font-mulish text-[24px] font-semibold leading-[32px]",children:"Latest News"}),(0,a.jsx)(O,{})]})]})},F=e=>{let{tag:s}=e,{data:l,loadMore:t,loading:i}=T(null==s?void 0:s.urlAlias);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"mx-auto w-full px-5",children:[(0,a.jsx)(B,{name:null==s?void 0:s.name}),i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(D,{size:"sm"}),(0,a.jsx)(Y,{}),(0,a.jsx)(Y,{})]}):!(null==l?void 0:l.length)&&(0,a.jsx)(q,{tagName:null==s?void 0:s.name}),(0,a.jsx)(h.zb,{data:l,disableAdverts:!0}),(0,a.jsx)(S,{loadMore:t})]}),(0,a.jsx)(b,{}),(0,a.jsxs)("div",{className:"mx-auto w-full p-5 pt-10 md:p-10 lg:p-10",children:[(0,a.jsx)("h2",{className:"font-mulish pb-5 text-[24px] font-semibold leading-[32px]",children:"Latest News"}),(0,a.jsx)(O,{})]})]})},B=e=>{let{name:s}=e;return(0,a.jsxs)("h1",{className:"text-[32px] uppercase leading-[38px] md:mb-5 md:text-[48px] md:leading-[58px]",children:[(0,a.jsx)("span",{className:"text-kitco-black text-opacity-20",style:{fontFamily:"Bebas Neue"},children:"TAG:\xa0"}),s]})},E=e=>{let{data:s}=e;return(0,a.jsx)("div",{className:"grid grid-cols-3 gap-10 pb-10",children:null==s?void 0:s.map(e=>(0,a.jsx)(m.j,{size:"md",node:e},e.id))})},P=e=>{let{data:s}=e;return(0,a.jsx)("div",{className:"grid grid-cols-4 gap-[22px] pb-10",children:null==s?void 0:s.map(e=>(0,a.jsx)(x.TeaserCard,{size:"sm",node:e,sizeImg:"md"},e.id))})},Z=e=>{let{data:s}=e;
1return(0,a.jsx)("div",{className:"grid grid-cols-5 gap-10",children:null==s?void 0:s.map(e=>(0,a.jsx)(x.TeaserCard,{size:"sm",node:e,sizeImg:"md",lineClampTitle:"line-clamp-2"},e.id))})},S=e=>{let{loadMore:s}=e;return(0,a.jsx)("div",{className:"pb-10 md:py-9",children:s.isDisabled?null:(0,a.jsxs)("button",{className:(0,t.W)("flex w-full items-center justify-center gap-2 rounded-md border border-ktc-borders py-2 text-base"),type:"button",onClick:s.execute,children:[(0,a.jsx)("span",{className:"font-medium leading-5 text-[#111111]",children:"Load More"}),(0,a.jsx)(u._i7,{})]})})},O=()=>{var e,s,l;let{params:t,incrementParams:i}=(0,w.U)(10),{data:n}=(0,f.ZP)(g.r.nodeListQueue({variables:{...t,queueId:"latest_news"},options:{enabled:!0}})),{ref:r,items:d,loading:o}=(0,w.F)({items:null==n?void 0:null===(e=n.queue)||void 0===e?void 0:e.items,incrementParams:i,total:null==n?void 0:null===(s=n.queue)||void 0===s?void 0:s.total});return(0,a.jsxs)("div",{children:[(0,a.jsx)(h.zb,{data:d.length?d:null==n?void 0:null===(l=n.queue)||void 0===l?void 0:l.items,disableAdverts:!0}),(0,a.jsx)("div",{ref:r,children:o&&(0,a.jsx)("div",{children:"Loading..."})})]})},q=e=>{let{tagName:s}=e;return(0,a.jsx)("div",{className:"py-40 text-center",children:(0,a.jsxs)("p",{className:"text-2xl font-semibold",children:["Sorry, there are no articles related to “",(0,a.jsx)("strong",{children:s}),"” to show."]})})},G=()=>(0,a.jsx)("div",{className:"grid grid-cols-3 gap-10 pb-10",children:Array.from([,,,].keys()).map(e=>(0,a.jsx)(D,{size:"md"},e))}),I=()=>(0,a.jsx)("div",{className:"grid grid-cols-4 gap-[22px] pb-10",children:Array.from([,,,,].keys()).map(e=>(0,a.jsx)(D,{size:"sm"},e))}),U=()=>(0,a.jsx)("div",{className:"grid grid-cols-5 gap-10",children:Array.from([,,,,,].keys()).map(e=>(0,a.jsx)(D,{size:"sm"},e))}),D=e=>{let{size:s}=e;return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:(0,N.Z)([{sm:"",md:"xl:h-[242px]"}[s],"relative mt-1 aspect-video w-full animate-pulse rounded-lg bg-gray-200 object-cover"])}),(0,a.jsx)("div",{className:"h-2"}),(0,a.jsx)("div",{className:"h-4 w-40 animate-pulse bg-gray-200"}),(0,a.jsx)("div",{className:"h-2"}),(0,a.jsx)("div",{className:"h-14 animate-pulse bg-gray-200"}),(0,a.jsx)("div",{className:"h-2"}),(0,a.jsx)("div",{className:"h-14 animate-pulse bg-gray-200"}),(0,a.jsx)("div",{className:"h-2"}),(0,a.jsx)("div",{className:"h-4 w-40 animate-pulse bg-gray-200"})]})},Y=()=>(0,a.jsxs)("div",{className:"mb-5 flex h-[90px] w-full",children:[(0,a.jsx)("div",{className:"relative relative block block aspect-video aspect-video w-[120px] animate-pulse rounded-lg bg-gray-200"}),(0,a.jsxs)("div",{className:"block w-[calc(100%_-_120px)] pl-4 pl-[14px]",children:[(0,a.jsx)("div",{className:"h-4 w-20 animate-pulse bg-gray-200"}),(0,a.jsx)("div",{className:"h-2"}),(0,a.jsx)("div",{className:"h-10 animate-pulse bg-gray-200"}),(0,a.jsx)("div",{className:"h-2"}),(0,a.jsx)("div",{className:"h-4 w-40 animate-pulse bg-gray-200"})]})]})},64622:function(e){e.exports={desktopLayout:"news-alias-page_desktopLayout__46iVc",tabletLayout:"news-alias-page_tabletLayout__J5cCu",mobileLayout:"news-alias-page_mobileLayout__qTzOx"}}},function(e){e.O(0,[4396,6724,5026,4738,3365,648,7472,4034,7128,7035,6660,4817,594,509,4321,4873,1595,7536,9652,362,7561,9177,8506,2089,1780,2888,9774,179],function(){return e(e.s=63205)}),_N_E=e.O()}]);

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.