PageSourceSearch

https://www.dronemobile.com/_nuxt/BQfd8FAh.js

js dronemobile.com collected 2026-09-24 12:21:11 UTC 1,261 bytes, 1 lines download raw bytes

1import{a7 as C,r as l,Q as d}from"./D9_7MPNt.js";const y=C("articles",()=>{let t=l(null);const s=l([]);let n=l(null);const o=l([]),c=l([]),i=l([]),a=l([]),u=l([]);async function v(){try{const e=await $fetch("/api/get-posts");if(!e)throw d({statusCode:500,message:"Application Error"});s.value=[...e.slice(0,9)],n.value=e[0],o.value=[e[1],e[2]],c.value=[...e.slice(3,9)],i.value=[...e.slice(9,e.length)],u.value=[...e]}catch(e){throw d({statusCode:e.statusCode,message:e.statusMessage})}}async function p(e){u.value.length||await v();const f=u.value.find(r=>!r||!r.custom_fields||!r.custom_fields.frontend_slug?!1:r.custom_fields.frontend_slug===e);if(t.value=f||null,t.value){let A=[...u.value.slice(0,9)].filter(w=>w.ID!==t.value.ID);a.value=[...A.slice(0,A.length)]}else a.value=[...s.value.slice(0,9)]}function h(){const e=i.value.splice(0,6);s.value.push(...e),c.value.push(...e)}function g(){t.value=null,a.value=[]}function m(){t.value=null,s.value=[],n.value=null,o.value=[],c.value=[],i.value=[],a.value=[],u.value=[]}return{currentArticle:t,articles:s,latestArticle:n,priorTwoArticles:o,remainingArticles:c,carouselArticles:a,additionalArticles:i,fetchArticles:v,setCurrentArticle:p,showMoreArticles:h,clearCurrentArticle:g,$reset:m}});export{y as u};

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.