PageSourceSearch

https://arena.ai/_next/static/chunks/0cfw0b7jf_etx.js?dpl=dpl_72fbkqqrADPXERYNp1Pgy3tnNzru

js arena.ai collected 2026-10-02 03:21:52 UTC 26,253 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0fa08-96b8-77c2-8169-77e8df946993")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,305763,e=>{"use strict";var t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},n=new class{#e=t;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,n])},766271,e=>{"use strict";var t=e.i(305763),n="u"<typeof window||"Deno"in globalThis;function r(e,t){return(t?.queryKeyHashFn||i)(e)}function i(e){return JSON.stringify(e,(e,t)=>l(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function o(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>o(e[n],t[n]))}var s=Object.prototype.hasOwnProperty;function a(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function l(e){if(!u(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!u(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}var c=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,n){let r,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e},"addToEnd",0,function(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r},"addToStart",0,function(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==c?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,i,"hashQueryKeyByOptions",0,r,"isServer",0,n,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"keepPreviousData",0,function(e){return e},"matchMutation",0,function(e,t){let{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(i(t.options.mutationKey)!==i(a))return!1}else if(!o(t.options.mutationKey,a))return!1}return(!r||t.state.status===r)&&(!s||!!s(t))},"matchQuery",0,function(e,t){let{type:n="all",exact:i,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(i){if(t.queryHash!==r(l,t.options))return!1}else if(!o(t.queryKey,l))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof u||t.isStale()===u)&&(!s||s===t.state.fetchStatus)&&(!a||!!a(t))},"noop",0,function(){},"partialMatchKey",0,o,"replaceData",0,function(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?function e(t,n,r=0){if(t===n)return t;if(r>500)return n;let i=a(t)&&a(n);if(!i&&!(l(t)&&l(n)))return n;let o=(i?t:Object.keys(t)).length,u=i?n:Object.keys(n),c=u.length,d=i?Array(c):{},h=0;for(let a=0;a<c;a++){let l=i?a:u[a],c=t[l],p=n[l];if(c===p){d[l]=c,(i?a<o:s.call(t,l))&&h++;continue}if(null===c||null===p||"object"!=typeof c||"object"!=typeof p){d[l]=p;continue}let f=e(c,p,r+1);d[l]=f,f===c&&h++}return o===c&&h===o?t:d}(e,t):t},"resolveEnabled",0,function(e,t){return"function"==typeof e?e(t):e},"resolveStaleTime",0,function(e,t){return"function"==typeof e?e(t):e},"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,c,"sleep",0,function(e){return new Promise(n=>{t.timeoutManager.setTimeout(n,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}])},757142,e=>{"use strict";var t=e.i(766271);e.s(["pendingThenable",0,function(){let e,t,n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n},"tryResolveSync",0,function(e){let n;if(e.then(e=>(n=e,e),t.noop)?.catch(t.noop),void 0!==n)return{data:n}}])},259864,e=>{"use strict";let t,n,r,i,o,s;var a=e.i(305763).systemSetTimeoutZero,l=(t=[],n=0,r=e=>{e()},i=e=>{e()},o=a,{batch:e=>{let s;n++;
1try{s=e()}finally{let e;--n||(e=t,t=[],e.length&&o(()=>{i(()=>{e.forEach(e=>{r(e)})})}))}return s},batchCalls:e=>(...t)=>{s(()=>{e(...t)})},schedule:s=e=>{n?t.push(e):o(()=>{r(e)})},setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{o=e}});e.s(["notifyManager",0,l])},578889,e=>{"use strict";e.s(["Subscribable",0,class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}])},82679,e=>{"use strict";var t=e.i(578889),n=e.i(766271),r=new class extends t.Subscribable{#n;#r;#i;constructor(){super(),this.#i=e=>{if(!n.isServer&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#r||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#i=e,this.#r?.(),this.#r=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#n!==e&&(this.#n=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#n?this.#n:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,r])},60045,e=>{"use strict";var t=e.i(578889),n=e.i(766271),r=new class extends t.Subscribable{#o=!0;#r;#i;constructor(){super(),this.#i=e=>{if(!n.isServer&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#r||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#i=e,this.#r?.(),this.#r=e(this.setOnline.bind(this))}setOnline(e){this.#o!==e&&(this.#o=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#o}};e.s(["onlineManager",0,r])},313805,e=>{"use strict";var t=e.i(82679),n=e.i(60045),r=e.i(757142),i=e.i(766271);function o(e){return Math.min(1e3*2**e,3e4)}function s(e){return(e??"online")!=="online"||n.onlineManager.isOnline()}var a=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};e.s(["CancelledError",0,a,"canFetch",0,s,"createRetryer",0,function(e){let l,u=!1,c=0,d=(0,r.pendingThenable)(),h=()=>t.focusManager.isFocused()&&("always"===e.networkMode||n.onlineManager.isOnline())&&e.canRun(),p=()=>s(e.networkMode)&&e.canRun(),f=e=>{"pending"===d.status&&(l?.(),d.resolve(e))},y=e=>{"pending"===d.status&&(l?.(),d.reject(e))},m=()=>new Promise(t=>{l=e=>{("pending"!==d.status||h())&&t(e)},e.onPause?.()}).then(()=>{l=void 0,"pending"===d.status&&e.onContinue?.()}),v=()=>{let t;if("pending"!==d.status)return;let n=0===c?e.initialPromise:void 0;try{t=n??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(f).catch(t=>{if("pending"!==d.status)return;let n=e.retry??3*!i.isServer,r=e.retryDelay??o,s="function"==typeof r?r(c,t):r,a=!0===n||"number"==typeof n&&c<n||"function"==typeof n&&n(c,t);u||!a?y(t):(c++,e.onFail?.(c,t),(0,i.sleep)(s).then(()=>h()?void 0:m()).then(()=>{u?y(t):v()}))})};return{promise:d,status:()=>d.status,cancel:t=>{if("pending"===d.status){let n=new a(t);y(n),e.onCancel?.(n)}},continue:()=>(l?.(),d),cancelRetry:()=>{u=!0},continueRetry:()=>{u=!1},canStart:p,start:()=>(p()?v():m().then(v),d)}}])},539392,e=>{"use strict";var t=e.i(305763),n=e.i(766271),r=class{#s;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.isValidTimeout)(this.gcTime)&&(this.#s=t.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n.isServer?1/0:3e5))}clearGcTimeout(){this.#s&&(t.timeoutManager.clearTimeout(this.#s),this.#s=void 0)}};e.s(["Removable",0,r])},959243,e=>{"use strict";var t=e.i(766271),n=e.i(259864),r=e.i(313805),i=e.i(539392),o=class extends i.Removable{#a;#l;#u;#c;#d;#h;#p;constructor(e){super(),this.#p=!1,this.#h=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#c=e.client,this.#u=this.#c.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#a=l(this.options),this.state=e.state??this.#a,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#h,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=l(this.options);void 0!==e.data&&(this.setState(a(e.data,e.dataUpdatedAt)),this.#a=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#u.remove(this)}setData(e,n){let r=(0,t.replaceData)(this.state.data,e,this.options);return this.#f({data:r,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),r}setState(e,t){this.#f({type:"setState",state:e,setStateOptions:t})}cancel(e){let n=this.#d?.promise;return this.#d?.cancel(e),n?n.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#a)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||this.state.dataUpdateCount+this.state.errorUpdate
1Count===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#u.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#p?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#u.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#f({type:"invalidate"})}async fetch(e,n){let i;if("idle"!==this.state.fetchStatus&&this.#d?.status()!=="rejected"){if(void 0!==this.state.data&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let o=new AbortController,s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#p=!0,o.signal)})},a=()=>{let e,r=(0,t.ensureQueryFn)(this.options,n),i=(s(e={client:this.#c,queryKey:this.queryKey,meta:this.meta}),e);return(this.#p=!1,this.options.persister)?this.options.persister(r,i,this):r(i)},l=(s(i={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#c,state:this.state,fetchFn:a}),i);this.options.behavior?.onFetch(l,this),this.#l=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#f({type:"fetch",meta:l.fetchOptions?.meta}),this.#d=(0,r.createRetryer)({initialPromise:n?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof r.CancelledError&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),o.abort()},onFail:(e,t)=>{this.#f({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#d.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#u.config.onSuccess?.(e,this),this.#u.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof r.CancelledError){if(e.silent)return this.#d.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#f({type:"error",error:e}),this.#u.config.onError?.(e,this),this.#u.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#f(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...s(t.data,this.options),fetchMeta:e.meta??null};case"success":let n={...t,...a(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?n:void 0,n;case"error":let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),n.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#u.notify({query:this,type:"updated",action:e})})}};function s(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,r.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function a(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function l(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
1Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,o,"fetchState",0,s])},722752,e=>{"use strict";var t=e.i(98958),n=e.i(675993);let r={xs:parseInt("475px"),sm:parseInt("640px"),md:parseInt("768px"),lg:parseInt("1024px"),xl:parseInt("1280px")};e.s(["BREAKPOINTS",0,r,"useBreakpoint",0,function(e){let i,o,s=(0,t.c)(3),[a,l]=(0,n.useState)(!1);return s[0]!==e?(i=()=>{let t=r[e],n=`(max-width: ${t-1}px)`,i=window.matchMedia(n),o=e=>{l(e.matches)};return l(i.matches),i.addEventListener("change",o),()=>{i.removeEventListener("change",o)}},o=[e],s[0]=e,s[1]=i,s[2]=o):(i=s[1],o=s[2]),(0,n.useEffect)(i,o),a}],722752)},92714,11518,e=>{"use strict";e.i(199073),e.i(598252);var t=e.i(892857),n=e.i(45918),r=e.i(675993),i=(0,r.createContext)({client:n.default,bootstrap:void 0}),o=function(e){return"function"==typeof e},s=function(){return(0,r.useContext)(i).client},a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};"function"==typeof SuppressedError&&SuppressedError;var l={componentStack:null,exceptionEvent:null,error:null};!function(e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=n}function n(t){var n=e.call(this,t)||this;return n.state=l,n}a(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),n.prototype.componentDidCatch=function(e,t){var n,r=this.props.additionalProperties;o(r)?n=r(e):"object"==typeof r&&(n=r);var i=this.context.client.captureException(e,n),s=t.componentStack;this.setState({error:e,componentStack:null!=s?s:null,exceptionEvent:i})},n.prototype.render=function(){var e=this.props,t=e.children,n=e.fallback,i=this.state;if(null==i.componentStack)return o(t)?t():t;var s=o(n)?r.default.createElement(n,{error:i.error,componentStack:i.componentStack,exceptionEvent:i.exceptionEvent}):n;return r.default.isValidElement(s)?s:(console.warn("[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."),r.default.createElement(r.default.Fragment,null))},n.contextType=i}(r.default.Component),e.s(["PostHogProvider",0,function(e){var t,o,s=e.children,a=e.client,l=e.apiKey,u=e.options,c=(0,r.useRef)(null),d=(0,r.useMemo)(function(){return a?(l&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),u&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),a):(l||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),n.default)},[a,l,JSON.stringify(u)]);return(0,r.useEffect)(function(){if(!a){var e=c.current;e?(l!==e.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),u&&!function e(t,n,r){if(void 0===r&&(r=new WeakMap),t===n)return!0;if("object"!=typeof t||null===t||"object"!=typeof n||null===n)return!1;if(r.has(t)&&r.get(t)===n)return!0;r.set(t,n);var i=Object.keys(t),o=Object.keys(n);if(i.length!==o.length)return!1;for(var s=0;s<i.length;s++){var a=i[s];if(!o.includes(a)||!e(t[a],n[a],r))return!1}return!0}(u,e.options)&&n.default.set_config(u)):(n.default.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),n.default.init(l,u)),c.current={apiKey:l,options:null!=u?u:{}}}},[a,l,JSON.stringify(u)]),r.default.createElement(i.Provider,{value:{client:d,bootstrap:null!=(t=null==u?void 0:u.bootstrap)?t:null==(o=null==a?void 0:a.config)?void 0:o.bootstrap}},s)},"useFeatureFlagPayload",0,function(e){var t,n=(0,r.useContext)(i),o=n.client,s=n.bootstrap,a=(0,r.useState)(function(){var t;return null==(t=o.getFeatureFlagResult(e,{send_event:!1}))?void 0:t.payload}),l=a[0],u=a[1];return((0,r.useEffect)(function(){return o.onFeatureFlags(function(){var t;u(null==(t=o.getFeatureFlagResult(e,{send_event:!1}))?void 0:t.payload)})},[o,e]),!(null==(t=null==o?void 0:o.featureFlags)?void 0:t.hasLoadedFlags)&&(null==s?void 0:s.featureFlagPayloads))?s.featureFlagPayloads[e]:l},"useFeatureFlagVariantKey",0,function(e){var t,n=(0,r.useContext)(i),o=n.client,s=n.bootstrap,a=(0,r.useState)(function(){return o.getFeatureFlag(e)}),l=a[0],u=a[1];return((0,r.useEffect)(function(){return o.onFeatureFlags(function(){u(o.getFeatureFlag(e))})},[o,e]),!(null==(t=null==o?void 0:o.featureFlags)?void 0:t.hasLoadedFlags)&&(null==s?void 0:s.featureFlags))?s.featureFlags[e]:l},"usePostHog",0,s],11518),e.s(["usePostHogToolbarSync",0,function(){let e=s();(0,r.useEffect)(()=>
1{if(!e)return;let n=()=>{try{let e=localStorage.getItem("ph_phc_LG7IJbVJqBsk584rbcKca0D5lV2vHguiijDrVji7yDM_posthog");if(e){let n=JSON.parse(e).$override_feature_flags;if(n&&Object.keys(n).length>0){let e=JSON.stringify(n);document.cookie=`${t.cookieNames.posthogToolbarOverrides}=${encodeURIComponent(e)}; path=/; max-age=604800; SameSite=Lax`}else document.cookie=`${t.cookieNames.posthogToolbarOverrides}=; path=/; max-age=0`}}catch(e){console.warn("Failed to sync PostHog toolbar overrides:",e)}};n();let r=e=>{"ph_phc_LG7IJbVJqBsk584rbcKca0D5lV2vHguiijDrVji7yDM_posthog"===e.key&&n()};window.addEventListener("storage",r);let i=e.onFeatureFlags(()=>{setTimeout(n,100)});return()=>{window.removeEventListener("storage",r),i?.()}},[e])}],92714)},861544,e=>{"use strict";var t=e.i(832356);function n(e){return e.optional().catch(void 0)}let r={"agent-browser-previews":n(t.z.boolean()),"app-banner-enabled":n(t.z.boolean()),"image-edit-promo-banner":n(t.z.boolean()),code_arena_cta:n(t.z.boolean()),"email-optin-copy":n(t.z.enum(["control","treatment-1","treatment-2","treatment-3","treatment-4","treatment-5"])),"pointwise-feedback-enabled":n(t.z.boolean()),"in-app-chat-notifications-m1-round-2":n(t.z.enum(["control","treatment-1"])),"auto-modality-enabled":n(t.z.enum(["control","treatment-1","treatment-2","treatment-3","treatment-4"])),"webdev-voting-buttons":n(t.z.enum(["control","treatment"])),"code-arena-bid-v3":n(t.z.enum(["control","treatment-1","treatment-2"])),"remove-side-by-side":n(t.z.enum(["control","treatment"])),"vote-translations-enabled":n(t.z.enum(["control","treatment-1"])),"model-selector-featured-models":n(t.z.boolean()),"model-selector-priority-models":n(t.z.boolean()),"multi-modal-p2l":n(t.z.enum(["control","multi-modal-p2l-enabled"])),"fast-mode":n(t.z.enum(["control","no-delay","4-second-delay","8-second-delay","12-second-delay"])),"factuality-demo":n(t.z.enum(["control","factuality-enabled"])),"stop-rerun":n(t.z.enum(["control","stop-rerun-enabled"])),"leaderboard-nav-pareto":n(t.z.boolean()),"image-edit-categories":n(t.z.boolean()),"agent-leaderboard":n(t.z.boolean()),"leaderboard-overview-redesign":n(t.z.boolean()),"agent-pareto":n(t.z.boolean()),"factuality-leaderboard":n(t.z.boolean()),"winrate-charts":n(t.z.boolean()),"video-image-pricedata":n(t.z.boolean()),"disable-opus":n(t.z.enum(["control","disable-opus"])),"use-video-workflow":n(t.z.enum(["control","treatment-1"])),leaderboard_bar_charts:n(t.z.boolean()),"credit-system-m1":n(t.z.enum(["control","cost-shown"])),"credit-system-m2"
1:n(t.z.enum(["control","limits-enabled"])),"default-route-agent-v3":n(t.z.enum(["control","treatment-1"])),"agent-model-selector":n(t.z.boolean()),"agent-mode-workspace-storage":n(t.z.boolean()),"agent-harness-randomization":n(t.z.enum(["control","treatment-1"])),"autoeval-day1-enabled":n(t.z.boolean()),"autoeval-day1-banner":n(t.z.boolean()),"agentic-dlp-pii-detection":n(t.z.enum(["control","treatment-1","dlp-will-flag","dlp-wont-flag","non-dlp"])),"agent-checkpoint-settlement-proof":n(t.z.boolean()),"agent-checkpoint-cadence-anchor":n(t.z.boolean()),"agent-mode-connectors":n(t.z.enum(["control","treatment-1"])),"agent-chat-stream-bootstrap":n(t.z.enum(["control","treatment-1"])),"agentic-custom-feedback":n(t.z.enum(["control","treatment-1","treatment-2"])),"agentic-arena-feedback":n(t.z.enum(["control","treatment-1"])),"agentic-rubrics":n(t.z.enum(["control","treatment-1"])),"chat-work-composer":n(t.z.enum(["control","treatment-1"])),"coding-agent-multiple-branches":n(t.z.enum(["control","treatment-1"]))},i=t.z.object(r).parse({});e.s(["PosthogFeatureFlagDefaults",0,i,"PosthogFeatureFlags",0,r,"isInTreatment",0,function(e){return null!=e&&"control"!==e}])},109485,e=>{"use strict";var t=e.i(624496),n=e.i(98958),r=e.i(92714),i=e.i(696057),o=e.i(582125),s=e.i(861544),a=e.i(11518),l=e.i(675993),u=e.i(75134);let c=(0,l.createContext)(s.PosthogFeatureFlagDefaults),d=(0,l.createContext)(!1);function h(e){let i,o=(0,n.c)(2),{children:s}=e;return(0,r.usePostHogToolbarSync)(),o[0]!==s?(i=(0,t.jsx)(t.Fragment,{children:s}),o[0]=s,o[1]=i):i=o[1],i}e.s(["FeatureFlagsProvider",0,function({children:e,initialUser:n,initialUserId:r,posthogFlags:s,isE2ETest:p}){let f=(0,u.useShouldBlockAnalytics)(),y=(0,l.useRef)(!1);return y.current||(y.current=!0,i.analytics.init({apiKey:"phc_LG7IJbVJqBsk584rbcKca0D5lV2vHguiijDrVji7yDM",isDevelopment:o.default.isDevelopment,shouldBlockAnalytics:f,user:n,userId:r,deploymentEnv:o.default.deploymentEnv,bootstrapFeatureFlags:s,onLoaded:()=>{p&&i.analytics.overrideFlags(s)}})),(0,t.jsx)(d,{value:p,children:(0,t.jsx)(c,{value:s,children:(0,t.jsx)(a.PostHogProvider,{client:i.analytics.posthog,children:(0,t.jsx)(h,{children:e})})})})},"useAllFlags",0,function(){return(0,l.useContext)(c)},"useFlag",0,function(e){let t,r=(0,n.c)(3),i=(0,l.useContext)(c),o=(0,l.useContext)(d),u=(0,a.useFeatureFlagVariantKey)(e);if(o||!u)return i[e];let h=s.PosthogFeatureFlags[e];r[0]!==h||r[1]!==u?(t=h.safeParse(u),r[0]=h,r[1]=u,r[2]=t):t=r[2];let p=t;return p.success?p.data:i[e]},"useFlagPayload",0,function(e){return(0,a.useFeatureFlagPayload)(e)}])},519954,e=>{"use strict";var t=e.i(675993);let n=(e,t)=>{let n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(n.size!==r.size)return!1;for(let[e,t]of n)if(!r.has(e)||!Object.is(t,r.get(e)))return!1;return!0};e.s(["useShallow",0,function(e){let r=t.default.useRef(void 0);return t=>{let i=e(t);return!function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;if(Symbol.iterator in e&&Symbol.iterator in t){if("entries"in e&&"entries"in t)return n(e,t);let r=e[Symbol.iterator](),i=t[Symbol.iterator](),o=r.next(),s=i.next();for(;!o.done&&!s.done;){if(!Object.is(o.value,s.value))return!1;o=r.next(),s=i.next()}return!!o.done&&!!s.done}return n({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}(r.current,i)?r.current=i:r.current}}],519954)}]);
2
3//# chunkId=01a0fa08-96b8-77c2-8169-77e8df946993

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.