{"version":3,"file":"lazy-partial_controller-JEXouxmB.js","sources":["../../../app/frontend/javascript/controllers/main/lazy-partial_controller.js"],"sourcesContent":["import { Controller } from '@hotwired/stimulus';\nimport CurrentUser from '@frontend/app/features/CurrentUser';\nimport { get } from '@rails/request.js';\nimport { runWhenDomLoaded } from '@frontend/utils/dom';\n\n/*\n * Useful to asynchronously load dynamic content.\n * Use cases:\n * - loading dynamic parts on a cached page, e.g. the article page\n * - load paginated content, e.g. article teasers.\n *\n * Build to be attached to placeholder tags (e.g. a `