{
  "version": 3,
  "sources": ["../../../../src/lib/ui/hooks/useCommentingEnabled.ts"],
  "sourcesContent": ["import { useLicenseFeatureFlag, useMaybeLicenseManager } from '@tldraw/editor'\n\n/**\n * Whether the commenting feature is licensed for this editor. The default comment quick action and\n * its keyboard shortcut are hidden/disabled unless this is true. Enabled in development; in\n * production it requires a license that includes the commenting feature (or the collaboration\n * umbrella that grants it). Reactive: re-reads when license validation resolves. Works outside\n * `<Tldraw />` too: UI mounted via `EditorProvider` resolves the license through the editor, and\n * with no editor at all this is `false`.\n *\n * @internal\n */\nexport function useCommentingEnabled(): boolean {\n\treturn useLicenseFeatureFlag(useMaybeLicenseManager(), 'commenting')\n}\n"],
  "mappings": "AAAA,SAAS,uBAAuB,8BAA8B;AAYvD,SAAS,uBAAgC;AAC/C,SAAO,sBAAsB,uBAAuB,GAAG,YAAY;AACpE;",
  "names": []
}
