{"version":3,"file":"create-template-part-id.mjs","names":[],"sources":["../../../../src/template-part/edit/utils/create-template-part-id.js"],"sourcesContent":["/**\n * Generates a template part Id based on slug and theme inputs.\n *\n * @param {string} theme the template part's theme.\n * @param {string} slug  the template part's slug\n * @return {string|null} the template part's Id.\n */\nexport function createTemplatePartId( theme, slug ) {\n\treturn theme && slug ? theme + '//' + slug : null;\n}\n"],"mappings":";;;;;;;;AAOA,SAAgB,qBAAsB,OAAO,MAAO;CACnD,OAAO,SAAS,OAAO,QAAQ,OAAO,OAAO;AAC9C"}