1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14569],{11754:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/crypto-news/[id]",function(){return n(19733)}])},19733:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var s=n(37876),a=n(14232),i=n(89099),r=n(77328),o=n.n(r),l=n(48230),c=n.n(l),d=n(5068),h=n(14741),u=n(92400),m=n(46929),p=n(29528);let g=[{id:1,attributes:{title:"Blockchain Technology Adoption Accelerates in Enterprise",excerpt:"Fortune 500 companies are increasingly implementing blockchain solutions for supply chain and financial operations.",content:"Blockchain is moving far beyond its early association with cryptocurrencies. Over the past few years, Fortune 500 companies have increasingly embraced blockchain solutions to improve transparency, security, and efficiency across their operations. Today, the technology is becoming a core part of enterprise infrastructure.\n\n## Strengthening Supply Chains\n\nOne of the biggest drivers of adoption is supply chain management. Blockchain allows companies to track goods in real time, verify authenticity, and reduce fraud. From manufacturing to logistics, organisations are using decentralised ledgers to create cleaner, more reliable data trails that improve coordination and reduce delays.\n\n## Enhancing Financial Operations\n\nCorporations are also using blockchain to simplify financial workflows. Automated smart contracts reduce manual processing, minimise errors, and speed up settlement times. Multinationals are exploring blockchain-based payment networks to improve cross-border transactions and reduce operational costs.\n\n## Building Trust Through Transparency\n\nEnterprises value blockchain for its ability to create shared, tamper-proof records between partners. This transparency helps businesses meet compliance requirements, strengthen auditing processes, and improve collaboration across large ecosystems.\n\n## A Shift Toward Scalable Solutions\n\nWhat was once experimental is now becoming standard. With major cloud providers offering enterprise-grade blockchain tools, companies can deploy secure, scalable networks faster than ever. As adoption accelerates, blockchain is shifting from a niche innovation to a foundational technology reshaping how global businesses operate.",publishedAt:new Date(Date.now()-18e6).toISOString(),category:"Business",coins:["Bitcoin","Ethereum"],thumbnailUrl:"https://images.unsplash.com/photo-1639762681485-074b7f938ba0?w=800&h=400&fit=crop",views:2500,likes:2e3}},{id:2,attributes:{title:"Bitcoin Surges Past $43K as Institutional Investment Grows",excerpt:"Major financial institutions continue to increase their cryptocurrency holdings.",content:"Bitcoin has broken through the $43,000 barrier as institutional investors continue to pour capital into the cryptocurrency market. This latest surge reflects growing confidence in digital assets as a long-term investment vehicle.\n\n## Institutional Adoption Accelerates\n\nMajor financial institutions, including pension funds and hedge funds, are now allocating portions of their portfolios to Bitcoin. This shift represents a significant change from just a few years ago when most traditional finance players viewed cryptocurrency with skepticism.\n\n## Market Dynamics\n\nThe current rally is driven by several factors including reduced selling pressure, increased demand from institutional buyers, and growing recognition of Bitcoin as a hedge against inflation.\n\n## Looking Ahead\n\nAnalysts suggest this could be the beginning of a sustained bull run, with some predicting Bitcoin could reach new all-time highs before year end.",publishedAt:new Date(Date.now()-72e5).toISOString(),category:"Market News",coins:["Bitcoin"],thumbnailUrl:"https://images.unsplash.com/photo-1518546305927-5a555bb7020d?w=800&h=400&fit=crop",views:3200,likes:1800}},{id:3,attributes:{title:"Ethereum Network Upgrade Promises Faster Transactions",excerpt:"The latest Ethereum improvement proposal aims to reduce gas fees and increase transaction throughput significantly.",content:"The Ethereum network is set to undergo a major upgrade that promises to dramatically improve transaction speeds and reduce the notorious gas fees that have plagued users.\n\n## What's Changing\n\nThe upgrade introduces several optimizations to the network's consensus mechanism and transaction processing pipeline. These
1changes are expected to increase throughput by up to 10x while reducing average gas fees by 50%.\n\n## Impact on DeFi\n\nDecentralized finance applications stand to benefit significantly from these improvements. Lower fees and faster confirmations will make DeFi more accessible to everyday users.\n\n## Developer Response\n\nThe Ethereum developer community has welcomed these changes, with many projects already preparing updates to take advantage of the new capabilities.",publishedAt:new Date(Date.now()-18e6).toISOString(),category:"Technology",coins:["Ethereum"],thumbnailUrl:"https://images.unsplash.com/photo-1622630998477-20aa696ecb05?w=800&h=400&fit=crop",views:1800,likes:1200}},{id:4,attributes:{title:"Regulatory Framework for Digital Assets Takes Shape",excerpt:"New guidelines from financial authorities provide clearer direction for cryptocurrency trading and investment.",content:"Financial regulators around the world are finally providing clear guidelines for cryptocurrency trading and investment, marking a significant step toward mainstream adoption.\n\n## New Regulatory Clarity\n\nThe new framework addresses key concerns including investor protection, anti-money laundering requirements, and tax reporting obligations. This clarity is expected to encourage more institutional participation in the market.\n\n## Global Coordination\n\nInternational regulators are working together to create consistent standards across jurisdictions, reducing the regulatory arbitrage that has characterized the crypto industry.\n\n## Industry Response\n\nMajor cryptocurrency exchanges and financial institutions have welcomed the regulatory clarity, noting that it provides a foundation for sustainable growth.",publishedAt:new Date(Date.now()-864e5).toISOString(),category:"Regulation",coins:["Bitcoin","Ethereum"],thumbnailUrl:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=800&h=400&fit=crop",views:2100,likes:950}},{id:5,attributes:{title:"Cardano Unveils Major Smart Contract Enhancement",excerpt:"The Cardano network announces significant improvements to its smart contract capabilities, attracting developer interest.",content:"Cardano has announced a major upgrade to its smart contract platform, introducing new features designed to attract developers and compete more effectively with Ethereum.\n\n## Enhanced Capabilities\n\nThe upgrade includes improved programming tools, better debugging capabilities, and enhanced security features. These changes make it easier for developers to build complex decentralized applications on Cardano.\n\n## Growing Ecosystem\n\nThe improvements are already attracting attention from DeFi projects looking for alternatives to congested networks. Several major protocols have announced plans to deploy on Cardano.",publishedAt:new Date(Date.now()-1728e5).toISOString(),category:"Technology",coins:["Cardano"],thumbnailUrl:"https://images.unsplash.com/photo-1642104704074-907c0698cbd9?w=800&h=400&fit=crop",views:1500,likes:800}}];function x(){let e=(0,i.useRouter)(),{id:t}=e.query,[n,r]=(0,a.useState)(null),[l,x]=(0,a.useState)([]),[f,b]=(0,a.useState)(!0);(0,a.useEffect)(()=>{t&&(async()=>{try{b(!0);let s="https://strapi.vault22.com";if(s){var e,n;let a=await d.A.get("".concat(s,"/api/crypto-newses/").concat(t),{params:{populate:"*"}});if(null==(e=a.data)?void 0:e.data){r(a.data.data);let e=await d.A.get("".concat(s,"/api/crypto-newses"),{params:{populate:"*",sort:"publishedAt:desc","pagination[limit]":3,"filters[id][$ne]":t}});(null==(n=e.data)?void 0:n.data)&&x(e.data.data)}}else{let e=parseInt(t,10),n=g.find(t=>t.id===e);n&&(r(n),x(g.filter(t=>t.id!==e).slice(0,3)))}}catch(s){console.error("Failed to fetch article:",s);let e=parseInt(t,10),n=g.find(t=>t.id===e);n&&(r(n),x(g.filter(t=>t.id!==e).slice(0,3)))}finally{b(!1)}})()},[t]);let y=e=>{let t=new Date,n=new Date(e),s=Math.floor((t.getTime()-n.getTime())/36e5);if(s<1){let e=Math.floor((t.getTime()-n.getTime())/6e4);return"".concat(e," minutes ago")}{if(s<24)return"".concat(s," hours ago");let e=Math.floor(s/24);return"".concat(e," day").concat(e>1?"s":""," ago")}},w=e=>e>=1e3?(e/1e3).toFixed(1)+"k":e.toString();return f?(0,s.jsxs)(m.A,{children:[(0,s.jsx)(o(),{children:(0,s.jsx)("title",{children:"Loading... | Vault22"})}),(0,s.jsx)(u.A,{children:(0,s.jsx)("div",{className:"flex items-center justify-center min-h-[60vh]",children:(0,s.jsx)(p.A,{size:80})})})]}):n?(0,s.jsxs)(m.A,{children:[(0,s.jsxs)(o(),{children:[(0,s.jsxs)("title",{children:[n.attributes.title," | Vault22"]}),(0,s.jsx)("meta",{name:"description",content:n.attributes.excerpt})]}),(0,s.jsx)(u.A,{children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsxs)("button",{onClick:()=>e.push("/app/crypto-news"),className:"flex items-center gap-2 text-gray-600 hover:text-gray-900 mb-4 transition-colors",children:[(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,s.jsx)("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsx)("span",{className:"text-2xl font-semibold text-[#22252B]",children:"Crypto news"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500",children:[(0,s.jsx)(c(),{href:"/app/crypto-news",className:"hover:text-[#01C38D]",children:"Crypto news"}),(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,s.jsx)("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsx)("span",{children:"Article"})]})]}),(0,s.jsxs)("div",{className:"flex gap-8",children:[(0,s.jsxs)("div",{className:"flex-1 max-w-[680px]",children:[(0,s.jsx)("div",{className:"relative w-full h-[360px] rounded-2xl overflow-hidden mb-8",style:{backgroundImage:n.attributes.thumbnailUrl?"url(".concat(n.attributes.thumbnailUrl,")"):"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",backgroundSize:"cover",backgroundPosition:"center"},children:(0,s.jsx)("div",{className:"absolute top-4 left-4",children:(0,s.jsx)("span",{className:"inline-flex items-center px-3 py-1.5 rounded-full text-sm font-semibold",style:{backgroundColor:"#01C38D",color:"#1E3A5F"},children:n.attributes.category})})}),(0,s.jsx)("h1",{className:"text-3xl font-semibold text-[#22252B] mb-4",style:{fontFamily:"Inter, sans-serif",lineHeight:"1.3"},children:n.attributes.title}),(0,s.jsx)("p",{className:"text-gray-500 text-sm mb-6",children:y(n.attributes.publishedAt)}),(0,s.jsx)("p",{className:"text-lg text-gray-700 mb-8 leading-relaxed",style:{fontFamily:"Inter, sans-serif"},children:n.attributes.excerpt}),(0,s.jsx)("div",{className:"prose prose-lg max-w-none",children:(0,s.jsx)(h.oz,{components:{h1:e=>{let{node:t,...n}=e;return(0,s.jsx)("h1",{className:"text-2xl font-bold text-[#22252B] mt-8 mb-4",style:{fontFamily:"Inter"},...n})},h2:e=>{let{node:t,...n}=e;return(0,s.jsx)("h2",{className:"text-xl font-semibold text-[#22252B] mt-6 mb-3",style:{fontFamily:"Inter"},...n})}
1,h3:e=>{let{node:t,...n}=e;return(0,s.jsx)("h3",{className:"text-lg font-semibold text-[#22252B] mt-5 mb-2",style:{fontFamily:"Inter"},...n})},p:e=>{let{node:t,...n}=e;return(0,s.jsx)("p",{className:"text-base text-gray-700 mb-4 leading-relaxed",style:{fontFamily:"Inter"},...n})},ul:e=>{let{node:t,...n}=e;return(0,s.jsx)("ul",{className:"list-disc pl-6 mb-4 text-gray-700",style:{fontFamily:"Inter"},...n})},ol:e=>{let{node:t,...n}=e;return(0,s.jsx)("ol",{className:"list-decimal pl-6 mb-4 text-gray-700",style:{fontFamily:"Inter"},...n})},li:e=>{let{node:t,...n}=e;return(0,s.jsx)("li",{className:"mb-2",...n})},strong:e=>{let{node:t,...n}=e;return(0,s.jsx)("strong",{className:"font-semibold text-[#22252B]",...n})},blockquote:e=>{let{node:t,...n}=e;return(0,s.jsx)("blockquote",{className:"border-l-4 border-[#01C38D] pl-4 my-4 text-gray-600 italic",...n})}},children:n.attributes.content})}),(0,s.jsxs)("div",{className:"flex items-center justify-between mt-8 pt-6 border-t border-gray-200",children:[(0,s.jsxs)("div",{className:"flex items-center gap-6 text-sm text-gray-500",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,s.jsx)("rect",{x:"2",y:"3",width:"12",height:"11",rx:"2",stroke:"currentColor",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M2 6H14",stroke:"currentColor",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M5 1V3M11 1V3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),(0,s.jsx)("span",{children:new Date(n.attributes.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,s.jsx)("path",{d:"M1 8C1 8 3.5 3 8 3C12.5 3 15 8 15 8C15 8 12.5 13 8 13C3.5 13 1 8 1 8Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("circle",{cx:"8",cy:"8",r:"2",stroke:"currentColor",strokeWidth:"1.5"})]}),(0,s.jsxs)("span",{children:[w(n.attributes.views||2500)," views"]})]})]}),(0,s.jsxs)("button",{className:"flex items-center gap-2 text-sm text-gray-500 hover:text-red-500 transition-colors",children:[(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,s.jsx)("path",{d:"M8 14L7.05 13.13C3.4 9.79 1 7.57 1 4.82C1 2.6 2.74 1 4.9 1C6.13 1 7.31 1.58 8 2.47C8.69 1.58 9.87 1 11.1 1C13.26 1 15 2.6 15 4.82C15 7.57 12.6 9.79 8.95 13.13L8 14Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsxs)("span",{children:[w(n.attributes.likes||2e3)," Likes"]})]})]})]}),(0,s.jsxs)("div",{className:"w-[340px] flex-shrink-0",children:[(0,s.jsx)("h2",{className:"text-lg font-semibold text-[#22252B] mb-4",style:{fontFamily:"Inter"},children:"Related articles"}),(0,s.jsx)("div",{className:"flex flex-col gap-4",children:l.map(e=>(0,s.jsxs)(c(),{href:"/crypto-news/".concat(e.id),className:"block bg-white rounded-xl overflow-hidden border border-gray-100 hover:shadow-md transition-shadow",children:[(0,s.jsx)("div",{className:"relative w-full h-[140px]",style:{backgroundImage:e.attributes.thumbnailUrl?"url(".concat(e.attributes.thumbnailUrl,")"):"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",backgroundSize:"cover",backgroundPosition:"center"},children:(0,s.jsx)("div",{className:"absolute top-2 left-2",children:(0,s.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-semibold",style:{backgroundColor:"#01C38D",color:"#1E3A5F"},children:e.attributes.category})})}),(0,s.jsxs)("div",{className:"p-3",children:[(0,s.jsx)("p",{className:"text-xs text-gray-500 mb-1",children:y(e.attributes.publishedAt)}),(0,s.jsx)("h3",{className:"text-sm font-medium text-[#22252B] mb-1 line-clamp-2",style:{fontFamily:"Inter"},children:e.attributes.title}),(0,s.jsx)("p",{className:"text-xs text-gray-500 line-clamp-2",style:{fontFamily:"Inter"},children:e.attributes.excerpt})]})]},e.id))})]})]})]})})]}):(0,s.jsxs)(m.A,{children:[(0,s.jsx)(o(),{children:(0,s.jsx)("title",{children:"Article Not Found | Vault22"})}),(0,s.jsx)(u.A,{children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center min-h-[60vh]",children:[(0,s.jsx)("h1",{className:"text-2xl font-semibold text-gray-900 mb-4",children:"Article Not Found"}),(0,s.jsx)(c(),{href:"/app/crypto-news",className:"text-[#01C38D] hover:underline",children:"Back to Crypto News"})]})})]})}}},e=>{e.O(0,[90636,46593,38792],()=>e(e.s=11754)),_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.