import{__require as r}from"./global-this.mjs";import{__require as e}from"./environment-user-agent.mjs";import{__require as o}from"./classof-raw.mjs";var n,s;function t(){if(s)return n;s=1;var t=r(),i=e(),u=o(),a=function(r){return i.slice(0,r.length)===r};return n=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===u(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}export{t as __require};