1import{r as u}from"./chunk-OB3PAWPO-D99jfmoS.js";import{u as p}from"./AppContext-Cu17_E8I.js";import{i as b,p as h}from"./isClient-DQ8mFPye.js";const d=e=>{const o=[],t=[{obj:e,prefix:""}];for(;t.length>0;){const a=t.pop(),{obj:r,prefix:n}=a;for(const i in r){const s=r[i],c=n?`${n}.${i}`:i;s instanceof Date?o.push({key:c,value:s}):typeof s=="object"&&s!==null?t.push({obj:s,prefix:c}):o.push({key:c,value:s})}}return Object.fromEntries(o.map(({key:a,value:r})=>[a,r]))};var m=" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! channel/|google/)google(?!(?:wv|app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!cam)scan|(?<!lib)http|24x7|;\\s\\w+;$|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\b\\w+/1\\.0;|\\bbw/|\\bdlc\\b|\\bort/|\\bperl\\b|\\btime/|\\||^[<\\(;]|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[\\w\\-]+/[\\w]+$|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^\\w+/\\d\\.\\d\\s\\([\\w@]+\\)$|^active|^ad muncher|^amaya|^apache/|^avsdevicesdk/|^azure|^biglotron|^blackbox exporter|^bot|^clamav[ /]|^claude-code/|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^exodusmovement|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\((?:compatible;)?(?:\\s?[\\w\\d-.]+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^ps_daily/|^python|^rank|^read|^reed|^remove\\.bg/|^rest|^rss|^snapchat|^sora |^space bison|^stape/|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|abuse|advisor|agent\\b|analyzer|archive|ask jeeves/teoma|attracta|audit|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|collapsify\\b|convertify|cookiehubverify/|crawl|cursor/|cypress/|dareboost|datanyze|dejaclick|detect|discovery|dmbrowser|download|exaleadcloudview|feed|firephp|foregenix|functionize|grab|hardenize\\b|headless|hotjar|httrack|hubspot marketing grader|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|linktiger|mail\\.ru/|manager|manus-user/|marketgoo/|measure|monitor\\b|neustar wpm|node\\b|nutch|offbyone|openvas|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|playwright|powermarks|preview|productfinder|prospectingstudio|proxy|ptst[ /]\\d|radar|readable/|retriever|rexx;|rigor|rss\\b|scrape|securityheaders|selenium|server|silktide|sindup/|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|testlocally|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|watchtowr|webglance|webkit2png|whatcms/|xtate/",w=/bot|crawl|http|lighthouse|scan|search|spider/i,l;function f(){if(l instanceof RegExp)return l;try{l=new RegExp(m,"i")}catch{l=w}return l}var g=e=>typeof e=="string"&&e!=="";function y(e){return g(e)&&f().test(e)}var v=y;const k=e=>({apiHost:["rb","rbats"].includes(e)?"https://analytics.redballoon.work":"https://analytics.militaryhire.com"}),x=!1;function j(){const{ipHash:e,env:o,domain:t}=p();return{recordEvent:(a,r)=>z({id:a,props:r,domain:t,env:o,ipHash:e})}}const z=({id:e,props:o,domain:t,env:a,ipHash:r})=>{if(!b()||!(a?.ANALYTICS||x)||v(navigator.userAgent))return;const n={n:e,u:window.location.href,d:a?.PLAUSIBLE_DATA_DOMAIN??"redballoon.work",r:document.referrer||null,w:window.innerWidth,h:0,p:JSON.stringify(d({...o,ipHash:r}))};navigator.sendBeacon(`${k(t).apiHost}/api/event`,JSON.stringify(n))},_=(e={})=>{const o=u.useRef(),t=e?.ref||o,{recordEvent:a}=j(),{user:r,ipHash:n}=p();return{ref:t,triggerRecordEvent:()=>{const i=window.location.search.slice(1),s=h(i);r&&"password"in r&&delete r.password;const c={[`${t.current.nodeName.toLowerCase()}_label`]:t.current.innerText,customAnalyticsID:t.current.getAttribute("data-analytics-id"),elementType:t.current.nodeName,url_deparameterized:window.location.pathname,url:window.location.href,ip_hash:n,...s,...r};a("Analytics Conversion",d(c))}}};export{x as A,k as g,z as r,_ 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.