PageSourceSearch

https://www.elliptic.co/_nuxt/D9219iYs.js

js elliptic.co collected 2026-10-02 02:15:41 UTC 7,794 bytes, 1 lines download raw bytes

1import{a4 as z,t as W,a5 as tt,L as et,K as it,l as st,M as at,Q as nt,d as lt,c as ot,p as rt,a as ct,X as ut,w as mt,a6 as gt,U as dt,x as H,V as pt,f as c,g as O,m as U,b as ht,i as h,h as u,B as ft,Y as vt,I as G,_ as yt,A as _t,a7 as Ct,k as o,o as m}from"./DRREkx-t.js";import{B as Lt}from"./DCzfS_qh.js";import{n as At,s as R,l as V,L as b,D as M,o as wt,F as bt,p as kt,q as Tt,m as Bt,r as xt,H as Et}from"./K8ulXHzR.js";import{C as Nt,T as Ft,L as St}from"./a0NvPMC8.js";import{C as It}from"./BmnpE1lZ.js";import{u as Pt,i as Dt}from"./CP7_IaRb.js";import{A as $t}from"./UG8pIHQv.js";import Ht from"./D3UxXC5l.js";import Ot from"./DoAuRd6_.js";import Ut from"./BM1IgJ0j.js";import Gt from"./D20TL0ns.js";import Mt from"./CL4Jfc8V.js";import Rt from"./vB3EeRpu.js";import Vt from"./9VzUugcp.js";import jt from"./BVNOv0bf.js";import{B as qt}from"./BSeGpz-c.js";import{c as Jt}from"./B2eE2O7_.js";import"./BMq9mDWV.js";import"./CxJzV9xt.js";import"./JW35baxm.js";import"./COndxQyu.js";import"./CyyYTPO8.js";import"./Cw2URj1c.js";import"./Bcn_w-Bz.js";import"./CEarON87.js";import"./9K4YSy6x.js";const w=new Map;function Kt(g,t=z){if(!g)return Promise.resolve([]);const i=`${t}:${g}`,a=w.get(i);if(a)return a;const r=$fetch(`/article-index/${t}/${g}.json`).then(s=>{const n=At(s?.articles??[]),v=R(n,g);return V(v,g)}).catch(s=>{throw w.delete(i),s});return w.set(i,r),r}class Zt extends Lt{channel;allArticles=[];feedArticles=[];listingArticles=[];listingLimit=b;pageNum=1;totalListingCount=0;constructor(t){super(t)}async init(t){const a=this.pageData.channelSelect??M;this.channel=a,this.listingLimit=t?.limit??b,this.pageNum=t?.page??1;const r=await wt(a),s=R(r,a);this.allArticles=s,this.feedArticles=s.slice(0,bt);const n=(this.pageNum-1)*this.listingLimit;return this.listingArticles=s.slice(n,n+this.listingLimit),this.totalListingCount=s.length,this}format(){const t=this.pageData,i=this.channel??M,a=It[i],r=i==="countryGuides",s=i==="newsroom",n=i==="customerStories",v=V(this.listingArticles,i),d=this.feedArticles.map(e=>kt(e,{channelSelect:i})),y=this.allArticles.map(e=>({categoryGroups:Tt(e,i)})),p={id:"insights-filter-bar",filters:Bt(y),searchBox:n?void 0:{placeholder:W(a?.searchPlaceholder||"Find article")}},_={page:this.pageNum,perPage:this.listingLimit,total:this.totalListingCount,totalPages:Math.max(1,Math.ceil(this.totalListingCount/this.listingLimit))},C={id:t.id,channel:i,heading:t.heading?.[0]?new Et(t.heading[0]):void 0,contentArea:t.contentArea?.[0]?new Nt(t.contentArea[0]):void 0,plainText:t.plainText??"",redirect:t.entry?.[0]?.uri??"",testimonials:n&&t.testimonials?.[0]?t.testimonials:void 0,logos:n&&t.logos?.[0]?t.logos:void 0,authorListing:xt(t.authorsSelect),isCountryGuides:r,isNewsroom:s,feedCards:d,listingCards:v};return{...this.prune(C),filterBar:p,pagination:_}}getSchemaContribution(){const t=this.pageData,i=tt(t.url,this.pageNum),a=et(t.url),r=t.siteHandle;if(!i)return null;const s=(this.pageNum-1)*this.listingLimit,n=this.listingArticles.map((d,y)=>{const p=d.externalUrl?.url||(d.uri?it(st(d.uri,r),a??void 0):void 0);if(p)return{"@type":"ListItem",position:s+y+1,url:p,name:d.title||void 0}}).filter(Boolean);return n.length?{nodes:[at({"@type":"ItemList","@id":`${i}#itemlist`,name:t.title,numberOfItems:this.totalListingCount,itemListOrder:"https://schema.org/ItemListOrderDe
1scending",itemListElement:n})],webPageTypes:["CollectionPage"],webPageProps:{mainEntity:nt(`${i}#itemlist`)}}:null}}const Qt={class:"listing__no-results"},Xt=lt({__name:"listing-entry-type",props:{pageData:{}},async setup(g){let t,i;const a=g,{t:r}=ot(),s=rt(),n=ct(),v=U(),d=H(null),y=o(()=>{const l=s.path.match(/\/page\/(\d+)\/?$/);return parseInt(l?.[1]??"1",10)});ut(()=>({meta:Dt(s)?[{name:"robots",content:"noindex, follow"}]:[]}));const p=new Zt(a.pageData),{data:_,error:C}=([t,i]=mt(async()=>ht(`listing-data-${n}-${a.pageData.id}-${y.value}`,async()=>{await p.init({limit:b,page:y.value});const l=p.format();let f;if(l.testimonials){const L=new Ft({moduleId:null,__typename:"modules_testimonials_BlockType",testimonials:l.testimonials,categoryTestimonials:[]},1);await L.init(),f=JSON.parse(JSON.stringify(L))}return{listing:l,testimonials:f,schema:p.getSchemaContribution()}},{watch:[()=>s.path]})),t=await t,i(),t);if(C.value||!_.value)throw console.error(`[Listing Error on ${s.path}]:`,C.value),gt({status:500,message:`Listing Data failed to load: ${C.value?.message||"Unknown"}`});const e=o(()=>_.value.listing),k=o(()=>_.value.testimonials);dt(`listing-${a.pageData.id}`,()=>_.value?.schema??null);const j=o(()=>e.value.listingCards??[]),T=o(()=>e.value.pagination),B=o(()=>e.value.filterBar?.filters??[]),{activeFilters:x,searchTerm:A,setFilter:q,clearFilters:J,isFiltering:K,isAwaitingIndex:E,visibleCards:N,paginationState:Z}=Pt({filters:B,perPage:()=>T.value.perPage,ssr:{cards:j,pagination:T},loadCards:()=>Kt(e.value.channel,n)}),Q=o(()=>({...e.value.filterBar,filters:B.value.map(l=>({...l,preselectedValue:x.value[l.key]??""}))})),F=o(()=>({heading:e.value.heading,contentArea:e.value.contentArea})),S=o(()=>e.value?.feedCards?.length?{id:"article-feed",articles:e.value.feedCards}:void 0),I=o(()=>({heading:{type:"h2",style:"h3",text:e.value.plainText??""},redirect:e.value.redirect})),P=o(()=>{if(!N.value.length)return;const l=!!(e.value.isCountryGuides||e.value.isNewsroom);return{id:"article-listing-module",variant:l?"stack":"standard",articles:N.value.map(f=>f.listingCard),authorListing:l?{heading:"Our experts",authors:e.value.authorListing??[]}:void 0}}),D=o(()=>e.value.logos?new St({moduleId:null,__typename:"modules_logos_BlockType",plainText:"Trusted by Global Leaders",logos:e.value.logos},1):void 0),$=H(new qt({moduleId:null,__typename:"modules_bigCta_BlockType",heading:[{headingTextBlock:{rawHtml:'<p>Blockchain intelligence <span class="heading__heading-text--gradient-blue-green">without compromise</span></p>'},headingType:"h2",headingStyle:"h1",animated:!1}],textBlock:{rawHtml:"<p>Together, we’re unstoppable.</p>"},buttons:[{buttonType:"secondary",buttonLink:[{title:null,ariaLabel:null,target:null,linkUrl:`${v.public.APP_ROOT}/get-started/`,text:"Book a demo",__typename:"buttonLink_Entry_LinkType"}],videoUrl:null,poster:[]}]},3)),X=U(),Y=Jt("craft-cms");return X.public.DEBUG==="true"&&pt(()=>Y.log("Formatted listing: ",e.value)),(l,f)=>(m(),c($t,{class:"listing flow"},{default:O(()=>[F.value?(m(),c(Ot,{key:0,class:"listing__basic-hero",module:F.value},null,8,["module"])):h("",!0),S.value?(m(),c(Ht,{key:1,class:"listing__article-feed",module:S.value},null,8,["module"])):h("",!0),I.value?(m(),c(Rt,{key:2,class:"listing__newsletter",module:I.value},null,8,["module"])):h("",!0),e.value.filterBar?(m(),c(Gt,{key:3,class:"listing__filter-bar",module:Q.value,"active-filters":u(x),"search-term":u(A),"onUpdate:searchTerm":f[0]||(f[0]=L=>ft(A)?A.value=L:null),onFilterChanged:u(q)},null,8,["module","active-filters","search-term","onFilterChanged"])):h("",!0),P.value?(m(),c(Mt,{key:4,ref_key:"articleListingRef",ref:d,class:"listing__article-listing",module:P.value,pagination:u(Z),pending:u(E)},null,8,["module","pagination","pending"])):u(K)&&!u(E)?(m(),c(vt,{key:5},{default:O(()=>[G("p",Qt,[G("strong",null,yt(u(r)("No articles match your filters.")),1)]),_t(Ct,{class:"listing__clear-filters-button",type:"basic",text:u(r)("Clear filters"),link:{type:"button"},onClick:u(J)},null,8,["text","onClick"])]),_:1})):h("",!0),k.value?(m(),c(Vt,{key:6,class:"listing__testimonials",module:k.value},null,8,["module"])):h("",!0),D.value?(m(),c(jt,{key:7,class:"listing__logos",module:D.value},null,8,["module"])):h("",!0),$.value?(m(),c(Ut,{key:8,class:"listing__bigCta",module:$.value},null,8,["module"])):h("",!0)]),_:1}))}}),we=Object.assign(Xt,{__name:"ListingEntryType"});export{we as default};

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.