1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="c32df269-6fd4-895f-a8c3-c1b442155fe7")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,663973,e=>{"use strict";var t=e.i(416340),i=e.i(221628),s=t.createContext(void 0);e.s(["QueryClientProvider",0,e=>{let{client:r,children:a}=e;return t.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),(0,i.jsx)(s.Provider,{value:r,children:a})},"useQueryClient",0,e=>{let i=t.useContext(s);if(e)return e;if(!i)throw Error("No QueryClient set, use QueryClientProvider to set one");return i}])},120242,e=>{"use strict";var t,i,s,r,a,n,o,l,u,h,d,c,g,p,b,_,f,v,m,y,w,S,O,E,R=e.i(711300),C=e.i(634203),M=e.i(35877),k=e.i(422898),T=e.i(630844),Q=e.i(87328),W=e.i(878420),x=e.i(64386),I=e.i(313562),P=e.i(560820),D=e.i(639814),U=e.i(260783),F=e.i(848548),q=e.i(401990),j=e.i(820982),L=(t=new WeakMap,i=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap,n=new WeakMap,o=new WeakMap,l=new WeakMap,u=new WeakMap,h=new WeakMap,d=new WeakMap,c=new WeakMap,g=new WeakMap,p=new WeakMap,b=new WeakMap,_=new WeakSet,f=new WeakSet,v=new WeakSet,m=new WeakSet,y=new WeakSet,w=new WeakSet,S=new WeakSet,O=new WeakSet,E=new WeakSet,class extends U.Subscribable{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&((0,R._)(this,i).addObserver(this),B((0,R._)(this,i),this.options)?(0,k._)(this,_,N).call(this):this.updateResult(),(0,k._)(this,y,G).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return K((0,R._)(this,i),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return K((0,R._)(this,i),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,(0,k._)(this,w,X).call(this),(0,k._)(this,S,Y).call(this),(0,R._)(this,i).removeObserver(this)}setOptions(e){let s=this.options,r=(0,R._)(this,i);if(this.options=(0,R._)(this,t).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,q.resolveEnabled)(this.options.enabled,(0,R._)(this,i)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");(0,k._)(this,O,Z).call(this),(0,R._)(this,i).setOptions(this.options),s._defaulted&&!(0,q.shallowEqualObjects)(this.options,s)&&(0,R._)(this,t).getQueryCache().notify({type:"observerOptionsUpdated",query:(0,R._)(this,i),observer:this});let a=this.hasListeners();a&&A((0,R._)(this,i),r,this.options,s)&&(0,k._)(this,_,N).call(this),this.updateResult(),a&&((0,R._)(this,i)!==r||(0,q.resolveEnabled)(this.options.enabled,(0,R._)(this,i))!==(0,q.resolveEnabled)(s.enabled,(0,R._)(this,i))||(0,q.resolveStaleTime)(this.options.staleTime,(0,R._)(this,i))!==(0,q.resolveStaleTime)(s.staleTime,(0,R._)(this,i)))&&(0,k._)(this,f,z).call(this);let n=(0,k._)(this,v,J).call(this);a&&((0,R._)(this,i)!==r||(0,q.resolveEnabled)(this.options.enabled,(0,R._)(this,i))!==(0,q.resolveEnabled)(s.enabled,(0,R._)(this,i))||n!==(0,R._)(this,p))&&(0,k._)(this,m,V).call(this,n)}getOptimisticResult(e){var s,o;let l=(0,R._)(this,t).getQueryCache().build((0,R._)(this,t),e),u=this.createResult(l,e);return s=this,o=u,(0,q.shallowEqualObjects)(s.getCurrentResult(),o)||((0,M._)(this,r,u),(0,M._)(this,n,this.options),(0,M._)(this,a,(0,R._)(this,i).state)),u}getCurrentResult(){return(0,R._)(this,r)}trackResult(e,t){return new Proxy(e,{get:(e,i)=>(this.trackProp(i),null==t||t(i),"promise"===i&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==(0,R._)(this,o).status||(0,R._)(this,o).reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,i))})}trackProp(e){(0,R._)(this,b).add(e)}getCurrentQuery(){return(0,R._)(this,i)}refetch(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,[t={}]=[e],{}=t,i=(0,Q._)({},t);return this.fetch((0,W._)({},i))}fetchOptimistic(e){let i=(0,R._)(this,t).defaultQueryOptions(e),s=(0,R._)(this,t).getQueryCache().build((0,R._)(this,t),i);return s.fetch().then(()=>this.createResult(s,i))}fetch(e){var t;return(0,k._)(this,_,N).call(this,(0,x._)((0,W._)({},e),{cancelRefetch:null==(t=e.cancelRefetch)||t})).then(()=>(this.updateResult(),(0,R._)(this,r)))}createResult(e,t){let c,g=(0,R._)(this,i),p=this.options,b=(0,R._)(this,r),_=(0,R._)(this,a),f=(0,R._)(this,n),v=e!==g?e.state:(0,R._)(this,s),{state:m}=e,y=(0,W._)({},m),w=!1;if(t._optimisticResults){let i=this.hasListeners(),s=!i&&B(e,t),r=i&&A(e,g,t,p);(s||r)&&(y=(0,W._)({},y,(0,D.fetchState)(m.data,e.options))),"isRestoring"===t._optimisticResults&&(y.fetchStatus="idle")}let{error:S,errorUpdatedAt:O,status:E}=y;c=y.data;let C=!1;if(void 0!==t.placeholderData&&void 0===c&&"pending"===E){let e;if((null==b?void 0:b.isPlaceholderData)&&t.placeholderData===(null==f?void 0:f.placeholderData))e=b.data,C=!0;else{var k;e="function"==typeof t.placeholderData?t.placeholderData(null==(k=(0,R._)(this,d))?void 0:k.state.data,(0,R._)(this,d)):t.placeholderData}void 0!==e&&(E="success",c=(0,q.replaceData)(null==b?void 0:b.data,e,t),w=!0)}if(t.select&&void 0!==c&&!C)if(b&&c===(null==_?void 0:_.data)&&t.select===(0,R._)(this,u))c=(0,R._)(this,h);else try{(0,M._)(this,u,t.select),c=t.select(c),c=(0,q.replaceData)(null==b?void 0:b.data,c,t),(0,M._)(this,h,c),(0,M._)(this,l,null)}catch(e){(0,M._)(this,l,e)}(0,R._)(this,l)&&(S=(0,R._)(this,l),c=(0,R._)(this,h),O=Date.now(),E="error");let T="fetching"===y.fetchStatus,Q="pending"===E,x="error"===E,I=Q&&T,P=void 0!==c,U={status:E,fetchStatus:y.fetchStatus,isPending:Q,isSuccess:"success"===E,isError:x,isInitialLoading:I,isLoading:I,data:c,dataUpdatedAt:y.dataUpdatedAt,error:S,errorUpdatedAt:O,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdate
2Count:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>v.dataUpdateCount||y.errorUpdateCount>v.errorUpdateCount,isFetching:T,isRefetching:T&&!Q,isLoadingError:x&&!P,isPaused:"paused"===y.fetchStatus,isPlaceholderData:w,isRefetchError:x&&P,isStale:H(e,t),refetch:this.refetch,promise:(0,R._)(this,o),isEnabled:!1!==(0,q.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===U.status?e.reject(U.error):void 0!==U.data&&e.resolve(U.data)},i=()=>{t((0,M._)(this,o,U.promise=(0,F.pendingThenable)()))},s=(0,R._)(this,o);switch(s.status){case"pending":e.queryHash===g.queryHash&&t(s);break;case"fulfilled":("error"===U.status||U.data!==s.value)&&i();break;case"rejected":("error"!==U.status||U.error!==s.reason)&&i()}}return U}updateResult(){let e=(0,R._)(this,r),t=this.createResult((0,R._)(this,i),this.options);if((0,M._)(this,a,(0,R._)(this,i).state),(0,M._)(this,n,this.options),void 0!==(0,R._)(this,a).data&&(0,M._)(this,d,(0,R._)(this,i)),(0,q.shallowEqualObjects)(t,e))return;(0,M._)(this,r,t);let s=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,i="function"==typeof t?t():t;if("all"===i||!i&&!(0,R._)(this,b).size)return!0;let s=new Set(null!=i?i:(0,R._)(this,b));return this.options.throwOnError&&s.add("error"),Object.keys((0,R._)(this,r)).some(t=>(0,R._)(this,r)[t]!==e[t]&&s.has(t))};(0,k._)(this,E,$).call(this,{listeners:s()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&(0,k._)(this,y,G).call(this)}constructor(e,R){super(),(0,T._)(this,_),(0,T._)(this,f),(0,T._)(this,v),(0,T._)(this,m),(0,T._)(this,y),(0,T._)(this,w),(0,T._)(this,S),(0,T._)(this,O),(0,T._)(this,E),(0,C._)(this,t,{writable:!0,value:void 0}),(0,C._)(this,i,{writable:!0,value:void 0}),(0,C._)(this,s,{writable:!0,value:void 0}),(0,C._)(this,r,{writable:!0,value:void 0}),(0,C._)(this,a,{writable:!0,value:void 0}),(0,C._)(this,n,{writable:!0,value:void 0}),(0,C._)(this,o,{writable:!0,value:void 0}),(0,C._)(this,l,{writable:!0,value:void 0}),(0,C._)(this,u,{writable:!0,value:void 0}),(0,C._)(this,h,{writable:!0,value:void 0}),(0,C._)(this,d,{writable:!0,value:void 0}),(0,C._)(this,c,{writable:!0,value:void 0}),(0,C._)(this,g,{writable:!0,value:void 0}),(0,C._)(this,p,{writable:!0,value:void 0}),(0,C._)(this,b,{writable:!0,value:new Set}),this.options=R,(0,M._)(this,t,e),(0,M._)(this,l,null),(0,M._)(this,o,(0,F.pendingThenable)()),this.bindMethods(),this.setOptions(R)}});function B(e,t){return!1!==(0,q.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&K(e,t,t.refetchOnMount)}function K(e,t,i){if(!1!==(0,q.resolveEnabled)(t.enabled,e)&&"static"!==(0,q.resolveStaleTime)(t.staleTime,e)){let s="function"==typeof i?i(e):i;return"always"===s||!1!==s&&H(e,t)}return!1}function A(e,t,i,s){return(e!==t||!1===(0,q.resolveEnabled)(s.enabled,e))&&(!i.suspense||"error"!==e.state.status)&&H(e,i)}function H(e,t){return!1!==(0,q.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,q.resolveStaleTime)(t.staleTime,e))}function N(e){(0,k._)(this,O,Z).call(this);let t=(0,R._)(this,i).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(q.noop)),t}function z(){(0,k._)(this,w,X).call(this);let e=(0,q.resolveStaleTime)(this.options.staleTime,(0,R._)(this,i));if(q.isServer||(0,R._)(this,r).isStale||!(0,q.isValidTimeout)(e))return;let t=(0,q.timeUntilStale)((0,R._)(this,r).dataUpdatedAt,e);(0,M._)(this,c,j.timeoutManager.setTimeout(()=>{(0,R._)(this,r).isStale||this.updateResult()},t+1))}function J(){var e;return null!=(e="function"==typeof this.options.refetchInterval?this.options.refetchInterval((0,R._)(this,i)):this.options.refetchInterval)&&e}function V(e){(0,k._)(this,S,Y).call(this),(0,M._)(this,p,e),!q.isServer&&!1!==(0,q.resolveEnabled)(this.options.enabled,(0,R._)(this,i))&&(0,q.isValidTimeout)((0,R._)(this,p))&&0!==(0,R._)(this,p)&&(0,M._)(this,g,j.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||I.focusManager.isFocused())&&(0,k._)(this,_,N).call(this)},(0,R._)(this,p)))}function G(){(0,k._)(this,f,z).call(this),(0,k._)(this,m,V).call(this,(0,k._)(this,v,J).call(this))}function X(){(0,R._)(this,c)&&(j.timeoutManager.clearTimeout((0,R._)(this,c)),(0,M._)(this,c,void 0))}function Y(){(0,R._)(this,g)&&(j.timeoutManager.clearInterval((0,R._)(this,g)),(0,M._)(this,g,void 0))}function Z(){let e=(0,R._)(this,t).getQueryCache().build((0,R._)(this,t),this.options);if(e===(0,R._)(this,i))return;let r=(0,R._)(this,i);(0,M._)(this,i,e),(0,M._)(this,s,e.state),this.hasListeners()&&(null==r||r.removeObserver(this),e.addObserver(this))}
2function $(e){P.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e((0,R._)(this,r))}),(0,R._)(this,t).getQueryCache().notify({query:(0,R._)(this,i),type:"observerResultsUpdated"})})}e.s(["QueryObserver",0,L])},628990,133537,e=>{"use strict";let t;var i=e.i(416340);e.i(221628);var s=i.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}));e.s(["useQueryErrorResetBoundary",0,()=>i.useContext(s)],628990);var r=e.i(401990);e.s(["ensurePreventErrorBoundaryRetry",0,(e,t,i)=>{let s=(null==i?void 0:i.state.error)&&"function"==typeof e.throwOnError?(0,r.shouldThrowError)(e.throwOnError,[i.state.error,i]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||s)&&!t.isReset()&&(e.retryOnMount=!1)},"getHasError",0,e=>{let{result:t,errorResetBoundary:i,throwOnError:s,query:a,suspense:n}=e;return t.isError&&!i.isReset()&&!t.isFetching&&a&&(n&&void 0===t.data||(0,r.shouldThrowError)(s,[t.error,a]))},"useClearResetErrorBoundary",0,e=>{i.useEffect(()=>{e.clearReset()},[e])}],133537)},49753,e=>{"use strict";var t=e.i(416340),i=t.createContext(!1);i.Provider,e.s(["useIsRestoring",0,()=>t.useContext(i)])},831136,73101,923672,e=>{"use strict";var t=e.i(120242);e.i(661683);var i=e.i(416340),s=e.i(401990),r=e.i(560820),a=e.i(663973),n=e.i(628990),o=e.i(133537),l=e.i(49753),u=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(null!=e?e:1e3,1e3),i=e.staleTime;e.staleTime="function"==typeof i?function(){for(var e=arguments.length,s=Array(e),r=0;r<e;r++)s[r]=arguments[r];return t(i(...s))}:t(i),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},h=(e,t)=>e.isLoading&&e.isFetching&&!t,d=(e,t)=>(null==e?void 0:e.suspense)&&t.isPending,c=(e,t,i)=>t.fetchOptimistic(e).catch(()=>{i.clearReset()});function g(e,t,g){var p,b,_,f;let v=(0,l.useIsRestoring)(),m=(0,n.useQueryErrorResetBoundary)(),y=(0,a.useQueryClient)(g),w=y.defaultQueryOptions(e);
2null==(b=y.getDefaultOptions().queries)||null==(p=b._experimental_beforeQuery)||p.call(b,w);let S=y.getQueryCache().get(w.queryHash);w._optimisticResults=v?"isRestoring":"optimistic",u(w),(0,o.ensurePreventErrorBoundaryRetry)(w,m,S),(0,o.useClearResetErrorBoundary)(m);let O=!y.getQueryCache().get(w.queryHash),[E]=i.useState(()=>new t(y,w)),R=E.getOptimisticResult(w),C=!v&&!1!==e.subscribed;if(i.useSyncExternalStore(i.useCallback(e=>{let t=C?E.subscribe(r.notifyManager.batchCalls(e)):s.noop;return E.updateResult(),t},[E,C]),()=>E.getCurrentResult(),()=>E.getCurrentResult()),i.useEffect(()=>{E.setOptions(w)},[w,E]),d(w,R))throw c(w,E,m);if((0,o.getHasError)({result:R,errorResetBoundary:m,throwOnError:w.throwOnError,query:S,suspense:w.suspense}))throw R.error;if(null==(f=y.getDefaultOptions().queries)||null==(_=f._experimental_afterQuery)||_.call(f,w,R),w.experimental_prefetchInRender&&!s.isServer&&h(R,v)){let e=O?c(w,E,m):null==S?void 0:S.promise;null==e||e.catch(s.noop).finally(()=>{E.updateResult()})}return w.notifyOnChangeProps?R:E.trackResult(R)}e.s(["ensureSuspenseTimers",0,u,"fetchOptimistic",0,c,"shouldSuspend",0,d,"willFetch",0,h],73101),e.s(["useBaseQuery",0,g],923672),e.s(["useQuery",0,function(e,i){return g(e,t.QueryObserver,i)}],831136)},873961,e=>{"use strict";e.i(878420),e.i(64386);let t={userJourney:"debugger:user-journey",changelog:"debugger:changelog",tanstackQuery:"debugger:tanstack-query",settings:"debugger:settings",syncLayer:"debugger:sync-layer",tipTapJsonInspector:"debugger:tiptap-json-inspector",atomicEditorNodeInfo:"debugger:atomic-editor:node-info",showIds:"debugger:sidebar-draft-id",atomicEditorShowNodeId:"debugger:atomic-editor:show-node-id",proseMirrorDevtools:"debugger:atomic-editor:devtools",atomicMedia:"debugger:atomic-media",logEditorTransactions:"debugger:logEditorTransactions",atomicEditorShowEmptyLines:"debugger:atomic-editor:show-empty-lines",loggers:e=>"debugger:loggers:".concat(e),debugLogging:"debugger:debug-logging",selectedDraft:"debugger:selected-draft",editingScope:"debugger:editing-scope",createDraftFromJson:"debugger:create-draft-from-json",publicApiV2:"debugger:public-api-v2",userMe:"debugger:user-me",accountDebugger:"debugger:account",aiChatDebugger:"debugger:ai-chat",aiChatTranscriptionProvider:"debugger:ai-chat:transcription-provider",aiDraftContext:"debugger:ai-draft-context",aiChatInspector:"debugger:ai-chat-inspector",enableIntercomInDev:"debugger:enable-intercom-in-dev",monetization:"debugger:monetization",publishingLimits:"debugger:publishing-limits",publishingDebugger:"debugger:publishing",paragraphBorders:"debugger:paragraph-borders",showGifFileSize:"debugger:show-gif-file-size",settingsNavigation:"debugger:settings-navigation",auth:"debugger:auth",draftLocking:"debugger:draft-locking",invisibleCharacters:"debugger:invisible-characters",customBackendUrl:"debugger:custom-backend-url",aiUsage:"debugger:ai-usage",notifications:"debugger:notifications",onboarding:"debugger:onboarding",qaCalendarSeeder:"debugger:qa-calendar-seeder",demoMode:"debugger:demo-mode",demoModeHideQaTeam:"debugger:demo-mode:hide-qa-team",uiExperiments:"debugger:ui-experiments",smartScheduleVariant:"debugger:smart-schedule-variant",calendarDraftsSidebar:"debugger:calendar-drafts-sidebar",calendarDraftsSidebarRowMenu:"debugger:calendar-drafts-sidebar:row-menu",onboardingIgnoreInviteFlow:"debugger:onboarding:ignore-invite-flow",onboardingForcedPage:"debugger:onboarding:forced-page",onboardingPreviewOpen:"debugger:onboarding:preview-open",onboardingForceFreeTrial:"debugger:onboarding:force-free-trial",onboardingSetupStep:"debugger:onboarding:setup-step"};Object.entries(t),e.s(["debuggersKeys",0,t])},710672,e=>{"use strict";var t,i,s,r,a,n,o=e.i(711300),l=e.i(634203),u=e.i(35877),h=e.i(422898),d=e.i(630844),c=e.i(878420),g=e.i(64386),p=e.i(990937),b=e.i(560820),_=e.i(260783),f=e.i(401990),v=(t=new WeakMap,i=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakSet,n=new WeakSet,class extends _.Subscribable{bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var i;let r=this.options;this.options=(0,o._)(this,t).defaultMutationOptions(e),(0,f.shallowEqualObjects)(this.options,r)||(0,o._)(this,t).getMutationCache().notify({type:"observerOptionsUpdated",mutation:(0,o._)(this,s),observer:this}),(null==r?void 0:r.mutationKey)&&this.options.mutationKey&&(0,f.hashKey)(r.mutationKey)!==(0,f.hashKey)(this.options.mutationKey)?this.reset():(null==(i=(0,o._)(this,s))?void 0:i.state.status)==="pending"&&(0,o._)(this,s).setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=(0,o._)(this,s))||e.removeObserver(this)}}onMutationUpdate(e){(0,h._)(this,a,m).call(this),(0,h._)(this,n,y).call(this,e)}getCurrentResult(){return(0,o._)(this,i)}reset(){var e;null==(e=(0,o._)(this,s))||e.removeObserver(this),(0,u._)(this,s,void 0),(0,h._)(this,a,m).call(this),(0,h._)(this,n,y).call(this)}mutate(e,i){var a;return(0,u._)(this,r,i),null==(a=(0,o._)(this,s))||a.removeObserver(this),(0,u._)(this,s,(0,o._)(this,t).getMutationCache().build((0,o._)(this,t),this.options)),(0,o._)(this,s).addObserver(this),(0,o._)(this,s).execute(e)}constructor(e,o){super(),(0,d._)(this,a),(0,d._)(this,n),(0,l._)(this,t,{writable:!0,value:void 0}),(0,l._)(this,i,{writable:!0,value:void 0}),(0,l._)(this,s,{writable:!0,value:void 0}),(0,l._)(this,r,{writable:!0,value:void 0}),(0,u._)(this,t,e),this.setOptions(o),this.bindMethods(),(0,h._)(this,a,m).call(this)}});function m(){var e,t;let r=null!=(e=null==(t=(0,o._)(this,s))?void 0:t.state)?e:(0,p.getDefaultState)();(0,u._)(this,i,(0,g._)((0,c._)({},r),{isPending:"pending"===r.status,isSuccess:"success"===r.status,isError:"error"===r.status,isIdle:"idle"===r.status,mutate:this.mutate,reset:this.reset}))}function y(e){b.notifyManager.batch(()=>
2{if((0,o._)(this,r)&&this.hasListeners()){var s,a,n,l,u,h,d,c;let g=(0,o._)(this,i).variables,p=(0,o._)(this,i).context,b={client:(0,o._)(this,t),meta:this.options.meta,mutationKey:this.options.mutationKey};if((null==e?void 0:e.type)==="success"){try{null==(s=(a=(0,o._)(this,r)).onSuccess)||s.call(a,e.data,g,p,b)}catch(e){Promise.reject(e)}try{null==(n=(l=(0,o._)(this,r)).onSettled)||n.call(l,e.data,null,g,p,b)}catch(e){Promise.reject(e)}}else if((null==e?void 0:e.type)==="error"){try{null==(u=(h=(0,o._)(this,r)).onError)||u.call(h,e.error,g,p,b)}catch(e){Promise.reject(e)}try{null==(d=(c=(0,o._)(this,r)).onSettled)||d.call(c,void 0,e.error,g,p,b)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e((0,o._)(this,i))})})}e.s(["MutationObserver",0,v])},394487,e=>{"use strict";var t=e.i(878420),i=e.i(64386),s=e.i(416340),r=e.i(710672),a=e.i(401990),n=e.i(560820),o=e.i(663973);e.s(["useMutation",0,function(e,l){let u=(0,o.useQueryClient)(l),[h]=s.useState(()=>new r.MutationObserver(u,e));s.useEffect(()=>{h.setOptions(e)},[h,e]);let d=s.useSyncExternalStore(s.useCallback(e=>h.subscribe(n.notifyManager.batchCalls(e)),[h]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),c=s.useCallback((e,t)=>{h.mutate(e,t).catch(a.noop)},[h]);if(d.error&&(0,a.shouldThrowError)(h.options.throwOnError,[d.error]))throw d.error;return(0,i._)((0,t._)({},d),{mutate:c,mutateAsync:d.mutate})}])},23930,e=>{"use strict";var t=e.i(394487),i=e.i(831136),s=e.i(663973);function r(e,i){let r=(0,s.useQueryClient)(),{mutate:a}=(0,t.useMutation)({mutationFn:t=>new Promise(i=>{localStorage.setItem(e,JSON.stringify(t)),i(t)}),onMutate:t=>{r.setQueryData(["storage",e],t)},onSettled:()=>{r.invalidateQueries({queryKey:["storage",e]})}});return t=>{let s=r.getQueryData(["storage",e])||i;a("function"==typeof t?t(s):t)}}e.s(["default",0,function(e,t){let s=(0,i.useQuery)({queryKey:["storage",e],queryFn:()=>{let i=localStorage.getItem(e);if(i)try{return JSON.parse(i)}catch(e){console.error("Error parsing JSON from localStorage",e)}return t},refetchOnWindowFocus:!0}),a=r(e,t);return[s.data,a,s.isPending]},"useSetLocalStorageQuery",0,r])}]); 3 4//# debugId=c32df269-6fd4-895f-a8c3-c1b442155fe7 5//# sourceMappingURL=05khf.3tcc.y6.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.