{"version":3,"sources":["globals/directives/if-non-empty.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAIH;;;GAGG;AACH,wBAAiF","file":"if-non-empty.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { ifDefined } from 'lit-html/directives/if-defined';\n\n/**\n * A variant of `if-non-null` which stops rendering if the given value is an emptry string in addition to `null`/`undefined`.\n * @param The value.\n */\nexport default value => ifDefined(value === '' ? undefined : value ?? undefined);\n"]}