@kweaver-ai/chatkit 0.1.9 → 0.1.10
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/dist/chatkit.cjs.js +32 -32
- package/dist/chatkit.es.js +457 -410
- package/dist/components/base/ChatKitBase.d.ts +11 -6
- package/dist/components/dip/DIPBase.d.ts +13 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/chatkit.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!visible{visibility:visible!important}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1{left:.25rem}.left-\\[23px\\]{left:23px}.left-\\[40px\\]{left:40px}.right-0{right:0}.right-1{right:.25rem}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[999\\]{z-index:999}.m-0{margin:0}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mb-px{margin-bottom:-1px}.-ml-px{margin-left:-1px}.-mr-px{margin-right:-1px}.-mt-px{margin-top:-1px}.mb-1{margin-bottom:.25rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-\\[12px\\]{margin-bottom:12px}.mb-\\[14px\\]{margin-bottom:14px}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-\\[10px\\]{margin-right:10px}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[100\\%\\]{height:100%}.h-\\[10px\\]{height:10px}.h-\\[110px\\]{height:110px}.h-\\[112px\\]{height:112px}.h-\\[13px\\]{height:13px}.h-\\[14px\\]{height:14px}.h-\\[16px\\]{height:16px}.h-\\[21px\\]{height:21px}.h-\\[22px\\]{height:22px}.h-\\[24px\\]{height:24px}.h-\\[36px\\]{height:36px}.h-\\[38px\\]{height:38px}.h-\\[5px\\]{height:5px}.h-\\[64px\\]{height:64px}.h-\\[76px\\]{height:76px}.h-\\[90vh\\]{height:90vh}.h-\\[calc\\(100\\%-64px\\)\\]{height:calc(100% - 64px)}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\\[406px\\]{max-height:406px}.max-h-\\[800px\\]{max-height:800px}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-1\\.5{width:.375rem}.w-20{width:5rem}.w-3{width:.75rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-72{width:18rem}.w-8{width:2rem}.w-\\[100\\%\\]{width:100%}.w-\\[10px\\]{width:10px}.w-\\[14px\\]{width:14px}.w-\\[16px\\]{width:16px}.w-\\[21px\\]{width:21px}.w-\\[22px\\]{width:22px}.w-\\[24px\\]{width:24px}.w-\\[260px\\]{width:260px}.w-\\[300px\\]{width:300px}.w-\\[360px\\]{width:360px}.w-\\[38px\\]{width:38px}.w-\\[400px\\]{width:400px}.w-\\[440px\\]{width:440px}.w-\\[480px\\]{width:480px}.w-\\[5px\\]{width:5px}.w-\\[600px\\]{width:600px}.w-\\[90vw\\]{width:90vw}.w-\\[calc\\(100\\%-30px\\)\\]{width:calc(100% - 30px)}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-\\[1200px\\]{max-width:1200px}.max-w-\\[320px\\]{max-width:320px}.max-w-\\[90vw\\]{max-width:90vw}.max-w-\\[92vw\\]{max-width:92vw}.max-w-\\[960px\\]{max-width:960px}.max-w-\\[calc\\(100\\%-30px\\)\\]{max-width:calc(100% - 30px)}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-\\[0_1_auto\\],.flex-initial{flex:0 1 auto}.flex-shrink-0,.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-ns-resize{cursor:ns-resize}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-\\[8px\\]{gap:8px}.gap-y-\\[10px\\]{row-gap:10px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-\\[2px\\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2px * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\\[12px\\]{border-radius:12px}.rounded-\\[6px\\]{border-radius:6px}.rounded-\\[8px\\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-\\[1\\.5px\\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-\\[\\#126EE3\\]{--tw-border-opacity: 1;border-color:rgb(18 110 227 / var(--tw-border-opacity, 1))}.border-\\[\\#1677FF\\]{--tw-border-opacity: 1;border-color:rgb(22 119 255 / var(--tw-border-opacity, 1))}.border-\\[\\#3b9be0\\]{--tw-border-opacity: 1;border-color:rgb(59 155 224 / var(--tw-border-opacity, 1))}.border-\\[\\#D9D9D9\\],.border-\\[\\#d9d9d9\\]{--tw-border-opacity: 1;border-color:rgb(217 217 217 / var(--tw-border-opacity, 1))}.border-\\[rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{border-color:#0000001a}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity, 1))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-opacity-15{--tw-border-opacity: .15}.bg-\\[\\#126EE3\\]{--tw-bg-opacity: 1;background-color:rgb(18 110 227 / var(--tw-bg-opacity, 1))}.bg-\\[\\#DBE8FF\\]{--tw-bg-opacity: 1;background-color:rgb(219 232 255 / var(--tw-bg-opacity, 1))}.bg-\\[\\#F0F0F0\\]{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity, 1))}.bg-\\[\\#b3d4fc\\]{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}.bg-\\[\\#f0f0f0\\]{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity, 1))}.bg-\\[rgba\\(18\\,110\\,227\\,0\\.04\\)\\]{background-color:#126ee30a}.bg-\\[rgba\\(18\\,110\\,227\\,0\\.1\\)\\]{background-color:#126ee31a}.bg-\\[rgba\\(255\\,255\\,255\\,1\\)\\]{background-color:#fff}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-50{--tw-bg-opacity: .5}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[14px\\]{padding-left:14px;padding-right:14px}.px-\\[24px\\]{padding-left:24px;padding-right:24px}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\\[14px\\]{padding-top:14px;padding-bottom:14px}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-\\[14px\\]{padding-bottom:14px}.pr-1\\.5{padding-right:.375rem}.pt-28{padding-top:7rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[12px\\]{font-size:12px}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-\\[18px\\]{font-size:18px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-\\[17px\\]{line-height:17px}.leading-\\[18px\\]{line-height:18px}.leading-\\[22px\\]{line-height:22px}.leading-\\[24px\\]{line-height:24px}.leading-\\[26px\\]{line-height:26px}.leading-\\[30px\\]{line-height:30px}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-\\[\\#126EE3\\]{--tw-text-opacity: 1;color:rgb(18 110 227 / var(--tw-text-opacity, 1))}.text-\\[\\#1677FF\\]{--tw-text-opacity: 1;color:rgb(22 119 255 / var(--tw-text-opacity, 1))}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{color:#00000073}.text-\\[rgba\\(0\\,0\\,0\\,0\\.55\\)\\]{color:#0000008c}.text-\\[rgba\\(0\\,0\\,0\\,0\\.65\\)\\]{color:#000000a6}.text-\\[rgba\\(0\\,0\\,0\\,0\\.85\\)\\]{color:#000000d9}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-opacity-85{--tw-text-opacity: .85}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_5px_28px_0px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 0px 5px 28px 0px rgba(0,0,0,.2);--tw-shadow-colored: 0px 5px 28px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_9px_56px_0px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\]{--tw-shadow: 0px 9px 56px 0px rgba(0,0,0,.08);--tw-shadow-colored: 0px 9px 56px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}html,body{font-size:14px;line-height:22px;color:#000000d9}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#00000040;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#00000080}.markdown-body{word-break:break-word;font-size:var(--markdown-base-font-size, 14px);display:flow-root}.markdown-body p{margin:0 0 16px;color:var(--markdown-base-font-color, rgba(0, 0, 0, .85))}.markdown-body p:last-child{margin-bottom:0}.markdown-body p:empty{display:none}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position:relative;word-break:break-all;margin:1.4em 0 .8em;font-weight:700}.markdown-body h1{font-size:calc(var(--markdown-base-font-size, 14px) + 4px)}.markdown-body h2{font-size:calc(var(--markdown-base-font-size, 14px) + 2px)}.markdown-body h3{font-size:calc(var(--markdown-base-font-size, 14px) * 1.25)}.markdown-body h4{font-size:var(--markdown-base-font-size, 14px)}.markdown-body h5{font-size:calc(var(--markdown-base-font-size, 14px) * .875)}.markdown-body h6{font-size:calc(var(--markdown-base-font-size, 14px) * .85)}.markdown-body h1 a,.markdown-body h2 a,.markdown-body h3 a,.markdown-body h4 a,.markdown-body h5 a,.markdown-body h6 a,.markdown-body h1 a:hover,.markdown-body h2 a:hover,.markdown-body h3 a:hover,.markdown-body h4 a:hover,.markdown-body h5 a:hover,.markdown-body h6 a:hover{color:inherit}.markdown-body a{color:#2563eb;text-decoration:none;transition:color .1s}.markdown-body a:hover{color:#1d4ed8;text-decoration:underline}.markdown-body a:empty:before{content:attr(href)}.markdown-body blockquote{padding:0 1em;color:#4b5563;border-left:4px solid #e5e7eb;background-color:inherit;margin:.5rem 0}.markdown-body ul,.markdown-body ol{padding-inline-start:2em;margin:.25rem 0 .5rem;color:var(--markdown-base-font-color, rgba(0, 0, 0, .85))}.markdown-body ul{list-style-type:disc}.markdown-body ol{list-style-type:decimal}.markdown-body ul .task-list-item,.markdown-body ol .task-list-item{list-style-type:none}.markdown-body ul .task-list-item input,.markdown-body ol .task-list-item input{margin-inline-start:-1.5em;margin-inline-end:.1em}.markdown-body img{max-width:100%}.markdown-body hr{height:1px;margin:10px 0;border:none;border-top:1px solid #e5e7eb}.markdown-body table{width:100%;border-collapse:collapse;margin:.5rem 0;font-size:.875rem}.markdown-body table tr{background-color:inherit}.markdown-body table tr th,.markdown-body table tr td{border:1px solid #e5e7eb;padding:.5rem;white-space:nowrap;word-break:break-all}.markdown-body table tr:nth-child(2n){background-color:#fafafa}.markdown-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;background:#ffffff73;padding:2px 4px;border-radius:3px;line-height:22px}.markdown-body pre{margin:.5rem 0}.markdown-body pre code{display:block;padding:1em;overflow-x:auto;border-radius:.375rem;background:#f8f8f8;line-height:1.6}.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8}.dark .hljs{color:#e1e4e8;background:#1e1e1e}.hljs-comment,.hljs-quote{color:#6a737d;font-style:italic}.dark .hljs-comment,.dark .hljs-quote{color:#6a737d}.hljs-keyword,.hljs-selector-tag,.hljs-type,.hljs-function{color:#d73a49}.dark .hljs-keyword,.dark .hljs-selector-tag,.dark .hljs-type,.dark .hljs-function{color:#c792ea}.hljs-string,.hljs-attr{color:#032f62}.dark .hljs-string,.dark .hljs-attr{color:#c3e88d}.hljs-title,.hljs-section,.hljs-built_in{color:#6f42c1}.dark .hljs-title,.dark .hljs-section,.dark .hljs-built_in{color:#82aaff}.hljs-number{color:#005cc5}.dark .hljs-number{color:#f78c6c}.hljs-literal,.hljs-meta{color:#005cc5}.dark .hljs-literal,.dark .hljs-meta{color:#f78c6c}.hljs-variable,.hljs-template-variable{color:#e36209}.dark .hljs-variable,.dark .hljs-template-variable{color:#f07178}.hljs-attribute{color:#005cc5}.dark .hljs-attribute{color:#82aaff}.hljs-regexp,.hljs-link{color:#032f62}.dark .hljs-regexp,.dark .hljs-link{color:#c3e88d}.hljs-symbol,.hljs-bullet{color:#e36209}.dark .hljs-symbol,.dark .hljs-bullet{color:#f07178}.hljs-name{color:#22863a}.dark .hljs-name{color:#c792ea}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}pre code.hljs{display:block;padding:1rem;overflow-x:auto;border-radius:.375rem}pre.hljs{padding:1rem;border-radius:.375rem;background:#f8f8f8}.dark pre.hljs{background:#1e1e1e}.shiny-text{color:#000000a6;background:linear-gradient(120deg,#0000 40%,#000000d9,#0000 60%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;display:inline-block;animation:shine 2s linear infinite}.shiny-text-disabled{animation:none;background:none;color:#000000a6}@keyframes shine{0%{background-position:100%}to{background-position:-100%}}@keyframes task-pulse{0%{transform:scale(.8);background-color:#b3d4fc;box-shadow:0 0 #b2d4fcb3}50%{transform:scale(1.2);background-color:#6793fb;box-shadow:0 0 0 10px #b2d4fc00}to{transform:scale(.8);background-color:#b3d4fc;box-shadow:0 0 #b2d4fcb3}}.task-dot{animation:task-pulse 1.5s infinite ease-in-out}.task-dot:nth-child(1){animation-delay:-.3s}.task-dot:nth-child(2){animation-delay:-.1s}.task-dot:nth-child(3){animation-delay:.1s}.placeholder\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.25\\)\\]::-moz-placeholder{color:#00000040}.placeholder\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.25\\)\\]::placeholder{color:#00000040}.placeholder\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.3\\)\\]::-moz-placeholder{color:#0000004d}.placeholder\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.3\\)\\]::placeholder{color:#0000004d}.first\\:rounded-t:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.last\\:rounded-b:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.last\\:border-r-0:last-child{border-right-width:0px}.hover\\:border-\\[\\#126EE3\\]:hover{--tw-border-opacity: 1;border-color:rgb(18 110 227 / var(--tw-border-opacity, 1))}.hover\\:border-\\[\\#3b9be0\\]:hover{--tw-border-opacity: 1;border-color:rgb(59 155 224 / var(--tw-border-opacity, 1))}.hover\\:border-blue-200:hover{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.hover\\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.hover\\:border-indigo-200:hover{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity, 1))}.hover\\:border-purple-200:hover{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.hover\\:bg-\\[\\#126EE3\\]:hover{--tw-bg-opacity: 1;background-color:rgb(18 110 227 / var(--tw-bg-opacity, 1))}.hover\\:bg-\\[rgba\\(0\\,0\\,0\\,0\\.05\\)\\]:hover{background-color:#0000000d}.hover\\:bg-\\[rgba\\(18\\,110\\,227\\,0\\.04\\)\\]:hover{background-color:#126ee30a}.hover\\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.hover\\:text-\\[\\#126EE3\\]:hover{--tw-text-opacity: 1;color:rgb(18 110 227 / var(--tw-text-opacity, 1))}.hover\\:text-\\[\\#1890ff\\]:hover{--tw-text-opacity: 1;color:rgb(24 144 255 / var(--tw-text-opacity, 1))}.hover\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.85\\)\\]:hover{color:#000000d9}.hover\\:text-\\[rgba\\(0\\,0\\,0\\,1\\)\\]:hover{color:#000}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.disabled\\:bg-gray-50:disabled{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.disabled\\:opacity-25:disabled{opacity:.25}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media(min-width:768px){.md\\:pr-\\[500px\\]{padding-right:500px}}@media(prefers-color-scheme:dark){.dark\\:bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!visible{visibility:visible!important}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.bottom-\\[12px\\]{bottom:12px}.left-0{left:0}.left-\\[4px\\]{left:4px}.right-0{right:0}.right-4{right:1rem}.right-\\[16px\\]{right:16px}.right-\\[4px\\]{right:4px}.top-0{top:0}.top-4{top:1rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[999\\]{z-index:999}.m-0{margin:0}.m-\\[8px\\]{margin:8px}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-\\[8px\\]{margin-top:8px;margin-bottom:8px}.-mb-px{margin-bottom:-1px}.-ml-px{margin-left:-1px}.-mr-px{margin-right:-1px}.-mt-px{margin-top:-1px}.mb-1{margin-bottom:.25rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-\\[12px\\]{margin-bottom:12px}.mb-\\[14px\\]{margin-bottom:14px}.mb-\\[24px\\]{margin-bottom:24px}.mb-\\[8px\\]{margin-bottom:8px}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-\\[12px\\]{margin-left:12px}.ml-\\[16px\\]{margin-left:16px}.ml-\\[8px\\]{margin-left:8px}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-\\[10px\\]{margin-right:10px}.mr-\\[8px\\]{margin-right:8px}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1\\.5{height:.375rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[100\\%\\]{height:100%}.h-\\[10px\\]{height:10px}.h-\\[110px\\]{height:110px}.h-\\[112px\\]{height:112px}.h-\\[12px\\]{height:12px}.h-\\[13px\\]{height:13px}.h-\\[14px\\]{height:14px}.h-\\[16px\\]{height:16px}.h-\\[20px\\]{height:20px}.h-\\[21px\\]{height:21px}.h-\\[22px\\]{height:22px}.h-\\[24px\\]{height:24px}.h-\\[32px\\]{height:32px}.h-\\[36px\\]{height:36px}.h-\\[38px\\]{height:38px}.h-\\[40px\\]{height:40px}.h-\\[56px\\]{height:56px}.h-\\[5px\\]{height:5px}.h-\\[64px\\]{height:64px}.h-\\[76px\\]{height:76px}.h-\\[90vh\\]{height:90vh}.h-\\[calc\\(100\\%-64px\\)\\]{height:calc(100% - 64px)}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\\[406px\\]{max-height:406px}.max-h-\\[800px\\]{max-height:800px}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-1\\.5{width:.375rem}.w-20{width:5rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-72{width:18rem}.w-8{width:2rem}.w-\\[100\\%\\]{width:100%}.w-\\[10px\\]{width:10px}.w-\\[12px\\]{width:12px}.w-\\[14px\\]{width:14px}.w-\\[16px\\]{width:16px}.w-\\[20px\\]{width:20px}.w-\\[21px\\]{width:21px}.w-\\[22px\\]{width:22px}.w-\\[24px\\]{width:24px}.w-\\[260px\\]{width:260px}.w-\\[300px\\]{width:300px}.w-\\[32px\\]{width:32px}.w-\\[360px\\]{width:360px}.w-\\[38px\\]{width:38px}.w-\\[400px\\]{width:400px}.w-\\[480px\\]{width:480px}.w-\\[5px\\]{width:5px}.w-\\[600px\\]{width:600px}.w-\\[90vw\\]{width:90vw}.w-\\[calc\\(100\\%-30px\\)\\]{width:calc(100% - 30px)}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-\\[1200px\\]{max-width:1200px}.max-w-\\[320px\\]{max-width:320px}.max-w-\\[90vw\\]{max-width:90vw}.max-w-\\[92vw\\]{max-width:92vw}.max-w-\\[960px\\]{max-width:960px}.max-w-\\[calc\\(100\\%-30px\\)\\]{max-width:calc(100% - 30px)}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-\\[0_1_auto\\],.flex-initial{flex:0 1 auto}.flex-shrink-0,.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-ns-resize{cursor:ns-resize}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-\\[12px\\]{gap:12px}.gap-\\[16px\\]{gap:16px}.gap-\\[8px\\]{gap:8px}.gap-y-\\[10px\\]{row-gap:10px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-\\[16px\\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(16px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(16px * var(--tw-space-y-reverse))}.space-y-\\[2px\\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2px * var(--tw-space-y-reverse))}.space-y-\\[8px\\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-\\[12px\\]{border-radius:12px}.rounded-\\[16px\\]{border-radius:16px}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[6px\\]{border-radius:6px}.rounded-\\[8px\\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-\\[1\\.5px\\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-\\[\\#126EE3\\]{--tw-border-opacity: 1;border-color:rgb(18 110 227 / var(--tw-border-opacity, 1))}.border-\\[\\#1677FF\\]{--tw-border-opacity: 1;border-color:rgb(22 119 255 / var(--tw-border-opacity, 1))}.border-\\[\\#3b9be0\\]{--tw-border-opacity: 1;border-color:rgb(59 155 224 / var(--tw-border-opacity, 1))}.border-\\[\\#D9D9D9\\],.border-\\[\\#d9d9d9\\]{--tw-border-opacity: 1;border-color:rgb(217 217 217 / var(--tw-border-opacity, 1))}.border-\\[rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{border-color:#0000001a}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity, 1))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-opacity-15{--tw-border-opacity: .15}.bg-\\[\\#126EE3\\]{--tw-bg-opacity: 1;background-color:rgb(18 110 227 / var(--tw-bg-opacity, 1))}.bg-\\[\\#DBE8FF\\]{--tw-bg-opacity: 1;background-color:rgb(219 232 255 / var(--tw-bg-opacity, 1))}.bg-\\[\\#F0F0F0\\]{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity, 1))}.bg-\\[\\#b3d4fc\\]{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}.bg-\\[\\#f0f0f0\\]{--tw-bg-opacity: 1;background-color:rgb(240 240 240 / var(--tw-bg-opacity, 1))}.bg-\\[rgba\\(18\\,110\\,227\\,0\\.04\\)\\]{background-color:#126ee30a}.bg-\\[rgba\\(18\\,110\\,227\\,0\\.1\\)\\]{background-color:#126ee31a}.bg-\\[rgba\\(255\\,255\\,255\\,1\\)\\]{background-color:#fff}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-50{--tw-bg-opacity: .5}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\\[16px\\]{padding:16px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.px-\\[14px\\]{padding-left:14px;padding-right:14px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[20px\\]{padding-left:20px;padding-right:20px}.px-\\[21px\\]{padding-left:21px;padding-right:21px}.px-\\[24px\\]{padding-left:24px;padding-right:24px}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\\[12px\\]{padding-top:12px;padding-bottom:12px}.py-\\[14px\\]{padding-top:14px;padding-bottom:14px}.py-\\[16px\\]{padding-top:16px;padding-bottom:16px}.py-\\[32px\\]{padding-top:32px;padding-bottom:32px}.py-\\[48px\\]{padding-top:48px;padding-bottom:48px}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-\\[8px\\]{padding-top:8px;padding-bottom:8px}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-\\[12px\\]{padding-bottom:12px}.pb-\\[14px\\]{padding-bottom:14px}.pb-\\[16px\\]{padding-bottom:16px}.pr-1\\.5{padding-right:.375rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-\\[112px\\]{padding-top:112px}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[12px\\]{font-size:12px}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-\\[18px\\]{font-size:18px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-6{line-height:1.5rem}.leading-\\[16px\\]{line-height:16px}.leading-\\[17px\\]{line-height:17px}.leading-\\[18px\\]{line-height:18px}.leading-\\[22px\\]{line-height:22px}.leading-\\[24px\\]{line-height:24px}.leading-\\[26px\\]{line-height:26px}.leading-\\[30px\\]{line-height:30px}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-\\[\\#126EE3\\]{--tw-text-opacity: 1;color:rgb(18 110 227 / var(--tw-text-opacity, 1))}.text-\\[\\#1677FF\\]{--tw-text-opacity: 1;color:rgb(22 119 255 / var(--tw-text-opacity, 1))}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{color:#00000073}.text-\\[rgba\\(0\\,0\\,0\\,0\\.55\\)\\]{color:#0000008c}.text-\\[rgba\\(0\\,0\\,0\\,0\\.65\\)\\]{color:#000000a6}.text-\\[rgba\\(0\\,0\\,0\\,0\\.85\\)\\]{color:#000000d9}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-opacity-85{--tw-text-opacity: .85}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_5px_28px_0px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 0px 5px 28px 0px rgba(0,0,0,.2);--tw-shadow-colored: 0px 5px 28px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_9px_56px_0px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\]{--tw-shadow: 0px 9px 56px 0px rgba(0,0,0,.08);--tw-shadow-colored: 0px 9px 56px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}html,body{font-size:14px;line-height:22px;color:#000000d9}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#00000040;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#00000080}.markdown-body{word-break:break-word;font-size:var(--markdown-base-font-size, 14px);display:flow-root}.markdown-body p{margin:0 0 16px;color:var(--markdown-base-font-color, rgba(0, 0, 0, .85))}.markdown-body p:last-child{margin-bottom:0}.markdown-body p:empty{display:none}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position:relative;word-break:break-all;margin:1.4em 0 .8em;font-weight:700}.markdown-body h1{font-size:calc(var(--markdown-base-font-size, 14px) + 4px)}.markdown-body h2{font-size:calc(var(--markdown-base-font-size, 14px) + 2px)}.markdown-body h3{font-size:calc(var(--markdown-base-font-size, 14px) * 1.25)}.markdown-body h4{font-size:var(--markdown-base-font-size, 14px)}.markdown-body h5{font-size:calc(var(--markdown-base-font-size, 14px) * .875)}.markdown-body h6{font-size:calc(var(--markdown-base-font-size, 14px) * .85)}.markdown-body h1 a,.markdown-body h2 a,.markdown-body h3 a,.markdown-body h4 a,.markdown-body h5 a,.markdown-body h6 a,.markdown-body h1 a:hover,.markdown-body h2 a:hover,.markdown-body h3 a:hover,.markdown-body h4 a:hover,.markdown-body h5 a:hover,.markdown-body h6 a:hover{color:inherit}.markdown-body a{color:#2563eb;text-decoration:none;transition:color .1s}.markdown-body a:hover{color:#1d4ed8;text-decoration:underline}.markdown-body a:empty:before{content:attr(href)}.markdown-body blockquote{padding:0 1em;color:#4b5563;border-left:4px solid #e5e7eb;background-color:inherit;margin:8px 0}.markdown-body ul,.markdown-body ol{padding-inline-start:2em;margin:4px 0 8px;color:var(--markdown-base-font-color, rgba(0, 0, 0, .85))}.markdown-body ul{list-style-type:disc}.markdown-body ol{list-style-type:decimal}.markdown-body ul .task-list-item,.markdown-body ol .task-list-item{list-style-type:none}.markdown-body ul .task-list-item input,.markdown-body ol .task-list-item input{margin-inline-start:-1.5em;margin-inline-end:.1em}.markdown-body img{max-width:100%}.markdown-body hr{height:1px;margin:10px 0;border:none;border-top:1px solid #e5e7eb}.markdown-body table{width:100%;table-layout:fixed;border-collapse:collapse;margin:8px 0;font-size:14px}.markdown-body table tr{background-color:inherit}.markdown-body table tr th,.markdown-body table tr td{border:1px solid #e5e7eb;padding:8px;white-space:normal;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.markdown-body table tr:nth-child(2n){background-color:#fafafa}.markdown-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;background:#ffffff73;padding:2px 4px;border-radius:3px;line-height:22px}.markdown-body pre{margin:8px 0}.markdown-body pre code{display:block;padding:1em;overflow-x:auto;border-radius:6px;background:#f8f8f8;line-height:1.6}.hljs{display:block;overflow-x:auto;padding:8px;color:#333;background:#f8f8f8}.dark .hljs{color:#e1e4e8;background:#1e1e1e}.hljs-comment,.hljs-quote{color:#6a737d;font-style:italic}.dark .hljs-comment,.dark .hljs-quote{color:#6a737d}.hljs-keyword,.hljs-selector-tag,.hljs-type,.hljs-function{color:#d73a49}.dark .hljs-keyword,.dark .hljs-selector-tag,.dark .hljs-type,.dark .hljs-function{color:#c792ea}.hljs-string,.hljs-attr{color:#032f62}.dark .hljs-string,.dark .hljs-attr{color:#c3e88d}.hljs-title,.hljs-section,.hljs-built_in{color:#6f42c1}.dark .hljs-title,.dark .hljs-section,.dark .hljs-built_in{color:#82aaff}.hljs-number{color:#005cc5}.dark .hljs-number{color:#f78c6c}.hljs-literal,.hljs-meta{color:#005cc5}.dark .hljs-literal,.dark .hljs-meta{color:#f78c6c}.hljs-variable,.hljs-template-variable{color:#e36209}.dark .hljs-variable,.dark .hljs-template-variable{color:#f07178}.hljs-attribute{color:#005cc5}.dark .hljs-attribute{color:#82aaff}.hljs-regexp,.hljs-link{color:#032f62}.dark .hljs-regexp,.dark .hljs-link{color:#c3e88d}.hljs-symbol,.hljs-bullet{color:#e36209}.dark .hljs-symbol,.dark .hljs-bullet{color:#f07178}.hljs-name{color:#22863a}.dark .hljs-name{color:#c792ea}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}pre code.hljs{display:block;padding:16px;overflow-x:auto;border-radius:6px}pre.hljs{padding:16px;border-radius:6px;background:#f8f8f8}.dark pre.hljs{background:#1e1e1e}.shiny-text{color:#000000a6;background:linear-gradient(120deg,#0000 40%,#000000d9,#0000 60%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;display:inline-block;animation:shine 2s linear infinite}.shiny-text-disabled{animation:none;background:none;color:#000000a6}@keyframes shine{0%{background-position:100%}to{background-position:-100%}}@keyframes task-pulse{0%{transform:scale(.8);background-color:#b3d4fc;box-shadow:0 0 #b2d4fcb3}50%{transform:scale(1.2);background-color:#6793fb;box-shadow:0 0 0 10px #b2d4fc00}to{transform:scale(.8);background-color:#b3d4fc;box-shadow:0 0 #b2d4fcb3}}.task-dot{animation:task-pulse 1.5s infinite ease-in-out}.task-dot:nth-child(1){animation-delay:-.3s}.task-dot:nth-child(2){animation-delay:-.1s}.task-dot:nth-child(3){animation-delay:.1s}.placeholder\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.25\\)\\]::-moz-placeholder{color:#00000040}.placeholder\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.25\\)\\]::placeholder{color:#00000040}.placeholder\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.3\\)\\]::-moz-placeholder{color:#0000004d}.placeholder\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.3\\)\\]::placeholder{color:#0000004d}.first\\:rounded-t:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.last\\:rounded-b:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.last\\:border-r-0:last-child{border-right-width:0px}.hover\\:border-\\[\\#126EE3\\]:hover{--tw-border-opacity: 1;border-color:rgb(18 110 227 / var(--tw-border-opacity, 1))}.hover\\:border-\\[\\#3b9be0\\]:hover{--tw-border-opacity: 1;border-color:rgb(59 155 224 / var(--tw-border-opacity, 1))}.hover\\:border-blue-200:hover{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.hover\\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.hover\\:border-indigo-200:hover{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity, 1))}.hover\\:border-purple-200:hover{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.hover\\:bg-\\[\\#126EE3\\]:hover{--tw-bg-opacity: 1;background-color:rgb(18 110 227 / var(--tw-bg-opacity, 1))}.hover\\:bg-\\[rgba\\(0\\,0\\,0\\,0\\.05\\)\\]:hover{background-color:#0000000d}.hover\\:bg-\\[rgba\\(18\\,110\\,227\\,0\\.04\\)\\]:hover{background-color:#126ee30a}.hover\\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.hover\\:text-\\[\\#126EE3\\]:hover{--tw-text-opacity: 1;color:rgb(18 110 227 / var(--tw-text-opacity, 1))}.hover\\:text-\\[\\#1890ff\\]:hover{--tw-text-opacity: 1;color:rgb(24 144 255 / var(--tw-text-opacity, 1))}.hover\\:text-\\[rgba\\(0\\,0\\,0\\,0\\.85\\)\\]:hover{color:#000000d9}.hover\\:text-\\[rgba\\(0\\,0\\,0\\,1\\)\\]:hover{color:#000}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.disabled\\:bg-gray-50:disabled{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.disabled\\:opacity-25:disabled{opacity:.25}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media(min-width:768px){.md\\:pr-\\[500px\\]{padding-right:500px}}@media(prefers-color-scheme:dark){.dark\\:bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
2
|
var PB = Object.defineProperty;
|
|
3
3
|
var BB = (t, e, r) => e in t ? PB(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
4
4
|
var St = (t, e, r) => BB(t, typeof e != "symbol" ? e + "" : e, r);
|
|
@@ -56,14 +56,14 @@ function HB() {
|
|
|
56
56
|
var m = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
57
57
|
function y(K) {
|
|
58
58
|
{
|
|
59
|
-
for (var xe = arguments.length, je = new Array(xe > 1 ? xe - 1 : 0),
|
|
60
|
-
je[
|
|
59
|
+
for (var xe = arguments.length, je = new Array(xe > 1 ? xe - 1 : 0), ht = 1; ht < xe; ht++)
|
|
60
|
+
je[ht - 1] = arguments[ht];
|
|
61
61
|
x("error", K, je);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
function x(K, xe, je) {
|
|
65
65
|
{
|
|
66
|
-
var
|
|
66
|
+
var ht = m.ReactDebugCurrentFrame, Ft = ht.getStackAddendum();
|
|
67
67
|
Ft !== "" && (xe += "%s", je = je.concat([Ft]));
|
|
68
68
|
var Xt = je.map(function(Lt) {
|
|
69
69
|
return String(Lt);
|
|
@@ -81,9 +81,9 @@ function HB() {
|
|
|
81
81
|
K.$$typeof === L || K.getModuleId !== void 0));
|
|
82
82
|
}
|
|
83
83
|
function O(K, xe, je) {
|
|
84
|
-
var
|
|
85
|
-
if (
|
|
86
|
-
return
|
|
84
|
+
var ht = K.displayName;
|
|
85
|
+
if (ht)
|
|
86
|
+
return ht;
|
|
87
87
|
var Ft = xe.displayName || xe.name || "";
|
|
88
88
|
return Ft !== "" ? je + "(" + Ft + ")" : je;
|
|
89
89
|
}
|
|
@@ -122,8 +122,8 @@ function HB() {
|
|
|
122
122
|
case l:
|
|
123
123
|
return O(K, K.render, "ForwardRef");
|
|
124
124
|
case h:
|
|
125
|
-
var
|
|
126
|
-
return
|
|
125
|
+
var ht = K.displayName || null;
|
|
126
|
+
return ht !== null ? ht : M(K.type) || "Memo";
|
|
127
127
|
case f: {
|
|
128
128
|
var Ft = K, Xt = Ft._payload, Lt = Ft._init;
|
|
129
129
|
try {
|
|
@@ -204,8 +204,8 @@ function HB() {
|
|
|
204
204
|
try {
|
|
205
205
|
throw Error();
|
|
206
206
|
} catch (Ft) {
|
|
207
|
-
var
|
|
208
|
-
qe =
|
|
207
|
+
var ht = Ft.stack.trim().match(/\n( *(at )?)/);
|
|
208
|
+
qe = ht && ht[1] || "";
|
|
209
209
|
}
|
|
210
210
|
return `
|
|
211
211
|
` + qe + K;
|
|
@@ -224,7 +224,7 @@ function HB() {
|
|
|
224
224
|
if (je !== void 0)
|
|
225
225
|
return je;
|
|
226
226
|
}
|
|
227
|
-
var
|
|
227
|
+
var ht;
|
|
228
228
|
ge = !0;
|
|
229
229
|
var Ft = Error.prepareStackTrace;
|
|
230
230
|
Error.prepareStackTrace = void 0;
|
|
@@ -243,14 +243,14 @@ function HB() {
|
|
|
243
243
|
try {
|
|
244
244
|
Reflect.construct(Lt, []);
|
|
245
245
|
} catch (wn) {
|
|
246
|
-
|
|
246
|
+
ht = wn;
|
|
247
247
|
}
|
|
248
248
|
Reflect.construct(K, [], Lt);
|
|
249
249
|
} else {
|
|
250
250
|
try {
|
|
251
251
|
Lt.call();
|
|
252
252
|
} catch (wn) {
|
|
253
|
-
|
|
253
|
+
ht = wn;
|
|
254
254
|
}
|
|
255
255
|
K.call(Lt.prototype);
|
|
256
256
|
}
|
|
@@ -258,14 +258,14 @@ function HB() {
|
|
|
258
258
|
try {
|
|
259
259
|
throw Error();
|
|
260
260
|
} catch (wn) {
|
|
261
|
-
|
|
261
|
+
ht = wn;
|
|
262
262
|
}
|
|
263
263
|
K();
|
|
264
264
|
}
|
|
265
265
|
} catch (wn) {
|
|
266
|
-
if (wn &&
|
|
266
|
+
if (wn && ht && typeof wn.stack == "string") {
|
|
267
267
|
for (var Nt = wn.stack.split(`
|
|
268
|
-
`), hn =
|
|
268
|
+
`), hn = ht.stack.split(`
|
|
269
269
|
`), mr = Nt.length - 1, Nr = hn.length - 1; mr >= 1 && Nr >= 0 && Nt[mr] !== hn[Nr]; )
|
|
270
270
|
Nr--;
|
|
271
271
|
for (; mr >= 1 && Nr >= 0; mr--, Nr--)
|
|
@@ -294,7 +294,7 @@ function HB() {
|
|
|
294
294
|
var xe = K.prototype;
|
|
295
295
|
return !!(xe && xe.isReactComponent);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function ct(K, xe, je) {
|
|
298
298
|
if (K == null)
|
|
299
299
|
return "";
|
|
300
300
|
if (typeof K == "function")
|
|
@@ -312,11 +312,11 @@ function HB() {
|
|
|
312
312
|
case l:
|
|
313
313
|
return st(K.render);
|
|
314
314
|
case h:
|
|
315
|
-
return
|
|
315
|
+
return ct(K.type, xe, je);
|
|
316
316
|
case f: {
|
|
317
|
-
var
|
|
317
|
+
var ht = K, Ft = ht._payload, Xt = ht._init;
|
|
318
318
|
try {
|
|
319
|
-
return
|
|
319
|
+
return ct(Xt(Ft), xe, je);
|
|
320
320
|
} catch {
|
|
321
321
|
}
|
|
322
322
|
}
|
|
@@ -326,12 +326,12 @@ function HB() {
|
|
|
326
326
|
var vt = Object.prototype.hasOwnProperty, Gt = {}, sr = m.ReactDebugCurrentFrame;
|
|
327
327
|
function $t(K) {
|
|
328
328
|
if (K) {
|
|
329
|
-
var xe = K._owner, je =
|
|
329
|
+
var xe = K._owner, je = ct(K.type, K._source, xe ? xe.type : null);
|
|
330
330
|
sr.setExtraStackFrame(je);
|
|
331
331
|
} else
|
|
332
332
|
sr.setExtraStackFrame(null);
|
|
333
333
|
}
|
|
334
|
-
function aa(K, xe, je,
|
|
334
|
+
function aa(K, xe, je, ht, Ft) {
|
|
335
335
|
{
|
|
336
336
|
var Xt = Function.call.bind(vt);
|
|
337
337
|
for (var Lt in K)
|
|
@@ -339,14 +339,14 @@ function HB() {
|
|
|
339
339
|
var Nt = void 0;
|
|
340
340
|
try {
|
|
341
341
|
if (typeof K[Lt] != "function") {
|
|
342
|
-
var hn = Error((
|
|
342
|
+
var hn = Error((ht || "React class") + ": " + je + " type `" + Lt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof K[Lt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
343
343
|
throw hn.name = "Invariant Violation", hn;
|
|
344
344
|
}
|
|
345
|
-
Nt = K[Lt](xe, Lt,
|
|
345
|
+
Nt = K[Lt](xe, Lt, ht, je, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
346
346
|
} catch (mr) {
|
|
347
347
|
Nt = mr;
|
|
348
348
|
}
|
|
349
|
-
Nt && !(Nt instanceof Error) && ($t(Ft), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
349
|
+
Nt && !(Nt instanceof Error) && ($t(Ft), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ht || "React class", je, Lt, typeof Nt), $t(null)), Nt instanceof Error && !(Nt.message in Gt) && (Gt[Nt.message] = !0, $t(Ft), y("Failed %s type: %s", je, Nt.message), $t(null));
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
}
|
|
@@ -421,7 +421,7 @@ function HB() {
|
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
var cn = function(K, xe, je,
|
|
424
|
+
var cn = function(K, xe, je, ht, Ft, Xt, Lt) {
|
|
425
425
|
var Nt = {
|
|
426
426
|
// This tag allows us to uniquely identify this as a React Element
|
|
427
427
|
$$typeof: e,
|
|
@@ -442,7 +442,7 @@ function HB() {
|
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
444
444
|
writable: !1,
|
|
445
|
-
value:
|
|
445
|
+
value: ht
|
|
446
446
|
}), Object.defineProperty(Nt, "_source", {
|
|
447
447
|
configurable: !1,
|
|
448
448
|
enumerable: !1,
|
|
@@ -450,7 +450,7 @@ function HB() {
|
|
|
450
450
|
value: Ft
|
|
451
451
|
}), Object.freeze && (Object.freeze(Nt.props), Object.freeze(Nt)), Nt;
|
|
452
452
|
};
|
|
453
|
-
function Do(K, xe, je,
|
|
453
|
+
function Do(K, xe, je, ht, Ft) {
|
|
454
454
|
{
|
|
455
455
|
var Xt, Lt = {}, Nt = null, hn = null;
|
|
456
456
|
je !== void 0 && (le(je), Nt = "" + je), ji(xe) && (le(xe.key), Nt = "" + xe.key), Hn(xe) && (hn = xe.ref, Ma(xe, Ft));
|
|
@@ -465,13 +465,13 @@ function HB() {
|
|
|
465
465
|
var Nr = typeof K == "function" ? K.displayName || K.name || "Unknown" : K;
|
|
466
466
|
Nt && Ds(Lt, Nr), hn && Ms(Lt, Nr);
|
|
467
467
|
}
|
|
468
|
-
return cn(K, Nt, hn, Ft,
|
|
468
|
+
return cn(K, Nt, hn, Ft, ht, De.current, Lt);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
var Un = m.ReactCurrentOwner, wb = m.ReactDebugCurrentFrame;
|
|
472
472
|
function su(K) {
|
|
473
473
|
if (K) {
|
|
474
|
-
var xe = K._owner, je =
|
|
474
|
+
var xe = K._owner, je = ct(K.type, K._source, xe ? xe.type : null);
|
|
475
475
|
wb.setExtraStackFrame(je);
|
|
476
476
|
} else
|
|
477
477
|
wb.setExtraStackFrame(null);
|
|
@@ -518,8 +518,8 @@ Check the top-level render call using <` + je + ">.");
|
|
|
518
518
|
if (Ib[je])
|
|
519
519
|
return;
|
|
520
520
|
Ib[je] = !0;
|
|
521
|
-
var
|
|
522
|
-
K && K._owner && K._owner !== Un.current && (
|
|
521
|
+
var ht = "";
|
|
522
|
+
K && K._owner && K._owner !== Un.current && (ht = " It was passed a child from " + M(K._owner.type) + "."), su(K), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', je, ht), su(null);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
function Lb(K, xe) {
|
|
@@ -528,8 +528,8 @@ Check the top-level render call using <` + je + ">.");
|
|
|
528
528
|
return;
|
|
529
529
|
if (Gi(K))
|
|
530
530
|
for (var je = 0; je < K.length; je++) {
|
|
531
|
-
var
|
|
532
|
-
dg(
|
|
531
|
+
var ht = K[je];
|
|
532
|
+
dg(ht) && Nb(ht, xe);
|
|
533
533
|
}
|
|
534
534
|
else if (dg(K))
|
|
535
535
|
K._store && (K._store.validated = !0);
|
|
@@ -556,8 +556,8 @@ Check the top-level render call using <` + je + ">.");
|
|
|
556
556
|
else
|
|
557
557
|
return;
|
|
558
558
|
if (je) {
|
|
559
|
-
var
|
|
560
|
-
aa(je, K.props, "prop",
|
|
559
|
+
var ht = M(xe);
|
|
560
|
+
aa(je, K.props, "prop", ht, K);
|
|
561
561
|
} else if (xe.PropTypes !== void 0 && !fg) {
|
|
562
562
|
fg = !0;
|
|
563
563
|
var Ft = M(xe);
|
|
@@ -569,9 +569,9 @@ Check the top-level render call using <` + je + ">.");
|
|
|
569
569
|
function NB(K) {
|
|
570
570
|
{
|
|
571
571
|
for (var xe = Object.keys(K.props), je = 0; je < xe.length; je++) {
|
|
572
|
-
var
|
|
573
|
-
if (
|
|
574
|
-
su(K), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
572
|
+
var ht = xe[je];
|
|
573
|
+
if (ht !== "children" && ht !== "key") {
|
|
574
|
+
su(K), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ht), su(null);
|
|
575
575
|
break;
|
|
576
576
|
}
|
|
577
577
|
}
|
|
@@ -579,7 +579,7 @@ Check the top-level render call using <` + je + ">.");
|
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
var Db = {};
|
|
582
|
-
function Mb(K, xe, je,
|
|
582
|
+
function Mb(K, xe, je, ht, Ft, Xt) {
|
|
583
583
|
{
|
|
584
584
|
var Lt = R(K);
|
|
585
585
|
if (!Lt) {
|
|
@@ -596,7 +596,7 @@ Check the top-level render call using <` + je + ">.");
|
|
|
596
596
|
if (Lt) {
|
|
597
597
|
var ia = xe.children;
|
|
598
598
|
if (ia !== void 0)
|
|
599
|
-
if (
|
|
599
|
+
if (ht)
|
|
600
600
|
if (Gi(ia)) {
|
|
601
601
|
for (var lu = 0; lu < ia.length; lu++)
|
|
602
602
|
Lb(ia[lu], K);
|
|
@@ -637,7 +637,7 @@ var kb;
|
|
|
637
637
|
function UB() {
|
|
638
638
|
return kb || (kb = 1, process.env.NODE_ENV === "production" ? Df.exports = zB() : Df.exports = HB()), Df.exports;
|
|
639
639
|
}
|
|
640
|
-
var S = UB(), Ci = /* @__PURE__ */ ((t) => (t.USER = "User", t.ASSISTANT = "Assistant", t))(Ci || {}), GB = /* @__PURE__ */ ((t) => (t.TEXT = "Text", t.JSON = "JSON", t.WIDGET = "Widget", t))(GB || {}),
|
|
640
|
+
var S = UB(), Ci = /* @__PURE__ */ ((t) => (t.USER = "User", t.ASSISTANT = "Assistant", t))(Ci || {}), GB = /* @__PURE__ */ ((t) => (t.TEXT = "Text", t.JSON = "JSON", t.WIDGET = "Widget", t))(GB || {}), ft = /* @__PURE__ */ ((t) => (t.TEXT = "Text", t.MARKDOWN = "Markdown", t.WEB_SEARCH = "WebSearch", t.TOOL = "Tool", t.JSON2PLOT = "Json2Plot", t.Text2Sql = "Text2Sql", t))(ft || {}), Wt = /* @__PURE__ */ ((t) => (t.Minute = "minute", t.Hour = "hour", t.ToDay = "toDay", t.Yesterday = "yesterday", t.SixDay = "sixDay", t.Month = "month", t.Year = "year", t))(Wt || {});
|
|
641
641
|
const r1 = (t) => /* @__PURE__ */ S.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", ...t, children: /* @__PURE__ */ S.jsx(
|
|
642
642
|
"path",
|
|
643
643
|
{
|
|
@@ -1075,7 +1075,7 @@ class d6 extends FB {
|
|
|
1075
1075
|
messageId: `user-${Date.now()}`,
|
|
1076
1076
|
content: [
|
|
1077
1077
|
{
|
|
1078
|
-
type:
|
|
1078
|
+
type: ft.TEXT,
|
|
1079
1079
|
content: r
|
|
1080
1080
|
}
|
|
1081
1081
|
],
|
|
@@ -1213,13 +1213,13 @@ class d6 extends FB {
|
|
|
1213
1213
|
if (o.messageId === r) {
|
|
1214
1214
|
const s = o.content.length > 0 ? o.content[o.content.length - 1] : null;
|
|
1215
1215
|
let l;
|
|
1216
|
-
return s && s.type ===
|
|
1217
|
-
type:
|
|
1216
|
+
return s && s.type === ft.MARKDOWN && (s.content === "" || n.startsWith(s.content)) ? (l = [...o.content], l[l.length - 1] = {
|
|
1217
|
+
type: ft.MARKDOWN,
|
|
1218
1218
|
content: n
|
|
1219
1219
|
}) : l = [
|
|
1220
1220
|
...o.content,
|
|
1221
1221
|
{
|
|
1222
|
-
type:
|
|
1222
|
+
type: ft.MARKDOWN,
|
|
1223
1223
|
content: n
|
|
1224
1224
|
}
|
|
1225
1225
|
], { ...o, content: l };
|
|
@@ -1239,7 +1239,7 @@ class d6 extends FB {
|
|
|
1239
1239
|
const s = [
|
|
1240
1240
|
...o.content,
|
|
1241
1241
|
{
|
|
1242
|
-
type:
|
|
1242
|
+
type: ft.WEB_SEARCH,
|
|
1243
1243
|
content: n
|
|
1244
1244
|
}
|
|
1245
1245
|
];
|
|
@@ -1254,25 +1254,26 @@ class d6 extends FB {
|
|
|
1254
1254
|
* @param messageId 消息 ID
|
|
1255
1255
|
* @param result 代码执行的输入和输出结果
|
|
1256
1256
|
*/
|
|
1257
|
-
appendExecuteCodeBlock(r, n) {
|
|
1258
|
-
this.setState((
|
|
1259
|
-
if (
|
|
1260
|
-
const
|
|
1261
|
-
...
|
|
1257
|
+
appendExecuteCodeBlock(r, n, a) {
|
|
1258
|
+
this.setState((i) => ({ messages: i.messages.map((s) => {
|
|
1259
|
+
if (s.messageId === r) {
|
|
1260
|
+
const l = [
|
|
1261
|
+
...s.content,
|
|
1262
1262
|
{
|
|
1263
|
-
type:
|
|
1263
|
+
type: ft.TOOL,
|
|
1264
1264
|
content: {
|
|
1265
1265
|
name: "execute_code",
|
|
1266
1266
|
icon: /* @__PURE__ */ S.jsx(Mp, {}),
|
|
1267
1267
|
title: "代码执行",
|
|
1268
1268
|
input: n.input,
|
|
1269
1269
|
output: n.output
|
|
1270
|
-
}
|
|
1270
|
+
},
|
|
1271
|
+
consumeTime: a
|
|
1271
1272
|
}
|
|
1272
1273
|
];
|
|
1273
|
-
return { ...
|
|
1274
|
+
return { ...s, content: l };
|
|
1274
1275
|
}
|
|
1275
|
-
return
|
|
1276
|
+
return s;
|
|
1276
1277
|
}) }));
|
|
1277
1278
|
}
|
|
1278
1279
|
/**
|
|
@@ -1280,14 +1281,15 @@ class d6 extends FB {
|
|
|
1280
1281
|
* 该方法由子类调用,用于在消息中添加 Text2SQL 查询结果
|
|
1281
1282
|
* @param messageId 消息 ID
|
|
1282
1283
|
* @param result Text2SQL 的输入和输出结果
|
|
1284
|
+
* @param consumeTime 耗时(毫秒),可选
|
|
1283
1285
|
*/
|
|
1284
|
-
appendText2SqlBlock(r, n) {
|
|
1285
|
-
this.setState((
|
|
1286
|
-
if (
|
|
1287
|
-
const
|
|
1288
|
-
...
|
|
1286
|
+
appendText2SqlBlock(r, n, a) {
|
|
1287
|
+
this.setState((i) => ({ messages: i.messages.map((s) => {
|
|
1288
|
+
if (s.messageId === r) {
|
|
1289
|
+
const l = [
|
|
1290
|
+
...s.content,
|
|
1289
1291
|
{
|
|
1290
|
-
type:
|
|
1292
|
+
type: ft.TOOL,
|
|
1291
1293
|
content: {
|
|
1292
1294
|
name: "text2sql",
|
|
1293
1295
|
title: n.title,
|
|
@@ -1296,12 +1298,13 @@ class d6 extends FB {
|
|
|
1296
1298
|
output: {
|
|
1297
1299
|
data: n.data
|
|
1298
1300
|
}
|
|
1299
|
-
}
|
|
1301
|
+
},
|
|
1302
|
+
consumeTime: a
|
|
1300
1303
|
}
|
|
1301
1304
|
];
|
|
1302
|
-
return { ...
|
|
1305
|
+
return { ...s, content: l };
|
|
1303
1306
|
}
|
|
1304
|
-
return
|
|
1307
|
+
return s;
|
|
1305
1308
|
}) }));
|
|
1306
1309
|
}
|
|
1307
1310
|
/**
|
|
@@ -1309,14 +1312,15 @@ class d6 extends FB {
|
|
|
1309
1312
|
* 该方法由子类调用,用于在消息中添加 Text2Metric 查询结果
|
|
1310
1313
|
* @param messageId 消息 ID
|
|
1311
1314
|
* @param result Text2Metric 的输入和输出结果
|
|
1315
|
+
* @param consumeTime 耗时(毫秒),可选
|
|
1312
1316
|
*/
|
|
1313
|
-
appendText2MetricBlock(r, n) {
|
|
1314
|
-
this.setState((
|
|
1315
|
-
if (
|
|
1316
|
-
const
|
|
1317
|
-
...
|
|
1317
|
+
appendText2MetricBlock(r, n, a) {
|
|
1318
|
+
this.setState((i) => ({ messages: i.messages.map((s) => {
|
|
1319
|
+
if (s.messageId === r) {
|
|
1320
|
+
const l = [
|
|
1321
|
+
...s.content,
|
|
1318
1322
|
{
|
|
1319
|
-
type:
|
|
1323
|
+
type: ft.TOOL,
|
|
1320
1324
|
content: {
|
|
1321
1325
|
name: "text2metric",
|
|
1322
1326
|
title: n.title,
|
|
@@ -1325,12 +1329,13 @@ class d6 extends FB {
|
|
|
1325
1329
|
output: {
|
|
1326
1330
|
data: n.data
|
|
1327
1331
|
}
|
|
1328
|
-
}
|
|
1332
|
+
},
|
|
1333
|
+
consumeTime: a
|
|
1329
1334
|
}
|
|
1330
1335
|
];
|
|
1331
|
-
return { ...
|
|
1336
|
+
return { ...s, content: l };
|
|
1332
1337
|
}
|
|
1333
|
-
return
|
|
1338
|
+
return s;
|
|
1334
1339
|
}) }));
|
|
1335
1340
|
}
|
|
1336
1341
|
/**
|
|
@@ -1338,20 +1343,22 @@ class d6 extends FB {
|
|
|
1338
1343
|
* 该方法由子类调用,用于在消息中添加 JSON2Plot 图表数据
|
|
1339
1344
|
* @param messageId 消息 ID
|
|
1340
1345
|
* @param chartData 图表数据 Schema
|
|
1346
|
+
* @param consumeTime 耗时(毫秒),可选
|
|
1341
1347
|
*/
|
|
1342
|
-
appendJson2PlotBlock(r, n) {
|
|
1343
|
-
this.setState((
|
|
1344
|
-
if (
|
|
1345
|
-
const
|
|
1346
|
-
...
|
|
1348
|
+
appendJson2PlotBlock(r, n, a) {
|
|
1349
|
+
this.setState((i) => ({ messages: i.messages.map((s) => {
|
|
1350
|
+
if (s.messageId === r) {
|
|
1351
|
+
const l = [
|
|
1352
|
+
...s.content,
|
|
1347
1353
|
{
|
|
1348
|
-
type:
|
|
1349
|
-
content: n
|
|
1354
|
+
type: ft.JSON2PLOT,
|
|
1355
|
+
content: n,
|
|
1356
|
+
consumeTime: a
|
|
1350
1357
|
}
|
|
1351
1358
|
];
|
|
1352
|
-
return { ...
|
|
1359
|
+
return { ...s, content: l };
|
|
1353
1360
|
}
|
|
1354
|
-
return
|
|
1361
|
+
return s;
|
|
1355
1362
|
}) }));
|
|
1356
1363
|
}
|
|
1357
1364
|
/**
|
|
@@ -1359,29 +1366,31 @@ class d6 extends FB {
|
|
|
1359
1366
|
* 该方法由子类调用,用于在消息中添加 AfSailor 查询结果
|
|
1360
1367
|
* @param messageId 消息 ID
|
|
1361
1368
|
* @param result AfSailor 的输入和输出结果
|
|
1369
|
+
* @param consumeTime 耗时(毫秒),可选
|
|
1362
1370
|
*/
|
|
1363
|
-
appendAfSailorBlock(r, n) {
|
|
1364
|
-
this.setState((
|
|
1365
|
-
var
|
|
1366
|
-
if (
|
|
1367
|
-
const
|
|
1368
|
-
...
|
|
1371
|
+
appendAfSailorBlock(r, n, a) {
|
|
1372
|
+
this.setState((i) => ({ messages: i.messages.map((s) => {
|
|
1373
|
+
var l;
|
|
1374
|
+
if (s.messageId === r) {
|
|
1375
|
+
const u = [
|
|
1376
|
+
...s.content,
|
|
1369
1377
|
{
|
|
1370
|
-
type:
|
|
1378
|
+
type: ft.TOOL,
|
|
1371
1379
|
content: {
|
|
1372
1380
|
name: "af_sailor",
|
|
1373
|
-
title: `找到${((
|
|
1381
|
+
title: `找到${((l = n == null ? void 0 : n.cites) == null ? void 0 : l.length) || 0}条数据`,
|
|
1374
1382
|
icon: /* @__PURE__ */ S.jsx(Sh, {}),
|
|
1375
1383
|
input: n.text || [],
|
|
1376
1384
|
output: {
|
|
1377
1385
|
data: n.cites
|
|
1378
1386
|
}
|
|
1379
|
-
}
|
|
1387
|
+
},
|
|
1388
|
+
consumeTime: a
|
|
1380
1389
|
}
|
|
1381
1390
|
];
|
|
1382
|
-
return { ...
|
|
1391
|
+
return { ...s, content: u };
|
|
1383
1392
|
}
|
|
1384
|
-
return
|
|
1393
|
+
return s;
|
|
1385
1394
|
}) }));
|
|
1386
1395
|
}
|
|
1387
1396
|
/**
|
|
@@ -1389,29 +1398,31 @@ class d6 extends FB {
|
|
|
1389
1398
|
* 该方法由子类调用,用于在消息中添加 DatasourceFilter 查询结果
|
|
1390
1399
|
* @param messageId 消息 ID
|
|
1391
1400
|
* @param result DatasourceFilter 的输入和输出结果
|
|
1401
|
+
* @param consumeTime 耗时(毫秒),可选
|
|
1392
1402
|
*/
|
|
1393
|
-
appendDatasourceFilterBlock(r, n) {
|
|
1394
|
-
this.setState((
|
|
1395
|
-
var
|
|
1396
|
-
if (
|
|
1397
|
-
const
|
|
1398
|
-
...
|
|
1403
|
+
appendDatasourceFilterBlock(r, n, a) {
|
|
1404
|
+
this.setState((i) => ({ messages: i.messages.map((s) => {
|
|
1405
|
+
var l;
|
|
1406
|
+
if (s.messageId === r) {
|
|
1407
|
+
const u = [
|
|
1408
|
+
...s.content,
|
|
1399
1409
|
{
|
|
1400
|
-
type:
|
|
1410
|
+
type: ft.TOOL,
|
|
1401
1411
|
content: {
|
|
1402
1412
|
name: "datasource_filter",
|
|
1403
|
-
title: `匹配到${((
|
|
1413
|
+
title: `匹配到${((l = n == null ? void 0 : n.result) == null ? void 0 : l.length) || 0}个数据`,
|
|
1404
1414
|
icon: /* @__PURE__ */ S.jsx(Sh, {}),
|
|
1405
1415
|
input: [],
|
|
1406
1416
|
output: {
|
|
1407
1417
|
data: n.result
|
|
1408
1418
|
}
|
|
1409
|
-
}
|
|
1419
|
+
},
|
|
1420
|
+
consumeTime: a
|
|
1410
1421
|
}
|
|
1411
1422
|
];
|
|
1412
|
-
return { ...
|
|
1423
|
+
return { ...s, content: u };
|
|
1413
1424
|
}
|
|
1414
|
-
return
|
|
1425
|
+
return s;
|
|
1415
1426
|
}) }));
|
|
1416
1427
|
}
|
|
1417
1428
|
/**
|
|
@@ -8769,8 +8780,8 @@ var zi = function(e, r) {
|
|
|
8769
8780
|
elem: l,
|
|
8770
8781
|
shift: 0
|
|
8771
8782
|
}]; u.length > 0; ) {
|
|
8772
|
-
var
|
|
8773
|
-
|
|
8783
|
+
var ct = u.pop(), vt = ct.pos - B;
|
|
8784
|
+
ct.isDashed ? rt.push({
|
|
8774
8785
|
type: "elem",
|
|
8775
8786
|
elem: st,
|
|
8776
8787
|
shift: vt
|
|
@@ -21885,12 +21896,12 @@ const NN = ({ block: t, fontSize: e = 14, fontColor: r }) => {
|
|
|
21885
21896
|
{
|
|
21886
21897
|
src: a,
|
|
21887
21898
|
alt: r,
|
|
21888
|
-
className: "w-
|
|
21899
|
+
className: "w-[20px] h-[20px]",
|
|
21889
21900
|
onError: (v) => {
|
|
21890
21901
|
v.currentTarget.style.display = "none";
|
|
21891
21902
|
}
|
|
21892
21903
|
}
|
|
21893
|
-
) : /* @__PURE__ */ S.jsx("div", { className: "w-
|
|
21904
|
+
) : /* @__PURE__ */ S.jsx("div", { className: "w-[20px] h-[20px]", children: a }) : null, l = (v) => {
|
|
21894
21905
|
if (v == null)
|
|
21895
21906
|
return "";
|
|
21896
21907
|
if (typeof v == "string")
|
|
@@ -21905,18 +21916,18 @@ const NN = ({ block: t, fontSize: e = 14, fontColor: r }) => {
|
|
|
21905
21916
|
${v}
|
|
21906
21917
|
\`\`\``;
|
|
21907
21918
|
return /* @__PURE__ */ S.jsx("div", { className: "markdown-block prose prose-sm max-w-none", children: /* @__PURE__ */ S.jsx(sc, { remarkPlugins: [lc], children: g }) });
|
|
21908
|
-
}, f = (v) => /* @__PURE__ */ S.jsx("div", { className: "markdown-block prose prose-sm max-w-none", children: /* @__PURE__ */ S.jsx(sc, { remarkPlugins: [lc], children: v }) }), d = (v) => /* @__PURE__ */ S.jsx("div", { className: "text-sm text-gray-700 whitespace-pre-wrap break-words", children: v }), p = (v) => !v || typeof v != "object" ? /* @__PURE__ */ S.jsx("div", { className: "text-sm text-gray-500", children: "暂无数据" }) : /* @__PURE__ */ S.jsxs("div", { className: "space-y-
|
|
21919
|
+
}, f = (v) => /* @__PURE__ */ S.jsx("div", { className: "markdown-block prose prose-sm max-w-none", children: /* @__PURE__ */ S.jsx(sc, { remarkPlugins: [lc], children: v }) }), d = (v) => /* @__PURE__ */ S.jsx("div", { className: "text-sm text-gray-700 whitespace-pre-wrap break-words", children: v }), p = (v) => !v || typeof v != "object" ? /* @__PURE__ */ S.jsx("div", { className: "text-sm text-gray-500", children: "暂无数据" }) : /* @__PURE__ */ S.jsxs("div", { className: "space-y-[16px]", children: [
|
|
21909
21920
|
v.title && /* @__PURE__ */ S.jsx("div", { className: "text-base font-semibold text-gray-900", children: v.title }),
|
|
21910
21921
|
v.message && /* @__PURE__ */ S.jsx("div", { className: "text-sm text-gray-700", children: v.message }),
|
|
21911
21922
|
v.sql && /* @__PURE__ */ S.jsxs("div", { children: [
|
|
21912
|
-
/* @__PURE__ */ S.jsx("h4", { className: "text-sm font-bold text-gray-900 mb-
|
|
21913
|
-
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-
|
|
21923
|
+
/* @__PURE__ */ S.jsx("h4", { className: "text-sm font-bold text-gray-900 mb-[8px]", children: "SQL 语句" }),
|
|
21924
|
+
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-[8px] p-[16px] overflow-x-auto", children: /* @__PURE__ */ S.jsx("pre", { className: "text-sm text-gray-700 font-mono whitespace-pre-wrap break-words", children: v.sql }) })
|
|
21914
21925
|
] }),
|
|
21915
21926
|
v.cites && Array.isArray(v.cites) && v.cites.length > 0 && /* @__PURE__ */ S.jsxs("div", { children: [
|
|
21916
|
-
/* @__PURE__ */ S.jsx("h4", { className: "text-sm font-bold text-gray-900 mb-
|
|
21917
|
-
/* @__PURE__ */ S.jsx("div", { className: "space-y-
|
|
21927
|
+
/* @__PURE__ */ S.jsx("h4", { className: "text-sm font-bold text-gray-900 mb-[8px]", children: "数据源" }),
|
|
21928
|
+
/* @__PURE__ */ S.jsx("div", { className: "space-y-[8px]", children: v.cites.map((g, m) => /* @__PURE__ */ S.jsxs("div", { className: "text-sm text-gray-600", children: [
|
|
21918
21929
|
/* @__PURE__ */ S.jsx("span", { className: "font-medium", children: g.name || g.id }),
|
|
21919
|
-
g.description && /* @__PURE__ */ S.jsxs("span", { className: "ml-
|
|
21930
|
+
g.description && /* @__PURE__ */ S.jsxs("span", { className: "ml-[8px] text-gray-500", children: [
|
|
21920
21931
|
"(",
|
|
21921
21932
|
g.description,
|
|
21922
21933
|
")"
|
|
@@ -21928,18 +21939,18 @@ ${v}
|
|
|
21928
21939
|
"返回记录数: ",
|
|
21929
21940
|
v.dataDesc.return_records_num
|
|
21930
21941
|
] }),
|
|
21931
|
-
v.dataDesc.real_records_num !== void 0 && /* @__PURE__ */ S.jsxs("span", { className: "ml-
|
|
21942
|
+
v.dataDesc.real_records_num !== void 0 && /* @__PURE__ */ S.jsxs("span", { className: "ml-[16px]", children: [
|
|
21932
21943
|
"实际记录数: ",
|
|
21933
21944
|
v.dataDesc.real_records_num
|
|
21934
21945
|
] })
|
|
21935
21946
|
] }),
|
|
21936
21947
|
v.data && Array.isArray(v.data) && v.data.length > 0 && /* @__PURE__ */ S.jsxs("div", { children: [
|
|
21937
|
-
/* @__PURE__ */ S.jsx("h4", { className: "text-sm font-bold text-gray-900 mb-
|
|
21938
|
-
/* @__PURE__ */ S.jsx("div", { className: "overflow-x-auto border border-gray-200 rounded-
|
|
21948
|
+
/* @__PURE__ */ S.jsx("h4", { className: "text-sm font-bold text-gray-900 mb-[8px]", children: "查询结果" }),
|
|
21949
|
+
/* @__PURE__ */ S.jsx("div", { className: "overflow-x-auto border border-gray-200 rounded-[8px]", children: /* @__PURE__ */ S.jsxs("table", { className: "min-w-full divide-y divide-gray-200", children: [
|
|
21939
21950
|
/* @__PURE__ */ S.jsx("thead", { className: "bg-gray-50", children: /* @__PURE__ */ S.jsx("tr", { children: Object.keys(v.data[0]).map((g) => /* @__PURE__ */ S.jsx(
|
|
21940
21951
|
"th",
|
|
21941
21952
|
{
|
|
21942
|
-
className: "px-
|
|
21953
|
+
className: "px-[16px] py-[8px] text-left text-xs font-medium text-gray-500 uppercase tracking-wider",
|
|
21943
21954
|
children: g
|
|
21944
21955
|
},
|
|
21945
21956
|
g
|
|
@@ -21947,7 +21958,7 @@ ${v}
|
|
|
21947
21958
|
/* @__PURE__ */ S.jsx("tbody", { className: "bg-white divide-y divide-gray-200", children: v.data.map((g, m) => /* @__PURE__ */ S.jsx("tr", { children: Object.keys(v.data[0]).map((y) => /* @__PURE__ */ S.jsx(
|
|
21948
21959
|
"td",
|
|
21949
21960
|
{
|
|
21950
|
-
className: "px-
|
|
21961
|
+
className: "px-[16px] py-[8px] text-sm text-gray-700 whitespace-nowrap",
|
|
21951
21962
|
children: g[y] !== null && g[y] !== void 0 ? String(g[y]) : "-"
|
|
21952
21963
|
},
|
|
21953
21964
|
y
|
|
@@ -21955,8 +21966,8 @@ ${v}
|
|
|
21955
21966
|
] }) })
|
|
21956
21967
|
] }),
|
|
21957
21968
|
v.explanation && /* @__PURE__ */ S.jsxs("div", { children: [
|
|
21958
|
-
/* @__PURE__ */ S.jsx("h4", { className: "text-sm font-bold text-gray-900 mb-
|
|
21959
|
-
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-
|
|
21969
|
+
/* @__PURE__ */ S.jsx("h4", { className: "text-sm font-bold text-gray-900 mb-[8px]", children: "解释信息" }),
|
|
21970
|
+
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-[8px] p-[16px]", children: /* @__PURE__ */ S.jsx("pre", { className: "text-sm text-gray-700 whitespace-pre-wrap break-words font-mono", children: JSON.stringify(v.explanation, null, 2) }) })
|
|
21960
21971
|
] })
|
|
21961
21972
|
] });
|
|
21962
21973
|
return t ? /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
@@ -21968,8 +21979,8 @@ ${v}
|
|
|
21968
21979
|
}
|
|
21969
21980
|
),
|
|
21970
21981
|
/* @__PURE__ */ S.jsxs("div", { className: "fixed right-0 top-0 bottom-0 w-[600px] max-w-[90vw] bg-white shadow-xl z-50 flex flex-col animate-slide-in-right", children: [
|
|
21971
|
-
/* @__PURE__ */ S.jsxs("div", { className: "flex items-center justify-between px-
|
|
21972
|
-
/* @__PURE__ */ S.jsxs("div", { className: "flex items-center gap-
|
|
21982
|
+
/* @__PURE__ */ S.jsxs("div", { className: "flex items-center justify-between px-[24px] py-[16px] border-b border-gray-200", children: [
|
|
21983
|
+
/* @__PURE__ */ S.jsxs("div", { className: "flex items-center gap-[12px]", children: [
|
|
21973
21984
|
s(),
|
|
21974
21985
|
/* @__PURE__ */ S.jsx("h2", { className: "text-lg font-semibold text-gray-900", children: n })
|
|
21975
21986
|
] }),
|
|
@@ -21977,12 +21988,12 @@ ${v}
|
|
|
21977
21988
|
"button",
|
|
21978
21989
|
{
|
|
21979
21990
|
onClick: e,
|
|
21980
|
-
className: "w-
|
|
21991
|
+
className: "w-[32px] h-[32px] flex items-center justify-center rounded-full hover:bg-gray-100 transition-colors",
|
|
21981
21992
|
"aria-label": "关闭",
|
|
21982
21993
|
children: /* @__PURE__ */ S.jsx(
|
|
21983
21994
|
"svg",
|
|
21984
21995
|
{
|
|
21985
|
-
className: "w-
|
|
21996
|
+
className: "w-[20px] h-[20px] text-gray-500",
|
|
21986
21997
|
viewBox: "0 0 24 24",
|
|
21987
21998
|
fill: "none",
|
|
21988
21999
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -22001,36 +22012,36 @@ ${v}
|
|
|
22001
22012
|
}
|
|
22002
22013
|
)
|
|
22003
22014
|
] }),
|
|
22004
|
-
/* @__PURE__ */ S.jsxs("div", { className: "flex-1 overflow-y-auto px-
|
|
22015
|
+
/* @__PURE__ */ S.jsxs("div", { className: "flex-1 overflow-y-auto px-[24px] py-[16px]", children: [
|
|
22005
22016
|
u() ? /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
22006
|
-
i != null && /* @__PURE__ */ S.jsxs("div", { className: "mb-
|
|
22007
|
-
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-
|
|
22008
|
-
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-
|
|
22017
|
+
i != null && /* @__PURE__ */ S.jsxs("div", { className: "mb-[24px]", children: [
|
|
22018
|
+
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-[12px]", children: "输入" }),
|
|
22019
|
+
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-[8px] p-[16px] overflow-x-auto", children: h(typeof i == "string" ? i : l(i)) })
|
|
22009
22020
|
] }),
|
|
22010
22021
|
o != null && /* @__PURE__ */ S.jsxs("div", { children: [
|
|
22011
|
-
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-
|
|
22012
|
-
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-
|
|
22022
|
+
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-[12px]", children: "输出" }),
|
|
22023
|
+
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-[8px] p-[16px] overflow-x-auto", children: f(typeof o == "string" ? o : l(o)) })
|
|
22013
22024
|
] })
|
|
22014
22025
|
] }) : c() ? /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
22015
|
-
i != null && /* @__PURE__ */ S.jsxs("div", { className: "mb-
|
|
22016
|
-
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-
|
|
22017
|
-
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-
|
|
22026
|
+
i != null && /* @__PURE__ */ S.jsxs("div", { className: "mb-[24px]", children: [
|
|
22027
|
+
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-[12px]", children: "查询输入" }),
|
|
22028
|
+
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-[8px] p-[16px] overflow-x-auto", children: d(typeof i == "string" ? i : l(i)) })
|
|
22018
22029
|
] }),
|
|
22019
22030
|
o != null && /* @__PURE__ */ S.jsxs("div", { children: [
|
|
22020
22031
|
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-3", children: "查询结果" }),
|
|
22021
|
-
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-
|
|
22032
|
+
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-[8px] p-4 overflow-x-auto", children: p(o) })
|
|
22022
22033
|
] })
|
|
22023
22034
|
] }) : /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
22024
|
-
i != null && /* @__PURE__ */ S.jsxs("div", { className: "mb-
|
|
22025
|
-
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-
|
|
22026
|
-
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-
|
|
22035
|
+
i != null && /* @__PURE__ */ S.jsxs("div", { className: "mb-[24px]", children: [
|
|
22036
|
+
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-[12px]", children: "输入" }),
|
|
22037
|
+
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-[8px] p-[16px]", children: /* @__PURE__ */ S.jsx("pre", { className: "text-sm text-gray-700 whitespace-pre-wrap break-words font-mono", children: l(i) }) })
|
|
22027
22038
|
] }),
|
|
22028
22039
|
o != null && /* @__PURE__ */ S.jsxs("div", { children: [
|
|
22029
|
-
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-
|
|
22030
|
-
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-
|
|
22040
|
+
/* @__PURE__ */ S.jsx("h3", { className: "text-sm font-bold text-gray-900 mb-[12px]", children: "输出" }),
|
|
22041
|
+
/* @__PURE__ */ S.jsx("div", { className: "bg-gray-50 border border-gray-200 rounded-[8px] p-[16px]", children: /* @__PURE__ */ S.jsx("pre", { className: "text-sm text-gray-700 whitespace-pre-wrap break-words font-mono", children: l(o) }) })
|
|
22031
22042
|
] })
|
|
22032
22043
|
] }),
|
|
22033
|
-
i == null && o == null && /* @__PURE__ */ S.jsx("div", { className: "text-center text-gray-400 py-
|
|
22044
|
+
i == null && o == null && /* @__PURE__ */ S.jsx("div", { className: "text-center text-gray-400 py-[32px]", children: "暂无数据" })
|
|
22034
22045
|
] })
|
|
22035
22046
|
] }),
|
|
22036
22047
|
/* @__PURE__ */ S.jsx("style", { children: `
|
|
@@ -22115,29 +22126,29 @@ const LN = ({ block: t }) => {
|
|
|
22115
22126
|
{
|
|
22116
22127
|
src: c,
|
|
22117
22128
|
alt: i,
|
|
22118
|
-
className: "w-
|
|
22129
|
+
className: "w-[20px] h-[20px] flex-shrink-0",
|
|
22119
22130
|
onError: (d) => {
|
|
22120
22131
|
d.currentTarget.style.display = "none";
|
|
22121
22132
|
}
|
|
22122
22133
|
}
|
|
22123
|
-
) : /* @__PURE__ */ S.jsx("div", { className: "w-
|
|
22134
|
+
) : /* @__PURE__ */ S.jsx("div", { className: "w-[20px] h-[20px] flex-shrink-0", children: c }) : null, f = () => {
|
|
22124
22135
|
l && (u != null && u.onClick) ? u.onClick(t) : r(!0);
|
|
22125
22136
|
};
|
|
22126
22137
|
return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
22127
|
-
/* @__PURE__ */ S.jsx("div", { className: "tool-block bg-white border border-[#d9d9d9] rounded-[6px] my-
|
|
22138
|
+
/* @__PURE__ */ S.jsx("div", { className: "tool-block bg-white border border-[#d9d9d9] rounded-[6px] my-[8px]", children: /* @__PURE__ */ S.jsxs(
|
|
22128
22139
|
"div",
|
|
22129
22140
|
{
|
|
22130
|
-
className: "flex items-center justify-between px-
|
|
22141
|
+
className: "flex items-center justify-between px-[12px] py-[8px] cursor-pointer hover:bg-gray-50 transition-colors",
|
|
22131
22142
|
onClick: f,
|
|
22132
22143
|
children: [
|
|
22133
|
-
/* @__PURE__ */ S.jsxs("div", { className: "flex items-center gap-
|
|
22144
|
+
/* @__PURE__ */ S.jsxs("div", { className: "flex items-center gap-[12px] flex-1 min-w-0", children: [
|
|
22134
22145
|
h(),
|
|
22135
22146
|
/* @__PURE__ */ S.jsx("span", { className: "text-sm text-[rgba(0,0,0,0.65)] truncate", children: a })
|
|
22136
22147
|
] }),
|
|
22137
|
-
/* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center w-
|
|
22148
|
+
/* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center w-[16px] h-[16px] flex-shrink-0", children: /* @__PURE__ */ S.jsx(
|
|
22138
22149
|
"svg",
|
|
22139
22150
|
{
|
|
22140
|
-
className: "w-
|
|
22151
|
+
className: "w-[16px] h-[16px] text-gray-400",
|
|
22141
22152
|
viewBox: "0 0 24 24",
|
|
22142
22153
|
fill: "none",
|
|
22143
22154
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -22171,14 +22182,14 @@ const LN = ({ block: t }) => {
|
|
|
22171
22182
|
] });
|
|
22172
22183
|
}, mj = ({ block: t }) => {
|
|
22173
22184
|
const { input: e, results: r } = t.content, n = {
|
|
22174
|
-
type:
|
|
22185
|
+
type: ft.TOOL,
|
|
22175
22186
|
content: {
|
|
22176
22187
|
name: "web_search",
|
|
22177
22188
|
title: `联网搜索:${e}`,
|
|
22178
22189
|
icon: /* @__PURE__ */ S.jsx(
|
|
22179
22190
|
"svg",
|
|
22180
22191
|
{
|
|
22181
|
-
className: "w-
|
|
22192
|
+
className: "w-[20px] h-[20px] text-blue-600",
|
|
22182
22193
|
fill: "none",
|
|
22183
22194
|
stroke: "currentColor",
|
|
22184
22195
|
viewBox: "0 0 24 24",
|
|
@@ -25753,7 +25764,7 @@ function FY(t) {
|
|
|
25753
25764
|
autolink: i($t),
|
|
25754
25765
|
autolinkProtocol: L,
|
|
25755
25766
|
autolinkEmail: L,
|
|
25756
|
-
atxHeading: i(
|
|
25767
|
+
atxHeading: i(ct),
|
|
25757
25768
|
blockQuote: i(Me),
|
|
25758
25769
|
characterEscape: L,
|
|
25759
25770
|
characterReference: L,
|
|
@@ -25788,7 +25799,7 @@ function FY(t) {
|
|
|
25788
25799
|
referenceString: o,
|
|
25789
25800
|
resourceDestinationString: o,
|
|
25790
25801
|
resourceTitleString: o,
|
|
25791
|
-
setextHeading: i(
|
|
25802
|
+
setextHeading: i(ct),
|
|
25792
25803
|
strong: i(cg),
|
|
25793
25804
|
thematicBreak: i(Lf)
|
|
25794
25805
|
},
|
|
@@ -26185,7 +26196,7 @@ function FY(t) {
|
|
|
26185
26196
|
children: []
|
|
26186
26197
|
};
|
|
26187
26198
|
}
|
|
26188
|
-
function
|
|
26199
|
+
function ct() {
|
|
26189
26200
|
return {
|
|
26190
26201
|
type: "heading",
|
|
26191
26202
|
// @ts-expect-error `depth` will be set later.
|
|
@@ -28901,9 +28912,9 @@ em {
|
|
|
28901
28912
|
${t}
|
|
28902
28913
|
</body>
|
|
28903
28914
|
</html>`, D$ = (t) => Array.isArray(t.content) ? t.content.map((e) => {
|
|
28904
|
-
if (e.type ===
|
|
28915
|
+
if (e.type === ft.TEXT || e.type === ft.MARKDOWN)
|
|
28905
28916
|
return e.content;
|
|
28906
|
-
if (e.type ===
|
|
28917
|
+
if (e.type === ft.TOOL)
|
|
28907
28918
|
try {
|
|
28908
28919
|
const r = e.content;
|
|
28909
28920
|
let n = "";
|
|
@@ -28995,7 +29006,7 @@ ${String(r.output)}`;
|
|
|
28995
29006
|
var u;
|
|
28996
29007
|
return Array.isArray(t.content) ? t.content.some((c) => {
|
|
28997
29008
|
var h;
|
|
28998
|
-
return c.type ===
|
|
29009
|
+
return c.type === ft.TEXT || c.type === ft.MARKDOWN ? ((h = c.content) == null ? void 0 : h.trim().length) > 0 : !0;
|
|
28999
29010
|
}) : ((u = t.content) == null ? void 0 : u.trim().length) > 0;
|
|
29000
29011
|
}, s = () => /* @__PURE__ */ S.jsx(
|
|
29001
29012
|
"span",
|
|
@@ -29004,15 +29015,15 @@ ${String(r.output)}`;
|
|
|
29004
29015
|
style: { fontFamily: "Noto Sans SC" },
|
|
29005
29016
|
children: "正在思考..."
|
|
29006
29017
|
}
|
|
29007
|
-
), l = () => e && !o() ? s() : Array.isArray(t.content) ? /* @__PURE__ */ S.jsx("div", { className: "space-y-
|
|
29018
|
+
), l = () => e && !o() ? s() : Array.isArray(t.content) ? /* @__PURE__ */ S.jsx("div", { className: "space-y-[8px]", children: t.content.map((u, c) => {
|
|
29008
29019
|
switch (u.type) {
|
|
29009
|
-
case
|
|
29020
|
+
case ft.TEXT:
|
|
29010
29021
|
return /* @__PURE__ */ S.jsx(ZB, { block: u }, c);
|
|
29011
|
-
case
|
|
29022
|
+
case ft.MARKDOWN:
|
|
29012
29023
|
return /* @__PURE__ */ S.jsx(NN, { block: u }, c);
|
|
29013
|
-
case
|
|
29024
|
+
case ft.WEB_SEARCH:
|
|
29014
29025
|
return /* @__PURE__ */ S.jsx(mj, { block: u }, c);
|
|
29015
|
-
case
|
|
29026
|
+
case ft.TOOL:
|
|
29016
29027
|
return /* @__PURE__ */ S.jsx(LN, { block: u }, c);
|
|
29017
29028
|
default:
|
|
29018
29029
|
return null;
|
|
@@ -29021,13 +29032,13 @@ ${String(r.output)}`;
|
|
|
29021
29032
|
return /* @__PURE__ */ S.jsxs(
|
|
29022
29033
|
"div",
|
|
29023
29034
|
{
|
|
29024
|
-
className: `flex ${n ? "justify-end" : "justify-start"} mb-
|
|
29035
|
+
className: `flex ${n ? "justify-end" : "justify-start"} mb-[8px] group`,
|
|
29025
29036
|
children: [
|
|
29026
|
-
!n && /* @__PURE__ */ S.jsx("div", { className: "w-[21px] h-[21px] mr-
|
|
29037
|
+
!n && /* @__PURE__ */ S.jsx("div", { className: "w-[21px] h-[21px] mr-[8px] flex-shrink-0", children: /* @__PURE__ */ S.jsx(f6, { className: "w-[21px] h-[21px]" }) }),
|
|
29027
29038
|
/* @__PURE__ */ S.jsxs(
|
|
29028
29039
|
"div",
|
|
29029
29040
|
{
|
|
29030
|
-
className: `flex flex-col gap-
|
|
29041
|
+
className: `flex flex-col gap-[8px] ${n ? "max-w-[calc(100%-30px)]" : "w-[calc(100%-30px)]"}`,
|
|
29031
29042
|
children: [
|
|
29032
29043
|
n && t.applicationContext && t.applicationContext.title && /* @__PURE__ */ S.jsx("div", { className: "self-end", children: /* @__PURE__ */ S.jsx(
|
|
29033
29044
|
"span",
|
|
@@ -29048,7 +29059,7 @@ ${String(r.output)}`;
|
|
|
29048
29059
|
!e && o() && /* @__PURE__ */ S.jsxs(
|
|
29049
29060
|
"div",
|
|
29050
29061
|
{
|
|
29051
|
-
className: `flex items-center gap-
|
|
29062
|
+
className: `flex items-center gap-[8px] ${n ? "justify-end" : "justify-start"} ${n ? "opacity-0 group-hover:opacity-100 transition-opacity" : ""}`,
|
|
29052
29063
|
children: [
|
|
29053
29064
|
/* @__PURE__ */ S.jsx(
|
|
29054
29065
|
"button",
|
|
@@ -29056,7 +29067,7 @@ ${String(r.output)}`;
|
|
|
29056
29067
|
onClick: async () => {
|
|
29057
29068
|
await oL(t) && (i(!0), setTimeout(() => i(!1), 1e3));
|
|
29058
29069
|
},
|
|
29059
|
-
className: "flex items-center justify-center w-[24px] h-[24px] rounded hover:bg-[rgba(0,0,0,0.05)]",
|
|
29070
|
+
className: "flex items-center justify-center w-[24px] h-[24px] rounded-[4px] hover:bg-[rgba(0,0,0,0.05)]",
|
|
29060
29071
|
title: a ? "已复制" : "复制",
|
|
29061
29072
|
children: /* @__PURE__ */ S.jsx(
|
|
29062
29073
|
CA,
|
|
@@ -29130,9 +29141,9 @@ ${String(r.output)}`;
|
|
|
29130
29141
|
const l = (u) => {
|
|
29131
29142
|
u.key === "Enter" && !u.shiftKey && (u.preventDefault(), r());
|
|
29132
29143
|
};
|
|
29133
|
-
return /* @__PURE__ */ S.jsx("div", { className: "px-
|
|
29134
|
-
n && n.title && /* @__PURE__ */ S.jsxs("div", { className: "absolute top-0 left-
|
|
29135
|
-
/* @__PURE__ */ S.jsx("p", { className: "text-[12px] leading-
|
|
29144
|
+
return /* @__PURE__ */ S.jsx("div", { className: "px-[20px] pb-[12px] bg-white", children: /* @__PURE__ */ S.jsxs("div", { className: "relative h-[112px]", children: [
|
|
29145
|
+
n && n.title && /* @__PURE__ */ S.jsxs("div", { className: "absolute top-0 left-[4px] right-[4px] bg-[rgba(18,110,227,0.04)] rounded-[8px] px-[16px] py-[8px] h-[40px] flex items-center", children: [
|
|
29146
|
+
/* @__PURE__ */ S.jsx("p", { className: "text-[12px] leading-[24px] text-[rgba(0,0,0,0.85)] truncate", style: { fontFamily: "Noto Sans SC" }, children: n.title }),
|
|
29136
29147
|
/* @__PURE__ */ S.jsx(
|
|
29137
29148
|
"button",
|
|
29138
29149
|
{
|
|
@@ -29142,7 +29153,7 @@ ${String(r.output)}`;
|
|
|
29142
29153
|
children: /* @__PURE__ */ S.jsx(
|
|
29143
29154
|
"svg",
|
|
29144
29155
|
{
|
|
29145
|
-
className: "w-
|
|
29156
|
+
className: "w-[12px] h-[12px]",
|
|
29146
29157
|
fill: "none",
|
|
29147
29158
|
stroke: "currentColor",
|
|
29148
29159
|
viewBox: "0 0 24 24",
|
|
@@ -29163,7 +29174,7 @@ ${String(r.output)}`;
|
|
|
29163
29174
|
/* @__PURE__ */ S.jsxs(
|
|
29164
29175
|
"div",
|
|
29165
29176
|
{
|
|
29166
|
-
className: "absolute bg-white border-[1.5px] border-solid border-[#3b9be0] rounded-
|
|
29177
|
+
className: "absolute bg-white border-[1.5px] border-solid border-[#3b9be0] rounded-[16px] overflow-hidden",
|
|
29167
29178
|
style: {
|
|
29168
29179
|
top: n && n.title ? "48px" : "0",
|
|
29169
29180
|
left: 0,
|
|
@@ -29181,7 +29192,7 @@ ${String(r.output)}`;
|
|
|
29181
29192
|
onKeyDown: l,
|
|
29182
29193
|
placeholder: "查询任何问题",
|
|
29183
29194
|
disabled: i,
|
|
29184
|
-
className: "w-full h-full resize-none px-
|
|
29195
|
+
className: "w-full h-full resize-none px-[12px] py-[12px] text-[14px] leading-normal text-black placeholder:text-[rgba(0,0,0,0.25)] focus:outline-none disabled:bg-gray-50 disabled:cursor-not-allowed",
|
|
29185
29196
|
style: { fontFamily: "Noto Sans, Noto Sans SC, Noto Sans JP, sans-serif" },
|
|
29186
29197
|
maxLength: 4e3
|
|
29187
29198
|
}
|
|
@@ -29192,7 +29203,7 @@ ${String(r.output)}`;
|
|
|
29192
29203
|
"button",
|
|
29193
29204
|
{
|
|
29194
29205
|
onClick: s,
|
|
29195
|
-
className: "absolute bottom-
|
|
29206
|
+
className: "absolute bottom-[12px] right-[16px] w-[32px] h-[32px] flex items-center justify-center bg-[#126EE3] hover:bg-[#126EE3] rounded-[6px] transition-colors",
|
|
29196
29207
|
title: "停止响应",
|
|
29197
29208
|
children: /* @__PURE__ */ S.jsx(yA, {})
|
|
29198
29209
|
}
|
|
@@ -29204,7 +29215,7 @@ ${String(r.output)}`;
|
|
|
29204
29215
|
{
|
|
29205
29216
|
onClick: r,
|
|
29206
29217
|
disabled: i || !t.trim(),
|
|
29207
|
-
className: "absolute bottom-
|
|
29218
|
+
className: "absolute bottom-[12px] right-[16px] w-[32px] h-[32px] flex items-center justify-center bg-[#126EE3] hover:bg-[#126EE3] rounded-md transition-colors disabled:opacity-25 disabled:cursor-not-allowed transition-opacity",
|
|
29208
29219
|
title: i ? "正在发送..." : "发送消息",
|
|
29209
29220
|
children: /* @__PURE__ */ S.jsx(xA, { disabled: i || !t.trim() })
|
|
29210
29221
|
}
|
|
@@ -29316,7 +29327,7 @@ ${String(r.output)}`;
|
|
|
29316
29327
|
className: "absolute w-[360px] bg-white rounded-[12px] shadow-[0px_5px_28px_0px_rgba(0,0,0,0.2)] z-50",
|
|
29317
29328
|
style: B(),
|
|
29318
29329
|
children: /* @__PURE__ */ S.jsxs("div", { className: "max-h-[406px] overflow-y-auto px-[14px] py-[14px]", children: [
|
|
29319
|
-
l && /* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center py-
|
|
29330
|
+
l && /* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center py-[48px]", children: /* @__PURE__ */ S.jsx(
|
|
29320
29331
|
"div",
|
|
29321
29332
|
{
|
|
29322
29333
|
className: "text-[14px] text-[rgba(0,0,0,0.45)]",
|
|
@@ -29324,7 +29335,7 @@ ${String(r.output)}`;
|
|
|
29324
29335
|
children: "加载中..."
|
|
29325
29336
|
}
|
|
29326
29337
|
) }),
|
|
29327
|
-
c && /* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center py-
|
|
29338
|
+
c && /* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center py-[48px]", children: /* @__PURE__ */ S.jsx(
|
|
29328
29339
|
"div",
|
|
29329
29340
|
{
|
|
29330
29341
|
className: "text-[14px] text-red-500",
|
|
@@ -29332,7 +29343,7 @@ ${String(r.output)}`;
|
|
|
29332
29343
|
children: c
|
|
29333
29344
|
}
|
|
29334
29345
|
) }),
|
|
29335
|
-
!l && !c && o.length === 0 && /* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center py-
|
|
29346
|
+
!l && !c && o.length === 0 && /* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center py-[48px]", children: /* @__PURE__ */ S.jsx(
|
|
29336
29347
|
"div",
|
|
29337
29348
|
{
|
|
29338
29349
|
className: "text-[14px] text-[rgba(0,0,0,0.45)]",
|
|
@@ -29432,19 +29443,19 @@ ${String(r.output)}`;
|
|
|
29432
29443
|
onGetConversations: a,
|
|
29433
29444
|
onLoadConversation: i,
|
|
29434
29445
|
onDeleteConversation: o
|
|
29435
|
-
}) => /* @__PURE__ */ S.jsx("div", { className: "
|
|
29436
|
-
/* @__PURE__ */ S.jsxs("div", { className: "
|
|
29437
|
-
/* @__PURE__ */ S.jsx("div", { className: "w-
|
|
29438
|
-
/* @__PURE__ */ S.jsx("div", { className: "
|
|
29446
|
+
}) => /* @__PURE__ */ S.jsx("div", { className: "h-[56px] w-full bg-white px-[21px] flex items-center", children: /* @__PURE__ */ S.jsxs("div", { className: "w-full h-[32px] flex items-center justify-between", children: [
|
|
29447
|
+
/* @__PURE__ */ S.jsxs("div", { className: "flex items-center h-[32px]", children: [
|
|
29448
|
+
/* @__PURE__ */ S.jsx("div", { className: "w-[32px] h-[32px]", children: /* @__PURE__ */ S.jsx(f6, { className: "w-[32px] h-[32px]" }) }),
|
|
29449
|
+
/* @__PURE__ */ S.jsx("div", { className: "m-[8px]", children: /* @__PURE__ */ S.jsx(
|
|
29439
29450
|
"p",
|
|
29440
29451
|
{
|
|
29441
|
-
className: "font-medium text-[18px] leading-
|
|
29452
|
+
className: "font-medium text-[18px] leading-[16px] text-black whitespace-nowrap",
|
|
29442
29453
|
style: { fontFamily: "Noto Sans SC" },
|
|
29443
29454
|
children: t
|
|
29444
29455
|
}
|
|
29445
29456
|
) })
|
|
29446
29457
|
] }),
|
|
29447
|
-
/* @__PURE__ */ S.jsxs("div", { className: "
|
|
29458
|
+
/* @__PURE__ */ S.jsxs("div", { className: "h-[32px] flex items-center", children: [
|
|
29448
29459
|
a && i && o && /* @__PURE__ */ S.jsx("div", { className: "relative", children: /* @__PURE__ */ S.jsx(
|
|
29449
29460
|
P$,
|
|
29450
29461
|
{
|
|
@@ -29457,7 +29468,7 @@ ${String(r.output)}`;
|
|
|
29457
29468
|
"button",
|
|
29458
29469
|
{
|
|
29459
29470
|
onClick: r,
|
|
29460
|
-
className: "ml-
|
|
29471
|
+
className: "ml-[12px] w-[16px] h-[16px] flex items-center justify-center text-[rgba(0,0,0,0.65)] hover:text-[rgba(0,0,0,1)] transition-opacity",
|
|
29461
29472
|
title: "新建会话",
|
|
29462
29473
|
children: /* @__PURE__ */ S.jsx(EA, { className: "w-[14px] h-[14px]" })
|
|
29463
29474
|
}
|
|
@@ -29466,7 +29477,7 @@ ${String(r.output)}`;
|
|
|
29466
29477
|
"button",
|
|
29467
29478
|
{
|
|
29468
29479
|
onClick: n,
|
|
29469
|
-
className: "ml-
|
|
29480
|
+
className: "ml-[12px] w-[16px] h-[16px] flex items-center justify-center text-[rgba(0,0,0,0.65)] hover:text-[rgba(0,0,0,1)] transition-opacity",
|
|
29470
29481
|
title: "展开",
|
|
29471
29482
|
children: /* @__PURE__ */ S.jsx(YB, { className: "w-[14px] h-[13px]" })
|
|
29472
29483
|
}
|
|
@@ -29475,7 +29486,7 @@ ${String(r.output)}`;
|
|
|
29475
29486
|
"button",
|
|
29476
29487
|
{
|
|
29477
29488
|
onClick: e,
|
|
29478
|
-
className: "ml-
|
|
29489
|
+
className: "ml-[12px] w-[16px] h-[16px] flex items-center justify-center text-[rgba(0,0,0,0.65)] hover:text-[rgba(0,0,0,1)] transition-opacity",
|
|
29479
29490
|
title: "关闭",
|
|
29480
29491
|
children: /* @__PURE__ */ S.jsx(r1, {})
|
|
29481
29492
|
}
|
|
@@ -29493,20 +29504,20 @@ ${String(r.output)}`;
|
|
|
29493
29504
|
], i = e || n, o = r && r.length > 0 ? r : a, s = (l) => {
|
|
29494
29505
|
t && t(l);
|
|
29495
29506
|
};
|
|
29496
|
-
return /* @__PURE__ */ S.jsxs("div", { className: "flex flex-col gap-
|
|
29507
|
+
return /* @__PURE__ */ S.jsxs("div", { className: "flex flex-col gap-[16px] px-[24px] pt-[112px] pb-[16px]", children: [
|
|
29497
29508
|
/* @__PURE__ */ S.jsx(
|
|
29498
29509
|
"p",
|
|
29499
29510
|
{
|
|
29500
29511
|
className: "leading-[17px]",
|
|
29501
29512
|
style: { fontFamily: "Noto Sans SC" },
|
|
29502
|
-
children: /* @__PURE__ */ S.jsx(NN, { block: { type:
|
|
29513
|
+
children: /* @__PURE__ */ S.jsx(NN, { block: { type: ft.MARKDOWN, content: i }, fontColor: "rgba(0,0,0,0.65)" })
|
|
29503
29514
|
}
|
|
29504
29515
|
),
|
|
29505
|
-
/* @__PURE__ */ S.jsx("div", { className: "flex flex-col gap-
|
|
29516
|
+
/* @__PURE__ */ S.jsx("div", { className: "flex flex-col gap-[12px]", children: o.map((l, u) => /* @__PURE__ */ S.jsx(
|
|
29506
29517
|
"button",
|
|
29507
29518
|
{
|
|
29508
29519
|
onClick: () => s(l),
|
|
29509
|
-
className: "w-full bg-white border border-[rgba(0,0,0,0.1)] rounded-[6px] px-
|
|
29520
|
+
className: "w-full bg-white border border-[rgba(0,0,0,0.1)] rounded-[6px] px-[12px] py-[8px] text-left text-[14px] leading-[24px] text-black hover:border-[#3b9be0] hover:bg-[rgba(18,110,227,0.04)] transition-all",
|
|
29510
29521
|
style: { fontFamily: "Noto Sans SC" },
|
|
29511
29522
|
children: l
|
|
29512
29523
|
},
|
|
@@ -29565,7 +29576,7 @@ class B$ extends d6 {
|
|
|
29565
29576
|
extractUserMessageText(r) {
|
|
29566
29577
|
if (Array.isArray(r.content)) {
|
|
29567
29578
|
const n = r.content.find(
|
|
29568
|
-
(a) => a.type ===
|
|
29579
|
+
(a) => a.type === ft.TEXT || a.type === ft.MARKDOWN
|
|
29569
29580
|
);
|
|
29570
29581
|
if (n)
|
|
29571
29582
|
return n.content;
|
|
@@ -30422,8 +30433,8 @@ var Y$ = /* @__PURE__ */ (function() {
|
|
|
30422
30433
|
this.browser = new Y$(), this.node = !1, this.wxa = !1, this.worker = !1, this.svgSupported = !1, this.touchEventsSupported = !1, this.pointerEventsSupported = !1, this.domSupported = !1, this.transformSupported = !1, this.transform3dSupported = !1, this.hasGlobalWindow = typeof window < "u";
|
|
30423
30434
|
}
|
|
30424
30435
|
return t;
|
|
30425
|
-
})(),
|
|
30426
|
-
typeof wx == "object" && typeof wx.getSystemInfoSync == "function" ? (
|
|
30436
|
+
})(), lt = new q$();
|
|
30437
|
+
typeof wx == "object" && typeof wx.getSystemInfoSync == "function" ? (lt.wxa = !0, lt.touchEventsSupported = !0) : typeof document > "u" && typeof self < "u" ? lt.worker = !0 : !lt.hasGlobalWindow || "Deno" in window || typeof navigator < "u" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Node.js") > -1 ? (lt.node = !0, lt.svgSupported = !0) : $$(navigator.userAgent, lt);
|
|
30427
30438
|
function $$(t, e) {
|
|
30428
30439
|
var r = e.browser, n = t.match(/Firefox\/([\d.]+)/), a = t.match(/MSIE\s([\d.]+)/) || t.match(/Trident\/.+?rv:(([\d.]+))/), i = t.match(/Edge?\/([\d.]+)/), o = /micromessenger/i.test(t);
|
|
30429
30440
|
n && (r.firefox = !0, r.version = n[1]), a && (r.ie = !0, r.version = a[1]), i && (r.edge = !0, r.version = i[1], r.newEdge = +i[1].split(".")[0] > 18), o && (r.weChat = !0), e.svgSupported = typeof SVGRect < "u", e.touchEventsSupported = "ontouchstart" in window && !r.ie && !r.edge, e.pointerEventsSupported = "onpointerdown" in window && (r.edge || r.ie && +r.version >= 11);
|
|
@@ -30558,7 +30569,7 @@ function ae(t, e) {
|
|
|
30558
30569
|
return t;
|
|
30559
30570
|
}
|
|
30560
30571
|
function He(t, e, r) {
|
|
30561
|
-
for (var n =
|
|
30572
|
+
for (var n = ut(e), a = 0, i = n.length; a < i; a++) {
|
|
30562
30573
|
var o = n[a];
|
|
30563
30574
|
(r ? e[o] != null : t[o] == null) && (t[o] = e[o]);
|
|
30564
30575
|
}
|
|
@@ -30642,7 +30653,7 @@ function Zl(t, e, r) {
|
|
|
30642
30653
|
return t[n];
|
|
30643
30654
|
}
|
|
30644
30655
|
}
|
|
30645
|
-
function
|
|
30656
|
+
function ut(t) {
|
|
30646
30657
|
if (!t)
|
|
30647
30658
|
return [];
|
|
30648
30659
|
if (Object.keys)
|
|
@@ -30759,7 +30770,7 @@ var sX = (function() {
|
|
|
30759
30770
|
}, t.prototype.set = function(e, r) {
|
|
30760
30771
|
return this.data[e] = r, this;
|
|
30761
30772
|
}, t.prototype.keys = function() {
|
|
30762
|
-
return
|
|
30773
|
+
return ut(this.data);
|
|
30763
30774
|
}, t.prototype.forEach = function(e) {
|
|
30764
30775
|
var r = this.data;
|
|
30765
30776
|
for (var n in r)
|
|
@@ -31050,7 +31061,7 @@ function vX(t, e) {
|
|
|
31050
31061
|
}
|
|
31051
31062
|
}
|
|
31052
31063
|
function n3(t, e, r, n, a) {
|
|
31053
|
-
if (e.getBoundingClientRect &&
|
|
31064
|
+
if (e.getBoundingClientRect && lt.domSupported && !bL(e)) {
|
|
31054
31065
|
var i = e[Wp] || (e[Wp] = {}), o = gX(e, i), s = mX(o, i, a);
|
|
31055
31066
|
if (s)
|
|
31056
31067
|
return s(t, r, n), !0;
|
|
@@ -31108,12 +31119,12 @@ function mn(t) {
|
|
|
31108
31119
|
return xX[r];
|
|
31109
31120
|
});
|
|
31110
31121
|
}
|
|
31111
|
-
var bX = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, qg = [], TX =
|
|
31122
|
+
var bX = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, qg = [], TX = lt.browser.firefox && +lt.browser.version.split(".")[0] < 39;
|
|
31112
31123
|
function a3(t, e, r, n) {
|
|
31113
31124
|
return r = r || {}, n ? D_(t, e, r) : TX && e.layerX != null && e.layerX !== e.offsetX ? (r.zrX = e.layerX, r.zrY = e.layerY) : e.offsetX != null ? (r.zrX = e.offsetX, r.zrY = e.offsetY) : D_(t, e, r), r;
|
|
31114
31125
|
}
|
|
31115
31126
|
function D_(t, e, r) {
|
|
31116
|
-
if (
|
|
31127
|
+
if (lt.domSupported && t.getBoundingClientRect) {
|
|
31117
31128
|
var n = e.clientX, a = e.clientY;
|
|
31118
31129
|
if (bL(t)) {
|
|
31119
31130
|
var i = t.getBoundingClientRect();
|
|
@@ -31936,7 +31947,7 @@ var FX = (function() {
|
|
|
31936
31947
|
this._displayList = null, this._roots = null;
|
|
31937
31948
|
}, t;
|
|
31938
31949
|
})(), Yp;
|
|
31939
|
-
Yp =
|
|
31950
|
+
Yp = lt.hasGlobalWindow && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window) || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame) || function(t) {
|
|
31940
31951
|
return setTimeout(t, 16);
|
|
31941
31952
|
};
|
|
31942
31953
|
var fh = {
|
|
@@ -32677,7 +32688,7 @@ function VL(t) {
|
|
|
32677
32688
|
return (e || r) && l.push("translate(" + e + "px," + r + "px)"), n && l.push("rotate(" + n + ")"), (a !== 1 || i !== 1) && l.push("scale(" + a + "," + i + ")"), (o || s) && l.push("skew(" + Kp(o * hp) + "deg, " + Kp(s * hp) + "deg)"), l.join(" ");
|
|
32678
32689
|
}
|
|
32679
32690
|
var eZ = (function() {
|
|
32680
|
-
return
|
|
32691
|
+
return lt.hasGlobalWindow && Oe(window.btoa) ? function(t) {
|
|
32681
32692
|
return window.btoa(unescape(encodeURIComponent(t)));
|
|
32682
32693
|
} : typeof Buffer < "u" ? function(t) {
|
|
32683
32694
|
return Buffer.from(t).toString("base64");
|
|
@@ -32901,7 +32912,7 @@ var l0 = [0, 0, 0, 0], iZ = (function() {
|
|
|
32901
32912
|
}, t.prototype.changeTarget = function(e) {
|
|
32902
32913
|
this._target = e;
|
|
32903
32914
|
}, t.prototype.when = function(e, r, n) {
|
|
32904
|
-
return this.whenWithKeys(e, r,
|
|
32915
|
+
return this.whenWithKeys(e, r, ut(r), n);
|
|
32905
32916
|
}, t.prototype.whenWithKeys = function(e, r, n, a) {
|
|
32906
32917
|
for (var i = this._tracks, o = 0; o < n.length; o++) {
|
|
32907
32918
|
var s = n[o], l = i[s];
|
|
@@ -33042,7 +33053,7 @@ var l0 = [0, 0, 0, 0], iZ = (function() {
|
|
|
33042
33053
|
}
|
|
33043
33054
|
}
|
|
33044
33055
|
}, t.prototype.__changeFinalValue = function(e, r) {
|
|
33045
|
-
r = r ||
|
|
33056
|
+
r = r || ut(e);
|
|
33046
33057
|
for (var n = 0; n < r.length; n++) {
|
|
33047
33058
|
var a = r[n], i = this._tracks[a];
|
|
33048
33059
|
if (i) {
|
|
@@ -33112,7 +33123,7 @@ var oZ = (function(t) {
|
|
|
33112
33123
|
var a = new g5(r, n.loop);
|
|
33113
33124
|
return this.addAnimator(a), a;
|
|
33114
33125
|
}, e;
|
|
33115
|
-
})(Da), sZ = 300, nm =
|
|
33126
|
+
})(Da), sZ = 300, nm = lt.domSupported, am = (function() {
|
|
33116
33127
|
var t = [
|
|
33117
33128
|
"click",
|
|
33118
33129
|
"dblclick",
|
|
@@ -33237,11 +33248,11 @@ var y3 = {
|
|
|
33237
33248
|
};
|
|
33238
33249
|
function hZ(t, e) {
|
|
33239
33250
|
var r = e.domHandlers;
|
|
33240
|
-
|
|
33251
|
+
lt.pointerEventsSupported ? P(am.pointer, function(n) {
|
|
33241
33252
|
mp(e, n, function(a) {
|
|
33242
33253
|
r[n].call(t, a);
|
|
33243
33254
|
});
|
|
33244
|
-
}) : (
|
|
33255
|
+
}) : (lt.touchEventsSupported && P(am.touch, function(n) {
|
|
33245
33256
|
mp(e, n, function(a) {
|
|
33246
33257
|
r[n].call(t, a), lZ(e);
|
|
33247
33258
|
});
|
|
@@ -33252,7 +33263,7 @@ function hZ(t, e) {
|
|
|
33252
33263
|
}));
|
|
33253
33264
|
}
|
|
33254
33265
|
function fZ(t, e) {
|
|
33255
|
-
|
|
33266
|
+
lt.pointerEventsSupported ? P(X_.pointer, r) : lt.touchEventsSupported || P(X_.mouse, r);
|
|
33256
33267
|
function r(n) {
|
|
33257
33268
|
function a(i) {
|
|
33258
33269
|
i = f5(i), HL(t, i.target) || (i = uZ(t, i), e.domHandlers[n].call(t, i));
|
|
@@ -33292,7 +33303,7 @@ var K_ = /* @__PURE__ */ (function() {
|
|
|
33292
33303
|
}
|
|
33293
33304
|
}, e;
|
|
33294
33305
|
})(Da), UL = 1;
|
|
33295
|
-
|
|
33306
|
+
lt.hasGlobalWindow && (UL = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1));
|
|
33296
33307
|
var Qp = UL, x3 = 0.4, b3 = "#333", T3 = "#ccc", pZ = "#eee", Q_ = S1, J_ = 5e-5;
|
|
33297
33308
|
function zs(t) {
|
|
33298
33309
|
return t > J_ || t < -J_;
|
|
@@ -33573,7 +33584,7 @@ var cm = "__zr_normal__", hm = Ri.concat(["ignore"]), gZ = Di(Ri, function(t, e)
|
|
|
33573
33584
|
if (typeof e == "string")
|
|
33574
33585
|
this.attrKV(e, r);
|
|
33575
33586
|
else if (Be(e))
|
|
33576
|
-
for (var n = e, a =
|
|
33587
|
+
for (var n = e, a = ut(n), i = 0; i < a.length; i++) {
|
|
33577
33588
|
var o = a[i];
|
|
33578
33589
|
this.attrKV(o, e[o]);
|
|
33579
33590
|
}
|
|
@@ -33895,7 +33906,7 @@ function TZ(t, e) {
|
|
|
33895
33906
|
return !0;
|
|
33896
33907
|
}
|
|
33897
33908
|
function jL(t, e, r, n, a, i, o, s) {
|
|
33898
|
-
for (var l =
|
|
33909
|
+
for (var l = ut(n), u = a.duration, c = a.delay, h = a.additive, f = a.setToFinal, d = !Be(i), p = t.animators, v = [], g = 0; g < l.length; g++) {
|
|
33899
33910
|
var m = l[g], y = n[m];
|
|
33900
33911
|
if (y != null && r[m] != null && (d || i[m]))
|
|
33901
33912
|
if (Be(y) && !on(y) && !b1(y)) {
|
|
@@ -34061,12 +34072,12 @@ var EZ = (function() {
|
|
|
34061
34072
|
var a = this;
|
|
34062
34073
|
this._sleepAfterStill = 10, this._stillFrameAccum = 0, this._needsRefresh = !0, this._needsRefreshHover = !0, this._darkMode = !1, n = n || {}, this.dom = r, this.id = e;
|
|
34063
34074
|
var i = new FX(), o = n.renderer || "canvas";
|
|
34064
|
-
if (j0[o] || (o =
|
|
34075
|
+
if (j0[o] || (o = ut(j0)[0]), process.env.NODE_ENV !== "production" && !j0[o])
|
|
34065
34076
|
throw new Error("Renderer '" + o + "' is not imported. Please import it first.");
|
|
34066
34077
|
n.useDirtyRect = n.useDirtyRect == null ? !1 : n.useDirtyRect;
|
|
34067
34078
|
var s = new j0[o](r, i, n, e), l = n.ssr || s.ssrOnly;
|
|
34068
34079
|
this.storage = i, this.painter = s;
|
|
34069
|
-
var u = !
|
|
34080
|
+
var u = !lt.node && !lt.worker && !l ? new dZ(s.getViewportRoot(), s.root) : null, c = n.useCoarsePointer, h = c == null || c === "auto" ? lt.touchEventsSupported : !!c, f = 44, d;
|
|
34070
34081
|
h && (d = Ae(n.pointerSize, f)), this.handler = new SL(i, s, u, s.root, d), this.animation = new oZ({
|
|
34071
34082
|
stage: {
|
|
34072
34083
|
update: l ? null : function() {
|
|
@@ -34679,7 +34690,7 @@ function XZ(t, e) {
|
|
|
34679
34690
|
return t.getAttribute ? t.getAttribute(e) : t[e];
|
|
34680
34691
|
}
|
|
34681
34692
|
function ZZ(t) {
|
|
34682
|
-
return t === "auto" ?
|
|
34693
|
+
return t === "auto" ? lt.domSupported ? "html" : "richText" : t || "html";
|
|
34683
34694
|
}
|
|
34684
34695
|
function E3(t, e) {
|
|
34685
34696
|
var r = Ie(), n = [];
|
|
@@ -35146,7 +35157,7 @@ var m7 = ["z", "z2", "invisible"], xK = ["invisible"], Ia = (function(t) {
|
|
|
35146
35157
|
return t.call(this, r) || this;
|
|
35147
35158
|
}
|
|
35148
35159
|
return e.prototype._init = function(r) {
|
|
35149
|
-
for (var n =
|
|
35160
|
+
for (var n = ut(r), a = 0; a < n.length; a++) {
|
|
35150
35161
|
var i = n[a];
|
|
35151
35162
|
i === "style" ? this.useStyle(r[i]) : t.prototype.attrKV.call(this, i, r[i]);
|
|
35152
35163
|
}
|
|
@@ -35224,11 +35235,11 @@ var m7 = ["z", "z2", "invisible"], xK = ["invisible"], Ia = (function(t) {
|
|
|
35224
35235
|
if (o) {
|
|
35225
35236
|
var c = this.style;
|
|
35226
35237
|
if (this.style = this.createStyle(l ? {} : c), l)
|
|
35227
|
-
for (var h =
|
|
35238
|
+
for (var h = ut(c), f = 0; f < h.length; f++) {
|
|
35228
35239
|
var d = h[f];
|
|
35229
35240
|
d in u && (u[d] = u[d], this.style[d] = c[d]);
|
|
35230
35241
|
}
|
|
35231
|
-
for (var p =
|
|
35242
|
+
for (var p = ut(u), f = 0; f < p.length; f++) {
|
|
35232
35243
|
var d = p[f];
|
|
35233
35244
|
this.style[d] = this.style[d];
|
|
35234
35245
|
}
|
|
@@ -35857,7 +35868,7 @@ var rv = He({
|
|
|
35857
35868
|
}, e.prototype.getDecalElement = function() {
|
|
35858
35869
|
return this._decalEl;
|
|
35859
35870
|
}, e.prototype._init = function(r) {
|
|
35860
|
-
var n =
|
|
35871
|
+
var n = ut(r);
|
|
35861
35872
|
this.shape = this.getDefaultShape();
|
|
35862
35873
|
var a = this.getDefaultStyle();
|
|
35863
35874
|
a && this.useStyle(a);
|
|
@@ -35964,7 +35975,7 @@ var rv = He({
|
|
|
35964
35975
|
if (n && n.shape ? o ? i ? u = n.shape : (u = ae({}, a.shape), ae(u, n.shape)) : (u = ae({}, i ? this.shape : a.shape), ae(u, n.shape)) : l && (u = a.shape), u)
|
|
35965
35976
|
if (o) {
|
|
35966
35977
|
this.shape = ae({}, this.shape);
|
|
35967
|
-
for (var c = {}, h =
|
|
35978
|
+
for (var c = {}, h = ut(u), f = 0; f < h.length; f++) {
|
|
35968
35979
|
var d = h[f];
|
|
35969
35980
|
typeof u[d] == "object" ? this.shape[d] = u[d] : c[d] = u[d];
|
|
35970
35981
|
}
|
|
@@ -36208,7 +36219,7 @@ var _7 = {
|
|
|
36208
36219
|
var a = n.rich, i = r.rich || a && {};
|
|
36209
36220
|
return ae(r, n), a && i ? (this._mergeRich(i, a), r.rich = i) : i && (r.rich = i), r;
|
|
36210
36221
|
}, e.prototype._mergeRich = function(r, n) {
|
|
36211
|
-
for (var a =
|
|
36222
|
+
for (var a = ut(n), i = 0; i < a.length; i++) {
|
|
36212
36223
|
var o = a[i];
|
|
36213
36224
|
r[o] = r[o] || {}, ae(r[o], n[o]);
|
|
36214
36225
|
}
|
|
@@ -36521,7 +36532,7 @@ function D3(t, e, r, n) {
|
|
|
36521
36532
|
}), on(e))
|
|
36522
36533
|
i(u.getData(), e);
|
|
36523
36534
|
else if (Be(e))
|
|
36524
|
-
for (var p =
|
|
36535
|
+
for (var p = ut(e), v = 0; v < p.length; v++)
|
|
36525
36536
|
i(u.getData(p[v]), e[p[v]]);
|
|
36526
36537
|
l.push(u), S5(u).isBlured = !0;
|
|
36527
36538
|
}
|
|
@@ -37621,7 +37632,7 @@ function No(t) {
|
|
|
37621
37632
|
};
|
|
37622
37633
|
s[i + "Index"] = o;
|
|
37623
37634
|
var l = t.formatterParamsExtra;
|
|
37624
|
-
l && P(
|
|
37635
|
+
l && P(ut(l), function(c) {
|
|
37625
37636
|
Te(s, c) || (s[c] = l[c], s.$vars.push(c));
|
|
37626
37637
|
});
|
|
37627
37638
|
var u = We(t.el);
|
|
@@ -37880,7 +37891,7 @@ function GQ(t) {
|
|
|
37880
37891
|
var r = (t.option || G1).rich;
|
|
37881
37892
|
if (r) {
|
|
37882
37893
|
e = e || {};
|
|
37883
|
-
for (var n =
|
|
37894
|
+
for (var n = ut(r), a = 0; a < n.length; a++) {
|
|
37884
37895
|
var i = n[a];
|
|
37885
37896
|
e[i] = 1;
|
|
37886
37897
|
}
|
|
@@ -38068,7 +38079,7 @@ var qu = {
|
|
|
38068
38079
|
}, t.prototype.resolveParentPath = function(e) {
|
|
38069
38080
|
return e;
|
|
38070
38081
|
}, t.prototype.isAnimationEnabled = function() {
|
|
38071
|
-
if (!
|
|
38082
|
+
if (!lt.node && this.option) {
|
|
38072
38083
|
if (this.option.animation != null)
|
|
38073
38084
|
return !!this.option.animation;
|
|
38074
38085
|
if (this.parentModel)
|
|
@@ -38381,7 +38392,7 @@ const JQ = {
|
|
|
38381
38392
|
}
|
|
38382
38393
|
}
|
|
38383
38394
|
};
|
|
38384
|
-
var lv = "ZH", O5 = "EN", ic = O5, bp = {}, k5 = {}, $D =
|
|
38395
|
+
var lv = "ZH", O5 = "EN", ic = O5, bp = {}, k5 = {}, $D = lt.domSupported ? (function() {
|
|
38385
38396
|
var t = (
|
|
38386
38397
|
/* eslint-disable-next-line */
|
|
38387
38398
|
(document.documentElement.lang || navigator.language || navigator.browserLanguage || ic).toUpperCase()
|
|
@@ -40194,7 +40205,7 @@ function eee(t) {
|
|
|
40194
40205
|
for (var e = 0, r; e < t.length && !(r = t[e++]); )
|
|
40195
40206
|
;
|
|
40196
40207
|
if (r)
|
|
40197
|
-
return
|
|
40208
|
+
return ut(r);
|
|
40198
40209
|
}
|
|
40199
40210
|
function d8(t) {
|
|
40200
40211
|
if (t) {
|
|
@@ -41005,7 +41016,7 @@ var X3 = (
|
|
|
41005
41016
|
var r = this.clone(), n = r._count;
|
|
41006
41017
|
if (!n)
|
|
41007
41018
|
return this;
|
|
41008
|
-
var a =
|
|
41019
|
+
var a = ut(e), i = a.length;
|
|
41009
41020
|
if (!i)
|
|
41010
41021
|
return this;
|
|
41011
41022
|
var o = r.count(), s = xu(r._rawCount), l = new s(o), u = 0, c = a[0], h = e[c][0], f = e[c][1], d = r._chunks, p = !1;
|
|
@@ -41653,7 +41664,7 @@ var Ep = "__universalTransitionEnabled", Ut = (
|
|
|
41653
41664
|
});
|
|
41654
41665
|
}, e.prototype.isAnimationEnabled = function() {
|
|
41655
41666
|
var r = this.ecModel;
|
|
41656
|
-
if (
|
|
41667
|
+
if (lt.node && !(r && r.ssr))
|
|
41657
41668
|
return !1;
|
|
41658
41669
|
var n = this.getShallow("animation");
|
|
41659
41670
|
return n && this.getData().count() > this.getShallow("animationThreshold") && (n = !1), !!n;
|
|
@@ -41689,7 +41700,7 @@ var Ep = "__universalTransitionEnabled", Ut = (
|
|
|
41689
41700
|
}, e.prototype.getSelectedDataIndices = function() {
|
|
41690
41701
|
if (this.option.selectedMap === "all")
|
|
41691
41702
|
return [].slice.call(this.getData().getIndices());
|
|
41692
|
-
for (var r = this._selectedDataIndicesMap, n =
|
|
41703
|
+
for (var r = this._selectedDataIndicesMap, n = ut(r), a = [], i = 0; i < n.length; i++) {
|
|
41693
41704
|
var o = r[n[i]];
|
|
41694
41705
|
o >= 0 && a.push(o);
|
|
41695
41706
|
}
|
|
@@ -42661,7 +42672,7 @@ var nte = (
|
|
|
42661
42672
|
symbolKeepAspect: t.get("symbolKeepAspect")
|
|
42662
42673
|
}, n)), e.isSeriesFiltered(t))
|
|
42663
42674
|
return;
|
|
42664
|
-
var u =
|
|
42675
|
+
var u = ut(a);
|
|
42665
42676
|
function c(h, f) {
|
|
42666
42677
|
for (var d = t.getRawValue(f), p = t.getDataParams(f), v = 0; v < u.length; v++) {
|
|
42667
42678
|
var g = u[v];
|
|
@@ -43274,12 +43285,12 @@ function yc(t, e) {
|
|
|
43274
43285
|
M += m[w], ++I, ++w, w === m.length && (w = 0);
|
|
43275
43286
|
}
|
|
43276
43287
|
function be(ge, Me, de, Ne, st) {
|
|
43277
|
-
var rt = a ? 1 : r,
|
|
43288
|
+
var rt = a ? 1 : r, ct = Ar(st, ge * rt, Me * rt, de * rt, Ne * rt, o.color, o.symbolKeepAspect);
|
|
43278
43289
|
if (a) {
|
|
43279
|
-
var vt = n.painter.renderOneToVNode(
|
|
43290
|
+
var vt = n.painter.renderOneToVNode(ct);
|
|
43280
43291
|
vt && T.children.push(vt);
|
|
43281
43292
|
} else
|
|
43282
|
-
nR(N,
|
|
43293
|
+
nR(N, ct);
|
|
43283
43294
|
}
|
|
43284
43295
|
}
|
|
43285
43296
|
}
|
|
@@ -43444,7 +43455,7 @@ var nl, Ym, bd, $i, Td, qm, $m, _u, Su, Z8, K8, Xm, Q8, _d, J8, gR, sa, eS, Eu,
|
|
|
43444
43455
|
if (i[xd] = 1, process.env.NODE_ENV !== "production") {
|
|
43445
43456
|
var u = (
|
|
43446
43457
|
/* eslint-disable-next-line */
|
|
43447
|
-
|
|
43458
|
+
lt.hasGlobalWindow ? window : global
|
|
43448
43459
|
);
|
|
43449
43460
|
u && (o = Ae(u.__ECHARTS__DEFAULT__RENDERER__, o), s = Ae(u.__ECHARTS__DEFAULT__COARSE_POINTER, s), l = Ae(u.__ECHARTS__DEFAULT__USE_DIRTY_RECT__, l));
|
|
43450
43461
|
}
|
|
@@ -43570,7 +43581,7 @@ var nl, Ym, bd, $i, Td, qm, $m, _u, Su, Z8, K8, Xm, Q8, _d, J8, gR, sa, eS, Eu,
|
|
|
43570
43581
|
}, e.prototype.getHeight = function() {
|
|
43571
43582
|
return this._zr.getHeight();
|
|
43572
43583
|
}, e.prototype.getDevicePixelRatio = function() {
|
|
43573
|
-
return this._zr.painter.dpr ||
|
|
43584
|
+
return this._zr.painter.dpr || lt.hasGlobalWindow && window.devicePixelRatio || 1;
|
|
43574
43585
|
}, e.prototype.getRenderedCanvas = function(r) {
|
|
43575
43586
|
return process.env.NODE_ENV !== "production" && xr("getRenderedCanvas", "renderToCanvas"), this.renderToCanvas(r);
|
|
43576
43587
|
}, e.prototype.renderToCanvas = function(r) {
|
|
@@ -43820,7 +43831,7 @@ var nl, Ym, bd, $i, Td, qm, $m, _u, Su, Z8, K8, Xm, Q8, _d, J8, gR, sa, eS, Eu,
|
|
|
43820
43831
|
var a = n.silent;
|
|
43821
43832
|
$m.call(this, r, a);
|
|
43822
43833
|
var i = n.flush;
|
|
43823
|
-
i ? this._zr.flush() : i !== !1 &&
|
|
43834
|
+
i ? this._zr.flush() : i !== !1 && lt.browser.weChat && this._throttledZrFlush(), _u.call(this, a), Su.call(this, a);
|
|
43824
43835
|
}
|
|
43825
43836
|
}, e.prototype.updateLabelLayout = function() {
|
|
43826
43837
|
ka.trigger("series:layoutlabels", this._model, this._api, {
|
|
@@ -44143,7 +44154,7 @@ var nl, Ym, bd, $i, Td, qm, $m, _u, Su, Z8, K8, Xm, Q8, _d, J8, gR, sa, eS, Eu,
|
|
|
44143
44154
|
var d = h._zr, p = d.storage, v = 0;
|
|
44144
44155
|
p.traverse(function(g) {
|
|
44145
44156
|
g.isGroup || v++;
|
|
44146
|
-
}), v > f.get("hoverLayerThreshold") && !
|
|
44157
|
+
}), v > f.get("hoverLayerThreshold") && !lt.node && !lt.worker && f.eachSeries(function(g) {
|
|
44147
44158
|
if (!g.preventUsingHoverLayer) {
|
|
44148
44159
|
var m = h._chartsMap[g.__viewId];
|
|
44149
44160
|
m.__alive && m.eachRendered(function(y) {
|
|
@@ -44872,7 +44883,7 @@ var y0 = Be, Vo = oe, pre = typeof Int32Array > "u" ? Array : Int32Array, vre =
|
|
|
44872
44883
|
var a = n || this, i = Vo(Cu(e), this._getStoreDimIndex, this);
|
|
44873
44884
|
return this._store = this._store.filter(i, a ? ve(r, a) : r), this;
|
|
44874
44885
|
}, t.prototype.selectRange = function(e) {
|
|
44875
|
-
var r = this, n = {}, a =
|
|
44886
|
+
var r = this, n = {}, a = ut(e);
|
|
44876
44887
|
return P(a, function(i) {
|
|
44877
44888
|
var o = r._getStoreDimIndex(i);
|
|
44878
44889
|
n[o] = e[i];
|
|
@@ -45713,7 +45724,7 @@ function RR(t) {
|
|
|
45713
45724
|
r[a] = {};
|
|
45714
45725
|
var i = n.stacks, o = n.bandWidth, s = n.categoryGap;
|
|
45715
45726
|
if (s == null) {
|
|
45716
|
-
var l =
|
|
45727
|
+
var l = ut(i).length;
|
|
45717
45728
|
s = Math.max(35 - l * 4, 15) + "%";
|
|
45718
45729
|
}
|
|
45719
45730
|
var u = fe(s, o), c = fe(n.gap, 1), h = n.remainedWidth, f = n.autoWidthCount, d = (h - u) / (f + (f - 1) * c);
|
|
@@ -46329,7 +46340,7 @@ function Sv(t, e) {
|
|
|
46329
46340
|
var r = {};
|
|
46330
46341
|
return P(t.mapDimensionsAll(e), function(n) {
|
|
46331
46342
|
r[IR(t, n)] = !0;
|
|
46332
|
-
}),
|
|
46343
|
+
}), ut(r);
|
|
46333
46344
|
}
|
|
46334
46345
|
function rne(t, e, r) {
|
|
46335
46346
|
e && P(Sv(e, r), function(n) {
|
|
@@ -47344,7 +47355,7 @@ var Ld = ["x", "y", "rotation"], Pne = (
|
|
|
47344
47355
|
var r = this;
|
|
47345
47356
|
this._chartViewList.push(e);
|
|
47346
47357
|
var n = e.__model, a = n.get("labelLayout");
|
|
47347
|
-
(Oe(a) ||
|
|
47358
|
+
(Oe(a) || ut(a).length) && e.group.traverse(function(i) {
|
|
47348
47359
|
if (i.ignore)
|
|
47349
47360
|
return !0;
|
|
47350
47361
|
var o = i.getTextContent(), s = We(i);
|
|
@@ -47619,13 +47630,13 @@ function px(t, e) {
|
|
|
47619
47630
|
function $ne(t, e, r) {
|
|
47620
47631
|
r = r || {};
|
|
47621
47632
|
var n = r.newline ? `
|
|
47622
|
-
` : "", a = " {" + n, i = n + "}", o = oe(
|
|
47623
|
-
return l + a + oe(
|
|
47633
|
+
` : "", a = " {" + n, i = n + "}", o = oe(ut(t), function(l) {
|
|
47634
|
+
return l + a + oe(ut(t[l]), function(u) {
|
|
47624
47635
|
return u + ":" + t[l][u] + ";";
|
|
47625
47636
|
}).join(n) + i;
|
|
47626
|
-
}).join(n), s = oe(
|
|
47627
|
-
return "@keyframes " + l + a + oe(
|
|
47628
|
-
return u + a + oe(
|
|
47637
|
+
}).join(n), s = oe(ut(e), function(l) {
|
|
47638
|
+
return "@keyframes " + l + a + oe(ut(e[l]), function(u) {
|
|
47639
|
+
return u + a + oe(ut(e[l][u]), function(c) {
|
|
47629
47640
|
var h = e[l][u][c];
|
|
47630
47641
|
return c === "d" && (h = 'path("' + h + '")'), c + ":" + h + ";";
|
|
47631
47642
|
}).join(n) + i;
|
|
@@ -47714,7 +47725,7 @@ function Jne(t, e, r) {
|
|
|
47714
47725
|
if (P(n, function(l) {
|
|
47715
47726
|
var u = v4(r.zrId);
|
|
47716
47727
|
u.animation = !0, Q1(l, {}, u, !0);
|
|
47717
|
-
var c = u.cssAnims, h = u.cssNodes, f =
|
|
47728
|
+
var c = u.cssAnims, h = u.cssNodes, f = ut(c), d = f.length;
|
|
47718
47729
|
if (d) {
|
|
47719
47730
|
o = f[d - 1];
|
|
47720
47731
|
var p = c[o];
|
|
@@ -47758,10 +47769,10 @@ function Q1(t, e, r, n) {
|
|
|
47758
47769
|
for (var de = be.getTracks(), Ne = be.getMaxTime(), st = 0; st < de.length; st++) {
|
|
47759
47770
|
var rt = de[st];
|
|
47760
47771
|
if (rt.needsAnimate()) {
|
|
47761
|
-
var
|
|
47772
|
+
var ct = rt.keyframes, vt = rt.propName;
|
|
47762
47773
|
if (Me && (vt = Me(vt)), vt)
|
|
47763
|
-
for (var Gt = 0; Gt <
|
|
47764
|
-
var sr =
|
|
47774
|
+
for (var Gt = 0; Gt < ct.length; Gt++) {
|
|
47775
|
+
var sr = ct[Gt], $t = Math.round(sr.time / Ne * 100) + "%", aa = ES(sr.easing), Qa = sr.rawValue;
|
|
47765
47776
|
(pe(Qa) || mt(Qa)) && (ge[$t] = ge[$t] || {}, ge[$t][vt] = sr.rawValue, aa && (ge[$t][N] = aa));
|
|
47766
47777
|
}
|
|
47767
47778
|
}
|
|
@@ -47803,7 +47814,7 @@ function Q1(t, e, r, n) {
|
|
|
47803
47814
|
return Qne[de];
|
|
47804
47815
|
});
|
|
47805
47816
|
}
|
|
47806
|
-
for (var J =
|
|
47817
|
+
for (var J = ut(E), U = !0, ue, R = 1; R < J.length; R++) {
|
|
47807
47818
|
var Ce = J[R - 1], Re = J[R];
|
|
47808
47819
|
if (E[Ce][ll] !== E[Re][ll]) {
|
|
47809
47820
|
U = !1;
|
|
@@ -47817,7 +47828,7 @@ function Q1(t, e, r, n) {
|
|
|
47817
47828
|
e[ll] = ue;
|
|
47818
47829
|
}
|
|
47819
47830
|
if (It(J, function(be) {
|
|
47820
|
-
return
|
|
47831
|
+
return ut(E[be]).length > 0;
|
|
47821
47832
|
}).length) {
|
|
47822
47833
|
var qe = fO(E, r);
|
|
47823
47834
|
return qe + " " + y[0] + " both";
|
|
@@ -48208,7 +48219,7 @@ var pae = 0, vae = (function() {
|
|
|
48208
48219
|
s && o.push(s);
|
|
48209
48220
|
var l = e.compress ? null : this._mainVNode = Hr("g", "main", {}, []);
|
|
48210
48221
|
this._paintList(r, i, l ? l.children : o), l && o.push(l);
|
|
48211
|
-
var u = oe(
|
|
48222
|
+
var u = oe(ut(i.defs), function(f) {
|
|
48212
48223
|
return i.defs[f];
|
|
48213
48224
|
});
|
|
48214
48225
|
if (u.length && o.push(Hr("defs", "defs", {}, u)), e.animation) {
|
|
@@ -48579,7 +48590,7 @@ var Tae = (function() {
|
|
|
48579
48590
|
g.__drawIndex = N, g.__drawIndex < g.__endIndex && (c = !1);
|
|
48580
48591
|
}, d = this, p = 0; p < i.length; p++)
|
|
48581
48592
|
f(p);
|
|
48582
|
-
return
|
|
48593
|
+
return lt.wxa && P(this._layers, function(v) {
|
|
48583
48594
|
v && v.ctx && v.ctx.draw && v.ctx.draw();
|
|
48584
48595
|
}), {
|
|
48585
48596
|
finished: c,
|
|
@@ -50914,19 +50925,19 @@ function lie(t) {
|
|
|
50914
50925
|
}
|
|
50915
50926
|
qe = be ? "center" : I === "edge" ? J > 0 ? "right" : "left" : J > 0 ? "left" : "right";
|
|
50916
50927
|
}
|
|
50917
|
-
var
|
|
50928
|
+
var ct = Math.PI, vt = 0, Gt = B.get("rotate");
|
|
50918
50929
|
if (mt(Gt))
|
|
50919
|
-
vt = Gt * (
|
|
50930
|
+
vt = Gt * (ct / 180);
|
|
50920
50931
|
else if (M === "center")
|
|
50921
50932
|
vt = 0;
|
|
50922
50933
|
else if (Gt === "radial" || Gt === !0) {
|
|
50923
|
-
var sr = J < 0 ? -Y +
|
|
50934
|
+
var sr = J < 0 ? -Y + ct : -Y;
|
|
50924
50935
|
vt = sr;
|
|
50925
50936
|
} else if (Gt === "tangential" && M !== "outside" && M !== "outer") {
|
|
50926
50937
|
var $t = Math.atan2(J, U);
|
|
50927
|
-
$t < 0 && ($t =
|
|
50938
|
+
$t < 0 && ($t = ct * 2 + $t);
|
|
50928
50939
|
var aa = U > 0;
|
|
50929
|
-
aa && ($t =
|
|
50940
|
+
aa && ($t = ct + $t), vt = $t - ct;
|
|
50930
50941
|
}
|
|
50931
50942
|
if (i = !!vt, L.x = ue, L.y = Ce, L.rotation = vt, L.setStyle({
|
|
50932
50943
|
verticalAlign: "middle"
|
|
@@ -52541,7 +52552,7 @@ function $ie(t, e, r) {
|
|
|
52541
52552
|
var n = Mv(e, r);
|
|
52542
52553
|
if (process.env.NODE_ENV !== "production") {
|
|
52543
52554
|
var a = t.__getRawCfg();
|
|
52544
|
-
P(
|
|
52555
|
+
P(ut(n), function(i) {
|
|
52545
52556
|
i !== "position" && i !== "labelOffset" && we(n[i] === a[i]);
|
|
52546
52557
|
});
|
|
52547
52558
|
}
|
|
@@ -52595,7 +52606,7 @@ var sE = [
|
|
|
52595
52606
|
var n = this._axesMap;
|
|
52596
52607
|
this._updateScale(e, this.model);
|
|
52597
52608
|
function a(o) {
|
|
52598
|
-
var s, l =
|
|
52609
|
+
var s, l = ut(o), u = l.length;
|
|
52599
52610
|
if (u) {
|
|
52600
52611
|
for (var c = [], h = u - 1; h >= 0; h--) {
|
|
52601
52612
|
var f = +l[h], d = o[f], p = d.model, v = d.scale;
|
|
@@ -54122,10 +54133,10 @@ var y2, Rv = {
|
|
|
54122
54133
|
"text-anchor": "textAlign",
|
|
54123
54134
|
visibility: "visibility",
|
|
54124
54135
|
display: "display"
|
|
54125
|
-
}, bE =
|
|
54136
|
+
}, bE = ut(Rv), Ov = {
|
|
54126
54137
|
"alignment-baseline": "textBaseline",
|
|
54127
54138
|
"stop-color": "stopColor"
|
|
54128
|
-
}, TE =
|
|
54139
|
+
}, TE = ut(Ov), Ooe = (function() {
|
|
54129
54140
|
function t() {
|
|
54130
54141
|
this._defs = {}, this._root = null;
|
|
54131
54142
|
}
|
|
@@ -56208,7 +56219,7 @@ function Rse() {
|
|
|
56208
56219
|
var t = Ca(this).mainData;
|
|
56209
56220
|
return t == null ? [{
|
|
56210
56221
|
data: t
|
|
56211
|
-
}] : oe(
|
|
56222
|
+
}] : oe(ut(Ca(t).datas), function(e) {
|
|
56212
56223
|
return {
|
|
56213
56224
|
type: e,
|
|
56214
56225
|
data: Ca(t).datas[e]
|
|
@@ -57297,8 +57308,8 @@ function nle(t, e, r, n, a, i, o, s, l, u) {
|
|
|
57297
57308
|
ge.invisible = !1;
|
|
57298
57309
|
var Ne = o.getVisual("style"), st = Ne.stroke, rt = KE(T);
|
|
57299
57310
|
rt.fill = st;
|
|
57300
|
-
var
|
|
57301
|
-
|
|
57311
|
+
var ct = cl(E);
|
|
57312
|
+
ct.fill = E.get("borderColor");
|
|
57302
57313
|
var vt = cl(N);
|
|
57303
57314
|
vt.fill = N.get("borderColor");
|
|
57304
57315
|
var Gt = cl(L);
|
|
@@ -57318,7 +57329,7 @@ function nle(t, e, r, n, a, i, o, s, l, u) {
|
|
|
57318
57329
|
);
|
|
57319
57330
|
} else
|
|
57320
57331
|
ge.removeTextContent();
|
|
57321
|
-
ge.setStyle(rt), ge.ensureState("emphasis").style =
|
|
57332
|
+
ge.setStyle(rt), ge.ensureState("emphasis").style = ct, ge.ensureState("blur").style = vt, ge.ensureState("select").style = Gt, Vl(ge);
|
|
57322
57333
|
}
|
|
57323
57334
|
be.add(ge);
|
|
57324
57335
|
}
|
|
@@ -57336,10 +57347,10 @@ function nle(t, e, r, n, a, i, o, s, l, u) {
|
|
|
57336
57347
|
J(ge);
|
|
57337
57348
|
else {
|
|
57338
57349
|
ge.invisible = !1;
|
|
57339
|
-
var st = o.getVisual("style"), rt = st.fill,
|
|
57340
|
-
|
|
57350
|
+
var st = o.getVisual("style"), rt = st.fill, ct = KE(T);
|
|
57351
|
+
ct.fill = rt, ct.decal = st.decal;
|
|
57341
57352
|
var vt = cl(E), Gt = cl(N), sr = cl(L);
|
|
57342
|
-
U(ge, rt, st.opacity, null), ge.setStyle(
|
|
57353
|
+
U(ge, rt, st.opacity, null), ge.setStyle(ct), ge.ensureState("emphasis").style = vt, ge.ensureState("blur").style = Gt, ge.ensureState("select").style = sr, Vl(ge);
|
|
57343
57354
|
}
|
|
57344
57355
|
be.add(ge);
|
|
57345
57356
|
}
|
|
@@ -57355,19 +57366,19 @@ function nle(t, e, r, n, a, i, o, s, l, u) {
|
|
|
57355
57366
|
labelFetcher: t,
|
|
57356
57367
|
labelDataIndex: o.dataIndex
|
|
57357
57368
|
});
|
|
57358
|
-
var
|
|
57359
|
-
if (
|
|
57360
|
-
var vt =
|
|
57369
|
+
var ct = be.getTextContent();
|
|
57370
|
+
if (ct) {
|
|
57371
|
+
var vt = ct.style, Gt = T1(vt.padding || 0);
|
|
57361
57372
|
de && (be.setTextConfig({
|
|
57362
57373
|
layoutRect: de
|
|
57363
|
-
}),
|
|
57374
|
+
}), ct.disableLabelLayout = !0), ct.beforeUpdate = function() {
|
|
57364
57375
|
var $t = Math.max((de ? de.width : be.shape.width) - Gt[1] - Gt[3], 0), aa = Math.max((de ? de.height : be.shape.height) - Gt[0] - Gt[2], 0);
|
|
57365
|
-
(vt.width !== $t || vt.height !== aa) &&
|
|
57376
|
+
(vt.width !== $t || vt.height !== aa) && ct.setStyle({
|
|
57366
57377
|
width: $t,
|
|
57367
57378
|
height: aa
|
|
57368
57379
|
});
|
|
57369
57380
|
}, vt.truncateMinChar = 2, vt.lineOverflow = "truncate", ue(vt, de, c);
|
|
57370
|
-
var sr =
|
|
57381
|
+
var sr = ct.getState("emphasis");
|
|
57371
57382
|
ue(sr ? sr.style : null, de, c);
|
|
57372
57383
|
}
|
|
57373
57384
|
}
|
|
@@ -57389,8 +57400,8 @@ function nle(t, e, r, n, a, i, o, s, l, u) {
|
|
|
57389
57400
|
function qe(be, ge) {
|
|
57390
57401
|
var Me = be[m] = {}, de = o.parentNode, Ne = ge instanceof ke;
|
|
57391
57402
|
if (de && (!n || n.direction === "drillDown")) {
|
|
57392
|
-
var st = 0, rt = 0,
|
|
57393
|
-
!n &&
|
|
57403
|
+
var st = 0, rt = 0, ct = a.background[de.getRawIndex()];
|
|
57404
|
+
!n && ct && ct.oldShape && (st = ct.oldShape.width, rt = ct.oldShape.height), Ne ? (Me.oldX = 0, Me.oldY = rt) : Me.oldShape = {
|
|
57394
57405
|
x: st,
|
|
57395
57406
|
y: rt,
|
|
57396
57407
|
width: 0,
|
|
@@ -57418,7 +57429,7 @@ var Zh = P, ile = Be, Pv = -1, Ur = (
|
|
|
57418
57429
|
}, t.prototype.getNormalizer = function() {
|
|
57419
57430
|
return ve(this._normalizeData, this);
|
|
57420
57431
|
}, t.listVisualTypes = function() {
|
|
57421
|
-
return
|
|
57432
|
+
return ut(t.visualHandlers);
|
|
57422
57433
|
}, t.isValidType = function(e) {
|
|
57423
57434
|
return t.visualHandlers.hasOwnProperty(e);
|
|
57424
57435
|
}, t.eachVisual = function(e, r, n) {
|
|
@@ -65062,7 +65073,7 @@ var xP = {
|
|
|
65062
65073
|
position: ["x", "y"],
|
|
65063
65074
|
scale: ["scaleX", "scaleY"],
|
|
65064
65075
|
origin: ["originX", "originY"]
|
|
65065
|
-
}, Z9 =
|
|
65076
|
+
}, Z9 = ut(xP), Vv = Di(Ri, function(t, e) {
|
|
65066
65077
|
return t[e] = 1, t;
|
|
65067
65078
|
}, {}), K9 = Ri.join(", "), zv = ["", "style", "shape", "extra"], wc = nt();
|
|
65068
65079
|
function Zx(t, e, r, n, a) {
|
|
@@ -65214,7 +65225,7 @@ function Q9(t, e, r, n) {
|
|
|
65214
65225
|
}
|
|
65215
65226
|
else if (Ol(s) || Xe(s, t) >= 0) {
|
|
65216
65227
|
!o && (o = n[t] = {});
|
|
65217
|
-
for (var d =
|
|
65228
|
+
for (var d = ut(i), c = 0; c < d.length; c++) {
|
|
65218
65229
|
var h = d[c], f = i[h];
|
|
65219
65230
|
xhe(a[h], f) && (o[h] = f);
|
|
65220
65231
|
}
|
|
@@ -65225,7 +65236,7 @@ function Q9(t, e, r, n) {
|
|
|
65225
65236
|
function X2(t, e, r) {
|
|
65226
65237
|
var n = e[t];
|
|
65227
65238
|
if (n)
|
|
65228
|
-
for (var a = r[t] = {}, i =
|
|
65239
|
+
for (var a = r[t] = {}, i = ut(n), o = 0; o < i.length; o++) {
|
|
65229
65240
|
var s = i[o];
|
|
65230
65241
|
a[s] = dh(n[s]);
|
|
65231
65242
|
}
|
|
@@ -65265,7 +65276,7 @@ function yhe(t, e, r, n) {
|
|
|
65265
65276
|
var f = t.getAnimationStyleProps(), d = f ? f.style : null;
|
|
65266
65277
|
if (d) {
|
|
65267
65278
|
!i && (i = n.style = {});
|
|
65268
|
-
for (var p =
|
|
65279
|
+
for (var p = ut(r), u = 0; u < p.length; u++) {
|
|
65269
65280
|
var c = p[u];
|
|
65270
65281
|
if (d[c]) {
|
|
65271
65282
|
var h = a[c];
|
|
@@ -65282,7 +65293,7 @@ function xhe(t, e) {
|
|
|
65282
65293
|
}
|
|
65283
65294
|
var TP;
|
|
65284
65295
|
process.env.NODE_ENV !== "production" && (TP = function(t, e) {
|
|
65285
|
-
Te(Vv, t) || rr("Prop `" + t + "` is not a permitted in `" + e + "`. Only `" +
|
|
65296
|
+
Te(Vv, t) || rr("Prop `" + t + "` is not a permitted in `" + e + "`. Only `" + ut(Vv).join("`, `") + "` are permitted.");
|
|
65286
65297
|
});
|
|
65287
65298
|
var _P = nt(), bhe = ["percent", "easing", "shape", "style", "extra"];
|
|
65288
65299
|
function SP(t) {
|
|
@@ -65311,7 +65322,7 @@ function Hv(t, e, r) {
|
|
|
65311
65322
|
}), P(n, function(c) {
|
|
65312
65323
|
var h = t.animators, f = s ? c[s] : c;
|
|
65313
65324
|
if (process.env.NODE_ENV !== "production" && c.percent >= 1 && (u = !0), !!f) {
|
|
65314
|
-
var d =
|
|
65325
|
+
var d = ut(f);
|
|
65315
65326
|
if (s || (d = It(d, function(g) {
|
|
65316
65327
|
return Xe(bhe, g) < 0;
|
|
65317
65328
|
})), !!d.length) {
|
|
@@ -66171,7 +66182,7 @@ var Vhe = (
|
|
|
66171
66182
|
})(at)
|
|
66172
66183
|
), no = nt(), zhe = P;
|
|
66173
66184
|
function MP(t, e, r) {
|
|
66174
|
-
if (!
|
|
66185
|
+
if (!lt.node) {
|
|
66175
66186
|
var n = e.getZr();
|
|
66176
66187
|
no(n).records || (no(n).records = {}), Hhe(n, e);
|
|
66177
66188
|
var a = no(n).records[t] || (no(n).records[t] = {});
|
|
@@ -66215,7 +66226,7 @@ function jhe(t) {
|
|
|
66215
66226
|
};
|
|
66216
66227
|
}
|
|
66217
66228
|
function G4(t, e) {
|
|
66218
|
-
if (!
|
|
66229
|
+
if (!lt.node) {
|
|
66219
66230
|
var r = e.getZr(), n = (no(r).records || {})[t];
|
|
66220
66231
|
n && (no(r).records[t] = null);
|
|
66221
66232
|
}
|
|
@@ -68977,7 +68988,7 @@ function GC(t, e, r, n) {
|
|
|
68977
68988
|
], function(a) {
|
|
68978
68989
|
var i = a[0];
|
|
68979
68990
|
Te(e, i) ? t[i] = Ae(e[i], a[1]) : t[i] == null && (t[i] = a[1]);
|
|
68980
|
-
}), P(
|
|
68991
|
+
}), P(ut(e), function(a) {
|
|
68981
68992
|
if (a.indexOf("on") === 0) {
|
|
68982
68993
|
var i = e[a];
|
|
68983
68994
|
t[a] = Oe(i) ? i : null;
|
|
@@ -69689,7 +69700,7 @@ var Lde = (
|
|
|
69689
69700
|
connectedBackgroundColor: a.get("connectedBackgroundColor"),
|
|
69690
69701
|
excludeComponents: a.get("excludeComponents"),
|
|
69691
69702
|
pixelRatio: a.get("pixelRatio")
|
|
69692
|
-
}), u =
|
|
69703
|
+
}), u = lt.browser;
|
|
69693
69704
|
if (typeof MouseEvent == "function" && (u.newEdge || !u.ie && !u.edge)) {
|
|
69694
69705
|
var c = document.createElement("a");
|
|
69695
69706
|
c.download = i + "." + s, c.target = "_blank", c.href = l;
|
|
@@ -70606,7 +70617,7 @@ function $P(t) {
|
|
|
70606
70617
|
return e != null ? !!e : t.get("renderMode") === "richText";
|
|
70607
70618
|
}
|
|
70608
70619
|
function XP(t) {
|
|
70609
|
-
if (
|
|
70620
|
+
if (lt.domSupported) {
|
|
70610
70621
|
for (var e = document.documentElement.style, r = 0, n = t.length; r < n; r++)
|
|
70611
70622
|
if (t[r] in e)
|
|
70612
70623
|
return t[r];
|
|
@@ -70624,7 +70635,7 @@ function ipe(t, e) {
|
|
|
70624
70635
|
var r = t.currentStyle || document.defaultView && document.defaultView.getComputedStyle(t);
|
|
70625
70636
|
return r ? r[e] : null;
|
|
70626
70637
|
}
|
|
70627
|
-
var ope = KP(ape, "transition"), mb = KP(ZP, "transform"), spe = "position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;" + (
|
|
70638
|
+
var ope = KP(ape, "transition"), mb = KP(ZP, "transform"), spe = "position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;" + (lt.transform3dSupported ? "will-change:transform;" : "");
|
|
70628
70639
|
function lpe(t) {
|
|
70629
70640
|
return t = t === "left" ? "right" : t === "right" ? "left" : t === "top" ? "bottom" : "top", t;
|
|
70630
70641
|
}
|
|
@@ -70642,13 +70653,13 @@ function upe(t, e, r) {
|
|
|
70642
70653
|
}
|
|
70643
70654
|
function cpe(t, e, r) {
|
|
70644
70655
|
var n = "cubic-bezier(0.23,1,0.32,1)", a = "", i = "";
|
|
70645
|
-
return r && (a = " " + t / 2 + "s " + n, i = "opacity" + a + ",visibility" + a), e || (a = " " + t + "s " + n, i += (i.length ? "," : "") + (
|
|
70656
|
+
return r && (a = " " + t / 2 + "s " + n, i = "opacity" + a + ",visibility" + a), e || (a = " " + t + "s " + n, i += (i.length ? "," : "") + (lt.transformSupported ? "" + mb + a : ",left" + a + ",top" + a)), ope + ":" + i;
|
|
70646
70657
|
}
|
|
70647
70658
|
function nw(t, e, r) {
|
|
70648
70659
|
var n = t.toFixed(0) + "px", a = e.toFixed(0) + "px";
|
|
70649
|
-
if (!
|
|
70660
|
+
if (!lt.transformSupported)
|
|
70650
70661
|
return r ? "top:" + a + ";left:" + n + ";" : [["top", a], ["left", n]];
|
|
70651
|
-
var i =
|
|
70662
|
+
var i = lt.transform3dSupported, o = "translate" + (i ? "3d" : "") + "(" + n + "," + a + (i ? ",0" : "") + ")";
|
|
70652
70663
|
return r ? "top:0;left:0;" + mb + ":" + o + ";" : [["top", 0], ["left", 0], [ZP, o]];
|
|
70653
70664
|
}
|
|
70654
70665
|
function hpe(t) {
|
|
@@ -70685,7 +70696,7 @@ var dpe = (
|
|
|
70685
70696
|
/** @class */
|
|
70686
70697
|
(function() {
|
|
70687
70698
|
function t(e, r) {
|
|
70688
|
-
if (this._show = !1, this._styleCoord = [0, 0, 0, 0], this._enterable = !0, this._alwaysShowContent = !1, this._firstShow = !0, this._longHide = !0,
|
|
70699
|
+
if (this._show = !1, this._styleCoord = [0, 0, 0, 0], this._enterable = !0, this._alwaysShowContent = !1, this._firstShow = !0, this._longHide = !0, lt.wxa)
|
|
70689
70700
|
return null;
|
|
70690
70701
|
var n = document.createElement("div");
|
|
70691
70702
|
n.domBelongToZr = !0, this.el = n;
|
|
@@ -70752,7 +70763,7 @@ var dpe = (
|
|
|
70752
70763
|
this.moveTo(e * this._zr.getWidth(), r * this._zr.getHeight());
|
|
70753
70764
|
}, t.prototype.hide = function() {
|
|
70754
70765
|
var e = this, r = this.el.style;
|
|
70755
|
-
this._enableDisplayTransition ? (r.visibility = "hidden", r.opacity = "0") : r.display = "none",
|
|
70766
|
+
this._enableDisplayTransition ? (r.visibility = "hidden", r.opacity = "0") : r.display = "none", lt.transform3dSupported && (r.willChange = ""), this._show = !1, this._longHideTimeout = setTimeout(function() {
|
|
70756
70767
|
return e._longHide = !0;
|
|
70757
70768
|
}, 500);
|
|
70758
70769
|
}, t.prototype.hideLater = function(e) {
|
|
@@ -70870,14 +70881,14 @@ var vpe = new tt({
|
|
|
70870
70881
|
return r.type = e.type, r;
|
|
70871
70882
|
}
|
|
70872
70883
|
return e.prototype.init = function(r, n) {
|
|
70873
|
-
if (!(
|
|
70884
|
+
if (!(lt.node || !n.getDom())) {
|
|
70874
70885
|
var a = r.getComponent("tooltip"), i = this._renderMode = ZZ(a.get("renderMode"));
|
|
70875
70886
|
this._tooltipContent = i === "richText" ? new ppe(n) : new dpe(n, {
|
|
70876
70887
|
appendTo: a.get("appendToBody", !0) ? "body" : a.get("appendTo", !0)
|
|
70877
70888
|
});
|
|
70878
70889
|
}
|
|
70879
70890
|
}, e.prototype.render = function(r, n, a) {
|
|
70880
|
-
if (!(
|
|
70891
|
+
if (!(lt.node || !a.getDom())) {
|
|
70881
70892
|
this.group.removeAll(), this._tooltipModel = r, this._ecModel = n, this._api = a;
|
|
70882
70893
|
var i = this._tooltipContent;
|
|
70883
70894
|
i.update(r), i.setEnterable(r.get("enterable")), this._initGlobalListener(), this._keepShow(), this._renderMode !== "richText" && r.get("transitionDuration") ? qc(this, "_updatePosition", 50, "fixRate") : Vh(this, "_updatePosition");
|
|
@@ -70900,7 +70911,7 @@ var vpe = new tt({
|
|
|
70900
70911
|
});
|
|
70901
70912
|
}
|
|
70902
70913
|
}, e.prototype.manuallyShowTip = function(r, n, a, i) {
|
|
70903
|
-
if (!(i.from === this.uid ||
|
|
70914
|
+
if (!(i.from === this.uid || lt.node || !a.getDom())) {
|
|
70904
70915
|
var o = sw(i, a);
|
|
70905
70916
|
this._ticket = "";
|
|
70906
70917
|
var s = i.dataByCoordSys, l = bpe(i, n, a);
|
|
@@ -71165,7 +71176,7 @@ var vpe = new tt({
|
|
|
71165
71176
|
from: this.uid
|
|
71166
71177
|
});
|
|
71167
71178
|
}, e.prototype.dispose = function(r, n) {
|
|
71168
|
-
|
|
71179
|
+
lt.node || !n.getDom() || (Vh(this, "_updatePosition"), this._tooltipContent.dispose(), G4("itemTooltip", n));
|
|
71169
71180
|
}, e.type = "tooltip", e;
|
|
71170
71181
|
})(qt)
|
|
71171
71182
|
);
|
|
@@ -72441,7 +72452,7 @@ var ep = nt(), Fi = (
|
|
|
72441
72452
|
throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");
|
|
72442
72453
|
this.mergeDefaultAndTheme(r, a), this._mergeOption(r, a, !1, !0);
|
|
72443
72454
|
}, e.prototype.isAnimationEnabled = function() {
|
|
72444
|
-
if (
|
|
72455
|
+
if (lt.node)
|
|
72445
72456
|
return !1;
|
|
72446
72457
|
var r = this.__hostSeries;
|
|
72447
72458
|
return this.getShallow("animation") && r && r.isAnimationEnabled();
|
|
@@ -76186,7 +76197,7 @@ function A1e(t, e) {
|
|
|
76186
76197
|
return a.child = Tb(r, e), a.child || wt(n), a;
|
|
76187
76198
|
}
|
|
76188
76199
|
function I1e(t, e) {
|
|
76189
|
-
for (var r = "", n = e.prepareGetValue(t), a = [], i =
|
|
76200
|
+
for (var r = "", n = e.prepareGetValue(t), a = [], i = ut(t), o = t.parser, s = o ? LM(o) : null, l = 0; l < i.length; l++) {
|
|
76190
76201
|
var u = i[l];
|
|
76191
76202
|
if (!(u === "parser" || e.valueGetterAttrMap.get(u))) {
|
|
76192
76203
|
var c = Te($w, u) ? $w[u] : u, h = t[u], f = s ? s(h) : h, d = cee(c, f) || c === "reg" && new T1e(f);
|
|
@@ -77680,13 +77691,13 @@ function Ege(t, e, r, n, a) {
|
|
|
77680
77691
|
fill: "none"
|
|
77681
77692
|
}, D = M ? 0 : 1, z = 1 - D, G = n[Ye[z]] + n[Cr[z]];
|
|
77682
77693
|
function Z(st) {
|
|
77683
|
-
var rt = [],
|
|
77684
|
-
rt[D] =
|
|
77694
|
+
var rt = [], ct = [];
|
|
77695
|
+
rt[D] = ct[D] = st, rt[z] = n[Ye[z]], ct[z] = G;
|
|
77685
77696
|
var vt = {
|
|
77686
77697
|
x1: rt[0],
|
|
77687
77698
|
y1: rt[1],
|
|
77688
|
-
x2:
|
|
77689
|
-
y2:
|
|
77699
|
+
x2: ct[0],
|
|
77700
|
+
y2: ct[1]
|
|
77690
77701
|
};
|
|
77691
77702
|
return k1(vt, vt, {
|
|
77692
77703
|
lineWidth: 1
|
|
@@ -78570,7 +78581,17 @@ const _B = ({
|
|
|
78570
78581
|
clickable: a = !1,
|
|
78571
78582
|
onClick: i
|
|
78572
78583
|
}) => {
|
|
78573
|
-
const o = Ea(null), s = Ea(null), l = ao(() => lg(t, e), [t, e]), u = ao(() =>
|
|
78584
|
+
const o = Ea(null), s = Ea(null), l = ao(() => lg(t, e), [t, e]), u = ao(() => {
|
|
78585
|
+
if (l) return null;
|
|
78586
|
+
const h = Bge(t, e);
|
|
78587
|
+
return h ? {
|
|
78588
|
+
...h,
|
|
78589
|
+
legend: {
|
|
78590
|
+
...h.legend,
|
|
78591
|
+
show: !1
|
|
78592
|
+
}
|
|
78593
|
+
} : null;
|
|
78594
|
+
}, [t, e, l]);
|
|
78574
78595
|
if (pr(() => {
|
|
78575
78596
|
if (!(!o.current || !u))
|
|
78576
78597
|
try {
|
|
@@ -79145,30 +79166,35 @@ const SB = ({
|
|
|
79145
79166
|
` })
|
|
79146
79167
|
] }) : null;
|
|
79147
79168
|
}, Cb = ({ block: t }) => {
|
|
79148
|
-
const [e, r] = Dt(!1), { icon: n, title: a, name: i, input: o, output: s } = t.content, l = Ih.hasTool(i),
|
|
79169
|
+
const [e, r] = Dt(!1), { icon: n, title: a, name: i, input: o, output: s } = t.content, { consumeTime: l } = t, u = Ih.hasTool(i), c = u ? Ih.getTool(i) : void 0, h = (c == null ? void 0 : c.Icon) || n, f = () => h ? typeof h == "string" ? /* @__PURE__ */ S.jsx(
|
|
79149
79170
|
"img",
|
|
79150
79171
|
{
|
|
79151
|
-
src:
|
|
79172
|
+
src: h,
|
|
79152
79173
|
alt: i,
|
|
79153
79174
|
className: "w-5 h-5 flex-shrink-0",
|
|
79154
|
-
onError: (
|
|
79155
|
-
|
|
79175
|
+
onError: (p) => {
|
|
79176
|
+
p.currentTarget.style.display = "none";
|
|
79156
79177
|
}
|
|
79157
79178
|
}
|
|
79158
|
-
) : /* @__PURE__ */ S.jsx("div", { className: "w-5 h-5 flex-shrink-0", children:
|
|
79159
|
-
|
|
79179
|
+
) : /* @__PURE__ */ S.jsx("div", { className: "w-5 h-5 flex-shrink-0", children: h }) : null, d = () => {
|
|
79180
|
+
u && (c != null && c.onClick) ? c.onClick(t.content.output) : r(!0);
|
|
79160
79181
|
};
|
|
79161
79182
|
return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
79162
79183
|
/* @__PURE__ */ S.jsx("div", { className: "tool-block bg-white border border-[#d9d9d9] rounded-[6px] my-2", children: /* @__PURE__ */ S.jsxs(
|
|
79163
79184
|
"div",
|
|
79164
79185
|
{
|
|
79165
79186
|
className: "flex items-center justify-between px-3 py-2 cursor-pointer hover:bg-gray-50 transition-colors",
|
|
79166
|
-
onClick:
|
|
79187
|
+
onClick: d,
|
|
79167
79188
|
children: [
|
|
79168
79189
|
/* @__PURE__ */ S.jsxs("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
|
|
79169
|
-
|
|
79190
|
+
f(),
|
|
79170
79191
|
/* @__PURE__ */ S.jsx("span", { className: "text-sm text-[rgba(0,0,0,0.65)] truncate", children: a })
|
|
79171
79192
|
] }),
|
|
79193
|
+
l !== void 0 && /* @__PURE__ */ S.jsx("div", { className: "flex items-center mr-4 flex-shrink-0", children: /* @__PURE__ */ S.jsxs("span", { className: "text-sm text-[rgba(0,0,0,0.45)]", children: [
|
|
79194
|
+
"耗时:",
|
|
79195
|
+
Number(l / 1e3).toFixed(2),
|
|
79196
|
+
"s"
|
|
79197
|
+
] }) }),
|
|
79172
79198
|
/* @__PURE__ */ S.jsx("div", { className: "flex items-center justify-center w-4 h-4 flex-shrink-0", children: /* @__PURE__ */ S.jsx(
|
|
79173
79199
|
"svg",
|
|
79174
79200
|
{
|
|
@@ -79191,14 +79217,14 @@ const SB = ({
|
|
|
79191
79217
|
]
|
|
79192
79218
|
}
|
|
79193
79219
|
) }),
|
|
79194
|
-
!(
|
|
79220
|
+
!(u && (c != null && c.onClick)) && /* @__PURE__ */ S.jsx(
|
|
79195
79221
|
Vge,
|
|
79196
79222
|
{
|
|
79197
79223
|
isOpen: e,
|
|
79198
79224
|
onClose: () => r(!1),
|
|
79199
79225
|
toolName: i,
|
|
79200
79226
|
toolTitle: a,
|
|
79201
|
-
toolIcon:
|
|
79227
|
+
toolIcon: h,
|
|
79202
79228
|
input: o,
|
|
79203
79229
|
output: s
|
|
79204
79230
|
}
|
|
@@ -79206,7 +79232,7 @@ const SB = ({
|
|
|
79206
79232
|
] });
|
|
79207
79233
|
}, zge = ({ block: t }) => {
|
|
79208
79234
|
const { input: e, results: r } = t.content, n = {
|
|
79209
|
-
type:
|
|
79235
|
+
type: ft.TOOL,
|
|
79210
79236
|
content: {
|
|
79211
79237
|
name: "web_search",
|
|
79212
79238
|
title: `联网搜索:${e}`,
|
|
@@ -79396,7 +79422,7 @@ const Gge = ({
|
|
|
79396
79422
|
}
|
|
79397
79423
|
) : /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
79398
79424
|
/* @__PURE__ */ S.jsx("div", { className: "mb-16", children: /* @__PURE__ */ S.jsx(Cb, { block: {
|
|
79399
|
-
type:
|
|
79425
|
+
type: ft.TOOL,
|
|
79400
79426
|
content: {
|
|
79401
79427
|
name: "json2plot",
|
|
79402
79428
|
title: i.title || "图表",
|
|
@@ -79405,7 +79431,8 @@ const Gge = ({
|
|
|
79405
79431
|
output: {
|
|
79406
79432
|
data: i
|
|
79407
79433
|
}
|
|
79408
|
-
}
|
|
79434
|
+
},
|
|
79435
|
+
consumeTime: t.consumeTime
|
|
79409
79436
|
} }) }),
|
|
79410
79437
|
/* @__PURE__ */ S.jsx(
|
|
79411
79438
|
SB,
|
|
@@ -79704,7 +79731,7 @@ const Gge = ({
|
|
|
79704
79731
|
var h;
|
|
79705
79732
|
return Array.isArray(t.content) ? t.content.some((f) => {
|
|
79706
79733
|
var d;
|
|
79707
|
-
return f.type ===
|
|
79734
|
+
return f.type === ft.TEXT || f.type === ft.MARKDOWN ? ((d = f.content) == null ? void 0 : d.trim().length) > 0 : !0;
|
|
79708
79735
|
}) : ((h = t.content) == null ? void 0 : h.trim().length) > 0;
|
|
79709
79736
|
}, l = async () => {
|
|
79710
79737
|
await oL(t) && (o(!0), setTimeout(() => o(!1), 1e3));
|
|
@@ -79717,15 +79744,15 @@ const Gge = ({
|
|
|
79717
79744
|
}
|
|
79718
79745
|
), c = () => e && !s() ? u() : Array.isArray(t.content) ? /* @__PURE__ */ S.jsx("div", { className: "space-y-2", children: t.content.map((h, f) => {
|
|
79719
79746
|
switch (h.type) {
|
|
79720
|
-
case
|
|
79747
|
+
case ft.TEXT:
|
|
79721
79748
|
return /* @__PURE__ */ S.jsx(F$, { block: h }, f);
|
|
79722
|
-
case
|
|
79749
|
+
case ft.MARKDOWN:
|
|
79723
79750
|
return /* @__PURE__ */ S.jsx(hL, { block: h }, f);
|
|
79724
|
-
case
|
|
79751
|
+
case ft.WEB_SEARCH:
|
|
79725
79752
|
return /* @__PURE__ */ S.jsx(zge, { block: h }, f);
|
|
79726
|
-
case
|
|
79753
|
+
case ft.JSON2PLOT:
|
|
79727
79754
|
return /* @__PURE__ */ S.jsx(jge, { block: h }, f);
|
|
79728
|
-
case
|
|
79755
|
+
case ft.TOOL:
|
|
79729
79756
|
return /* @__PURE__ */ S.jsx(Cb, { block: h }, f);
|
|
79730
79757
|
default:
|
|
79731
79758
|
return null;
|
|
@@ -79932,7 +79959,7 @@ const Gge = ({
|
|
|
79932
79959
|
/* @__PURE__ */ S.jsx(ug, { name: e.avatar, width: 64, height: 64 }),
|
|
79933
79960
|
e.name
|
|
79934
79961
|
] }),
|
|
79935
|
-
r && /* @__PURE__ */ S.jsx("p", { className: "mb-6", style: { fontFamily: "Noto Sans SC" }, children: /* @__PURE__ */ S.jsx(hL, { block: { type:
|
|
79962
|
+
r && /* @__PURE__ */ S.jsx("p", { className: "mb-6", style: { fontFamily: "Noto Sans SC" }, children: /* @__PURE__ */ S.jsx(hL, { block: { type: ft.MARKDOWN, content: r }, fontSize: 20 }) }),
|
|
79936
79963
|
(e == null ? void 0 : e.profile) && /* @__PURE__ */ S.jsx("p", { className: "text-[16px] leading-[26px] text-[rgba(0,0,0,0.65)] font-normal mb-6", style: { fontFamily: "Noto Sans SC" }, children: e.profile }),
|
|
79937
79964
|
a.length > 0 && /* @__PURE__ */ S.jsx("div", { className: "grid grid-cols-4 gap-3", children: a.map((o, s) => /* @__PURE__ */ S.jsxs(
|
|
79938
79965
|
"button",
|
|
@@ -80499,7 +80526,7 @@ class dme extends d6 {
|
|
|
80499
80526
|
extractUserMessageText(r) {
|
|
80500
80527
|
if (Array.isArray(r.content)) {
|
|
80501
80528
|
const n = r.content.find(
|
|
80502
|
-
(a) => a.type ===
|
|
80529
|
+
(a) => a.type === ft.TEXT || a.type === ft.MARKDOWN
|
|
80503
80530
|
);
|
|
80504
80531
|
if (n)
|
|
80505
80532
|
return n.content;
|
|
@@ -80912,7 +80939,10 @@ ${n}`);
|
|
|
80912
80939
|
}
|
|
80913
80940
|
if (console.log("content", c), ((v = c == null ? void 0 : c.skill_info) == null ? void 0 : v.name) === "json2plot") {
|
|
80914
80941
|
const x = this.extractJson2PlotData(c);
|
|
80915
|
-
|
|
80942
|
+
if (x) {
|
|
80943
|
+
const b = this.calculateConsumeTime(c.start_time, c.end_time);
|
|
80944
|
+
this.appendJson2PlotBlock(h, x, b);
|
|
80945
|
+
}
|
|
80916
80946
|
}
|
|
80917
80947
|
const y = (m = (g = c.skill_info) == null ? void 0 : g.name) == null ? void 0 : m.toLowerCase();
|
|
80918
80948
|
if (y === "search_memory" || y === "_date" || y === "build_memory")
|
|
@@ -81093,42 +81123,53 @@ ${n}`);
|
|
|
81093
81123
|
}
|
|
81094
81124
|
return "string";
|
|
81095
81125
|
}
|
|
81126
|
+
/**
|
|
81127
|
+
* 计算耗时(毫秒)
|
|
81128
|
+
* @param startTime 开始时间戳
|
|
81129
|
+
* @param endTime 结束时间戳
|
|
81130
|
+
* @returns 耗时(毫秒),如果时间戳无效则返回 undefined
|
|
81131
|
+
*/
|
|
81132
|
+
calculateConsumeTime(n, a) {
|
|
81133
|
+
if (n && a && a > n)
|
|
81134
|
+
return Math.round((a - n) * 1e3);
|
|
81135
|
+
}
|
|
81096
81136
|
/**
|
|
81097
81137
|
* 处理技能调用的统一方法
|
|
81098
81138
|
* 根据设计文档 3.2 Event Message 白名单中的后处理逻辑
|
|
81099
81139
|
* @param skillInfo 技能信息
|
|
81100
81140
|
* @param answer 技能执行的 answer 字段
|
|
81101
81141
|
* @param messageId 消息 ID
|
|
81142
|
+
* @param consumeTime 耗时(毫秒),可选
|
|
81102
81143
|
*/
|
|
81103
|
-
processSkillExecution(n, a, i) {
|
|
81144
|
+
processSkillExecution(n, a, i, o) {
|
|
81104
81145
|
if (!(n != null && n.name))
|
|
81105
81146
|
return;
|
|
81106
|
-
const
|
|
81107
|
-
if (!(
|
|
81108
|
-
if (
|
|
81109
|
-
const
|
|
81110
|
-
|
|
81111
|
-
} else if (
|
|
81147
|
+
const s = n.name, l = s.toLowerCase();
|
|
81148
|
+
if (!(l === "search_memory" || l === "_date" || l === "build_memory")) {
|
|
81149
|
+
if (s === "zhipu_search_tool") {
|
|
81150
|
+
const u = this.extractWebSearchQueryFromAnswer(a);
|
|
81151
|
+
u && this.appendWebSearchBlock(i, u);
|
|
81152
|
+
} else if (s === "json2plot") {
|
|
81112
81153
|
console.log("skillInfo", n);
|
|
81113
|
-
const
|
|
81114
|
-
|
|
81115
|
-
} else if (
|
|
81116
|
-
const
|
|
81117
|
-
|
|
81118
|
-
} else if (
|
|
81119
|
-
const
|
|
81120
|
-
|
|
81121
|
-
} else if (
|
|
81122
|
-
const
|
|
81123
|
-
|
|
81124
|
-
} else if (
|
|
81125
|
-
const
|
|
81126
|
-
|
|
81127
|
-
} else if (
|
|
81128
|
-
const
|
|
81129
|
-
|
|
81130
|
-
}
|
|
81131
|
-
|
|
81154
|
+
const u = this.extractChartDataFromArgs(n.args, a);
|
|
81155
|
+
u && this.appendJson2PlotBlock(i, u, o);
|
|
81156
|
+
} else if (s === "execute_code") {
|
|
81157
|
+
const u = this.extractExecuteCodeResult(n.args, a);
|
|
81158
|
+
u && this.appendExecuteCodeBlock(i, u, o);
|
|
81159
|
+
} else if (s === "text2sql") {
|
|
81160
|
+
const u = this.extractText2SqlResult(n.args, a);
|
|
81161
|
+
u && this.appendText2SqlBlock(i, u, o);
|
|
81162
|
+
} else if (s === "text2metric") {
|
|
81163
|
+
const u = this.extractText2MetricResult(n.args, a);
|
|
81164
|
+
u && this.appendText2MetricBlock(i, u, o);
|
|
81165
|
+
} else if (s === "af_sailor") {
|
|
81166
|
+
const u = this.extractAfSailorResult(n.args, a);
|
|
81167
|
+
u && this.appendAfSailorBlock(i, u, o);
|
|
81168
|
+
} else if (s === "datasource_filter") {
|
|
81169
|
+
const u = this.extractDatasourceFilterResult(n.args, a);
|
|
81170
|
+
u && this.appendDatasourceFilterBlock(i, u, o);
|
|
81171
|
+
}
|
|
81172
|
+
}
|
|
81132
81173
|
}
|
|
81133
81174
|
/**
|
|
81134
81175
|
* 处理 middle_answer.progress 中的一个元素
|
|
@@ -81137,9 +81178,10 @@ ${n}`);
|
|
|
81137
81178
|
* @param messageId 消息 ID
|
|
81138
81179
|
*/
|
|
81139
81180
|
processMiddleAnswerProgress(n, a) {
|
|
81140
|
-
if ((n == null ? void 0 : n.stage) === "skill")
|
|
81141
|
-
this.
|
|
81142
|
-
|
|
81181
|
+
if ((n == null ? void 0 : n.stage) === "skill") {
|
|
81182
|
+
const i = this.calculateConsumeTime(n.start_time, n.end_time);
|
|
81183
|
+
this.processSkillExecution(n.skill_info, n.answer, a, i);
|
|
81184
|
+
} else if ((n == null ? void 0 : n.stage) === "llm") {
|
|
81143
81185
|
const i = n.answer || "";
|
|
81144
81186
|
this.appendMarkdownBlock(a, i);
|
|
81145
81187
|
}
|
|
@@ -81420,101 +81462,106 @@ ${n}`);
|
|
|
81420
81462
|
appendSkillOrLLMContentToMessage(n, a) {
|
|
81421
81463
|
var i, o, s, l, u, c, h, f, d, p, v;
|
|
81422
81464
|
if (n.stage === "skill") {
|
|
81423
|
-
const g = (i = n.skill_info) == null ? void 0 : i.name, m = g == null ? void 0 : g.toLowerCase();
|
|
81424
|
-
if ((s = (o = n.skill_info) == null ? void 0 : o.args) != null && s.some((
|
|
81465
|
+
const g = (i = n.skill_info) == null ? void 0 : i.name, m = g == null ? void 0 : g.toLowerCase(), y = n, x = this.calculateConsumeTime(y.start_time, y.end_time);
|
|
81466
|
+
if ((s = (o = n.skill_info) == null ? void 0 : o.args) != null && s.some((b) => (b == null ? void 0 : b.name) === "action" && (b == null ? void 0 : b.value) === "show_ds") || m === "search_memory" || m === "_date" || m === "build_memory")
|
|
81425
81467
|
return;
|
|
81426
81468
|
if (g === "zhipu_search_tool") {
|
|
81427
|
-
const
|
|
81428
|
-
|
|
81429
|
-
type:
|
|
81430
|
-
content:
|
|
81469
|
+
const b = this.extractWebSearchQueryFromAnswer(n.answer);
|
|
81470
|
+
b && a.content.push({
|
|
81471
|
+
type: ft.WEB_SEARCH,
|
|
81472
|
+
content: b
|
|
81431
81473
|
});
|
|
81432
81474
|
} else if (g === "json2plot") {
|
|
81433
|
-
const
|
|
81434
|
-
|
|
81435
|
-
|
|
81436
|
-
content
|
|
81437
|
-
|
|
81475
|
+
const b = this.extractChartDataFromArgs((l = n.skill_info) == null ? void 0 : l.args, n.answer);
|
|
81476
|
+
if (b) {
|
|
81477
|
+
const _ = n, T = this.calculateConsumeTime(_.start_time, _.end_time);
|
|
81478
|
+
a.content.push({
|
|
81479
|
+
type: ft.JSON2PLOT,
|
|
81480
|
+
content: b,
|
|
81481
|
+
consumeTime: T
|
|
81482
|
+
});
|
|
81483
|
+
}
|
|
81438
81484
|
} else if (g === "execute_code") {
|
|
81439
|
-
const
|
|
81440
|
-
|
|
81441
|
-
type:
|
|
81485
|
+
const b = this.extractExecuteCodeResult((u = n.skill_info) == null ? void 0 : u.args, n.answer);
|
|
81486
|
+
b && a.content.push({
|
|
81487
|
+
type: ft.TOOL,
|
|
81442
81488
|
content: {
|
|
81443
81489
|
name: "execute_code",
|
|
81444
81490
|
title: "代码执行",
|
|
81445
|
-
input:
|
|
81446
|
-
output:
|
|
81491
|
+
input: b.input,
|
|
81492
|
+
output: b.output,
|
|
81447
81493
|
icon: /* @__PURE__ */ S.jsx(Mp, {})
|
|
81448
|
-
}
|
|
81494
|
+
},
|
|
81495
|
+
consumeTime: x
|
|
81449
81496
|
});
|
|
81450
81497
|
} else if (g === "text2sql") {
|
|
81451
|
-
const
|
|
81452
|
-
|
|
81453
|
-
type:
|
|
81498
|
+
const b = this.extractText2SqlResult((c = n.skill_info) == null ? void 0 : c.args, n.answer);
|
|
81499
|
+
b && a.content.push({
|
|
81500
|
+
type: ft.TOOL,
|
|
81454
81501
|
content: {
|
|
81455
81502
|
name: "text2sql",
|
|
81456
|
-
title:
|
|
81457
|
-
input:
|
|
81503
|
+
title: b.title || "Text2SQL",
|
|
81504
|
+
input: b.sql,
|
|
81458
81505
|
icon: /* @__PURE__ */ S.jsx(Mp, {}),
|
|
81459
81506
|
output: {
|
|
81460
|
-
data:
|
|
81507
|
+
data: b.data
|
|
81461
81508
|
// cites: text2SqlResult.cites,
|
|
81462
81509
|
// title: text2SqlResult.title,
|
|
81463
81510
|
// message: text2SqlResult.message,
|
|
81464
81511
|
// dataDesc: text2SqlResult.dataDesc,
|
|
81465
81512
|
// explanation: text2SqlResult.explanation,
|
|
81466
81513
|
}
|
|
81467
|
-
}
|
|
81514
|
+
},
|
|
81515
|
+
consumeTime: x
|
|
81468
81516
|
});
|
|
81469
81517
|
} else if (g === "text2metric") {
|
|
81470
|
-
const
|
|
81471
|
-
|
|
81472
|
-
type:
|
|
81518
|
+
const b = this.extractText2MetricResult((h = n.skill_info) == null ? void 0 : h.args, n.answer);
|
|
81519
|
+
b && a.content.push({
|
|
81520
|
+
type: ft.TOOL,
|
|
81473
81521
|
content: {
|
|
81474
81522
|
name: "text2metric",
|
|
81475
|
-
title:
|
|
81476
|
-
input:
|
|
81523
|
+
title: b.title || "Text2Metric",
|
|
81524
|
+
input: b.args,
|
|
81477
81525
|
icon: /* @__PURE__ */ S.jsx(_A, {}),
|
|
81478
81526
|
output: {
|
|
81479
|
-
data:
|
|
81527
|
+
data: b.data
|
|
81480
81528
|
}
|
|
81481
|
-
}
|
|
81529
|
+
},
|
|
81530
|
+
consumeTime: x
|
|
81482
81531
|
});
|
|
81483
81532
|
} else if (g === "af_sailor") {
|
|
81484
|
-
const
|
|
81485
|
-
|
|
81486
|
-
type:
|
|
81533
|
+
const b = this.extractAfSailorResult((f = n.skill_info) == null ? void 0 : f.args, n.answer);
|
|
81534
|
+
b && a.content.push({
|
|
81535
|
+
type: ft.TOOL,
|
|
81487
81536
|
content: {
|
|
81488
81537
|
name: "af_sailor",
|
|
81489
|
-
title: `找到${((d =
|
|
81490
|
-
input:
|
|
81538
|
+
title: `找到${((d = b == null ? void 0 : b.cites) == null ? void 0 : d.length) || 0}条数据`,
|
|
81539
|
+
input: b.text || [],
|
|
81491
81540
|
icon: /* @__PURE__ */ S.jsx(Sh, {}),
|
|
81492
81541
|
output: {
|
|
81493
|
-
data:
|
|
81542
|
+
data: b.cites
|
|
81494
81543
|
}
|
|
81495
|
-
}
|
|
81544
|
+
},
|
|
81545
|
+
consumeTime: x
|
|
81496
81546
|
});
|
|
81497
81547
|
} else if (g === "datasource_filter") {
|
|
81498
|
-
const
|
|
81499
|
-
|
|
81500
|
-
type:
|
|
81548
|
+
const b = this.extractDatasourceFilterResult((p = n.skill_info) == null ? void 0 : p.args, n.answer);
|
|
81549
|
+
b && a.content.push({
|
|
81550
|
+
type: ft.TOOL,
|
|
81501
81551
|
content: {
|
|
81502
81552
|
name: "datasource_filter",
|
|
81503
|
-
title: `匹配到${((v =
|
|
81553
|
+
title: `匹配到${((v = b == null ? void 0 : b.result) == null ? void 0 : v.length) || 0}个数据`,
|
|
81504
81554
|
input: [],
|
|
81505
81555
|
icon: /* @__PURE__ */ S.jsx(Sh, {}),
|
|
81506
81556
|
output: {
|
|
81507
|
-
data:
|
|
81557
|
+
data: b.result
|
|
81508
81558
|
}
|
|
81509
|
-
}
|
|
81510
|
-
|
|
81511
|
-
} else
|
|
81512
|
-
a.content.push({
|
|
81513
|
-
type: lt.TEXT,
|
|
81514
|
-
content: `调用工具: ${g}`
|
|
81559
|
+
},
|
|
81560
|
+
consumeTime: x
|
|
81515
81561
|
});
|
|
81562
|
+
}
|
|
81516
81563
|
} else n.stage === "llm" && n.answer && a.content.push({
|
|
81517
|
-
type:
|
|
81564
|
+
type: ft.MARKDOWN,
|
|
81518
81565
|
content: n.answer
|
|
81519
81566
|
});
|
|
81520
81567
|
}
|
|
@@ -81711,7 +81758,7 @@ ${n}`);
|
|
|
81711
81758
|
try {
|
|
81712
81759
|
const d = typeof u.content == "string" ? JSON.parse(u.content) : u.content, p = (d == null ? void 0 : d.text) || "";
|
|
81713
81760
|
p && f.content.push({
|
|
81714
|
-
type:
|
|
81761
|
+
type: ft.TEXT,
|
|
81715
81762
|
content: p
|
|
81716
81763
|
});
|
|
81717
81764
|
} catch (d) {
|