PageSourceSearch

https://1whnva.com/resources/v1/app/assets/setup-window-open-interceptor-DSUDlWrW.js

js 1whnva.com collected 2026-10-08 05:56:35 UTC 1,932 bytes, 1 lines download raw bytes

1import{toValue as n}from"vue";import{b as p,s as w,a as l}from"./clear-redirect-params-Di-g0-RS.js";import{B as c,aZ as m,c7 as f,aw as h,K as g,S as v,$ as S,cy as i,aP as b,w as k,q as C}from"./logger-BOxpBNGt.js";const E="frontend/get-fss-swa",d="/fss/swa",u={authorization:"optional",tailoring:"mandatory"},_=async(t,e,a,o)=>await c.fetch(t,d,"GET",{headers:c.headers()},a,o,m),A=g.for(u,v,E),P=t=>{const e=f(),a=h(u,{},d);return()=>e.fetchQuery({retry:2,queryKey:[...A],queryFn:o=>_(a.resolveEntrypoint(t),void 0,a.resolveFetchOptions(t,o),a.resolveFetchFn(t))})},D=new Set(["partner_key","sub_ids","visit_domain","click_id","pjwt","pjwt.isToken","visitor-id","referralCode"]),W=t=>{const{cbid:e}=t;if(!document||document.querySelector("#Cookiebot")||!e)return;const a=document.createElement("script");a.id="Cookiebot",a.src="https://consent.cookiebot.com/uc.js",a.dataset.cbid=e,a.type="text/javascript",document.head.append(a)},T=()=>{const t={};for(const e of D){const a=S.get(e);a&&(t[e]=a)}return t},F=(t,e,a)=>({...t,...T(),"sw-ip":e,"sw-region":a,"sw-cache-time":new Date().toLocaleString("en-GB",{timeZone:"UTC"})}),R=()=>{const t=P();return async e=>{if(e)return await t().catch()}},O=async(t,e)=>{const a=n(t.isAuthed),o=await e(a);return F(o,n(t.ip),n(t.country))},q=(t,e)=>{const a=R();i(()=>n(t.isAuthed),async o=>{const y=await O({isAuthed:o,ip:t.ip,country:t.country},a);await e(y)})},s=async t=>{let e;try{e=navigator.serviceWorker?.ready}catch{return}const a=await e,o=a?.active??a?.waiting??a?.installing;o&&t(o)},r=(t,e)=>{t.postMessage(JSON.stringify(e))},L=()=>{s(t=>{r(t,{type:p,data:{isPwa:b()}})})},x=t=>{i(()=>n(t.config),e=>{s(a=>{r(a,{type:w,data:e??{}})})}),q(t,e=>{s(a=>{r(a,{type:l,data:e})})})},G=()=>{const t=window.open;window.open=(...e)=>(k.info({stream:C,category:"external_redirect",name:"window_open",params:[e?.[0]?.toString()??""]}),t(...e))};export{G as a,L as b,W as i,x as s,q 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.