"use strict";(globalThis.webpackChunk_clerk_ui=globalThis.webpackChunk_clerk_ui||[]).push([["608"],{23689:function(t,n,i){i.d(n,{l_:()=>u,mu:()=>e}),i(19161),i(22239),i(95055);let e={userMemberships:{infinite:!0},userInvitations:{infinite:!0},userSuggestions:{infinite:!0,status:["pending","accepted"]}},u=(t,n,i)=>{var e;if(void 0===n)return[{data:[t],total_count:1}];let u=(null==n||null==(e=n[n.length-1])?void 0:e.total_count)||1;return n.map(n=>{if(void 0===n)return n;let e=n.data.map(n=>n.id===t.id?{...t}:n);return{...n,data:e,total_count:"negative"===i?u-1:u}})}},44817:function(t,n,i){i.d(n,{OrganizationSwitcherPrefetch:()=>a});var e=i(91806),u=i(23689);function a(){return(0,e.D_)(u.mu),null}}}]);