PageSourceSearch

https://www.activtrades.com/_nuxt/DUKNOLE6.js

js activtrades.com collected 2026-10-01 12:36:26 UTC 2,984 bytes, 1 lines download raw bytes

1import{_ as E}from"./CER2lh9u.js";import{a as F,ab as T,r as c,l as x,h as H,i as f,e as s,d as r,w as y,c as L,p as h,t as v,f as e,F as R,aC as k,_ as V,o as d}from"./Ud9YLs_u.js";import K from"./DCcj0K2J.js";import{_ as Y}from"./CyhoNHI2.js";import j from"./C7bpKBkg.js";import I from"./Cm0cjLB2.js";import M from"./5aEjibks.js";import{u as O}from"./B-IkWTPZ.js";import"./BvGM0aUN.js";import"./CoxerhOY.js";import"./CZqGNsou.js";import"./DBM51Jzu.js";import"./C3JSDeEa.js";import"./7H0EZcJ2.js";import"./BU3E5r37.js";const U={class:"container mx-auto mb-6 mt-10 flex w-full flex-col items-center justify-center sm:my-20 md:w-auto lg:px-7 xl:px-0"},q={class:"animated-text mb-10 text-[36px] font-bold md:mb-16 md:text-5xl"},z={class:"mb-10 text-center text-[15px] text-indigo max-sm:leading-[1.2] sm:text-lg md:mb-24 md:text-[30px]",id:"top-post-list"},G={class:"container relative mx-auto pt-6 lg:px-8 lg:pt-0"},J={class:"grid gap-x-8 gap-y-10 sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4"},Q={key:0,class:"absolute left-0 top-0 h-full w-full rounded-lg bg-white/30 backdrop-blur-sm"},yt={__name:"index",async setup(W){let a,n;const{scrollToAnchor:$}=O(),{$api:m,$getCfHeader:p,$trans:g,$domain:X,$dynamicDomain:Z,$branch:tt,$lang:at}=F();T();const u=c(1),o=c({}),l=c({}),_=c(!1),{data:w}=([a,n]=x(()=>k("market-analysis-categories",()=>$fetch(m("post-categories"),{headers:p()}))),a=await a,n(),a),b={"market-analysis":"market-analysis.index","macro-analysis":"market-analysis-macro-analysis.index","weekly-outlook":"market-analysis-weekly-outlook.index"},i=H(()=>(w.value||[]).map(t=>({...t,route_key:b[t.route_param]??t.route_param})));o.value=i.value.find(t=>t.route_param==="market-analysis")??i.value[0];const{data:C}=([a,n]=x(()=>k("market-analysis-posts",()=>$fetch(m(`post-category/${o.value.route_param}?page=${u.value}`),{headers:p()}))),a=await a,n(),a);l.value=C.value;const A=t=>{u.value=t,$("#top-post-list"),P()},P=async()=>{if(o.value?.route_param){_.value=!0;try{const t=await $fetch(m(`post-category/${o.value.route_param}?page=${u.value}`),{headers:p()});l.value=t}catch(t){console.error("Failed to fetch posts:",t)}finally{_.value=!1}}};return(t,et)=>{const D=E,S=V,N=K,B=Y;return d(),f(R,null,[s(S,{classes:"relative w-auto sm:mx-auto xl:h-auto header-blue","hero-classes":"flex-col static","line-classes":"top-[310px] sm:top-[300px]"},{slider:y(()=>[s(D,{group:"Popular"})]),cta:y(()=>[s(j,{market:"Forex"})]),_:1}),r("section",U,[r("h2",q,v(e(g)("market-analysis_today-news-heading")),1),r("p",z,v(e(g)("market-analysis_today-news-description")),1),e(i)!==void 0?(d(),L(M,{key:0,categories:e(i),activeCategory:e(o)},null,8,["categories","activeCategory"])):h("",!0)]),r("section",G,[r("div",J,[s(I,{posts:e(l)?.data},null,8,["posts"]),e(_)?(d(),f("div",Q,[s(N,{class:"absolute left-1/2 top-1/2 h-20 w-20 -translate-x-1/2"})])):h("",!0)]),s(B,{class:"px-4",pagination:e(l)?.meta?.links,onPageChange:A},null,8,["pagination"])])],64)}}};export{yt 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.