function e(e){const n=[{begin:/\$([a-zA-Z_][\w-]*)\s*\(/,className:"title function_",endsWithParent:!0,variants:[{begin:/\$([a-zA-Z_][\w-]*)\s*\(/,end:/\(/,returnBegin:!0,excludeEnd:!0,relevance:10}]},{begin:/\b(bind|use|transition|in|out|animate|class|style):/gm,className:"variable",relevance:10}];return{subLanguage:"xml",contains:[e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:/<script(?!.*lang=["']ts["'])>/gm,end:/<\/script>/gm,subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,contains:n},{begin:/<script\s+lang=["']ts["']>/gm,end:/<\/script>/gm,subLanguage:"typescript",excludeBegin:!0,excludeEnd:!0,contains:n},{begin:/^(\s*)(<style.*>)/gm,end:/^(\s*)(<\/style>)/gm,subLanguage:"css",excludeBegin:!0,excludeEnd:!0},{begin:/\{/,end:/\}/,subLanguage:"javascript",contains:[e.COMMENT(/\/\*/,/\*\//),{begin:/\{/,end:/\}/,skip:!0},{begin:/[#@/][a-zA-Z_][\w-]*/,className:"keyword",relevance:10}]}]}}export{e as default};
