{"version":3,"file":"generateKey.mjs","sources":["../../../../src/vanilla/utils/generateKey.ts"],"sourcesContent":["const prefix = `$q$`\nlet idCount = 0\n\nexport const generatekey = () => {\n  return `${prefix}${++idCount}`\n}\n\nexport const isGeneratedKey = (key: string) => {\n  return key.startsWith(prefix)\n}\n"],"names":["prefix","idCount","generatekey","isGeneratedKey","key","startsWith"],"mappings":"AAAA,MAAMA,MAAM,GAAQ,KAAA,CAAA;AACpB,IAAIC,OAAO,GAAG,CAAC,CAAA;AAEFC,MAAAA,WAAW,GAAGA,MAAM;EAC/B,OAAUF,EAAAA,GAAAA,MAAM,GAAG,EAAEC,OAAO,CAAA;AAC9B,EAAC;AAEYE,MAAAA,cAAc,GAAIC,GAAW,IAAK;AAC7C,EAAA,OAAOA,GAAG,CAACC,UAAU,CAACL,MAAM,CAAC,CAAA;AAC/B;;;;"}