{"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import { Powerstyl } from \"./lib/powerstyl.ts\";\nimport { unnest } from \"unnestcss\";\n\nexport class NestablePowerstyl extends Powerstyl {\n  transform(s: string): string {\n    return unnest(s);\n  }\n}\n\nconst defaultInstance = new NestablePowerstyl();\n\nexport const styled: NestablePowerstyl[\"styled\"] = defaultInstance.styled.bind(defaultInstance);\nexport const updateStyle: NestablePowerstyl[\"updateStyle\"] = defaultInstance.updateStyle.bind(defaultInstance);\n\nexport * from \"./lib/powerstyl.ts\";\n"],"names":["NestablePowerstyl","Powerstyl","unnest","s","defaultInstance","styled","updateStyle"],"mappings":"yEAGO,MAAMA,UAA0BC,EAAAA,SAAU,CAC/C,UAAU,EAAmB,CAC3B,OAAOC,EAAAA,OAAOC,EAAE,EAIpB,MAAMC,EAAkB,IAAIJ,EAEfK,EAAsCD,EAAgB,OAAO,KAAKA,EAAA,CAClEE,EAAgDF,EAAgB,YAAY,KAAKA,EAAA"}