PageSourceSearch

https://injective.com/_nuxt/CMOKqPne.js

js injective.com collected 2026-10-02 03:21:58 UTC 3,634 bytes, 1 lines download raw bytes

1import{i as z,u as B,r as b,a1 as M,q as V,B as N,o as m,c as u,l as o,G as p,e as v,O as _,E as C,t as f,a7 as E,w as L,a8 as S,m as l}from"#entry";import{_ as I}from"./C9eDL_W2.js";import{_ as R}from"./hkVl8dVh.js";const T=["srcset"],j=["src"],q={class:"sticky top-0 z-[1000] h-[var(--ui-header-height)] w-full"},Q=z({__name:"default",setup(D){const y={mobile:{left:"calc(50% + 48px - 80vw)",top:"-27.5vw",width:"170vw",height:"170vw"},desktop:{left:"33vw",top:"-25vw",width:"92.5vw",height:"92.5vw"}},c=B(),h=l(()=>{const{heroAsset:t}=c.meta;return typeof t=="string"?t:""}),a=l(()=>{const{heroMobileAsset:t}=c.meta;return typeof t=="string"?t:""}),w=l(()=>!!h.value||!!a.value),g=b(!1),k=l(()=>g.value&&a.value?a.value:h.value||a.value),d=b(!w.value),x=l(()=>c.path.includes("/blog/")||c.path.includes("/brand/")),A=l(()=>/(?:^|\/)research(?:\/page\/\d+)?\/?$/.test(c.path));function r(t,e){const s=c.meta.heroAssetPosition?.[t]?.[e];return typeof s=="string"?s:y[t][e]}const H=l(()=>({"--hero-asset-mobile-left":r("mobile","left"),"--hero-asset-mobile-top":r("mobile","top"),"--hero-asset-mobile-width":r("mobile","width"),"--hero-asset-mobile-height":r("mobile","height"),"--hero-asset-desktop-left":r("desktop","left"),"--hero-asset-desktop-top":r("desktop","top"),"--hero-asset-desktop-width":r("desktop","width"),"--hero-asset-desktop-height":r("desktop","height")}));M(()=>({htmlAttrs:{class:"scrollbar-hidden overscroll-black"},link:[...a.value?[{rel:"preload",as:"image",href:a.value,media:"(max-width: 767px)",fetchpriority:"high"}]:[],...h.value?[{rel:"preload",as:"image",href:h.value,media:"(min-width: 768px)",fetchpriority:"high"}]:[]]}));async function P(t){const e=new Image;e.decoding="async",await new Promise(i=>{const s=window.setTimeout(i,3e3),n=()=>{window.clearTimeout(s),i()};e.onload=n,e.onerror=n,e.src=t,e.complete&&n()}),await e.decode?.().catch(()=>{})}{let t=0;const e=window.matchMedia("(max-width: 767px)"),i=()=>{g.value=e.matches};i(),e.addEventListener("change",i),V(()=>{e.removeEventListener("change",i)}),N(k,async s=>{const n=++t;d.value=!s,s&&(await P(s),n===t&&(d.value=!0))},{immediate:!0})}return(t,e)=>{const i=E,s=I,n=R;return m(),u("div",{class:p(["theme-dark relative isolate flex min-h-screen w-full flex-col",{"overflow-hidden":!o(x),"theme-research":o(A)}])},[o(w)?(m(),u("div",{key:0,class:p(["pointer-events-none absolute inset-x-0 top-0 z-0 h-screen min-h-[720px] overflow-hidden bg-black",["transition-opacity duration-700 ease-out",o(d)?"opacity-100":"opacity-0"]])},[v("picture",{class:"absolute max-w-none object-cover left-[var(--hero-asset-mobile-left)] top-[var(--hero-asset-mobile-top)] w-[var(--hero-asset-mobile-width)] h-[var(--hero-asset-mobile-height)] md:left-[var(--hero-asset-desktop-left)] md:top-[var(--hero-asset-desktop-top)] md:w-[var(--hero-asset-desktop-width)] md:h-[var(--hero-asset-desktop-height)]",style:C(o(H))},[o(a)?(m(),u("source",{key:0,srcset:o(a),media:"(max-width: 767px)"},null,8,T)):_("",!0),v("img",{src:o(h)||o(a),alt:"",class:"size-full object-cover",decoding:"async",fetchpriority:"high"},null,8,j)],4),e[0]||(e[0]=v("div",{class:"absolute inset-0 bg-gradient-to-b from-black/0 via-black/25 to-black"},null,-1))],2)):_("",!0),v("header",q,[f(i)]),f(S,{name:"page",mode:"out-in"},{default:L(()=>[(m(),u("main",{key:0,class:p(["relative z-10 flex-1 transition-opacity duration-700 ease-out",o(d)?"opacity-100":"pointer-events-none opacity-0"])},[f(s)],2))]),_:1}),f(n,{class:p(["relative z-10 transition-opacity duration-700 ease-out",o(d)?"opacity-100":"pointer-events-none opacity-0"])},null,8,["class"])],2)}}});export{Q 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.