{"version":3,"mappings":";kJAIA,MAAMA,EAAoBC,EAAA,KAAK,IAAMC,EAAA,WAAO,iCAAqB,EAAC,qDAGlE,SAAwBC,EAAwB,CAC9C,OAAAC,EACA,MAAAC,EACA,KAAAC,EAAO,IACT,EAIG,CACD,MAAMC,EAASC,IACTC,EAAUC,IAEZ,OAACH,GAAU,CAACE,EACLE,EAAA,IAAAC,WAAA,UAIRC,WACC,UAAAF,EAAA,IAACX,EAAA,CACC,OAAAO,EACA,OAAAH,EACA,MAAAC,EACA,KAAAC,CAAA,CAEJ,GAEJ","names":["ListUserReadCount","lazy","__vitePreload","ListUserReadCountLoader","listId","count","size","userId","useCurrentUserId","mounted","useMount","jsx","Fragment","Suspense"],"ignoreList":[],"sources":["../../../app/javascript/components/BookGroup/headers/parts/ListUserReadCountLoader.tsx"],"sourcesContent":["import useMount from \"hooks/useMount\";\nimport { Suspense, lazy } from \"react\";\nimport useCurrentUserId from \"hooks/user/useCurrentUserId\";\n\nconst ListUserReadCount = lazy(() => import(\"./ListUserReadCount\"));\n\nexport type ListUserReadCountLoaderSize = \"sm\" | \"md\" | \"lg\";\nexport default function ListUserReadCountLoader({\n listId,\n count,\n size = \"sm\",\n}: {\n listId: number;\n count: number;\n size: ListUserReadCountLoaderSize;\n}) {\n const userId = useCurrentUserId();\n const mounted = useMount();\n\n if (!userId || !mounted) {\n return <>;\n }\n\n return (\n \n \n \n );\n}\n"],"file":"assets/ListUserReadCountLoader-Db7edqGI.js"}