{
  "version": 3,
  "sources": ["../../../src/api/raw-handling/google-docs-uid-remover.ts"],
  "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { unwrap } from '@wordpress/dom';\n\nexport default function googleDocsUIdRemover( node: Node ): void {\n\tconst el = node as HTMLElement;\n\tif ( ! el.id || el.id.indexOf( 'docs-internal-guid-' ) !== 0 ) {\n\t\treturn;\n\t}\n\n\t// Google Docs sometimes wraps the content in a B tag. We don't want to keep\n\t// this.\n\tif ( el.tagName === 'B' ) {\n\t\tunwrap( node );\n\t} else {\n\t\tel.removeAttribute( 'id' );\n\t}\n}\n"],
  "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAAuB;AAER,SAAR,qBAAuC,MAAmB;AAChE,QAAM,KAAK;AACX,MAAK,CAAE,GAAG,MAAM,GAAG,GAAG,QAAS,qBAAsB,MAAM,GAAI;AAC9D;AAAA,EACD;AAIA,MAAK,GAAG,YAAY,KAAM;AACzB,2BAAQ,IAAK;AAAA,EACd,OAAO;AACN,OAAG,gBAAiB,IAAK;AAAA,EAC1B;AACD;",
  "names": []
}
