@elevenlabs/convai-widget-core 0.6.0-beta.8 → 0.6.1
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/index.js +740 -732
- package/dist/mocks/browser.d.ts +62 -62
- package/dist/types/attributes.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -28,6 +28,10 @@ const Yo = [
|
|
|
28
28
|
"dynamic-variables",
|
|
29
29
|
"show-avatar-when-collapsed",
|
|
30
30
|
"override-prompt",
|
|
31
|
+
"override-llm",
|
|
32
|
+
"override-speed",
|
|
33
|
+
"override-stability",
|
|
34
|
+
"override-similarity-boost",
|
|
31
35
|
"override-first-message",
|
|
32
36
|
"override-language",
|
|
33
37
|
"override-voice-id",
|
|
@@ -41,14 +45,14 @@ const Yo = [
|
|
|
41
45
|
"user-id",
|
|
42
46
|
"use-rtc",
|
|
43
47
|
"collect-feedback",
|
|
48
|
+
"worklet-path-raw-audio-processor",
|
|
49
|
+
"worklet-path-audio-concat-processor",
|
|
50
|
+
"worklet-path-libsamplerate",
|
|
44
51
|
"syntax-highlight-theme",
|
|
45
52
|
"markdown-link-allowed-hosts",
|
|
46
53
|
"markdown-link-include-www",
|
|
47
|
-
"markdown-link-allow-http"
|
|
48
|
-
"worklet-path-raw-audio-processor",
|
|
49
|
-
"worklet-path-audio-concat-processor",
|
|
50
|
-
"worklet-path-libsamplerate"
|
|
51
|
-
], t1 = '@import"https://fonts.googleapis.com/css2?family=Inter:wght@400,500&display=swap";*,: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:currentColor}: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}.\\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-bottom-3{bottom:-12px}.bottom-0{bottom:0}.bottom-20{bottom:80px}.end-3{inset-inline-end:12px}.left-0{left:0}.left-1\\/2{left:50%}.left-4{left:16px}.right-0{right:0}.right-1{right:4px}.start-3{inset-inline-start:12px}.top-0{top:0}.top-1{top:4px}.top-1\\/2{top:50%}.top-16{top:64px}.top-20{top:80px}.top-4{top:16px}.top-\\[40\\%\\]{top:40%}.top-\\[88px\\]{top:88px}.z-1{z-index:1}.z-10{z-index:10}.z-2{z-index:2}.m-0{margin:0}.m-1{margin:4px}.-mx-0\\.5{margin-left:-2px;margin-right:-2px}.mx-1{margin-left:4px;margin-right:4px}.my-4{margin-top:16px;margin-bottom:16px}.my-6{margin-top:24px;margin-bottom:24px}.-mr-1\\.5{margin-right:-6px}.mb-0\\.5{margin-bottom:2px}.mb-1{margin-bottom:4px}.mb-2{margin-bottom:8px}.mb-4{margin-bottom:16px}.ml-4{margin-left:16px}.ml-auto{margin-left:auto}.ms-auto{margin-inline-start:auto}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\\!flex{display:flex!important}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.table-cell{display:table-cell}.table-row{display:table-row}.grid{display:grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-16{height:64px}.h-4{height:16px}.h-48{height:192px}.h-5{height:20px}.h-6{height:24px}.h-8{height:32px}.h-9{height:36px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[50\\%\\]{max-height:50%}.max-h-\\[min\\(384px\\,var\\(--radix-select-content-available-height\\)\\)\\]{max-height:min(384px,var(--radix-select-content-available-height))}.min-h-0{min-height:0px}.min-h-\\[4\\.5rem\\]{min-height:4.5rem}.min-h-\\[6lh\\]{min-height:6lh}.min-h-full{min-height:100%}.min-h-min{min-height:-moz-min-content;min-height:min-content}.w-1\\/2{width:50%}.w-20{width:80px}.w-4{width:16px}.w-48{width:192px}.w-5{width:20px}.w-6{width:24px}.w-64{width:256px}.w-8{width:32px}.w-9{width:36px}.w-full{width:100%}.w-screen{width:100vw}.\\!min-w-60{min-width:240px!important}.min-w-0{min-width:0px}.min-w-60{min-width:240px}.min-w-9{min-width:36px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-min{min-width:-moz-min-content;min-width:min-content}.max-w-\\[400px\\]{max-width:400px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-bottom{transform-origin:bottom}.origin-bottom-left{transform-origin:bottom left}.origin-bottom-right{transform-origin:bottom right}.origin-top{transform-origin:top}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\\/2{--tw-translate-x: -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))}.-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))}.-translate-y-\\[calc\\(var\\(--el-overlay-padding\\)\\)\\]{--tw-translate-y: calc(calc(var(--el-overlay-padding)) * -1);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))}.-translate-y-full{--tw-translate-y: -100%;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))}.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))}.translate-y-\\[calc\\(var\\(--el-overlay-padding\\)\\)\\]{--tw-translate-y: calc(var(--el-overlay-padding));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))}.translate-y-full{--tw-translate-y: 100%;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))}.-rotate-90{--tw-rotate: -90deg;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))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;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))}.scale-150{--tw-scale-x: 1.5;--tw-scale-y: 1.5;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))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;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))}.scale-90{--tw-scale-x: .9;--tw-scale-y: .9;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))}.scale-\\[0\\.1667\\]{--tw-scale-x: .1667;--tw-scale-y: .1667;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))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.place-content-center{place-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-2{gap:8px}.gap-2\\.5{gap:10px}.gap-3{gap:12px}.gap-6{gap:24px}.gap-8{gap:32px}.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-base-border>:not([hidden])~:not([hidden]){border-color:var(--el-base-border)}.self-auto{align-self:auto}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded-\\[calc\\(var\\(--el-button-radius\\)\\+4px\\)\\]{border-radius:calc(var(--el-button-radius) + 4px)}.rounded-\\[calc\\(var\\(--el-sheet-radius\\)-8px\\)\\]{border-radius:calc(var(--el-sheet-radius) - 8px)}.rounded-bubble{border-radius:var(--el-bubble-radius)}.rounded-button{border-radius:var(--el-button-radius)}.rounded-compact-sheet{border-radius:var(--el-compact-sheet-radius)}.rounded-dropdown-sheet{border-radius:var(--el-dropdown-sheet-radius)}.rounded-full{border-radius:9999px}.rounded-input{border-radius:var(--el-input-radius)}.rounded-sheet{border-radius:var(--el-sheet-radius)}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-r{border-right-width:1px}.border-accent{border-color:var(--el-accent)}.border-base{border-color:var(--el-base)}.border-base-border{border-color:var(--el-base-border)}.bg-accent{background-color:var(--el-accent)}.bg-base{background-color:var(--el-base)}.bg-base-active{background-color:var(--el-base-active)}.bg-base-border{background-color:var(--el-base-border)}.bg-base-hover{background-color:var(--el-base-hover)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-base{--tw-gradient-from: var(--el-base) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.bg-cover{background-size:cover}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:4px}.p-1\\.5{padding:6px}.p-2{padding:8px}.p-3{padding:12px}.p-4{padding:16px}.px-1{padding-left:4px;padding-right:4px}.px-1\\.5{padding-left:6px;padding-right:6px}.px-2{padding-left:8px;padding-right:8px}.px-2\\.5{padding-left:10px;padding-right:10px}.px-3{padding-left:12px;padding-right:12px}.px-4{padding-left:16px;padding-right:16px}.px-8{padding-left:32px;padding-right:32px}.py-0\\.5{padding-top:2px;padding-bottom:2px}.py-1{padding-top:4px;padding-bottom:4px}.py-1\\.5{padding-top:6px;padding-bottom:6px}.py-2{padding-top:8px;padding-bottom:8px}.py-2\\.5{padding-top:10px;padding-bottom:10px}.py-4{padding-top:16px;padding-bottom:16px}.py-\\[calc\\(theme\\(spacing\\.2\\)-1px\\)\\]{padding-top:7px;padding-bottom:7px}.pb-1{padding-bottom:4px}.pb-2{padding-bottom:8px}.pb-3{padding-bottom:12px}.pb-4{padding-bottom:16px}.pb-\\[60px\\]{padding-bottom:60px}.pl-1\\.5{padding-left:6px}.pl-16{padding-left:64px}.pl-4{padding-left:16px}.pr-16{padding-right:64px}.pr-3{padding-right:12px}.pr-8{padding-right:32px}.pt-1{padding-top:4px}.pt-1\\.5{padding-top:6px}.pt-2{padding-top:8px}.pt-20{padding-top:80px}.pt-4{padding-top:16px}.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-\\[10px\\]{font-size:10px}.text-\\[13px\\]{font-size:13px}.text-lg{font-size:18px;line-height:26px}.text-md{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-5{line-height:1.25rem}.text-accent-primary{color:var(--el-accent-primary)}.text-base-border{color:var(--el-base-border)}.text-base-error{color:var(--el-base-error)}.text-base-primary{color:var(--el-base-primary)}.text-base-subtle{color:var(--el-base-subtle)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.shadow-header{--tw-shadow: 0 0 1px 0 rgba(0, 0, 0, .4), 0 2px 2px 0 rgba(0, 0, 0, .04);--tw-shadow-colored: 0 0 1px 0 var(--tw-shadow-color), 0 2px 2px 0 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 2px 40px 1px rgba(0, 0, 0, .12);--tw-shadow-colored: 0 2px 40px 1px 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-md{--tw-shadow: 0 2px 24px 1px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 24px 1px 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-scroll-fade-bottom{--tw-shadow: 0 8px 16px -4px rgba(0, 0, 0, .1);--tw-shadow-colored: 0 8px 16px -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-scroll-fade-top{--tw-shadow: 0 -8px 16px -4px rgba(0, 0, 0, .1);--tw-shadow-colored: 0 -8px 16px -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)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-accent{--tw-ring-color: var(--el-accent)}.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)}.backdrop-blur-\\[1px\\]{--tw-backdrop-blur: blur(1px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[border-radius\\]{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[colors\\,opacity\\]{transition-property:colors,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[margin\\]{transition-property:margin;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,width\\,height\\,transform\\,flex-grow\\]{transition-property:opacity,width,height,transform,flex-grow;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\\,left\\,top\\,opacity\\,scale\\]{transition-property:transform,left,top,opacity,scale;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[transform\\,opacity\\]{transition-property:transform,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\,height\\,max-width\\,max-height\\,transform\\,border-radius\\,opacity\\,inset\\,bottom\\,top\\,left\\,right\\,margin\\,padding\\]{transition-property:width,height,max-width,max-height,transform,border-radius,opacity,inset,bottom,top,left,right,margin,padding;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-shadow{transition-property:box-shadow;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}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.overlay{position:absolute;inset:var(--el-overlay-padding);right:calc(var(--el-overlay-padding) + var(--removed-body-scroll-bar-size, 0px))}.focus-ring{--tw-ring-color: var(--el-accent);--tw-ring-offset-width: 2px;--tw-ring-offset-color: var(--el-base)}.focus-ring:focus-visible{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-variant=compact].sheet{height:calc(100% - 80px)}[data-variant=compact].sheet{max-height:550px}[data-variant=compact].sheet{width:100%}[data-variant=compact].sheet{max-width:400px}[data-variant=compact].sheet{border-radius:var(--el-sheet-radius)}[data-variant=expanded].sheet{height:100%}[data-variant=expanded].sheet{max-height:calc(100% - 80px)}[data-variant=expanded].sheet{width:100%}[data-variant=expanded].sheet{max-width:600px}[data-variant=expanded].sheet{border-radius:var(--el-sheet-radius)}[data-variant=fullscreen].sheet{bottom:0}[data-variant=fullscreen].sheet{height:100%}[data-variant=fullscreen].sheet{max-height:100dvh}[data-variant=fullscreen].sheet{width:100%}[data-variant=fullscreen].sheet{max-width:100dvw}[data-variant=fullscreen].sheet{border-radius:0}[data-variant=fullscreen].sheet{padding-bottom:24px}[data-variant=fullscreen].sheet{margin:calc(-1 * var(--el-overlay-padding));width:calc(100% + 2 * var(--el-overlay-padding));height:calc(100% + 2 * var(--el-overlay-padding))}.animate-text{background-image:linear-gradient(75deg,var(--el-base-primary),var(--el-base-subtle),var(--el-base-primary),var(--el-base-subtle));background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:TextAnimation 2s linear infinite}@keyframes TextAnimation{0%{background-position:0 0}to{background-position:100% 0}}.\\!terms h6,.terms h6{font-size:12px;line-height:16px;font-weight:500;color:var(--el-base-primary)}.\\!terms h5,.terms h5{font-size:14px;line-height:20px;font-weight:500;color:var(--el-base-primary)}.\\!terms h4,.terms h4{font-size:16px;line-height:24px;font-weight:500;color:var(--el-base-primary)}.\\!terms h3,.terms h3{font-size:18px;line-height:26px;font-weight:500;color:var(--el-base-primary)}.\\!terms h2,.terms h2{font-size:20px;line-height:28px;font-weight:500;color:var(--el-base-primary)}.\\!terms h2,.terms h2{font-size:24px;line-height:30px;font-weight:500;color:var(--el-base-primary)}.\\[field-sizing\\:content\\]{field-sizing:content}.\\[line-height\\:var\\(--el-overlay-padding\\)\\]{line-height:var(--el-overlay-padding)}.\\[mask-image\\:linear-gradient\\(to_bottom\\,black\\,transparent\\)\\]{-webkit-mask-image:linear-gradient(to bottom,black,transparent);mask-image:linear-gradient(to bottom,black,transparent)}.\\[mask-image\\:linear-gradient\\(to_top\\,black\\,transparent\\)\\]{-webkit-mask-image:linear-gradient(to top,black,transparent);mask-image:linear-gradient(to top,black,transparent)}.\\[overflow-wrap\\:break-word\\]{overflow-wrap:break-word}.dev-host,:host{pointer-events:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;font-size:16px;line-height:24px;color:var(--el-base-primary);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;scrollbar-color:#e5e7eb transparent}.markdown{text-autospace:normal;text-spacing-trim:trim-start}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{word-break:auto-phrase}.tok-comment,.tok-meta{color:#6a737d}.tok-keyword{color:#d73a49}.tok-atom,.tok-bool,.tok-literal,.tok-number{color:#005cc5}.tok-string,.tok-string2{color:#032f62}.tok-variableName{color:#24292e}.tok-variableName.tok-definition{color:#6f42c1}.tok-variableName.tok-local{color:#24292e}.tok-variableName2,.tok-macroName,.tok-typeName,.tok-namespace,.tok-className{color:#6f42c1}.tok-propertyName{color:#24292e}.tok-propertyName.tok-definition{color:#005cc5}.tok-labelName{color:#22863a}.tok-url,.tok-link{text-decoration:underline;color:#032f62}.tok-operator{color:#d73a49}.tok-punctuation{color:#24292e}.tok-invalid{color:#b31d28}.tok-deleted{color:#b31d28;background-color:#ffeef0}.tok-inserted{color:#22863a;background-color:#f0fff4}.tok-heading{font-weight:700;color:#005cc5}.tok-emphasis{font-style:italic;color:#24292e}.tok-strong{font-weight:700;color:#24292e}.tok-strikethrough{text-decoration:line-through}.tok-monospace{color:#005cc5}.tok-processingInstruction,[data-syntax-theme=dark] .tok-comment,[data-syntax-theme=dark] .tok-meta{color:#6a737d}[data-syntax-theme=dark] .tok-keyword{color:#f97583}[data-syntax-theme=dark] .tok-atom,[data-syntax-theme=dark] .tok-bool,[data-syntax-theme=dark] .tok-literal,[data-syntax-theme=dark] .tok-number,[data-syntax-theme=dark] .tok-propertyName.tok-definition{color:#79b8ff}[data-syntax-theme=dark] .tok-string,[data-syntax-theme=dark] .tok-string2{color:#9ecbff}[data-syntax-theme=dark] .tok-url,[data-syntax-theme=dark] .tok-link{color:#dbedff}[data-syntax-theme=dark] .tok-variableName,[data-syntax-theme=dark] .tok-variableName.tok-local,[data-syntax-theme=dark] .tok-propertyName,[data-syntax-theme=dark] .tok-emphasis,[data-syntax-theme=dark] .tok-strong{color:#e1e4e8}[data-syntax-theme=dark] .tok-variableName.tok-definition,[data-syntax-theme=dark] .tok-variableName2,[data-syntax-theme=dark] .tok-macroName,[data-syntax-theme=dark] .tok-typeName,[data-syntax-theme=dark] .tok-namespace,[data-syntax-theme=dark] .tok-className{color:#b392f0}[data-syntax-theme=dark] .tok-labelName{color:#85e89d}[data-syntax-theme=dark] .tok-invalid{color:#fdaeb7}[data-syntax-theme=dark] .tok-deleted{color:#fdaeb7;background-color:#86181d}[data-syntax-theme=dark] .tok-inserted{color:#85e89d;background-color:#144620}[data-syntax-theme=dark] .tok-heading{color:#79b8ff}[data-syntax-theme=dark] .tok-operator{color:#f97583}[data-syntax-theme=dark] .tok-punctuation{color:#e1e4e8}[data-syntax-theme=dark] .tok-monospace{color:#79b8ff}[data-syntax-theme=dark] .tok-processingInstruction{color:#6a737d}.placeholder\\:text-base-subtle::-moz-placeholder{color:var(--el-base-subtle)}.placeholder\\:text-base-subtle::placeholder{color:var(--el-base-subtle)}.hover\\:border-accent-hover:hover{border-color:var(--el-accent-hover)}.hover\\:border-base-hover:hover{border-color:var(--el-base-hover)}.hover\\:bg-accent-hover:hover{background-color:var(--el-accent-hover)}.hover\\:bg-base-hover:hover{background-color:var(--el-base-hover)}.hover\\:opacity-50:hover{opacity:.5}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:underline-offset-2:focus-visible{text-underline-offset:2px}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.active\\:border-accent-active:active{border-color:var(--el-accent-active)}.active\\:border-base-active:active{border-color:var(--el-base-active)}.active\\:bg-accent-active:active{background-color:var(--el-accent-active)}.active\\:bg-base-active:active{background-color:var(--el-base-active)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:focus-within .group-focus-within\\:pointer-events-auto{pointer-events:auto}.group:focus-within .group-focus-within\\:opacity-100{opacity:1}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:opacity-100{opacity:1}.data-hidden\\:-translate-y-4[data-shown=false]{--tw-translate-y: -16px;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))}.data-hidden\\:translate-x-full[data-shown=false]{--tw-translate-x: 100%;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))}.data-hidden\\:translate-y-2[data-shown=false]{--tw-translate-y: 8px;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))}.data-hidden\\:scale-100[data-shown=false]{--tw-scale-x: 1;--tw-scale-y: 1;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))}.data-hidden\\:scale-75[data-shown=false]{--tw-scale-x: .75;--tw-scale-y: .75;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))}.data-hidden\\:scale-90[data-shown=false]{--tw-scale-x: .9;--tw-scale-y: .9;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))}.data-hidden\\:opacity-0[data-shown=false]{opacity:0}.data-\\[highlighted\\]\\:bg-base-active[data-highlighted]{background-color:var(--el-base-active)}';
|
|
54
|
+
"markdown-link-allow-http"
|
|
55
|
+
], t1 = '@import"https://fonts.googleapis.com/css2?family=Inter:wght@400,500&display=swap";*,: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:currentColor}: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}.\\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-bottom-3{bottom:-12px}.bottom-0{bottom:0}.bottom-20{bottom:80px}.end-3{inset-inline-end:12px}.left-0{left:0}.left-1\\/2{left:50%}.left-4{left:16px}.right-0{right:0}.right-1{right:4px}.start-3{inset-inline-start:12px}.top-0{top:0}.top-1{top:4px}.top-1\\/2{top:50%}.top-16{top:64px}.top-20{top:80px}.top-4{top:16px}.top-\\[40\\%\\]{top:40%}.top-\\[88px\\]{top:88px}.z-1{z-index:1}.z-10{z-index:10}.z-2{z-index:2}.m-0{margin:0}.m-1{margin:4px}.-mx-0\\.5{margin-left:-2px;margin-right:-2px}.mx-1{margin-left:4px;margin-right:4px}.my-4{margin-top:16px;margin-bottom:16px}.my-6{margin-top:24px;margin-bottom:24px}.-mr-1\\.5{margin-right:-6px}.mb-0\\.5{margin-bottom:2px}.mb-1{margin-bottom:4px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.ml-4{margin-left:16px}.ml-auto{margin-left:auto}.ms-auto{margin-inline-start:auto}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\\!flex{display:flex!important}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.table-cell{display:table-cell}.table-row{display:table-row}.grid{display:grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-16{height:64px}.h-4{height:16px}.h-48{height:192px}.h-5{height:20px}.h-6{height:24px}.h-8{height:32px}.h-9{height:36px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[50\\%\\]{max-height:50%}.max-h-\\[min\\(384px\\,var\\(--radix-select-content-available-height\\)\\)\\]{max-height:min(384px,var(--radix-select-content-available-height))}.min-h-0{min-height:0px}.min-h-\\[4\\.5rem\\]{min-height:4.5rem}.min-h-\\[6lh\\]{min-height:6lh}.min-h-full{min-height:100%}.min-h-min{min-height:-moz-min-content;min-height:min-content}.w-1\\/2{width:50%}.w-20{width:80px}.w-4{width:16px}.w-48{width:192px}.w-5{width:20px}.w-6{width:24px}.w-64{width:256px}.w-8{width:32px}.w-9{width:36px}.w-full{width:100%}.w-screen{width:100vw}.\\!min-w-60{min-width:240px!important}.min-w-0{min-width:0px}.min-w-60{min-width:240px}.min-w-9{min-width:36px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-min{min-width:-moz-min-content;min-width:min-content}.max-w-\\[400px\\]{max-width:400px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-bottom{transform-origin:bottom}.origin-bottom-left{transform-origin:bottom left}.origin-bottom-right{transform-origin:bottom right}.origin-top{transform-origin:top}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\\/2{--tw-translate-x: -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))}.-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))}.-translate-y-\\[calc\\(var\\(--el-overlay-padding\\)\\)\\]{--tw-translate-y: calc(calc(var(--el-overlay-padding)) * -1);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))}.-translate-y-full{--tw-translate-y: -100%;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))}.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))}.translate-y-\\[calc\\(var\\(--el-overlay-padding\\)\\)\\]{--tw-translate-y: calc(var(--el-overlay-padding));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))}.translate-y-full{--tw-translate-y: 100%;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))}.-rotate-90{--tw-rotate: -90deg;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))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;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))}.scale-150{--tw-scale-x: 1.5;--tw-scale-y: 1.5;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))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;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))}.scale-90{--tw-scale-x: .9;--tw-scale-y: .9;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))}.scale-\\[0\\.1667\\]{--tw-scale-x: .1667;--tw-scale-y: .1667;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))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.place-content-center{place-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-2{gap:8px}.gap-2\\.5{gap:10px}.gap-3{gap:12px}.gap-6{gap:24px}.gap-8{gap:32px}.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-base-border>:not([hidden])~:not([hidden]){border-color:var(--el-base-border)}.self-auto{align-self:auto}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded-\\[calc\\(var\\(--el-button-radius\\)\\+4px\\)\\]{border-radius:calc(var(--el-button-radius) + 4px)}.rounded-\\[calc\\(var\\(--el-sheet-radius\\)-8px\\)\\]{border-radius:calc(var(--el-sheet-radius) - 8px)}.rounded-bubble{border-radius:var(--el-bubble-radius)}.rounded-button{border-radius:var(--el-button-radius)}.rounded-compact-sheet{border-radius:var(--el-compact-sheet-radius)}.rounded-dropdown-sheet{border-radius:var(--el-dropdown-sheet-radius)}.rounded-full{border-radius:9999px}.rounded-input{border-radius:var(--el-input-radius)}.rounded-sheet{border-radius:var(--el-sheet-radius)}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-r{border-right-width:1px}.border-accent{border-color:var(--el-accent)}.border-base{border-color:var(--el-base)}.border-base-border{border-color:var(--el-base-border)}.bg-accent{background-color:var(--el-accent)}.bg-base{background-color:var(--el-base)}.bg-base-active{background-color:var(--el-base-active)}.bg-base-border{background-color:var(--el-base-border)}.bg-base-hover{background-color:var(--el-base-hover)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-base{--tw-gradient-from: var(--el-base) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.bg-cover{background-size:cover}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:4px}.p-1\\.5{padding:6px}.p-2{padding:8px}.p-3{padding:12px}.p-4{padding:16px}.px-1{padding-left:4px;padding-right:4px}.px-1\\.5{padding-left:6px;padding-right:6px}.px-2{padding-left:8px;padding-right:8px}.px-2\\.5{padding-left:10px;padding-right:10px}.px-3{padding-left:12px;padding-right:12px}.px-4{padding-left:16px;padding-right:16px}.px-8{padding-left:32px;padding-right:32px}.py-0\\.5{padding-top:2px;padding-bottom:2px}.py-1{padding-top:4px;padding-bottom:4px}.py-1\\.5{padding-top:6px;padding-bottom:6px}.py-2{padding-top:8px;padding-bottom:8px}.py-2\\.5{padding-top:10px;padding-bottom:10px}.py-4{padding-top:16px;padding-bottom:16px}.py-\\[calc\\(theme\\(spacing\\.2\\)-1px\\)\\]{padding-top:7px;padding-bottom:7px}.pb-1{padding-bottom:4px}.pb-2{padding-bottom:8px}.pb-3{padding-bottom:12px}.pb-4{padding-bottom:16px}.pb-\\[60px\\]{padding-bottom:60px}.pl-1\\.5{padding-left:6px}.pl-16{padding-left:64px}.pl-4{padding-left:16px}.pr-16{padding-right:64px}.pr-3{padding-right:12px}.pr-8{padding-right:32px}.pt-1{padding-top:4px}.pt-1\\.5{padding-top:6px}.pt-2{padding-top:8px}.pt-20{padding-top:80px}.pt-4{padding-top:16px}.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-\\[10px\\]{font-size:10px}.text-\\[13px\\]{font-size:13px}.text-lg{font-size:18px;line-height:26px}.text-md{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-5{line-height:1.25rem}.text-accent-primary{color:var(--el-accent-primary)}.text-base-border{color:var(--el-base-border)}.text-base-error{color:var(--el-base-error)}.text-base-primary{color:var(--el-base-primary)}.text-base-subtle{color:var(--el-base-subtle)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.shadow-header{--tw-shadow: 0 0 1px 0 rgba(0, 0, 0, .4), 0 2px 2px 0 rgba(0, 0, 0, .04);--tw-shadow-colored: 0 0 1px 0 var(--tw-shadow-color), 0 2px 2px 0 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 2px 40px 1px rgba(0, 0, 0, .12);--tw-shadow-colored: 0 2px 40px 1px 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-md{--tw-shadow: 0 2px 24px 1px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 24px 1px 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-scroll-fade-bottom{--tw-shadow: 0 8px 16px -4px rgba(0, 0, 0, .1);--tw-shadow-colored: 0 8px 16px -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-scroll-fade-top{--tw-shadow: 0 -8px 16px -4px rgba(0, 0, 0, .1);--tw-shadow-colored: 0 -8px 16px -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)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-accent{--tw-ring-color: var(--el-accent)}.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)}.backdrop-blur-\\[1px\\]{--tw-backdrop-blur: blur(1px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[border-radius\\]{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[colors\\,opacity\\]{transition-property:colors,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[margin\\]{transition-property:margin;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,width\\,height\\,transform\\,flex-grow\\]{transition-property:opacity,width,height,transform,flex-grow;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\\,left\\,top\\,opacity\\,scale\\]{transition-property:transform,left,top,opacity,scale;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[transform\\,opacity\\]{transition-property:transform,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\,height\\,max-width\\,max-height\\,transform\\,border-radius\\,opacity\\,inset\\,bottom\\,top\\,left\\,right\\,margin\\,padding\\]{transition-property:width,height,max-width,max-height,transform,border-radius,opacity,inset,bottom,top,left,right,margin,padding;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-shadow{transition-property:box-shadow;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}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.overlay{position:absolute;inset:var(--el-overlay-padding);right:calc(var(--el-overlay-padding) + var(--removed-body-scroll-bar-size, 0px))}.focus-ring{--tw-ring-color: var(--el-accent);--tw-ring-offset-width: 2px;--tw-ring-offset-color: var(--el-base)}.focus-ring:focus-visible{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-variant=compact].sheet{height:calc(100% - 80px)}[data-variant=compact].sheet{max-height:550px}[data-variant=compact].sheet{width:100%}[data-variant=compact].sheet{max-width:400px}[data-variant=compact].sheet{border-radius:var(--el-sheet-radius)}[data-variant=expanded].sheet{height:100%}[data-variant=expanded].sheet{max-height:calc(100% - 80px)}[data-variant=expanded].sheet{width:100%}[data-variant=expanded].sheet{max-width:600px}[data-variant=expanded].sheet{border-radius:var(--el-sheet-radius)}[data-variant=fullscreen].sheet{bottom:0}[data-variant=fullscreen].sheet{height:100%}[data-variant=fullscreen].sheet{max-height:100dvh}[data-variant=fullscreen].sheet{width:100%}[data-variant=fullscreen].sheet{max-width:100dvw}[data-variant=fullscreen].sheet{border-radius:0}[data-variant=fullscreen].sheet{padding-bottom:24px}[data-variant=fullscreen].sheet{margin:calc(-1 * var(--el-overlay-padding));width:calc(100% + 2 * var(--el-overlay-padding));height:calc(100% + 2 * var(--el-overlay-padding))}.animate-text{background-image:linear-gradient(75deg,var(--el-base-primary),var(--el-base-subtle),var(--el-base-primary),var(--el-base-subtle));background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:TextAnimation 2s linear infinite}@keyframes TextAnimation{0%{background-position:0 0}to{background-position:100% 0}}.\\!terms h6,.terms h6{font-size:12px;line-height:16px;font-weight:500;color:var(--el-base-primary)}.\\!terms h5,.terms h5{font-size:14px;line-height:20px;font-weight:500;color:var(--el-base-primary)}.\\!terms h4,.terms h4{font-size:16px;line-height:24px;font-weight:500;color:var(--el-base-primary)}.\\!terms h3,.terms h3{font-size:18px;line-height:26px;font-weight:500;color:var(--el-base-primary)}.\\!terms h2,.terms h2{font-size:20px;line-height:28px;font-weight:500;color:var(--el-base-primary)}.\\!terms h2,.terms h2{font-size:24px;line-height:30px;font-weight:500;color:var(--el-base-primary)}.\\[field-sizing\\:content\\]{field-sizing:content}.\\[line-height\\:var\\(--el-overlay-padding\\)\\]{line-height:var(--el-overlay-padding)}.\\[mask-image\\:linear-gradient\\(to_bottom\\,black\\,transparent\\)\\]{-webkit-mask-image:linear-gradient(to bottom,black,transparent);mask-image:linear-gradient(to bottom,black,transparent)}.\\[mask-image\\:linear-gradient\\(to_top\\,black\\,transparent\\)\\]{-webkit-mask-image:linear-gradient(to top,black,transparent);mask-image:linear-gradient(to top,black,transparent)}.\\[overflow-wrap\\:break-word\\]{overflow-wrap:break-word}.dev-host,:host{pointer-events:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;font-size:16px;line-height:24px;color:var(--el-base-primary);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;scrollbar-color:#e5e7eb transparent}.markdown{text-autospace:normal;text-spacing-trim:trim-start}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{word-break:auto-phrase}.tok-comment,.tok-meta{color:#6a737d}.tok-keyword{color:#d73a49}.tok-atom,.tok-bool,.tok-literal,.tok-number{color:#005cc5}.tok-string,.tok-string2{color:#032f62}.tok-variableName{color:#24292e}.tok-variableName.tok-definition{color:#6f42c1}.tok-variableName.tok-local{color:#24292e}.tok-variableName2,.tok-macroName,.tok-typeName,.tok-namespace,.tok-className{color:#6f42c1}.tok-propertyName{color:#24292e}.tok-propertyName.tok-definition{color:#005cc5}.tok-labelName{color:#22863a}.tok-url,.tok-link{text-decoration:underline;color:#032f62}.tok-operator{color:#d73a49}.tok-punctuation{color:#24292e}.tok-invalid{color:#b31d28}.tok-deleted{color:#b31d28;background-color:#ffeef0}.tok-inserted{color:#22863a;background-color:#f0fff4}.tok-heading{font-weight:700;color:#005cc5}.tok-emphasis{font-style:italic;color:#24292e}.tok-strong{font-weight:700;color:#24292e}.tok-strikethrough{text-decoration:line-through}.tok-monospace{color:#005cc5}.tok-processingInstruction,[data-syntax-theme=dark] .tok-comment,[data-syntax-theme=dark] .tok-meta{color:#6a737d}[data-syntax-theme=dark] .tok-keyword{color:#f97583}[data-syntax-theme=dark] .tok-atom,[data-syntax-theme=dark] .tok-bool,[data-syntax-theme=dark] .tok-literal,[data-syntax-theme=dark] .tok-number,[data-syntax-theme=dark] .tok-propertyName.tok-definition{color:#79b8ff}[data-syntax-theme=dark] .tok-string,[data-syntax-theme=dark] .tok-string2{color:#9ecbff}[data-syntax-theme=dark] .tok-url,[data-syntax-theme=dark] .tok-link{color:#dbedff}[data-syntax-theme=dark] .tok-variableName,[data-syntax-theme=dark] .tok-variableName.tok-local,[data-syntax-theme=dark] .tok-propertyName,[data-syntax-theme=dark] .tok-emphasis,[data-syntax-theme=dark] .tok-strong{color:#e1e4e8}[data-syntax-theme=dark] .tok-variableName.tok-definition,[data-syntax-theme=dark] .tok-variableName2,[data-syntax-theme=dark] .tok-macroName,[data-syntax-theme=dark] .tok-typeName,[data-syntax-theme=dark] .tok-namespace,[data-syntax-theme=dark] .tok-className{color:#b392f0}[data-syntax-theme=dark] .tok-labelName{color:#85e89d}[data-syntax-theme=dark] .tok-invalid{color:#fdaeb7}[data-syntax-theme=dark] .tok-deleted{color:#fdaeb7;background-color:#86181d}[data-syntax-theme=dark] .tok-inserted{color:#85e89d;background-color:#144620}[data-syntax-theme=dark] .tok-heading{color:#79b8ff}[data-syntax-theme=dark] .tok-operator{color:#f97583}[data-syntax-theme=dark] .tok-punctuation{color:#e1e4e8}[data-syntax-theme=dark] .tok-monospace{color:#79b8ff}[data-syntax-theme=dark] .tok-processingInstruction{color:#6a737d}.placeholder\\:text-base-subtle::-moz-placeholder{color:var(--el-base-subtle)}.placeholder\\:text-base-subtle::placeholder{color:var(--el-base-subtle)}.hover\\:border-accent-hover:hover{border-color:var(--el-accent-hover)}.hover\\:border-base-hover:hover{border-color:var(--el-base-hover)}.hover\\:bg-accent-hover:hover{background-color:var(--el-accent-hover)}.hover\\:bg-base-hover:hover{background-color:var(--el-base-hover)}.hover\\:opacity-50:hover{opacity:.5}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:underline-offset-2:focus-visible{text-underline-offset:2px}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.active\\:border-accent-active:active{border-color:var(--el-accent-active)}.active\\:border-base-active:active{border-color:var(--el-base-active)}.active\\:bg-accent-active:active{background-color:var(--el-accent-active)}.active\\:bg-base-active:active{background-color:var(--el-base-active)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:focus-within .group-focus-within\\:pointer-events-auto{pointer-events:auto}.group:focus-within .group-focus-within\\:opacity-100{opacity:1}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:opacity-100{opacity:1}.data-hidden\\:-translate-y-4[data-shown=false]{--tw-translate-y: -16px;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))}.data-hidden\\:translate-x-full[data-shown=false]{--tw-translate-x: 100%;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))}.data-hidden\\:translate-y-2[data-shown=false]{--tw-translate-y: 8px;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))}.data-hidden\\:scale-100[data-shown=false]{--tw-scale-x: 1;--tw-scale-y: 1;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))}.data-hidden\\:scale-75[data-shown=false]{--tw-scale-x: .75;--tw-scale-y: .75;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))}.data-hidden\\:scale-90[data-shown=false]{--tw-scale-x: .9;--tw-scale-y: .9;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))}.data-hidden\\:opacity-0[data-shown=false]{opacity:0}.data-\\[highlighted\\]\\:bg-base-active[data-highlighted]{background-color:var(--el-base-active)}';
|
|
52
56
|
function rt(e, t) {
|
|
53
57
|
n1(e) && (e = "100%");
|
|
54
58
|
const n = r1(e);
|
|
@@ -877,14 +881,14 @@ function S1({
|
|
|
877
881
|
function k1() {
|
|
878
882
|
return ut(ch);
|
|
879
883
|
}
|
|
880
|
-
function
|
|
884
|
+
function ce(e) {
|
|
881
885
|
return k1()[e];
|
|
882
886
|
}
|
|
883
887
|
const dh = st(null);
|
|
884
888
|
function w1({
|
|
885
889
|
children: e
|
|
886
890
|
}) {
|
|
887
|
-
const t =
|
|
891
|
+
const t = ce("server-location"), n = bt(() => {
|
|
888
892
|
const r = _t(() => x1(t.value)), i = {
|
|
889
893
|
us: "https://api.us.elevenlabs.io",
|
|
890
894
|
"eu-residency": "https://api.eu.residency.elevenlabs.io",
|
|
@@ -992,7 +996,7 @@ const Oh = st(null);
|
|
|
992
996
|
function E1({
|
|
993
997
|
children: e
|
|
994
998
|
}) {
|
|
995
|
-
const t = Ve(), n =
|
|
999
|
+
const t = Ve(), n = ce("language"), r = ce("override-language"), i = Ae(
|
|
996
1000
|
n.peek() ?? t.peek().language
|
|
997
1001
|
), a = oe(
|
|
998
1002
|
() => (t.value.supported_language_overrides ?? []).filter(
|
|
@@ -1018,70 +1022,74 @@ function E1({
|
|
|
1018
1022
|
function wr() {
|
|
1019
1023
|
return ut(Oh);
|
|
1020
1024
|
}
|
|
1021
|
-
const y1 = "0.6.
|
|
1025
|
+
const y1 = "0.6.1", hh = st(null);
|
|
1022
1026
|
function v1({
|
|
1023
1027
|
children: e
|
|
1024
1028
|
}) {
|
|
1025
|
-
const { language: t } = wr(), n =
|
|
1029
|
+
const { language: t } = wr(), n = ce("override-prompt"), r = ce("override-llm"), i = ce("override-speed"), a = ce("override-stability"), s = ce("override-similarity-boost"), o = ce("override-first-message"), l = ce("override-voice-id"), u = ce("override-text-only"), c = ce("user-id"), d = oe(() => ({
|
|
1026
1030
|
agent: {
|
|
1027
1031
|
prompt: {
|
|
1028
|
-
prompt: n.value
|
|
1032
|
+
prompt: n.value,
|
|
1033
|
+
llm: r.value
|
|
1029
1034
|
},
|
|
1030
|
-
firstMessage:
|
|
1035
|
+
firstMessage: o.value,
|
|
1031
1036
|
language: t.value.languageCode
|
|
1032
1037
|
},
|
|
1033
1038
|
tts: {
|
|
1034
|
-
voiceId:
|
|
1039
|
+
voiceId: l.value,
|
|
1040
|
+
speed: i.value ? parseFloat(i.value) : void 0,
|
|
1041
|
+
stability: a.value ? parseFloat(a.value) : void 0,
|
|
1042
|
+
similarityBoost: s.value ? parseFloat(s.value) : void 0
|
|
1035
1043
|
},
|
|
1036
1044
|
conversation: {
|
|
1037
|
-
textOnly: Xt(
|
|
1045
|
+
textOnly: Xt(u.value) ?? void 0
|
|
1038
1046
|
}
|
|
1039
|
-
})),
|
|
1040
|
-
if (
|
|
1047
|
+
})), h = ce("dynamic-variables"), f = oe(() => {
|
|
1048
|
+
if (h.value)
|
|
1041
1049
|
try {
|
|
1042
|
-
return JSON.parse(
|
|
1043
|
-
} catch (
|
|
1050
|
+
return JSON.parse(h.value);
|
|
1051
|
+
} catch ($) {
|
|
1044
1052
|
console.error(
|
|
1045
|
-
`[ConversationalAI] Cannot parse dynamic-variables: ${
|
|
1053
|
+
`[ConversationalAI] Cannot parse dynamic-variables: ${$ == null ? void 0 : $.message}`
|
|
1046
1054
|
);
|
|
1047
1055
|
}
|
|
1048
|
-
}),
|
|
1056
|
+
}), m = ce("worklet-path-raw-audio-processor"), p = ce(
|
|
1049
1057
|
"worklet-path-audio-concat-processor"
|
|
1050
|
-
),
|
|
1051
|
-
const
|
|
1052
|
-
dynamicVariables:
|
|
1053
|
-
overrides:
|
|
1058
|
+
), T = ce("worklet-path-libsamplerate"), { webSocketUrl: g } = Hl(), k = ce("agent-id"), w = ce("signed-url"), C = ws(), R = N1(), y = oe(() => {
|
|
1059
|
+
const $ = R.value, L = {
|
|
1060
|
+
dynamicVariables: f.value,
|
|
1061
|
+
overrides: d.value,
|
|
1054
1062
|
connectionDelay: { default: 300 },
|
|
1055
|
-
textOnly:
|
|
1056
|
-
userId:
|
|
1057
|
-
libsampleratePath:
|
|
1063
|
+
textOnly: C.value,
|
|
1064
|
+
userId: c.value || void 0,
|
|
1065
|
+
libsampleratePath: T.value,
|
|
1058
1066
|
workletPaths: {
|
|
1059
|
-
rawAudioProcessor:
|
|
1060
|
-
audioConcatProcessor:
|
|
1067
|
+
rawAudioProcessor: m.value,
|
|
1068
|
+
audioConcatProcessor: p.value
|
|
1061
1069
|
}
|
|
1062
1070
|
};
|
|
1063
|
-
return
|
|
1064
|
-
agentId:
|
|
1065
|
-
origin:
|
|
1071
|
+
return k.value ? $ ? {
|
|
1072
|
+
agentId: k.value,
|
|
1073
|
+
origin: g.value,
|
|
1066
1074
|
connectionType: "webrtc",
|
|
1067
|
-
...
|
|
1075
|
+
...L
|
|
1068
1076
|
} : {
|
|
1069
|
-
agentId:
|
|
1070
|
-
origin:
|
|
1077
|
+
agentId: k.value,
|
|
1078
|
+
origin: g.value,
|
|
1071
1079
|
connectionType: "websocket",
|
|
1072
|
-
...
|
|
1073
|
-
} :
|
|
1074
|
-
signedUrl:
|
|
1080
|
+
...L
|
|
1081
|
+
} : w.value ? {
|
|
1082
|
+
signedUrl: w.value,
|
|
1075
1083
|
connectionType: "websocket",
|
|
1076
|
-
...
|
|
1084
|
+
...L
|
|
1077
1085
|
} : (console.error(
|
|
1078
1086
|
"[ConversationalAI] Either agent-id or signed-url is required"
|
|
1079
1087
|
), null);
|
|
1080
1088
|
});
|
|
1081
|
-
return
|
|
1089
|
+
return y.value ? /* @__PURE__ */ b(
|
|
1082
1090
|
hh.Provider,
|
|
1083
1091
|
{
|
|
1084
|
-
value:
|
|
1092
|
+
value: y,
|
|
1085
1093
|
children: e
|
|
1086
1094
|
}
|
|
1087
1095
|
) : null;
|
|
@@ -1176,7 +1184,7 @@ function R1() {
|
|
|
1176
1184
|
var c;
|
|
1177
1185
|
(c = e.current) == null || c.endSession();
|
|
1178
1186
|
}, []), bt(() => {
|
|
1179
|
-
const c = pn("disconnected"), d = _t(() => c.value === "disconnected"), h = pn("listening"), f = _t(() => h.value === "speaking"), m = pn(null), p = pn(null), T = pn(!1), g = pn([]),
|
|
1187
|
+
const c = pn("disconnected"), d = _t(() => c.value === "disconnected"), h = pn("listening"), f = _t(() => h.value === "speaking"), m = pn(null), p = pn(null), T = pn(!1), g = pn([]), k = pn(0), w = pn(null);
|
|
1180
1188
|
return {
|
|
1181
1189
|
status: c,
|
|
1182
1190
|
isSpeaking: f,
|
|
@@ -1185,8 +1193,8 @@ function R1() {
|
|
|
1185
1193
|
lastId: p,
|
|
1186
1194
|
error: m,
|
|
1187
1195
|
canSendFeedback: T,
|
|
1188
|
-
conversationIndex:
|
|
1189
|
-
conversationTextOnly:
|
|
1196
|
+
conversationIndex: k,
|
|
1197
|
+
conversationTextOnly: w,
|
|
1190
1198
|
transcript: g,
|
|
1191
1199
|
startSession: async (C, R) => {
|
|
1192
1200
|
var $, L, q, A, X, D, Y;
|
|
@@ -1194,12 +1202,12 @@ function R1() {
|
|
|
1194
1202
|
return e.current.getId();
|
|
1195
1203
|
if (t.current)
|
|
1196
1204
|
return (await t.current).getId();
|
|
1197
|
-
let
|
|
1198
|
-
R && s.value.supports_text_only && (
|
|
1205
|
+
let y = structuredClone(u.peek());
|
|
1206
|
+
R && s.value.supports_text_only && (y.textOnly = !0, s.value.text_only || (y.overrides ?? (y.overrides = {}), (L = y.overrides).conversation ?? (L.conversation = {}), y.overrides.conversation.textOnly = !0));
|
|
1199
1207
|
try {
|
|
1200
|
-
|
|
1208
|
+
y = $1(
|
|
1201
1209
|
a.value ?? C,
|
|
1202
|
-
|
|
1210
|
+
y
|
|
1203
1211
|
);
|
|
1204
1212
|
} catch (z) {
|
|
1205
1213
|
console.error(
|
|
@@ -1207,24 +1215,24 @@ function R1() {
|
|
|
1207
1215
|
z
|
|
1208
1216
|
);
|
|
1209
1217
|
}
|
|
1210
|
-
|
|
1218
|
+
w.value = y.textOnly ?? !1, g.value = R ? [
|
|
1211
1219
|
{
|
|
1212
1220
|
type: "message",
|
|
1213
1221
|
role: "user",
|
|
1214
1222
|
message: R,
|
|
1215
1223
|
isText: !0,
|
|
1216
|
-
conversationIndex:
|
|
1224
|
+
conversationIndex: k.peek()
|
|
1217
1225
|
}
|
|
1218
1226
|
] : [];
|
|
1219
1227
|
try {
|
|
1220
1228
|
if (t.current = Jg.startSession({
|
|
1221
|
-
...
|
|
1229
|
+
...y,
|
|
1222
1230
|
overrides: {
|
|
1223
|
-
...
|
|
1231
|
+
...y.overrides,
|
|
1224
1232
|
client: {
|
|
1225
|
-
...(q =
|
|
1226
|
-
source: ((X = (A =
|
|
1227
|
-
version: ((Y = (D =
|
|
1233
|
+
...(q = y.overrides) == null ? void 0 : q.client,
|
|
1234
|
+
source: ((X = (A = y.overrides) == null ? void 0 : A.client) == null ? void 0 : X.source) || "widget",
|
|
1235
|
+
version: ((Y = (D = y.overrides) == null ? void 0 : D.client) == null ? void 0 : Y.version) || y1
|
|
1228
1236
|
}
|
|
1229
1237
|
},
|
|
1230
1238
|
onModeChange: (N) => {
|
|
@@ -1237,7 +1245,7 @@ function R1() {
|
|
|
1237
1245
|
T.value = N.canSendFeedback;
|
|
1238
1246
|
},
|
|
1239
1247
|
onMessage: ({ role: N, message: V }) => {
|
|
1240
|
-
if (o.peek() &&
|
|
1248
|
+
if (o.peek() && w.peek() === !0 && N === "agent" && !n.current) {
|
|
1241
1249
|
n.current = !0;
|
|
1242
1250
|
return;
|
|
1243
1251
|
} else N === "agent" && (n.current = !0);
|
|
@@ -1250,7 +1258,7 @@ function R1() {
|
|
|
1250
1258
|
role: "agent",
|
|
1251
1259
|
message: V,
|
|
1252
1260
|
isText: !0,
|
|
1253
|
-
conversationIndex:
|
|
1261
|
+
conversationIndex: k.peek()
|
|
1254
1262
|
}, g.value = ie;
|
|
1255
1263
|
}
|
|
1256
1264
|
i.current = !1;
|
|
@@ -1263,12 +1271,12 @@ function R1() {
|
|
|
1263
1271
|
role: N,
|
|
1264
1272
|
message: V,
|
|
1265
1273
|
isText: !1,
|
|
1266
|
-
conversationIndex:
|
|
1274
|
+
conversationIndex: k.peek()
|
|
1267
1275
|
}
|
|
1268
1276
|
];
|
|
1269
1277
|
},
|
|
1270
1278
|
onAgentChatResponsePart: ({ text: N, type: V }) => {
|
|
1271
|
-
if (o.peek() &&
|
|
1279
|
+
if (o.peek() && w.peek() === !0 && !n.current)
|
|
1272
1280
|
return;
|
|
1273
1281
|
const J = g.peek();
|
|
1274
1282
|
if (V === "start")
|
|
@@ -1281,7 +1289,7 @@ function R1() {
|
|
|
1281
1289
|
role: "agent",
|
|
1282
1290
|
message: "",
|
|
1283
1291
|
isText: !0,
|
|
1284
|
-
conversationIndex:
|
|
1292
|
+
conversationIndex: k.peek()
|
|
1285
1293
|
});
|
|
1286
1294
|
P.type === "message" && (ie[Z] = {
|
|
1287
1295
|
...P,
|
|
@@ -1291,18 +1299,18 @@ function R1() {
|
|
|
1291
1299
|
} else V === "stop" && (r.current = null);
|
|
1292
1300
|
},
|
|
1293
1301
|
onDisconnect: (N) => {
|
|
1294
|
-
n.current = !1,
|
|
1302
|
+
n.current = !1, w.value = null, r.current = null, i.current = !1, g.value = [
|
|
1295
1303
|
...g.peek(),
|
|
1296
1304
|
N.reason === "error" ? {
|
|
1297
1305
|
type: "error",
|
|
1298
1306
|
message: N.message,
|
|
1299
|
-
conversationIndex:
|
|
1307
|
+
conversationIndex: k.peek()
|
|
1300
1308
|
} : {
|
|
1301
1309
|
type: "disconnection",
|
|
1302
1310
|
role: N.reason === "user" ? "user" : "agent",
|
|
1303
|
-
conversationIndex:
|
|
1311
|
+
conversationIndex: k.peek()
|
|
1304
1312
|
}
|
|
1305
|
-
],
|
|
1313
|
+
], k.value++, N.reason === "error" && (m.value = N.message, console.error(
|
|
1306
1314
|
"[ConversationalAI] Disconnected due to an error:",
|
|
1307
1315
|
N.message
|
|
1308
1316
|
));
|
|
@@ -1320,7 +1328,7 @@ function R1() {
|
|
|
1320
1328
|
{
|
|
1321
1329
|
type: "error",
|
|
1322
1330
|
message: N,
|
|
1323
|
-
conversationIndex:
|
|
1331
|
+
conversationIndex: k.peek()
|
|
1324
1332
|
}
|
|
1325
1333
|
];
|
|
1326
1334
|
} finally {
|
|
@@ -1360,7 +1368,7 @@ function R1() {
|
|
|
1360
1368
|
role: "user",
|
|
1361
1369
|
message: C,
|
|
1362
1370
|
isText: !0,
|
|
1363
|
-
conversationIndex:
|
|
1371
|
+
conversationIndex: k.peek()
|
|
1364
1372
|
}
|
|
1365
1373
|
];
|
|
1366
1374
|
},
|
|
@@ -1375,7 +1383,7 @@ function R1() {
|
|
|
1375
1383
|
{
|
|
1376
1384
|
type: "mode_toggle",
|
|
1377
1385
|
mode: C,
|
|
1378
|
-
conversationIndex:
|
|
1386
|
+
conversationIndex: k.peek()
|
|
1379
1387
|
}
|
|
1380
1388
|
]);
|
|
1381
1389
|
}
|
|
@@ -1398,7 +1406,7 @@ const bh = st(
|
|
|
1398
1406
|
null
|
|
1399
1407
|
);
|
|
1400
1408
|
function I1({ children: e }) {
|
|
1401
|
-
const { serverUrl: t } = Hl(), n =
|
|
1409
|
+
const { serverUrl: t } = Hl(), n = ce("agent-id"), r = ce("override-config"), i = ce("signed-url"), a = Ae(null);
|
|
1402
1410
|
qt(() => {
|
|
1403
1411
|
if (r.value)
|
|
1404
1412
|
try {
|
|
@@ -1412,42 +1420,42 @@ function I1({ children: e }) {
|
|
|
1412
1420
|
`[ConversationalAI] Cannot parse override-config: ${C == null ? void 0 : C.message}`
|
|
1413
1421
|
);
|
|
1414
1422
|
}
|
|
1415
|
-
let g = n.value,
|
|
1423
|
+
let g = n.value, k;
|
|
1416
1424
|
if (i.value) {
|
|
1417
1425
|
const C = new URL(i.value).searchParams;
|
|
1418
|
-
g = C.get("agent_id") ?? n.value,
|
|
1426
|
+
g = C.get("agent_id") ?? n.value, k = C.get("conversation_signature") ?? void 0;
|
|
1419
1427
|
}
|
|
1420
1428
|
if (!g) {
|
|
1421
1429
|
a.value = null;
|
|
1422
1430
|
return;
|
|
1423
1431
|
}
|
|
1424
|
-
const
|
|
1432
|
+
const w = new AbortController();
|
|
1425
1433
|
return X1(
|
|
1426
1434
|
g,
|
|
1427
1435
|
t.value,
|
|
1428
|
-
|
|
1429
|
-
|
|
1436
|
+
w.signal,
|
|
1437
|
+
k
|
|
1430
1438
|
).then((C) => {
|
|
1431
|
-
|
|
1439
|
+
w.signal.aborted || (a.value = C);
|
|
1432
1440
|
}).catch((C) => {
|
|
1433
1441
|
console.error(
|
|
1434
1442
|
`[ConversationalAI] Cannot fetch config for agent ${n.value}: ${C == null ? void 0 : C.message}`
|
|
1435
|
-
),
|
|
1443
|
+
), w.signal.aborted || (a.value = null);
|
|
1436
1444
|
}), () => {
|
|
1437
|
-
|
|
1445
|
+
w.abort();
|
|
1438
1446
|
};
|
|
1439
1447
|
});
|
|
1440
|
-
const s =
|
|
1448
|
+
const s = ce("variant"), o = ce("placement"), l = ce("terms-key"), u = ce("mic-muting"), c = ce("transcript"), d = ce("text-input"), h = ce("default-expanded"), f = ce("always-expanded"), m = ce("override-text-only"), p = ce("use-rtc"), T = oe(() => {
|
|
1441
1449
|
if (!a.value)
|
|
1442
1450
|
return null;
|
|
1443
|
-
const g = s.value ?? a.value.variant,
|
|
1451
|
+
const g = s.value ?? a.value.variant, k = o.value ?? a.value.placement, w = l.value ?? a.value.terms_key, C = Xt(m.value) ?? a.value.text_only ?? !1, R = Xt(u.value) ?? a.value.mic_muting_enabled, y = Xt(c.value) ?? a.value.transcript_enabled, $ = Xt(d.value) ?? a.value.text_input_enabled, L = Xt(f.value) ?? a.value.always_expanded ?? !1, q = Xt(h.value) ?? a.value.default_expanded ?? !1, A = Xt(p.value) ?? a.value.use_rtc ?? !1;
|
|
1444
1452
|
return {
|
|
1445
1453
|
...a.value,
|
|
1446
1454
|
variant: p1(g),
|
|
1447
|
-
placement: g1(
|
|
1448
|
-
terms_key:
|
|
1455
|
+
placement: g1(k),
|
|
1456
|
+
terms_key: w,
|
|
1449
1457
|
mic_muting_enabled: !C && R,
|
|
1450
|
-
transcript_enabled: C ||
|
|
1458
|
+
transcript_enabled: C || y,
|
|
1451
1459
|
text_input_enabled: C || $,
|
|
1452
1460
|
always_expanded: L,
|
|
1453
1461
|
default_expanded: q,
|
|
@@ -1460,7 +1468,7 @@ function Ve() {
|
|
|
1460
1468
|
return ut(bh);
|
|
1461
1469
|
}
|
|
1462
1470
|
function ws() {
|
|
1463
|
-
const e =
|
|
1471
|
+
const e = ce("override-text-only"), t = Ve();
|
|
1464
1472
|
return oe(
|
|
1465
1473
|
() => Xt(e.value) ?? t.value.text_only ?? !1
|
|
1466
1474
|
);
|
|
@@ -1470,7 +1478,7 @@ function ea() {
|
|
|
1470
1478
|
return oe(() => t.value ?? e.value);
|
|
1471
1479
|
}
|
|
1472
1480
|
function Th() {
|
|
1473
|
-
const e =
|
|
1481
|
+
const e = ce("override-first-message"), t = Ve(), { language: n } = wr();
|
|
1474
1482
|
return oe(
|
|
1475
1483
|
() => {
|
|
1476
1484
|
var r, i;
|
|
@@ -1506,7 +1514,7 @@ function L1() {
|
|
|
1506
1514
|
});
|
|
1507
1515
|
}
|
|
1508
1516
|
function D1() {
|
|
1509
|
-
const e =
|
|
1517
|
+
const e = ce("markdown-link-allowed-hosts"), t = ce("markdown-link-include-www"), n = ce("markdown-link-allow-http"), r = Ve();
|
|
1510
1518
|
return oe(() => {
|
|
1511
1519
|
let i = [];
|
|
1512
1520
|
if (e.value)
|
|
@@ -1520,7 +1528,7 @@ function D1() {
|
|
|
1520
1528
|
});
|
|
1521
1529
|
}
|
|
1522
1530
|
function M1() {
|
|
1523
|
-
const e =
|
|
1531
|
+
const e = ce("syntax-highlight-theme"), t = Ve();
|
|
1524
1532
|
return oe(() => {
|
|
1525
1533
|
var a;
|
|
1526
1534
|
const n = e.value ?? t.value.syntax_highlight_theme;
|
|
@@ -1619,7 +1627,7 @@ function F1() {
|
|
|
1619
1627
|
}
|
|
1620
1628
|
const wh = st(null);
|
|
1621
1629
|
function Y1({ children: e }) {
|
|
1622
|
-
const t = Ve(), { language: n } = wr(), r =
|
|
1630
|
+
const t = Ve(), { language: n } = wr(), r = ce("text-contents"), i = oe(() => {
|
|
1623
1631
|
try {
|
|
1624
1632
|
if (r.value) {
|
|
1625
1633
|
const s = JSON.parse(r.value);
|
|
@@ -1648,7 +1656,7 @@ function De() {
|
|
|
1648
1656
|
}
|
|
1649
1657
|
const Eh = st(null);
|
|
1650
1658
|
function W1({ children: e }) {
|
|
1651
|
-
const t = Ve(), n =
|
|
1659
|
+
const t = Ve(), n = ce("avatar-image-url"), r = ce("avatar-orb-color-1"), i = ce("avatar-orb-color-2"), a = Ae(""), s = oe(() => n.value ? {
|
|
1652
1660
|
type: "image",
|
|
1653
1661
|
url: n.value
|
|
1654
1662
|
} : r.value && i.value ? {
|
|
@@ -2074,14 +2082,14 @@ const ob = (e, t) => {
|
|
|
2074
2082
|
}
|
|
2075
2083
|
T = !1;
|
|
2076
2084
|
}
|
|
2077
|
-
const
|
|
2085
|
+
const k = h.length === 0 ? "" : h.length === 1 ? h[0] : a(h).join(":"), w = f ? k + Vo : k, C = w + g;
|
|
2078
2086
|
if (s.indexOf(C) > -1)
|
|
2079
2087
|
continue;
|
|
2080
2088
|
s.push(C);
|
|
2081
2089
|
const R = i(g, T);
|
|
2082
|
-
for (let
|
|
2083
|
-
const $ = R[
|
|
2084
|
-
s.push(
|
|
2090
|
+
for (let y = 0; y < R.length; ++y) {
|
|
2091
|
+
const $ = R[y];
|
|
2092
|
+
s.push(w + $);
|
|
2085
2093
|
}
|
|
2086
2094
|
l = c + (l.length > 0 ? " " + l : l);
|
|
2087
2095
|
}
|
|
@@ -2114,19 +2122,19 @@ const ob = (e, t) => {
|
|
|
2114
2122
|
}, _b = [], He = (e) => {
|
|
2115
2123
|
const t = (n) => n[e] || _b;
|
|
2116
2124
|
return t.isThemeGetter = !0, t;
|
|
2117
|
-
}, Lh = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Dh = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qb = /^\d+\/\d+$/, Cb = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ab = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Rb = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, $b = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ib = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Qr = (e) => Qb.test(e),
|
|
2125
|
+
}, Lh = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Dh = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qb = /^\d+\/\d+$/, Cb = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ab = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Rb = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, $b = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ib = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Qr = (e) => Qb.test(e), he = (e) => !!e && !Number.isNaN(Number(e)), In = (e) => !!e && Number.isInteger(Number(e)), Js = (e) => e.endsWith("%") && he(e.slice(0, -1)), fn = (e) => Cb.test(e), Nb = () => !0, Lb = (e) => (
|
|
2118
2126
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
2119
2127
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
2120
2128
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
2121
2129
|
Ab.test(e) && !Rb.test(e)
|
|
2122
|
-
), Mh = () => !1, Db = (e) => $b.test(e), Mb = (e) => Ib.test(e), Xb = (e) => !te(e) && !ne(e), zb = (e) => Jr(e, Bh, Mh), te = (e) => Lh.test(e), ir = (e) => Jr(e, Zh, Lb), eo = (e) => Jr(e, Fb,
|
|
2130
|
+
), Mh = () => !1, Db = (e) => $b.test(e), Mb = (e) => Ib.test(e), Xb = (e) => !te(e) && !ne(e), zb = (e) => Jr(e, Bh, Mh), te = (e) => Lh.test(e), ir = (e) => Jr(e, Zh, Lb), eo = (e) => Jr(e, Fb, he), Ec = (e) => Jr(e, Xh, Mh), Bb = (e) => Jr(e, zh, Mb), ma = (e) => Jr(e, qh, Db), ne = (e) => Dh.test(e), hi = (e) => ei(e, Zh), Zb = (e) => ei(e, Yb), yc = (e) => ei(e, Xh), qb = (e) => ei(e, Bh), Ub = (e) => ei(e, zh), ga = (e) => ei(e, qh, !0), Jr = (e, t, n) => {
|
|
2123
2131
|
const r = Lh.exec(e);
|
|
2124
2132
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
2125
2133
|
}, ei = (e, t, n = !1) => {
|
|
2126
2134
|
const r = Dh.exec(e);
|
|
2127
2135
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
2128
2136
|
}, Xh = (e) => e === "position" || e === "percentage", zh = (e) => e === "image" || e === "url", Bh = (e) => e === "length" || e === "size" || e === "bg-size", Zh = (e) => e === "length", Fb = (e) => e === "number", Yb = (e) => e === "family-name", qh = (e) => e === "shadow", Wb = () => {
|
|
2129
|
-
const e = He("color"), t = He("font"), n = He("text"), r = He("font-weight"), i = He("tracking"), a = He("leading"), s = He("breakpoint"), o = He("container"), l = He("spacing"), u = He("radius"), c = He("shadow"), d = He("inset-shadow"), h = He("text-shadow"), f = He("drop-shadow"), m = He("blur"), p = He("perspective"), T = He("aspect"), g = He("ease"),
|
|
2137
|
+
const e = He("color"), t = He("font"), n = He("text"), r = He("font-weight"), i = He("tracking"), a = He("leading"), s = He("breakpoint"), o = He("container"), l = He("spacing"), u = He("radius"), c = He("shadow"), d = He("inset-shadow"), h = He("text-shadow"), f = He("drop-shadow"), m = He("blur"), p = He("perspective"), T = He("aspect"), g = He("ease"), k = He("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [
|
|
2130
2138
|
"center",
|
|
2131
2139
|
"top",
|
|
2132
2140
|
"bottom",
|
|
@@ -2144,7 +2152,7 @@ const ob = (e, t) => {
|
|
|
2144
2152
|
"bottom-left",
|
|
2145
2153
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
2146
2154
|
"left-bottom"
|
|
2147
|
-
], R = () => [...C(), ne, te],
|
|
2155
|
+
], R = () => [...C(), ne, te], y = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], L = () => [ne, te, l], q = () => [Qr, "full", "auto", ...L()], A = () => [In, "none", "subgrid", ne, te], X = () => ["auto", {
|
|
2148
2156
|
span: ["full", In, ne, te]
|
|
2149
2157
|
}, In, ne, te], D = () => [In, "auto", ne, te], Y = () => ["auto", "min", "max", "fr", ne, te], z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], N = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...L()], J = () => [Qr, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...L()], Z = () => [e, ne, te], ie = () => [...C(), yc, Ec, {
|
|
2150
2158
|
position: [ne, te]
|
|
@@ -2152,7 +2160,7 @@ const ob = (e, t) => {
|
|
|
2152
2160
|
repeat: ["", "x", "y", "space", "round"]
|
|
2153
2161
|
}], Se = () => ["auto", "cover", "contain", qb, zb, {
|
|
2154
2162
|
size: [ne, te]
|
|
2155
|
-
}], ye = () => [Js, hi, ir],
|
|
2163
|
+
}], ye = () => [Js, hi, ir], v = () => [
|
|
2156
2164
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2157
2165
|
"",
|
|
2158
2166
|
"none",
|
|
@@ -2160,14 +2168,14 @@ const ob = (e, t) => {
|
|
|
2160
2168
|
u,
|
|
2161
2169
|
ne,
|
|
2162
2170
|
te
|
|
2163
|
-
], ue = () => ["",
|
|
2171
|
+
], ue = () => ["", he, hi, ir], Ne = () => ["solid", "dashed", "dotted", "double"], Ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => [he, Js, yc, Ec], me = () => [
|
|
2164
2172
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2165
2173
|
"",
|
|
2166
2174
|
"none",
|
|
2167
2175
|
m,
|
|
2168
2176
|
ne,
|
|
2169
2177
|
te
|
|
2170
|
-
], Qe = () => ["none",
|
|
2178
|
+
], Qe = () => ["none", he, ne, te], fe = () => ["none", he, ne, te], ge = () => [he, ne, te], Te = () => [Qr, "full", ...L()];
|
|
2171
2179
|
return {
|
|
2172
2180
|
cacheSize: 500,
|
|
2173
2181
|
theme: {
|
|
@@ -2186,7 +2194,7 @@ const ob = (e, t) => {
|
|
|
2186
2194
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
2187
2195
|
radius: [fn],
|
|
2188
2196
|
shadow: [fn],
|
|
2189
|
-
spacing: ["px",
|
|
2197
|
+
spacing: ["px", he],
|
|
2190
2198
|
text: [fn],
|
|
2191
2199
|
"text-shadow": [fn],
|
|
2192
2200
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -2213,21 +2221,21 @@ const ob = (e, t) => {
|
|
|
2213
2221
|
* @see https://tailwindcss.com/docs/columns
|
|
2214
2222
|
*/
|
|
2215
2223
|
columns: [{
|
|
2216
|
-
columns: [
|
|
2224
|
+
columns: [he, te, ne, o]
|
|
2217
2225
|
}],
|
|
2218
2226
|
/**
|
|
2219
2227
|
* Break After
|
|
2220
2228
|
* @see https://tailwindcss.com/docs/break-after
|
|
2221
2229
|
*/
|
|
2222
2230
|
"break-after": [{
|
|
2223
|
-
"break-after":
|
|
2231
|
+
"break-after": w()
|
|
2224
2232
|
}],
|
|
2225
2233
|
/**
|
|
2226
2234
|
* Break Before
|
|
2227
2235
|
* @see https://tailwindcss.com/docs/break-before
|
|
2228
2236
|
*/
|
|
2229
2237
|
"break-before": [{
|
|
2230
|
-
"break-before":
|
|
2238
|
+
"break-before": w()
|
|
2231
2239
|
}],
|
|
2232
2240
|
/**
|
|
2233
2241
|
* Break Inside
|
|
@@ -2298,21 +2306,21 @@ const ob = (e, t) => {
|
|
|
2298
2306
|
* @see https://tailwindcss.com/docs/overflow
|
|
2299
2307
|
*/
|
|
2300
2308
|
overflow: [{
|
|
2301
|
-
overflow:
|
|
2309
|
+
overflow: y()
|
|
2302
2310
|
}],
|
|
2303
2311
|
/**
|
|
2304
2312
|
* Overflow X
|
|
2305
2313
|
* @see https://tailwindcss.com/docs/overflow
|
|
2306
2314
|
*/
|
|
2307
2315
|
"overflow-x": [{
|
|
2308
|
-
"overflow-x":
|
|
2316
|
+
"overflow-x": y()
|
|
2309
2317
|
}],
|
|
2310
2318
|
/**
|
|
2311
2319
|
* Overflow Y
|
|
2312
2320
|
* @see https://tailwindcss.com/docs/overflow
|
|
2313
2321
|
*/
|
|
2314
2322
|
"overflow-y": [{
|
|
2315
|
-
"overflow-y":
|
|
2323
|
+
"overflow-y": y()
|
|
2316
2324
|
}],
|
|
2317
2325
|
/**
|
|
2318
2326
|
* Overscroll Behavior
|
|
@@ -2444,21 +2452,21 @@ const ob = (e, t) => {
|
|
|
2444
2452
|
* @see https://tailwindcss.com/docs/flex
|
|
2445
2453
|
*/
|
|
2446
2454
|
flex: [{
|
|
2447
|
-
flex: [
|
|
2455
|
+
flex: [he, Qr, "auto", "initial", "none", te]
|
|
2448
2456
|
}],
|
|
2449
2457
|
/**
|
|
2450
2458
|
* Flex Grow
|
|
2451
2459
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
2452
2460
|
*/
|
|
2453
2461
|
grow: [{
|
|
2454
|
-
grow: ["",
|
|
2462
|
+
grow: ["", he, ne, te]
|
|
2455
2463
|
}],
|
|
2456
2464
|
/**
|
|
2457
2465
|
* Flex Shrink
|
|
2458
2466
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
2459
2467
|
*/
|
|
2460
2468
|
shrink: [{
|
|
2461
|
-
shrink: ["",
|
|
2469
|
+
shrink: ["", he, ne, te]
|
|
2462
2470
|
}],
|
|
2463
2471
|
/**
|
|
2464
2472
|
* Order
|
|
@@ -2935,7 +2943,7 @@ const ob = (e, t) => {
|
|
|
2935
2943
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2936
2944
|
*/
|
|
2937
2945
|
"line-clamp": [{
|
|
2938
|
-
"line-clamp": [
|
|
2946
|
+
"line-clamp": [he, "none", ne, eo]
|
|
2939
2947
|
}],
|
|
2940
2948
|
/**
|
|
2941
2949
|
* Line Height
|
|
@@ -3008,7 +3016,7 @@ const ob = (e, t) => {
|
|
|
3008
3016
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
3009
3017
|
*/
|
|
3010
3018
|
"text-decoration-thickness": [{
|
|
3011
|
-
decoration: [
|
|
3019
|
+
decoration: [he, "from-font", "auto", ne, ir]
|
|
3012
3020
|
}],
|
|
3013
3021
|
/**
|
|
3014
3022
|
* Text Decoration Color
|
|
@@ -3022,7 +3030,7 @@ const ob = (e, t) => {
|
|
|
3022
3030
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
3023
3031
|
*/
|
|
3024
3032
|
"underline-offset": [{
|
|
3025
|
-
"underline-offset": [
|
|
3033
|
+
"underline-offset": [he, "auto", ne, te]
|
|
3026
3034
|
}],
|
|
3027
3035
|
/**
|
|
3028
3036
|
* Text Transform
|
|
@@ -3205,105 +3213,105 @@ const ob = (e, t) => {
|
|
|
3205
3213
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3206
3214
|
*/
|
|
3207
3215
|
rounded: [{
|
|
3208
|
-
rounded:
|
|
3216
|
+
rounded: v()
|
|
3209
3217
|
}],
|
|
3210
3218
|
/**
|
|
3211
3219
|
* Border Radius Start
|
|
3212
3220
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3213
3221
|
*/
|
|
3214
3222
|
"rounded-s": [{
|
|
3215
|
-
"rounded-s":
|
|
3223
|
+
"rounded-s": v()
|
|
3216
3224
|
}],
|
|
3217
3225
|
/**
|
|
3218
3226
|
* Border Radius End
|
|
3219
3227
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3220
3228
|
*/
|
|
3221
3229
|
"rounded-e": [{
|
|
3222
|
-
"rounded-e":
|
|
3230
|
+
"rounded-e": v()
|
|
3223
3231
|
}],
|
|
3224
3232
|
/**
|
|
3225
3233
|
* Border Radius Top
|
|
3226
3234
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3227
3235
|
*/
|
|
3228
3236
|
"rounded-t": [{
|
|
3229
|
-
"rounded-t":
|
|
3237
|
+
"rounded-t": v()
|
|
3230
3238
|
}],
|
|
3231
3239
|
/**
|
|
3232
3240
|
* Border Radius Right
|
|
3233
3241
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3234
3242
|
*/
|
|
3235
3243
|
"rounded-r": [{
|
|
3236
|
-
"rounded-r":
|
|
3244
|
+
"rounded-r": v()
|
|
3237
3245
|
}],
|
|
3238
3246
|
/**
|
|
3239
3247
|
* Border Radius Bottom
|
|
3240
3248
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3241
3249
|
*/
|
|
3242
3250
|
"rounded-b": [{
|
|
3243
|
-
"rounded-b":
|
|
3251
|
+
"rounded-b": v()
|
|
3244
3252
|
}],
|
|
3245
3253
|
/**
|
|
3246
3254
|
* Border Radius Left
|
|
3247
3255
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3248
3256
|
*/
|
|
3249
3257
|
"rounded-l": [{
|
|
3250
|
-
"rounded-l":
|
|
3258
|
+
"rounded-l": v()
|
|
3251
3259
|
}],
|
|
3252
3260
|
/**
|
|
3253
3261
|
* Border Radius Start Start
|
|
3254
3262
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3255
3263
|
*/
|
|
3256
3264
|
"rounded-ss": [{
|
|
3257
|
-
"rounded-ss":
|
|
3265
|
+
"rounded-ss": v()
|
|
3258
3266
|
}],
|
|
3259
3267
|
/**
|
|
3260
3268
|
* Border Radius Start End
|
|
3261
3269
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3262
3270
|
*/
|
|
3263
3271
|
"rounded-se": [{
|
|
3264
|
-
"rounded-se":
|
|
3272
|
+
"rounded-se": v()
|
|
3265
3273
|
}],
|
|
3266
3274
|
/**
|
|
3267
3275
|
* Border Radius End End
|
|
3268
3276
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3269
3277
|
*/
|
|
3270
3278
|
"rounded-ee": [{
|
|
3271
|
-
"rounded-ee":
|
|
3279
|
+
"rounded-ee": v()
|
|
3272
3280
|
}],
|
|
3273
3281
|
/**
|
|
3274
3282
|
* Border Radius End Start
|
|
3275
3283
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3276
3284
|
*/
|
|
3277
3285
|
"rounded-es": [{
|
|
3278
|
-
"rounded-es":
|
|
3286
|
+
"rounded-es": v()
|
|
3279
3287
|
}],
|
|
3280
3288
|
/**
|
|
3281
3289
|
* Border Radius Top Left
|
|
3282
3290
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3283
3291
|
*/
|
|
3284
3292
|
"rounded-tl": [{
|
|
3285
|
-
"rounded-tl":
|
|
3293
|
+
"rounded-tl": v()
|
|
3286
3294
|
}],
|
|
3287
3295
|
/**
|
|
3288
3296
|
* Border Radius Top Right
|
|
3289
3297
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3290
3298
|
*/
|
|
3291
3299
|
"rounded-tr": [{
|
|
3292
|
-
"rounded-tr":
|
|
3300
|
+
"rounded-tr": v()
|
|
3293
3301
|
}],
|
|
3294
3302
|
/**
|
|
3295
3303
|
* Border Radius Bottom Right
|
|
3296
3304
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3297
3305
|
*/
|
|
3298
3306
|
"rounded-br": [{
|
|
3299
|
-
"rounded-br":
|
|
3307
|
+
"rounded-br": v()
|
|
3300
3308
|
}],
|
|
3301
3309
|
/**
|
|
3302
3310
|
* Border Radius Bottom Left
|
|
3303
3311
|
* @see https://tailwindcss.com/docs/border-radius
|
|
3304
3312
|
*/
|
|
3305
3313
|
"rounded-bl": [{
|
|
3306
|
-
"rounded-bl":
|
|
3314
|
+
"rounded-bl": v()
|
|
3307
3315
|
}],
|
|
3308
3316
|
/**
|
|
3309
3317
|
* Border Width
|
|
@@ -3488,14 +3496,14 @@ const ob = (e, t) => {
|
|
|
3488
3496
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
3489
3497
|
*/
|
|
3490
3498
|
"outline-offset": [{
|
|
3491
|
-
"outline-offset": [
|
|
3499
|
+
"outline-offset": [he, ne, te]
|
|
3492
3500
|
}],
|
|
3493
3501
|
/**
|
|
3494
3502
|
* Outline Width
|
|
3495
3503
|
* @see https://tailwindcss.com/docs/outline-width
|
|
3496
3504
|
*/
|
|
3497
3505
|
"outline-w": [{
|
|
3498
|
-
outline: ["",
|
|
3506
|
+
outline: ["", he, hi, ir]
|
|
3499
3507
|
}],
|
|
3500
3508
|
/**
|
|
3501
3509
|
* Outline Color
|
|
@@ -3570,7 +3578,7 @@ const ob = (e, t) => {
|
|
|
3570
3578
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
3571
3579
|
*/
|
|
3572
3580
|
"ring-offset-w": [{
|
|
3573
|
-
"ring-offset": [
|
|
3581
|
+
"ring-offset": [he, ir]
|
|
3574
3582
|
}],
|
|
3575
3583
|
/**
|
|
3576
3584
|
* Ring Offset Color
|
|
@@ -3614,7 +3622,7 @@ const ob = (e, t) => {
|
|
|
3614
3622
|
* @see https://tailwindcss.com/docs/opacity
|
|
3615
3623
|
*/
|
|
3616
3624
|
opacity: [{
|
|
3617
|
-
opacity: [
|
|
3625
|
+
opacity: [he, ne, te]
|
|
3618
3626
|
}],
|
|
3619
3627
|
/**
|
|
3620
3628
|
* Mix Blend Mode
|
|
@@ -3649,7 +3657,7 @@ const ob = (e, t) => {
|
|
|
3649
3657
|
* @see https://tailwindcss.com/docs/mask-image
|
|
3650
3658
|
*/
|
|
3651
3659
|
"mask-image-linear-pos": [{
|
|
3652
|
-
"mask-linear": [
|
|
3660
|
+
"mask-linear": [he]
|
|
3653
3661
|
}],
|
|
3654
3662
|
"mask-image-linear-from-pos": [{
|
|
3655
3663
|
"mask-linear-from": K()
|
|
@@ -3763,7 +3771,7 @@ const ob = (e, t) => {
|
|
|
3763
3771
|
"mask-radial-at": C()
|
|
3764
3772
|
}],
|
|
3765
3773
|
"mask-image-conic-pos": [{
|
|
3766
|
-
"mask-conic": [
|
|
3774
|
+
"mask-conic": [he]
|
|
3767
3775
|
}],
|
|
3768
3776
|
"mask-image-conic-from-pos": [{
|
|
3769
3777
|
"mask-conic-from": K()
|
|
@@ -3854,14 +3862,14 @@ const ob = (e, t) => {
|
|
|
3854
3862
|
* @see https://tailwindcss.com/docs/brightness
|
|
3855
3863
|
*/
|
|
3856
3864
|
brightness: [{
|
|
3857
|
-
brightness: [
|
|
3865
|
+
brightness: [he, ne, te]
|
|
3858
3866
|
}],
|
|
3859
3867
|
/**
|
|
3860
3868
|
* Contrast
|
|
3861
3869
|
* @see https://tailwindcss.com/docs/contrast
|
|
3862
3870
|
*/
|
|
3863
3871
|
contrast: [{
|
|
3864
|
-
contrast: [
|
|
3872
|
+
contrast: [he, ne, te]
|
|
3865
3873
|
}],
|
|
3866
3874
|
/**
|
|
3867
3875
|
* Drop Shadow
|
|
@@ -3889,35 +3897,35 @@ const ob = (e, t) => {
|
|
|
3889
3897
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3890
3898
|
*/
|
|
3891
3899
|
grayscale: [{
|
|
3892
|
-
grayscale: ["",
|
|
3900
|
+
grayscale: ["", he, ne, te]
|
|
3893
3901
|
}],
|
|
3894
3902
|
/**
|
|
3895
3903
|
* Hue Rotate
|
|
3896
3904
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3897
3905
|
*/
|
|
3898
3906
|
"hue-rotate": [{
|
|
3899
|
-
"hue-rotate": [
|
|
3907
|
+
"hue-rotate": [he, ne, te]
|
|
3900
3908
|
}],
|
|
3901
3909
|
/**
|
|
3902
3910
|
* Invert
|
|
3903
3911
|
* @see https://tailwindcss.com/docs/invert
|
|
3904
3912
|
*/
|
|
3905
3913
|
invert: [{
|
|
3906
|
-
invert: ["",
|
|
3914
|
+
invert: ["", he, ne, te]
|
|
3907
3915
|
}],
|
|
3908
3916
|
/**
|
|
3909
3917
|
* Saturate
|
|
3910
3918
|
* @see https://tailwindcss.com/docs/saturate
|
|
3911
3919
|
*/
|
|
3912
3920
|
saturate: [{
|
|
3913
|
-
saturate: [
|
|
3921
|
+
saturate: [he, ne, te]
|
|
3914
3922
|
}],
|
|
3915
3923
|
/**
|
|
3916
3924
|
* Sepia
|
|
3917
3925
|
* @see https://tailwindcss.com/docs/sepia
|
|
3918
3926
|
*/
|
|
3919
3927
|
sepia: [{
|
|
3920
|
-
sepia: ["",
|
|
3928
|
+
sepia: ["", he, ne, te]
|
|
3921
3929
|
}],
|
|
3922
3930
|
/**
|
|
3923
3931
|
* Backdrop Filter
|
|
@@ -3944,56 +3952,56 @@ const ob = (e, t) => {
|
|
|
3944
3952
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3945
3953
|
*/
|
|
3946
3954
|
"backdrop-brightness": [{
|
|
3947
|
-
"backdrop-brightness": [
|
|
3955
|
+
"backdrop-brightness": [he, ne, te]
|
|
3948
3956
|
}],
|
|
3949
3957
|
/**
|
|
3950
3958
|
* Backdrop Contrast
|
|
3951
3959
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3952
3960
|
*/
|
|
3953
3961
|
"backdrop-contrast": [{
|
|
3954
|
-
"backdrop-contrast": [
|
|
3962
|
+
"backdrop-contrast": [he, ne, te]
|
|
3955
3963
|
}],
|
|
3956
3964
|
/**
|
|
3957
3965
|
* Backdrop Grayscale
|
|
3958
3966
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3959
3967
|
*/
|
|
3960
3968
|
"backdrop-grayscale": [{
|
|
3961
|
-
"backdrop-grayscale": ["",
|
|
3969
|
+
"backdrop-grayscale": ["", he, ne, te]
|
|
3962
3970
|
}],
|
|
3963
3971
|
/**
|
|
3964
3972
|
* Backdrop Hue Rotate
|
|
3965
3973
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3966
3974
|
*/
|
|
3967
3975
|
"backdrop-hue-rotate": [{
|
|
3968
|
-
"backdrop-hue-rotate": [
|
|
3976
|
+
"backdrop-hue-rotate": [he, ne, te]
|
|
3969
3977
|
}],
|
|
3970
3978
|
/**
|
|
3971
3979
|
* Backdrop Invert
|
|
3972
3980
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3973
3981
|
*/
|
|
3974
3982
|
"backdrop-invert": [{
|
|
3975
|
-
"backdrop-invert": ["",
|
|
3983
|
+
"backdrop-invert": ["", he, ne, te]
|
|
3976
3984
|
}],
|
|
3977
3985
|
/**
|
|
3978
3986
|
* Backdrop Opacity
|
|
3979
3987
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3980
3988
|
*/
|
|
3981
3989
|
"backdrop-opacity": [{
|
|
3982
|
-
"backdrop-opacity": [
|
|
3990
|
+
"backdrop-opacity": [he, ne, te]
|
|
3983
3991
|
}],
|
|
3984
3992
|
/**
|
|
3985
3993
|
* Backdrop Saturate
|
|
3986
3994
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3987
3995
|
*/
|
|
3988
3996
|
"backdrop-saturate": [{
|
|
3989
|
-
"backdrop-saturate": [
|
|
3997
|
+
"backdrop-saturate": [he, ne, te]
|
|
3990
3998
|
}],
|
|
3991
3999
|
/**
|
|
3992
4000
|
* Backdrop Sepia
|
|
3993
4001
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3994
4002
|
*/
|
|
3995
4003
|
"backdrop-sepia": [{
|
|
3996
|
-
"backdrop-sepia": ["",
|
|
4004
|
+
"backdrop-sepia": ["", he, ne, te]
|
|
3997
4005
|
}],
|
|
3998
4006
|
// --------------
|
|
3999
4007
|
// --- Tables ---
|
|
@@ -4062,7 +4070,7 @@ const ob = (e, t) => {
|
|
|
4062
4070
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
4063
4071
|
*/
|
|
4064
4072
|
duration: [{
|
|
4065
|
-
duration: [
|
|
4073
|
+
duration: [he, "initial", ne, te]
|
|
4066
4074
|
}],
|
|
4067
4075
|
/**
|
|
4068
4076
|
* Transition Timing Function
|
|
@@ -4076,14 +4084,14 @@ const ob = (e, t) => {
|
|
|
4076
4084
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
4077
4085
|
*/
|
|
4078
4086
|
delay: [{
|
|
4079
|
-
delay: [
|
|
4087
|
+
delay: [he, ne, te]
|
|
4080
4088
|
}],
|
|
4081
4089
|
/**
|
|
4082
4090
|
* Animation
|
|
4083
4091
|
* @see https://tailwindcss.com/docs/animation
|
|
4084
4092
|
*/
|
|
4085
4093
|
animate: [{
|
|
4086
|
-
animate: ["none",
|
|
4094
|
+
animate: ["none", k, ne, te]
|
|
4087
4095
|
}],
|
|
4088
4096
|
// ------------------
|
|
4089
4097
|
// --- Transforms ---
|
|
@@ -4142,28 +4150,28 @@ const ob = (e, t) => {
|
|
|
4142
4150
|
* @see https://tailwindcss.com/docs/scale
|
|
4143
4151
|
*/
|
|
4144
4152
|
scale: [{
|
|
4145
|
-
scale:
|
|
4153
|
+
scale: fe()
|
|
4146
4154
|
}],
|
|
4147
4155
|
/**
|
|
4148
4156
|
* Scale X
|
|
4149
4157
|
* @see https://tailwindcss.com/docs/scale
|
|
4150
4158
|
*/
|
|
4151
4159
|
"scale-x": [{
|
|
4152
|
-
"scale-x":
|
|
4160
|
+
"scale-x": fe()
|
|
4153
4161
|
}],
|
|
4154
4162
|
/**
|
|
4155
4163
|
* Scale Y
|
|
4156
4164
|
* @see https://tailwindcss.com/docs/scale
|
|
4157
4165
|
*/
|
|
4158
4166
|
"scale-y": [{
|
|
4159
|
-
"scale-y":
|
|
4167
|
+
"scale-y": fe()
|
|
4160
4168
|
}],
|
|
4161
4169
|
/**
|
|
4162
4170
|
* Scale Z
|
|
4163
4171
|
* @see https://tailwindcss.com/docs/scale
|
|
4164
4172
|
*/
|
|
4165
4173
|
"scale-z": [{
|
|
4166
|
-
"scale-z":
|
|
4174
|
+
"scale-z": fe()
|
|
4167
4175
|
}],
|
|
4168
4176
|
/**
|
|
4169
4177
|
* Scale 3D
|
|
@@ -4520,7 +4528,7 @@ const ob = (e, t) => {
|
|
|
4520
4528
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
4521
4529
|
*/
|
|
4522
4530
|
"stroke-w": [{
|
|
4523
|
-
stroke: [
|
|
4531
|
+
stroke: [he, hi, ir, eo]
|
|
4524
4532
|
}],
|
|
4525
4533
|
/**
|
|
4526
4534
|
* Stroke
|
|
@@ -4595,11 +4603,11 @@ const ob = (e, t) => {
|
|
|
4595
4603
|
},
|
|
4596
4604
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
4597
4605
|
};
|
|
4598
|
-
}, Vb = /* @__PURE__ */ Pb(Wb),
|
|
4606
|
+
}, Vb = /* @__PURE__ */ Pb(Wb), Oe = (...e) => Vb(ze(e)), Uh = st(null);
|
|
4599
4607
|
function Hb({
|
|
4600
4608
|
children: e
|
|
4601
4609
|
}) {
|
|
4602
|
-
const t = Ae(null), n = Ae(""), r = Ae("initial"), { lastId: i } = We(), a =
|
|
4610
|
+
const t = Ae(null), n = Ae(""), r = Ae("initial"), { lastId: i } = We(), a = ce("agent-id"), { serverUrl: s } = Hl(), o = Ie(async (d) => {
|
|
4603
4611
|
const h = i.value, f = a.value;
|
|
4604
4612
|
if (!h || !f) {
|
|
4605
4613
|
console.warn(
|
|
@@ -5266,7 +5274,7 @@ const bT = {
|
|
|
5266
5274
|
"button",
|
|
5267
5275
|
{
|
|
5268
5276
|
ref: l,
|
|
5269
|
-
className:
|
|
5277
|
+
className: Oe(
|
|
5270
5278
|
"h-9 flex px-2.5 text-sm items-center transition-[colors,opacity] justify-center rounded-button duration-200 focus-ring overflow-hidden select-none",
|
|
5271
5279
|
"disabled:opacity-50 disabled:pointer-events-none",
|
|
5272
5280
|
bT[t],
|
|
@@ -5279,7 +5287,7 @@ const bT = {
|
|
|
5279
5287
|
r && /* @__PURE__ */ b(
|
|
5280
5288
|
sn,
|
|
5281
5289
|
{
|
|
5282
|
-
className:
|
|
5290
|
+
className: Oe(
|
|
5283
5291
|
"transition-[margin] duration-200",
|
|
5284
5292
|
c && "-mx-0.5",
|
|
5285
5293
|
t === "md-button" && "text-sm",
|
|
@@ -5291,7 +5299,7 @@ const bT = {
|
|
|
5291
5299
|
/* @__PURE__ */ b(Bt, { visible: !!n, dep: n, children: /* @__PURE__ */ b(
|
|
5292
5300
|
"span",
|
|
5293
5301
|
{
|
|
5294
|
-
className:
|
|
5302
|
+
className: Oe(
|
|
5295
5303
|
"block whitespace-nowrap max-w-64 truncate",
|
|
5296
5304
|
t === "md-button" ? "pl-1.5" : "px-1.5"
|
|
5297
5305
|
),
|
|
@@ -6096,13 +6104,13 @@ xt.prototype.property = "";
|
|
|
6096
6104
|
xt.prototype.spaceSeparated = !1;
|
|
6097
6105
|
xt.prototype.space = void 0;
|
|
6098
6106
|
let XT = 0;
|
|
6099
|
-
const
|
|
6107
|
+
const de = Er(), Fe = Er(), Ho = Er(), W = Er(), Le = Er(), Br = Er(), yt = Er();
|
|
6100
6108
|
function Er() {
|
|
6101
6109
|
return 2 ** ++XT;
|
|
6102
6110
|
}
|
|
6103
6111
|
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6104
6112
|
__proto__: null,
|
|
6105
|
-
boolean:
|
|
6113
|
+
boolean: de,
|
|
6106
6114
|
booleanish: Fe,
|
|
6107
6115
|
commaOrSpaceSeparated: yt,
|
|
6108
6116
|
commaSeparated: Br,
|
|
@@ -6231,38 +6239,38 @@ const zT = ti({
|
|
|
6231
6239
|
accessKey: Le,
|
|
6232
6240
|
action: null,
|
|
6233
6241
|
allow: null,
|
|
6234
|
-
allowFullScreen:
|
|
6235
|
-
allowPaymentRequest:
|
|
6236
|
-
allowUserMedia:
|
|
6242
|
+
allowFullScreen: de,
|
|
6243
|
+
allowPaymentRequest: de,
|
|
6244
|
+
allowUserMedia: de,
|
|
6237
6245
|
alt: null,
|
|
6238
6246
|
as: null,
|
|
6239
|
-
async:
|
|
6247
|
+
async: de,
|
|
6240
6248
|
autoCapitalize: null,
|
|
6241
6249
|
autoComplete: Le,
|
|
6242
|
-
autoFocus:
|
|
6243
|
-
autoPlay:
|
|
6250
|
+
autoFocus: de,
|
|
6251
|
+
autoPlay: de,
|
|
6244
6252
|
blocking: Le,
|
|
6245
6253
|
capture: null,
|
|
6246
6254
|
charSet: null,
|
|
6247
|
-
checked:
|
|
6255
|
+
checked: de,
|
|
6248
6256
|
cite: null,
|
|
6249
6257
|
className: Le,
|
|
6250
6258
|
cols: W,
|
|
6251
6259
|
colSpan: null,
|
|
6252
6260
|
content: null,
|
|
6253
6261
|
contentEditable: Fe,
|
|
6254
|
-
controls:
|
|
6262
|
+
controls: de,
|
|
6255
6263
|
controlsList: Le,
|
|
6256
6264
|
coords: W | Br,
|
|
6257
6265
|
crossOrigin: null,
|
|
6258
6266
|
data: null,
|
|
6259
6267
|
dateTime: null,
|
|
6260
6268
|
decoding: null,
|
|
6261
|
-
default:
|
|
6262
|
-
defer:
|
|
6269
|
+
default: de,
|
|
6270
|
+
defer: de,
|
|
6263
6271
|
dir: null,
|
|
6264
6272
|
dirName: null,
|
|
6265
|
-
disabled:
|
|
6273
|
+
disabled: de,
|
|
6266
6274
|
download: Ho,
|
|
6267
6275
|
draggable: Fe,
|
|
6268
6276
|
encType: null,
|
|
@@ -6272,7 +6280,7 @@ const zT = ti({
|
|
|
6272
6280
|
formAction: null,
|
|
6273
6281
|
formEncType: null,
|
|
6274
6282
|
formMethod: null,
|
|
6275
|
-
formNoValidate:
|
|
6283
|
+
formNoValidate: de,
|
|
6276
6284
|
formTarget: null,
|
|
6277
6285
|
headers: Le,
|
|
6278
6286
|
height: W,
|
|
@@ -6285,15 +6293,15 @@ const zT = ti({
|
|
|
6285
6293
|
id: null,
|
|
6286
6294
|
imageSizes: null,
|
|
6287
6295
|
imageSrcSet: null,
|
|
6288
|
-
inert:
|
|
6296
|
+
inert: de,
|
|
6289
6297
|
inputMode: null,
|
|
6290
6298
|
integrity: null,
|
|
6291
6299
|
is: null,
|
|
6292
|
-
isMap:
|
|
6300
|
+
isMap: de,
|
|
6293
6301
|
itemId: null,
|
|
6294
6302
|
itemProp: Le,
|
|
6295
6303
|
itemRef: Le,
|
|
6296
|
-
itemScope:
|
|
6304
|
+
itemScope: de,
|
|
6297
6305
|
itemType: Le,
|
|
6298
6306
|
kind: null,
|
|
6299
6307
|
label: null,
|
|
@@ -6301,7 +6309,7 @@ const zT = ti({
|
|
|
6301
6309
|
language: null,
|
|
6302
6310
|
list: null,
|
|
6303
6311
|
loading: null,
|
|
6304
|
-
loop:
|
|
6312
|
+
loop: de,
|
|
6305
6313
|
low: W,
|
|
6306
6314
|
manifest: null,
|
|
6307
6315
|
max: null,
|
|
@@ -6310,12 +6318,12 @@ const zT = ti({
|
|
|
6310
6318
|
method: null,
|
|
6311
6319
|
min: null,
|
|
6312
6320
|
minLength: W,
|
|
6313
|
-
multiple:
|
|
6314
|
-
muted:
|
|
6321
|
+
multiple: de,
|
|
6322
|
+
muted: de,
|
|
6315
6323
|
name: null,
|
|
6316
6324
|
nonce: null,
|
|
6317
|
-
noModule:
|
|
6318
|
-
noValidate:
|
|
6325
|
+
noModule: de,
|
|
6326
|
+
noValidate: de,
|
|
6319
6327
|
onAbort: null,
|
|
6320
6328
|
onAfterPrint: null,
|
|
6321
6329
|
onAuxClick: null,
|
|
@@ -6404,31 +6412,31 @@ const zT = ti({
|
|
|
6404
6412
|
onVolumeChange: null,
|
|
6405
6413
|
onWaiting: null,
|
|
6406
6414
|
onWheel: null,
|
|
6407
|
-
open:
|
|
6415
|
+
open: de,
|
|
6408
6416
|
optimum: W,
|
|
6409
6417
|
pattern: null,
|
|
6410
6418
|
ping: Le,
|
|
6411
6419
|
placeholder: null,
|
|
6412
|
-
playsInline:
|
|
6420
|
+
playsInline: de,
|
|
6413
6421
|
popover: null,
|
|
6414
6422
|
popoverTarget: null,
|
|
6415
6423
|
popoverTargetAction: null,
|
|
6416
6424
|
poster: null,
|
|
6417
6425
|
preload: null,
|
|
6418
|
-
readOnly:
|
|
6426
|
+
readOnly: de,
|
|
6419
6427
|
referrerPolicy: null,
|
|
6420
6428
|
rel: Le,
|
|
6421
|
-
required:
|
|
6422
|
-
reversed:
|
|
6429
|
+
required: de,
|
|
6430
|
+
reversed: de,
|
|
6423
6431
|
rows: W,
|
|
6424
6432
|
rowSpan: W,
|
|
6425
6433
|
sandbox: Le,
|
|
6426
6434
|
scope: null,
|
|
6427
|
-
scoped:
|
|
6428
|
-
seamless:
|
|
6429
|
-
selected:
|
|
6430
|
-
shadowRootClonable:
|
|
6431
|
-
shadowRootDelegatesFocus:
|
|
6435
|
+
scoped: de,
|
|
6436
|
+
seamless: de,
|
|
6437
|
+
selected: de,
|
|
6438
|
+
shadowRootClonable: de,
|
|
6439
|
+
shadowRootDelegatesFocus: de,
|
|
6432
6440
|
shadowRootMode: null,
|
|
6433
6441
|
shape: null,
|
|
6434
6442
|
size: W,
|
|
@@ -6448,7 +6456,7 @@ const zT = ti({
|
|
|
6448
6456
|
title: null,
|
|
6449
6457
|
translate: null,
|
|
6450
6458
|
type: null,
|
|
6451
|
-
typeMustMatch:
|
|
6459
|
+
typeMustMatch: de,
|
|
6452
6460
|
useMap: null,
|
|
6453
6461
|
value: Fe,
|
|
6454
6462
|
width: W,
|
|
@@ -6494,9 +6502,9 @@ const zT = ti({
|
|
|
6494
6502
|
// `<object>`
|
|
6495
6503
|
color: null,
|
|
6496
6504
|
// `<font>` and `<hr>`. Use CSS instead
|
|
6497
|
-
compact:
|
|
6505
|
+
compact: de,
|
|
6498
6506
|
// Lists. Use CSS to reduce space between items instead
|
|
6499
|
-
declare:
|
|
6507
|
+
declare: de,
|
|
6500
6508
|
// `<object>`
|
|
6501
6509
|
event: null,
|
|
6502
6510
|
// `<script>`
|
|
@@ -6520,13 +6528,13 @@ const zT = ti({
|
|
|
6520
6528
|
// `<body>`
|
|
6521
6529
|
marginWidth: W,
|
|
6522
6530
|
// `<body>`
|
|
6523
|
-
noResize:
|
|
6531
|
+
noResize: de,
|
|
6524
6532
|
// `<frame>`
|
|
6525
|
-
noHref:
|
|
6533
|
+
noHref: de,
|
|
6526
6534
|
// `<area>`. Use no href instead of an explicit `nohref`
|
|
6527
|
-
noShade:
|
|
6535
|
+
noShade: de,
|
|
6528
6536
|
// `<hr>`. Use background-color and height instead of borders
|
|
6529
|
-
noWrap:
|
|
6537
|
+
noWrap: de,
|
|
6530
6538
|
// `<td>` and `<th>`
|
|
6531
6539
|
object: null,
|
|
6532
6540
|
// `<applet>`
|
|
@@ -6566,8 +6574,8 @@ const zT = ti({
|
|
|
6566
6574
|
allowTransparency: null,
|
|
6567
6575
|
autoCorrect: null,
|
|
6568
6576
|
autoSave: null,
|
|
6569
|
-
disablePictureInPicture:
|
|
6570
|
-
disableRemotePlayback:
|
|
6577
|
+
disablePictureInPicture: de,
|
|
6578
|
+
disableRemotePlayback: de,
|
|
6571
6579
|
prefix: null,
|
|
6572
6580
|
property: null,
|
|
6573
6581
|
results: W,
|
|
@@ -6802,7 +6810,7 @@ const zT = ti({
|
|
|
6802
6810
|
dur: null,
|
|
6803
6811
|
divisor: W,
|
|
6804
6812
|
dominantBaseline: null,
|
|
6805
|
-
download:
|
|
6813
|
+
download: de,
|
|
6806
6814
|
dx: null,
|
|
6807
6815
|
dy: null,
|
|
6808
6816
|
edgeMode: null,
|
|
@@ -13470,8 +13478,8 @@ function Ff(e, t, n, r) {
|
|
|
13470
13478
|
);
|
|
13471
13479
|
if (g.children && f[0] !== rl)
|
|
13472
13480
|
for (p = (r ? g.children.length : -1) + s, T = c.concat(g); p > -1 && p < g.children.length; ) {
|
|
13473
|
-
const
|
|
13474
|
-
if (m = o(
|
|
13481
|
+
const k = g.children[p];
|
|
13482
|
+
if (m = o(k, p, T)(), m[0] === nl)
|
|
13475
13483
|
return m;
|
|
13476
13484
|
p = typeof m[1] == "number" ? m[1] : p + s;
|
|
13477
13485
|
}
|
|
@@ -14171,8 +14179,8 @@ function z2(e, t) {
|
|
|
14171
14179
|
function h(f) {
|
|
14172
14180
|
if (f === c)
|
|
14173
14181
|
return e.consume(f), h;
|
|
14174
|
-
const m = e.exit("attentionSequence"), p = Kf(f) ? np(f, r(), i) : f, T = Zr(p), g = rs(u),
|
|
14175
|
-
return m._open = !!(c === wn.asterisk ?
|
|
14182
|
+
const m = e.exit("attentionSequence"), p = Kf(f) ? np(f, r(), i) : f, T = Zr(p), g = rs(u), k = g || Ui(u), w = rs(T), C = w || Ui(T), R = L2(u), y = !C || w && (k || R) || n.includes(f), $ = !k || g && (C || al(T)) || n.includes(s);
|
|
14183
|
+
return m._open = !!(c === wn.asterisk ? y : y && (td(u) || !$)), m._close = !!(c === wn.asterisk ? $ : $ && (td(T) || !y)), t(f);
|
|
14176
14184
|
}
|
|
14177
14185
|
}
|
|
14178
14186
|
function nd(e, t) {
|
|
@@ -14255,17 +14263,17 @@ function q2(e) {
|
|
|
14255
14263
|
h
|
|
14256
14264
|
), T = this.events;
|
|
14257
14265
|
let g = 0;
|
|
14258
|
-
return
|
|
14259
|
-
function w(C) {
|
|
14260
|
-
return h === wn.tilde && T[T.length - 1][1].type !== Gt.characterEscape ? l(C) : (s.enter("strikethroughSequenceTemporary"), k(C));
|
|
14261
|
-
}
|
|
14266
|
+
return k;
|
|
14262
14267
|
function k(C) {
|
|
14268
|
+
return h === wn.tilde && T[T.length - 1][1].type !== Gt.characterEscape ? l(C) : (s.enter("strikethroughSequenceTemporary"), w(C));
|
|
14269
|
+
}
|
|
14270
|
+
function w(C) {
|
|
14263
14271
|
const R = Zr(h);
|
|
14264
14272
|
if (C === wn.tilde)
|
|
14265
|
-
return g > 1 ? l(C) : (s.consume(C), g++,
|
|
14273
|
+
return g > 1 ? l(C) : (s.consume(C), g++, w);
|
|
14266
14274
|
if (g < 2 && !n) return l(C);
|
|
14267
|
-
const
|
|
14268
|
-
return
|
|
14275
|
+
const y = s.exit("strikethroughSequenceTemporary"), $ = Kf(C) ? np(C, u(), c) : C, L = Zr($), A = rs(p) || Ui(p), D = rs(L) || Ui(L), Y = al(p) || N2(R);
|
|
14276
|
+
return y._open = !D || L === Vr.attentionSideAfter && (A || Y), y._close = !A || R === Vr.attentionSideAfter && (D || al(L)), o(C);
|
|
14269
14277
|
}
|
|
14270
14278
|
}
|
|
14271
14279
|
}
|
|
@@ -14312,24 +14320,24 @@ function Y2(e, t, n) {
|
|
|
14312
14320
|
const d = c[c.length - 1], h = a[s][0], f = a[s][1];
|
|
14313
14321
|
let m = 0;
|
|
14314
14322
|
const T = d.children.indexOf(u);
|
|
14315
|
-
let g = !1,
|
|
14323
|
+
let g = !1, k = [];
|
|
14316
14324
|
h.lastIndex = 0;
|
|
14317
|
-
let
|
|
14318
|
-
for (;
|
|
14319
|
-
const C =
|
|
14320
|
-
index:
|
|
14321
|
-
input:
|
|
14325
|
+
let w = h.exec(u.value);
|
|
14326
|
+
for (; w; ) {
|
|
14327
|
+
const C = w.index, R = {
|
|
14328
|
+
index: w.index,
|
|
14329
|
+
input: w.input,
|
|
14322
14330
|
stack: [...c, u]
|
|
14323
14331
|
};
|
|
14324
|
-
let
|
|
14325
|
-
if (typeof
|
|
14332
|
+
let y = f(...w, R);
|
|
14333
|
+
if (typeof y == "string" && (y = y.length > 0 ? { type: "text", value: y } : void 0), y === !1 ? h.lastIndex = C + 1 : (m !== C && k.push({
|
|
14326
14334
|
type: "text",
|
|
14327
14335
|
value: u.value.slice(m, C)
|
|
14328
|
-
}), Array.isArray(
|
|
14336
|
+
}), Array.isArray(y) ? k.push(...y) : y && k.push(y), m = C + w[0].length, g = !0), !h.global)
|
|
14329
14337
|
break;
|
|
14330
|
-
|
|
14338
|
+
w = h.exec(u.value);
|
|
14331
14339
|
}
|
|
14332
|
-
return g ? (m < u.value.length &&
|
|
14340
|
+
return g ? (m < u.value.length && k.push({ type: "text", value: u.value.slice(m) }), d.children.splice(T, 1, ...k)) : k = [u], T + k.length;
|
|
14333
14341
|
}
|
|
14334
14342
|
}
|
|
14335
14343
|
function W2(e) {
|
|
@@ -14622,12 +14630,12 @@ function Pw(e, t) {
|
|
|
14622
14630
|
const p = [], T = [];
|
|
14623
14631
|
let g = -1;
|
|
14624
14632
|
for (e[c].length > u && (u = e[c].length); ++g < e[c].length; ) {
|
|
14625
|
-
const
|
|
14633
|
+
const k = _w(e[c][g]);
|
|
14626
14634
|
if (n.alignDelimiters !== !1) {
|
|
14627
|
-
const
|
|
14628
|
-
T[g] =
|
|
14635
|
+
const w = i(k);
|
|
14636
|
+
T[g] = w, (l[g] === void 0 || w > l[g]) && (l[g] = w);
|
|
14629
14637
|
}
|
|
14630
|
-
p.push(
|
|
14638
|
+
p.push(k);
|
|
14631
14639
|
}
|
|
14632
14640
|
s[c] = p, o[c] = T;
|
|
14633
14641
|
}
|
|
@@ -14646,12 +14654,12 @@ function Pw(e, t) {
|
|
|
14646
14654
|
const p = a[d];
|
|
14647
14655
|
let T = "", g = "";
|
|
14648
14656
|
p === 99 ? (T = ":", g = ":") : p === 108 ? T = ":" : p === 114 && (g = ":");
|
|
14649
|
-
let
|
|
14657
|
+
let k = n.alignDelimiters === !1 ? 1 : Math.max(
|
|
14650
14658
|
1,
|
|
14651
14659
|
l[d] - T.length - g.length
|
|
14652
14660
|
);
|
|
14653
|
-
const
|
|
14654
|
-
n.alignDelimiters !== !1 && (
|
|
14661
|
+
const w = T + "-".repeat(k) + g;
|
|
14662
|
+
n.alignDelimiters !== !1 && (k = T.length + k + g.length, k > l[d] && (l[d] = k), f[d] = k), h[d] = w;
|
|
14655
14663
|
}
|
|
14656
14664
|
s.splice(1, 0, h), o.splice(1, 0, f), c = -1;
|
|
14657
14665
|
const m = [];
|
|
@@ -14660,15 +14668,15 @@ function Pw(e, t) {
|
|
|
14660
14668
|
d = -1;
|
|
14661
14669
|
const g = [];
|
|
14662
14670
|
for (; ++d < u; ) {
|
|
14663
|
-
const
|
|
14664
|
-
let
|
|
14671
|
+
const k = p[d] || "";
|
|
14672
|
+
let w = "", C = "";
|
|
14665
14673
|
if (n.alignDelimiters !== !1) {
|
|
14666
|
-
const R = l[d] - (T[d] || 0),
|
|
14667
|
-
|
|
14674
|
+
const R = l[d] - (T[d] || 0), y = a[d];
|
|
14675
|
+
y === 114 ? w = " ".repeat(R) : y === 99 ? R % 2 ? (w = " ".repeat(R / 2 + 0.5), C = " ".repeat(R / 2 - 0.5)) : (w = " ".repeat(R / 2), C = w) : C = " ".repeat(R);
|
|
14668
14676
|
}
|
|
14669
14677
|
n.delimiterStart !== !1 && !d && g.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
14670
14678
|
// empty: there will be a closing space.
|
|
14671
|
-
!(n.alignDelimiters === !1 &&
|
|
14679
|
+
!(n.alignDelimiters === !1 && k === "") && (n.delimiterStart !== !1 || d) && g.push(" "), n.alignDelimiters !== !1 && g.push(w), g.push(k), n.alignDelimiters !== !1 && g.push(C), n.padding !== !1 && g.push(" "), (n.delimiterEnd !== !1 || d !== u - 1) && g.push("|");
|
|
14672
14680
|
}
|
|
14673
14681
|
m.push(
|
|
14674
14682
|
n.delimiterEnd === !1 ? g.join("").replace(/ +$/, "") : g.join("")
|
|
@@ -15432,17 +15440,17 @@ function bE(e) {
|
|
|
15432
15440
|
return u(c(f, p, T), f.align);
|
|
15433
15441
|
}
|
|
15434
15442
|
function o(f, m, p, T) {
|
|
15435
|
-
const g = d(f, p, T),
|
|
15436
|
-
return
|
|
15443
|
+
const g = d(f, p, T), k = u([g]);
|
|
15444
|
+
return k.slice(0, k.indexOf(`
|
|
15437
15445
|
`));
|
|
15438
15446
|
}
|
|
15439
15447
|
function l(f, m, p, T) {
|
|
15440
|
-
const g = p.enter("tableCell"),
|
|
15448
|
+
const g = p.enter("tableCell"), k = p.enter("phrasing"), w = p.containerPhrasing(f, {
|
|
15441
15449
|
...T,
|
|
15442
15450
|
before: a,
|
|
15443
15451
|
after: a
|
|
15444
15452
|
});
|
|
15445
|
-
return
|
|
15453
|
+
return k(), g(), w;
|
|
15446
15454
|
}
|
|
15447
15455
|
function u(f, m) {
|
|
15448
15456
|
return Pw(f, {
|
|
@@ -15458,18 +15466,18 @@ function bE(e) {
|
|
|
15458
15466
|
function c(f, m, p) {
|
|
15459
15467
|
const T = f.children;
|
|
15460
15468
|
let g = -1;
|
|
15461
|
-
const
|
|
15469
|
+
const k = [], w = m.enter("table");
|
|
15462
15470
|
for (; ++g < T.length; )
|
|
15463
|
-
|
|
15464
|
-
return
|
|
15471
|
+
k[g] = d(T[g], m, p);
|
|
15472
|
+
return w(), k;
|
|
15465
15473
|
}
|
|
15466
15474
|
function d(f, m, p) {
|
|
15467
15475
|
const T = f.children;
|
|
15468
15476
|
let g = -1;
|
|
15469
|
-
const
|
|
15477
|
+
const k = [], w = m.enter("tableRow");
|
|
15470
15478
|
for (; ++g < T.length; )
|
|
15471
|
-
|
|
15472
|
-
return
|
|
15479
|
+
k[g] = l(T[g], f, m, p);
|
|
15480
|
+
return w(), k;
|
|
15473
15481
|
}
|
|
15474
15482
|
function h(f, m, p) {
|
|
15475
15483
|
let T = bp.inlineCode(f, m, p);
|
|
@@ -16018,67 +16026,67 @@ function VE(e, t, n) {
|
|
|
16018
16026
|
};
|
|
16019
16027
|
let a = 0, s = 0, o;
|
|
16020
16028
|
return l;
|
|
16021
|
-
function l(
|
|
16022
|
-
return u(
|
|
16029
|
+
function l(y) {
|
|
16030
|
+
return u(y);
|
|
16023
16031
|
}
|
|
16024
|
-
function u(
|
|
16032
|
+
function u(y) {
|
|
16025
16033
|
const $ = r.events[r.events.length - 1];
|
|
16026
|
-
return a = $ && $[1].type === "linePrefix" ? $[2].sliceSerialize($[1], !0).length : 0, o =
|
|
16034
|
+
return a = $ && $[1].type === "linePrefix" ? $[2].sliceSerialize($[1], !0).length : 0, o = y, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(y);
|
|
16027
16035
|
}
|
|
16028
|
-
function c(
|
|
16029
|
-
return
|
|
16036
|
+
function c(y) {
|
|
16037
|
+
return y === o ? (s++, e.consume(y), c) : s < 3 ? n(y) : (e.exit("codeFencedFenceSequence"), be(y) ? we(e, d, "whitespace")(y) : d(y));
|
|
16030
16038
|
}
|
|
16031
|
-
function d(
|
|
16032
|
-
return
|
|
16039
|
+
function d(y) {
|
|
16040
|
+
return y === null || ae(y) ? (e.exit("codeFencedFence"), r.interrupt ? t(y) : e.check(hd, p, C)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
16033
16041
|
contentType: "string"
|
|
16034
|
-
}), h(
|
|
16042
|
+
}), h(y));
|
|
16035
16043
|
}
|
|
16036
|
-
function h(
|
|
16037
|
-
return
|
|
16044
|
+
function h(y) {
|
|
16045
|
+
return y === null || ae(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(y)) : be(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), we(e, f, "whitespace")(y)) : y === 96 && y === o ? n(y) : (e.consume(y), h);
|
|
16038
16046
|
}
|
|
16039
|
-
function f(
|
|
16040
|
-
return
|
|
16047
|
+
function f(y) {
|
|
16048
|
+
return y === null || ae(y) ? d(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
16041
16049
|
contentType: "string"
|
|
16042
|
-
}), m(
|
|
16050
|
+
}), m(y));
|
|
16043
16051
|
}
|
|
16044
|
-
function m(
|
|
16045
|
-
return
|
|
16052
|
+
function m(y) {
|
|
16053
|
+
return y === null || ae(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(y)) : y === 96 && y === o ? n(y) : (e.consume(y), m);
|
|
16046
16054
|
}
|
|
16047
|
-
function p(
|
|
16048
|
-
return e.attempt(i, C, T)(
|
|
16055
|
+
function p(y) {
|
|
16056
|
+
return e.attempt(i, C, T)(y);
|
|
16049
16057
|
}
|
|
16050
|
-
function T(
|
|
16051
|
-
return e.enter("lineEnding"), e.consume(
|
|
16058
|
+
function T(y) {
|
|
16059
|
+
return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), g;
|
|
16052
16060
|
}
|
|
16053
|
-
function g(
|
|
16054
|
-
return a > 0 && be(
|
|
16061
|
+
function g(y) {
|
|
16062
|
+
return a > 0 && be(y) ? we(e, k, "linePrefix", a + 1)(y) : k(y);
|
|
16055
16063
|
}
|
|
16056
|
-
function
|
|
16057
|
-
return
|
|
16064
|
+
function k(y) {
|
|
16065
|
+
return y === null || ae(y) ? e.check(hd, p, C)(y) : (e.enter("codeFlowValue"), w(y));
|
|
16058
16066
|
}
|
|
16059
|
-
function
|
|
16060
|
-
return
|
|
16067
|
+
function w(y) {
|
|
16068
|
+
return y === null || ae(y) ? (e.exit("codeFlowValue"), k(y)) : (e.consume(y), w);
|
|
16061
16069
|
}
|
|
16062
|
-
function C(
|
|
16063
|
-
return e.exit("codeFenced"), t(
|
|
16070
|
+
function C(y) {
|
|
16071
|
+
return e.exit("codeFenced"), t(y);
|
|
16064
16072
|
}
|
|
16065
|
-
function R(
|
|
16073
|
+
function R(y, $, L) {
|
|
16066
16074
|
let q = 0;
|
|
16067
16075
|
return A;
|
|
16068
16076
|
function A(N) {
|
|
16069
|
-
return
|
|
16077
|
+
return y.enter("lineEnding"), y.consume(N), y.exit("lineEnding"), X;
|
|
16070
16078
|
}
|
|
16071
16079
|
function X(N) {
|
|
16072
|
-
return
|
|
16080
|
+
return y.enter("codeFencedFence"), be(N) ? we(y, D, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(N) : D(N);
|
|
16073
16081
|
}
|
|
16074
16082
|
function D(N) {
|
|
16075
|
-
return N === o ? (
|
|
16083
|
+
return N === o ? (y.enter("codeFencedFenceSequence"), Y(N)) : L(N);
|
|
16076
16084
|
}
|
|
16077
16085
|
function Y(N) {
|
|
16078
|
-
return N === o ? (q++,
|
|
16086
|
+
return N === o ? (q++, y.consume(N), Y) : q >= s ? (y.exit("codeFencedFenceSequence"), be(N) ? we(y, z, "whitespace")(N) : z(N)) : L(N);
|
|
16079
16087
|
}
|
|
16080
16088
|
function z(N) {
|
|
16081
|
-
return N === null || ae(N) ? (
|
|
16089
|
+
return N === null || ae(N) ? (y.exit("codeFencedFence"), $(N)) : L(N);
|
|
16082
16090
|
}
|
|
16083
16091
|
}
|
|
16084
16092
|
}
|
|
@@ -16385,8 +16393,8 @@ function iy(e, t) {
|
|
|
16385
16393
|
// Find a void token that includes a break.
|
|
16386
16394
|
o[h][0] === "exit" && o[h - 1][0] === "enter" && o[h][1].type === o[h - 1][1].type && o[h][1].start.line !== o[h][1].end.line && (p = h + 1, T.push(p), f._tokenizer = void 0, f.previous = void 0, f = f.next);
|
|
16387
16395
|
for (s.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : T.pop(), h = T.length; h--; ) {
|
|
16388
|
-
const g = o.slice(T[h], T[h + 1]),
|
|
16389
|
-
l.push([
|
|
16396
|
+
const g = o.slice(T[h], T[h + 1]), k = a.pop();
|
|
16397
|
+
l.push([k, k + g.length - 1]), e.splice(k, 2, g);
|
|
16390
16398
|
}
|
|
16391
16399
|
for (l.reverse(), h = -1; ++h < l.length; )
|
|
16392
16400
|
u[m + l[h][0]] = m + l[h][1], m += l[h][1] - l[h][0] - 1;
|
|
@@ -16723,104 +16731,104 @@ function Ey(e, t, n) {
|
|
|
16723
16731
|
const r = this;
|
|
16724
16732
|
let i, a, s, o, l;
|
|
16725
16733
|
return u;
|
|
16726
|
-
function u(
|
|
16727
|
-
return c(
|
|
16734
|
+
function u(v) {
|
|
16735
|
+
return c(v);
|
|
16728
16736
|
}
|
|
16729
|
-
function c(
|
|
16730
|
-
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(
|
|
16737
|
+
function c(v) {
|
|
16738
|
+
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(v), d;
|
|
16731
16739
|
}
|
|
16732
|
-
function d(
|
|
16733
|
-
return
|
|
16740
|
+
function d(v) {
|
|
16741
|
+
return v === 33 ? (e.consume(v), h) : v === 47 ? (e.consume(v), a = !0, p) : v === 63 ? (e.consume(v), i = 3, r.interrupt ? t : P) : ht(v) ? (e.consume(v), s = String.fromCharCode(v), T) : n(v);
|
|
16734
16742
|
}
|
|
16735
|
-
function h(
|
|
16736
|
-
return
|
|
16743
|
+
function h(v) {
|
|
16744
|
+
return v === 45 ? (e.consume(v), i = 2, f) : v === 91 ? (e.consume(v), i = 5, o = 0, m) : ht(v) ? (e.consume(v), i = 4, r.interrupt ? t : P) : n(v);
|
|
16737
16745
|
}
|
|
16738
|
-
function f(
|
|
16739
|
-
return
|
|
16746
|
+
function f(v) {
|
|
16747
|
+
return v === 45 ? (e.consume(v), r.interrupt ? t : P) : n(v);
|
|
16740
16748
|
}
|
|
16741
|
-
function m(
|
|
16749
|
+
function m(v) {
|
|
16742
16750
|
const ue = "CDATA[";
|
|
16743
|
-
return
|
|
16751
|
+
return v === ue.charCodeAt(o++) ? (e.consume(v), o === ue.length ? r.interrupt ? t : D : m) : n(v);
|
|
16744
16752
|
}
|
|
16745
|
-
function p(
|
|
16746
|
-
return ht(
|
|
16753
|
+
function p(v) {
|
|
16754
|
+
return ht(v) ? (e.consume(v), s = String.fromCharCode(v), T) : n(v);
|
|
16747
16755
|
}
|
|
16748
|
-
function T(
|
|
16749
|
-
if (
|
|
16750
|
-
const ue =
|
|
16751
|
-
return !ue && !a && pd.includes(Ne) ? (i = 1, r.interrupt ? t(
|
|
16756
|
+
function T(v) {
|
|
16757
|
+
if (v === null || v === 47 || v === 62 || Re(v)) {
|
|
16758
|
+
const ue = v === 47, Ne = s.toLowerCase();
|
|
16759
|
+
return !ue && !a && pd.includes(Ne) ? (i = 1, r.interrupt ? t(v) : D(v)) : Ty.includes(s.toLowerCase()) ? (i = 6, ue ? (e.consume(v), g) : r.interrupt ? t(v) : D(v)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(v) : a ? k(v) : w(v));
|
|
16752
16760
|
}
|
|
16753
|
-
return
|
|
16761
|
+
return v === 45 || lt(v) ? (e.consume(v), s += String.fromCharCode(v), T) : n(v);
|
|
16754
16762
|
}
|
|
16755
|
-
function g(
|
|
16756
|
-
return
|
|
16763
|
+
function g(v) {
|
|
16764
|
+
return v === 62 ? (e.consume(v), r.interrupt ? t : D) : n(v);
|
|
16757
16765
|
}
|
|
16758
|
-
function
|
|
16759
|
-
return be(
|
|
16766
|
+
function k(v) {
|
|
16767
|
+
return be(v) ? (e.consume(v), k) : A(v);
|
|
16760
16768
|
}
|
|
16761
|
-
function
|
|
16762
|
-
return
|
|
16769
|
+
function w(v) {
|
|
16770
|
+
return v === 47 ? (e.consume(v), A) : v === 58 || v === 95 || ht(v) ? (e.consume(v), C) : be(v) ? (e.consume(v), w) : A(v);
|
|
16763
16771
|
}
|
|
16764
|
-
function C(
|
|
16765
|
-
return
|
|
16772
|
+
function C(v) {
|
|
16773
|
+
return v === 45 || v === 46 || v === 58 || v === 95 || lt(v) ? (e.consume(v), C) : R(v);
|
|
16766
16774
|
}
|
|
16767
|
-
function R(
|
|
16768
|
-
return
|
|
16775
|
+
function R(v) {
|
|
16776
|
+
return v === 61 ? (e.consume(v), y) : be(v) ? (e.consume(v), R) : w(v);
|
|
16769
16777
|
}
|
|
16770
|
-
function v
|
|
16771
|
-
return
|
|
16778
|
+
function y(v) {
|
|
16779
|
+
return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), l = v, $) : be(v) ? (e.consume(v), y) : L(v);
|
|
16772
16780
|
}
|
|
16773
|
-
function $(
|
|
16774
|
-
return
|
|
16781
|
+
function $(v) {
|
|
16782
|
+
return v === l ? (e.consume(v), l = null, q) : v === null || ae(v) ? n(v) : (e.consume(v), $);
|
|
16775
16783
|
}
|
|
16776
|
-
function L(
|
|
16777
|
-
return
|
|
16784
|
+
function L(v) {
|
|
16785
|
+
return v === null || v === 34 || v === 39 || v === 47 || v === 60 || v === 61 || v === 62 || v === 96 || Re(v) ? R(v) : (e.consume(v), L);
|
|
16778
16786
|
}
|
|
16779
|
-
function q(
|
|
16780
|
-
return
|
|
16787
|
+
function q(v) {
|
|
16788
|
+
return v === 47 || v === 62 || be(v) ? w(v) : n(v);
|
|
16781
16789
|
}
|
|
16782
|
-
function A(
|
|
16783
|
-
return
|
|
16790
|
+
function A(v) {
|
|
16791
|
+
return v === 62 ? (e.consume(v), X) : n(v);
|
|
16784
16792
|
}
|
|
16785
|
-
function X(
|
|
16786
|
-
return
|
|
16793
|
+
function X(v) {
|
|
16794
|
+
return v === null || ae(v) ? D(v) : be(v) ? (e.consume(v), X) : n(v);
|
|
16787
16795
|
}
|
|
16788
|
-
function D(
|
|
16789
|
-
return
|
|
16796
|
+
function D(v) {
|
|
16797
|
+
return v === 45 && i === 2 ? (e.consume(v), V) : v === 60 && i === 1 ? (e.consume(v), J) : v === 62 && i === 4 ? (e.consume(v), Se) : v === 63 && i === 3 ? (e.consume(v), P) : v === 93 && i === 5 ? (e.consume(v), ie) : ae(v) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Sy, ye, Y)(v)) : v === null || ae(v) ? (e.exit("htmlFlowData"), Y(v)) : (e.consume(v), D);
|
|
16790
16798
|
}
|
|
16791
|
-
function Y(
|
|
16792
|
-
return e.check(ky, z, ye)(
|
|
16799
|
+
function Y(v) {
|
|
16800
|
+
return e.check(ky, z, ye)(v);
|
|
16793
16801
|
}
|
|
16794
|
-
function z(
|
|
16795
|
-
return e.enter("lineEnding"), e.consume(
|
|
16802
|
+
function z(v) {
|
|
16803
|
+
return e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), N;
|
|
16796
16804
|
}
|
|
16797
|
-
function N(
|
|
16798
|
-
return
|
|
16805
|
+
function N(v) {
|
|
16806
|
+
return v === null || ae(v) ? Y(v) : (e.enter("htmlFlowData"), D(v));
|
|
16799
16807
|
}
|
|
16800
|
-
function V(
|
|
16801
|
-
return
|
|
16808
|
+
function V(v) {
|
|
16809
|
+
return v === 45 ? (e.consume(v), P) : D(v);
|
|
16802
16810
|
}
|
|
16803
|
-
function J(
|
|
16804
|
-
return
|
|
16811
|
+
function J(v) {
|
|
16812
|
+
return v === 47 ? (e.consume(v), s = "", Z) : D(v);
|
|
16805
16813
|
}
|
|
16806
|
-
function Z(
|
|
16807
|
-
if (
|
|
16814
|
+
function Z(v) {
|
|
16815
|
+
if (v === 62) {
|
|
16808
16816
|
const ue = s.toLowerCase();
|
|
16809
|
-
return pd.includes(ue) ? (e.consume(
|
|
16817
|
+
return pd.includes(ue) ? (e.consume(v), Se) : D(v);
|
|
16810
16818
|
}
|
|
16811
|
-
return ht(
|
|
16819
|
+
return ht(v) && s.length < 8 ? (e.consume(v), s += String.fromCharCode(v), Z) : D(v);
|
|
16812
16820
|
}
|
|
16813
|
-
function ie(
|
|
16814
|
-
return
|
|
16821
|
+
function ie(v) {
|
|
16822
|
+
return v === 93 ? (e.consume(v), P) : D(v);
|
|
16815
16823
|
}
|
|
16816
|
-
function P(
|
|
16817
|
-
return
|
|
16824
|
+
function P(v) {
|
|
16825
|
+
return v === 62 ? (e.consume(v), Se) : v === 45 && i === 2 ? (e.consume(v), P) : D(v);
|
|
16818
16826
|
}
|
|
16819
|
-
function Se(
|
|
16820
|
-
return
|
|
16827
|
+
function Se(v) {
|
|
16828
|
+
return v === null || ae(v) ? (e.exit("htmlFlowData"), ye(v)) : (e.consume(v), Se);
|
|
16821
16829
|
}
|
|
16822
|
-
function ye(
|
|
16823
|
-
return e.exit("htmlFlow"), t(
|
|
16830
|
+
function ye(v) {
|
|
16831
|
+
return e.exit("htmlFlow"), t(v);
|
|
16824
16832
|
}
|
|
16825
16833
|
}
|
|
16826
16834
|
function yy(e, t, n) {
|
|
@@ -16851,10 +16859,10 @@ function _y(e, t, n) {
|
|
|
16851
16859
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(P), l;
|
|
16852
16860
|
}
|
|
16853
16861
|
function l(P) {
|
|
16854
|
-
return P === 33 ? (e.consume(P), u) : P === 47 ? (e.consume(P), R) : P === 63 ? (e.consume(P),
|
|
16862
|
+
return P === 33 ? (e.consume(P), u) : P === 47 ? (e.consume(P), R) : P === 63 ? (e.consume(P), w) : ht(P) ? (e.consume(P), L) : n(P);
|
|
16855
16863
|
}
|
|
16856
16864
|
function u(P) {
|
|
16857
|
-
return P === 45 ? (e.consume(P), c) : P === 91 ? (e.consume(P), a = 0, m) : ht(P) ? (e.consume(P),
|
|
16865
|
+
return P === 45 ? (e.consume(P), c) : P === 91 ? (e.consume(P), a = 0, m) : ht(P) ? (e.consume(P), k) : n(P);
|
|
16858
16866
|
}
|
|
16859
16867
|
function c(P) {
|
|
16860
16868
|
return P === 45 ? (e.consume(P), f) : n(P);
|
|
@@ -16881,20 +16889,20 @@ function _y(e, t, n) {
|
|
|
16881
16889
|
function g(P) {
|
|
16882
16890
|
return P === 62 ? V(P) : P === 93 ? (e.consume(P), g) : p(P);
|
|
16883
16891
|
}
|
|
16884
|
-
function w(P) {
|
|
16885
|
-
return P === null || P === 62 ? V(P) : ae(P) ? (s = w, J(P)) : (e.consume(P), w);
|
|
16886
|
-
}
|
|
16887
16892
|
function k(P) {
|
|
16888
|
-
return P === null
|
|
16893
|
+
return P === null || P === 62 ? V(P) : ae(P) ? (s = k, J(P)) : (e.consume(P), k);
|
|
16894
|
+
}
|
|
16895
|
+
function w(P) {
|
|
16896
|
+
return P === null ? n(P) : P === 63 ? (e.consume(P), C) : ae(P) ? (s = w, J(P)) : (e.consume(P), w);
|
|
16889
16897
|
}
|
|
16890
16898
|
function C(P) {
|
|
16891
|
-
return P === 62 ? V(P) :
|
|
16899
|
+
return P === 62 ? V(P) : w(P);
|
|
16892
16900
|
}
|
|
16893
16901
|
function R(P) {
|
|
16894
|
-
return ht(P) ? (e.consume(P),
|
|
16902
|
+
return ht(P) ? (e.consume(P), y) : n(P);
|
|
16895
16903
|
}
|
|
16896
|
-
function
|
|
16897
|
-
return P === 45 || lt(P) ? (e.consume(P),
|
|
16904
|
+
function y(P) {
|
|
16905
|
+
return P === 45 || lt(P) ? (e.consume(P), y) : $(P);
|
|
16898
16906
|
}
|
|
16899
16907
|
function $(P) {
|
|
16900
16908
|
return ae(P) ? (s = $, J(P)) : be(P) ? (e.consume(P), $) : V(P);
|
|
@@ -17632,8 +17640,8 @@ function hv(e, t, n) {
|
|
|
17632
17640
|
z === "linePrefix") X--;
|
|
17633
17641
|
else break;
|
|
17634
17642
|
}
|
|
17635
|
-
const D = X > -1 ? r.events[X][1].type : null, Y = D === "tableHead" || D === "tableRow" ?
|
|
17636
|
-
return Y ===
|
|
17643
|
+
const D = X > -1 ? r.events[X][1].type : null, Y = D === "tableHead" || D === "tableRow" ? y : l;
|
|
17644
|
+
return Y === y && r.parser.lazy[r.now().line] ? n(A) : Y(A);
|
|
17637
17645
|
}
|
|
17638
17646
|
function l(A) {
|
|
17639
17647
|
return e.enter("tableHead"), e.enter("tableRow"), u(A);
|
|
@@ -17663,12 +17671,12 @@ function hv(e, t, n) {
|
|
|
17663
17671
|
return A === 58 ? (a += 1, s = !0, e.enter("tableDelimiterMarker"), e.consume(A), e.exit("tableDelimiterMarker"), g) : A === 45 ? (a += 1, g(A)) : A === null || ae(A) ? C(A) : R(A);
|
|
17664
17672
|
}
|
|
17665
17673
|
function g(A) {
|
|
17666
|
-
return A === 45 ? (e.enter("tableDelimiterFiller"),
|
|
17667
|
-
}
|
|
17668
|
-
function w(A) {
|
|
17669
|
-
return A === 45 ? (e.consume(A), w) : A === 58 ? (s = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(A), e.exit("tableDelimiterMarker"), k) : (e.exit("tableDelimiterFiller"), k(A));
|
|
17674
|
+
return A === 45 ? (e.enter("tableDelimiterFiller"), k(A)) : R(A);
|
|
17670
17675
|
}
|
|
17671
17676
|
function k(A) {
|
|
17677
|
+
return A === 45 ? (e.consume(A), k) : A === 58 ? (s = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(A), e.exit("tableDelimiterMarker"), w) : (e.exit("tableDelimiterFiller"), w(A));
|
|
17678
|
+
}
|
|
17679
|
+
function w(A) {
|
|
17672
17680
|
return be(A) ? we(e, C, "whitespace")(A) : C(A);
|
|
17673
17681
|
}
|
|
17674
17682
|
function C(A) {
|
|
@@ -17677,7 +17685,7 @@ function hv(e, t, n) {
|
|
|
17677
17685
|
function R(A) {
|
|
17678
17686
|
return n(A);
|
|
17679
17687
|
}
|
|
17680
|
-
function
|
|
17688
|
+
function y(A) {
|
|
17681
17689
|
return e.enter("tableRow"), $(A);
|
|
17682
17690
|
}
|
|
17683
17691
|
function $(A) {
|
|
@@ -18892,7 +18900,7 @@ function Su(e) {
|
|
|
18892
18900
|
function Pv(e) {
|
|
18893
18901
|
var t;
|
|
18894
18902
|
let { buffer: n, nodeSet: r, maxBufferLength: i = Lp, reused: a = [], minRepeatType: s = r.types.length } = e, o = Array.isArray(n) ? new xu(n, n.length) : n, l = r.types, u = 0, c = 0;
|
|
18895
|
-
function d(R,
|
|
18903
|
+
function d(R, y, $, L, q, A) {
|
|
18896
18904
|
let { id: X, start: D, end: Y, size: z } = o, N = c, V = u;
|
|
18897
18905
|
if (z < 0)
|
|
18898
18906
|
if (o.next(), z == -1) {
|
|
@@ -18908,28 +18916,28 @@ function Pv(e) {
|
|
|
18908
18916
|
} else
|
|
18909
18917
|
throw new RangeError(`Unrecognized record size: ${z}`);
|
|
18910
18918
|
let J = l[X], Z, ie, P = D - R;
|
|
18911
|
-
if (Y - D <= i && (ie = T(o.pos -
|
|
18912
|
-
let Se = new Uint16Array(ie.size - ie.skip), ye = o.pos - ie.size,
|
|
18919
|
+
if (Y - D <= i && (ie = T(o.pos - y, q))) {
|
|
18920
|
+
let Se = new Uint16Array(ie.size - ie.skip), ye = o.pos - ie.size, v = Se.length;
|
|
18913
18921
|
for (; o.pos > ye; )
|
|
18914
|
-
|
|
18922
|
+
v = g(ie.start, Se, v);
|
|
18915
18923
|
Z = new Wn(Se, Y - ie.start, r), P = ie.start - R;
|
|
18916
18924
|
} else {
|
|
18917
18925
|
let Se = o.pos - z;
|
|
18918
18926
|
o.next();
|
|
18919
|
-
let ye = [],
|
|
18927
|
+
let ye = [], v = [], ue = X >= s ? X : -1, Ne = 0, Ee = Y;
|
|
18920
18928
|
for (; o.pos > Se; )
|
|
18921
|
-
ue >= 0 && o.id == ue && o.size >= 0 ? (o.end <= Ee - i && (m(ye,
|
|
18922
|
-
if (ue >= 0 && Ne > 0 && Ne < ye.length && m(ye,
|
|
18929
|
+
ue >= 0 && o.id == ue && o.size >= 0 ? (o.end <= Ee - i && (m(ye, v, D, Ne, o.end, Ee, ue, N, V), Ne = ye.length, Ee = o.end), o.next()) : A > 2500 ? h(D, Se, ye, v) : d(D, Se, ye, v, ue, A + 1);
|
|
18930
|
+
if (ue >= 0 && Ne > 0 && Ne < ye.length && m(ye, v, D, Ne, D, Ee, ue, N, V), ye.reverse(), v.reverse(), ue > -1 && Ne > 0) {
|
|
18923
18931
|
let K = f(J, V);
|
|
18924
|
-
Z = ku(J, ye,
|
|
18932
|
+
Z = ku(J, ye, v, 0, ye.length, 0, Y - D, K, K);
|
|
18925
18933
|
} else
|
|
18926
|
-
Z = p(J, ye,
|
|
18934
|
+
Z = p(J, ye, v, Y - D, N - Y, V);
|
|
18927
18935
|
}
|
|
18928
18936
|
$.push(Z), L.push(P);
|
|
18929
18937
|
}
|
|
18930
|
-
function h(R,
|
|
18938
|
+
function h(R, y, $, L) {
|
|
18931
18939
|
let q = [], A = 0, X = -1;
|
|
18932
|
-
for (; o.pos >
|
|
18940
|
+
for (; o.pos > y; ) {
|
|
18933
18941
|
let { id: D, start: Y, end: z, size: N } = o;
|
|
18934
18942
|
if (N > 4)
|
|
18935
18943
|
o.next();
|
|
@@ -18946,7 +18954,7 @@ function Pv(e) {
|
|
|
18946
18954
|
$.push(new Wn(D, q[2] - Y, r)), L.push(Y - R);
|
|
18947
18955
|
}
|
|
18948
18956
|
}
|
|
18949
|
-
function f(R,
|
|
18957
|
+
function f(R, y) {
|
|
18950
18958
|
return ($, L, q) => {
|
|
18951
18959
|
let A = 0, X = $.length - 1, D, Y;
|
|
18952
18960
|
if (X >= 0 && (D = $[X]) instanceof qe) {
|
|
@@ -18954,16 +18962,16 @@ function Pv(e) {
|
|
|
18954
18962
|
return D;
|
|
18955
18963
|
(Y = D.prop(Pe.lookAhead)) && (A = L[X] + D.length + Y);
|
|
18956
18964
|
}
|
|
18957
|
-
return p(R, $, L, q, A,
|
|
18965
|
+
return p(R, $, L, q, A, y);
|
|
18958
18966
|
};
|
|
18959
18967
|
}
|
|
18960
|
-
function m(R,
|
|
18968
|
+
function m(R, y, $, L, q, A, X, D, Y) {
|
|
18961
18969
|
let z = [], N = [];
|
|
18962
18970
|
for (; R.length > L; )
|
|
18963
|
-
z.push(R.pop()), N.push(
|
|
18964
|
-
R.push(p(r.types[X], z, N, A - q, D - A, Y)),
|
|
18971
|
+
z.push(R.pop()), N.push(y.pop() + $ - q);
|
|
18972
|
+
R.push(p(r.types[X], z, N, A - q, D - A, Y)), y.push(q - $);
|
|
18965
18973
|
}
|
|
18966
|
-
function p(R,
|
|
18974
|
+
function p(R, y, $, L, q, A, X) {
|
|
18967
18975
|
if (A) {
|
|
18968
18976
|
let D = [Pe.contextHash, A];
|
|
18969
18977
|
X = X ? [D].concat(X) : [D];
|
|
@@ -18972,13 +18980,13 @@ function Pv(e) {
|
|
|
18972
18980
|
let D = [Pe.lookAhead, q];
|
|
18973
18981
|
X = X ? [D].concat(X) : [D];
|
|
18974
18982
|
}
|
|
18975
|
-
return new qe(R,
|
|
18983
|
+
return new qe(R, y, $, L, X);
|
|
18976
18984
|
}
|
|
18977
|
-
function T(R,
|
|
18985
|
+
function T(R, y) {
|
|
18978
18986
|
let $ = o.fork(), L = 0, q = 0, A = 0, X = $.end - i, D = { size: 0, start: 0, skip: 0 };
|
|
18979
18987
|
e: for (let Y = $.pos - R; $.pos > Y; ) {
|
|
18980
18988
|
let z = $.size;
|
|
18981
|
-
if ($.id ==
|
|
18989
|
+
if ($.id == y && z >= 0) {
|
|
18982
18990
|
D.size = L, D.start = q, D.skip = A, A += 4, L += 4, $.next();
|
|
18983
18991
|
continue;
|
|
18984
18992
|
}
|
|
@@ -18997,26 +19005,26 @@ function Pv(e) {
|
|
|
18997
19005
|
}
|
|
18998
19006
|
q = J, L += z, A += V;
|
|
18999
19007
|
}
|
|
19000
|
-
return (
|
|
19008
|
+
return (y < 0 || L == R) && (D.size = L, D.start = q, D.skip = A), D.size > 4 ? D : void 0;
|
|
19001
19009
|
}
|
|
19002
|
-
function g(R,
|
|
19010
|
+
function g(R, y, $) {
|
|
19003
19011
|
let { id: L, start: q, end: A, size: X } = o;
|
|
19004
19012
|
if (o.next(), X >= 0 && L < s) {
|
|
19005
19013
|
let D = $;
|
|
19006
19014
|
if (X > 4) {
|
|
19007
19015
|
let Y = o.pos - (X - 4);
|
|
19008
19016
|
for (; o.pos > Y; )
|
|
19009
|
-
$ = g(R,
|
|
19017
|
+
$ = g(R, y, $);
|
|
19010
19018
|
}
|
|
19011
|
-
|
|
19019
|
+
y[--$] = D, y[--$] = A - R, y[--$] = q - R, y[--$] = L;
|
|
19012
19020
|
} else X == -3 ? u = L : X == -4 && (c = L);
|
|
19013
19021
|
return $;
|
|
19014
19022
|
}
|
|
19015
|
-
let
|
|
19023
|
+
let k = [], w = [];
|
|
19016
19024
|
for (; o.pos > 0; )
|
|
19017
|
-
d(e.start || 0, e.bufferStart || 0,
|
|
19018
|
-
let C = (t = e.length) !== null && t !== void 0 ? t :
|
|
19019
|
-
return new qe(l[e.topID],
|
|
19025
|
+
d(e.start || 0, e.bufferStart || 0, k, w, -1, 0);
|
|
19026
|
+
let C = (t = e.length) !== null && t !== void 0 ? t : k.length ? w[0] + k[0].length : 0;
|
|
19027
|
+
return new qe(l[e.topID], k.reverse(), w.reverse(), C);
|
|
19020
19028
|
}
|
|
19021
19029
|
const xd = /* @__PURE__ */ new WeakMap();
|
|
19022
19030
|
function Za(e, t) {
|
|
@@ -19044,27 +19052,27 @@ function ku(e, t, n, r, i, a, s, o, l) {
|
|
|
19044
19052
|
u * 1.5 / 8
|
|
19045
19053
|
/* Balance.BranchFactor */
|
|
19046
19054
|
), d = [], h = [];
|
|
19047
|
-
function f(m, p, T, g,
|
|
19048
|
-
for (let
|
|
19049
|
-
let C =
|
|
19050
|
-
for (
|
|
19051
|
-
let $ = Za(e, m[
|
|
19052
|
-
if (
|
|
19055
|
+
function f(m, p, T, g, k) {
|
|
19056
|
+
for (let w = T; w < g; ) {
|
|
19057
|
+
let C = w, R = p[w], y = Za(e, m[w]);
|
|
19058
|
+
for (w++; w < g; w++) {
|
|
19059
|
+
let $ = Za(e, m[w]);
|
|
19060
|
+
if (y + $ >= c)
|
|
19053
19061
|
break;
|
|
19054
|
-
|
|
19062
|
+
y += $;
|
|
19055
19063
|
}
|
|
19056
|
-
if (
|
|
19057
|
-
if (
|
|
19064
|
+
if (w == C + 1) {
|
|
19065
|
+
if (y > c) {
|
|
19058
19066
|
let $ = m[C];
|
|
19059
|
-
f($.children, $.positions, 0, $.children.length, p[C] +
|
|
19067
|
+
f($.children, $.positions, 0, $.children.length, p[C] + k);
|
|
19060
19068
|
continue;
|
|
19061
19069
|
}
|
|
19062
19070
|
d.push(m[C]);
|
|
19063
19071
|
} else {
|
|
19064
|
-
let $ = p[
|
|
19065
|
-
d.push(ku(e, m, p, C,
|
|
19072
|
+
let $ = p[w - 1] + m[w - 1].length - R;
|
|
19073
|
+
d.push(ku(e, m, p, C, w, R, $, null, l));
|
|
19066
19074
|
}
|
|
19067
|
-
h.push(R +
|
|
19075
|
+
h.push(R + k - a);
|
|
19068
19076
|
}
|
|
19069
19077
|
}
|
|
19070
19078
|
return f(t, n, r, i, 0), (o || l)(d, h, s);
|
|
@@ -19309,13 +19317,13 @@ class Lv {
|
|
|
19309
19317
|
if (h && h.overlay) {
|
|
19310
19318
|
let f = t.node.enter(h.overlay[0].from + o, 1), m = this.highlighters.filter((T) => !T.scope || T.scope(h.tree.type)), p = t.firstChild();
|
|
19311
19319
|
for (let T = 0, g = o; ; T++) {
|
|
19312
|
-
let
|
|
19320
|
+
let k = T < h.overlay.length ? h.overlay[T] : null, w = k ? k.from + o : l, C = Math.max(n, g), R = Math.min(r, w);
|
|
19313
19321
|
if (C < R && p)
|
|
19314
|
-
for (; t.from < R && (this.highlightRange(t, C, R, i, a), this.startSpan(Math.min(R, t.to), u), !(t.to >=
|
|
19322
|
+
for (; t.from < R && (this.highlightRange(t, C, R, i, a), this.startSpan(Math.min(R, t.to), u), !(t.to >= w || !t.nextSibling())); )
|
|
19315
19323
|
;
|
|
19316
|
-
if (!
|
|
19324
|
+
if (!k || w > r)
|
|
19317
19325
|
break;
|
|
19318
|
-
g =
|
|
19326
|
+
g = k.to + o, g > n && (this.highlightRange(f.cursor(), Math.max(n, k.from + o), Math.min(r, g), "", m), this.startSpan(Math.min(r, g), u));
|
|
19319
19327
|
}
|
|
19320
19328
|
p && t.parent();
|
|
19321
19329
|
} else if (t.firstChild()) {
|
|
@@ -19776,28 +19784,28 @@ function Fv() {
|
|
|
19776
19784
|
throw new TypeError("First argument must be a string");
|
|
19777
19785
|
if (!T) return [];
|
|
19778
19786
|
g = g || {};
|
|
19779
|
-
var
|
|
19787
|
+
var k = 1, w = 1;
|
|
19780
19788
|
function C(z) {
|
|
19781
19789
|
var N = z.match(t);
|
|
19782
|
-
N && (
|
|
19790
|
+
N && (k += N.length);
|
|
19783
19791
|
var V = z.lastIndexOf(l);
|
|
19784
|
-
|
|
19792
|
+
w = ~V ? z.length - V : w + z.length;
|
|
19785
19793
|
}
|
|
19786
19794
|
function R() {
|
|
19787
|
-
var z = { line:
|
|
19795
|
+
var z = { line: k, column: w };
|
|
19788
19796
|
return function(N) {
|
|
19789
|
-
return N.position = new
|
|
19797
|
+
return N.position = new y(z), q(), N;
|
|
19790
19798
|
};
|
|
19791
19799
|
}
|
|
19792
|
-
function
|
|
19793
|
-
this.start = z, this.end = { line:
|
|
19800
|
+
function y(z) {
|
|
19801
|
+
this.start = z, this.end = { line: k, column: w }, this.source = g.source;
|
|
19794
19802
|
}
|
|
19795
|
-
|
|
19803
|
+
y.prototype.content = T;
|
|
19796
19804
|
function $(z) {
|
|
19797
19805
|
var N = new Error(
|
|
19798
|
-
g.source + ":" +
|
|
19806
|
+
g.source + ":" + k + ":" + w + ": " + z
|
|
19799
19807
|
);
|
|
19800
|
-
if (N.reason = z, N.filename = g.source, N.line =
|
|
19808
|
+
if (N.reason = z, N.filename = g.source, N.line = k, N.column = w, N.source = T, !g.silent) throw N;
|
|
19801
19809
|
}
|
|
19802
19810
|
function L(z) {
|
|
19803
19811
|
var N = z.exec(T);
|
|
@@ -19823,7 +19831,7 @@ function Fv() {
|
|
|
19823
19831
|
if (N += 2, d === T.charAt(N - 1))
|
|
19824
19832
|
return $("End of comment missing");
|
|
19825
19833
|
var V = T.slice(2, N - 2);
|
|
19826
|
-
return
|
|
19834
|
+
return w += 2, C(V), T = T.slice(N), w += 2, z({
|
|
19827
19835
|
type: h,
|
|
19828
19836
|
comment: V
|
|
19829
19837
|
});
|
|
@@ -22722,16 +22730,16 @@ class Ru extends zp {
|
|
|
22722
22730
|
i = Object.assign({}, i);
|
|
22723
22731
|
let h = r.types.slice(), f;
|
|
22724
22732
|
for (let m of n.defineNodes) {
|
|
22725
|
-
let { name: p, block: T, composite: g, style:
|
|
22733
|
+
let { name: p, block: T, composite: g, style: k } = typeof m == "string" ? { name: m } : m;
|
|
22726
22734
|
if (h.some((R) => R.name == p))
|
|
22727
22735
|
continue;
|
|
22728
|
-
g && (i[h.length] = (R,
|
|
22729
|
-
let
|
|
22736
|
+
g && (i[h.length] = (R, y, $) => g(y, $, R.value));
|
|
22737
|
+
let w = h.length, C = g ? ["Block", "BlockContext"] : T ? w >= H.ATXHeading1 && w <= H.SetextHeading2 ? ["Block", "LeafBlock", "Heading"] : ["Block", "LeafBlock"] : void 0;
|
|
22730
22738
|
h.push(pt.define({
|
|
22731
|
-
id:
|
|
22739
|
+
id: w,
|
|
22732
22740
|
name: p,
|
|
22733
22741
|
props: C && [[Pe.group, C]]
|
|
22734
|
-
})),
|
|
22742
|
+
})), k && (f || (f = {}), Array.isArray(k) || k instanceof tn ? f[p] = k : Object.assign(f, k));
|
|
22735
22743
|
}
|
|
22736
22744
|
r = new oa(h), f && (r = r.extend(Jn(f)));
|
|
22737
22745
|
}
|
|
@@ -23974,7 +23982,7 @@ function KC({
|
|
|
23974
23982
|
return /* @__PURE__ */ b(
|
|
23975
23983
|
"div",
|
|
23976
23984
|
{
|
|
23977
|
-
className:
|
|
23985
|
+
className: Oe(
|
|
23978
23986
|
"group relative my-4 self-stretch rounded-bubble bg-base-active shadow-header overflow-hidden",
|
|
23979
23987
|
t
|
|
23980
23988
|
),
|
|
@@ -23991,7 +23999,7 @@ function JC({
|
|
|
23991
23999
|
return /* @__PURE__ */ b(
|
|
23992
24000
|
"div",
|
|
23993
24001
|
{
|
|
23994
|
-
className:
|
|
24002
|
+
className: Oe(
|
|
23995
24003
|
"absolute top-1 right-1 z-10 flex items-center gap-1 transition-opacity duration-200 ease-out opacity-0 pointer-events-none group-hover:opacity-100 group-hover:pointer-events-auto group-focus-within:opacity-100 group-focus-within:pointer-events-auto",
|
|
23996
24004
|
t
|
|
23997
24005
|
),
|
|
@@ -24042,18 +24050,18 @@ const yn = Object.assign(KC, {
|
|
|
24042
24050
|
}
|
|
24043
24051
|
)
|
|
24044
24052
|
] }),
|
|
24045
|
-
/* @__PURE__ */ b(yn.Content, { className:
|
|
24053
|
+
/* @__PURE__ */ b(yn.Content, { className: Oe(u.value ? "overflow-x-hidden" : "overflow-x-auto"), children: /* @__PURE__ */ b(
|
|
24046
24054
|
"div",
|
|
24047
24055
|
{
|
|
24048
|
-
className:
|
|
24056
|
+
className: Oe("pt-1.5 pb-2", n),
|
|
24049
24057
|
"data-code-block": !0,
|
|
24050
24058
|
"data-language": t,
|
|
24051
24059
|
"data-syntax-theme": c.value,
|
|
24052
24060
|
...r,
|
|
24053
|
-
children: /* @__PURE__ */ b("pre", { className:
|
|
24061
|
+
children: /* @__PURE__ */ b("pre", { className: Oe(
|
|
24054
24062
|
"m-0 font-mono text-[13px] px-4 py-1.5",
|
|
24055
24063
|
u.value ? "whitespace-pre-wrap overflow-x-hidden" : "whitespace-pre overflow-x-auto"
|
|
24056
|
-
), children: /* @__PURE__ */ b("code", { className:
|
|
24064
|
+
), children: /* @__PURE__ */ b("code", { className: Oe(
|
|
24057
24065
|
"block",
|
|
24058
24066
|
u.value ? "whitespace-pre-wrap break-all" : "whitespace-pre"
|
|
24059
24067
|
), children: /* @__PURE__ */ b(GC, { code: e, language: i }) }) })
|
|
@@ -24148,7 +24156,7 @@ const a3 = ({
|
|
|
24148
24156
|
"img",
|
|
24149
24157
|
{
|
|
24150
24158
|
alt: r,
|
|
24151
|
-
className:
|
|
24159
|
+
className: Oe("max-w-full", t),
|
|
24152
24160
|
"data-streamdown": "image",
|
|
24153
24161
|
src: n,
|
|
24154
24162
|
...i
|
|
@@ -24252,7 +24260,7 @@ const u3 = ({
|
|
|
24252
24260
|
/* @__PURE__ */ b(yn.Content, { className: "overflow-x-auto", children: /* @__PURE__ */ b(
|
|
24253
24261
|
"table",
|
|
24254
24262
|
{
|
|
24255
|
-
className:
|
|
24263
|
+
className: Oe(
|
|
24256
24264
|
"w-full border-collapse border border-base-border",
|
|
24257
24265
|
t
|
|
24258
24266
|
),
|
|
@@ -24278,7 +24286,7 @@ const Xu = _e(
|
|
|
24278
24286
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24279
24287
|
"ol",
|
|
24280
24288
|
{
|
|
24281
|
-
className:
|
|
24289
|
+
className: Oe(
|
|
24282
24290
|
"ml-4 mb-2 list-outside list-decimal whitespace-normal text-sm",
|
|
24283
24291
|
t
|
|
24284
24292
|
),
|
|
@@ -24294,7 +24302,7 @@ const D0 = _e(
|
|
|
24294
24302
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24295
24303
|
"li",
|
|
24296
24304
|
{
|
|
24297
|
-
className:
|
|
24305
|
+
className: Oe("py-1", t),
|
|
24298
24306
|
"data-streamdown": "list-item",
|
|
24299
24307
|
...r,
|
|
24300
24308
|
children: e
|
|
@@ -24307,7 +24315,7 @@ const M0 = _e(
|
|
|
24307
24315
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24308
24316
|
"ul",
|
|
24309
24317
|
{
|
|
24310
|
-
className:
|
|
24318
|
+
className: Oe(
|
|
24311
24319
|
"ml-4 list-outside list-disc whitespace-normal text-sm",
|
|
24312
24320
|
t
|
|
24313
24321
|
),
|
|
@@ -24323,7 +24331,7 @@ const X0 = _e(
|
|
|
24323
24331
|
({ className: e, node: t, ...n }) => /* @__PURE__ */ b(
|
|
24324
24332
|
"hr",
|
|
24325
24333
|
{
|
|
24326
|
-
className:
|
|
24334
|
+
className: Oe("my-6 border-base-border", e),
|
|
24327
24335
|
"data-streamdown": "horizontal-rule",
|
|
24328
24336
|
...n
|
|
24329
24337
|
}
|
|
@@ -24335,7 +24343,7 @@ const z0 = _e(
|
|
|
24335
24343
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24336
24344
|
"span",
|
|
24337
24345
|
{
|
|
24338
|
-
className:
|
|
24346
|
+
className: Oe("font-medium", t),
|
|
24339
24347
|
"data-streamdown": "strong",
|
|
24340
24348
|
...r,
|
|
24341
24349
|
children: e
|
|
@@ -24350,7 +24358,7 @@ const B0 = _e(
|
|
|
24350
24358
|
return /* @__PURE__ */ b(
|
|
24351
24359
|
"a",
|
|
24352
24360
|
{
|
|
24353
|
-
className:
|
|
24361
|
+
className: Oe("wrap-anywhere font-medium underline", t),
|
|
24354
24362
|
"data-incomplete": a,
|
|
24355
24363
|
"data-streamdown": "link",
|
|
24356
24364
|
href: n,
|
|
@@ -24368,7 +24376,7 @@ const Z0 = _e(
|
|
|
24368
24376
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24369
24377
|
"h1",
|
|
24370
24378
|
{
|
|
24371
|
-
className:
|
|
24379
|
+
className: Oe(
|
|
24372
24380
|
"mt-6 mb-2 text-base-primary font-semibold text-xl",
|
|
24373
24381
|
t
|
|
24374
24382
|
),
|
|
@@ -24384,7 +24392,7 @@ const q0 = _e(
|
|
|
24384
24392
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24385
24393
|
"h2",
|
|
24386
24394
|
{
|
|
24387
|
-
className:
|
|
24395
|
+
className: Oe(
|
|
24388
24396
|
"mt-3 mb-2 text-base-primary font-semibold text-lg",
|
|
24389
24397
|
t
|
|
24390
24398
|
),
|
|
@@ -24400,7 +24408,7 @@ const U0 = _e(
|
|
|
24400
24408
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24401
24409
|
"h3",
|
|
24402
24410
|
{
|
|
24403
|
-
className:
|
|
24411
|
+
className: Oe(
|
|
24404
24412
|
"mt-3 mb-1 text-base-primary font-semibold text-md",
|
|
24405
24413
|
t
|
|
24406
24414
|
),
|
|
@@ -24416,7 +24424,7 @@ const F0 = _e(
|
|
|
24416
24424
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24417
24425
|
"h4",
|
|
24418
24426
|
{
|
|
24419
|
-
className:
|
|
24427
|
+
className: Oe(
|
|
24420
24428
|
"mt-3 mb-1 text-base-primary font-semibold text-sm",
|
|
24421
24429
|
t
|
|
24422
24430
|
),
|
|
@@ -24432,7 +24440,7 @@ const Y0 = _e(
|
|
|
24432
24440
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24433
24441
|
"h5",
|
|
24434
24442
|
{
|
|
24435
|
-
className:
|
|
24443
|
+
className: Oe(
|
|
24436
24444
|
"mt-3 mb-0.5 text-base-primary font-semibold text-sm",
|
|
24437
24445
|
t
|
|
24438
24446
|
),
|
|
@@ -24448,7 +24456,7 @@ const W0 = _e(
|
|
|
24448
24456
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24449
24457
|
"h6",
|
|
24450
24458
|
{
|
|
24451
|
-
className:
|
|
24459
|
+
className: Oe("mt-3 text-base-primary font-semibold text-sm", t),
|
|
24452
24460
|
"data-streamdown": "heading-6",
|
|
24453
24461
|
...r,
|
|
24454
24462
|
children: e
|
|
@@ -24466,7 +24474,7 @@ const H0 = _e(
|
|
|
24466
24474
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24467
24475
|
"thead",
|
|
24468
24476
|
{
|
|
24469
|
-
className:
|
|
24477
|
+
className: Oe("bg-base-active/80", t),
|
|
24470
24478
|
"data-streamdown": "table-header",
|
|
24471
24479
|
...r,
|
|
24472
24480
|
children: e
|
|
@@ -24479,7 +24487,7 @@ const j0 = _e(
|
|
|
24479
24487
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24480
24488
|
"tbody",
|
|
24481
24489
|
{
|
|
24482
|
-
className:
|
|
24490
|
+
className: Oe("divide-y divide-base-border bg-base-active/40", t),
|
|
24483
24491
|
"data-streamdown": "table-body",
|
|
24484
24492
|
...r,
|
|
24485
24493
|
children: e
|
|
@@ -24492,7 +24500,7 @@ const G0 = _e(
|
|
|
24492
24500
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24493
24501
|
"tr",
|
|
24494
24502
|
{
|
|
24495
|
-
className:
|
|
24503
|
+
className: Oe("border-base-border border-b", t),
|
|
24496
24504
|
"data-streamdown": "table-row",
|
|
24497
24505
|
...r,
|
|
24498
24506
|
children: e
|
|
@@ -24505,7 +24513,7 @@ const K0 = _e(
|
|
|
24505
24513
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24506
24514
|
"th",
|
|
24507
24515
|
{
|
|
24508
|
-
className:
|
|
24516
|
+
className: Oe(
|
|
24509
24517
|
"whitespace-nowrap px-4 py-2 text-left font-medium text-sm",
|
|
24510
24518
|
t
|
|
24511
24519
|
),
|
|
@@ -24521,7 +24529,7 @@ const J0 = _e(
|
|
|
24521
24529
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24522
24530
|
"td",
|
|
24523
24531
|
{
|
|
24524
|
-
className:
|
|
24532
|
+
className: Oe("px-4 py-2 text-sm", t),
|
|
24525
24533
|
"data-streamdown": "table-cell",
|
|
24526
24534
|
...r,
|
|
24527
24535
|
children: e
|
|
@@ -24534,7 +24542,7 @@ const em = _e(
|
|
|
24534
24542
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24535
24543
|
"blockquote",
|
|
24536
24544
|
{
|
|
24537
|
-
className:
|
|
24545
|
+
className: Oe(
|
|
24538
24546
|
"my-4 border-base-subtle/30 border-l-4 pl-4 text-base-subtle italic",
|
|
24539
24547
|
t
|
|
24540
24548
|
),
|
|
@@ -24550,7 +24558,7 @@ const tm = _e(
|
|
|
24550
24558
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24551
24559
|
"sup",
|
|
24552
24560
|
{
|
|
24553
|
-
className:
|
|
24561
|
+
className: Oe("text-sm", t),
|
|
24554
24562
|
"data-streamdown": "superscript",
|
|
24555
24563
|
...r,
|
|
24556
24564
|
children: e
|
|
@@ -24563,7 +24571,7 @@ const nm = _e(
|
|
|
24563
24571
|
({ children: e, className: t, node: n, ...r }) => /* @__PURE__ */ b(
|
|
24564
24572
|
"sub",
|
|
24565
24573
|
{
|
|
24566
|
-
className:
|
|
24574
|
+
className: Oe("text-sm", t),
|
|
24567
24575
|
"data-streamdown": "subscript",
|
|
24568
24576
|
...r,
|
|
24569
24577
|
children: e
|
|
@@ -24636,7 +24644,7 @@ const h3 = ({
|
|
|
24636
24644
|
return /* @__PURE__ */ b(
|
|
24637
24645
|
"code",
|
|
24638
24646
|
{
|
|
24639
|
-
className:
|
|
24647
|
+
className: Oe(
|
|
24640
24648
|
"rounded bg-base-active px-1.5 py-0.5 font-mono text-sm",
|
|
24641
24649
|
t
|
|
24642
24650
|
),
|
|
@@ -24678,7 +24686,7 @@ const sm = _e(
|
|
|
24678
24686
|
return a.some((s) => {
|
|
24679
24687
|
var o, l;
|
|
24680
24688
|
return Xr(s) && ((l = (o = s == null ? void 0 : s.props) == null ? void 0 : o.node) == null ? void 0 : l.tagName) === "img";
|
|
24681
|
-
}) ? a.length === 1 ? /* @__PURE__ */ b(Nt, { children: e }) : /* @__PURE__ */ b("div", { className:
|
|
24689
|
+
}) ? a.length === 1 ? /* @__PURE__ */ b(Nt, { children: e }) : /* @__PURE__ */ b("div", { className: Oe("text-sm", t), ...r, children: e }) : /* @__PURE__ */ b("p", { className: Oe("text-sm mb-3", t), ...r, children: e });
|
|
24682
24690
|
},
|
|
24683
24691
|
(e, t) => Me(e, t)
|
|
24684
24692
|
);
|
|
@@ -24751,83 +24759,83 @@ function b3(e) {
|
|
|
24751
24759
|
const t = this, n = [];
|
|
24752
24760
|
let r = 0, i, a, s;
|
|
24753
24761
|
return o;
|
|
24754
|
-
function o(
|
|
24762
|
+
function o(w) {
|
|
24755
24763
|
if (r < n.length) {
|
|
24756
24764
|
const C = n[r];
|
|
24757
|
-
return t.containerState = C[1], e.attempt(C[0].continuation, l, u)(
|
|
24765
|
+
return t.containerState = C[1], e.attempt(C[0].continuation, l, u)(w);
|
|
24758
24766
|
}
|
|
24759
|
-
return u(
|
|
24767
|
+
return u(w);
|
|
24760
24768
|
}
|
|
24761
|
-
function l(
|
|
24769
|
+
function l(w) {
|
|
24762
24770
|
if (r++, t.containerState._closeFlow) {
|
|
24763
|
-
t.containerState._closeFlow = void 0, i &&
|
|
24771
|
+
t.containerState._closeFlow = void 0, i && k();
|
|
24764
24772
|
const C = t.events.length;
|
|
24765
|
-
let R = C,
|
|
24773
|
+
let R = C, y;
|
|
24766
24774
|
for (; R--; )
|
|
24767
24775
|
if (t.events[R][0] === "exit" && t.events[R][1].type === "chunkFlow") {
|
|
24768
|
-
|
|
24776
|
+
y = t.events[R][1].end;
|
|
24769
24777
|
break;
|
|
24770
24778
|
}
|
|
24771
24779
|
g(r);
|
|
24772
24780
|
let $ = C;
|
|
24773
24781
|
for (; $ < t.events.length; )
|
|
24774
24782
|
t.events[$][1].end = {
|
|
24775
|
-
...
|
|
24783
|
+
...y
|
|
24776
24784
|
}, $++;
|
|
24777
|
-
return it(t.events, R + 1, 0, t.events.slice(C)), t.events.length = $, u(
|
|
24785
|
+
return it(t.events, R + 1, 0, t.events.slice(C)), t.events.length = $, u(w);
|
|
24778
24786
|
}
|
|
24779
|
-
return o(
|
|
24787
|
+
return o(w);
|
|
24780
24788
|
}
|
|
24781
|
-
function u(
|
|
24789
|
+
function u(w) {
|
|
24782
24790
|
if (r === n.length) {
|
|
24783
24791
|
if (!i)
|
|
24784
|
-
return h(
|
|
24792
|
+
return h(w);
|
|
24785
24793
|
if (i.currentConstruct && i.currentConstruct.concrete)
|
|
24786
|
-
return m(
|
|
24794
|
+
return m(w);
|
|
24787
24795
|
t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
|
24788
24796
|
}
|
|
24789
|
-
return t.containerState = {}, e.check(oO, c, d)(
|
|
24797
|
+
return t.containerState = {}, e.check(oO, c, d)(w);
|
|
24790
24798
|
}
|
|
24791
|
-
function c(
|
|
24792
|
-
return i &&
|
|
24799
|
+
function c(w) {
|
|
24800
|
+
return i && k(), g(r), h(w);
|
|
24793
24801
|
}
|
|
24794
|
-
function d(
|
|
24795
|
-
return t.parser.lazy[t.now().line] = r !== n.length, s = t.now().offset, m(
|
|
24802
|
+
function d(w) {
|
|
24803
|
+
return t.parser.lazy[t.now().line] = r !== n.length, s = t.now().offset, m(w);
|
|
24796
24804
|
}
|
|
24797
|
-
function h(
|
|
24798
|
-
return t.containerState = {}, e.attempt(oO, f, m)(
|
|
24805
|
+
function h(w) {
|
|
24806
|
+
return t.containerState = {}, e.attempt(oO, f, m)(w);
|
|
24799
24807
|
}
|
|
24800
|
-
function f(
|
|
24801
|
-
return r++, n.push([t.currentConstruct, t.containerState]), h(
|
|
24808
|
+
function f(w) {
|
|
24809
|
+
return r++, n.push([t.currentConstruct, t.containerState]), h(w);
|
|
24802
24810
|
}
|
|
24803
|
-
function m(
|
|
24804
|
-
if (
|
|
24805
|
-
i &&
|
|
24811
|
+
function m(w) {
|
|
24812
|
+
if (w === null) {
|
|
24813
|
+
i && k(), g(0), e.consume(w);
|
|
24806
24814
|
return;
|
|
24807
24815
|
}
|
|
24808
24816
|
return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
|
24809
24817
|
_tokenizer: i,
|
|
24810
24818
|
contentType: "flow",
|
|
24811
24819
|
previous: a
|
|
24812
|
-
}), p(
|
|
24820
|
+
}), p(w);
|
|
24813
24821
|
}
|
|
24814
|
-
function p(
|
|
24815
|
-
if (
|
|
24816
|
-
T(e.exit("chunkFlow"), !0), g(0), e.consume(
|
|
24822
|
+
function p(w) {
|
|
24823
|
+
if (w === null) {
|
|
24824
|
+
T(e.exit("chunkFlow"), !0), g(0), e.consume(w);
|
|
24817
24825
|
return;
|
|
24818
24826
|
}
|
|
24819
|
-
return ae(
|
|
24827
|
+
return ae(w) ? (e.consume(w), T(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(w), p);
|
|
24820
24828
|
}
|
|
24821
|
-
function T(
|
|
24822
|
-
const R = t.sliceStream(
|
|
24823
|
-
if (C && R.push(null),
|
|
24824
|
-
let
|
|
24825
|
-
for (;
|
|
24829
|
+
function T(w, C) {
|
|
24830
|
+
const R = t.sliceStream(w);
|
|
24831
|
+
if (C && R.push(null), w.previous = a, a && (a.next = w), a = w, i.defineSkip(w.start), i.write(R), t.parser.lazy[w.start.line]) {
|
|
24832
|
+
let y = i.events.length;
|
|
24833
|
+
for (; y--; )
|
|
24826
24834
|
if (
|
|
24827
24835
|
// The token starts before the line ending…
|
|
24828
|
-
i.events[
|
|
24829
|
-
(!i.events[
|
|
24830
|
-
i.events[
|
|
24836
|
+
i.events[y][1].start.offset < s && // …and either is not ended yet…
|
|
24837
|
+
(!i.events[y][1].end || // …or ends after it.
|
|
24838
|
+
i.events[y][1].end.offset > s)
|
|
24831
24839
|
)
|
|
24832
24840
|
return;
|
|
24833
24841
|
const $ = t.events.length;
|
|
@@ -24840,22 +24848,22 @@ function b3(e) {
|
|
|
24840
24848
|
}
|
|
24841
24849
|
q = !0;
|
|
24842
24850
|
}
|
|
24843
|
-
for (g(r),
|
|
24844
|
-
t.events[
|
|
24851
|
+
for (g(r), y = $; y < t.events.length; )
|
|
24852
|
+
t.events[y][1].end = {
|
|
24845
24853
|
...A
|
|
24846
|
-
},
|
|
24847
|
-
it(t.events, L + 1, 0, t.events.slice($)), t.events.length =
|
|
24854
|
+
}, y++;
|
|
24855
|
+
it(t.events, L + 1, 0, t.events.slice($)), t.events.length = y;
|
|
24848
24856
|
}
|
|
24849
24857
|
}
|
|
24850
|
-
function g(
|
|
24858
|
+
function g(w) {
|
|
24851
24859
|
let C = n.length;
|
|
24852
|
-
for (; C-- >
|
|
24860
|
+
for (; C-- > w; ) {
|
|
24853
24861
|
const R = n[C];
|
|
24854
24862
|
t.containerState = R[1], R[0].exit.call(t, e);
|
|
24855
24863
|
}
|
|
24856
|
-
n.length =
|
|
24864
|
+
n.length = w;
|
|
24857
24865
|
}
|
|
24858
|
-
function
|
|
24866
|
+
function k() {
|
|
24859
24867
|
i.write([null]), a = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
|
24860
24868
|
}
|
|
24861
24869
|
}
|
|
@@ -25055,11 +25063,11 @@ function L3(e, t, n) {
|
|
|
25055
25063
|
let s = [], o = [];
|
|
25056
25064
|
const l = {
|
|
25057
25065
|
attempt: $(R),
|
|
25058
|
-
check: $(
|
|
25059
|
-
consume:
|
|
25060
|
-
enter:
|
|
25066
|
+
check: $(y),
|
|
25067
|
+
consume: k,
|
|
25068
|
+
enter: w,
|
|
25061
25069
|
exit: C,
|
|
25062
|
-
interrupt: $(
|
|
25070
|
+
interrupt: $(y, {
|
|
25063
25071
|
interrupt: !0
|
|
25064
25072
|
})
|
|
25065
25073
|
}, u = {
|
|
@@ -25118,13 +25126,13 @@ function L3(e, t, n) {
|
|
|
25118
25126
|
function g(X) {
|
|
25119
25127
|
c = c(X);
|
|
25120
25128
|
}
|
|
25121
|
-
function
|
|
25129
|
+
function k(X) {
|
|
25122
25130
|
ae(X) ? (r.line++, r.column = 1, r.offset += X === -3 ? 2 : 1, A()) : X !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
25123
25131
|
// strings.
|
|
25124
25132
|
/** @type {string} */
|
|
25125
25133
|
s[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = X;
|
|
25126
25134
|
}
|
|
25127
|
-
function
|
|
25135
|
+
function w(X, D) {
|
|
25128
25136
|
const Y = D || {};
|
|
25129
25137
|
return Y.type = X, Y.start = m(), u.events.push(["enter", Y, u]), o.push(Y), Y;
|
|
25130
25138
|
}
|
|
@@ -25135,7 +25143,7 @@ function L3(e, t, n) {
|
|
|
25135
25143
|
function R(X, D) {
|
|
25136
25144
|
L(X, D.from);
|
|
25137
25145
|
}
|
|
25138
|
-
function
|
|
25146
|
+
function y(X, D) {
|
|
25139
25147
|
D.restore();
|
|
25140
25148
|
}
|
|
25141
25149
|
function $(X, D) {
|
|
@@ -25155,19 +25163,19 @@ function L3(e, t, n) {
|
|
|
25155
25163
|
function Se(Ee) {
|
|
25156
25164
|
return K;
|
|
25157
25165
|
function K(me) {
|
|
25158
|
-
const Qe = me !== null && Ee[me],
|
|
25166
|
+
const Qe = me !== null && Ee[me], fe = me !== null && Ee.null, ge = [
|
|
25159
25167
|
// To do: add more extension tests.
|
|
25160
25168
|
/* c8 ignore next 2 */
|
|
25161
25169
|
...Array.isArray(Qe) ? Qe : Qe ? [Qe] : [],
|
|
25162
|
-
...Array.isArray(
|
|
25170
|
+
...Array.isArray(fe) ? fe : fe ? [fe] : []
|
|
25163
25171
|
];
|
|
25164
25172
|
return ye(ge)(me);
|
|
25165
25173
|
}
|
|
25166
25174
|
}
|
|
25167
25175
|
function ye(Ee) {
|
|
25168
|
-
return J = Ee, Z = 0, Ee.length === 0 ? V :
|
|
25176
|
+
return J = Ee, Z = 0, Ee.length === 0 ? V : v(Ee[Z]);
|
|
25169
25177
|
}
|
|
25170
|
-
function
|
|
25178
|
+
function v(Ee) {
|
|
25171
25179
|
return K;
|
|
25172
25180
|
function K(me) {
|
|
25173
25181
|
return P = q(), ie = Ee, Ee.partial || (u.currentConstruct = Ee), Ee.name && u.parser.constructs.disable.null.includes(Ee.name) ? Ne() : Ee.tokenize.call(
|
|
@@ -25185,7 +25193,7 @@ function L3(e, t, n) {
|
|
|
25185
25193
|
return X(ie, P), N;
|
|
25186
25194
|
}
|
|
25187
25195
|
function Ne(Ee) {
|
|
25188
|
-
return P.restore(), ++Z < J.length ?
|
|
25196
|
+
return P.restore(), ++Z < J.length ? v(J[Z]) : V;
|
|
25189
25197
|
}
|
|
25190
25198
|
}
|
|
25191
25199
|
}
|
|
@@ -25336,7 +25344,7 @@ function q3(e) {
|
|
|
25336
25344
|
autolinkProtocol: q,
|
|
25337
25345
|
autolinkEmail: q,
|
|
25338
25346
|
atxHeading: a(An),
|
|
25339
|
-
blockQuote: a(
|
|
25347
|
+
blockQuote: a(fe),
|
|
25340
25348
|
characterEscape: q,
|
|
25341
25349
|
characterReference: q,
|
|
25342
25350
|
codeFenced: a(ge),
|
|
@@ -25366,7 +25374,7 @@ function q3(e) {
|
|
|
25366
25374
|
listOrdered: a(Oc, d),
|
|
25367
25375
|
listUnordered: a(Oc),
|
|
25368
25376
|
paragraph: a(Zg),
|
|
25369
|
-
reference:
|
|
25377
|
+
reference: v,
|
|
25370
25378
|
referenceString: s,
|
|
25371
25379
|
resourceDestinationString: s,
|
|
25372
25380
|
resourceTitleString: s,
|
|
@@ -25397,8 +25405,8 @@ function q3(e) {
|
|
|
25397
25405
|
data: A,
|
|
25398
25406
|
definition: l(),
|
|
25399
25407
|
definitionDestinationString: C,
|
|
25400
|
-
definitionLabelString:
|
|
25401
|
-
definitionTitleString:
|
|
25408
|
+
definitionLabelString: k,
|
|
25409
|
+
definitionTitleString: w,
|
|
25402
25410
|
emphasis: l(),
|
|
25403
25411
|
hardBreakEscape: l(D),
|
|
25404
25412
|
hardBreakTrailing: l(D),
|
|
@@ -25421,7 +25429,7 @@ function q3(e) {
|
|
|
25421
25429
|
resource: ye,
|
|
25422
25430
|
setextHeading: l(L),
|
|
25423
25431
|
setextHeadingLineSequence: $,
|
|
25424
|
-
setextHeadingText:
|
|
25432
|
+
setextHeadingText: y,
|
|
25425
25433
|
strong: l(),
|
|
25426
25434
|
thematicBreak: l()
|
|
25427
25435
|
}
|
|
@@ -25594,11 +25602,11 @@ function q3(e) {
|
|
|
25594
25602
|
const B = this.resume(), j = this.stack[this.stack.length - 1];
|
|
25595
25603
|
j.value = B.replace(/(\r?\n|\r)$/g, "");
|
|
25596
25604
|
}
|
|
25597
|
-
function
|
|
25605
|
+
function k(B) {
|
|
25598
25606
|
const j = this.resume(), le = this.stack[this.stack.length - 1];
|
|
25599
25607
|
le.label = j, le.identifier = Zt(this.sliceSerialize(B)).toLowerCase();
|
|
25600
25608
|
}
|
|
25601
|
-
function
|
|
25609
|
+
function w() {
|
|
25602
25610
|
const B = this.resume(), j = this.stack[this.stack.length - 1];
|
|
25603
25611
|
j.title = B;
|
|
25604
25612
|
}
|
|
@@ -25613,7 +25621,7 @@ function q3(e) {
|
|
|
25613
25621
|
j.depth = le;
|
|
25614
25622
|
}
|
|
25615
25623
|
}
|
|
25616
|
-
function
|
|
25624
|
+
function y() {
|
|
25617
25625
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
25618
25626
|
}
|
|
25619
25627
|
function $(B) {
|
|
@@ -25701,7 +25709,7 @@ function q3(e) {
|
|
|
25701
25709
|
function ye() {
|
|
25702
25710
|
this.data.inReference = void 0;
|
|
25703
25711
|
}
|
|
25704
|
-
function
|
|
25712
|
+
function v() {
|
|
25705
25713
|
this.data.referenceType = "collapsed";
|
|
25706
25714
|
}
|
|
25707
25715
|
function ue(B) {
|
|
@@ -25732,7 +25740,7 @@ function q3(e) {
|
|
|
25732
25740
|
const j = this.stack[this.stack.length - 1];
|
|
25733
25741
|
j.url = "mailto:" + this.sliceSerialize(B);
|
|
25734
25742
|
}
|
|
25735
|
-
function
|
|
25743
|
+
function fe() {
|
|
25736
25744
|
return {
|
|
25737
25745
|
type: "blockquote",
|
|
25738
25746
|
children: []
|
|
@@ -26285,8 +26293,8 @@ function x5(e) {
|
|
|
26285
26293
|
const m = [], p = e.footnoteCounts.get(d);
|
|
26286
26294
|
for (; p !== void 0 && ++f <= p; ) {
|
|
26287
26295
|
m.length > 0 && m.push({ type: "text", value: " " });
|
|
26288
|
-
let
|
|
26289
|
-
typeof
|
|
26296
|
+
let k = typeof n == "string" ? n : n(l, f);
|
|
26297
|
+
typeof k == "string" && (k = { type: "text", value: k }), m.push({
|
|
26290
26298
|
type: "element",
|
|
26291
26299
|
tagName: "a",
|
|
26292
26300
|
properties: {
|
|
@@ -26295,13 +26303,13 @@ function x5(e) {
|
|
|
26295
26303
|
ariaLabel: typeof r == "string" ? r : r(l, f),
|
|
26296
26304
|
className: ["data-footnote-backref"]
|
|
26297
26305
|
},
|
|
26298
|
-
children: Array.isArray(
|
|
26306
|
+
children: Array.isArray(k) ? k : [k]
|
|
26299
26307
|
});
|
|
26300
26308
|
}
|
|
26301
26309
|
const T = c[c.length - 1];
|
|
26302
26310
|
if (T && T.type === "element" && T.tagName === "p") {
|
|
26303
|
-
const
|
|
26304
|
-
|
|
26311
|
+
const k = T.children[T.children.length - 1];
|
|
26312
|
+
k && k.type === "text" ? k.value += " " : T.children.push({ type: "text", value: " " }), T.children.push(...m);
|
|
26305
26313
|
} else
|
|
26306
26314
|
c.push(...m);
|
|
26307
26315
|
const g = {
|
|
@@ -26491,11 +26499,11 @@ function _5() {
|
|
|
26491
26499
|
return u[c];
|
|
26492
26500
|
};
|
|
26493
26501
|
return yo = function l() {
|
|
26494
|
-
var u, c, d, h, f, m, p = arguments[0], T = 1, g = arguments.length,
|
|
26495
|
-
for (typeof p == "boolean" && (
|
|
26502
|
+
var u, c, d, h, f, m, p = arguments[0], T = 1, g = arguments.length, k = !1;
|
|
26503
|
+
for (typeof p == "boolean" && (k = p, p = arguments[1] || {}, T = 2), (p == null || typeof p != "object" && typeof p != "function") && (p = {}); T < g; ++T)
|
|
26496
26504
|
if (u = arguments[T], u != null)
|
|
26497
26505
|
for (c in u)
|
|
26498
|
-
d = o(p, c), h = o(u, c), p !== h && (
|
|
26506
|
+
d = o(p, c), h = o(u, c), p !== h && (k && h && (a(h) || (f = i(h))) ? (f ? (f = !1, m = d && i(d) ? d : []) : m = d && a(d) ? d : {}, s(p, { name: c, newValue: l(k, m, h) })) : typeof h < "u" && s(p, { name: c, newValue: h }));
|
|
26499
26507
|
return p;
|
|
26500
26508
|
}, yo;
|
|
26501
26509
|
}
|
|
@@ -27938,20 +27946,20 @@ ${c}` : c;
|
|
|
27938
27946
|
`, 1)[0], p = !f.trim(), T = 0;
|
|
27939
27947
|
if (this.options.pedantic ? (T = 2, h = f.trimStart()) : p ? T = t[1].length + 1 : (T = t[2].search(this.rules.other.nonSpaceChar), T = T > 4 ? 1 : T, h = f.slice(T), T += t[1].length), p && this.rules.other.blankLine.test(m) && (d += m + `
|
|
27940
27948
|
`, e = e.substring(m.length + 1), c = !0), !c) {
|
|
27941
|
-
let g = this.rules.other.nextBulletRegex(T),
|
|
27949
|
+
let g = this.rules.other.nextBulletRegex(T), k = this.rules.other.hrRegex(T), w = this.rules.other.fencesBeginRegex(T), C = this.rules.other.headingBeginRegex(T), R = this.rules.other.htmlBeginRegex(T);
|
|
27942
27950
|
for (; e; ) {
|
|
27943
|
-
let
|
|
27951
|
+
let y = e.split(`
|
|
27944
27952
|
`, 1)[0], $;
|
|
27945
|
-
if (m =
|
|
27953
|
+
if (m = y, this.options.pedantic ? (m = m.replace(this.rules.other.listReplaceNesting, " "), $ = m) : $ = m.replace(this.rules.other.tabCharGlobal, " "), w.test(m) || C.test(m) || R.test(m) || g.test(m) || k.test(m)) break;
|
|
27946
27954
|
if ($.search(this.rules.other.nonSpaceChar) >= T || !m.trim()) h += `
|
|
27947
27955
|
` + $.slice(T);
|
|
27948
27956
|
else {
|
|
27949
|
-
if (p || f.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 ||
|
|
27957
|
+
if (p || f.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || w.test(f) || C.test(f) || k.test(f)) break;
|
|
27950
27958
|
h += `
|
|
27951
27959
|
` + m;
|
|
27952
27960
|
}
|
|
27953
|
-
!p && !m.trim() && (p = !0), d +=
|
|
27954
|
-
`, e = e.substring(
|
|
27961
|
+
!p && !m.trim() && (p = !0), d += y + `
|
|
27962
|
+
`, e = e.substring(y.length + 1), f = $.slice(T);
|
|
27955
27963
|
}
|
|
27956
27964
|
}
|
|
27957
27965
|
s.loose || (l ? s.loose = !0 : this.rules.other.doubleBlankLine.test(d) && (l = !0)), s.items.push({ type: "list_item", raw: d, task: !!this.options.gfm && this.rules.other.listIsTask.test(h), loose: !1, text: h, tokens: [] }), s.raw += d;
|
|
@@ -28329,8 +28337,8 @@ ${c}` : c;
|
|
|
28329
28337
|
let m = t;
|
|
28330
28338
|
if ((h = this.options.extensions) != null && h.startInline) {
|
|
28331
28339
|
let p = 1 / 0, T = t.slice(1), g;
|
|
28332
|
-
this.options.extensions.startInline.forEach((
|
|
28333
|
-
g =
|
|
28340
|
+
this.options.extensions.startInline.forEach((k) => {
|
|
28341
|
+
g = k.call({ lexer: this }, T), typeof g == "number" && g >= 0 && (p = Math.min(p, g));
|
|
28334
28342
|
}), p < 1 / 0 && p >= 0 && (m = t.substring(0, p + 1));
|
|
28335
28343
|
}
|
|
28336
28344
|
if (f = this.tokenizer.inlineText(m)) {
|
|
@@ -29255,7 +29263,7 @@ const x6 = [
|
|
|
29255
29263
|
}),
|
|
29256
29264
|
[i]
|
|
29257
29265
|
);
|
|
29258
|
-
return /* @__PURE__ */ b(N0.Provider, { value: HC, children: /* @__PURE__ */ b(Xs.Provider, { value: { isAnimating: r }, children: /* @__PURE__ */ b("div", { className:
|
|
29266
|
+
return /* @__PURE__ */ b(N0.Provider, { value: HC, children: /* @__PURE__ */ b(Xs.Provider, { value: { isAnimating: r }, children: /* @__PURE__ */ b("div", { className: Oe("markdown", n), children: s.map((l, u) => /* @__PURE__ */ b(
|
|
29259
29267
|
S6,
|
|
29260
29268
|
{
|
|
29261
29269
|
content: l,
|
|
@@ -29298,7 +29306,7 @@ function E6({
|
|
|
29298
29306
|
{
|
|
29299
29307
|
dir: "auto",
|
|
29300
29308
|
className: ze(
|
|
29301
|
-
"px-3 py-2.5 rounded-bubble text-sm min-w-0 [overflow-wrap:break-word]",
|
|
29309
|
+
"px-3 py-2.5 rounded-bubble text-sm min-w-0 [overflow-wrap:break-word] whitespace-pre-wrap",
|
|
29302
29310
|
e.role === "user" ? "bg-accent text-accent-primary" : "bg-base-active text-base-primary"
|
|
29303
29311
|
),
|
|
29304
29312
|
children: e.message
|
|
@@ -29601,32 +29609,32 @@ function Z6(e) {
|
|
|
29601
29609
|
t,
|
|
29602
29610
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
29603
29611
|
), s = (p) => {
|
|
29604
|
-
const { scope: T, children: g } = p,
|
|
29605
|
-
return /* @__PURE__ */ re(i, { scope: T, itemMap:
|
|
29612
|
+
const { scope: T, children: g } = p, k = Ln.useRef(null), w = Ln.useRef(/* @__PURE__ */ new Map()).current;
|
|
29613
|
+
return /* @__PURE__ */ re(i, { scope: T, itemMap: w, collectionRef: k, children: g });
|
|
29606
29614
|
};
|
|
29607
29615
|
s.displayName = t;
|
|
29608
29616
|
const o = e + "CollectionSlot", l = /* @__PURE__ */ ms(o), u = Ln.forwardRef(
|
|
29609
29617
|
(p, T) => {
|
|
29610
|
-
const { scope: g, children:
|
|
29611
|
-
return /* @__PURE__ */ re(l, { ref: C, children:
|
|
29618
|
+
const { scope: g, children: k } = p, w = a(o, g), C = at(T, w.collectionRef);
|
|
29619
|
+
return /* @__PURE__ */ re(l, { ref: C, children: k });
|
|
29612
29620
|
}
|
|
29613
29621
|
);
|
|
29614
29622
|
u.displayName = o;
|
|
29615
29623
|
const c = e + "CollectionItemSlot", d = "data-radix-collection-item", h = /* @__PURE__ */ ms(c), f = Ln.forwardRef(
|
|
29616
29624
|
(p, T) => {
|
|
29617
|
-
const { scope: g, children:
|
|
29618
|
-
return Ln.useEffect(() => (
|
|
29625
|
+
const { scope: g, children: k, ...w } = p, C = Ln.useRef(null), R = at(T, C), y = a(c, g);
|
|
29626
|
+
return Ln.useEffect(() => (y.itemMap.set(C, { ref: C, ...w }), () => void y.itemMap.delete(C))), /* @__PURE__ */ re(h, { [d]: "", ref: R, children: k });
|
|
29619
29627
|
}
|
|
29620
29628
|
);
|
|
29621
29629
|
f.displayName = c;
|
|
29622
29630
|
function m(p) {
|
|
29623
29631
|
const T = a(e + "CollectionConsumer", p);
|
|
29624
29632
|
return Ln.useCallback(() => {
|
|
29625
|
-
const
|
|
29626
|
-
if (!
|
|
29627
|
-
const
|
|
29633
|
+
const k = T.collectionRef.current;
|
|
29634
|
+
if (!k) return [];
|
|
29635
|
+
const w = Array.from(k.querySelectorAll(`[${d}]`));
|
|
29628
29636
|
return Array.from(T.itemMap.values()).sort(
|
|
29629
|
-
(
|
|
29637
|
+
(y, $) => w.indexOf(y.ref.current) - w.indexOf($.ref.current)
|
|
29630
29638
|
);
|
|
29631
29639
|
}, [T.collectionRef, T.itemMap]);
|
|
29632
29640
|
}
|
|
@@ -29701,15 +29709,15 @@ var V6 = "DismissableLayer", Nl = "dismissableLayer.update", H6 = "dismissableLa
|
|
|
29701
29709
|
onInteractOutside: s,
|
|
29702
29710
|
onDismiss: o,
|
|
29703
29711
|
...l
|
|
29704
|
-
} = e, u = Q.useContext(vm), [c, d] = Q.useState(null), h = (c == null ? void 0 : c.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, f] = Q.useState({}), m = at(t, ($) => d($)), p = Array.from(u.layers), [T] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), g = p.indexOf(T),
|
|
29712
|
+
} = e, u = Q.useContext(vm), [c, d] = Q.useState(null), h = (c == null ? void 0 : c.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, f] = Q.useState({}), m = at(t, ($) => d($)), p = Array.from(u.layers), [T] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), g = p.indexOf(T), k = c ? p.indexOf(c) : -1, w = u.layersWithOutsidePointerEventsDisabled.size > 0, C = k >= g, R = J6(($) => {
|
|
29705
29713
|
const L = $.target, q = [...u.branches].some((A) => A.contains(L));
|
|
29706
29714
|
!C || q || (i == null || i($), s == null || s($), $.defaultPrevented || o == null || o());
|
|
29707
|
-
}, h),
|
|
29715
|
+
}, h), y = eR(($) => {
|
|
29708
29716
|
const L = $.target;
|
|
29709
29717
|
[...u.branches].some((A) => A.contains(L)) || (a == null || a($), s == null || s($), $.defaultPrevented || o == null || o());
|
|
29710
29718
|
}, h);
|
|
29711
29719
|
return W6(($) => {
|
|
29712
|
-
|
|
29720
|
+
k === u.layers.size - 1 && (r == null || r($), !$.defaultPrevented && o && ($.preventDefault(), o()));
|
|
29713
29721
|
}, h), Q.useEffect(() => {
|
|
29714
29722
|
if (c)
|
|
29715
29723
|
return n && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (CO = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(c)), u.layers.add(c), AO(), () => {
|
|
@@ -29726,11 +29734,11 @@ var V6 = "DismissableLayer", Nl = "dismissableLayer.update", H6 = "dismissableLa
|
|
|
29726
29734
|
...l,
|
|
29727
29735
|
ref: m,
|
|
29728
29736
|
style: {
|
|
29729
|
-
pointerEvents:
|
|
29737
|
+
pointerEvents: w ? C ? "auto" : "none" : void 0,
|
|
29730
29738
|
...e.style
|
|
29731
29739
|
},
|
|
29732
|
-
onFocusCapture: Ye(e.onFocusCapture,
|
|
29733
|
-
onBlurCapture: Ye(e.onBlurCapture,
|
|
29740
|
+
onFocusCapture: Ye(e.onFocusCapture, y.onFocusCapture),
|
|
29741
|
+
onBlurCapture: Ye(e.onBlurCapture, y.onBlurCapture),
|
|
29734
29742
|
onPointerDownCapture: Ye(
|
|
29735
29743
|
e.onPointerDownCapture,
|
|
29736
29744
|
R.onPointerDownCapture
|
|
@@ -29834,23 +29842,23 @@ var Do = "focusScope.autoFocusOnMount", Mo = "focusScope.autoFocusOnUnmount", $O
|
|
|
29834
29842
|
}).current;
|
|
29835
29843
|
Q.useEffect(() => {
|
|
29836
29844
|
if (r) {
|
|
29837
|
-
let p = function(
|
|
29845
|
+
let p = function(w) {
|
|
29838
29846
|
if (f.paused || !o) return;
|
|
29839
|
-
const C =
|
|
29847
|
+
const C = w.target;
|
|
29840
29848
|
o.contains(C) ? d.current = C : Xn(d.current, { select: !0 });
|
|
29841
|
-
}, T = function(
|
|
29849
|
+
}, T = function(w) {
|
|
29842
29850
|
if (f.paused || !o) return;
|
|
29843
|
-
const C =
|
|
29851
|
+
const C = w.relatedTarget;
|
|
29844
29852
|
C !== null && (o.contains(C) || Xn(d.current, { select: !0 }));
|
|
29845
|
-
}, g = function(
|
|
29853
|
+
}, g = function(w) {
|
|
29846
29854
|
if (document.activeElement === document.body)
|
|
29847
|
-
for (const R of
|
|
29855
|
+
for (const R of w)
|
|
29848
29856
|
R.removedNodes.length > 0 && Xn(o);
|
|
29849
29857
|
};
|
|
29850
29858
|
document.addEventListener("focusin", p), document.addEventListener("focusout", T);
|
|
29851
|
-
const
|
|
29852
|
-
return o &&
|
|
29853
|
-
document.removeEventListener("focusin", p), document.removeEventListener("focusout", T),
|
|
29859
|
+
const k = new MutationObserver(g);
|
|
29860
|
+
return o && k.observe(o, { childList: !0, subtree: !0 }), () => {
|
|
29861
|
+
document.removeEventListener("focusin", p), document.removeEventListener("focusout", T), k.disconnect();
|
|
29854
29862
|
};
|
|
29855
29863
|
}
|
|
29856
29864
|
}, [r, o, f.paused]), Q.useEffect(() => {
|
|
@@ -29874,8 +29882,8 @@ var Do = "focusScope.autoFocusOnMount", Mo = "focusScope.autoFocusOnUnmount", $O
|
|
|
29874
29882
|
if (!n && !r || f.paused) return;
|
|
29875
29883
|
const T = p.key === "Tab" && !p.altKey && !p.ctrlKey && !p.metaKey, g = document.activeElement;
|
|
29876
29884
|
if (T && g) {
|
|
29877
|
-
const
|
|
29878
|
-
|
|
29885
|
+
const k = p.currentTarget, [w, C] = iR(k);
|
|
29886
|
+
w && C ? !p.shiftKey && g === C ? (p.preventDefault(), n && Xn(w, { select: !0 })) : p.shiftKey && g === w && (p.preventDefault(), n && Xn(C, { select: !0 })) : g === k && p.preventDefault();
|
|
29879
29887
|
}
|
|
29880
29888
|
},
|
|
29881
29889
|
[n, r, f.paused]
|
|
@@ -30128,8 +30136,8 @@ const kR = async (e, t, n) => {
|
|
|
30128
30136
|
name: T,
|
|
30129
30137
|
fn: g
|
|
30130
30138
|
} = o[p], {
|
|
30131
|
-
x:
|
|
30132
|
-
y:
|
|
30139
|
+
x: k,
|
|
30140
|
+
y: w,
|
|
30133
30141
|
data: C,
|
|
30134
30142
|
reset: R
|
|
30135
30143
|
} = await g({
|
|
@@ -30146,7 +30154,7 @@ const kR = async (e, t, n) => {
|
|
|
30146
30154
|
floating: t
|
|
30147
30155
|
}
|
|
30148
30156
|
});
|
|
30149
|
-
c =
|
|
30157
|
+
c = k ?? c, d = w ?? d, f = {
|
|
30150
30158
|
...f,
|
|
30151
30159
|
[T]: {
|
|
30152
30160
|
...f[T],
|
|
@@ -30190,12 +30198,12 @@ async function Ki(e, t) {
|
|
|
30190
30198
|
boundary: u,
|
|
30191
30199
|
rootBoundary: c,
|
|
30192
30200
|
strategy: l
|
|
30193
|
-
})),
|
|
30201
|
+
})), k = d === "floating" ? {
|
|
30194
30202
|
x: r,
|
|
30195
30203
|
y: i,
|
|
30196
30204
|
width: s.floating.width,
|
|
30197
30205
|
height: s.floating.height
|
|
30198
|
-
} : s.reference,
|
|
30206
|
+
} : s.reference, w = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(o.floating)), C = await (a.isElement == null ? void 0 : a.isElement(w)) ? await (a.getScale == null ? void 0 : a.getScale(w)) || {
|
|
30199
30207
|
x: 1,
|
|
30200
30208
|
y: 1
|
|
30201
30209
|
} : {
|
|
@@ -30203,10 +30211,10 @@ async function Ki(e, t) {
|
|
|
30203
30211
|
y: 1
|
|
30204
30212
|
}, R = Ts(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
30205
30213
|
elements: o,
|
|
30206
|
-
rect:
|
|
30207
|
-
offsetParent:
|
|
30214
|
+
rect: k,
|
|
30215
|
+
offsetParent: w,
|
|
30208
30216
|
strategy: l
|
|
30209
|
-
}) :
|
|
30217
|
+
}) : k);
|
|
30210
30218
|
return {
|
|
30211
30219
|
top: (g.top - R.top + m.top) / C.y,
|
|
30212
30220
|
bottom: (R.bottom - g.bottom + m.bottom) / C.y,
|
|
@@ -30235,10 +30243,10 @@ const wR = (e) => ({
|
|
|
30235
30243
|
const d = Am(c), h = {
|
|
30236
30244
|
x: n,
|
|
30237
30245
|
y: r
|
|
30238
|
-
}, f = ec(i), m = Ju(f), p = await s.getDimensions(u), T = f === "y", g = T ? "top" : "left",
|
|
30239
|
-
let $ =
|
|
30240
|
-
(!$ || !await (s.isElement == null ? void 0 : s.isElement(
|
|
30241
|
-
const L = C / 2 - R / 2, q = $ / 2 - p[m] / 2 - 1, A = Hn(d[g], q), X = Hn(d[
|
|
30246
|
+
}, f = ec(i), m = Ju(f), p = await s.getDimensions(u), T = f === "y", g = T ? "top" : "left", k = T ? "bottom" : "right", w = T ? "clientHeight" : "clientWidth", C = a.reference[m] + a.reference[f] - h[f] - a.floating[m], R = h[f] - a.reference[f], y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
|
|
30247
|
+
let $ = y ? y[w] : 0;
|
|
30248
|
+
(!$ || !await (s.isElement == null ? void 0 : s.isElement(y))) && ($ = o.floating[w] || a.floating[m]);
|
|
30249
|
+
const L = C / 2 - R / 2, q = $ / 2 - p[m] / 2 - 1, A = Hn(d[g], q), X = Hn(d[k], q), D = A, Y = $ - p[m] - X, z = $ / 2 - p[m] / 2 + L, N = Ll(D, z, Y), V = !l.arrow && oi(i) != null && z !== N && a.reference[m] / 2 - (z < D ? A : X) - p[m] / 2 < 0, J = V ? z < D ? z - D : z - Y : 0;
|
|
30242
30250
|
return {
|
|
30243
30251
|
[f]: h[f] + J,
|
|
30244
30252
|
data: {
|
|
@@ -30275,8 +30283,8 @@ const wR = (e) => ({
|
|
|
30275
30283
|
} = _n(e, t);
|
|
30276
30284
|
if ((n = a.arrow) != null && n.alignmentOffset)
|
|
30277
30285
|
return {};
|
|
30278
|
-
const g = Qn(i),
|
|
30279
|
-
!h &&
|
|
30286
|
+
const g = Qn(i), k = an(o), w = Qn(o) === o, C = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), R = h || (w || !p ? [bs(o)] : mR(o)), y = m !== "none";
|
|
30287
|
+
!h && y && R.push(...xR(o, p, m, C));
|
|
30280
30288
|
const $ = [o, ...R], L = await Ki(t, T), q = [];
|
|
30281
30289
|
let A = ((r = a.flip) == null ? void 0 : r.overflows) || [];
|
|
30282
30290
|
if (c && q.push(L[g]), d) {
|
|
@@ -30289,9 +30297,9 @@ const wR = (e) => ({
|
|
|
30289
30297
|
}], !q.every((z) => z <= 0)) {
|
|
30290
30298
|
var X, D;
|
|
30291
30299
|
const z = (((X = a.flip) == null ? void 0 : X.index) || 0) + 1, N = $[z];
|
|
30292
|
-
if (N && (!(d === "alignment" ?
|
|
30300
|
+
if (N && (!(d === "alignment" ? k !== an(N) : !1) || // We leave the current main axis only if every placement on that axis
|
|
30293
30301
|
// overflows the main axis.
|
|
30294
|
-
A.every((Z) => an(Z.placement) ===
|
|
30302
|
+
A.every((Z) => an(Z.placement) === k ? Z.overflows[0] > 0 : !0)))
|
|
30295
30303
|
return {
|
|
30296
30304
|
data: {
|
|
30297
30305
|
index: z,
|
|
@@ -30307,9 +30315,9 @@ const wR = (e) => ({
|
|
|
30307
30315
|
case "bestFit": {
|
|
30308
30316
|
var Y;
|
|
30309
30317
|
const J = (Y = A.filter((Z) => {
|
|
30310
|
-
if (
|
|
30318
|
+
if (y) {
|
|
30311
30319
|
const ie = an(Z.placement);
|
|
30312
|
-
return ie ===
|
|
30320
|
+
return ie === k || // Create a bias to the `y` side axis due to horizontal
|
|
30313
30321
|
// reading directions favoring greater width.
|
|
30314
30322
|
ie === "y";
|
|
30315
30323
|
}
|
|
@@ -30451,11 +30459,11 @@ const PR = function(e) {
|
|
|
30451
30459
|
fn: (T) => {
|
|
30452
30460
|
let {
|
|
30453
30461
|
x: g,
|
|
30454
|
-
y:
|
|
30462
|
+
y: k
|
|
30455
30463
|
} = T;
|
|
30456
30464
|
return {
|
|
30457
30465
|
x: g,
|
|
30458
|
-
y:
|
|
30466
|
+
y: k
|
|
30459
30467
|
};
|
|
30460
30468
|
}
|
|
30461
30469
|
},
|
|
@@ -30466,12 +30474,12 @@ const PR = function(e) {
|
|
|
30466
30474
|
}, c = await Ki(t, l), d = an(Qn(i)), h = Ku(d);
|
|
30467
30475
|
let f = u[h], m = u[d];
|
|
30468
30476
|
if (a) {
|
|
30469
|
-
const T = h === "y" ? "top" : "left", g = h === "y" ? "bottom" : "right",
|
|
30470
|
-
f = Ll(
|
|
30477
|
+
const T = h === "y" ? "top" : "left", g = h === "y" ? "bottom" : "right", k = f + c[T], w = f - c[g];
|
|
30478
|
+
f = Ll(k, f, w);
|
|
30471
30479
|
}
|
|
30472
30480
|
if (s) {
|
|
30473
|
-
const T = d === "y" ? "top" : "left", g = d === "y" ? "bottom" : "right",
|
|
30474
|
-
m = Ll(
|
|
30481
|
+
const T = d === "y" ? "top" : "left", g = d === "y" ? "bottom" : "right", k = m + c[T], w = m - c[g];
|
|
30482
|
+
m = Ll(k, m, w);
|
|
30475
30483
|
}
|
|
30476
30484
|
const p = o.fn({
|
|
30477
30485
|
...t,
|
|
@@ -30519,13 +30527,13 @@ const PR = function(e) {
|
|
|
30519
30527
|
...p
|
|
30520
30528
|
};
|
|
30521
30529
|
if (l) {
|
|
30522
|
-
const
|
|
30530
|
+
const w = h === "y" ? "height" : "width", C = a.reference[h] - a.floating[w] + T.mainAxis, R = a.reference[h] + a.reference[w] - T.mainAxis;
|
|
30523
30531
|
f < C ? f = C : f > R && (f = R);
|
|
30524
30532
|
}
|
|
30525
30533
|
if (u) {
|
|
30526
|
-
var g,
|
|
30527
|
-
const
|
|
30528
|
-
m < R ? m = R : m >
|
|
30534
|
+
var g, k;
|
|
30535
|
+
const w = h === "y" ? "width" : "height", C = Rm.has(Qn(i)), R = a.reference[d] - a.floating[w] + (C && ((g = s.offset) == null ? void 0 : g[d]) || 0) + (C ? 0 : T.crossAxis), y = a.reference[d] + a.reference[w] + (C ? 0 : ((k = s.offset) == null ? void 0 : k[d]) || 0) - (C ? T.crossAxis : 0);
|
|
30536
|
+
m < R ? m = R : m > y && (m = y);
|
|
30529
30537
|
}
|
|
30530
30538
|
return {
|
|
30531
30539
|
[h]: f,
|
|
@@ -30554,9 +30562,9 @@ const PR = function(e) {
|
|
|
30554
30562
|
} = a.floating;
|
|
30555
30563
|
let T, g;
|
|
30556
30564
|
d === "top" || d === "bottom" ? (T = d, g = h === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (g = d, T = h === "end" ? "top" : "bottom");
|
|
30557
|
-
const
|
|
30565
|
+
const k = p - c.top - c.bottom, w = m - c.left - c.right, C = Hn(p - c[T], k), R = Hn(m - c[g], w), y = !t.middlewareData.shift;
|
|
30558
30566
|
let $ = C, L = R;
|
|
30559
|
-
if ((n = t.middlewareData.shift) != null && n.enabled.x && (L =
|
|
30567
|
+
if ((n = t.middlewareData.shift) != null && n.enabled.x && (L = w), (r = t.middlewareData.shift) != null && r.enabled.y && ($ = k), y && !h) {
|
|
30560
30568
|
const A = Pt(c.left, 0), X = Pt(c.right, 0), D = Pt(c.top, 0), Y = Pt(c.bottom, 0);
|
|
30561
30569
|
f ? L = m - 2 * (A !== 0 || X !== 0 ? A + X : Pt(c.left, c.right)) : $ = p - 2 * (D !== 0 || Y !== 0 ? D + Y : Pt(c.top, c.bottom));
|
|
30562
30570
|
}
|
|
@@ -30738,8 +30746,8 @@ function xr(e, t, n, r) {
|
|
|
30738
30746
|
const h = Ct(a), f = r && Ut(r) ? Ct(r) : r;
|
|
30739
30747
|
let m = h, p = Ml(m);
|
|
30740
30748
|
for (; p && r && f !== m; ) {
|
|
30741
|
-
const T = Ur(p), g = p.getBoundingClientRect(),
|
|
30742
|
-
l *= T.x, u *= T.y, c *= T.x, d *= T.y, l +=
|
|
30749
|
+
const T = Ur(p), g = p.getBoundingClientRect(), k = Ft(p), w = g.left + (p.clientLeft + parseFloat(k.paddingLeft)) * T.x, C = g.top + (p.clientTop + parseFloat(k.paddingTop)) * T.y;
|
|
30750
|
+
l *= T.x, u *= T.y, c *= T.x, d *= T.y, l += w, u += C, m = Ct(p), p = Ml(m);
|
|
30743
30751
|
}
|
|
30744
30752
|
}
|
|
30745
30753
|
return Ts({
|
|
@@ -30996,13 +31004,13 @@ function t4(e, t) {
|
|
|
30996
31004
|
} = u;
|
|
30997
31005
|
if (o || t(), !h || !f)
|
|
30998
31006
|
return;
|
|
30999
|
-
const m = Ra(d), p = Ra(i.clientWidth - (c + h)), T = Ra(i.clientHeight - (d + f)), g = Ra(c),
|
|
31007
|
+
const m = Ra(d), p = Ra(i.clientWidth - (c + h)), T = Ra(i.clientHeight - (d + f)), g = Ra(c), w = {
|
|
31000
31008
|
rootMargin: -m + "px " + -p + "px " + -T + "px " + -g + "px",
|
|
31001
31009
|
threshold: Pt(0, Hn(1, l)) || 1
|
|
31002
31010
|
};
|
|
31003
31011
|
let C = !0;
|
|
31004
|
-
function R(
|
|
31005
|
-
const $ =
|
|
31012
|
+
function R(y) {
|
|
31013
|
+
const $ = y[0].intersectionRatio;
|
|
31006
31014
|
if ($ !== l) {
|
|
31007
31015
|
if (!C)
|
|
31008
31016
|
return s();
|
|
@@ -31014,12 +31022,12 @@ function t4(e, t) {
|
|
|
31014
31022
|
}
|
|
31015
31023
|
try {
|
|
31016
31024
|
n = new IntersectionObserver(R, {
|
|
31017
|
-
...
|
|
31025
|
+
...w,
|
|
31018
31026
|
// Handle <iframe>s
|
|
31019
31027
|
root: i.ownerDocument
|
|
31020
31028
|
});
|
|
31021
31029
|
} catch {
|
|
31022
|
-
n = new IntersectionObserver(R,
|
|
31030
|
+
n = new IntersectionObserver(R, w);
|
|
31023
31031
|
}
|
|
31024
31032
|
n.observe(e);
|
|
31025
31033
|
}
|
|
@@ -31042,10 +31050,10 @@ function n4(e, t, n, r) {
|
|
|
31042
31050
|
const d = u && o ? t4(u, n) : null;
|
|
31043
31051
|
let h = -1, f = null;
|
|
31044
31052
|
s && (f = new ResizeObserver((g) => {
|
|
31045
|
-
let [
|
|
31046
|
-
|
|
31047
|
-
var
|
|
31048
|
-
(
|
|
31053
|
+
let [k] = g;
|
|
31054
|
+
k && k.target === u && f && (f.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
|
|
31055
|
+
var w;
|
|
31056
|
+
(w = f) == null || w.observe(t);
|
|
31049
31057
|
})), n();
|
|
31050
31058
|
}), u && !l && f.observe(u), f.observe(t));
|
|
31051
31059
|
let m, p = l ? xr(e) : null;
|
|
@@ -31056,8 +31064,8 @@ function n4(e, t, n, r) {
|
|
|
31056
31064
|
}
|
|
31057
31065
|
return n(), () => {
|
|
31058
31066
|
var g;
|
|
31059
|
-
c.forEach((
|
|
31060
|
-
i &&
|
|
31067
|
+
c.forEach((k) => {
|
|
31068
|
+
i && k.removeEventListener("scroll", n), a && k.removeEventListener("resize", n);
|
|
31061
31069
|
}), d == null || d(), (g = f) == null || g.disconnect(), f = null, l && cancelAnimationFrame(m);
|
|
31062
31070
|
};
|
|
31063
31071
|
}
|
|
@@ -31142,19 +31150,19 @@ function O4(e) {
|
|
|
31142
31150
|
isPositioned: !1
|
|
31143
31151
|
}), [h, f] = Q.useState(r);
|
|
31144
31152
|
xs(h, r) || f(r);
|
|
31145
|
-
const [m, p] = Q.useState(null), [T, g] = Q.useState(null),
|
|
31146
|
-
Z !==
|
|
31147
|
-
}, []),
|
|
31153
|
+
const [m, p] = Q.useState(null), [T, g] = Q.useState(null), k = Q.useCallback((Z) => {
|
|
31154
|
+
Z !== y.current && (y.current = Z, p(Z));
|
|
31155
|
+
}, []), w = Q.useCallback((Z) => {
|
|
31148
31156
|
Z !== $.current && ($.current = Z, g(Z));
|
|
31149
|
-
}, []), C = a || m, R = s || T,
|
|
31150
|
-
if (!
|
|
31157
|
+
}, []), C = a || m, R = s || T, y = Q.useRef(null), $ = Q.useRef(null), L = Q.useRef(c), q = l != null, A = zo(l), X = zo(i), D = zo(u), Y = Q.useCallback(() => {
|
|
31158
|
+
if (!y.current || !$.current)
|
|
31151
31159
|
return;
|
|
31152
31160
|
const Z = {
|
|
31153
31161
|
placement: t,
|
|
31154
31162
|
strategy: n,
|
|
31155
31163
|
middleware: h
|
|
31156
31164
|
};
|
|
31157
|
-
X.current && (Z.platform = X.current), u4(
|
|
31165
|
+
X.current && (Z.platform = X.current), u4(y.current, $.current, Z).then((ie) => {
|
|
31158
31166
|
const P = {
|
|
31159
31167
|
...ie,
|
|
31160
31168
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -31178,18 +31186,18 @@ function O4(e) {
|
|
|
31178
31186
|
Ya(() => (z.current = !0, () => {
|
|
31179
31187
|
z.current = !1;
|
|
31180
31188
|
}), []), Ya(() => {
|
|
31181
|
-
if (C && (
|
|
31189
|
+
if (C && (y.current = C), R && ($.current = R), C && R) {
|
|
31182
31190
|
if (A.current)
|
|
31183
31191
|
return A.current(C, R, Y);
|
|
31184
31192
|
Y();
|
|
31185
31193
|
}
|
|
31186
31194
|
}, [C, R, Y, A, q]);
|
|
31187
31195
|
const N = Q.useMemo(() => ({
|
|
31188
|
-
reference:
|
|
31196
|
+
reference: y,
|
|
31189
31197
|
floating: $,
|
|
31190
|
-
setReference:
|
|
31191
|
-
setFloating:
|
|
31192
|
-
}), [
|
|
31198
|
+
setReference: k,
|
|
31199
|
+
setFloating: w
|
|
31200
|
+
}), [k, w]), V = Q.useMemo(() => ({
|
|
31193
31201
|
reference: C,
|
|
31194
31202
|
floating: R
|
|
31195
31203
|
}), [C, R]), J = Q.useMemo(() => {
|
|
@@ -31320,7 +31328,7 @@ var Wm = "PopperAnchor", Vm = Q.forwardRef(
|
|
|
31320
31328
|
Vm.displayName = Wm;
|
|
31321
31329
|
var ac = "PopperContent", [y4, v4] = qm(ac), Hm = Q.forwardRef(
|
|
31322
31330
|
(e, t) => {
|
|
31323
|
-
var K, me, Qe,
|
|
31331
|
+
var K, me, Qe, fe, ge, Te;
|
|
31324
31332
|
const {
|
|
31325
31333
|
__scopePopper: n,
|
|
31326
31334
|
side: r = "bottom",
|
|
@@ -31336,7 +31344,7 @@ var ac = "PopperContent", [y4, v4] = qm(ac), Hm = Q.forwardRef(
|
|
|
31336
31344
|
updatePositionStrategy: f = "optimized",
|
|
31337
31345
|
onPlaced: m,
|
|
31338
31346
|
...p
|
|
31339
|
-
} = e, T = Fm(ac, n), [g,
|
|
31347
|
+
} = e, T = Fm(ac, n), [g, k] = Q.useState(null), w = at(t, (Ot) => k(Ot)), [C, R] = Q.useState(null), y = w4(C), $ = (y == null ? void 0 : y.width) ?? 0, L = (y == null ? void 0 : y.height) ?? 0, q = r + (a !== "center" ? "-" + a : ""), A = typeof c == "number" ? c : { top: 0, right: 0, bottom: 0, left: 0, ...c }, X = Array.isArray(u) ? u : [u], D = X.length > 0, Y = {
|
|
31340
31348
|
padding: A,
|
|
31341
31349
|
boundary: X.filter(_4),
|
|
31342
31350
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -31375,7 +31383,7 @@ var ac = "PopperContent", [y4, v4] = qm(ac), Hm = Q.forwardRef(
|
|
|
31375
31383
|
Tt(() => {
|
|
31376
31384
|
J && (Se == null || Se());
|
|
31377
31385
|
}, [J, Se]);
|
|
31378
|
-
const ye = (K = Z.arrow) == null ? void 0 : K.x,
|
|
31386
|
+
const ye = (K = Z.arrow) == null ? void 0 : K.x, v = (me = Z.arrow) == null ? void 0 : me.y, ue = ((Qe = Z.arrow) == null ? void 0 : Qe.centerOffset) !== 0, [Ne, Ee] = Q.useState();
|
|
31379
31387
|
return Tt(() => {
|
|
31380
31388
|
g && Ee(window.getComputedStyle(g).zIndex);
|
|
31381
31389
|
}, [g]), /* @__PURE__ */ re(
|
|
@@ -31390,7 +31398,7 @@ var ac = "PopperContent", [y4, v4] = qm(ac), Hm = Q.forwardRef(
|
|
|
31390
31398
|
minWidth: "max-content",
|
|
31391
31399
|
zIndex: Ne,
|
|
31392
31400
|
"--radix-popper-transform-origin": [
|
|
31393
|
-
(
|
|
31401
|
+
(fe = Z.transformOrigin) == null ? void 0 : fe.x,
|
|
31394
31402
|
(ge = Z.transformOrigin) == null ? void 0 : ge.y
|
|
31395
31403
|
].join(" "),
|
|
31396
31404
|
// hide the content if using the hide middleware and should be hidden
|
|
@@ -31409,7 +31417,7 @@ var ac = "PopperContent", [y4, v4] = qm(ac), Hm = Q.forwardRef(
|
|
|
31409
31417
|
placedSide: ie,
|
|
31410
31418
|
onArrowChange: R,
|
|
31411
31419
|
arrowX: ye,
|
|
31412
|
-
arrowY:
|
|
31420
|
+
arrowY: v,
|
|
31413
31421
|
shouldHideArrow: ue,
|
|
31414
31422
|
children: /* @__PURE__ */ re(
|
|
31415
31423
|
Ue.div,
|
|
@@ -31417,7 +31425,7 @@ var ac = "PopperContent", [y4, v4] = qm(ac), Hm = Q.forwardRef(
|
|
|
31417
31425
|
"data-side": ie,
|
|
31418
31426
|
"data-align": P,
|
|
31419
31427
|
...p,
|
|
31420
|
-
ref:
|
|
31428
|
+
ref: w,
|
|
31421
31429
|
style: {
|
|
31422
31430
|
...p.style,
|
|
31423
31431
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
@@ -31491,8 +31499,8 @@ var Q4 = (e) => ({
|
|
|
31491
31499
|
name: "transformOrigin",
|
|
31492
31500
|
options: e,
|
|
31493
31501
|
fn(t) {
|
|
31494
|
-
var T, g,
|
|
31495
|
-
const { placement: n, rects: r, middlewareData: i } = t, s = ((T = i.arrow) == null ? void 0 : T.centerOffset) !== 0, o = s ? 0 : e.arrowWidth, l = s ? 0 : e.arrowHeight, [u, c] = Km(n), d = { start: "0%", center: "50%", end: "100%" }[c], h = (((g = i.arrow) == null ? void 0 : g.x) ?? 0) + o / 2, f = (((
|
|
31502
|
+
var T, g, k;
|
|
31503
|
+
const { placement: n, rects: r, middlewareData: i } = t, s = ((T = i.arrow) == null ? void 0 : T.centerOffset) !== 0, o = s ? 0 : e.arrowWidth, l = s ? 0 : e.arrowHeight, [u, c] = Km(n), d = { start: "0%", center: "50%", end: "100%" }[c], h = (((g = i.arrow) == null ? void 0 : g.x) ?? 0) + o / 2, f = (((k = i.arrow) == null ? void 0 : k.y) ?? 0) + l / 2;
|
|
31496
31504
|
let m = "", p = "";
|
|
31497
31505
|
return u === "bottom" ? (m = s ? d : `${h}px`, p = `${-l}px`) : u === "top" ? (m = s ? d : `${h}px`, p = `${r.floating.height + l}px`) : u === "right" ? (m = `${-l}px`, p = s ? d : `${f}px`) : u === "left" && (m = `${r.floating.width + l}px`, p = s ? d : `${f}px`), { data: { x: m, y: p } };
|
|
31498
31506
|
}
|
|
@@ -31782,12 +31790,12 @@ var ig = J4(), qo = function() {
|
|
|
31782
31790
|
onScrollCapture: qo,
|
|
31783
31791
|
onWheelCapture: qo,
|
|
31784
31792
|
onTouchMoveCapture: qo
|
|
31785
|
-
}), i = r[0], a = r[1], s = e.forwardProps, o = e.children, l = e.className, u = e.removeScrollBar, c = e.enabled, d = e.shards, h = e.sideCar, f = e.noRelative, m = e.noIsolation, p = e.inert, T = e.allowPinchZoom, g = e.as,
|
|
31793
|
+
}), i = r[0], a = r[1], s = e.forwardProps, o = e.children, l = e.className, u = e.removeScrollBar, c = e.enabled, d = e.shards, h = e.sideCar, f = e.noRelative, m = e.noIsolation, p = e.inert, T = e.allowPinchZoom, g = e.as, k = g === void 0 ? "div" : g, w = e.gapMode, C = ng(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), R = h, y = j4([n, t]), $ = nn(nn({}, C), i);
|
|
31786
31794
|
return Q.createElement(
|
|
31787
31795
|
Q.Fragment,
|
|
31788
31796
|
null,
|
|
31789
|
-
c && Q.createElement(R, { sideCar: ig, removeScrollBar: u, shards: d, noRelative: f, noIsolation: m, inert: p, setCallbacks: a, allowPinchZoom: !!T, lockRef: n, gapMode:
|
|
31790
|
-
s ? Q.cloneElement(Q.Children.only(o), nn(nn({}, $), { ref:
|
|
31797
|
+
c && Q.createElement(R, { sideCar: ig, removeScrollBar: u, shards: d, noRelative: f, noIsolation: m, inert: p, setCallbacks: a, allowPinchZoom: !!T, lockRef: n, gapMode: w }),
|
|
31798
|
+
s ? Q.cloneElement(Q.Children.only(o), nn(nn({}, $), { ref: y })) : Q.createElement(k, nn({}, $, { className: l, ref: y }), o)
|
|
31791
31799
|
);
|
|
31792
31800
|
});
|
|
31793
31801
|
Us.defaultProps = {
|
|
@@ -31991,8 +31999,8 @@ var $r = Xl ? { passive: !1 } : !1, f$ = function(e) {
|
|
|
31991
31999
|
break;
|
|
31992
32000
|
var f = lg(e, o), m = f[0], p = f[1], T = f[2], g = p - T - a * m;
|
|
31993
32001
|
(m || g) && og(e, o) && (d += g, h += m);
|
|
31994
|
-
var
|
|
31995
|
-
o =
|
|
32002
|
+
var k = o.parentNode;
|
|
32003
|
+
o = k && k.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? k.host : k;
|
|
31996
32004
|
} while (
|
|
31997
32005
|
// portaled content
|
|
31998
32006
|
!l && o !== document.body || // self content
|
|
@@ -32033,43 +32041,43 @@ function E$(e) {
|
|
|
32033
32041
|
var o = Q.useCallback(function(p, T) {
|
|
32034
32042
|
if ("touches" in p && p.touches.length === 2 || p.type === "wheel" && p.ctrlKey)
|
|
32035
32043
|
return !s.current.allowPinchZoom;
|
|
32036
|
-
var g = La(p),
|
|
32037
|
-
if ("touches" in p && $ === "h" &&
|
|
32044
|
+
var g = La(p), k = n.current, w = "deltaX" in p ? p.deltaX : k[0] - g[0], C = "deltaY" in p ? p.deltaY : k[1] - g[1], R, y = p.target, $ = Math.abs(w) > Math.abs(C) ? "h" : "v";
|
|
32045
|
+
if ("touches" in p && $ === "h" && y.type === "range")
|
|
32038
32046
|
return !1;
|
|
32039
|
-
var L = window.getSelection(), q = L && L.anchorNode, A = q ? q ===
|
|
32047
|
+
var L = window.getSelection(), q = L && L.anchorNode, A = q ? q === y || q.contains(y) : !1;
|
|
32040
32048
|
if (A)
|
|
32041
32049
|
return !1;
|
|
32042
|
-
var X = GO($,
|
|
32050
|
+
var X = GO($, y);
|
|
32043
32051
|
if (!X)
|
|
32044
32052
|
return !0;
|
|
32045
|
-
if (X ? R = $ : (R = $ === "v" ? "h" : "v", X = GO($,
|
|
32053
|
+
if (X ? R = $ : (R = $ === "v" ? "h" : "v", X = GO($, y)), !X)
|
|
32046
32054
|
return !1;
|
|
32047
|
-
if (!r.current && "changedTouches" in p && (
|
|
32055
|
+
if (!r.current && "changedTouches" in p && (w || C) && (r.current = R), !R)
|
|
32048
32056
|
return !0;
|
|
32049
32057
|
var D = r.current || R;
|
|
32050
|
-
return x$(D, T, p, D === "h" ?
|
|
32058
|
+
return x$(D, T, p, D === "h" ? w : C);
|
|
32051
32059
|
}, []), l = Q.useCallback(function(p) {
|
|
32052
32060
|
var T = p;
|
|
32053
32061
|
if (!(!Ir.length || Ir[Ir.length - 1] !== a)) {
|
|
32054
|
-
var g = "deltaY" in T ? KO(T) : La(T),
|
|
32062
|
+
var g = "deltaY" in T ? KO(T) : La(T), k = t.current.filter(function(R) {
|
|
32055
32063
|
return R.name === T.type && (R.target === T.target || T.target === R.shadowParent) && S$(R.delta, g);
|
|
32056
32064
|
})[0];
|
|
32057
|
-
if (
|
|
32065
|
+
if (k && k.should) {
|
|
32058
32066
|
T.cancelable && T.preventDefault();
|
|
32059
32067
|
return;
|
|
32060
32068
|
}
|
|
32061
|
-
if (!
|
|
32062
|
-
var
|
|
32069
|
+
if (!k) {
|
|
32070
|
+
var w = (s.current.shards || []).map(JO).filter(Boolean).filter(function(R) {
|
|
32063
32071
|
return R.contains(T.target);
|
|
32064
|
-
}), C =
|
|
32072
|
+
}), C = w.length > 0 ? o(T, w[0]) : !s.current.noIsolation;
|
|
32065
32073
|
C && T.cancelable && T.preventDefault();
|
|
32066
32074
|
}
|
|
32067
32075
|
}
|
|
32068
|
-
}, []), u = Q.useCallback(function(p, T, g,
|
|
32069
|
-
var
|
|
32070
|
-
t.current.push(
|
|
32076
|
+
}, []), u = Q.useCallback(function(p, T, g, k) {
|
|
32077
|
+
var w = { name: p, delta: T, target: g, should: k, shadowParent: y$(g) };
|
|
32078
|
+
t.current.push(w), setTimeout(function() {
|
|
32071
32079
|
t.current = t.current.filter(function(C) {
|
|
32072
|
-
return C !==
|
|
32080
|
+
return C !== w;
|
|
32073
32081
|
});
|
|
32074
32082
|
}, 1);
|
|
32075
32083
|
}, []), c = Q.useCallback(function(p) {
|
|
@@ -32127,7 +32135,7 @@ var P$ = [" ", "Enter", "ArrowUp", "ArrowDown"], _$ = [" ", "Enter"], Sr = "Sele
|
|
|
32127
32135
|
disabled: h,
|
|
32128
32136
|
required: f,
|
|
32129
32137
|
form: m
|
|
32130
|
-
} = e, p = Ws(t), [T, g] = Q.useState(null), [
|
|
32138
|
+
} = e, p = Ws(t), [T, g] = Q.useState(null), [k, w] = Q.useState(null), [C, R] = Q.useState(!1), y = U6(u), [$, L] = VO({
|
|
32131
32139
|
prop: r,
|
|
32132
32140
|
defaultProp: i ?? !1,
|
|
32133
32141
|
onChange: a,
|
|
@@ -32145,8 +32153,8 @@ var P$ = [" ", "Enter", "ArrowUp", "ArrowDown"], _$ = [" ", "Enter"], Sr = "Sele
|
|
|
32145
32153
|
scope: t,
|
|
32146
32154
|
trigger: T,
|
|
32147
32155
|
onTriggerChange: g,
|
|
32148
|
-
valueNode:
|
|
32149
|
-
onValueNodeChange:
|
|
32156
|
+
valueNode: k,
|
|
32157
|
+
onValueNodeChange: w,
|
|
32150
32158
|
valueNodeHasChildren: C,
|
|
32151
32159
|
onValueNodeHasChildrenChange: R,
|
|
32152
32160
|
contentId: Gu(),
|
|
@@ -32154,7 +32162,7 @@ var P$ = [" ", "Enter", "ArrowUp", "ArrowDown"], _$ = [" ", "Enter"], Sr = "Sele
|
|
|
32154
32162
|
onValueChange: A,
|
|
32155
32163
|
open: $,
|
|
32156
32164
|
onOpenChange: L,
|
|
32157
|
-
dir:
|
|
32165
|
+
dir: y,
|
|
32158
32166
|
triggerPointerDownPosRef: X,
|
|
32159
32167
|
disabled: h,
|
|
32160
32168
|
children: [
|
|
@@ -32201,8 +32209,8 @@ cg.displayName = Sr;
|
|
|
32201
32209
|
var dg = "SelectTrigger", Og = Q.forwardRef(
|
|
32202
32210
|
(e, t) => {
|
|
32203
32211
|
const { __scopeSelect: n, disabled: r = !1, ...i } = e, a = Ws(n), s = er(dg, n), o = s.disabled || r, l = at(t, s.onTriggerChange), u = Ys(n), c = Q.useRef("touch"), [d, h, f] = $g((p) => {
|
|
32204
|
-
const T = u().filter((
|
|
32205
|
-
|
|
32212
|
+
const T = u().filter((w) => !w.disabled), g = T.find((w) => w.value === s.value), k = Ig(T, p, g);
|
|
32213
|
+
k !== void 0 && s.onValueChange(k.value);
|
|
32206
32214
|
}), m = (p) => {
|
|
32207
32215
|
o || (s.onOpenChange(!0), f()), p && (s.triggerPointerDownPosRef.current = {
|
|
32208
32216
|
x: Math.round(p.pageX),
|
|
@@ -32306,64 +32314,64 @@ var Mt = 10, [gg, tr] = ui(kr), L$ = "SelectContentImpl", D$ = /* @__PURE__ */ m
|
|
|
32306
32314
|
avoidCollisions: T,
|
|
32307
32315
|
//
|
|
32308
32316
|
...g
|
|
32309
|
-
} = e,
|
|
32317
|
+
} = e, k = er(kr, n), [w, C] = Q.useState(null), [R, y] = Q.useState(null), $ = at(t, (K) => C(K)), [L, q] = Q.useState(null), [A, X] = Q.useState(
|
|
32310
32318
|
null
|
|
32311
32319
|
), D = Ys(n), [Y, z] = Q.useState(!1), N = Q.useRef(!1);
|
|
32312
32320
|
Q.useEffect(() => {
|
|
32313
|
-
if (
|
|
32314
|
-
}, [
|
|
32321
|
+
if (w) return U4(w);
|
|
32322
|
+
}, [w]), tR();
|
|
32315
32323
|
const V = Q.useCallback(
|
|
32316
32324
|
(K) => {
|
|
32317
|
-
const [me, ...Qe] = D().map((Te) => Te.ref.current), [
|
|
32325
|
+
const [me, ...Qe] = D().map((Te) => Te.ref.current), [fe] = Qe.slice(-1), ge = document.activeElement;
|
|
32318
32326
|
for (const Te of K)
|
|
32319
|
-
if (Te === ge || (Te == null || Te.scrollIntoView({ block: "nearest" }), Te === me && R && (R.scrollTop = 0), Te ===
|
|
32327
|
+
if (Te === ge || (Te == null || Te.scrollIntoView({ block: "nearest" }), Te === me && R && (R.scrollTop = 0), Te === fe && R && (R.scrollTop = R.scrollHeight), Te == null || Te.focus(), document.activeElement !== ge)) return;
|
|
32320
32328
|
},
|
|
32321
32329
|
[D, R]
|
|
32322
32330
|
), J = Q.useCallback(
|
|
32323
|
-
() => V([L,
|
|
32324
|
-
[V, L,
|
|
32331
|
+
() => V([L, w]),
|
|
32332
|
+
[V, L, w]
|
|
32325
32333
|
);
|
|
32326
32334
|
Q.useEffect(() => {
|
|
32327
32335
|
Y && J();
|
|
32328
32336
|
}, [Y, J]);
|
|
32329
|
-
const { onOpenChange: Z, triggerPointerDownPosRef: ie } =
|
|
32337
|
+
const { onOpenChange: Z, triggerPointerDownPosRef: ie } = k;
|
|
32330
32338
|
Q.useEffect(() => {
|
|
32331
|
-
if (
|
|
32339
|
+
if (w) {
|
|
32332
32340
|
let K = { x: 0, y: 0 };
|
|
32333
|
-
const me = (
|
|
32341
|
+
const me = (fe) => {
|
|
32334
32342
|
var ge, Te;
|
|
32335
32343
|
K = {
|
|
32336
|
-
x: Math.abs(Math.round(
|
|
32337
|
-
y: Math.abs(Math.round(
|
|
32344
|
+
x: Math.abs(Math.round(fe.pageX) - (((ge = ie.current) == null ? void 0 : ge.x) ?? 0)),
|
|
32345
|
+
y: Math.abs(Math.round(fe.pageY) - (((Te = ie.current) == null ? void 0 : Te.y) ?? 0))
|
|
32338
32346
|
};
|
|
32339
|
-
}, Qe = (
|
|
32340
|
-
K.x <= 10 && K.y <= 10 ?
|
|
32347
|
+
}, Qe = (fe) => {
|
|
32348
|
+
K.x <= 10 && K.y <= 10 ? fe.preventDefault() : w.contains(fe.target) || Z(!1), document.removeEventListener("pointermove", me), ie.current = null;
|
|
32341
32349
|
};
|
|
32342
32350
|
return ie.current !== null && (document.addEventListener("pointermove", me), document.addEventListener("pointerup", Qe, { capture: !0, once: !0 })), () => {
|
|
32343
32351
|
document.removeEventListener("pointermove", me), document.removeEventListener("pointerup", Qe, { capture: !0 });
|
|
32344
32352
|
};
|
|
32345
32353
|
}
|
|
32346
|
-
}, [
|
|
32354
|
+
}, [w, Z, ie]), Q.useEffect(() => {
|
|
32347
32355
|
const K = () => Z(!1);
|
|
32348
32356
|
return window.addEventListener("blur", K), window.addEventListener("resize", K), () => {
|
|
32349
32357
|
window.removeEventListener("blur", K), window.removeEventListener("resize", K);
|
|
32350
32358
|
};
|
|
32351
32359
|
}, [Z]);
|
|
32352
32360
|
const [P, Se] = $g((K) => {
|
|
32353
|
-
const me = D().filter((ge) => !ge.disabled), Qe = me.find((ge) => ge.ref.current === document.activeElement),
|
|
32354
|
-
|
|
32361
|
+
const me = D().filter((ge) => !ge.disabled), Qe = me.find((ge) => ge.ref.current === document.activeElement), fe = Ig(me, K, Qe);
|
|
32362
|
+
fe && setTimeout(() => fe.ref.current.focus());
|
|
32355
32363
|
}), ye = Q.useCallback(
|
|
32356
32364
|
(K, me, Qe) => {
|
|
32357
|
-
const
|
|
32358
|
-
(
|
|
32365
|
+
const fe = !N.current && !Qe;
|
|
32366
|
+
(k.value !== void 0 && k.value === me || fe) && (q(K), fe && (N.current = !0));
|
|
32359
32367
|
},
|
|
32360
|
-
[
|
|
32361
|
-
),
|
|
32368
|
+
[k.value]
|
|
32369
|
+
), v = Q.useCallback(() => w == null ? void 0 : w.focus(), [w]), ue = Q.useCallback(
|
|
32362
32370
|
(K, me, Qe) => {
|
|
32363
|
-
const
|
|
32364
|
-
(
|
|
32371
|
+
const fe = !N.current && !Qe;
|
|
32372
|
+
(k.value !== void 0 && k.value === me || fe) && X(K);
|
|
32365
32373
|
},
|
|
32366
|
-
[
|
|
32374
|
+
[k.value]
|
|
32367
32375
|
), Ne = r === "popper" ? zl : Tg, Ee = Ne === zl ? {
|
|
32368
32376
|
side: o,
|
|
32369
32377
|
sideOffset: l,
|
|
@@ -32380,12 +32388,12 @@ var Mt = 10, [gg, tr] = ui(kr), L$ = "SelectContentImpl", D$ = /* @__PURE__ */ m
|
|
|
32380
32388
|
gg,
|
|
32381
32389
|
{
|
|
32382
32390
|
scope: n,
|
|
32383
|
-
content:
|
|
32391
|
+
content: w,
|
|
32384
32392
|
viewport: R,
|
|
32385
|
-
onViewportChange:
|
|
32393
|
+
onViewportChange: y,
|
|
32386
32394
|
itemRefCallback: ye,
|
|
32387
32395
|
selectedItem: L,
|
|
32388
|
-
onItemLeave:
|
|
32396
|
+
onItemLeave: v,
|
|
32389
32397
|
itemTextRefCallback: ue,
|
|
32390
32398
|
focusSelectedItem: J,
|
|
32391
32399
|
selectedItemText: A,
|
|
@@ -32396,13 +32404,13 @@ var Mt = 10, [gg, tr] = ui(kr), L$ = "SelectContentImpl", D$ = /* @__PURE__ */ m
|
|
|
32396
32404
|
Qm,
|
|
32397
32405
|
{
|
|
32398
32406
|
asChild: !0,
|
|
32399
|
-
trapped:
|
|
32407
|
+
trapped: k.open,
|
|
32400
32408
|
onMountAutoFocus: (K) => {
|
|
32401
32409
|
K.preventDefault();
|
|
32402
32410
|
},
|
|
32403
32411
|
onUnmountAutoFocus: Ye(i, (K) => {
|
|
32404
32412
|
var me;
|
|
32405
|
-
(me =
|
|
32413
|
+
(me = k.trigger) == null || me.focus({ preventScroll: !0 }), K.preventDefault();
|
|
32406
32414
|
}),
|
|
32407
32415
|
children: /* @__PURE__ */ re(
|
|
32408
32416
|
Pm,
|
|
@@ -32412,14 +32420,14 @@ var Mt = 10, [gg, tr] = ui(kr), L$ = "SelectContentImpl", D$ = /* @__PURE__ */ m
|
|
|
32412
32420
|
onEscapeKeyDown: a,
|
|
32413
32421
|
onPointerDownOutside: s,
|
|
32414
32422
|
onFocusOutside: (K) => K.preventDefault(),
|
|
32415
|
-
onDismiss: () =>
|
|
32423
|
+
onDismiss: () => k.onOpenChange(!1),
|
|
32416
32424
|
children: /* @__PURE__ */ re(
|
|
32417
32425
|
Ne,
|
|
32418
32426
|
{
|
|
32419
32427
|
role: "listbox",
|
|
32420
|
-
id:
|
|
32421
|
-
"data-state":
|
|
32422
|
-
dir:
|
|
32428
|
+
id: k.contentId,
|
|
32429
|
+
"data-state": k.open ? "open" : "closed",
|
|
32430
|
+
dir: k.dir,
|
|
32423
32431
|
onContextMenu: (K) => K.preventDefault(),
|
|
32424
32432
|
...g,
|
|
32425
32433
|
...Ee,
|
|
@@ -32436,12 +32444,12 @@ var Mt = 10, [gg, tr] = ui(kr), L$ = "SelectContentImpl", D$ = /* @__PURE__ */ m
|
|
|
32436
32444
|
onKeyDown: Ye(g.onKeyDown, (K) => {
|
|
32437
32445
|
const me = K.ctrlKey || K.altKey || K.metaKey;
|
|
32438
32446
|
if (K.key === "Tab" && K.preventDefault(), !me && K.key.length === 1 && Se(K.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(K.key)) {
|
|
32439
|
-
let
|
|
32440
|
-
if (["ArrowUp", "End"].includes(K.key) && (
|
|
32441
|
-
const ge = K.target, Te =
|
|
32442
|
-
|
|
32447
|
+
let fe = D().filter((ge) => !ge.disabled).map((ge) => ge.ref.current);
|
|
32448
|
+
if (["ArrowUp", "End"].includes(K.key) && (fe = fe.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(K.key)) {
|
|
32449
|
+
const ge = K.target, Te = fe.indexOf(ge);
|
|
32450
|
+
fe = fe.slice(Te + 1);
|
|
32443
32451
|
}
|
|
32444
|
-
setTimeout(() => V(
|
|
32452
|
+
setTimeout(() => V(fe)), K.preventDefault();
|
|
32445
32453
|
}
|
|
32446
32454
|
})
|
|
32447
32455
|
}
|
|
@@ -32456,7 +32464,7 @@ var Mt = 10, [gg, tr] = ui(kr), L$ = "SelectContentImpl", D$ = /* @__PURE__ */ m
|
|
|
32456
32464
|
);
|
|
32457
32465
|
bg.displayName = L$;
|
|
32458
32466
|
var M$ = "SelectItemAlignedPosition", Tg = Q.forwardRef((e, t) => {
|
|
32459
|
-
const { __scopeSelect: n, onPlaced: r, ...i } = e, a = er(kr, n), s = tr(kr, n), [o, l] = Q.useState(null), [u, c] = Q.useState(null), d = at(t, ($) => c($)), h = Ys(n), f = Q.useRef(!1), m = Q.useRef(!0), { viewport: p, selectedItem: T, selectedItemText: g, focusSelectedItem:
|
|
32467
|
+
const { __scopeSelect: n, onPlaced: r, ...i } = e, a = er(kr, n), s = tr(kr, n), [o, l] = Q.useState(null), [u, c] = Q.useState(null), d = at(t, ($) => c($)), h = Ys(n), f = Q.useRef(!1), m = Q.useRef(!0), { viewport: p, selectedItem: T, selectedItemText: g, focusSelectedItem: k } = s, w = Q.useCallback(() => {
|
|
32460
32468
|
if (a.trigger && a.valueNode && o && u && p && T && g) {
|
|
32461
32469
|
const $ = a.trigger.getBoundingClientRect(), L = u.getBoundingClientRect(), q = a.valueNode.getBoundingClientRect(), A = g.getBoundingClientRect();
|
|
32462
32470
|
if (a.dir !== "rtl") {
|
|
@@ -32477,14 +32485,14 @@ var M$ = "SelectItemAlignedPosition", Tg = Q.forwardRef((e, t) => {
|
|
|
32477
32485
|
]);
|
|
32478
32486
|
o.style.minWidth = At + "px", o.style.right = $n + "px";
|
|
32479
32487
|
}
|
|
32480
|
-
const X = h(), D = window.innerHeight - Mt * 2, Y = p.scrollHeight, z = window.getComputedStyle(u), N = parseInt(z.borderTopWidth, 10), V = parseInt(z.paddingTop, 10), J = parseInt(z.borderBottomWidth, 10), Z = parseInt(z.paddingBottom, 10), ie = N + V + Y + Z + J, P = Math.min(T.offsetHeight * 5, ie), Se = window.getComputedStyle(p), ye = parseInt(Se.paddingTop, 10),
|
|
32488
|
+
const X = h(), D = window.innerHeight - Mt * 2, Y = p.scrollHeight, z = window.getComputedStyle(u), N = parseInt(z.borderTopWidth, 10), V = parseInt(z.paddingTop, 10), J = parseInt(z.borderBottomWidth, 10), Z = parseInt(z.paddingBottom, 10), ie = N + V + Y + Z + J, P = Math.min(T.offsetHeight * 5, ie), Se = window.getComputedStyle(p), ye = parseInt(Se.paddingTop, 10), v = parseInt(Se.paddingBottom, 10), ue = $.top + $.height / 2 - Mt, Ne = D - ue, Ee = T.offsetHeight / 2, K = T.offsetTop + Ee, me = N + V + K, Qe = ie - me;
|
|
32481
32489
|
if (me <= ue) {
|
|
32482
32490
|
const ge = X.length > 0 && T === X[X.length - 1].ref.current;
|
|
32483
32491
|
o.style.bottom = "0px";
|
|
32484
32492
|
const Te = u.clientHeight - p.offsetTop - p.offsetHeight, Ot = Math.max(
|
|
32485
32493
|
Ne,
|
|
32486
32494
|
Ee + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
|
32487
|
-
(ge ?
|
|
32495
|
+
(ge ? v : 0) + Te + J
|
|
32488
32496
|
), At = me + Ot;
|
|
32489
32497
|
o.style.height = At + "px";
|
|
32490
32498
|
} else {
|
|
@@ -32511,16 +32519,16 @@ var M$ = "SelectItemAlignedPosition", Tg = Q.forwardRef((e, t) => {
|
|
|
32511
32519
|
a.dir,
|
|
32512
32520
|
r
|
|
32513
32521
|
]);
|
|
32514
|
-
Tt(() =>
|
|
32522
|
+
Tt(() => w(), [w]);
|
|
32515
32523
|
const [C, R] = Q.useState();
|
|
32516
32524
|
Tt(() => {
|
|
32517
32525
|
u && R(window.getComputedStyle(u).zIndex);
|
|
32518
32526
|
}, [u]);
|
|
32519
|
-
const
|
|
32527
|
+
const y = Q.useCallback(
|
|
32520
32528
|
($) => {
|
|
32521
|
-
$ && m.current === !0 && (
|
|
32529
|
+
$ && m.current === !0 && (w(), k == null || k(), m.current = !1);
|
|
32522
32530
|
},
|
|
32523
|
-
[
|
|
32531
|
+
[w, k]
|
|
32524
32532
|
);
|
|
32525
32533
|
return /* @__PURE__ */ re(
|
|
32526
32534
|
z$,
|
|
@@ -32528,7 +32536,7 @@ var M$ = "SelectItemAlignedPosition", Tg = Q.forwardRef((e, t) => {
|
|
|
32528
32536
|
scope: n,
|
|
32529
32537
|
contentWrapper: o,
|
|
32530
32538
|
shouldExpandOnScrollRef: f,
|
|
32531
|
-
onScrollButtonChange:
|
|
32539
|
+
onScrollButtonChange: y,
|
|
32532
32540
|
children: /* @__PURE__ */ re(
|
|
32533
32541
|
"div",
|
|
32534
32542
|
{
|
|
@@ -32629,8 +32637,8 @@ var [z$, sc] = ui(kr, {}), Bl = "SelectViewport", xg = Q.forwardRef(
|
|
|
32629
32637
|
if (f > 0) {
|
|
32630
32638
|
const m = window.innerHeight - Mt * 2, p = parseFloat(d.style.minHeight), T = parseFloat(d.style.height), g = Math.max(p, T);
|
|
32631
32639
|
if (g < m) {
|
|
32632
|
-
const
|
|
32633
|
-
d.style.height =
|
|
32640
|
+
const k = g + f, w = Math.min(m, k), C = k - w;
|
|
32641
|
+
d.style.height = w + "px", d.style.bottom === "0px" && (c.scrollTop = C > 0 ? C : 0, d.style.justifyContent = "flex-end");
|
|
32634
32642
|
}
|
|
32635
32643
|
}
|
|
32636
32644
|
}
|
|
@@ -32666,9 +32674,9 @@ var Ss = "SelectItem", [F$, wg] = ui(Ss), Eg = Q.forwardRef(
|
|
|
32666
32674
|
...s
|
|
32667
32675
|
} = e, o = er(Ss, n), l = tr(Ss, n), u = o.value === r, [c, d] = Q.useState(a ?? ""), [h, f] = Q.useState(!1), m = at(
|
|
32668
32676
|
t,
|
|
32669
|
-
(
|
|
32670
|
-
var
|
|
32671
|
-
return (
|
|
32677
|
+
(k) => {
|
|
32678
|
+
var w;
|
|
32679
|
+
return (w = l.itemRefCallback) == null ? void 0 : w.call(l, k, r, i);
|
|
32672
32680
|
}
|
|
32673
32681
|
), p = Gu(), T = Q.useRef("touch"), g = () => {
|
|
32674
32682
|
i || (o.onValueChange(r), o.onOpenChange(!1));
|
|
@@ -32685,8 +32693,8 @@ var Ss = "SelectItem", [F$, wg] = ui(Ss), Eg = Q.forwardRef(
|
|
|
32685
32693
|
disabled: i,
|
|
32686
32694
|
textId: p,
|
|
32687
32695
|
isSelected: u,
|
|
32688
|
-
onItemTextChange: Q.useCallback((
|
|
32689
|
-
d((
|
|
32696
|
+
onItemTextChange: Q.useCallback((k) => {
|
|
32697
|
+
d((w) => w || ((k == null ? void 0 : k.textContent) ?? "").trim());
|
|
32690
32698
|
}, []),
|
|
32691
32699
|
children: /* @__PURE__ */ re(
|
|
32692
32700
|
Fs.ItemSlot,
|
|
@@ -32716,20 +32724,20 @@ var Ss = "SelectItem", [F$, wg] = ui(Ss), Eg = Q.forwardRef(
|
|
|
32716
32724
|
onPointerUp: Ye(s.onPointerUp, () => {
|
|
32717
32725
|
T.current === "mouse" && g();
|
|
32718
32726
|
}),
|
|
32719
|
-
onPointerDown: Ye(s.onPointerDown, (
|
|
32720
|
-
T.current =
|
|
32727
|
+
onPointerDown: Ye(s.onPointerDown, (k) => {
|
|
32728
|
+
T.current = k.pointerType;
|
|
32721
32729
|
}),
|
|
32722
|
-
onPointerMove: Ye(s.onPointerMove, (
|
|
32723
|
-
var
|
|
32724
|
-
T.current =
|
|
32730
|
+
onPointerMove: Ye(s.onPointerMove, (k) => {
|
|
32731
|
+
var w;
|
|
32732
|
+
T.current = k.pointerType, i ? (w = l.onItemLeave) == null || w.call(l) : T.current === "mouse" && k.currentTarget.focus({ preventScroll: !0 });
|
|
32725
32733
|
}),
|
|
32726
|
-
onPointerLeave: Ye(s.onPointerLeave, (
|
|
32727
|
-
var
|
|
32728
|
-
|
|
32734
|
+
onPointerLeave: Ye(s.onPointerLeave, (k) => {
|
|
32735
|
+
var w;
|
|
32736
|
+
k.currentTarget === document.activeElement && ((w = l.onItemLeave) == null || w.call(l));
|
|
32729
32737
|
}),
|
|
32730
|
-
onKeyDown: Ye(s.onKeyDown, (
|
|
32738
|
+
onKeyDown: Ye(s.onKeyDown, (k) => {
|
|
32731
32739
|
var C;
|
|
32732
|
-
((C = l.searchRef) == null ? void 0 : C.current) !== "" &&
|
|
32740
|
+
((C = l.searchRef) == null ? void 0 : C.current) !== "" && k.key === " " || (_$.includes(k.key) && g(), k.key === " " && k.preventDefault());
|
|
32733
32741
|
})
|
|
32734
32742
|
}
|
|
32735
32743
|
)
|
|
@@ -32747,8 +32755,8 @@ var Qi = "SelectItemText", yg = Q.forwardRef(
|
|
|
32747
32755
|
(g) => d(g),
|
|
32748
32756
|
l.onItemTextChange,
|
|
32749
32757
|
(g) => {
|
|
32750
|
-
var
|
|
32751
|
-
return (
|
|
32758
|
+
var k;
|
|
32759
|
+
return (k = o.itemTextRefCallback) == null ? void 0 : k.call(o, g, l.value, l.disabled);
|
|
32752
32760
|
}
|
|
32753
32761
|
), f = c == null ? void 0 : c.textContent, m = Q.useMemo(
|
|
32754
32762
|
() => /* @__PURE__ */ re("option", { value: l.value, disabled: l.disabled, children: f }, l.value),
|
|
@@ -33194,7 +33202,7 @@ function dI({
|
|
|
33194
33202
|
n.value && /* @__PURE__ */ ee(
|
|
33195
33203
|
"div",
|
|
33196
33204
|
{
|
|
33197
|
-
className:
|
|
33205
|
+
className: Oe(
|
|
33198
33206
|
"bg-base relative flex flex-col min-h-0 rounded-[calc(var(--el-sheet-radius)-8px)] border border-base-border w-full transition-shadow overflow-hidden",
|
|
33199
33207
|
i.value && "ring-2 ring-accent"
|
|
33200
33208
|
),
|
|
@@ -33667,7 +33675,7 @@ function TI({
|
|
|
33667
33675
|
onStartSession: r
|
|
33668
33676
|
}) {
|
|
33669
33677
|
const i = De(), a = jl(), s = ws(), o = oe(
|
|
33670
|
-
() =>
|
|
33678
|
+
() => Oe(
|
|
33671
33679
|
"absolute origin-top-left transition-[transform,left,top,opacity,scale] duration-200 z-10",
|
|
33672
33680
|
"data-hidden:opacity-0",
|
|
33673
33681
|
t.value ? "top-4 left-4 scale-[0.1667]" : a.value ? "top-[40%] left-1/2 -translate-x-1/2 -translate-y-1/2 scale-100" : "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 scale-100"
|
|
@@ -33712,22 +33720,22 @@ function rh({ open: e }) {
|
|
|
33712
33720
|
},
|
|
33713
33721
|
...o.value
|
|
33714
33722
|
] : r.value.transcript_enabled ? o.value : o.value.filter(
|
|
33715
|
-
(
|
|
33723
|
+
(y) => y.type !== "message" || y.isText
|
|
33716
33724
|
);
|
|
33717
33725
|
}), m = oe(
|
|
33718
33726
|
() => f.value.length > 0 || !a.value && r.value.transcript_enabled
|
|
33719
33727
|
), p = Ae(!0), T = oe(() => c.value !== "feedback"), g = oe(
|
|
33720
33728
|
() => m.value && !a.value
|
|
33721
|
-
), w = oe(
|
|
33722
|
-
() => c.value !== "feedback" && (!m.value || a.value)
|
|
33723
33729
|
), k = oe(
|
|
33730
|
+
() => c.value !== "feedback" && (!m.value || a.value)
|
|
33731
|
+
), w = oe(
|
|
33724
33732
|
() => !!r.value.conversation_mode_toggle_enabled && !n.value && !a.value
|
|
33725
33733
|
), C = oe(() => m.value);
|
|
33726
33734
|
return /* @__PURE__ */ b(ot, { initial: !1, active: e, children: /* @__PURE__ */ ee(
|
|
33727
33735
|
"div",
|
|
33728
33736
|
{
|
|
33729
33737
|
"data-variant": h.value,
|
|
33730
|
-
className:
|
|
33738
|
+
className: Oe(
|
|
33731
33739
|
"sheet",
|
|
33732
33740
|
"flex flex-col overflow-hidden absolute bg-base shadow-lg pointer-events-auto z-2",
|
|
33733
33741
|
"transition-[width,height,max-width,max-height,transform,border-radius,opacity,inset,bottom,top,left,right,margin,padding] duration-200",
|
|
@@ -33742,8 +33750,8 @@ function rh({ open: e }) {
|
|
|
33742
33750
|
showBackButton: d.showHeaderBack,
|
|
33743
33751
|
onBackClick: d.onHeaderBack,
|
|
33744
33752
|
showStatusLabel: g,
|
|
33745
|
-
showLanguageSelector:
|
|
33746
|
-
showConversationModeToggle:
|
|
33753
|
+
showLanguageSelector: k,
|
|
33754
|
+
showConversationModeToggle: w,
|
|
33747
33755
|
showExpandButton: C
|
|
33748
33756
|
}
|
|
33749
33757
|
),
|
|
@@ -34069,11 +34077,11 @@ const Nr = {
|
|
|
34069
34077
|
const t = Ve(), n = Ae(t.peek().default_expanded), r = Ae(!1), { error: i } = We(), a = ks(), { variant: s } = uc(), o = oe(
|
|
34070
34078
|
() => t.value.transcript_enabled || t.value.text_input_enabled
|
|
34071
34079
|
), l = mh(), u = oe(
|
|
34072
|
-
() =>
|
|
34080
|
+
() => Oe(
|
|
34073
34081
|
"overlay !flex transition-[opacity] duration-200 data-hidden:opacity-0",
|
|
34074
34082
|
ih[t.value.placement]
|
|
34075
34083
|
)
|
|
34076
|
-
), c = oe(() => s.value === "fullscreen" ?
|
|
34084
|
+
), c = oe(() => s.value === "fullscreen" ? Oe(u.value, ih.bottom) : u.value);
|
|
34077
34085
|
qt(() => {
|
|
34078
34086
|
i.value && (o.value ? (r.value = !0, n.value = !0) : r.value = !1);
|
|
34079
34087
|
}), qt(() => {
|