langgraph-ui-components 0.0.25 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +515 -55
- package/dist/_virtual/index.cjs.js +1 -1
- package/dist/_virtual/index.cjs2.js +1 -1
- package/dist/_virtual/index.cjs3.js +1 -1
- package/dist/_virtual/index.es.js +5 -2
- package/dist/_virtual/index.es2.js +4 -2
- package/dist/_virtual/index.es2.js.map +1 -1
- package/dist/_virtual/index.es3.js +4 -4
- package/dist/assets/langgraph-ui-components.css +1 -1
- package/dist/components/ChatBody.cjs.js +2 -2
- package/dist/components/ChatBody.cjs.js.map +1 -1
- package/dist/components/ChatBody.d.ts.map +1 -1
- package/dist/components/ChatBody.es.js +208 -142
- package/dist/components/ChatBody.es.js.map +1 -1
- package/dist/components/TodoList.cjs.js +2 -0
- package/dist/components/TodoList.cjs.js.map +1 -0
- package/dist/components/TodoList.d.ts +5 -0
- package/dist/components/TodoList.d.ts.map +1 -0
- package/dist/components/TodoList.es.js +65 -0
- package/dist/components/TodoList.es.js.map +1 -0
- package/dist/components/messages/AgentMessage.cjs.js +3 -1
- package/dist/components/messages/AgentMessage.cjs.js.map +1 -1
- package/dist/components/messages/AgentMessage.d.ts +5 -1
- package/dist/components/messages/AgentMessage.d.ts.map +1 -1
- package/dist/components/messages/AgentMessage.es.js +200 -112
- package/dist/components/messages/AgentMessage.es.js.map +1 -1
- package/dist/components/messages/CustomComponentRender.cjs.js.map +1 -1
- package/dist/components/messages/CustomComponentRender.es.js.map +1 -1
- package/dist/components/ui/syntax-highlighter.cjs.js +1 -1
- package/dist/components/ui/syntax-highlighter.cjs.js.map +1 -1
- package/dist/components/ui/syntax-highlighter.es.js +1 -1
- package/dist/entries/components.cjs.js +1 -1
- package/dist/entries/components.d.ts.map +1 -1
- package/dist/entries/components.es.js +4 -5
- package/dist/entries/components.es.js.map +1 -1
- package/dist/entries/hooks.cjs.js +1 -1
- package/dist/entries/hooks.d.ts.map +1 -1
- package/dist/entries/hooks.es.js +5 -6
- package/dist/entries/hooks.es.js.map +1 -1
- package/dist/entries/providers.cjs.js +1 -1
- package/dist/entries/providers.d.ts +1 -1
- package/dist/entries/providers.d.ts.map +1 -1
- package/dist/entries/providers.es.js +18 -19
- package/dist/entries/providers.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +28 -29
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.cjs.js +1 -1
- package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.es.js +1 -1
- package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.cjs.js +1 -1
- package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.es.js +1 -1
- package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.cjs.js +1 -1
- package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.es.js +1 -1
- package/dist/pages/Chat/Chat.cjs.js +1 -1
- package/dist/pages/Chat/Chat.cjs.js.map +1 -1
- package/dist/pages/Chat/Chat.d.ts.map +1 -1
- package/dist/pages/Chat/Chat.es.js +41 -34
- package/dist/pages/Chat/Chat.es.js.map +1 -1
- package/dist/pages/Sidebar/sidebar.cjs.js +1 -1
- package/dist/pages/Sidebar/sidebar.cjs.js.map +1 -1
- package/dist/pages/Sidebar/sidebar.d.ts.map +1 -1
- package/dist/pages/Sidebar/sidebar.es.js +75 -70
- package/dist/pages/Sidebar/sidebar.es.js.map +1 -1
- package/dist/providers/ChatProvider.cjs.js +1 -1
- package/dist/providers/ChatProvider.cjs.js.map +1 -1
- package/dist/providers/ChatProvider.d.ts +17 -1
- package/dist/providers/ChatProvider.d.ts.map +1 -1
- package/dist/providers/ChatProvider.es.js +18 -17
- package/dist/providers/ChatProvider.es.js.map +1 -1
- package/dist/providers/ChatRuntime.es.js +4 -4
- package/dist/providers/CustomComponentProvider.cjs.js +1 -1
- package/dist/providers/CustomComponentProvider.cjs.js.map +1 -1
- package/dist/providers/CustomComponentProvider.d.ts +11 -0
- package/dist/providers/CustomComponentProvider.d.ts.map +1 -1
- package/dist/providers/CustomComponentProvider.es.js +51 -35
- package/dist/providers/CustomComponentProvider.es.js.map +1 -1
- package/dist/providers/Stream.cjs.js +1 -1
- package/dist/providers/Stream.cjs.js.map +1 -1
- package/dist/providers/Stream.d.ts +40 -8
- package/dist/providers/Stream.d.ts.map +1 -1
- package/dist/providers/Stream.es.js +151 -119
- package/dist/providers/Stream.es.js.map +1 -1
- package/dist/providers/Thread.cjs.js +1 -1
- package/dist/providers/Thread.cjs.js.map +1 -1
- package/dist/providers/Thread.d.ts +2 -1
- package/dist/providers/Thread.d.ts.map +1 -1
- package/dist/providers/Thread.es.js +19 -19
- package/dist/providers/Thread.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +17 -1
- package/src/App.tsx +4 -4
- package/src/components/ChatBody.tsx +229 -78
- package/src/components/TodoList.tsx +72 -0
- package/src/components/messages/AgentMessage.tsx +288 -82
- package/src/components/messages/CustomComponentRender.tsx +1 -1
- package/src/entries/components.ts +0 -2
- package/src/entries/hooks.ts +0 -2
- package/src/entries/providers.ts +1 -3
- package/src/index.css +2 -2
- package/src/index.ts +2 -4
- package/src/pages/Chat/Chat.tsx +13 -3
- package/src/pages/Sidebar/sidebar.tsx +12 -3
- package/src/providers/ChatProvider.tsx +18 -1
- package/src/providers/CustomComponentProvider.tsx +41 -0
- package/src/providers/Stream.tsx +88 -25
- package/src/providers/Thread.tsx +2 -2
- package/dist/_virtual/index.cjs10.js +0 -2
- package/dist/_virtual/index.cjs10.js.map +0 -1
- package/dist/_virtual/index.cjs11.js +0 -2
- package/dist/_virtual/index.cjs11.js.map +0 -1
- package/dist/_virtual/index.cjs12.js +0 -2
- package/dist/_virtual/index.cjs12.js.map +0 -1
- package/dist/_virtual/index.cjs4.js +0 -2
- package/dist/_virtual/index.cjs4.js.map +0 -1
- package/dist/_virtual/index.cjs5.js +0 -2
- package/dist/_virtual/index.cjs5.js.map +0 -1
- package/dist/_virtual/index.cjs6.js +0 -2
- package/dist/_virtual/index.cjs6.js.map +0 -1
- package/dist/_virtual/index.cjs7.js +0 -2
- package/dist/_virtual/index.cjs7.js.map +0 -1
- package/dist/_virtual/index.cjs8.js +0 -2
- package/dist/_virtual/index.cjs8.js.map +0 -1
- package/dist/_virtual/index.cjs9.js +0 -2
- package/dist/_virtual/index.cjs9.js.map +0 -1
- package/dist/_virtual/index.es10.js +0 -8
- package/dist/_virtual/index.es10.js.map +0 -1
- package/dist/_virtual/index.es11.js +0 -5
- package/dist/_virtual/index.es11.js.map +0 -1
- package/dist/_virtual/index.es12.js +0 -8
- package/dist/_virtual/index.es12.js.map +0 -1
- package/dist/_virtual/index.es4.js +0 -6
- package/dist/_virtual/index.es4.js.map +0 -1
- package/dist/_virtual/index.es5.js +0 -5
- package/dist/_virtual/index.es5.js.map +0 -1
- package/dist/_virtual/index.es6.js +0 -5
- package/dist/_virtual/index.es6.js.map +0 -1
- package/dist/_virtual/index.es7.js +0 -5
- package/dist/_virtual/index.es7.js.map +0 -1
- package/dist/_virtual/index.es8.js +0 -5
- package/dist/_virtual/index.es8.js.map +0 -1
- package/dist/_virtual/index.es9.js +0 -5
- package/dist/_virtual/index.es9.js.map +0 -1
- package/dist/_virtual/lower-bound.cjs.js +0 -2
- package/dist/_virtual/lower-bound.cjs.js.map +0 -1
- package/dist/_virtual/lower-bound.es.js +0 -5
- package/dist/_virtual/lower-bound.es.js.map +0 -1
- package/dist/_virtual/priority-queue.cjs.js +0 -2
- package/dist/_virtual/priority-queue.cjs.js.map +0 -1
- package/dist/_virtual/priority-queue.es.js +0 -5
- package/dist/_virtual/priority-queue.es.js.map +0 -1
- package/dist/_virtual/re.cjs.js +0 -2
- package/dist/_virtual/re.cjs.js.map +0 -1
- package/dist/_virtual/re.es.js +0 -5
- package/dist/_virtual/re.es.js.map +0 -1
- package/dist/components/ToolCallFunctions.cjs.js +0 -2
- package/dist/components/ToolCallFunctions.cjs.js.map +0 -1
- package/dist/components/ToolCallFunctions.es.js +0 -75
- package/dist/components/ToolCallFunctions.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.es.js +0 -12
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.es.js +0 -66
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/errors/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.es.js +0 -283
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/anthropic.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.es.js +0 -219
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.es.js +0 -42
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/data.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/deepseek.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/deepseek.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/deepseek.es.js +0 -31
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/deepseek.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google.es.js +0 -77
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.es.js +0 -78
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_genai.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.es.js +0 -75
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/groq.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/groq.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/groq.es.js +0 -51
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/groq.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.es.js +0 -23
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/ollama.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/ollama.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/ollama.es.js +0 -31
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/ollama.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.es.js +0 -241
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/openai.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/utils.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/utils.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/utils.es.js +0 -37
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/utils.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/xai.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/xai.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/xai.es.js +0 -42
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/block_translators/xai.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.es.js +0 -16
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/messages/content/data.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.es.js +0 -9
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/tracers/console.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.es.js +0 -3
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.es.js +0 -230
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.cjs.js +0 -3
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.es.js +0 -87
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json.cjs.js +0 -3
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json.es.js +0 -133
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/json.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/namespace.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/namespace.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/namespace.es.js +0 -29
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/namespace.es.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/sax-js/sax.cjs.js +0 -10
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/sax-js/sax.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/sax-js/sax.es.js +0 -795
- package/dist/node_modules/.pnpm/@langchain_core@1.1.33_openai@6.16.0_zod@4.3.5_/node_modules/@langchain/core/dist/utils/sax-js/sax.es.js.map +0 -1
- package/dist/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.es.js +0 -111
- package/dist/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/camelcase@6.3.0/node_modules/camelcase/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/camelcase@6.3.0/node_modules/camelcase/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/camelcase@6.3.0/node_modules/camelcase/index.es.js +0 -30
- package/dist/node_modules/.pnpm/camelcase@6.3.0/node_modules/camelcase/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.es.js +0 -112
- package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.cjs.js +0 -2
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.es.js +0 -3
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/_uuid.es.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.es.js +0 -6
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fs.browser.cjs.js +0 -2
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fs.browser.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fs.browser.es.js +0 -14
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/fs.browser.es.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-queue.cjs.js +0 -2
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-queue.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-queue.es.js +0 -3
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/p-queue.es.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompt_cache/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompt_cache/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompt_cache/index.es.js +0 -200
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/prompt_cache/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/xxhash/xxhash.cjs.js +0 -2
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/xxhash/xxhash.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/xxhash/xxhash.es.js +0 -22
- package/dist/node_modules/.pnpm/langsmith@0.5.10_openai@6.16.0_zod@4.3.5_/node_modules/langsmith/dist/utils/xxhash/xxhash.es.js.map +0 -1
- package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.es.js +0 -18
- package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.es.js +0 -198
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs.js +0 -2
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.es.js +0 -20
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.es.js.map +0 -1
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs.js +0 -2
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.es.js +0 -41
- package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.es.js.map +0 -1
- package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.es.js +0 -45
- package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.es.js +0 -57
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.es.js +0 -149
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.es.js +0 -170
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.es.js +0 -15
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.es.js +0 -40
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.es.js +0 -34
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.es.js +0 -15
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.es.js +0 -25
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.es.js +0 -22
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.es.js +0 -22
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.es.js +0 -15
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.es.js +0 -19
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.es.js +0 -15
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.es.js +0 -98
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.es.js +0 -29
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.es.js +0 -9
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.es.js +0 -19
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.es.js +0 -33
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.es.js +0 -11
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.es.js +0 -33
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.es.js +0 -23
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.es.js +0 -23
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.es.js +0 -43
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.es.js +0 -45
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.es.js +0 -25
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.es.js +0 -95
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.es.js +0 -12
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.es.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.cjs.js +0 -2
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.es.js +0 -18
- package/dist/node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.es.js.map +0 -1
|
@@ -1,795 +0,0 @@
|
|
|
1
|
-
const nt = function() {
|
|
2
|
-
const s = {};
|
|
3
|
-
s.parser = function(e, t) {
|
|
4
|
-
return new A(e, t);
|
|
5
|
-
}, s.SAXParser = A, s.SAXStream = N, s.createStream = j, s.MAX_BUFFER_LENGTH = 65536;
|
|
6
|
-
const D = [
|
|
7
|
-
"comment",
|
|
8
|
-
"sgmlDecl",
|
|
9
|
-
"textNode",
|
|
10
|
-
"tagName",
|
|
11
|
-
"doctype",
|
|
12
|
-
"procInstName",
|
|
13
|
-
"procInstBody",
|
|
14
|
-
"entity",
|
|
15
|
-
"attribName",
|
|
16
|
-
"attribValue",
|
|
17
|
-
"cdata",
|
|
18
|
-
"script"
|
|
19
|
-
];
|
|
20
|
-
s.EVENTS = [
|
|
21
|
-
"text",
|
|
22
|
-
"processinginstruction",
|
|
23
|
-
"sgmldeclaration",
|
|
24
|
-
"doctype",
|
|
25
|
-
"comment",
|
|
26
|
-
"opentagstart",
|
|
27
|
-
"attribute",
|
|
28
|
-
"opentag",
|
|
29
|
-
"closetag",
|
|
30
|
-
"opencdata",
|
|
31
|
-
"cdata",
|
|
32
|
-
"closecdata",
|
|
33
|
-
"error",
|
|
34
|
-
"end",
|
|
35
|
-
"ready",
|
|
36
|
-
"script",
|
|
37
|
-
"opennamespace",
|
|
38
|
-
"closenamespace"
|
|
39
|
-
];
|
|
40
|
-
function A(e, t) {
|
|
41
|
-
if (!(this instanceof A)) return new A(e, t);
|
|
42
|
-
var n = this;
|
|
43
|
-
Q(n), n.q = n.c = "", n.bufferCheckPosition = s.MAX_BUFFER_LENGTH, n.opt = t || {}, n.opt.lowercase = n.opt.lowercase || n.opt.lowercasetags, n.looseCase = n.opt.lowercase ? "toLowerCase" : "toUpperCase", n.tags = [], n.closed = n.closedRoot = n.sawRoot = !1, n.tag = n.error = null, n.strict = !!e, n.noscript = !!(e || n.opt.noscript), n.state = a.BEGIN, n.strictEntities = n.opt.strictEntities, n.ENTITIES = n.strictEntities ? Object.create(s.XML_ENTITIES) : Object.create(s.ENTITIES), n.attribList = [], n.opt.xmlns && (n.ns = Object.create(Z)), n.trackPosition = n.opt.position !== !1, n.trackPosition && (n.position = n.line = n.column = 0), h(n, "onready");
|
|
44
|
-
}
|
|
45
|
-
Object.create || (Object.create = function(e) {
|
|
46
|
-
function t() {
|
|
47
|
-
}
|
|
48
|
-
return t.prototype = e, new t();
|
|
49
|
-
}), Object.keys || (Object.keys = function(e) {
|
|
50
|
-
var t = [];
|
|
51
|
-
for (var n in e) e.hasOwnProperty(n) && t.push(n);
|
|
52
|
-
return t;
|
|
53
|
-
});
|
|
54
|
-
function W(e) {
|
|
55
|
-
for (var t = Math.max(s.MAX_BUFFER_LENGTH, 10), n = 0, i = 0, o = D.length; i < o; i++) {
|
|
56
|
-
var l = e[D[i]].length;
|
|
57
|
-
if (l > t) switch (D[i]) {
|
|
58
|
-
case "textNode":
|
|
59
|
-
O(e);
|
|
60
|
-
break;
|
|
61
|
-
case "cdata":
|
|
62
|
-
u(e, "oncdata", e.cdata), e.cdata = "";
|
|
63
|
-
break;
|
|
64
|
-
case "script":
|
|
65
|
-
u(e, "onscript", e.script), e.script = "";
|
|
66
|
-
break;
|
|
67
|
-
default:
|
|
68
|
-
v(e, "Max buffer length exceeded: " + D[i]);
|
|
69
|
-
}
|
|
70
|
-
n = Math.max(n, l);
|
|
71
|
-
}
|
|
72
|
-
e.bufferCheckPosition = s.MAX_BUFFER_LENGTH - n + e.position;
|
|
73
|
-
}
|
|
74
|
-
function Q(e) {
|
|
75
|
-
for (var t = 0, n = D.length; t < n; t++) e[D[t]] = "";
|
|
76
|
-
}
|
|
77
|
-
function H(e) {
|
|
78
|
-
O(e), e.cdata !== "" && (u(e, "oncdata", e.cdata), e.cdata = ""), e.script !== "" && (u(e, "onscript", e.script), e.script = "");
|
|
79
|
-
}
|
|
80
|
-
A.prototype = {
|
|
81
|
-
end: function() {
|
|
82
|
-
G(this);
|
|
83
|
-
},
|
|
84
|
-
write: it,
|
|
85
|
-
resume: function() {
|
|
86
|
-
return this.error = null, this;
|
|
87
|
-
},
|
|
88
|
-
close: function() {
|
|
89
|
-
return this.write(null);
|
|
90
|
-
},
|
|
91
|
-
flush: function() {
|
|
92
|
-
H(this);
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
var b = ReadableStream;
|
|
96
|
-
b || (b = function() {
|
|
97
|
-
});
|
|
98
|
-
var B = s.EVENTS.filter(function(e) {
|
|
99
|
-
return e !== "error" && e !== "end";
|
|
100
|
-
});
|
|
101
|
-
function j(e, t) {
|
|
102
|
-
return new N(e, t);
|
|
103
|
-
}
|
|
104
|
-
function N(e, t) {
|
|
105
|
-
if (!(this instanceof N)) return new N(e, t);
|
|
106
|
-
b.apply(this), this._parser = new A(e, t), this.writable = !0, this.readable = !0;
|
|
107
|
-
var n = this;
|
|
108
|
-
this._parser.onend = function() {
|
|
109
|
-
n.emit("end");
|
|
110
|
-
}, this._parser.onerror = function(i) {
|
|
111
|
-
n.emit("error", i), n._parser.error = null;
|
|
112
|
-
}, this._decoder = null, B.forEach(function(i) {
|
|
113
|
-
Object.defineProperty(n, "on" + i, {
|
|
114
|
-
get: function() {
|
|
115
|
-
return n._parser["on" + i];
|
|
116
|
-
},
|
|
117
|
-
set: function(o) {
|
|
118
|
-
if (!o)
|
|
119
|
-
return n.removeAllListeners(i), n._parser["on" + i] = o, o;
|
|
120
|
-
n.on(i, o);
|
|
121
|
-
},
|
|
122
|
-
enumerable: !0,
|
|
123
|
-
configurable: !1
|
|
124
|
-
});
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
N.prototype = Object.create(b.prototype, { constructor: { value: N } }), N.prototype.write = function(e) {
|
|
128
|
-
return this._parser.write(e.toString()), this.emit("data", e), !0;
|
|
129
|
-
}, N.prototype.end = function(e) {
|
|
130
|
-
return e && e.length && this.write(e), this._parser.end(), !0;
|
|
131
|
-
}, N.prototype.on = function(e, t) {
|
|
132
|
-
var n = this;
|
|
133
|
-
return !n._parser["on" + e] && B.indexOf(e) !== -1 && (n._parser["on" + e] = function() {
|
|
134
|
-
var i = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
|
|
135
|
-
i.splice(0, 0, e), n.emit.apply(n, i);
|
|
136
|
-
}), b.prototype.on.call(n, e, t);
|
|
137
|
-
};
|
|
138
|
-
var k = "[CDATA[", z = "DOCTYPE", F = "http://www.w3.org/XML/1998/namespace", y = "http://www.w3.org/2000/xmlns/", Z = {
|
|
139
|
-
xml: F,
|
|
140
|
-
xmlns: y
|
|
141
|
-
}, C = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, R = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, K = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, J = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
|
|
142
|
-
function T(e) {
|
|
143
|
-
return e === " " || e === `
|
|
144
|
-
` || e === "\r" || e === " ";
|
|
145
|
-
}
|
|
146
|
-
function S(e) {
|
|
147
|
-
return e === '"' || e === "'";
|
|
148
|
-
}
|
|
149
|
-
function $(e) {
|
|
150
|
-
return e === ">" || T(e);
|
|
151
|
-
}
|
|
152
|
-
function _(e, t) {
|
|
153
|
-
return e.test(t);
|
|
154
|
-
}
|
|
155
|
-
function tt(e, t) {
|
|
156
|
-
return !_(e, t);
|
|
157
|
-
}
|
|
158
|
-
var a = 0;
|
|
159
|
-
s.STATE = {
|
|
160
|
-
BEGIN: a++,
|
|
161
|
-
BEGIN_WHITESPACE: a++,
|
|
162
|
-
TEXT: a++,
|
|
163
|
-
TEXT_ENTITY: a++,
|
|
164
|
-
OPEN_WAKA: a++,
|
|
165
|
-
SGML_DECL: a++,
|
|
166
|
-
SGML_DECL_QUOTED: a++,
|
|
167
|
-
DOCTYPE: a++,
|
|
168
|
-
DOCTYPE_QUOTED: a++,
|
|
169
|
-
DOCTYPE_DTD: a++,
|
|
170
|
-
DOCTYPE_DTD_QUOTED: a++,
|
|
171
|
-
COMMENT_STARTING: a++,
|
|
172
|
-
COMMENT: a++,
|
|
173
|
-
COMMENT_ENDING: a++,
|
|
174
|
-
COMMENT_ENDED: a++,
|
|
175
|
-
CDATA: a++,
|
|
176
|
-
CDATA_ENDING: a++,
|
|
177
|
-
CDATA_ENDING_2: a++,
|
|
178
|
-
PROC_INST: a++,
|
|
179
|
-
PROC_INST_BODY: a++,
|
|
180
|
-
PROC_INST_ENDING: a++,
|
|
181
|
-
OPEN_TAG: a++,
|
|
182
|
-
OPEN_TAG_SLASH: a++,
|
|
183
|
-
ATTRIB: a++,
|
|
184
|
-
ATTRIB_NAME: a++,
|
|
185
|
-
ATTRIB_NAME_SAW_WHITE: a++,
|
|
186
|
-
ATTRIB_VALUE: a++,
|
|
187
|
-
ATTRIB_VALUE_QUOTED: a++,
|
|
188
|
-
ATTRIB_VALUE_CLOSED: a++,
|
|
189
|
-
ATTRIB_VALUE_UNQUOTED: a++,
|
|
190
|
-
ATTRIB_VALUE_ENTITY_Q: a++,
|
|
191
|
-
ATTRIB_VALUE_ENTITY_U: a++,
|
|
192
|
-
CLOSE_TAG: a++,
|
|
193
|
-
CLOSE_TAG_SAW_WHITE: a++,
|
|
194
|
-
SCRIPT: a++,
|
|
195
|
-
SCRIPT_ENDING: a++
|
|
196
|
-
}, s.XML_ENTITIES = {
|
|
197
|
-
amp: "&",
|
|
198
|
-
gt: ">",
|
|
199
|
-
lt: "<",
|
|
200
|
-
quot: '"',
|
|
201
|
-
apos: "'"
|
|
202
|
-
}, s.ENTITIES = {
|
|
203
|
-
amp: "&",
|
|
204
|
-
gt: ">",
|
|
205
|
-
lt: "<",
|
|
206
|
-
quot: '"',
|
|
207
|
-
apos: "'",
|
|
208
|
-
AElig: 198,
|
|
209
|
-
Aacute: 193,
|
|
210
|
-
Acirc: 194,
|
|
211
|
-
Agrave: 192,
|
|
212
|
-
Aring: 197,
|
|
213
|
-
Atilde: 195,
|
|
214
|
-
Auml: 196,
|
|
215
|
-
Ccedil: 199,
|
|
216
|
-
ETH: 208,
|
|
217
|
-
Eacute: 201,
|
|
218
|
-
Ecirc: 202,
|
|
219
|
-
Egrave: 200,
|
|
220
|
-
Euml: 203,
|
|
221
|
-
Iacute: 205,
|
|
222
|
-
Icirc: 206,
|
|
223
|
-
Igrave: 204,
|
|
224
|
-
Iuml: 207,
|
|
225
|
-
Ntilde: 209,
|
|
226
|
-
Oacute: 211,
|
|
227
|
-
Ocirc: 212,
|
|
228
|
-
Ograve: 210,
|
|
229
|
-
Oslash: 216,
|
|
230
|
-
Otilde: 213,
|
|
231
|
-
Ouml: 214,
|
|
232
|
-
THORN: 222,
|
|
233
|
-
Uacute: 218,
|
|
234
|
-
Ucirc: 219,
|
|
235
|
-
Ugrave: 217,
|
|
236
|
-
Uuml: 220,
|
|
237
|
-
Yacute: 221,
|
|
238
|
-
aacute: 225,
|
|
239
|
-
acirc: 226,
|
|
240
|
-
aelig: 230,
|
|
241
|
-
agrave: 224,
|
|
242
|
-
aring: 229,
|
|
243
|
-
atilde: 227,
|
|
244
|
-
auml: 228,
|
|
245
|
-
ccedil: 231,
|
|
246
|
-
eacute: 233,
|
|
247
|
-
ecirc: 234,
|
|
248
|
-
egrave: 232,
|
|
249
|
-
eth: 240,
|
|
250
|
-
euml: 235,
|
|
251
|
-
iacute: 237,
|
|
252
|
-
icirc: 238,
|
|
253
|
-
igrave: 236,
|
|
254
|
-
iuml: 239,
|
|
255
|
-
ntilde: 241,
|
|
256
|
-
oacute: 243,
|
|
257
|
-
ocirc: 244,
|
|
258
|
-
ograve: 242,
|
|
259
|
-
oslash: 248,
|
|
260
|
-
otilde: 245,
|
|
261
|
-
ouml: 246,
|
|
262
|
-
szlig: 223,
|
|
263
|
-
thorn: 254,
|
|
264
|
-
uacute: 250,
|
|
265
|
-
ucirc: 251,
|
|
266
|
-
ugrave: 249,
|
|
267
|
-
uuml: 252,
|
|
268
|
-
yacute: 253,
|
|
269
|
-
yuml: 255,
|
|
270
|
-
copy: 169,
|
|
271
|
-
reg: 174,
|
|
272
|
-
nbsp: 160,
|
|
273
|
-
iexcl: 161,
|
|
274
|
-
cent: 162,
|
|
275
|
-
pound: 163,
|
|
276
|
-
curren: 164,
|
|
277
|
-
yen: 165,
|
|
278
|
-
brvbar: 166,
|
|
279
|
-
sect: 167,
|
|
280
|
-
uml: 168,
|
|
281
|
-
ordf: 170,
|
|
282
|
-
laquo: 171,
|
|
283
|
-
not: 172,
|
|
284
|
-
shy: 173,
|
|
285
|
-
macr: 175,
|
|
286
|
-
deg: 176,
|
|
287
|
-
plusmn: 177,
|
|
288
|
-
sup1: 185,
|
|
289
|
-
sup2: 178,
|
|
290
|
-
sup3: 179,
|
|
291
|
-
acute: 180,
|
|
292
|
-
micro: 181,
|
|
293
|
-
para: 182,
|
|
294
|
-
middot: 183,
|
|
295
|
-
cedil: 184,
|
|
296
|
-
ordm: 186,
|
|
297
|
-
raquo: 187,
|
|
298
|
-
frac14: 188,
|
|
299
|
-
frac12: 189,
|
|
300
|
-
frac34: 190,
|
|
301
|
-
iquest: 191,
|
|
302
|
-
times: 215,
|
|
303
|
-
divide: 247,
|
|
304
|
-
OElig: 338,
|
|
305
|
-
oelig: 339,
|
|
306
|
-
Scaron: 352,
|
|
307
|
-
scaron: 353,
|
|
308
|
-
Yuml: 376,
|
|
309
|
-
fnof: 402,
|
|
310
|
-
circ: 710,
|
|
311
|
-
tilde: 732,
|
|
312
|
-
Alpha: 913,
|
|
313
|
-
Beta: 914,
|
|
314
|
-
Gamma: 915,
|
|
315
|
-
Delta: 916,
|
|
316
|
-
Epsilon: 917,
|
|
317
|
-
Zeta: 918,
|
|
318
|
-
Eta: 919,
|
|
319
|
-
Theta: 920,
|
|
320
|
-
Iota: 921,
|
|
321
|
-
Kappa: 922,
|
|
322
|
-
Lambda: 923,
|
|
323
|
-
Mu: 924,
|
|
324
|
-
Nu: 925,
|
|
325
|
-
Xi: 926,
|
|
326
|
-
Omicron: 927,
|
|
327
|
-
Pi: 928,
|
|
328
|
-
Rho: 929,
|
|
329
|
-
Sigma: 931,
|
|
330
|
-
Tau: 932,
|
|
331
|
-
Upsilon: 933,
|
|
332
|
-
Phi: 934,
|
|
333
|
-
Chi: 935,
|
|
334
|
-
Psi: 936,
|
|
335
|
-
Omega: 937,
|
|
336
|
-
alpha: 945,
|
|
337
|
-
beta: 946,
|
|
338
|
-
gamma: 947,
|
|
339
|
-
delta: 948,
|
|
340
|
-
epsilon: 949,
|
|
341
|
-
zeta: 950,
|
|
342
|
-
eta: 951,
|
|
343
|
-
theta: 952,
|
|
344
|
-
iota: 953,
|
|
345
|
-
kappa: 954,
|
|
346
|
-
lambda: 955,
|
|
347
|
-
mu: 956,
|
|
348
|
-
nu: 957,
|
|
349
|
-
xi: 958,
|
|
350
|
-
omicron: 959,
|
|
351
|
-
pi: 960,
|
|
352
|
-
rho: 961,
|
|
353
|
-
sigmaf: 962,
|
|
354
|
-
sigma: 963,
|
|
355
|
-
tau: 964,
|
|
356
|
-
upsilon: 965,
|
|
357
|
-
phi: 966,
|
|
358
|
-
chi: 967,
|
|
359
|
-
psi: 968,
|
|
360
|
-
omega: 969,
|
|
361
|
-
thetasym: 977,
|
|
362
|
-
upsih: 978,
|
|
363
|
-
piv: 982,
|
|
364
|
-
ensp: 8194,
|
|
365
|
-
emsp: 8195,
|
|
366
|
-
thinsp: 8201,
|
|
367
|
-
zwnj: 8204,
|
|
368
|
-
zwj: 8205,
|
|
369
|
-
lrm: 8206,
|
|
370
|
-
rlm: 8207,
|
|
371
|
-
ndash: 8211,
|
|
372
|
-
mdash: 8212,
|
|
373
|
-
lsquo: 8216,
|
|
374
|
-
rsquo: 8217,
|
|
375
|
-
sbquo: 8218,
|
|
376
|
-
ldquo: 8220,
|
|
377
|
-
rdquo: 8221,
|
|
378
|
-
bdquo: 8222,
|
|
379
|
-
dagger: 8224,
|
|
380
|
-
Dagger: 8225,
|
|
381
|
-
bull: 8226,
|
|
382
|
-
hellip: 8230,
|
|
383
|
-
permil: 8240,
|
|
384
|
-
prime: 8242,
|
|
385
|
-
Prime: 8243,
|
|
386
|
-
lsaquo: 8249,
|
|
387
|
-
rsaquo: 8250,
|
|
388
|
-
oline: 8254,
|
|
389
|
-
frasl: 8260,
|
|
390
|
-
euro: 8364,
|
|
391
|
-
image: 8465,
|
|
392
|
-
weierp: 8472,
|
|
393
|
-
real: 8476,
|
|
394
|
-
trade: 8482,
|
|
395
|
-
alefsym: 8501,
|
|
396
|
-
larr: 8592,
|
|
397
|
-
uarr: 8593,
|
|
398
|
-
rarr: 8594,
|
|
399
|
-
darr: 8595,
|
|
400
|
-
harr: 8596,
|
|
401
|
-
crarr: 8629,
|
|
402
|
-
lArr: 8656,
|
|
403
|
-
uArr: 8657,
|
|
404
|
-
rArr: 8658,
|
|
405
|
-
dArr: 8659,
|
|
406
|
-
hArr: 8660,
|
|
407
|
-
forall: 8704,
|
|
408
|
-
part: 8706,
|
|
409
|
-
exist: 8707,
|
|
410
|
-
empty: 8709,
|
|
411
|
-
nabla: 8711,
|
|
412
|
-
isin: 8712,
|
|
413
|
-
notin: 8713,
|
|
414
|
-
ni: 8715,
|
|
415
|
-
prod: 8719,
|
|
416
|
-
sum: 8721,
|
|
417
|
-
minus: 8722,
|
|
418
|
-
lowast: 8727,
|
|
419
|
-
radic: 8730,
|
|
420
|
-
prop: 8733,
|
|
421
|
-
infin: 8734,
|
|
422
|
-
ang: 8736,
|
|
423
|
-
and: 8743,
|
|
424
|
-
or: 8744,
|
|
425
|
-
cap: 8745,
|
|
426
|
-
cup: 8746,
|
|
427
|
-
int: 8747,
|
|
428
|
-
there4: 8756,
|
|
429
|
-
sim: 8764,
|
|
430
|
-
cong: 8773,
|
|
431
|
-
asymp: 8776,
|
|
432
|
-
ne: 8800,
|
|
433
|
-
equiv: 8801,
|
|
434
|
-
le: 8804,
|
|
435
|
-
ge: 8805,
|
|
436
|
-
sub: 8834,
|
|
437
|
-
sup: 8835,
|
|
438
|
-
nsub: 8836,
|
|
439
|
-
sube: 8838,
|
|
440
|
-
supe: 8839,
|
|
441
|
-
oplus: 8853,
|
|
442
|
-
otimes: 8855,
|
|
443
|
-
perp: 8869,
|
|
444
|
-
sdot: 8901,
|
|
445
|
-
lceil: 8968,
|
|
446
|
-
rceil: 8969,
|
|
447
|
-
lfloor: 8970,
|
|
448
|
-
rfloor: 8971,
|
|
449
|
-
lang: 9001,
|
|
450
|
-
rang: 9002,
|
|
451
|
-
loz: 9674,
|
|
452
|
-
spades: 9824,
|
|
453
|
-
clubs: 9827,
|
|
454
|
-
hearts: 9829,
|
|
455
|
-
diams: 9830
|
|
456
|
-
}, Object.keys(s.ENTITIES).forEach(function(e) {
|
|
457
|
-
var t = s.ENTITIES[e], n = typeof t == "number" ? String.fromCharCode(t) : t;
|
|
458
|
-
s.ENTITIES[e] = n;
|
|
459
|
-
});
|
|
460
|
-
for (var M in s.STATE) s.STATE[s.STATE[M]] = M;
|
|
461
|
-
a = s.STATE;
|
|
462
|
-
function h(e, t, n) {
|
|
463
|
-
e[t] && e[t](n);
|
|
464
|
-
}
|
|
465
|
-
function u(e, t, n) {
|
|
466
|
-
e.textNode && O(e), h(e, t, n);
|
|
467
|
-
}
|
|
468
|
-
function O(e) {
|
|
469
|
-
e.textNode = x(e.opt, e.textNode), e.textNode && h(e, "ontext", e.textNode), e.textNode = "";
|
|
470
|
-
}
|
|
471
|
-
function x(e, t) {
|
|
472
|
-
return e.trim && (t = t.trim()), e.normalize && (t = t.replace(/\s+/g, " ")), t;
|
|
473
|
-
}
|
|
474
|
-
function v(e, t) {
|
|
475
|
-
return O(e), e.trackPosition && (t += `
|
|
476
|
-
Line: ` + e.line + `
|
|
477
|
-
Column: ` + e.column + `
|
|
478
|
-
Char: ` + e.c), t = new Error(t), e.error = t, h(e, "onerror", t), e;
|
|
479
|
-
}
|
|
480
|
-
function G(e) {
|
|
481
|
-
return e.sawRoot && !e.closedRoot && c(e, "Unclosed root tag"), e.state !== a.BEGIN && e.state !== a.BEGIN_WHITESPACE && e.state !== a.TEXT && v(e, "Unexpected end"), O(e), e.c = "", e.closed = !0, h(e, "onend"), A.call(e, e.strict, e.opt), e;
|
|
482
|
-
}
|
|
483
|
-
function c(e, t) {
|
|
484
|
-
if (typeof e != "object" || !(e instanceof A)) throw new Error("bad call to strictFail");
|
|
485
|
-
e.strict && v(e, t);
|
|
486
|
-
}
|
|
487
|
-
function et(e) {
|
|
488
|
-
e.strict || (e.tagName = e.tagName[e.looseCase]());
|
|
489
|
-
var t = e.tags[e.tags.length - 1] || e, n = e.tag = {
|
|
490
|
-
name: e.tagName,
|
|
491
|
-
attributes: {}
|
|
492
|
-
};
|
|
493
|
-
e.opt.xmlns && (n.ns = t.ns), e.attribList.length = 0, u(e, "onopentagstart", n);
|
|
494
|
-
}
|
|
495
|
-
function L(e, t) {
|
|
496
|
-
var n = e.indexOf(":") < 0 ? ["", e] : e.split(":"), i = n[0], o = n[1];
|
|
497
|
-
return t && e === "xmlns" && (i = "xmlns", o = ""), {
|
|
498
|
-
prefix: i,
|
|
499
|
-
local: o
|
|
500
|
-
};
|
|
501
|
-
}
|
|
502
|
-
function P(e) {
|
|
503
|
-
if (e.strict || (e.attribName = e.attribName[e.looseCase]()), e.attribList.indexOf(e.attribName) !== -1 || e.tag.attributes.hasOwnProperty(e.attribName)) {
|
|
504
|
-
e.attribName = e.attribValue = "";
|
|
505
|
-
return;
|
|
506
|
-
}
|
|
507
|
-
if (e.opt.xmlns) {
|
|
508
|
-
var t = L(e.attribName, !0), n = t.prefix, i = t.local;
|
|
509
|
-
if (n === "xmlns") if (i === "xml" && e.attribValue !== F) c(e, "xml: prefix must be bound to " + F + `
|
|
510
|
-
Actual: ` + e.attribValue);
|
|
511
|
-
else if (i === "xmlns" && e.attribValue !== y) c(e, "xmlns: prefix must be bound to " + y + `
|
|
512
|
-
Actual: ` + e.attribValue);
|
|
513
|
-
else {
|
|
514
|
-
var o = e.tag, l = e.tags[e.tags.length - 1] || e;
|
|
515
|
-
o.ns === l.ns && (o.ns = Object.create(l.ns)), o.ns[i] = e.attribValue;
|
|
516
|
-
}
|
|
517
|
-
e.attribList.push([e.attribName, e.attribValue]);
|
|
518
|
-
} else
|
|
519
|
-
e.tag.attributes[e.attribName] = e.attribValue, u(e, "onattribute", {
|
|
520
|
-
name: e.attribName,
|
|
521
|
-
value: e.attribValue
|
|
522
|
-
});
|
|
523
|
-
e.attribName = e.attribValue = "";
|
|
524
|
-
}
|
|
525
|
-
function g(e, t) {
|
|
526
|
-
if (e.opt.xmlns) {
|
|
527
|
-
var n = e.tag, i = L(e.tagName);
|
|
528
|
-
n.prefix = i.prefix, n.local = i.local, n.uri = n.ns[i.prefix] || "", n.prefix && !n.uri && (c(e, "Unbound namespace prefix: " + JSON.stringify(e.tagName)), n.uri = i.prefix);
|
|
529
|
-
var o = e.tags[e.tags.length - 1] || e;
|
|
530
|
-
n.ns && o.ns !== n.ns && Object.keys(n.ns).forEach(function(q) {
|
|
531
|
-
u(e, "onopennamespace", {
|
|
532
|
-
prefix: q,
|
|
533
|
-
uri: n.ns[q]
|
|
534
|
-
});
|
|
535
|
-
});
|
|
536
|
-
for (var l = 0, E = e.attribList.length; l < E; l++) {
|
|
537
|
-
var f = e.attribList[l], m = f[0], d = f[1], r = L(m, !0), I = r.prefix, at = r.local, X = I === "" ? "" : n.ns[I] || "", U = {
|
|
538
|
-
name: m,
|
|
539
|
-
value: d,
|
|
540
|
-
prefix: I,
|
|
541
|
-
local: at,
|
|
542
|
-
uri: X
|
|
543
|
-
};
|
|
544
|
-
I && I !== "xmlns" && !X && (c(e, "Unbound namespace prefix: " + JSON.stringify(I)), U.uri = I), e.tag.attributes[m] = U, u(e, "onattribute", U);
|
|
545
|
-
}
|
|
546
|
-
e.attribList.length = 0;
|
|
547
|
-
}
|
|
548
|
-
e.tag.isSelfClosing = !!t, e.sawRoot = !0, e.tags.push(e.tag), u(e, "onopentag", e.tag), t || (!e.noscript && e.tagName.toLowerCase() === "script" ? e.state = a.SCRIPT : e.state = a.TEXT, e.tag = null, e.tagName = ""), e.attribName = e.attribValue = "", e.attribList.length = 0;
|
|
549
|
-
}
|
|
550
|
-
function w(e) {
|
|
551
|
-
if (!e.tagName) {
|
|
552
|
-
c(e, "Weird empty close tag."), e.textNode += "</>", e.state = a.TEXT;
|
|
553
|
-
return;
|
|
554
|
-
}
|
|
555
|
-
if (e.script) {
|
|
556
|
-
if (e.tagName !== "script") {
|
|
557
|
-
e.script += "</" + e.tagName + ">", e.tagName = "", e.state = a.SCRIPT;
|
|
558
|
-
return;
|
|
559
|
-
}
|
|
560
|
-
u(e, "onscript", e.script), e.script = "";
|
|
561
|
-
}
|
|
562
|
-
var t = e.tags.length, n = e.tagName;
|
|
563
|
-
e.strict || (n = n[e.looseCase]());
|
|
564
|
-
for (var i = n; t-- && e.tags[t].name !== i; ) c(e, "Unexpected close tag");
|
|
565
|
-
if (t < 0) {
|
|
566
|
-
c(e, "Unmatched closing tag: " + e.tagName), e.textNode += "</" + e.tagName + ">", e.state = a.TEXT;
|
|
567
|
-
return;
|
|
568
|
-
}
|
|
569
|
-
e.tagName = n;
|
|
570
|
-
for (var o = e.tags.length; o-- > t; ) {
|
|
571
|
-
var l = e.tag = e.tags.pop();
|
|
572
|
-
e.tagName = e.tag.name, u(e, "onclosetag", e.tagName);
|
|
573
|
-
var E = {};
|
|
574
|
-
for (var f in l.ns) E[f] = l.ns[f];
|
|
575
|
-
var m = e.tags[e.tags.length - 1] || e;
|
|
576
|
-
e.opt.xmlns && l.ns !== m.ns && Object.keys(l.ns).forEach(function(d) {
|
|
577
|
-
var r = l.ns[d];
|
|
578
|
-
u(e, "onclosenamespace", {
|
|
579
|
-
prefix: d,
|
|
580
|
-
uri: r
|
|
581
|
-
});
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
t === 0 && (e.closedRoot = !0), e.tagName = e.attribValue = e.attribName = "", e.attribList.length = 0, e.state = a.TEXT;
|
|
585
|
-
}
|
|
586
|
-
function p(e) {
|
|
587
|
-
var t = e.entity, n = t.toLowerCase(), i, o = "";
|
|
588
|
-
return e.ENTITIES[t] ? e.ENTITIES[t] : e.ENTITIES[n] ? e.ENTITIES[n] : (t = n, t.charAt(0) === "#" && (t.charAt(1) === "x" ? (t = t.slice(2), i = parseInt(t, 16), o = i.toString(16)) : (t = t.slice(1), i = parseInt(t, 10), o = i.toString(10))), t = t.replace(/^0+/, ""), isNaN(i) || o.toLowerCase() !== t ? (c(e, "Invalid character entity"), "&" + e.entity + ";") : String.fromCodePoint(i));
|
|
589
|
-
}
|
|
590
|
-
function V(e, t) {
|
|
591
|
-
t === "<" ? (e.state = a.OPEN_WAKA, e.startTagPosition = e.position) : T(t) || (c(e, "Non-whitespace before first tag."), e.textNode = t, e.state = a.TEXT);
|
|
592
|
-
}
|
|
593
|
-
function Y(e, t) {
|
|
594
|
-
var n = "";
|
|
595
|
-
return t < e.length && (n = e.charAt(t)), n;
|
|
596
|
-
}
|
|
597
|
-
function it(e) {
|
|
598
|
-
var t = this;
|
|
599
|
-
if (this.error) throw this.error;
|
|
600
|
-
if (t.closed) return v(t, "Cannot write after close. Assign an onready handler.");
|
|
601
|
-
if (e === null) return G(t);
|
|
602
|
-
typeof e == "object" && (e = e.toString());
|
|
603
|
-
for (var n = 0, i = ""; i = Y(e, n++), t.c = i, !!i; )
|
|
604
|
-
switch (t.trackPosition && (t.position++, i === `
|
|
605
|
-
` ? (t.line++, t.column = 0) : t.column++), t.state) {
|
|
606
|
-
case a.BEGIN:
|
|
607
|
-
if (t.state = a.BEGIN_WHITESPACE, i === "\uFEFF") continue;
|
|
608
|
-
V(t, i);
|
|
609
|
-
continue;
|
|
610
|
-
case a.BEGIN_WHITESPACE:
|
|
611
|
-
V(t, i);
|
|
612
|
-
continue;
|
|
613
|
-
case a.TEXT:
|
|
614
|
-
if (t.sawRoot && !t.closedRoot) {
|
|
615
|
-
for (var o = n - 1; i && i !== "<" && i !== "&"; )
|
|
616
|
-
i = Y(e, n++), i && t.trackPosition && (t.position++, i === `
|
|
617
|
-
` ? (t.line++, t.column = 0) : t.column++);
|
|
618
|
-
t.textNode += e.substring(o, n - 1);
|
|
619
|
-
}
|
|
620
|
-
i === "<" && !(t.sawRoot && t.closedRoot && !t.strict) ? (t.state = a.OPEN_WAKA, t.startTagPosition = t.position) : (!T(i) && (!t.sawRoot || t.closedRoot) && c(t, "Text data outside of root node."), i === "&" ? t.state = a.TEXT_ENTITY : t.textNode += i);
|
|
621
|
-
continue;
|
|
622
|
-
case a.SCRIPT:
|
|
623
|
-
i === "<" ? t.state = a.SCRIPT_ENDING : t.script += i;
|
|
624
|
-
continue;
|
|
625
|
-
case a.SCRIPT_ENDING:
|
|
626
|
-
i === "/" ? t.state = a.CLOSE_TAG : (t.script += "<" + i, t.state = a.SCRIPT);
|
|
627
|
-
continue;
|
|
628
|
-
case a.OPEN_WAKA:
|
|
629
|
-
if (i === "!")
|
|
630
|
-
t.state = a.SGML_DECL, t.sgmlDecl = "";
|
|
631
|
-
else if (!T(i)) if (_(C, i))
|
|
632
|
-
t.state = a.OPEN_TAG, t.tagName = i;
|
|
633
|
-
else if (i === "/")
|
|
634
|
-
t.state = a.CLOSE_TAG, t.tagName = "";
|
|
635
|
-
else if (i === "?")
|
|
636
|
-
t.state = a.PROC_INST, t.procInstName = t.procInstBody = "";
|
|
637
|
-
else {
|
|
638
|
-
if (c(t, "Unencoded <"), t.startTagPosition + 1 < t.position) {
|
|
639
|
-
var l = t.position - t.startTagPosition;
|
|
640
|
-
i = new Array(l).join(" ") + i;
|
|
641
|
-
}
|
|
642
|
-
t.textNode += "<" + i, t.state = a.TEXT;
|
|
643
|
-
}
|
|
644
|
-
continue;
|
|
645
|
-
case a.SGML_DECL:
|
|
646
|
-
(t.sgmlDecl + i).toUpperCase() === k ? (u(t, "onopencdata"), t.state = a.CDATA, t.sgmlDecl = "", t.cdata = "") : t.sgmlDecl + i === "--" ? (t.state = a.COMMENT, t.comment = "", t.sgmlDecl = "") : (t.sgmlDecl + i).toUpperCase() === z ? (t.state = a.DOCTYPE, (t.doctype || t.sawRoot) && c(t, "Inappropriately located doctype declaration"), t.doctype = "", t.sgmlDecl = "") : i === ">" ? (u(t, "onsgmldeclaration", t.sgmlDecl), t.sgmlDecl = "", t.state = a.TEXT) : (S(i) && (t.state = a.SGML_DECL_QUOTED), t.sgmlDecl += i);
|
|
647
|
-
continue;
|
|
648
|
-
case a.SGML_DECL_QUOTED:
|
|
649
|
-
i === t.q && (t.state = a.SGML_DECL, t.q = ""), t.sgmlDecl += i;
|
|
650
|
-
continue;
|
|
651
|
-
case a.DOCTYPE:
|
|
652
|
-
i === ">" ? (t.state = a.TEXT, u(t, "ondoctype", t.doctype), t.doctype = !0) : (t.doctype += i, i === "[" ? t.state = a.DOCTYPE_DTD : S(i) && (t.state = a.DOCTYPE_QUOTED, t.q = i));
|
|
653
|
-
continue;
|
|
654
|
-
case a.DOCTYPE_QUOTED:
|
|
655
|
-
t.doctype += i, i === t.q && (t.q = "", t.state = a.DOCTYPE);
|
|
656
|
-
continue;
|
|
657
|
-
case a.DOCTYPE_DTD:
|
|
658
|
-
t.doctype += i, i === "]" ? t.state = a.DOCTYPE : S(i) && (t.state = a.DOCTYPE_DTD_QUOTED, t.q = i);
|
|
659
|
-
continue;
|
|
660
|
-
case a.DOCTYPE_DTD_QUOTED:
|
|
661
|
-
t.doctype += i, i === t.q && (t.state = a.DOCTYPE_DTD, t.q = "");
|
|
662
|
-
continue;
|
|
663
|
-
case a.COMMENT:
|
|
664
|
-
i === "-" ? t.state = a.COMMENT_ENDING : t.comment += i;
|
|
665
|
-
continue;
|
|
666
|
-
case a.COMMENT_ENDING:
|
|
667
|
-
i === "-" ? (t.state = a.COMMENT_ENDED, t.comment = x(t.opt, t.comment), t.comment && u(t, "oncomment", t.comment), t.comment = "") : (t.comment += "-" + i, t.state = a.COMMENT);
|
|
668
|
-
continue;
|
|
669
|
-
case a.COMMENT_ENDED:
|
|
670
|
-
i !== ">" ? (c(t, "Malformed comment"), t.comment += "--" + i, t.state = a.COMMENT) : t.state = a.TEXT;
|
|
671
|
-
continue;
|
|
672
|
-
case a.CDATA:
|
|
673
|
-
i === "]" ? t.state = a.CDATA_ENDING : t.cdata += i;
|
|
674
|
-
continue;
|
|
675
|
-
case a.CDATA_ENDING:
|
|
676
|
-
i === "]" ? t.state = a.CDATA_ENDING_2 : (t.cdata += "]" + i, t.state = a.CDATA);
|
|
677
|
-
continue;
|
|
678
|
-
case a.CDATA_ENDING_2:
|
|
679
|
-
i === ">" ? (t.cdata && u(t, "oncdata", t.cdata), u(t, "onclosecdata"), t.cdata = "", t.state = a.TEXT) : i === "]" ? t.cdata += "]" : (t.cdata += "]]" + i, t.state = a.CDATA);
|
|
680
|
-
continue;
|
|
681
|
-
case a.PROC_INST:
|
|
682
|
-
i === "?" ? t.state = a.PROC_INST_ENDING : T(i) ? t.state = a.PROC_INST_BODY : t.procInstName += i;
|
|
683
|
-
continue;
|
|
684
|
-
case a.PROC_INST_BODY:
|
|
685
|
-
if (!t.procInstBody && T(i)) continue;
|
|
686
|
-
i === "?" ? t.state = a.PROC_INST_ENDING : t.procInstBody += i;
|
|
687
|
-
continue;
|
|
688
|
-
case a.PROC_INST_ENDING:
|
|
689
|
-
i === ">" ? (u(t, "onprocessinginstruction", {
|
|
690
|
-
name: t.procInstName,
|
|
691
|
-
body: t.procInstBody
|
|
692
|
-
}), t.procInstName = t.procInstBody = "", t.state = a.TEXT) : (t.procInstBody += "?" + i, t.state = a.PROC_INST_BODY);
|
|
693
|
-
continue;
|
|
694
|
-
case a.OPEN_TAG:
|
|
695
|
-
_(R, i) ? t.tagName += i : (et(t), i === ">" ? g(t) : i === "/" ? t.state = a.OPEN_TAG_SLASH : (T(i) || c(t, "Invalid character in tag name"), t.state = a.ATTRIB));
|
|
696
|
-
continue;
|
|
697
|
-
case a.OPEN_TAG_SLASH:
|
|
698
|
-
i === ">" ? (g(t, !0), w(t)) : (c(t, "Forward-slash in opening tag not followed by >"), t.state = a.ATTRIB);
|
|
699
|
-
continue;
|
|
700
|
-
case a.ATTRIB:
|
|
701
|
-
if (T(i)) continue;
|
|
702
|
-
i === ">" ? g(t) : i === "/" ? t.state = a.OPEN_TAG_SLASH : _(C, i) ? (t.attribName = i, t.attribValue = "", t.state = a.ATTRIB_NAME) : c(t, "Invalid attribute name");
|
|
703
|
-
continue;
|
|
704
|
-
case a.ATTRIB_NAME:
|
|
705
|
-
i === "=" ? t.state = a.ATTRIB_VALUE : i === ">" ? (c(t, "Attribute without value"), t.attribValue = t.attribName, P(t), g(t)) : T(i) ? t.state = a.ATTRIB_NAME_SAW_WHITE : _(R, i) ? t.attribName += i : c(t, "Invalid attribute name");
|
|
706
|
-
continue;
|
|
707
|
-
case a.ATTRIB_NAME_SAW_WHITE:
|
|
708
|
-
if (i === "=") t.state = a.ATTRIB_VALUE;
|
|
709
|
-
else {
|
|
710
|
-
if (T(i)) continue;
|
|
711
|
-
c(t, "Attribute without value"), t.tag.attributes[t.attribName] = "", t.attribValue = "", u(t, "onattribute", {
|
|
712
|
-
name: t.attribName,
|
|
713
|
-
value: ""
|
|
714
|
-
}), t.attribName = "", i === ">" ? g(t) : _(C, i) ? (t.attribName = i, t.state = a.ATTRIB_NAME) : (c(t, "Invalid attribute name"), t.state = a.ATTRIB);
|
|
715
|
-
}
|
|
716
|
-
continue;
|
|
717
|
-
case a.ATTRIB_VALUE:
|
|
718
|
-
if (T(i)) continue;
|
|
719
|
-
S(i) ? (t.q = i, t.state = a.ATTRIB_VALUE_QUOTED) : (c(t, "Unquoted attribute value"), t.state = a.ATTRIB_VALUE_UNQUOTED, t.attribValue = i);
|
|
720
|
-
continue;
|
|
721
|
-
case a.ATTRIB_VALUE_QUOTED:
|
|
722
|
-
if (i !== t.q) {
|
|
723
|
-
i === "&" ? t.state = a.ATTRIB_VALUE_ENTITY_Q : t.attribValue += i;
|
|
724
|
-
continue;
|
|
725
|
-
}
|
|
726
|
-
P(t), t.q = "", t.state = a.ATTRIB_VALUE_CLOSED;
|
|
727
|
-
continue;
|
|
728
|
-
case a.ATTRIB_VALUE_CLOSED:
|
|
729
|
-
T(i) ? t.state = a.ATTRIB : i === ">" ? g(t) : i === "/" ? t.state = a.OPEN_TAG_SLASH : _(C, i) ? (c(t, "No whitespace between attributes"), t.attribName = i, t.attribValue = "", t.state = a.ATTRIB_NAME) : c(t, "Invalid attribute name");
|
|
730
|
-
continue;
|
|
731
|
-
case a.ATTRIB_VALUE_UNQUOTED:
|
|
732
|
-
if (!$(i)) {
|
|
733
|
-
i === "&" ? t.state = a.ATTRIB_VALUE_ENTITY_U : t.attribValue += i;
|
|
734
|
-
continue;
|
|
735
|
-
}
|
|
736
|
-
P(t), i === ">" ? g(t) : t.state = a.ATTRIB;
|
|
737
|
-
continue;
|
|
738
|
-
case a.CLOSE_TAG:
|
|
739
|
-
if (t.tagName) i === ">" ? w(t) : _(R, i) ? t.tagName += i : t.script ? (t.script += "</" + t.tagName, t.tagName = "", t.state = a.SCRIPT) : (T(i) || c(t, "Invalid tagname in closing tag"), t.state = a.CLOSE_TAG_SAW_WHITE);
|
|
740
|
-
else {
|
|
741
|
-
if (T(i)) continue;
|
|
742
|
-
tt(C, i) ? t.script ? (t.script += "</" + i, t.state = a.SCRIPT) : c(t, "Invalid tagname in closing tag.") : t.tagName = i;
|
|
743
|
-
}
|
|
744
|
-
continue;
|
|
745
|
-
case a.CLOSE_TAG_SAW_WHITE:
|
|
746
|
-
if (T(i)) continue;
|
|
747
|
-
i === ">" ? w(t) : c(t, "Invalid characters in closing tag");
|
|
748
|
-
continue;
|
|
749
|
-
case a.TEXT_ENTITY:
|
|
750
|
-
case a.ATTRIB_VALUE_ENTITY_Q:
|
|
751
|
-
case a.ATTRIB_VALUE_ENTITY_U:
|
|
752
|
-
var E, f;
|
|
753
|
-
switch (t.state) {
|
|
754
|
-
case a.TEXT_ENTITY:
|
|
755
|
-
E = a.TEXT, f = "textNode";
|
|
756
|
-
break;
|
|
757
|
-
case a.ATTRIB_VALUE_ENTITY_Q:
|
|
758
|
-
E = a.ATTRIB_VALUE_QUOTED, f = "attribValue";
|
|
759
|
-
break;
|
|
760
|
-
case a.ATTRIB_VALUE_ENTITY_U:
|
|
761
|
-
E = a.ATTRIB_VALUE_UNQUOTED, f = "attribValue";
|
|
762
|
-
break;
|
|
763
|
-
}
|
|
764
|
-
if (i === ";") if (t.opt.unparsedEntities) {
|
|
765
|
-
var m = p(t);
|
|
766
|
-
t.entity = "", t.state = E, t.write(m);
|
|
767
|
-
} else
|
|
768
|
-
t[f] += p(t), t.entity = "", t.state = E;
|
|
769
|
-
else _(t.entity.length ? J : K, i) ? t.entity += i : (c(t, "Invalid character in entity name"), t[f] += "&" + t.entity + i, t.entity = "", t.state = E);
|
|
770
|
-
continue;
|
|
771
|
-
default:
|
|
772
|
-
throw new Error(t, "Unknown state: " + t.state);
|
|
773
|
-
}
|
|
774
|
-
return t.position >= t.bufferCheckPosition && W(t), t;
|
|
775
|
-
}
|
|
776
|
-
return String.fromCodePoint || (function() {
|
|
777
|
-
var e = String.fromCharCode, t = Math.floor, n = function() {
|
|
778
|
-
var i = 16384, o = [], l, E, f = -1, m = arguments.length;
|
|
779
|
-
if (!m) return "";
|
|
780
|
-
for (var d = ""; ++f < m; ) {
|
|
781
|
-
var r = Number(arguments[f]);
|
|
782
|
-
if (!isFinite(r) || r < 0 || r > 1114111 || t(r) !== r) throw RangeError("Invalid code point: " + r);
|
|
783
|
-
r <= 65535 ? o.push(r) : (r -= 65536, l = (r >> 10) + 55296, E = r % 1024 + 56320, o.push(l, E)), (f + 1 === m || o.length > i) && (d += e.apply(null, o), o.length = 0);
|
|
784
|
-
}
|
|
785
|
-
return d;
|
|
786
|
-
};
|
|
787
|
-
Object.defineProperty ? Object.defineProperty(String, "fromCodePoint", {
|
|
788
|
-
value: n,
|
|
789
|
-
configurable: !0,
|
|
790
|
-
writable: !0
|
|
791
|
-
}) : String.fromCodePoint = n;
|
|
792
|
-
})(), s;
|
|
793
|
-
};
|
|
794
|
-
nt();
|
|
795
|
-
//# sourceMappingURL=sax.es.js.map
|