1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["build/chunks/dynamic/index.client-Bpu8rWCe.js","build/chunks/exports-BBE6SdPh.js","build/chunks/chunk-4N6VE7H7-CYH4PXiQ.js","build/chunks/errors-DIK8PxUj.js"])))=>i.map(i=>d[i]); 2import{_ as S}from"./preload-helper-ckwbz45p.js";import{L as b,R as E}from"./file-sharing-provider-BVNTMil-.js";import{v as _}from"./chunk-4N6VE7H7-CYH4PXiQ.js";import{c as v}from"./create-lazy-singleton-BxTks31n.js";const w=e=>`lmwr_client_id_${new URL(e).host.replace(/[^a-zA-Z0-9]/g,"")}`,g=e=>{const t=document.cookie.split(";").reduce((o,i)=>{const[n,s]=i.trim().split("=").map(decodeURIComponent);return Object.assign(o,{[n]:s})},{})[w(e)];if(t)return t},j=(e,{API_BASE_URL:r})=>{_.useEffect(()=>{const t=()=>{const i=g(r);i&&e&&e!==i&&window.location.reload()},o=()=>{document.visibilityState==="visible"&&t()};return t(),document.addEventListener("visibilitychange",o),document.addEventListener("focus",t),window.addEventListener("focus",t),()=>{document.removeEventListener("visibilitychange",o),document.removeEventListener("focus",t),window.removeEventListener("focus",t)}},[e,r])},R=()=>{if(typeof window.ENV<"u")return ENV},k={enabled:!0,attachStacktrace:!1,tracesSampleRate:0,sampleRate:.1,sendDefaultPii:!0}
2,C=e=>`lmwr_sentry_replay_${new URL(e).host.replace(/[^a-zA-Z0-9]/g,"")}`,I=e=>{const t=document.cookie.split(";").reduce((o,i)=>{const[n,s]=i.trim().split("=").map(decodeURIComponent);return Object.assign(o,{[n]:s})},{})[C(e)];if(t)return t},L=[{upToSeconds:10,label:"under_10s"},{upToSeconds:60,label:"under_1m"},{upToSeconds:600,label:"under_10m"},{upToSeconds:3600,label:"under_1h"}],T=e=>e.startsWith("provided userIds")?"user":e.startsWith("provided clientIds")?"device":"unknown",O=(e,r)=>r?r===e?"matches_page":"differs_from_page":"missing",U=e=>{var r;return((r=L.find(({upToSeconds:t})=>e<t))==null?void 0:r.label)??"over_1h"},A=(e,r,t,o,i)=>({mismatch_side:T(e.serverMessage),client_id_cookie:O(r,t),page_age:U(o),tab_visibility:i}),D=/https?:\/\/.*limewire\.com/,{getOrCreate:M}=v(()=>S(()=>import("./dynamic/index.client-Bpu8rWCe.js"),__vite__mapDeps([0,1,2,3]))),W=()=>{try{const{API_BASE_URL:e,GIT_RELEASE:r,IS_DEV:t,SENTRY_DSN:o,SENTRY_ENVIRONMENT:i}=R()||{},n=e&&I(e),s=o,d=i,u=r;return t||!s||!d||!u?null:{dsnUrl:s,environment:d,release:u,replayId:n,apiBaseUrl:e}}catch{return null}},z=(e,r)=>{const{dsnUrl:t,environment:o,release:i,replayId:n,apiBaseUrl:s}=r,{init:d,captureConsoleIntegration:u,replayIntegration:h,setTag:y}=e;d({...k,dsn:t,environment:o,integrations:[u({levels:n?["log","info","warn","error","debug","assert"]:["error"]}),...n?[h({maskAllText:!1,blockAllMedia:!1,networkDetailAllowUrls:["limewire"],beforeAddRecordingEvent:a=>{let l="";try{l=a.data.payload.op}catch{}return l.startsWith("resource")?l==="resource.fetch"||l==="resource.xhr"?a:null:a}})]:[]],release:i,allowUrls:[D],replaysSessionSampleRate:n?1:0,replaysOnErrorSampleRate:n?1:0,ignoreErrors:["Load failed","Failed to fetch","ResizeObserver loop completed with undelivered notifications","Expected fetch controller:","play() failed because the user didn't interact with the document first","The request failed and the interceptors did not return an alternative response","React PDF Kit is unable to render on this browser.","Paper Shaders: WebGL is not supported in this browser"],beforeSend(a,l){var p,m;try{const{originalException:c}=l;if(c instanceof b)return null;if(c instanceof E){const f=(m=(p=a.contexts)==null?void 0:p.page)==null?void 0:m.clientId;a.tags={...a.tags,...A(c,typeof f=="string"?f:void 0,s&&g(s),performance.now()/1e3,document.visibilityState)}}if((c instanceof DOMException||c instanceof TypeError)&&(c.name==="AbortError"||c.message.startsWith("AbortError")))return null}catch{}return a}}),n&&setTimeout(()=>{y("Replay Session ID",n),console.log(`Sentry Replay Session ID: ${n}.`)},1e3)},B=(e,r)=>{const{setUser:t}=e;if(r){const{id:o,email:i,nick:n,self:s}=r;t({id:o,email:i,username:n,nick:n,self:s})}else t(null)};export{M as a,W as c,R as g,z as i,B as s,j as u}; 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ead1ddeb-e156-5e04-a024-56ff774f91a9")}catch(e){}}() 4//# debugId=ead1ddeb-e156-5e04-a024-56ff774f91a9 5//# sourceMappingURL=sentry-xFiyXAJ1.js.map
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.