1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`3dcc281a8e79fff17adf3e75579634b27b7debb6`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d93b93b3-8499-45ad-a979-fa6ca0d3f346`,e._sentryDebugIdIdentifier=`sentry-dbid-d93b93b3-8499-45ad-a979-fa6ca0d3f346`)})()}catch{}import{s as e}from"./rolldown-runtime-Dm_dodAQ.js";import{k as t}from"./dist-kP4lwCLB.js";import{On as n,Yu as r,_u as i,ju as a,kn as o,vd as s,yu as c}from"./formatInstrumentName-BdL2ER9e.js";import{H as l,X as u,j as d,t as f,v as p}from"./settings-TfkyLzTl.js";function baseFilter(e,t){var n=[];return i(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function filter(e,t){return(s(e)?a:baseFilter)(e,c(t,3))}var m=e(t()),getChangedSettings=(e,t)=>filter(r(e),n=>e[n]!==t[n]).reduce((e,n)=>({...e,[n]:t[n]}),{});function useInterfaceSettings(){let e=n(),{analyticsService:t,appStorageService:r}=d(),i=o(u),a=o(l),[s,c]=(0,m.useState)(r.getShouldSyncUserSettings()),h=(0,m.useCallback)(e=>{c(e),r.setShouldSyncUserSettings(e)},[r]),g=p(n=>{if(i){let r;r=n instanceof Function?n(a):n,e(f.updateInterfaceSettings(r));let i=getChangedSettings(a,r);t.trackEvent(`interface_settings_changed`,{changes:i})}});return(0,m.useMemo)(()=>({areSettingsFetched:i,interfaceSettings:a,setInterfaceSettings:g,syncUserSettings:s,setSyncUserSettings:h}),[i,a,g,s,h])}export{filter as n,useInterfaceSettings as t};
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.