/**
 * ArraySubs — "Restricted Content" block registration.
 *
 * A dynamic InnerBlocks container that gates its nested blocks on the frontend
 * (render.php) by reusing the [arraysubs_restrict] / [arraysubs_visibility]
 * shortcodes.
 */
import { registerBlockType } from '@wordpress/blocks';

import metadata from './block.json';
import Edit from './edit';
import save from './save';
import './editor.scss';

registerBlockType( metadata.name, {
	edit: Edit,
	save,
} );
