import{As as e,ks as t}from"./app-server-manager-signals-Yn0WSnoY.js";function n({action:n,hasRunningCloudSession:r,hasRunningLocalSession:i,isNotificationTrayOpen:a,notification:o,notificationCount:s,selectedAvatar:c,source:l}){let u={action:n,source:l,petKind:c.id.startsWith(`custom:`)?e.CODEX_AVATAR_OVERLAY_PET_KIND_CUSTOM:e.CODEX_AVATAR_OVERLAY_PET_KIND_BUILT_IN};return c.id.startsWith(`custom:`)||(u.builtInPetId=c.id),s!=null&&(u.notificationCount=s),o!=null&&(u.notificationSource=o.source===`cloud`?t.CODEX_AVATAR_OVERLAY_NOTIFICATION_SOURCE_CLOUD:t.CODEX_AVATAR_OVERLAY_NOTIFICATION_SOURCE_LOCAL),i!=null&&(u.hasRunningLocalSession=i),r!=null&&(u.hasRunningCloudSession=r),a!=null&&(u.isNotificationTrayOpen=a),u}export{n as t};
//# sourceMappingURL=avatar-overlay-analytics-DSFxeqD6.js.map