{"version":3,"file":"removeGoogleReCaptchaContainer.mjs","sources":["../../../src/helpers/removeGoogleReCaptchaContainer.ts"],"sourcesContent":["import type { ContainerId } from '../types';\n\n/**\n * Removes the Google reCAPTCHA container element with the specified container ID.\n *\n * @param {ContainerId} containerId - The ID of the container element to be removed.\n * @return {void} This function does not return a value.\n */\nexport const removeGoogleReCaptchaContainer = (containerId: ContainerId) => {\n  const container = document.getElementById(containerId);\n\n  if (!container) {\n    return;\n  }\n\n  while (container.lastChild) {\n    container.lastChild.remove();\n  }\n};\n"],"names":["removeGoogleReCaptchaContainer","containerId","container"],"mappings":"AAQO,MAAMA,IAAiC,CAACC,MAA6B;AAC1E,QAAMC,IAAY,SAAS,eAAeD,CAAW;AAErD,MAAKC;AAIL,WAAOA,EAAU;AACf,MAAAA,EAAU,UAAU,OAAA;AAExB;"}