{
  "version": 3,
  "sources": ["../../../src/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.js"],
  "sourcesContent": ["import { __, _x, sprintf } from '@wordpress/i18n';\nimport { decodeEntities } from '@wordpress/html-entities';\n\n// Copied from packages/block-library/src/navigation/edit/navigation-menu-selector.jsx.\nexport default function buildNavigationLabel( title, id, status ) {\n\tif ( ! title?.rendered ) {\n\t\t/* translators: %s: the index of the menu in the list of menus. */\n\t\treturn sprintf( __( '(no title %s)' ), id );\n\t}\n\n\tif ( status === 'publish' ) {\n\t\treturn decodeEntities( title?.rendered );\n\t}\n\n\treturn sprintf(\n\t\t// translators: 1: title of the menu. 2: status of the menu (draft, pending, etc.).\n\t\t_x( '%1$s (%2$s)', 'menu label' ),\n\t\tdecodeEntities( title?.rendered ),\n\t\tstatus\n\t);\n}\n"],
  "mappings": ";AAAA,SAAS,IAAI,IAAI,eAAe;AAChC,SAAS,sBAAsB;AAGhB,SAAR,qBAAuC,OAAO,IAAI,QAAS;AACjE,MAAK,CAAE,OAAO,UAAW;AAExB,WAAO,QAAS,GAAI,eAAgB,GAAG,EAAG;AAAA,EAC3C;AAEA,MAAK,WAAW,WAAY;AAC3B,WAAO,eAAgB,OAAO,QAAS;AAAA,EACxC;AAEA,SAAO;AAAA;AAAA,IAEN,GAAI,eAAe,YAAa;AAAA,IAChC,eAAgB,OAAO,QAAS;AAAA,IAChC;AAAA,EACD;AACD;",
  "names": []
}
