{"version":3,"file":"index.mjs","names":[],"sources":["../../src/focusable-iframe/index.tsx"],"sourcesContent":["import { useMergeRefs, useFocusableIframe } from '@wordpress/compose';\nimport deprecated from '@wordpress/deprecated';\nimport type { FocusableIframeProps } from './types';\n\nexport default function FocusableIframe( {\n\tiframeRef,\n\t...props\n}: FocusableIframeProps ) {\n\tconst ref = useMergeRefs( [ iframeRef, useFocusableIframe() ] );\n\tdeprecated( 'wp.components.FocusableIframe', {\n\t\tsince: '5.9',\n\t\talternative: 'wp.compose.useFocusableIframe',\n\t} );\n\t// Disable reason: The rendered iframe is a pass-through component,\n\t// assigning props inherited from the rendering parent. It's the\n\t// responsibility of the parent to assign a title.\n\t// eslint-disable-next-line jsx-a11y/iframe-has-title\n\treturn <iframe ref={ ref } { ...props } />;\n}\n"],"mappings":";;;;AAIA,SAAwB,gBAAiB,EACxC,WACA,GAAG,SACsB;CACzB,MAAM,MAAM,aAAc,CAAE,WAAW,mBAAmB,CAAE,CAAE;CAC9D,WAAY,iCAAiC;EAC5C,OAAO;EACP,aAAa;CACd,CAAE;CAKF,OAAO,oBAAC,UAAD;EAAc;EAAM,GAAK;CAAS,CAAA;AAC1C"}