PageSourceSearch

https://jauns.lv/_nuxt/Dgt2mSj8.js

js jauns.lv collected 2026-10-02 02:56:49 UTC 2,593 bytes, 1 lines download raw bytes

1import{F as j,u as q}from"./BB53w3Tn.js";import{h as c}from"./BpJ4Apij.js";import{z as d,p as i,h as k,w as b,a8 as R,r as g,b as v,V as T,X as $,y as w,c as C,a2 as U}from"./hCBrLqPt.js";import{f as z}from"./CxzYtgGg.js";import{u as S}from"./ZY6W26w4.js";import"./zk7golE2.js";import"./Du8dj1aA.js";import"./C1ypzgGn.js";import"./DlAUqK2U.js";import"./CJX_hvOG.js";import"./BA29kFvN.js";import"./DR4AleMS.js";function V(n,o,t){const[e={},a]=[{},o],s=d(()=>i(n)),r=d(()=>i(e.key)||"$f"+c([a,typeof s.value=="string"?s.value:"",...I(e)]));if(!e.baseURL&&typeof s.value=="string"&&s.value[0]==="/"&&s.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:x,lazy:F,default:_,transform:D,pick:L,watch:f,immediate:h,getCachedData:O,deep:E,dedupe:A,...B}=e,m=k({...z,...B,cache:typeof e.cache=="boolean"?void 0:e.cache}),y={server:x,lazy:F,default:_,transform:D,pick:L,immediate:h,getCachedData:O,deep:E,dedupe:A,watch:f===!1?[]:[...f||[],m]};if(!h){let l=function(){y.immediate=!0};b(r,l,{flush:"sync",once:!0}),b([...f||[],m],l,{flush:"sync",once:!0})}let u;return S(f===!1?r.value:r,()=>{u?.abort?.(new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),u=typeof AbortController<"u"?new AbortController:{};const l=i(e.timeout);let p;return l&&(p=setTimeout(()=>u.abort(new DOMException("Request aborted due to timeout.","AbortError")),l),u.signal.onabort=()=>clearTimeout(p)),(e.$fetch||globalThis.$fetch)(s.value,{signal:u.signal,...m}).finally(()=>{clearTimeout(p)})},y)}function I(n){const o=[i(n.method)?.toUpperCase()||"GET",i(n.baseURL)];for(const t of[n.params||n.query]){const e=i(t);if(!e)continue;const a={};for(const[s,r]of Object.entries(e))a[i(s)]=i(r);o.push(a)}if(n.body){const t=i(n.body);if(!t)o.push(c(t));else if(t instanceof ArrayBuffer)o.push(c(Object.fromEntries([...new Uint8Array(t).entries()].map(([e,a])=>[e,a.toString()]))));else if(t instanceof FormData){const e={};for(const a of t.entries()){const[s,r]=a;e[s]=r instanceof File?r.name:r}o.push(c(e))}else if(R(t))o.push(c(k(t)));else try{o.push(c(t))}catch{console.warn("[useFetch] Failed to hash body",t)}}return o}const oe={__name:"index",setup(n){const o=g({}),t=g(!0);return V(async()=>{o.value=await q().getFlexibleLayoutBlocks({slug:"testa-konstruktors"}),t.value=!1},"$zevFz9-RZt"),(e,a)=>(v(),T("div",null,[a[0]||(a[0]=$("h1",null,"This is testing page. If you see it - keep scrolling :)",-1)),w(t)?U("",!0):(v(),C(j,{key:0,"flexible-layout":w(o)},null,8,["flexible-layout"]))]))}};export{oe 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.