@eka-care/medassist-widget 0.1.59 → 0.1.60
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--opacity-0: 0;--opacity-1: .1;--opacity-2: .2;--opacity-3: .3;--opacity-4: .4;--opacity-5: .5;--opacity-6: .6;--opacity-7: .7;--opacity-8: .8;--opacity-9: .9;--opacity-10: 1;--black-50: rgba(0, 0, 0, .05);--black-100: rgba(0, 0, 0, .1);--black-200: rgba(0, 0, 0, .2);--black-300: rgba(0, 0, 0, .3);--black-400: rgba(0, 0, 0, .4);--black-500: rgba(0, 0, 0, .5);--black-600: rgba(0, 0, 0, .6);--black-700: rgba(0, 0, 0, .7);--black-800: rgba(0, 0, 0, .8);--black-900: rgba(0, 0, 0, .9);--black-1000: #000000;--white-50: rgba(255, 255, 255, .05);--white-100: rgba(255, 255, 255, .1);--white-200: rgba(255, 255, 255, .2);--white-300: rgba(255, 255, 255, .3);--white-400: rgba(255, 255, 255, .4);--white-500: rgba(255, 255, 255, .5);--white-600: rgba(255, 255, 255, .6);--white-700: rgba(255, 255, 255, .7);--white-800: rgba(255, 255, 255, .8);--white-900: rgba(255, 255, 255, .9);--white-1000: #ffffff;--base-00: #ffffff;--base-50: #f0f0f0;--base-100: #e6e6e6;--base-200: #cccccc;--base-300: #b3b3b3;--base-400: #999999;--base-500: #808080;--base-600: #666666;--base-700: #4d4d4d;--base-800: #333333;--base-900: #191919;--base-1000: #000000;--accent-50: #f7f6fd;--accent-100: #f0eefb;--accent-200: #dad6f7;--accent-300: #b5adef;--accent-400: #9084e7;--accent-500: #6b5ce0;--accent-500-op50: rgba(107, 92, 224, .5);--accent-600: #5a4ebe;--accent-700: #453b91;--accent-800: #302964;--accent-900: #1a1738;--accent-1000: #0a0916}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 94.1%;--foreground: 0 0% 3.9%;--card: 0 0% 100% / .6;--card-foreground: 0 0% 3.9%;--popover: 0 0% 100%;--popover-foreground: 0 0% 3.9%;--theme-background-image: none;--theme-background-blur: 24px;--theme-background-overlay: rgba(0, 0, 0, .4);--primary: 262 83% 58%;--primary-foreground: 0 0% 98%;--ring: var(--primary);--border-primary: var(--primary);--secondary: 0 0% 96.1%;--secondary-foreground: 0 0% 9%;--muted: 0 0% 96.1%;--muted-foreground: 0 0% 45.1%;--accent: var(--primary);--accent-foreground: var(--primary-foreground);--surface: 0 0% 94.1%;--surface-secondary: 0 0% 96.1%;--surface-tertiary: 0 0% 98%;--border-subtle: 0 0% 89.8%;--border-medium: 0 0% 80%;--text-primary: 0 0% 3.9%;--text-secondary: 0 0% 45.1%;--text-tertiary: 0 0% 63.9%;--text-muted: 0 0% 45.1%;--bot-message-border: 0 0% 96%;--bot-message-bg: rgba(0, 0, 0, .1);--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 0 0% 89.8%;--input: 0 0% 89.8%;--popover-50: var(--black-50);--popover-100: var(--black-100);--popover-200: var(--black-200)}.theme-with-background .synapse-chat-window{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.theme-with-background[data-text-color=white] .synapse-chat-window{background-color:#0000001f}.theme-with-background[data-text-color=black] .synapse-chat-window{background-color:#ffffff1f}.theme-with-background .synapse-chat-widget-header,.theme-with-background .synapse-chat-widget-footer{backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.theme-with-background[data-text-color=white] .synapse-chat-widget-header{background-color:#0006!important;border-bottom:1px solid var(--white-200)!important}.theme-with-background[data-text-color=black] .synapse-chat-widget-header{background-color:#fff6!important;border-bottom:1px solid var(--black-200)!important}.theme-with-background[data-text-color=white] .synapse-chat-widget-footer{background-color:#0006!important;border-top:1px solid hsl(var(--border-primary) / .5)!important}.theme-with-background[data-text-color=black] .synapse-chat-widget-footer{background-color:#fff6!important;border-top:1px solid hsl(var(--border-primary) / .5)!important}.theme-with-background[data-text-color=white] .synapse-chat-widget-footer.synapse-chat-widget-footer--no-border,.theme-with-background[data-text-color=black] .synapse-chat-widget-footer.synapse-chat-widget-footer--no-border{border-top:none!important}.theme-with-background .synapse-header-title{color:hsl(var(--primary))}.theme-with-background[data-text-color=white] .synapse-header-title{text-shadow:0 1px 4px rgba(255,255,255,.3)}.theme-with-background[data-text-color=black] .synapse-header-title{text-shadow:0 1px 4px rgba(0,0,0,.3)}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}.\!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}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-3{left:.75rem;right:.75rem}.bottom-0{bottom:0}.bottom-\[10px\]{bottom:10px}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.right-3{right:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-3{top:.75rem}.isolate{isolation:isolate}.-z-10{z-index:-10}.z-10{z-index:10}.z-50{z-index:50}.z-\[2147483647\]{z-index:2147483647}.z-\[55\]{z-index:55}.z-\[60\]{z-index:60}.m-0{margin:0}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-border{box-sizing:border-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-4{width:1rem;height:1rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[100svh\]{height:100svh}.h-\[200px\]{height:200px}.h-\[600px\]{height:600px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[136px\]{max-height:136px}.min-h-0{min-height:0px}.min-h-8{min-height:2rem}.min-h-9{min-height:2.25rem}.min-h-\[40px\]{min-height:40px}.min-h-\[56px\]{min-height:56px}.min-h-\[60px\]{min-height:60px}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-56{width:14rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[200px\]{width:200px}.w-\[210px\]{width:210px}.w-full{width:100%}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-\[210px\]{min-width:210px}.min-w-\[8rem\]{min-width:8rem}.max-w-2xl{max-width:42rem}.max-w-\[200px\]{max-width:200px}.max-w-\[280px\]{max-width:280px}.max-w-\[320px\]{max-width:320px}.max-w-\[60\%\]{max-width:60%}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.-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{--tw-translate-y: -.25rem;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-x-1{--tw-translate-x: .25rem;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))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.\!resize{resize:both!important}.resize{resize:both}.scroll-mt-\[16px\]{scroll-margin-top:16px}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-items-center{place-items:center}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-y-1{row-gap:.25rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overscroll-contain{overscroll-behavior:contain}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.\!rounded-none{border-radius:0!important}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[\#F7B500\]{--tw-border-opacity: 1;border-color:rgb(247 181 0 / var(--tw-border-opacity))}.border-background{border-color:hsl(var(--background))}.border-black-200{border-color:var(--black-200)}.border-border{border-color:hsl(var(--border))}.border-border-medium{border-color:hsl(var(--border-medium))}.border-border-subtle{border-color:hsl(var(--border-subtle))}.border-border-subtle\/50{border-color:hsl(var(--border-subtle) / .5)}.border-border-subtle\/60{border-color:hsl(var(--border-subtle) / .6)}.border-input{border-color:hsl(var(--input))}.border-muted-foreground{border-color:hsl(var(--muted-foreground))}.border-neutral-300{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-primary\/15{border-color:hsl(var(--primary) / .15)}.border-primary\/20{border-color:hsl(var(--primary) / .2)}.border-primary\/30{border-color:hsl(var(--primary) / .3)}.border-primary\/40{border-color:hsl(var(--primary) / .4)}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.\!bg-transparent{background-color:transparent!important}.bg-\[\#F7B500\]{--tw-bg-opacity: 1;background-color:rgb(247 181 0 / var(--tw-bg-opacity))}.bg-\[var\(--color-muted\)\]{background-color:var(--color-muted)}.bg-accent\/50{background-color:hsl(var(--accent) / .5)}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-background\/90{background-color:hsl(var(--background) / .9)}.bg-black-100{background-color:var(--black-100)}.bg-black-600{background-color:var(--black-600)}.bg-border{background-color:hsl(var(--border))}.bg-botMessage{background-color:var(--bot-message-bg)}.bg-destructive{background-color:hsl(var(--destructive))}.bg-destructive\/10{background-color:hsl(var(--destructive) / var(--opacity-10))}.bg-elicitationBg{background-color:var(--elicitation-bg)}.bg-foreground{background-color:hsl(var(--foreground))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/15{background-color:hsl(var(--primary) / .15)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-primary\/40{background-color:hsl(var(--primary) / .4)}.bg-primary\/\[20\%\]{background-color:hsl(var(--primary) / 20%)}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-surface{background-color:hsl(var(--surface))}.bg-surface-secondary{background-color:hsl(var(--surface-secondary))}.bg-surface\/60{background-color:hsl(var(--surface) / .6)}.bg-surface\/80{background-color:hsl(var(--surface) / .8)}.bg-surface\/90{background-color:hsl(var(--surface) / .9)}.bg-text-tertiary{background-color:hsl(var(--text-tertiary))}.bg-transparent{background-color:transparent}.bg-white-100{background-color:var(--white-100)}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-elicitationBg{--tw-gradient-from: var(--elicitation-bg) 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)}.from-primary{--tw-gradient-from: hsl(var(--primary)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-400{--tw-gradient-from: #f87171 var(--tw-gradient-from-position);--tw-gradient-to: rgb(248 113 113 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-rose-400{--tw-gradient-from: #fb7185 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 113 133 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-elicitationBg{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--elicitation-bg) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-primary{--tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), hsl(var(--primary)) var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-indigo-500{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.to-primary{--tw-gradient-to: hsl(var(--primary)) var(--tw-gradient-to-position)}.to-rose-500{--tw-gradient-to: #f43f5e var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.\!px-0{padding-left:0!important;padding-right:0!important}.\!py-0{padding-top:0!important;padding-bottom:0!important}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pr-11{padding-right:2.75rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[8px\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-\[14px\]{line-height:14px}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-\[0\.12em\]{letter-spacing:.12em}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-\[var\(--color-foreground\)\]{color:var(--color-foreground)}.text-\[var\(--color-muted-foreground\)\]{color:var(--color-muted-foreground)}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.text-black-500{color:var(--black-500)}.text-black-900{color:var(--black-900)}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-primary\/50{color:hsl(var(--primary) / .5)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-text-primary{color:hsl(var(--text-primary))}.text-text-secondary{color:hsl(var(--text-secondary))}.text-text-tertiary{color:hsl(var(--text-tertiary))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:var(--opacity-0)}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.\!shadow-none{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_20px_rgba\(139\,92\,246\,0\.45\)\]{--tw-shadow: 0 0 20px rgba(139,92,246,.45);--tw-shadow-colored: 0 0 20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px 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-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--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(3px + 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-0{--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(0px + 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-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-primary\/20{--tw-ring-color: hsl(var(--primary) / .2)}.\!blur-none{--tw-blur: !important;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)!important}.blur{--tw-blur: blur(8px);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)}.grayscale{--tw-grayscale: grayscale(100%);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)}.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-none{--tw-backdrop-blur: !important;-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)!important;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)!important}.backdrop-blur{--tw-backdrop-blur: blur(8px);-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)}.backdrop-blur-2xl{--tw-backdrop-blur: blur(40px);-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)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: var(--opacity-0)}.zoom-in-95{--tw-enter-scale: .95}.slide-in-from-top-2{--tw-enter-translate-y: -.5rem}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.markdown-content{line-height:1.4;color:inherit}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{font-weight:600;margin-top:.5em;margin-bottom:.125em;line-height:1.2}.markdown-content h1{font-size:1.5em}.markdown-content h2{font-size:1.25em}.markdown-content h3{font-size:1.125em}.markdown-content p{margin:0 0 .25em;line-height:1.4}.markdown-content p:last-child{margin-bottom:0}.markdown-content ul,.markdown-content ol{margin:.125em 0;padding-left:1.5em}.markdown-content li{margin-bottom:0;line-height:1.4;padding-bottom:.125em}.markdown-content ol{counter-reset:item;list-style:none;padding-left:0}.markdown-content ol>li{counter-increment:item;position:relative;padding-left:2em;margin-bottom:0;padding-bottom:.125em}.markdown-content ol>li:before{content:counter(item) ".";position:absolute;left:0;top:0;font-weight:600;color:hsl(var(--primary));min-width:1.5em}.markdown-content ul>li{position:relative;padding-left:1.5em}.markdown-content ul>li:before{content:"•";position:absolute;left:0;top:0;color:hsl(var(--primary));font-weight:700;font-size:1.2em}.markdown-content blockquote{border-left:3px solid hsl(var(--border-subtle));padding:.5em 0 .5em 1em;margin:.375em 0;font-style:normal;color:hsl(var(--text-secondary));background-color:hsl(var(--surface-secondary));border-radius:.25rem}.markdown-content blockquote p{margin:0}.markdown-content blockquote p:not(:last-child){margin-bottom:.5em}.markdown-content code{background-color:hsl(var(--surface-secondary));padding:.125em .25em;border-radius:.25em;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace;font-size:.875em}.markdown-content pre{background-color:hsl(var(--surface-secondary));padding:1em;border-radius:.5em;overflow-x:auto;margin:1em 0}.markdown-content pre code{background-color:transparent;padding:0}.markdown-content strong{font-weight:600}.markdown-content em{font-style:italic}.markdown-content a{color:hsl(var(--primary));text-decoration:underline}.markdown-content a:hover{color:hsl(var(--primary));opacity:.8}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground\/40::-moz-placeholder{color:hsl(var(--muted-foreground) / .4)}.placeholder\:text-muted-foreground\/40::placeholder{color:hsl(var(--muted-foreground) / .4)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:inset-0:before{content:var(--tw-content);inset:0}.before\:-translate-x-full:before{content:var(--tw-content);--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))}.before\:animate-\[shimmer_1\.4s_infinite\]:before{content:var(--tw-content);animation:shimmer 1.4s infinite}.before\:bg-gradient-to-r:before{content:var(--tw-content);background-image:linear-gradient(to right,var(--tw-gradient-stops))}.before\:from-transparent:before{content:var(--tw-content);--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.before\:to-transparent:before{content:var(--tw-content);--tw-gradient-to: transparent var(--tw-gradient-to-position)}.hover\:line-clamp-none:hover{overflow:visible;display:block;-webkit-box-orient:horizontal;-webkit-line-clamp:none}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;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))}.hover\:whitespace-normal:hover{white-space:normal}.hover\:border-primary:hover{border-color:hsl(var(--primary))}.hover\:border-primary\/30:hover{border-color:hsl(var(--primary) / .3)}.hover\:border-primary\/40:hover{border-color:hsl(var(--primary) / .4)}.hover\:bg-\[var\(--color-muted-foreground\)\]:hover{background-color:var(--color-muted-foreground)}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-neutral-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary) / var(--opacity-10))}.hover\:bg-primary\/15:hover{background-color:hsl(var(--primary) / .15)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-surface:hover{background-color:hsl(var(--surface))}.hover\:bg-surface-secondary:hover{background-color:hsl(var(--surface-secondary))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:from-red-500:hover{--tw-gradient-from: #ef4444 var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-rose-600:hover{--tw-gradient-to: #e11d48 var(--tw-gradient-to-position)}.hover\:text-\[var\(--color-foreground\)\]:hover{color:var(--color-foreground)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-primary\/70:hover{color:hsl(var(--primary) / .7)}.hover\:text-primary\/80:hover{color:hsl(var(--primary) / .8)}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:opacity-90:hover{opacity:.9}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus-visible\:border-ring:focus-visible{border-color:hsl(var(--ring))}.focus-visible\:border-transparent:focus-visible{border-color:transparent}.focus-visible\:bg-accent:focus-visible{background-color:hsl(var(--accent))}.focus-visible\:bg-transparent:focus-visible{background-color:transparent}.focus-visible\:text-accent-foreground:focus-visible{color:hsl(var(--accent-foreground))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--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(0px + 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\:ring-1:focus-visible{--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(1px + 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\:ring-2:focus-visible{--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\:ring-\[3px\]:focus-visible{--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(3px + 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\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color: hsl(var(--ring) / .5)}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width: 0px}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;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))}.active\:scale-\[0\.98\]:active{--tw-scale-x: .98;--tw-scale-y: .98;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))}.active\:bg-accent\/80:active{background-color:hsl(var(--accent) / .8)}.active\:bg-transparent:active{background-color:transparent}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-primary\/50:disabled{background-color:hsl(var(--primary) / .5)}.disabled\:text-primary-foreground:disabled{color:hsl(var(--primary-foreground))}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:hover\:scale-100:hover:disabled{--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))}.group:hover .group-hover\:bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.group:hover .group-hover\:text-primary{color:hsl(var(--primary))}.group:hover .group-hover\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group:hover .group-hover\:text-primary-foreground\/80{color:hsl(var(--primary-foreground) / .8)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[placeholder\]\:text-muted-foreground[data-placeholder]{color:hsl(var(--muted-foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}@supports (hover:hover){.supports-\[hover\:hover\]\:hover\:bg-primary:hover{background-color:hsl(var(--primary))}.supports-\[hover\:hover\]\:hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}}.dark\:border-white-200:is(.dark *){border-color:var(--white-200)}.dark\:bg-input\/30:is(.dark *){background-color:hsl(var(--input) / .3)}.dark\:text-white-500:is(.dark *){color:var(--white-500)}.dark\:hover\:bg-input\/50:hover:is(.dark *){background-color:hsl(var(--input) / .5)}@media(min-width:768px){.md\:text-sm{font-size:.875rem;line-height:1.25rem}}.\[\&\>\[data-radix-scroll-area-viewport\]\>div\]\:\!flex>[data-radix-scroll-area-viewport]>div{display:flex!important}.\[\&\>\[data-radix-scroll-area-viewport\]\>div\]\:min-h-full>[data-radix-scroll-area-viewport]>div{min-height:100%}.\[\&\>\[data-radix-scroll-area-viewport\]\>div\]\:flex-col>[data-radix-scroll-area-viewport]>div{flex-direction:column}.\[\&_svg\:not\(\[class\*\=\"text-\"\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:hsl(var(--muted-foreground))}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}
|
|
1
|
+
:root,:host{--opacity-0: 0;--opacity-1: .1;--opacity-2: .2;--opacity-3: .3;--opacity-4: .4;--opacity-5: .5;--opacity-6: .6;--opacity-7: .7;--opacity-8: .8;--opacity-9: .9;--opacity-10: 1;--black-50: rgba(0, 0, 0, .05);--black-100: rgba(0, 0, 0, .1);--black-200: rgba(0, 0, 0, .2);--black-300: rgba(0, 0, 0, .3);--black-400: rgba(0, 0, 0, .4);--black-500: rgba(0, 0, 0, .5);--black-600: rgba(0, 0, 0, .6);--black-700: rgba(0, 0, 0, .7);--black-800: rgba(0, 0, 0, .8);--black-900: rgba(0, 0, 0, .9);--black-1000: #000000;--white-50: rgba(255, 255, 255, .05);--white-100: rgba(255, 255, 255, .1);--white-200: rgba(255, 255, 255, .2);--white-300: rgba(255, 255, 255, .3);--white-400: rgba(255, 255, 255, .4);--white-500: rgba(255, 255, 255, .5);--white-600: rgba(255, 255, 255, .6);--white-700: rgba(255, 255, 255, .7);--white-800: rgba(255, 255, 255, .8);--white-900: rgba(255, 255, 255, .9);--white-1000: #ffffff;--base-00: #ffffff;--base-50: #f0f0f0;--base-100: #e6e6e6;--base-200: #cccccc;--base-300: #b3b3b3;--base-400: #999999;--base-500: #808080;--base-600: #666666;--base-700: #4d4d4d;--base-800: #333333;--base-900: #191919;--base-1000: #000000;--accent-50: #f7f6fd;--accent-100: #f0eefb;--accent-200: #dad6f7;--accent-300: #b5adef;--accent-400: #9084e7;--accent-500: #6b5ce0;--accent-500-op50: rgba(107, 92, 224, .5);--accent-600: #5a4ebe;--accent-700: #453b91;--accent-800: #302964;--accent-900: #1a1738;--accent-1000: #0a0916}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 94.1%;--foreground: 0 0% 3.9%;--card: 0 0% 100% / .6;--card-foreground: 0 0% 3.9%;--popover: 0 0% 100%;--popover-foreground: 0 0% 3.9%;--theme-background-image: none;--theme-background-blur: 24px;--theme-background-overlay: rgba(0, 0, 0, .4);--primary: 262 83% 58%;--primary-foreground: 0 0% 98%;--ring: var(--primary);--border-primary: var(--primary);--secondary: 0 0% 96.1%;--secondary-foreground: 0 0% 9%;--muted: 0 0% 96.1%;--muted-foreground: 0 0% 45.1%;--accent: var(--primary);--accent-foreground: var(--primary-foreground);--surface: 0 0% 94.1%;--surface-secondary: 0 0% 96.1%;--surface-tertiary: 0 0% 98%;--border-subtle: 0 0% 89.8%;--border-medium: 0 0% 80%;--text-primary: 0 0% 3.9%;--text-secondary: 0 0% 45.1%;--text-tertiary: 0 0% 63.9%;--text-muted: 0 0% 45.1%;--bot-message-border: 0 0% 96%;--bot-message-bg: rgba(0, 0, 0, .1);--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 0 0% 89.8%;--input: 0 0% 89.8%;--popover-50: var(--black-50);--popover-100: var(--black-100);--popover-200: var(--black-200)}.theme-with-background .synapse-chat-window{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.theme-with-background[data-text-color=white] .synapse-chat-window{background-color:#0000001f}.theme-with-background[data-text-color=black] .synapse-chat-window{background-color:#ffffff1f}.theme-with-background .synapse-chat-widget-header,.theme-with-background .synapse-chat-widget-footer{backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.theme-with-background[data-text-color=white] .synapse-chat-widget-header{background-color:#0006!important;border-bottom:1px solid var(--white-200)!important}.theme-with-background[data-text-color=black] .synapse-chat-widget-header{background-color:#fff6!important;border-bottom:1px solid var(--black-200)!important}.theme-with-background[data-text-color=white] .synapse-chat-widget-footer{background-color:#0006!important;border-top:1px solid hsl(var(--border-primary) / .5)!important}.theme-with-background[data-text-color=black] .synapse-chat-widget-footer{background-color:#fff6!important;border-top:1px solid hsl(var(--border-primary) / .5)!important}.theme-with-background[data-text-color=white] .synapse-chat-widget-footer.synapse-chat-widget-footer--no-border,.theme-with-background[data-text-color=black] .synapse-chat-widget-footer.synapse-chat-widget-footer--no-border{border-top:none!important}.theme-with-background .synapse-header-title{color:hsl(var(--primary))}.theme-with-background[data-text-color=white] .synapse-header-title{text-shadow:0 1px 4px rgba(255,255,255,.3)}.theme-with-background[data-text-color=black] .synapse-header-title{text-shadow:0 1px 4px rgba(0,0,0,.3)}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}.\!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}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-3{left:.75rem;right:.75rem}.bottom-0{bottom:0}.bottom-\[10px\]{bottom:10px}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.right-3{right:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-3{top:.75rem}.isolate{isolation:isolate}.-z-10{z-index:-10}.z-10{z-index:10}.z-50{z-index:50}.z-\[2147483647\]{z-index:2147483647}.z-\[55\]{z-index:55}.z-\[60\]{z-index:60}.m-0{margin:0}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.box-border{box-sizing:border-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-4{width:1rem;height:1rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[100svh\]{height:100svh}.h-\[200px\]{height:200px}.h-\[600px\]{height:600px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[136px\]{max-height:136px}.min-h-0{min-height:0px}.min-h-8{min-height:2rem}.min-h-9{min-height:2.25rem}.min-h-\[40px\]{min-height:40px}.min-h-\[56px\]{min-height:56px}.min-h-\[60px\]{min-height:60px}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-56{width:14rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[200px\]{width:200px}.w-\[210px\]{width:210px}.w-full{width:100%}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-\[210px\]{min-width:210px}.min-w-\[8rem\]{min-width:8rem}.max-w-2xl{max-width:42rem}.max-w-\[200px\]{max-width:200px}.max-w-\[280px\]{max-width:280px}.max-w-\[320px\]{max-width:320px}.max-w-\[60\%\]{max-width:60%}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.-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{--tw-translate-y: -.25rem;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-x-1{--tw-translate-x: .25rem;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))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.\!resize{resize:both!important}.resize{resize:both}.scroll-mt-\[16px\]{scroll-margin-top:16px}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-items-center{place-items:center}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-y-1{row-gap:.25rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overscroll-contain{overscroll-behavior:contain}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.\!rounded-none{border-radius:0!important}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[\#F7B500\]{--tw-border-opacity: 1;border-color:rgb(247 181 0 / var(--tw-border-opacity))}.border-background{border-color:hsl(var(--background))}.border-black-200{border-color:var(--black-200)}.border-border{border-color:hsl(var(--border))}.border-border-medium{border-color:hsl(var(--border-medium))}.border-border-subtle{border-color:hsl(var(--border-subtle))}.border-border-subtle\/50{border-color:hsl(var(--border-subtle) / .5)}.border-border-subtle\/60{border-color:hsl(var(--border-subtle) / .6)}.border-input{border-color:hsl(var(--input))}.border-muted-foreground{border-color:hsl(var(--muted-foreground))}.border-neutral-300{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-primary\/15{border-color:hsl(var(--primary) / .15)}.border-primary\/20{border-color:hsl(var(--primary) / .2)}.border-primary\/30{border-color:hsl(var(--primary) / .3)}.border-primary\/40{border-color:hsl(var(--primary) / .4)}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.\!bg-transparent{background-color:transparent!important}.bg-\[\#F7B500\]{--tw-bg-opacity: 1;background-color:rgb(247 181 0 / var(--tw-bg-opacity))}.bg-\[var\(--color-muted\)\]{background-color:var(--color-muted)}.bg-accent\/50{background-color:hsl(var(--accent) / .5)}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-background\/90{background-color:hsl(var(--background) / .9)}.bg-black-100{background-color:var(--black-100)}.bg-black-600{background-color:var(--black-600)}.bg-border{background-color:hsl(var(--border))}.bg-botMessage{background-color:var(--bot-message-bg)}.bg-destructive{background-color:hsl(var(--destructive))}.bg-destructive\/10{background-color:hsl(var(--destructive) / var(--opacity-10))}.bg-elicitationBg{background-color:var(--elicitation-bg)}.bg-foreground{background-color:hsl(var(--foreground))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/15{background-color:hsl(var(--primary) / .15)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-primary\/40{background-color:hsl(var(--primary) / .4)}.bg-primary\/\[10\%\]{background-color:hsl(var(--primary) / 10%)}.bg-primary\/\[20\%\]{background-color:hsl(var(--primary) / 20%)}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-surface{background-color:hsl(var(--surface))}.bg-surface-secondary{background-color:hsl(var(--surface-secondary))}.bg-surface\/60{background-color:hsl(var(--surface) / .6)}.bg-surface\/80{background-color:hsl(var(--surface) / .8)}.bg-surface\/90{background-color:hsl(var(--surface) / .9)}.bg-text-tertiary{background-color:hsl(var(--text-tertiary))}.bg-transparent{background-color:transparent}.bg-white-100{background-color:var(--white-100)}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-elicitationBg{--tw-gradient-from: var(--elicitation-bg) 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)}.from-primary{--tw-gradient-from: hsl(var(--primary)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-400{--tw-gradient-from: #f87171 var(--tw-gradient-from-position);--tw-gradient-to: rgb(248 113 113 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-rose-400{--tw-gradient-from: #fb7185 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 113 133 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-elicitationBg{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--elicitation-bg) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-primary{--tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), hsl(var(--primary)) var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-indigo-500{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.to-primary{--tw-gradient-to: hsl(var(--primary)) var(--tw-gradient-to-position)}.to-rose-500{--tw-gradient-to: #f43f5e var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.\!px-0{padding-left:0!important;padding-right:0!important}.\!py-0{padding-top:0!important;padding-bottom:0!important}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pr-11{padding-right:2.75rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[8px\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-\[14px\]{line-height:14px}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-\[0\.12em\]{letter-spacing:.12em}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-\[var\(--color-foreground\)\]{color:var(--color-foreground)}.text-\[var\(--color-muted-foreground\)\]{color:var(--color-muted-foreground)}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.text-black-500{color:var(--black-500)}.text-black-900{color:var(--black-900)}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-primary\/50{color:hsl(var(--primary) / .5)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-text-primary{color:hsl(var(--text-primary))}.text-text-secondary{color:hsl(var(--text-secondary))}.text-text-tertiary{color:hsl(var(--text-tertiary))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:var(--opacity-0)}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.\!shadow-none{--tw-shadow: 0 0 #0000 !important;--tw-shadow-colored: 0 0 #0000 !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_20px_rgba\(139\,92\,246\,0\.45\)\]{--tw-shadow: 0 0 20px rgba(139,92,246,.45);--tw-shadow-colored: 0 0 20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px 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-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--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(3px + 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-0{--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(0px + 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-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-primary\/20{--tw-ring-color: hsl(var(--primary) / .2)}.\!blur-none{--tw-blur: !important;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)!important}.blur{--tw-blur: blur(8px);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)}.grayscale{--tw-grayscale: grayscale(100%);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)}.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-none{--tw-backdrop-blur: !important;-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)!important;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)!important}.backdrop-blur{--tw-backdrop-blur: blur(8px);-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)}.backdrop-blur-2xl{--tw-backdrop-blur: blur(40px);-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)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: var(--opacity-0)}.zoom-in-95{--tw-enter-scale: .95}.slide-in-from-top-2{--tw-enter-translate-y: -.5rem}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.markdown-content{line-height:1.4;color:inherit}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{font-weight:600;margin-top:.5em;margin-bottom:.125em;line-height:1.2}.markdown-content h1{font-size:1.5em}.markdown-content h2{font-size:1.25em}.markdown-content h3{font-size:1.125em}.markdown-content p{margin:0 0 .25em;line-height:1.4}.markdown-content p:last-child{margin-bottom:0}.markdown-content ul,.markdown-content ol{margin:.125em 0;padding-left:1.5em}.markdown-content li{margin-bottom:0;line-height:1.4;padding-bottom:.125em}.markdown-content ol{counter-reset:item;list-style:none;padding-left:0}.markdown-content ol>li{counter-increment:item;position:relative;padding-left:2em;margin-bottom:0;padding-bottom:.125em}.markdown-content ol>li:before{content:counter(item) ".";position:absolute;left:0;top:0;font-weight:600;color:hsl(var(--primary));min-width:1.5em}.markdown-content ul>li{position:relative;padding-left:1.5em}.markdown-content ul>li:before{content:"•";position:absolute;left:0;top:0;color:hsl(var(--primary));font-weight:700;font-size:1.2em}.markdown-content blockquote{border-left:3px solid hsl(var(--border-subtle));padding:.5em 0 .5em 1em;margin:.375em 0;font-style:normal;color:hsl(var(--text-secondary));background-color:hsl(var(--surface-secondary));border-radius:.25rem}.markdown-content blockquote p{margin:0}.markdown-content blockquote p:not(:last-child){margin-bottom:.5em}.markdown-content code{background-color:hsl(var(--surface-secondary));padding:.125em .25em;border-radius:.25em;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace;font-size:.875em}.markdown-content pre{background-color:hsl(var(--surface-secondary));padding:1em;border-radius:.5em;overflow-x:auto;margin:1em 0}.markdown-content pre code{background-color:transparent;padding:0}.markdown-content strong{font-weight:600}.markdown-content em{font-style:italic}.markdown-content a{color:hsl(var(--primary));text-decoration:underline}.markdown-content a:hover{color:hsl(var(--primary));opacity:.8}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground\/40::-moz-placeholder{color:hsl(var(--muted-foreground) / .4)}.placeholder\:text-muted-foreground\/40::placeholder{color:hsl(var(--muted-foreground) / .4)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:inset-0:before{content:var(--tw-content);inset:0}.before\:-translate-x-full:before{content:var(--tw-content);--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))}.before\:animate-\[shimmer_1\.4s_infinite\]:before{content:var(--tw-content);animation:shimmer 1.4s infinite}.before\:bg-gradient-to-r:before{content:var(--tw-content);background-image:linear-gradient(to right,var(--tw-gradient-stops))}.before\:from-transparent:before{content:var(--tw-content);--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.before\:to-transparent:before{content:var(--tw-content);--tw-gradient-to: transparent var(--tw-gradient-to-position)}.hover\:line-clamp-none:hover{overflow:visible;display:block;-webkit-box-orient:horizontal;-webkit-line-clamp:none}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;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))}.hover\:whitespace-normal:hover{white-space:normal}.hover\:border-primary:hover{border-color:hsl(var(--primary))}.hover\:border-primary\/30:hover{border-color:hsl(var(--primary) / .3)}.hover\:border-primary\/40:hover{border-color:hsl(var(--primary) / .4)}.hover\:bg-\[var\(--color-muted-foreground\)\]:hover{background-color:var(--color-muted-foreground)}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-neutral-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary) / var(--opacity-10))}.hover\:bg-primary\/15:hover{background-color:hsl(var(--primary) / .15)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-surface:hover{background-color:hsl(var(--surface))}.hover\:bg-surface-secondary:hover{background-color:hsl(var(--surface-secondary))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:from-red-500:hover{--tw-gradient-from: #ef4444 var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-rose-600:hover{--tw-gradient-to: #e11d48 var(--tw-gradient-to-position)}.hover\:text-\[var\(--color-foreground\)\]:hover{color:var(--color-foreground)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-primary\/70:hover{color:hsl(var(--primary) / .7)}.hover\:text-primary\/80:hover{color:hsl(var(--primary) / .8)}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:opacity-90:hover{opacity:.9}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus-visible\:border-ring:focus-visible{border-color:hsl(var(--ring))}.focus-visible\:border-transparent:focus-visible{border-color:transparent}.focus-visible\:bg-accent:focus-visible{background-color:hsl(var(--accent))}.focus-visible\:bg-transparent:focus-visible{background-color:transparent}.focus-visible\:text-accent-foreground:focus-visible{color:hsl(var(--accent-foreground))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--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(0px + 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\:ring-1:focus-visible{--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(1px + 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\:ring-2:focus-visible{--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\:ring-\[3px\]:focus-visible{--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(3px + 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\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color: hsl(var(--ring) / .5)}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width: 0px}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;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))}.active\:scale-\[0\.98\]:active{--tw-scale-x: .98;--tw-scale-y: .98;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))}.active\:bg-accent\/80:active{background-color:hsl(var(--accent) / .8)}.active\:bg-transparent:active{background-color:transparent}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-primary\/50:disabled{background-color:hsl(var(--primary) / .5)}.disabled\:text-primary-foreground:disabled{color:hsl(var(--primary-foreground))}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:hover\:scale-100:hover:disabled{--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))}.group:hover .group-hover\:bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.group:hover .group-hover\:text-primary{color:hsl(var(--primary))}.group:hover .group-hover\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group:hover .group-hover\:text-primary-foreground\/80{color:hsl(var(--primary-foreground) / .8)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[placeholder\]\:text-muted-foreground[data-placeholder]{color:hsl(var(--muted-foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}@supports (hover:hover){.supports-\[hover\:hover\]\:hover\:bg-primary:hover{background-color:hsl(var(--primary))}.supports-\[hover\:hover\]\:hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}}.dark\:border-white-200:is(.dark *){border-color:var(--white-200)}.dark\:bg-input\/30:is(.dark *){background-color:hsl(var(--input) / .3)}.dark\:text-white-500:is(.dark *){color:var(--white-500)}.dark\:hover\:bg-input\/50:hover:is(.dark *){background-color:hsl(var(--input) / .5)}@media(min-width:768px){.md\:text-sm{font-size:.875rem;line-height:1.25rem}}.\[\&\>\[data-radix-scroll-area-viewport\]\>div\]\:\!flex>[data-radix-scroll-area-viewport]>div{display:flex!important}.\[\&\>\[data-radix-scroll-area-viewport\]\>div\]\:min-h-full>[data-radix-scroll-area-viewport]>div{min-height:100%}.\[\&\>\[data-radix-scroll-area-viewport\]\>div\]\:flex-col>[data-radix-scroll-area-viewport]>div{flex-direction:column}.\[\&_svg\:not\(\[class\*\=\"text-\"\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:hsl(var(--muted-foreground))}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}
|
package/dist/medassist-widget.js
CHANGED
|
@@ -97,7 +97,7 @@ connecting to an AI agent...`;case fe.VOICE_AGENT_STATE.SPEAKING:return`${l} is
|
|
|
97
97
|
`});++i<e.length;)i&&r.push({type:"text",value:`
|
|
98
98
|
`}),r.push(e[i]);return t&&e.length>0&&r.push({type:"text",value:`
|
|
99
99
|
`}),r}function SB(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function QB(e,t){const r=z2(e,t),i=r.one(e,void 0),s=H2(r),l=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return s&&l.children.push({type:"text",value:`
|
|
100
|
-
`},s),l}function J2(e,t){return e&&"run"in e?async function(r,i){const s=QB(r,{file:i,...t});await e.run(s,i)}:function(r,i){return QB(r,{file:i,...e||t})}}function UB(e){if(e)throw e}var xf,FB;function Z2(){if(FB)return xf;FB=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},l=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var m=e.call(h,"constructor"),B=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!m&&!B)return!1;var C;for(C in h);return typeof C>"u"||e.call(h,C)},c=function(h,m){r&&m.name==="__proto__"?r(h,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):h[m.name]=m.newValue},u=function(h,m){if(m==="__proto__")if(e.call(h,m)){if(i)return i(h,m).value}else return;return h[m]};return xf=function f(){var h,m,B,C,w,v,b=arguments[0],U=1,Q=arguments.length,I=!1;for(typeof b=="boolean"&&(I=b,b=arguments[1]||{},U=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});U<Q;++U)if(h=arguments[U],h!=null)for(m in h)B=u(b,m),C=u(h,m),b!==C&&(I&&C&&(l(C)||(w=s(C)))?(w?(w=!1,v=B&&s(B)?B:[]):v=B&&l(B)?B:{},c(b,{name:m,newValue:f(I,v,C)})):typeof C<"u"&&c(b,{name:m,newValue:C}));return b},xf}var W2=Z2();const Sf=uu(W2);function Qf(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function $2(){const e=[],t={run:r,use:i};return t;function r(...s){let l=-1;const c=s.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);u(null,...s);function u(f,...h){const m=e[++l];let B=-1;if(f){c(f);return}for(;++B<s.length;)(h[B]===null||h[B]===void 0)&&(h[B]=s[B]);s=h,m?eT(m,u)(...h):c(null,...h)}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function eT(e,t){let r;return i;function i(...c){const u=e.length>c.length;let f;u&&c.push(s);try{f=e.apply(this,c)}catch(h){const m=h;if(u&&r)throw m;return s(m)}u||(f&&f.then&&typeof f.then=="function"?f.then(l,s):f instanceof Error?s(f):l(f))}function s(c,...u){r||(r=!0,t(c,...u))}function l(c){s(null,c)}}const gn={basename:AT,dirname:tT,extname:nT,join:rT,sep:"/"};function AT(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ds(e);let r=0,i=-1,s=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(l){r=s+1;break}}else i<0&&(l=!0,i=s+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let c=-1,u=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(l){r=s+1;break}}else c<0&&(l=!0,c=s+1),u>-1&&(e.codePointAt(s)===t.codePointAt(u--)?u<0&&(i=s):(u=-1,i=c));return r===i?i=c:i<0&&(i=e.length),e.slice(r,i)}function tT(e){if(ds(e),e.length===0)return".";let t=-1,r=e.length,i;for(;--r;)if(e.codePointAt(r)===47){if(i){t=r;break}}else i||(i=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function nT(e){ds(e);let t=e.length,r=-1,i=0,s=-1,l=0,c;for(;t--;){const u=e.codePointAt(t);if(u===47){if(c){i=t+1;break}continue}r<0&&(c=!0,r=t+1),u===46?s<0?s=t:l!==1&&(l=1):s>-1&&(l=-1)}return s<0||r<0||l===0||l===1&&s===r-1&&s===i+1?"":e.slice(s,r)}function rT(...e){let t=-1,r;for(;++t<e.length;)ds(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":iT(r)}function iT(e){ds(e);const t=e.codePointAt(0)===47;let r=aT(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function aT(e,t){let r="",i=0,s=-1,l=0,c=-1,u,f;for(;++c<=e.length;){if(c<e.length)u=e.codePointAt(c);else{if(u===47)break;u=47}if(u===47){if(!(s===c-1||l===1))if(s!==c-1&&l===2){if(r.length<2||i!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(f=r.lastIndexOf("/"),f!==r.length-1){f<0?(r="",i=0):(r=r.slice(0,f),i=r.length-1-r.lastIndexOf("/")),s=c,l=0;continue}}else if(r.length>0){r="",i=0,s=c,l=0;continue}}t&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+e.slice(s+1,c):r=e.slice(s+1,c),i=c-s-1;s=c,l=0}else u===46&&l>-1?l++:l=-1}return r}function ds(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const sT={cwd:lT};function lT(){return"/"}function Uf(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function oT(e){if(typeof e=="string")e=new URL(e);else if(!Uf(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return cT(e)}function cT(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const i=t.codePointAt(r+2);if(i===70||i===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}const Ff=["history","path","basename","stem","extname","dirname"];class TB{constructor(t){let r;t?Uf(t)?r={path:t}:typeof t=="string"||uT(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":sT.cwd(),this.data={},this.history=[],this.messages=[];let i=-1;for(;++i<Ff.length;){const l=Ff[i];l in r&&r[l]!==void 0&&r[l]!==null&&(this[l]=l==="history"?[...r[l]]:r[l])}let s;for(s in r)Ff.includes(s)||(this[s]=r[s])}get basename(){return typeof this.path=="string"?gn.basename(this.path):void 0}set basename(t){Nf(t,"basename"),Tf(t,"basename"),this.path=gn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?gn.dirname(this.path):void 0}set dirname(t){NB(this.basename,"dirname"),this.path=gn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?gn.extname(this.path):void 0}set extname(t){if(Tf(t,"extname"),NB(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=gn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Uf(t)&&(t=oT(t)),Nf(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?gn.basename(this.path,this.extname):void 0}set stem(t){Nf(t,"stem"),Tf(t,"stem"),this.path=gn.join(this.dirname||"",t+(this.extname||""))}fail(t,r,i){const s=this.message(t,r,i);throw s.fatal=!0,s}info(t,r,i){const s=this.message(t,r,i);return s.fatal=void 0,s}message(t,r,i){const s=new st(t,r,i);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Tf(e,t){if(e&&e.includes(gn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+gn.sep+"`")}function Nf(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function NB(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function uT(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const fT=(function(e){const i=this.constructor.prototype,s=i[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,i),l}),dT={}.hasOwnProperty;class If extends fT{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=$2()}copy(){const t=new If;let r=-1;for(;++r<this.attachers.length;){const i=this.attachers[r];t.use(...i)}return t.data(Sf(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Mf("data",this.frozen),this.namespace[t]=r,this):dT.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Mf("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);const s=r.call(t,...i);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Ao(t),i=this.parser||this.Parser;return _f("parse",i),i(String(r),r)}process(t,r){const i=this;return this.freeze(),_f("process",this.parser||this.Parser),Hf("process",this.compiler||this.Compiler),r?s(void 0,r):new Promise(s);function s(l,c){const u=Ao(t),f=i.parse(u);i.run(f,u,function(m,B,C){if(m||!B||!C)return h(m);const w=B,v=i.stringify(w,C);pT(v)?C.value=v:C.result=v,h(m,C)});function h(m,B){m||!B?c(m):l?l(B):r(void 0,B)}}}processSync(t){let r=!1,i;return this.freeze(),_f("processSync",this.parser||this.Parser),Hf("processSync",this.compiler||this.Compiler),this.process(t,s),_B("processSync","process",r),i;function s(l,c){r=!0,UB(l),i=c}}run(t,r,i){IB(t),this.freeze();const s=this.transformers;return!i&&typeof r=="function"&&(i=r,r=void 0),i?l(void 0,i):new Promise(l);function l(c,u){const f=Ao(r);s.run(t,f,h);function h(m,B,C){const w=B||t;m?u(m):c?c(w):i(void 0,w,C)}}}runSync(t,r){let i=!1,s;return this.run(t,r,l),_B("runSync","run",i),s;function l(c,u){UB(c),s=u,i=!0}}stringify(t,r){this.freeze();const i=Ao(r),s=this.compiler||this.Compiler;return Hf("stringify",s),IB(t),s(t,i)}use(t,...r){const i=this.attachers,s=this.namespace;if(Mf("use",this.frozen),t!=null)if(typeof t=="function")f(t,r);else if(typeof t=="object")Array.isArray(t)?u(t):c(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[m,...B]=h;f(m,B)}else c(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function c(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(h.plugins),h.settings&&(s.settings=Sf(!0,s.settings,h.settings))}function u(h){let m=-1;if(h!=null)if(Array.isArray(h))for(;++m<h.length;){const B=h[m];l(B)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,m){let B=-1,C=-1;for(;++B<i.length;)if(i[B][0]===h){C=B;break}if(C===-1)i.push([h,...m]);else if(m.length>0){let[w,...v]=m;const b=i[C][1];Qf(b)&&Qf(w)&&(w=Sf(!0,b,w)),i[C]=[h,w,...v]}}}}const hT=new If().freeze();function _f(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Hf(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Mf(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function IB(e){if(!Qf(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function _B(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ao(e){return gT(e)?e:new TB(e)}function gT(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function pT(e){return typeof e=="string"||mT(e)}function mT(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const HB=[],MB={allowDangerousHtml:!0},BT=/^(https?|ircs?|mailto|xmpp)$/i,wT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function hs(e){const t=CT(e),r=yT(e);return ET(t.runSync(t.parse(r),r),e)}function CT(e){const t=e.rehypePlugins||HB,r=e.remarkPlugins||HB,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...MB}:MB;return hT().use(A2).use(r).use(J2,i).use(t)}function yT(e){const t=e.children||"",r=new TB;return typeof t=="string"&&(r.value=t),r}function ET(e,t){const r=t.allowedElements,i=t.allowElement,s=t.components,l=t.disallowedElements,c=t.skipHtml,u=t.unwrapDisallowed,f=t.urlTransform||vT;for(const m of wT);return xB(e,h),VQ(e,{Fragment:g.Fragment,components:s,ignoreInvalidStyle:!0,jsx:g.jsx,jsxs:g.jsxs,passKeys:!0,passNode:!0});function h(m,B,C){if(m.type==="raw"&&C&&typeof B=="number")return c?C.children.splice(B,1):C.children[B]={type:"text",value:m.value},B;if(m.type==="element"){let w;for(w in uf)if(Object.hasOwn(uf,w)&&Object.hasOwn(m.properties,w)){const v=m.properties[w],b=uf[w];(b===null||b.includes(m.tagName))&&(m.properties[w]=f(String(v||""),w,m))}}if(m.type==="element"){let w=r?!r.includes(m.tagName):l?l.includes(m.tagName):!1;if(!w&&i&&typeof B=="number"&&(w=!i(m,B,C)),w&&C&&typeof B=="number")return u&&m.children?C.children.splice(B,1,...m.children):C.children.splice(B,1),B}}}function vT(e){const t=e.indexOf(":"),r=e.indexOf("?"),i=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||r!==-1&&t>r||i!==-1&&t>i||BT.test(e.slice(0,t))?e:""}function OB({file:e,onRemove:t,isPreview:r=!0,className:i=""}){const[s,l]=x.useState(!1),[c,u]=x.useState(""),f=e?.type?.startsWith("image/")??!1,h=e?.type==="application/pdf";x.useEffect(()=>{if(f){const C=URL.createObjectURL(e);return u(C),()=>URL.revokeObjectURL(C)}},[e,f]),x.useEffect(()=>{l(!1)},[e]);const m=()=>f?"text-green-600":"text-text-secondary",B=C=>{if(C===0)return"0 B";const w=1024,v=["B","KB","MB","GB"],b=Math.floor(Math.log(C)/Math.log(w));return`${(C/Math.pow(w,b)).toFixed(1)} ${v[b]}`.toLowerCase()};return!f||s?g.jsxs("div",{className:`relative group inline-flex flex-shrink-0 bg-white border border-neutral-300 rounded-lg flex items-center gap-3 px-3 py-2.5 max-w-full ${r?"hover:bg-neutral-50":""} ${i}`,children:[g.jsx("div",{className:`flex-shrink-0 ${m()}`,children:g.jsx(lS,{className:"h-5 w-5"})}),g.jsxs("div",{className:"flex-1 min-w-0 max-w-[200px]",children:[e?.name&&g.jsx("div",{className:"text-sm font-medium text-[var(--color-foreground)] truncate",children:e.name}),e?.size&&g.jsx("div",{className:"text-xs text-[var(--color-muted-foreground)]",children:B(e.size)})]}),r&&t&&g.jsx("button",{onClick:t,"aria-label":`Remove ${e.name}`,className:"flex-shrink-0 flex items-center justify-center w-5 h-5 text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)] transition-colors",children:g.jsx(ns,{className:"h-4 w-4"})})]}):g.jsxs("div",{className:`relative group flex-shrink-0 ${i}`,children:[g.jsx("div",{className:`w-20 h-20 bg-white border border-neutral-300 rounded-lg flex items-center justify-center overflow-hidden ${r?"hover:bg-neutral-100 cursor-pointer":""}`,children:c&&g.jsx("img",{src:c,alt:e.name,className:"w-full h-full object-cover",onError:()=>l(!0)})}),r&&t&&g.jsx("button",{onClick:t,"aria-label":`Remove ${e.name}`,className:"absolute top-0 right-0 bg-[var(--color-muted)] text-black rounded-full w-5 h-5 flex items-center justify-center hover:bg-[var(--color-muted-foreground)] transition-colors z-10 transform translate-x-1 -translate-y-1",children:g.jsx(ns,{className:"h-3 w-3 text-black"})})]})}function Of({files:e,onRemoveFile:t,isPreview:r=!0,className:i=""}){if(e.length===0)return null;const s=e.filter(c=>c.type?.startsWith("image/")),l=e.filter(c=>!c.type?.startsWith("image/"));return g.jsxs("div",{className:`flex flex-wrap justify-end gap-2 max-w-full ${i}`,children:[l.map(c=>{const u=e.indexOf(c);return g.jsx(OB,{file:c,onRemove:t?()=>t(u):void 0,isPreview:r},`${c.name}-${c.size}-${u}`)}),s.length>0&&g.jsx("div",{className:"flex gap-2 overflow-x-auto max-w-full p-1 scrollbar-hide",children:s.map(c=>{const u=e.indexOf(c);return g.jsx(OB,{file:c,onRemove:t?()=>t(u):void 0,isPreview:r},`${c.name}-${c.size}-${u}`)})})]})}const bT=x.lazy(()=>Promise.resolve().then(()=>IT).then(e=>({default:e.Pills}))),xT=x.lazy(()=>Promise.resolve().then(()=>F4).then(e=>({default:e.MultiSelectGroup}))),ST=x.lazy(()=>Promise.resolve().then(()=>I4).then(e=>({default:e.FocusCarousel}))),QT=x.lazy(()=>Promise.resolve().then(()=>M4).then(e=>({default:e.DoctorCard}))),UT=x.lazy(()=>Promise.resolve().then(()=>L4).then(e=>({default:e.CardList}))),FT=x.lazy(()=>Promise.resolve().then(()=>V4).then(e=>({default:e.MediaCard})));function WA({className:e}){return g.jsx("div",{className:he("relative overflow-hidden bg-surface-secondary","before:absolute before:inset-0","before:-translate-x-full before:animate-[shimmer_1.4s_infinite]","before:bg-gradient-to-r before:from-transparent before:via-white/40 before:to-transparent",e)})}function Ti({variant:e}){return e==="pill"?g.jsxs("div",{className:"flex flex-wrap gap-2 mt-3","aria-busy":!0,"aria-label":"Loading options",children:[g.jsx(to,{}),g.jsx(WA,{className:"h-8 w-20 rounded-full"}),g.jsx(WA,{className:"h-8 w-24 rounded-full"}),g.jsx(WA,{className:"h-8 w-16 rounded-full"})]}):e==="media"?g.jsxs("div",{className:"mt-3 w-56 rounded-xl border border-border-subtle bg-surface p-3","aria-busy":!0,"aria-label":"Loading media",children:[g.jsx(to,{}),g.jsx(WA,{className:"h-24 w-full rounded-lg"}),g.jsxs("div",{className:"mt-3 space-y-2",children:[g.jsx(WA,{className:"h-3 w-3/4 rounded"}),g.jsx(WA,{className:"h-3 w-1/2 rounded"})]})]}):e==="input"?g.jsxs("div",{className:"mt-3 w-full rounded-xl border border-primary/30 bg-elicitationBg p-4","aria-busy":!0,"aria-label":"Loading input",children:[g.jsx(to,{}),g.jsx(WA,{className:"h-3 w-32 rounded mb-3"}),g.jsxs("div",{className:"space-y-2",children:[g.jsx(WA,{className:"h-9 w-full rounded-lg"}),g.jsx(WA,{className:"h-9 w-full rounded-lg"}),g.jsx(WA,{className:"h-9 w-full rounded-lg"})]}),g.jsx(WA,{className:"mt-4 h-9 w-full rounded-lg"})]}):g.jsxs("div",{className:"mt-3 w-72 rounded-xl border border-border-subtle bg-surface p-4","aria-busy":!0,"aria-label":"Loading card",children:[g.jsx(to,{}),g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx(WA,{className:"h-10 w-10 rounded-full"}),g.jsxs("div",{className:"flex-1 space-y-2",children:[g.jsx(WA,{className:"h-3 w-3/4 rounded"}),g.jsx(WA,{className:"h-3 w-1/2 rounded"})]})]}),g.jsxs("div",{className:"mt-4 space-y-2",children:[g.jsx(WA,{className:"h-3 w-full rounded"}),g.jsx(WA,{className:"h-3 w-5/6 rounded"})]}),g.jsx(WA,{className:"mt-4 h-9 w-28 rounded-lg"})]})}function to(){return g.jsx("style",{children:"@keyframes shimmer { 100% { transform: translateX(100%); } }"})}function TT({messageId:e,tool_key:t,entry:r,onSendMessage:i,disabled:s}){const[l,c]=x.useState([]),[u,f]=x.useState({}),h=r.component,m=r.disabled,B=x.useMemo(()=>r.ui_input,[r.ui_input]);x.useEffect(()=>{h===fe.SYNAPSE_COMPONENTS.DOCTOR_CARD&&B?.doctor_details&&f(B.doctor_details)},[h,B?.doctor_details]);const C=async j=>{await i({message:j.value,messageId:e,toolCalled:!0,selectedComponent:j,tool_key:t})},w=async(j,F,H)=>{await i({toolCalled:!0,selectedComponent:j,selected_id:j.doctor_id,message:F,tool_key:t,messageId:e,...H&&{tool_result:H}})},v=async()=>{await i({message:"show more"})},b=async()=>{l.length!==0&&await i({message:l.join(", "),messageId:e,toolCalled:!0,tool_key:t})},U=()=>{const j=h===fe.SYNAPSE_COMPONENTS.MULTI&&B?.options;return j?Array.isArray(j)?j.map((F,H)=>({id:`option-${H}`,label:F.label,value:F.value})):Object.keys(j).map((F,H)=>({id:`option-${H}`,label:F,value:F})):[]},Q=x.useMemo(()=>{if(h===fe.SYNAPSE_COMPONENTS.DOCTOR_CARD)return B?.doctors?.filter(F=>!!F&&!!F.doctor_id)},[h,B?.doctors]);if(!h)return null;const I=h===fe.SYNAPSE_COMPONENTS.PILL?B?.options:void 0,M=h===fe.SYNAPSE_COMPONENTS.CARD?B?.cards:void 0,z=h===fe.SYNAPSE_COMPONENTS.MEDIA_CARD?B?.media_card:void 0;return g.jsxs("div",{className:"flex justify-end",children:[I&&g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"pill"}),children:g.jsx("div",{className:`flex ${I.length>3?"flex-col":"flex-wrap"} gap-2 mt-3`,children:I.map((j,F)=>g.jsx(bT,{disabled:m||s,text:j?.label||"",onClick:()=>C(j),className:"cursor-pointer"},F))})}),h===fe.SYNAPSE_COMPONENTS.MULTI&&B?.options&&g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"input"}),children:g.jsxs("div",{className:"mt-3 space-y-3 break-words overflow-wrap-anywhere whitespace-pre-wrap bg-elicitationBg border border-primary/40 rounded-xl p-4",children:[g.jsx("h3",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Select multiple options:"}),g.jsx(xT,{options:U(),selectedValues:l,onSelectionChange:c,disabled:m||s}),g.jsx(Ie,{onClick:b,disabled:l.length===0||m||s,className:he("w-full rounded-lg px-4 py-2 text-sm font-medium transition-all","bg-primary hover:bg-primary/90 text-primary-foreground","disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-primary/50 disabled:text-primary-foreground","shadow-sm hover:shadow-md active:scale-[0.98] "),children:"Confirm"})]})}),Q&&Q.length>0?g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"card"}),children:g.jsx(ST,{count:Q.length+1,renderItem:(j,F)=>{if(j===Q.length)return g.jsxs("button",{type:"button",onClick:v,disabled:s||m,"aria-label":"View more doctors",className:he("max-w-md w-full h-full flex flex-col items-center justify-center gap-2 px-4","rounded-xl border-2 border-dashed border-black-200 dark:border-white-200 bg-primary/[20%]","transition-colors disabled:opacity-60 disabled:cursor-not-allowed"),children:[g.jsx("span",{className:he("flex items-center justify-center","w-10 h-10 rounded-full bg-elicitationBg shadow-sm"),children:g.jsx(CS,{className:"w-4 h-4 text-primary"})}),g.jsx("span",{className:"text-primary font-semibold text-sm",children:"View more doctors"}),g.jsx("span",{className:"text-xs text-text-secondary",children:"Tap to load more"})]});const H=Q[j];return g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"card"}),children:g.jsx(QT,{doctor:H,doctorDetails:u?.[H.doctor_id],disabled:s,onSelect:w,isActive:F})},H.doctor_id)}})}):null,M&&g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"card"}),children:g.jsx(UT,{cards:M,onSelect:async j=>{await i({...j,toolCalled:!0,tool_key:t,messageId:e})},orientation:r.orientation,disabled:m||s})}),z&&g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"media"}),children:g.jsx("div",{className:"mt-3",children:g.jsx(FT,{card:z})})})]})}function NT({id:e,role:t,content:r,files:i,isLastMessage:s,progressMessage:l,toolKeys:c,postText:u,elicitationState:f,toolCallStatus:h,onSendMessage:m,onToggleFeedback:B,disabled:C,onClearElicitationState:w,isAuthComponent:v,isFullScreen:b}){const U=t==="user",[Q,I]=x.useState(fe.USER_FEEDBACK.NONE),M=ze(F=>F.isStreaming),z=F=>{I(F),B(F)},j=!!(r?.trim()||i&&i.length>0||h||l);return g.jsxs(g.Fragment,{children:[j&&g.jsx("div",{className:he("flex",U?"justify-end":"justify-start"),children:g.jsx("div",{className:he("flex gap-3",U?"flex-row-reverse":"flex-row",U?"max-w-[60%]":b?"w-full":"max-w-xs"),children:g.jsxs("div",{className:"flex flex-col",children:[g.jsxs(Tn,{className:he("px-4 py-2 rounded-lg shadow-none break-words overflow-wrap-anywhere whitespace-pre-wrap",U?"bg-primary text-primary-foreground shadow-sm":he("text-foreground shadow-sm bg-botMessage blur-xs border border-black-200 dark:border-white-200"),b&&!U&&"!bg-transparent !shadow-none !border-0 !rounded-none !px-0 !py-0 !backdrop-blur-none !blur-none text-black-900"),children:[h&&!U&&g.jsx("div",{className:"text-xs text-muted-foreground mb-2 pb-2 border-b border-border-subtle",children:h}),!h&&l&&!U&&s&&g.jsx("p",{className:"text-sm font-medium text-muted-foreground pb-2",children:l}),r&&g.jsx("div",{className:he("markdown-content",b&&!U?"text-base leading-6":"text-sm"),children:g.jsx(hs,{children:`${r} ${!U&&M&&s?"...":""}`})}),i&&i.length>0&&g.jsx("div",{className:"mt-2",children:g.jsx(Of,{files:i,isPreview:!1,className:""})}),l&&!U&&s&&g.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:l})]}),!u&&!U&&!M&&s&&r&&Q===fe.USER_FEEDBACK.NONE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsxs("div",{className:"flex items-center gap-1",children:[g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-black-500 dark:text-white-500 hover:text-foreground",onClick:()=>z(fe.USER_FEEDBACK.LIKE),children:g.jsx(jl,{className:"h-3 w-3"})}),g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-black-500 dark:text-white-500 hover:text-foreground",onClick:()=>z(fe.USER_FEEDBACK.DISLIKE),children:g.jsx(Kl,{className:"h-3 w-3"})})]})}),!u&&!U&&!M&&s&&Q===fe.USER_FEEDBACK.LIKE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-primary",disabled:!0,children:g.jsx(jl,{className:"h-3 w-3"})})}),!u&&!U&&!M&&s&&Q===fe.USER_FEEDBACK.DISLIKE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-primary",disabled:!0,children:g.jsx(Kl,{className:"h-3 w-3"})})}),v&&s&&c?.length?g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"link",size:"sm",className:"h-6 px-0 text-[12px] font-medium text-primary border-b border-dashed border-primary rounded-none bg-transparent no-underline hover:no-underline hover:bg-transparent active:bg-transparent focus-visible:bg-transparent rounded-none",onClick:()=>{const F=c[c.length-1];F&&f[F].active&&w(F,"Cancel OTP Verification")},children:"Cancel OTP Verification"})}):null]})})}),c?.map(F=>{const H=f[F];return H?g.jsx(TT,{messageId:e,tool_key:F,entry:H,onSendMessage:m,disabled:C||H.disabled},F):null}),u&&!U&&g.jsx("div",{className:"flex justify-start",children:g.jsx("div",{className:he("flex gap-3 flex-row",b?"w-full":"max-w-xs"),children:g.jsxs("div",{className:"flex flex-col",children:[g.jsx(Tn,{className:he("px-4 py-2 rounded-lg shadow-none break-words overflow-wrap-anywhere whitespace-pre-wrap","text-foreground shadow-sm bg-botMessage blur-xs border border-black-200 dark:border-white-200",b&&"!bg-transparent !shadow-none !border-0 !rounded-none !px-0 !py-0 !backdrop-blur-none !blur-none text-black-900"),children:g.jsx("div",{className:he("markdown-content",b?"text-base leading-6":"text-sm"),children:g.jsx(hs,{children:u})})}),!M&&s&&Q===fe.USER_FEEDBACK.NONE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsxs("div",{className:"flex items-center gap-1",children:[g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-black-500 dark:text-white-500 hover:text-foreground",onClick:()=>z(fe.USER_FEEDBACK.LIKE),children:g.jsx(jl,{className:"h-3 w-3"})}),g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-black-500 dark:text-white-500 hover:text-foreground",onClick:()=>z(fe.USER_FEEDBACK.DISLIKE),children:g.jsx(Kl,{className:"h-3 w-3"})})]})}),!M&&s&&Q===fe.USER_FEEDBACK.LIKE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-primary",disabled:!0,children:g.jsx(jl,{className:"h-3 w-3"})})}),!M&&s&&Q===fe.USER_FEEDBACK.DISLIKE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-primary",disabled:!0,children:g.jsx(Kl,{className:"h-3 w-3"})})})]})})})]})}function RB({text:e,maxWidth:t="200px",className:r="",icon:i,onClick:s,disabled:l=!1}){const[c,u]=x.useState(!1),f=x.useRef(null),h=x.useRef(null);return x.useEffect(()=>{const m=()=>{if(f.current&&h.current){const B=f.current.offsetWidth,C=h.current.scrollWidth;u(C>B)}};return m(),window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[e,t]),e?g.jsxs("div",{ref:f,onClick:l?void 0:s,className:he("inline-flex items-center gap-2 rounded-lg border border-primary bg-elicitationBg px-3 py-2 shadow-sm text-xs text-primary cursor-pointer",r,l?"opacity-50 cursor-not-allowed":""),style:{maxWidth:t,WebkitTapHighlightColor:"transparent",outline:"none"},title:e,children:[i&&g.jsx("span",{className:"text-primary",children:i}),g.jsx("div",{className:"pill-marquee-wrapper",children:g.jsx("span",{ref:h,className:he("block whitespace-normal",c?"pill-marquee":""),children:e})})]}):null}const IT=Object.freeze(Object.defineProperty({__proto__:null,Pills:RB},Symbol.toStringTag,{value:"Module"}));function _T({text:e,suggestions:t,onSendMessage:r,disabled:i,isFullScreen:s}){if(!e&&!t?.length)return null;const l=c=>{const u=c.value||c.label||"";u&&r({message:u})};return g.jsxs(g.Fragment,{children:[e&&g.jsx("div",{className:"flex justify-start",children:g.jsx("div",{className:he("flex gap-3 flex-row",s?"w-full":"max-w-xs"),children:g.jsx(Tn,{className:he("px-4 py-2 rounded-lg shadow-none break-words overflow-wrap-anywhere whitespace-pre-wrap text-foreground shadow-sm bg-botMessage blur-xs border border-black-200 dark:border-white-200",s&&"!bg-transparent !shadow-none !border-0 !rounded-none !px-0 !py-0 !backdrop-blur-none !blur-none text-black-900"),children:g.jsx("div",{className:he("markdown-content",s?"text-base leading-6":"text-sm"),children:g.jsx(hs,{children:e})})})})}),t&&t.length>0&&g.jsx("div",{className:"flex justify-end",children:g.jsx("div",{className:he("flex gap-2 mt-3",t.length>3?"flex-col":"flex-wrap"),children:t.map((c,u)=>g.jsx(RB,{text:c.label||"",onClick:()=>l(c),disabled:i,className:"cursor-pointer"},u))})})]})}function HT({messages:e,onSendMessage:t,onToggleFeedback:r,onClearElicitationState:i,isAuthComponent:s,isFullScreen:l,initialMessage:c,disabled:u}){const f=ze(w=>w.isWaitingForResponse),h=ze(w=>w.connectionStatus),m=ze(w=>w.elicitationState),B=h===PA.CONNECTED,C=ze(w=>w.progressMessage);return e.length===0&&!C?g.jsx(_T,{text:c?.text,suggestions:c?.suggestions,onSendMessage:t,disabled:u,isFullScreen:l}):g.jsxs(g.Fragment,{children:[(e&&e.length>0||C)&&g.jsx(g.Fragment,{children:e.map((w,v)=>g.jsx("div",{className:"animate-slideUp scroll-mt-[16px] min-w-0 overflow-hidden","data-role":w.role,"data-message-id":w.id,id:v===e.length-1?"last-message":void 0,children:g.jsx(NT,{id:w.id,role:w.role,content:w.content,files:w.files||[],toolKeys:w.tool_keys,postText:w.postText,elicitationState:m,timestamp:w.timestamp,onSendMessage:t,isLastMessage:v===e.length-1,progressMessage:C,toolCallStatus:w.toolCallStatus,disabled:!B,onToggleFeedback:b=>r(b,w.id),onClearElicitationState:i,isAuthComponent:s,isFullScreen:l})},w.id))}),f&&g.jsx(MT,{})]})}function MT(){return g.jsx("div",{className:"animate-slideUp",children:g.jsx("div",{className:"flex justify-start",children:g.jsx("div",{className:"flex gap-3",children:g.jsx(Tn,{className:"px-4 py-2 rounded-lg shadow-none bg-botMessage backdrop-blur-sm text-text-primary shadow-sm",children:g.jsx("div",{className:"flex items-center gap-1.5","aria-label":"Bot is typing",children:[0,1,2].map(e=>g.jsx("span",{className:"w-2 h-2 rounded-full bg-foreground animate-pulse",style:{animationDelay:`${e*150}ms`}},e))})})})})})}function LB(){const[e,t]=x.useState(typeof navigator<"u"?navigator.onLine:!0);return x.useEffect(()=>{const r=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",r),window.addEventListener("offline",i),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}},[]),{isOnline:e}}const OT=e=>e?e.split(" ").map(t=>t[0]).slice(0,2).join("").toUpperCase():"DR",RT=e=>{const t=new Date(e),r=t.toLocaleDateString(void 0,{weekday:"short"}),i=t.toLocaleDateString(void 0,{day:"2-digit"});return{weekday:r,dayNum:i}},LT=(e=[],t=[])=>{if(!e.length)return t;if(!t.length)return e;const r=e.map(i=>({...i}));for(const i of t){const s=i.date?r.findIndex(l=>l.date===i.date):-1;if(s===-1)r.push({...i});else{const l=r[s];r[s]={...l,...i,slots:i.slots??l.slots}}}return r},DT=(e=[],t=[])=>{if(!e.length)return t;if(!t.length)return e;const r=e.map(i=>({...i}));for(const i of t){const s=i.doctor_id?r.findIndex(l=>l.doctor_id===i.doctor_id):-1;if(s===-1)r.push({...i});else{const l=r[s];r[s]={...l,...i,availability:LT(l.availability,i.availability)}}}return r},DB=e=>!!e&&Array.isArray(e.doctors),kT=(e,t,r)=>e?t?r!==fe.SYNAPSE_COMPONENTS.DOCTOR_CARD?t:!DB(e)||!DB(t)?e:{...t,doctors:DT(e.doctors,t.doctors),doctor_details:{...e.doctor_details||{},...t.doctor_details||{}}}:e:t,ar=e=>{const t=e;return t?.message?t.error?.msg||t.message:e instanceof Error?e.message:"An unexpected error occurred"},jT=({environment:e,connectionType:t,baseUrl:r,context:i,auth:s})=>{const[l,c]=x.useState([]),u=x.useRef([]),[f,h]=x.useState(!1),m=x.useRef(0),[B,C]=x.useState(!1),[w,v]=x.useState([]),b=x.useRef(null),U=TS(),Q=x.useRef(null),{isOnline:I}=LB(),M=x.useRef(!1),z=ze(R=>R.agentId),j=ze(R=>R.sessionId),F=ze(R=>R.sessionToken),H=ze(R=>R.isStreaming),k=ze(R=>R.isWaitingForResponse),O=ze(R=>R.initialMessage),$=ze(R=>R.userId),ee=ze(R=>R.fileUploadPerSession),{setSessionId:V,setSessionToken:se,setError:Ae,setConnectionStatus:J,setShowRetryButton:L,setStartNewConnection:Z,setIsStreaming:te,setIsWaitingForResponse:ge,setProgressMessage:T,setRecordingStatus:N,clearSession:q,addMessageToSession:E,getMessagesForSession:ne,updateMessageInSession:oe,setUserId:ue,setFileUploadPerSession:pe,setToastMessage:Oe,upsertElicitationState:xe}=ze.getState();x.useEffect(()=>{I?B?nA()&&(J(PA.CONNECTED),rA()):J(PA.CONNECTING):J(PA.NOT_CONNECTED)},[I,B]),x.useEffect(()=>{j&&(c(ne(j)||[]),v([]))},[j]),x.useEffect(()=>{if(C(!1),!z)return;const R=new fe.SynapseSDK({agentId:z,environment:e,...t&&{connectionType:t},userId:$,callbacks:{onError:K=>{switch(K.code){case fe.SynapseErrorCode.SESSION:{const le=K.context;le?.stage==="handleSessionExpiry"||le?.stage==="refreshSession"?I?(Ae({title:"Internet connection Failed!",description:ar(K)}),L(!0)):(Ae({title:"Your session has ended.",description:"Please start a new Chat."}),L(!0)):(J(PA.NOT_CONNECTED),Ae({title:"Something went wrong!",description:ar(K)}),L(!0));break}case fe.SynapseErrorCode.RECORDING:Ae({title:"Recording failed",description:ar(K)});break;case fe.SynapseErrorCode.CONNECTION:nA()||(J(PA.NOT_CONNECTED),m.current<2?(m.current=m.current+1,eA(j,F)):(L(!0),Ae({title:"Trying to connect...",description:ar(K)})));break;default:Ae({title:"Something went wrong",description:ar(K)}),L(!0);break}},onSessionRefreshed:K=>{K?.session_id&&K?.session_token&&(V(K.session_id),se(K.session_token))}},...r&&{serverUrl:r},...i&&{context:i},...s&&{auth:s}});return b.current=R,U(R),C(!0),()=>{C(!1),b.current?.endSession(),b.current=null,U(null),Q.current&&(clearTimeout(Q.current),Q.current=null)}},[z,e,s]),x.useEffect(()=>{u.current=l},[l]),x.useEffect(()=>{const R=u.current[u.current.length-1];!R?.role||!j||(R?.role===Lt.USER&&!R.isStored?E(j,{...R,isStored:!0}):!H&&!R.isStored&&(c(K=>{const le=[...K];return le[le.length-1]={...R,isStored:!0},le}),E(j,{...R,isStored:!0})))},[l,H]),x.useEffect(()=>{const R=l[l.length-1];return()=>{R&&!R?.isStored&&j&&E(j,{...R,isStored:!0})}},[]),x.useEffect(()=>(Q.current&&(clearTimeout(Q.current),Q.current=null),k&&!H?Q.current=setTimeout(()=>{ge(!1),Q.current=null},3e4):H&&Q.current&&(clearTimeout(Q.current),Q.current=null),()=>{Q.current&&(clearTimeout(Q.current),Q.current=null)}),[k,H,ge]);const eA=async(R,K,le=!1)=>{try{const de=await b.current?.startSession({session_id:R||"",session_token:K||""});de?.session_id&&de?.session_token&&(V(de.session_id),se(de.session_token)),de?.user_id&&ue(de.user_id)}catch(de){const Ee=de,Fe=Ee.context?.stage==="handleSessionExpiry"||Ee.context?.stage==="refreshSession"||Ee.status===404,wA=Ee.status===403;Fe?(Ae(null),J(PA.NOT_CONNECTED),Z(!0)):wA&&!le?(q(),rA(),await eA(void 0,void 0,!0)):(Ae({title:"Connection Lost!",description:ar(de)}),L(!0))}},Pe=async(R=!1)=>{try{if(!b.current){Ae({title:"SDK not initialized",description:"Please ensure agentId is configured"}),h(!1);return}if(h(!0),R){J(PA.CONNECTING),c([]),await q(),await b?.current?.endSession(),rA(),await eA(),VA();return}const{sessionId:K,sessionToken:le}=ze.getState();await eA(K,le),VA()}catch{}finally{h(!1)}},nA=()=>b.current?.isConnected()??!1,OA=()=>{b.current?.endSession()},rA=()=>{m.current=0,L(!1),Z(!1),Ae(null)},VA=()=>{b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.MESSAGE_CHUNK,R=>{const K=R;if(K.data?.text&&K.messageId){H||(ge(!1),te(!0)),nA()&&J(PA.CONNECTED),rA();const le=K.data.text,de=K.messageId,Ee=M.current;M.current=!1,c(Fe=>{const wA=Fe[Fe.length-1];if(wA&&wA.id===de&&wA.role===Lt.ASSISTANT){const qe=[...Fe],Je=Ee&&wA.content.length>0&&!/\s$/.test(wA.content)&&!/^\s/.test(le)?`
|
|
100
|
+
`},s),l}function J2(e,t){return e&&"run"in e?async function(r,i){const s=QB(r,{file:i,...t});await e.run(s,i)}:function(r,i){return QB(r,{file:i,...e||t})}}function UB(e){if(e)throw e}var xf,FB;function Z2(){if(FB)return xf;FB=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},l=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var m=e.call(h,"constructor"),B=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!m&&!B)return!1;var C;for(C in h);return typeof C>"u"||e.call(h,C)},c=function(h,m){r&&m.name==="__proto__"?r(h,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):h[m.name]=m.newValue},u=function(h,m){if(m==="__proto__")if(e.call(h,m)){if(i)return i(h,m).value}else return;return h[m]};return xf=function f(){var h,m,B,C,w,v,b=arguments[0],U=1,Q=arguments.length,I=!1;for(typeof b=="boolean"&&(I=b,b=arguments[1]||{},U=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});U<Q;++U)if(h=arguments[U],h!=null)for(m in h)B=u(b,m),C=u(h,m),b!==C&&(I&&C&&(l(C)||(w=s(C)))?(w?(w=!1,v=B&&s(B)?B:[]):v=B&&l(B)?B:{},c(b,{name:m,newValue:f(I,v,C)})):typeof C<"u"&&c(b,{name:m,newValue:C}));return b},xf}var W2=Z2();const Sf=uu(W2);function Qf(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function $2(){const e=[],t={run:r,use:i};return t;function r(...s){let l=-1;const c=s.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);u(null,...s);function u(f,...h){const m=e[++l];let B=-1;if(f){c(f);return}for(;++B<s.length;)(h[B]===null||h[B]===void 0)&&(h[B]=s[B]);s=h,m?eT(m,u)(...h):c(null,...h)}}function i(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function eT(e,t){let r;return i;function i(...c){const u=e.length>c.length;let f;u&&c.push(s);try{f=e.apply(this,c)}catch(h){const m=h;if(u&&r)throw m;return s(m)}u||(f&&f.then&&typeof f.then=="function"?f.then(l,s):f instanceof Error?s(f):l(f))}function s(c,...u){r||(r=!0,t(c,...u))}function l(c){s(null,c)}}const gn={basename:AT,dirname:tT,extname:nT,join:rT,sep:"/"};function AT(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ds(e);let r=0,i=-1,s=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(l){r=s+1;break}}else i<0&&(l=!0,i=s+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let c=-1,u=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(l){r=s+1;break}}else c<0&&(l=!0,c=s+1),u>-1&&(e.codePointAt(s)===t.codePointAt(u--)?u<0&&(i=s):(u=-1,i=c));return r===i?i=c:i<0&&(i=e.length),e.slice(r,i)}function tT(e){if(ds(e),e.length===0)return".";let t=-1,r=e.length,i;for(;--r;)if(e.codePointAt(r)===47){if(i){t=r;break}}else i||(i=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function nT(e){ds(e);let t=e.length,r=-1,i=0,s=-1,l=0,c;for(;t--;){const u=e.codePointAt(t);if(u===47){if(c){i=t+1;break}continue}r<0&&(c=!0,r=t+1),u===46?s<0?s=t:l!==1&&(l=1):s>-1&&(l=-1)}return s<0||r<0||l===0||l===1&&s===r-1&&s===i+1?"":e.slice(s,r)}function rT(...e){let t=-1,r;for(;++t<e.length;)ds(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":iT(r)}function iT(e){ds(e);const t=e.codePointAt(0)===47;let r=aT(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function aT(e,t){let r="",i=0,s=-1,l=0,c=-1,u,f;for(;++c<=e.length;){if(c<e.length)u=e.codePointAt(c);else{if(u===47)break;u=47}if(u===47){if(!(s===c-1||l===1))if(s!==c-1&&l===2){if(r.length<2||i!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(f=r.lastIndexOf("/"),f!==r.length-1){f<0?(r="",i=0):(r=r.slice(0,f),i=r.length-1-r.lastIndexOf("/")),s=c,l=0;continue}}else if(r.length>0){r="",i=0,s=c,l=0;continue}}t&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+e.slice(s+1,c):r=e.slice(s+1,c),i=c-s-1;s=c,l=0}else u===46&&l>-1?l++:l=-1}return r}function ds(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const sT={cwd:lT};function lT(){return"/"}function Uf(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function oT(e){if(typeof e=="string")e=new URL(e);else if(!Uf(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return cT(e)}function cT(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const i=t.codePointAt(r+2);if(i===70||i===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}const Ff=["history","path","basename","stem","extname","dirname"];class TB{constructor(t){let r;t?Uf(t)?r={path:t}:typeof t=="string"||uT(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":sT.cwd(),this.data={},this.history=[],this.messages=[];let i=-1;for(;++i<Ff.length;){const l=Ff[i];l in r&&r[l]!==void 0&&r[l]!==null&&(this[l]=l==="history"?[...r[l]]:r[l])}let s;for(s in r)Ff.includes(s)||(this[s]=r[s])}get basename(){return typeof this.path=="string"?gn.basename(this.path):void 0}set basename(t){Nf(t,"basename"),Tf(t,"basename"),this.path=gn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?gn.dirname(this.path):void 0}set dirname(t){NB(this.basename,"dirname"),this.path=gn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?gn.extname(this.path):void 0}set extname(t){if(Tf(t,"extname"),NB(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=gn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Uf(t)&&(t=oT(t)),Nf(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?gn.basename(this.path,this.extname):void 0}set stem(t){Nf(t,"stem"),Tf(t,"stem"),this.path=gn.join(this.dirname||"",t+(this.extname||""))}fail(t,r,i){const s=this.message(t,r,i);throw s.fatal=!0,s}info(t,r,i){const s=this.message(t,r,i);return s.fatal=void 0,s}message(t,r,i){const s=new st(t,r,i);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Tf(e,t){if(e&&e.includes(gn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+gn.sep+"`")}function Nf(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function NB(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function uT(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const fT=(function(e){const i=this.constructor.prototype,s=i[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,i),l}),dT={}.hasOwnProperty;class If extends fT{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=$2()}copy(){const t=new If;let r=-1;for(;++r<this.attachers.length;){const i=this.attachers[r];t.use(...i)}return t.data(Sf(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Mf("data",this.frozen),this.namespace[t]=r,this):dT.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Mf("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);const s=r.call(t,...i);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Ao(t),i=this.parser||this.Parser;return _f("parse",i),i(String(r),r)}process(t,r){const i=this;return this.freeze(),_f("process",this.parser||this.Parser),Hf("process",this.compiler||this.Compiler),r?s(void 0,r):new Promise(s);function s(l,c){const u=Ao(t),f=i.parse(u);i.run(f,u,function(m,B,C){if(m||!B||!C)return h(m);const w=B,v=i.stringify(w,C);pT(v)?C.value=v:C.result=v,h(m,C)});function h(m,B){m||!B?c(m):l?l(B):r(void 0,B)}}}processSync(t){let r=!1,i;return this.freeze(),_f("processSync",this.parser||this.Parser),Hf("processSync",this.compiler||this.Compiler),this.process(t,s),_B("processSync","process",r),i;function s(l,c){r=!0,UB(l),i=c}}run(t,r,i){IB(t),this.freeze();const s=this.transformers;return!i&&typeof r=="function"&&(i=r,r=void 0),i?l(void 0,i):new Promise(l);function l(c,u){const f=Ao(r);s.run(t,f,h);function h(m,B,C){const w=B||t;m?u(m):c?c(w):i(void 0,w,C)}}}runSync(t,r){let i=!1,s;return this.run(t,r,l),_B("runSync","run",i),s;function l(c,u){UB(c),s=u,i=!0}}stringify(t,r){this.freeze();const i=Ao(r),s=this.compiler||this.Compiler;return Hf("stringify",s),IB(t),s(t,i)}use(t,...r){const i=this.attachers,s=this.namespace;if(Mf("use",this.frozen),t!=null)if(typeof t=="function")f(t,r);else if(typeof t=="object")Array.isArray(t)?u(t):c(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[m,...B]=h;f(m,B)}else c(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function c(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(h.plugins),h.settings&&(s.settings=Sf(!0,s.settings,h.settings))}function u(h){let m=-1;if(h!=null)if(Array.isArray(h))for(;++m<h.length;){const B=h[m];l(B)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,m){let B=-1,C=-1;for(;++B<i.length;)if(i[B][0]===h){C=B;break}if(C===-1)i.push([h,...m]);else if(m.length>0){let[w,...v]=m;const b=i[C][1];Qf(b)&&Qf(w)&&(w=Sf(!0,b,w)),i[C]=[h,w,...v]}}}}const hT=new If().freeze();function _f(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Hf(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Mf(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function IB(e){if(!Qf(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function _B(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ao(e){return gT(e)?e:new TB(e)}function gT(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function pT(e){return typeof e=="string"||mT(e)}function mT(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const HB=[],MB={allowDangerousHtml:!0},BT=/^(https?|ircs?|mailto|xmpp)$/i,wT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function hs(e){const t=CT(e),r=yT(e);return ET(t.runSync(t.parse(r),r),e)}function CT(e){const t=e.rehypePlugins||HB,r=e.remarkPlugins||HB,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...MB}:MB;return hT().use(A2).use(r).use(J2,i).use(t)}function yT(e){const t=e.children||"",r=new TB;return typeof t=="string"&&(r.value=t),r}function ET(e,t){const r=t.allowedElements,i=t.allowElement,s=t.components,l=t.disallowedElements,c=t.skipHtml,u=t.unwrapDisallowed,f=t.urlTransform||vT;for(const m of wT);return xB(e,h),VQ(e,{Fragment:g.Fragment,components:s,ignoreInvalidStyle:!0,jsx:g.jsx,jsxs:g.jsxs,passKeys:!0,passNode:!0});function h(m,B,C){if(m.type==="raw"&&C&&typeof B=="number")return c?C.children.splice(B,1):C.children[B]={type:"text",value:m.value},B;if(m.type==="element"){let w;for(w in uf)if(Object.hasOwn(uf,w)&&Object.hasOwn(m.properties,w)){const v=m.properties[w],b=uf[w];(b===null||b.includes(m.tagName))&&(m.properties[w]=f(String(v||""),w,m))}}if(m.type==="element"){let w=r?!r.includes(m.tagName):l?l.includes(m.tagName):!1;if(!w&&i&&typeof B=="number"&&(w=!i(m,B,C)),w&&C&&typeof B=="number")return u&&m.children?C.children.splice(B,1,...m.children):C.children.splice(B,1),B}}}function vT(e){const t=e.indexOf(":"),r=e.indexOf("?"),i=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||r!==-1&&t>r||i!==-1&&t>i||BT.test(e.slice(0,t))?e:""}function OB({file:e,onRemove:t,isPreview:r=!0,className:i=""}){const[s,l]=x.useState(!1),[c,u]=x.useState(""),f=e?.type?.startsWith("image/")??!1,h=e?.type==="application/pdf";x.useEffect(()=>{if(f){const C=URL.createObjectURL(e);return u(C),()=>URL.revokeObjectURL(C)}},[e,f]),x.useEffect(()=>{l(!1)},[e]);const m=()=>f?"text-green-600":"text-text-secondary",B=C=>{if(C===0)return"0 B";const w=1024,v=["B","KB","MB","GB"],b=Math.floor(Math.log(C)/Math.log(w));return`${(C/Math.pow(w,b)).toFixed(1)} ${v[b]}`.toLowerCase()};return!f||s?g.jsxs("div",{className:`relative group inline-flex flex-shrink-0 bg-white border border-neutral-300 rounded-lg flex items-center gap-3 px-3 py-2.5 max-w-full ${r?"hover:bg-neutral-50":""} ${i}`,children:[g.jsx("div",{className:`flex-shrink-0 ${m()}`,children:g.jsx(lS,{className:"h-5 w-5"})}),g.jsxs("div",{className:"flex-1 min-w-0 max-w-[200px]",children:[e?.name&&g.jsx("div",{className:"text-sm font-medium text-[var(--color-foreground)] truncate",children:e.name}),e?.size&&g.jsx("div",{className:"text-xs text-[var(--color-muted-foreground)]",children:B(e.size)})]}),r&&t&&g.jsx("button",{onClick:t,"aria-label":`Remove ${e.name}`,className:"flex-shrink-0 flex items-center justify-center w-5 h-5 text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)] transition-colors",children:g.jsx(ns,{className:"h-4 w-4"})})]}):g.jsxs("div",{className:`relative group flex-shrink-0 ${i}`,children:[g.jsx("div",{className:`w-20 h-20 bg-white border border-neutral-300 rounded-lg flex items-center justify-center overflow-hidden ${r?"hover:bg-neutral-100 cursor-pointer":""}`,children:c&&g.jsx("img",{src:c,alt:e.name,className:"w-full h-full object-cover",onError:()=>l(!0)})}),r&&t&&g.jsx("button",{onClick:t,"aria-label":`Remove ${e.name}`,className:"absolute top-0 right-0 bg-[var(--color-muted)] text-black rounded-full w-5 h-5 flex items-center justify-center hover:bg-[var(--color-muted-foreground)] transition-colors z-10 transform translate-x-1 -translate-y-1",children:g.jsx(ns,{className:"h-3 w-3 text-black"})})]})}function Of({files:e,onRemoveFile:t,isPreview:r=!0,className:i=""}){if(e.length===0)return null;const s=e.filter(c=>c.type?.startsWith("image/")),l=e.filter(c=>!c.type?.startsWith("image/"));return g.jsxs("div",{className:`flex flex-wrap justify-end gap-2 max-w-full ${i}`,children:[l.map(c=>{const u=e.indexOf(c);return g.jsx(OB,{file:c,onRemove:t?()=>t(u):void 0,isPreview:r},`${c.name}-${c.size}-${u}`)}),s.length>0&&g.jsx("div",{className:"flex gap-2 overflow-x-auto max-w-full p-1 scrollbar-hide",children:s.map(c=>{const u=e.indexOf(c);return g.jsx(OB,{file:c,onRemove:t?()=>t(u):void 0,isPreview:r},`${c.name}-${c.size}-${u}`)})})]})}const bT=x.lazy(()=>Promise.resolve().then(()=>IT).then(e=>({default:e.Pills}))),xT=x.lazy(()=>Promise.resolve().then(()=>F4).then(e=>({default:e.MultiSelectGroup}))),ST=x.lazy(()=>Promise.resolve().then(()=>I4).then(e=>({default:e.FocusCarousel}))),QT=x.lazy(()=>Promise.resolve().then(()=>M4).then(e=>({default:e.DoctorCard}))),UT=x.lazy(()=>Promise.resolve().then(()=>L4).then(e=>({default:e.CardList}))),FT=x.lazy(()=>Promise.resolve().then(()=>V4).then(e=>({default:e.MediaCard})));function WA({className:e}){return g.jsx("div",{className:he("relative overflow-hidden bg-surface-secondary","before:absolute before:inset-0","before:-translate-x-full before:animate-[shimmer_1.4s_infinite]","before:bg-gradient-to-r before:from-transparent before:via-white/40 before:to-transparent",e)})}function Ti({variant:e}){return e==="pill"?g.jsxs("div",{className:"flex flex-wrap gap-2 mt-3","aria-busy":!0,"aria-label":"Loading options",children:[g.jsx(to,{}),g.jsx(WA,{className:"h-8 w-20 rounded-full"}),g.jsx(WA,{className:"h-8 w-24 rounded-full"}),g.jsx(WA,{className:"h-8 w-16 rounded-full"})]}):e==="media"?g.jsxs("div",{className:"mt-3 w-56 rounded-xl border border-border-subtle bg-surface p-3","aria-busy":!0,"aria-label":"Loading media",children:[g.jsx(to,{}),g.jsx(WA,{className:"h-24 w-full rounded-lg"}),g.jsxs("div",{className:"mt-3 space-y-2",children:[g.jsx(WA,{className:"h-3 w-3/4 rounded"}),g.jsx(WA,{className:"h-3 w-1/2 rounded"})]})]}):e==="input"?g.jsxs("div",{className:"mt-3 w-full rounded-xl border border-primary/30 bg-elicitationBg p-4","aria-busy":!0,"aria-label":"Loading input",children:[g.jsx(to,{}),g.jsx(WA,{className:"h-3 w-32 rounded mb-3"}),g.jsxs("div",{className:"space-y-2",children:[g.jsx(WA,{className:"h-9 w-full rounded-lg"}),g.jsx(WA,{className:"h-9 w-full rounded-lg"}),g.jsx(WA,{className:"h-9 w-full rounded-lg"})]}),g.jsx(WA,{className:"mt-4 h-9 w-full rounded-lg"})]}):g.jsxs("div",{className:"mt-3 w-72 rounded-xl border border-border-subtle bg-surface p-4","aria-busy":!0,"aria-label":"Loading card",children:[g.jsx(to,{}),g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx(WA,{className:"h-10 w-10 rounded-full"}),g.jsxs("div",{className:"flex-1 space-y-2",children:[g.jsx(WA,{className:"h-3 w-3/4 rounded"}),g.jsx(WA,{className:"h-3 w-1/2 rounded"})]})]}),g.jsxs("div",{className:"mt-4 space-y-2",children:[g.jsx(WA,{className:"h-3 w-full rounded"}),g.jsx(WA,{className:"h-3 w-5/6 rounded"})]}),g.jsx(WA,{className:"mt-4 h-9 w-28 rounded-lg"})]})}function to(){return g.jsx("style",{children:"@keyframes shimmer { 100% { transform: translateX(100%); } }"})}function TT({messageId:e,tool_key:t,entry:r,onSendMessage:i,disabled:s}){const[l,c]=x.useState([]),[u,f]=x.useState({}),h=r.component,m=r.disabled,B=x.useMemo(()=>r.ui_input,[r.ui_input]);x.useEffect(()=>{h===fe.SYNAPSE_COMPONENTS.DOCTOR_CARD&&B?.doctor_details&&f(B.doctor_details)},[h,B?.doctor_details]);const C=async j=>{await i({message:j.value,messageId:e,toolCalled:!0,selectedComponent:j,tool_key:t})},w=async(j,F,H)=>{await i({toolCalled:!0,selectedComponent:j,selected_id:j.doctor_id,message:F,tool_key:t,messageId:e,...H&&{tool_result:H}})},v=async()=>{await i({message:"show more"})},b=async()=>{l.length!==0&&await i({message:l.join(", "),messageId:e,toolCalled:!0,tool_key:t})},U=()=>{const j=h===fe.SYNAPSE_COMPONENTS.MULTI&&B?.options;return j?Array.isArray(j)?j.map((F,H)=>({id:`option-${H}`,label:F.label,value:F.value})):Object.keys(j).map((F,H)=>({id:`option-${H}`,label:F,value:F})):[]},Q=x.useMemo(()=>{if(h===fe.SYNAPSE_COMPONENTS.DOCTOR_CARD)return B?.doctors?.filter(F=>!!F&&!!F.doctor_id)},[h,B?.doctors]);if(!h)return null;const I=h===fe.SYNAPSE_COMPONENTS.PILL?B?.options:void 0,M=h===fe.SYNAPSE_COMPONENTS.CARD?B?.cards:void 0,z=h===fe.SYNAPSE_COMPONENTS.MEDIA_CARD?B?.media_card:void 0;return g.jsxs("div",{className:"flex justify-end",children:[I&&g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"pill"}),children:g.jsx("div",{className:`flex ${I.length>3?"flex-col":"flex-wrap"} gap-2 mt-3`,children:I.map((j,F)=>g.jsx(bT,{disabled:m||s,text:j?.label||"",onClick:()=>C(j),className:"cursor-pointer"},F))})}),h===fe.SYNAPSE_COMPONENTS.MULTI&&B?.options&&g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"input"}),children:g.jsxs("div",{className:"mt-3 space-y-3 break-words overflow-wrap-anywhere whitespace-pre-wrap bg-elicitationBg border border-primary/40 rounded-xl p-4",children:[g.jsx("h3",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Select multiple options:"}),g.jsx(xT,{options:U(),selectedValues:l,onSelectionChange:c,disabled:m||s}),g.jsx(Ie,{onClick:b,disabled:l.length===0||m||s,className:he("w-full rounded-lg px-4 py-2 text-sm font-medium transition-all","bg-primary hover:bg-primary/90 text-primary-foreground","disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-primary/50 disabled:text-primary-foreground","shadow-sm hover:shadow-md active:scale-[0.98] "),children:"Confirm"})]})}),Q&&Q.length>0?g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"card"}),children:g.jsx(ST,{count:Q.length+1,renderItem:(j,F)=>{if(j===Q.length)return g.jsxs("button",{type:"button",onClick:v,disabled:s||m,className:he("max-w-md w-full h-full flex flex-col items-center justify-center gap-2 px-4","rounded-xl border-2 border-dashed border-black-200 dark:border-white-200 bg-primary/[10%]","transition-colors disabled:opacity-60 disabled:cursor-not-allowed"),children:[g.jsx("span",{className:he("flex items-center justify-center","w-10 h-10 rounded-full bg-elicitationBg shadow-sm"),children:g.jsx(CS,{className:"w-4 h-4 text-primary"})}),g.jsx("span",{className:"text-primary font-semibold text-sm",children:"Show more doctors"}),g.jsx("span",{className:"text-xs text-text-secondary",children:"Tap to load more"})]});const H=Q[j];return g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"card"}),children:g.jsx(QT,{doctor:H,doctorDetails:u?.[H.doctor_id],disabled:s,onSelect:w,isActive:F})},H.doctor_id)}})}):null,M&&g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"card"}),children:g.jsx(UT,{cards:M,onSelect:async j=>{await i({...j,toolCalled:!0,tool_key:t,messageId:e})},orientation:r.orientation,disabled:m||s})}),z&&g.jsx(x.Suspense,{fallback:g.jsx(Ti,{variant:"media"}),children:g.jsx("div",{className:"mt-3",children:g.jsx(FT,{card:z})})})]})}function NT({id:e,role:t,content:r,files:i,isLastMessage:s,progressMessage:l,toolKeys:c,postText:u,elicitationState:f,toolCallStatus:h,onSendMessage:m,onToggleFeedback:B,disabled:C,onClearElicitationState:w,isAuthComponent:v,isFullScreen:b}){const U=t==="user",[Q,I]=x.useState(fe.USER_FEEDBACK.NONE),M=ze(F=>F.isStreaming),z=F=>{I(F),B(F)},j=!!(r?.trim()||i&&i.length>0||h||l);return g.jsxs(g.Fragment,{children:[j&&g.jsx("div",{className:he("flex",U?"justify-end":"justify-start"),children:g.jsx("div",{className:he("flex gap-3",U?"flex-row-reverse":"flex-row",U?"max-w-[60%]":b?"w-full":"max-w-xs"),children:g.jsxs("div",{className:"flex flex-col",children:[g.jsxs(Tn,{className:he("px-4 py-2 rounded-lg shadow-none break-words overflow-wrap-anywhere whitespace-pre-wrap",U?"bg-primary text-primary-foreground shadow-sm":he("text-foreground shadow-sm bg-botMessage blur-xs border border-black-200 dark:border-white-200"),b&&!U&&"!bg-transparent !shadow-none !border-0 !rounded-none !px-0 !py-0 !backdrop-blur-none !blur-none text-black-900"),children:[h&&!U&&g.jsx("div",{className:"text-xs text-muted-foreground mb-2 pb-2 border-b border-border-subtle",children:h}),!h&&l&&!U&&s&&g.jsx("p",{className:"text-sm font-medium text-muted-foreground pb-2",children:l}),r&&g.jsx("div",{className:he("markdown-content",b&&!U?"text-base leading-6":"text-sm"),children:g.jsx(hs,{children:`${r} ${!U&&M&&s?"...":""}`})}),i&&i.length>0&&g.jsx("div",{className:"mt-2",children:g.jsx(Of,{files:i,isPreview:!1,className:""})}),l&&!U&&s&&g.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:l})]}),!u&&!U&&!M&&s&&r&&Q===fe.USER_FEEDBACK.NONE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsxs("div",{className:"flex items-center gap-1",children:[g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-black-500 dark:text-white-500 hover:text-foreground",onClick:()=>z(fe.USER_FEEDBACK.LIKE),children:g.jsx(jl,{className:"h-3 w-3"})}),g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-black-500 dark:text-white-500 hover:text-foreground",onClick:()=>z(fe.USER_FEEDBACK.DISLIKE),children:g.jsx(Kl,{className:"h-3 w-3"})})]})}),!u&&!U&&!M&&s&&Q===fe.USER_FEEDBACK.LIKE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-primary",disabled:!0,children:g.jsx(jl,{className:"h-3 w-3"})})}),!u&&!U&&!M&&s&&Q===fe.USER_FEEDBACK.DISLIKE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-primary",disabled:!0,children:g.jsx(Kl,{className:"h-3 w-3"})})}),v&&s&&c?.length?g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"link",size:"sm",className:"h-6 px-0 text-[12px] font-medium text-primary border-b border-dashed border-primary rounded-none bg-transparent no-underline hover:no-underline hover:bg-transparent active:bg-transparent focus-visible:bg-transparent rounded-none",onClick:()=>{const F=c[c.length-1];F&&f[F].active&&w(F,"Cancel OTP Verification")},children:"Cancel OTP Verification"})}):null]})})}),c?.map(F=>{const H=f[F];return H?g.jsx(TT,{messageId:e,tool_key:F,entry:H,onSendMessage:m,disabled:C||H.disabled},F):null}),u&&!U&&g.jsx("div",{className:"flex justify-start",children:g.jsx("div",{className:he("flex gap-3 flex-row",b?"w-full":"max-w-xs"),children:g.jsxs("div",{className:"flex flex-col",children:[g.jsx(Tn,{className:he("px-4 py-2 rounded-lg shadow-none break-words overflow-wrap-anywhere whitespace-pre-wrap","text-foreground shadow-sm bg-botMessage blur-xs border border-black-200 dark:border-white-200",b&&"!bg-transparent !shadow-none !border-0 !rounded-none !px-0 !py-0 !backdrop-blur-none !blur-none text-black-900"),children:g.jsx("div",{className:he("markdown-content",b?"text-base leading-6":"text-sm"),children:g.jsx(hs,{children:u})})}),!M&&s&&Q===fe.USER_FEEDBACK.NONE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsxs("div",{className:"flex items-center gap-1",children:[g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-black-500 dark:text-white-500 hover:text-foreground",onClick:()=>z(fe.USER_FEEDBACK.LIKE),children:g.jsx(jl,{className:"h-3 w-3"})}),g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-black-500 dark:text-white-500 hover:text-foreground",onClick:()=>z(fe.USER_FEEDBACK.DISLIKE),children:g.jsx(Kl,{className:"h-3 w-3"})})]})}),!M&&s&&Q===fe.USER_FEEDBACK.LIKE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-primary",disabled:!0,children:g.jsx(jl,{className:"h-3 w-3"})})}),!M&&s&&Q===fe.USER_FEEDBACK.DISLIKE&&g.jsx("div",{className:"flex items-center gap-2 self-start mt-1",children:g.jsx(Ie,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted text-primary",disabled:!0,children:g.jsx(Kl,{className:"h-3 w-3"})})})]})})})]})}function RB({text:e,maxWidth:t="200px",className:r="",icon:i,onClick:s,disabled:l=!1}){const[c,u]=x.useState(!1),f=x.useRef(null),h=x.useRef(null);return x.useEffect(()=>{const m=()=>{if(f.current&&h.current){const B=f.current.offsetWidth,C=h.current.scrollWidth;u(C>B)}};return m(),window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[e,t]),e?g.jsxs("div",{ref:f,onClick:l?void 0:s,className:he("inline-flex items-center gap-2 rounded-lg border border-primary bg-elicitationBg px-3 py-2 shadow-sm text-xs text-primary cursor-pointer",r,l?"opacity-50 cursor-not-allowed":""),style:{maxWidth:t,WebkitTapHighlightColor:"transparent",outline:"none"},title:e,children:[i&&g.jsx("span",{className:"text-primary",children:i}),g.jsx("div",{className:"pill-marquee-wrapper",children:g.jsx("span",{ref:h,className:he("block whitespace-normal",c?"pill-marquee":""),children:e})})]}):null}const IT=Object.freeze(Object.defineProperty({__proto__:null,Pills:RB},Symbol.toStringTag,{value:"Module"}));function _T({text:e,suggestions:t,onSendMessage:r,disabled:i,isFullScreen:s}){if(!e&&!t?.length)return null;const l=c=>{const u=c.value||c.label||"";u&&r({message:u})};return g.jsxs(g.Fragment,{children:[e&&g.jsx("div",{className:"flex justify-start",children:g.jsx("div",{className:he("flex gap-3 flex-row",s?"w-full":"max-w-xs"),children:g.jsx(Tn,{className:he("px-4 py-2 rounded-lg shadow-none break-words overflow-wrap-anywhere whitespace-pre-wrap text-foreground shadow-sm bg-botMessage blur-xs border border-black-200 dark:border-white-200",s&&"!bg-transparent !shadow-none !border-0 !rounded-none !px-0 !py-0 !backdrop-blur-none !blur-none text-black-900"),children:g.jsx("div",{className:he("markdown-content",s?"text-base leading-6":"text-sm"),children:g.jsx(hs,{children:e})})})})}),t&&t.length>0&&g.jsx("div",{className:"flex justify-end",children:g.jsx("div",{className:he("flex gap-2 mt-3",t.length>3?"flex-col":"flex-wrap"),children:t.map((c,u)=>g.jsx(RB,{text:c.label||"",onClick:()=>l(c),disabled:i,className:"cursor-pointer"},u))})})]})}function HT({messages:e,onSendMessage:t,onToggleFeedback:r,onClearElicitationState:i,isAuthComponent:s,isFullScreen:l,initialMessage:c,disabled:u}){const f=ze(w=>w.isWaitingForResponse),h=ze(w=>w.connectionStatus),m=ze(w=>w.elicitationState),B=h===PA.CONNECTED,C=ze(w=>w.progressMessage);return e.length===0&&!C?g.jsx(_T,{text:c?.text,suggestions:c?.suggestions,onSendMessage:t,disabled:u,isFullScreen:l}):g.jsxs(g.Fragment,{children:[(e&&e.length>0||C)&&g.jsx(g.Fragment,{children:e.map((w,v)=>g.jsx("div",{className:"animate-slideUp scroll-mt-[16px] min-w-0 overflow-hidden","data-role":w.role,"data-message-id":w.id,id:v===e.length-1?"last-message":void 0,children:g.jsx(NT,{id:w.id,role:w.role,content:w.content,files:w.files||[],toolKeys:w.tool_keys,postText:w.postText,elicitationState:m,timestamp:w.timestamp,onSendMessage:t,isLastMessage:v===e.length-1,progressMessage:C,toolCallStatus:w.toolCallStatus,disabled:!B,onToggleFeedback:b=>r(b,w.id),onClearElicitationState:i,isAuthComponent:s,isFullScreen:l})},w.id))}),f&&g.jsx(MT,{})]})}function MT(){return g.jsx("div",{className:"animate-slideUp",children:g.jsx("div",{className:"flex justify-start",children:g.jsx("div",{className:"flex gap-3",children:g.jsx(Tn,{className:"px-4 py-2 rounded-lg shadow-none bg-botMessage backdrop-blur-sm text-text-primary shadow-sm",children:g.jsx("div",{className:"flex items-center gap-1.5","aria-label":"Bot is typing",children:[0,1,2].map(e=>g.jsx("span",{className:"w-2 h-2 rounded-full bg-foreground animate-pulse",style:{animationDelay:`${e*150}ms`}},e))})})})})})}function LB(){const[e,t]=x.useState(typeof navigator<"u"?navigator.onLine:!0);return x.useEffect(()=>{const r=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",r),window.addEventListener("offline",i),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}},[]),{isOnline:e}}const OT=e=>e?e.split(" ").map(t=>t[0]).slice(0,2).join("").toUpperCase():"DR",RT=e=>{const t=new Date(e),r=t.toLocaleDateString(void 0,{weekday:"short"}),i=t.toLocaleDateString(void 0,{day:"2-digit"});return{weekday:r,dayNum:i}},LT=(e=[],t=[])=>{if(!e.length)return t;if(!t.length)return e;const r=e.map(i=>({...i}));for(const i of t){const s=i.date?r.findIndex(l=>l.date===i.date):-1;if(s===-1)r.push({...i});else{const l=r[s];r[s]={...l,...i,slots:i.slots??l.slots}}}return r},DT=(e=[],t=[])=>{if(!e.length)return t;if(!t.length)return e;const r=e.map(i=>({...i}));for(const i of t){const s=i.doctor_id?r.findIndex(l=>l.doctor_id===i.doctor_id):-1;if(s===-1)r.push({...i});else{const l=r[s];r[s]={...l,...i,availability:LT(l.availability,i.availability)}}}return r},DB=e=>!!e&&Array.isArray(e.doctors),kT=(e,t,r)=>e?t?r!==fe.SYNAPSE_COMPONENTS.DOCTOR_CARD?t:!DB(e)||!DB(t)?e:{...t,doctors:DT(e.doctors,t.doctors),doctor_details:{...e.doctor_details||{},...t.doctor_details||{}}}:e:t,ar=e=>{const t=e;return t?.message?t.error?.msg||t.message:e instanceof Error?e.message:"An unexpected error occurred"},jT=({environment:e,connectionType:t,baseUrl:r,context:i,auth:s})=>{const[l,c]=x.useState([]),u=x.useRef([]),[f,h]=x.useState(!1),m=x.useRef(0),[B,C]=x.useState(!1),[w,v]=x.useState([]),b=x.useRef(null),U=TS(),Q=x.useRef(null),{isOnline:I}=LB(),M=x.useRef(!1),z=ze(R=>R.agentId),j=ze(R=>R.sessionId),F=ze(R=>R.sessionToken),H=ze(R=>R.isStreaming),k=ze(R=>R.isWaitingForResponse),O=ze(R=>R.initialMessage),$=ze(R=>R.userId),ee=ze(R=>R.fileUploadPerSession),{setSessionId:V,setSessionToken:se,setError:Ae,setConnectionStatus:J,setShowRetryButton:L,setStartNewConnection:Z,setIsStreaming:te,setIsWaitingForResponse:ge,setProgressMessage:T,setRecordingStatus:N,clearSession:q,addMessageToSession:E,getMessagesForSession:ne,updateMessageInSession:oe,setUserId:ue,setFileUploadPerSession:pe,setToastMessage:Oe,upsertElicitationState:xe}=ze.getState();x.useEffect(()=>{I?B?nA()&&(J(PA.CONNECTED),rA()):J(PA.CONNECTING):J(PA.NOT_CONNECTED)},[I,B]),x.useEffect(()=>{j&&(c(ne(j)||[]),v([]))},[j]),x.useEffect(()=>{if(C(!1),!z)return;const R=new fe.SynapseSDK({agentId:z,environment:e,...t&&{connectionType:t},userId:$,callbacks:{onError:K=>{switch(K.code){case fe.SynapseErrorCode.SESSION:{const le=K.context;le?.stage==="handleSessionExpiry"||le?.stage==="refreshSession"?I?(Ae({title:"Internet connection Failed!",description:ar(K)}),L(!0)):(Ae({title:"Your session has ended.",description:"Please start a new Chat."}),L(!0)):(J(PA.NOT_CONNECTED),Ae({title:"Something went wrong!",description:ar(K)}),L(!0));break}case fe.SynapseErrorCode.RECORDING:Ae({title:"Recording failed",description:ar(K)});break;case fe.SynapseErrorCode.CONNECTION:nA()||(J(PA.NOT_CONNECTED),m.current<2?(m.current=m.current+1,eA(j,F)):(L(!0),Ae({title:"Trying to connect...",description:ar(K)})));break;default:Ae({title:"Something went wrong",description:ar(K)}),L(!0);break}},onSessionRefreshed:K=>{K?.session_id&&K?.session_token&&(V(K.session_id),se(K.session_token))}},...r&&{serverUrl:r},...i&&{context:i},...s&&{auth:s}});return b.current=R,U(R),C(!0),()=>{C(!1),b.current?.endSession(),b.current=null,U(null),Q.current&&(clearTimeout(Q.current),Q.current=null)}},[z,e,s]),x.useEffect(()=>{u.current=l},[l]),x.useEffect(()=>{const R=u.current[u.current.length-1];!R?.role||!j||(R?.role===Lt.USER&&!R.isStored?E(j,{...R,isStored:!0}):!H&&!R.isStored&&(c(K=>{const le=[...K];return le[le.length-1]={...R,isStored:!0},le}),E(j,{...R,isStored:!0})))},[l,H]),x.useEffect(()=>{const R=l[l.length-1];return()=>{R&&!R?.isStored&&j&&E(j,{...R,isStored:!0})}},[]),x.useEffect(()=>(Q.current&&(clearTimeout(Q.current),Q.current=null),k&&!H?Q.current=setTimeout(()=>{ge(!1),Q.current=null},3e4):H&&Q.current&&(clearTimeout(Q.current),Q.current=null),()=>{Q.current&&(clearTimeout(Q.current),Q.current=null)}),[k,H,ge]);const eA=async(R,K,le=!1)=>{try{const de=await b.current?.startSession({session_id:R||"",session_token:K||""});de?.session_id&&de?.session_token&&(V(de.session_id),se(de.session_token)),de?.user_id&&ue(de.user_id)}catch(de){const Ee=de,Fe=Ee.context?.stage==="handleSessionExpiry"||Ee.context?.stage==="refreshSession"||Ee.status===404,wA=Ee.status===403;Fe?(Ae(null),J(PA.NOT_CONNECTED),Z(!0)):wA&&!le?(q(),rA(),await eA(void 0,void 0,!0)):(Ae({title:"Connection Lost!",description:ar(de)}),L(!0))}},Pe=async(R=!1)=>{try{if(!b.current){Ae({title:"SDK not initialized",description:"Please ensure agentId is configured"}),h(!1);return}if(h(!0),R){J(PA.CONNECTING),c([]),await q(),await b?.current?.endSession(),rA(),await eA(),VA();return}const{sessionId:K,sessionToken:le}=ze.getState();await eA(K,le),VA()}catch{}finally{h(!1)}},nA=()=>b.current?.isConnected()??!1,OA=()=>{b.current?.endSession()},rA=()=>{m.current=0,L(!1),Z(!1),Ae(null)},VA=()=>{b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.MESSAGE_CHUNK,R=>{const K=R;if(K.data?.text&&K.messageId){H||(ge(!1),te(!0)),nA()&&J(PA.CONNECTED),rA();const le=K.data.text,de=K.messageId,Ee=M.current;M.current=!1,c(Fe=>{const wA=Fe[Fe.length-1];if(wA&&wA.id===de&&wA.role===Lt.ASSISTANT){const qe=[...Fe],Je=Ee&&wA.content.length>0&&!/\s$/.test(wA.content)&&!/^\s/.test(le)?`
|
|
101
101
|
|
|
102
102
|
`:"";return qe[qe.length-1]={...wA,content:wA.content+Je+le},qe}else return[...Fe,{id:de,content:le,role:Lt.ASSISTANT,timestamp:vi(Date.now()),isStored:!1}]})}}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.END_OF_STREAM,()=>{M.current=!1,te(!1),T(null),ge(!1)}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.CONNECTED,()=>{rA(),J(PA.CONNECTED)}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.TOOL_CALL,R=>{M.current=!0;const K=R;if(!K?.messageId||!K?.data||!K?.data?.details?.component||!K?.data?.tool_id)return;k&&ge(!1);const{messageId:le,data:de}=K,Ee=de.tool_id,Fe=`${le}::${Ee}`,qe=ze.getState().elicitationState[Fe],Je=de.details?.component,mA=K?.data?.details?._meta?.tool_result,Ye=de.details?.input,fA=kT(qe?.ui_input,Ye,Je);let Qe=K.data.details?._meta?.disp_toast_msg;const lA=de?.details?._meta?.schema?.required||[];switch(de?.details?.status){case fe.SYNAPSE_EICITATION_STATUS.PROGRESS:{const SA=K?.data?.details?.input||{},qA=lA.reduce((sn,ln)=>(SA[ln]!==void 0&&(sn[ln]=SA[ln]),sn),{}),He={...qe?.server_input||{},...qA},zt=lA.filter(sn=>!He[sn]),Br=K.data.details?._meta?.mcp_meta_fields||[];xe(Fe,{tool_id:Ee,active:!0,disabled:!1,ui_input:fA,server_input:He,messageId:le,required:lA,component:Je,pattern:K.data.details?._meta?.schema?.properties?.[K.data.details?.component]?.pattern,minLength:K.data.details?._meta?.schema?.properties?.[K.data.details?.component]?.minLength,maxLength:K.data.details?._meta?.schema?.properties?.[K.data.details?.component]?.maxLength,type:K.data.details?._meta?.schema?.properties?.[K.data.details?.component]?.type,disp_toast_msg:K.data.details?._meta?.disp_toast_msg,description:K.data.details?._meta?.schema?.properties?.[K.data.details?.component]?.description,tool_result:mA,orientation:K.data.details?._meta?.orientation,...Br.length&&{mcp_meta_fields:Br},...zt?{toolSelectionNames:zt}:{}});break}case fe.SYNAPSE_EICITATION_STATUS.SUCCESS:{xe(Fe,{...qe||{},tool_id:Ee,disabled:!0,active:Rx(Je),messageId:le,component:Je,ui_input:fA,tool_result:mA,send_to_llm:!0});break}case fe.SYNAPSE_EICITATION_STATUS.FAILURE:{xe(Fe,{...qe||{},tool_id:Ee,active:!1,messageId:le,response_value:{label:de?.details?._meta?.disp_message||"Tool call failed"},tool_result:mA,disabled:!0});break}default:xe(Fe,{tool_id:Ee,disabled:!1,active:!1,messageId:le,tool_result:mA,ui_input:fA,component:Je})}Qe&&Oe(Qe);const xA=K?.data?.meta?.post_text;c(SA=>{let He=SA[SA.length-1]?.id===le?SA.length-1:SA.findIndex?.(zt=>zt.id===le);if(He==-1){const zt={id:le,content:K.data?.details?.input?.text||"",role:Lt.ASSISTANT,tool_keys:[Fe],isResponseFromTool:!0,isStored:!1,...xA?{postText:xA}:{}};return[...SA,zt]}else{const zt={...SA[He],isResponseFromTool:!0,tool_keys:[...new Set([...SA[He].tool_keys||[],Fe])],...xA?{postText:xA}:{}};SA[He]=zt,oe(j,le,zt)}return[...SA]});const Gt=K?.data?.details?._meta?.disp_message,En=ze.getState().elicitationState;if((!En[Fe]?.active||En[Fe]?.send_to_llm)&&(Gt||Object.keys(mA||{}).length))try{ct({message:Gt||"",tool_result:mA,toolCalled:!0,tool_key:Fe})}catch{}}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.DISCONNECTED,R=>{R?.reason!==fe.DisconnectionReason.CLIENT_CLOSED&&(m.current<2?(J(PA.NOT_CONNECTED),m.current=m.current+1,L(!0),Ae({title:"Something went wrong!",description:"Please try again."})):(J(PA.NOT_CONNECTED),Ae({title:"Something went wrong!",description:"Please start a new Chat."}),Z(!0)))}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.ERROR,R=>{switch(R?.data?.code){case fe.SYNAPSE_REALTIME_ERROR_CODES.SESSION_INACTIVE:Ae({title:"Session not found",description:"Please start a new session"}),Z(!0),N(BA.IDLE);return;case fe.SYNAPSE_REALTIME_ERROR_CODES.SESSION_TOKEN_MISMATCH:Ae({title:"Session not found",description:"Please start a new chat from onError callback"}),Z(!0),N(BA.IDLE);return;case fe.SYNAPSE_REALTIME_ERROR_CODES.INVALID_EVENT:return;case fe.SYNAPSE_REALTIME_ERROR_CODES.INVALID_CONTENT_TYPE:return;case fe.SYNAPSE_REALTIME_ERROR_CODES.PARSING_ERROR:if(m.current<1){m.current++,mr();return}Ae({title:"Error parsing request",description:"please try again"}),L(!0),N(BA.IDLE);return;case fe.SYNAPSE_REALTIME_ERROR_CODES.TIMEOUT:Ae({title:"Request timed out",description:"please try again"}),L(!0),N(BA.IDLE);return;case fe.SYNAPSE_REALTIME_ERROR_CODES.PROMPT_FETCH_ERROR:Ae({title:"Something went wrong",description:"please try again"}),L(!0),N(BA.IDLE);return;case fe.SYNAPSE_REALTIME_ERROR_CODES.INVALID_FILE_REQUEST:Ae({title:"Something went wrong",description:"please try again"}),L(!0),N(BA.IDLE);return;case fe.SYNAPSE_REALTIME_ERROR_CODES.SERVER_ERROR:Ae({title:"Something went wrong",description:"please try again"}),L(!0),N(BA.IDLE);return;default:Ae({title:"Something went wrong",description:"please try again"}),L(!0),N(BA.IDLE);return}}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.AUDIO_TRANSCRIPT,async R=>{const K=R;K?.data?.text&&(c(le=>[...le,{id:Date.now().toString(),content:K.data.text||"",role:Lt.USER,timestamp:vi(Date.now()),isStored:!0}]),N(BA.IDLE)),te(!1),ge(!1),T(null)}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.PROGRESS_MESSAGE,R=>{M.current=!0;const K=R;K.data?.text&&(ge(!1),T(K.data.text))}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.TOOL_START,R=>{M.current=!0;const K=R;if(K.data?.name&&K.messageId){const le=K.messageId;c(de=>{const Ee=de[de.length-1];if(Ee&&Ee.id===le&&Ee.role===Lt.ASSISTANT){const Fe=[...de];return Fe[Fe.length-1]={...Ee,toolCallStatus:`Calling tool: ${K.data.name}...`},j&&oe(j,le,{toolCallStatus:`Calling tool: ${K.data.name}...`}),Fe}return de})}}),b.current?.on(fe.SYNAPSE_REALTIME_EVENTS.TOOL_END,R=>{M.current=!0;const K=R;if(K.data?.name&&K.messageId){const le=K.messageId;c(de=>{const Ee=de[de.length-1];if(Ee&&Ee.id===le&&Ee.role===Lt.ASSISTANT){const Fe=[...de];return Fe[Fe.length-1]={...Ee,toolCallStatus:"Tool call completed."},j&&oe(j,le,{toolCallStatus:"Tool call completed."}),Fe}return de})}})},ct=async({message:R,files:K,audio:le,toolCalled:de,selectedComponent:Ee,resend:Fe,tool_declined:wA,tool_result:qe,tool_key:Je})=>{if(!nA()){L(!0),Ae({title:"Please try again."});return}const mA=ze.getState().elicitationState,Ye=Object.values(mA).some(fA=>fA.active);if(!(!de&&K&&K.length===0&&R?.trim()===""&&!le?.audio&&!Ee&&!Ye&&!qe&&!Object.keys(qe||{}).length)){if(K&&K.length>3){Ae({title:"Maximum 3 files are allowed to be sent at a time",description:"Please try again"});return}if(K&&K.length>0&&K.reduce((fA,Qe)=>fA+Qe.size,0)>10*1024*1024){Ae({title:"Total file size limit of 10MB exceeded",description:"Please reduce the size of the files or try again with less files"});return}if(K&&K.length>0&&K.length+ee>Xu){const fA=Xu-ee;Ae({title:`You can only upload up to ${Xu} files per session`,description:`${fA<=0?"Maximum file upload limit reached":`You have ${fA} file${fA===1?"":"s"} upload${fA===1?"":"s"} left`}`});return}else K&&K.length&&pe(ee+K.length);Ae(null),L(!1),nA()&&J(PA.CONNECTED);try{const fA=l.length==2&&w.length==2?w:null;let Qe=null;const lA=l.length-1,xA=lA>=0?l[lA]:null,Gt=xA?xA?.isResponseFromTool:null,SA=ze.getState().elicitationState,qA=Je||null,He=qA?SA[qA]:void 0,Br=He?.component===fe.SYNAPSE_COMPONENTS.DOCTOR_CARD||He?.component===fe.SYNAPSE_COMPONENTS.CARD?!!He&&!qe&&!!He.active:!!He?.active,sn=!!(K||[]).length||!!le?.audio||!!wA||!Br||!de;if(!sn&&Br&&qA&&He?.messageId){const GA=He.toolSelectionNames?.length?He.toolSelectionNames:He.required?.filter(CA=>!He.server_input?.[CA])??[],dt=GA.reduce((CA,Xe)=>{if(Ee){const QA=Ee[Xe];QA!==void 0&&(CA[Xe]=QA)}else GA.length===1&&(CA[Xe]=R);return CA},{}),$r=He.mcp_meta_fields?.reduce((CA,Xe)=>(GA.includes(Xe)?CA[Xe]=dt[Xe]:He.server_input?.[Xe]&&(CA[Xe]=He.server_input[Xe]),Fe&&!CA.is_resend&&(CA.is_resend=Fe),CA),{}),Rs=Object.keys(He.server_input||{})?.reduce((CA,Xe)=>{const QA=!Object.keys($r||{})?.includes(Xe),At=!!He.server_input?.[Xe];return(Fe?QA&&At:QA&&He.required?.includes(Xe)&&At)&&(CA[Xe]=He.server_input?.[Xe]),CA},{}),Ls=Fe?{}:(He.required||GA).reduce((CA,Xe)=>(Object.keys($r||{}).includes(Xe)||(dt[Xe]!==void 0?CA[Xe]=dt[Xe]:Ee&&Ee[Xe]!==void 0&&(CA[Xe]=Ee[Xe])),CA),{}),Pi={...Rs||{},...Ls,...Object.keys($r||{}).length&&{mcp_meta_fields:$r}};if(!Object.keys(Pi).length)return;await xe(qA,{...He,server_input:{...He.server_input||{},...Pi}});try{await ut(He.tool_id,He.messageId,Pi),Qe=!0}catch(CA){await b.current?.sendMessage({tool_result:{...He.tool_result,error:`Tool call failed: ${ar(CA)}`}}),xe(qA,{...He,active:!1,disabled:!0,response_value:{label:`Tool call failed: ${ar(CA)}`}})}}else{const GA=He?.active,dt=qe??He?.tool_result;await b.current?.sendMessage({message:R,files:K,audio:le,...fA&&{initial_prompts:fA},...wA||Gt&&!de||GA?{tool_id:He?.tool_id||""}:{},...dt&&{tool_result:dt}})}(R||K&&K.length>0||le?.audio)&&(c(GA=>{if(Qe)return GA;const dt=GA.length===0&&O?.text?[{id:"initial-bot-message",content:O.text,role:Lt.ASSISTANT,timestamp:vi(Date.now()),isStored:!1}]:[];return[...GA,...dt,{id:Date.now().toString(),content:R||"",files:K||[],audio:le,role:Lt.USER,timestamp:vi(Date.now()),isStored:!1}]}),Qe||ge(!0),Qe=null);const ln=ze.getState().elicitationState,zi=new Set;qA&&zi.add(qA),qA&&zi.add(qA),xA?.tool_keys?.forEach(GA=>zi.add(GA)),zi.forEach(GA=>{const dt=ln[GA];dt&&xe(GA,{...dt,...sn&&{active:!1,disabled:!0},...GA===qA?{response_value:{...dt?.response_value||{},label:R||""}}:{}})})}catch{}}},wn=R=>R.type.toLowerCase()&&!["application/pdf","image/jpeg","image/jpg","image/png"].includes(R.type)?(Ae({title:`File type not supported: ${R.name}`,description:"Only PDF, images (JPG, JPEG, PNG) are allowed."}),!1):R.size>3*1024*1024?(Ae({title:"File size limit of 3MB exceeded",description:"Please reduce the size of the file or try again with a smaller file"}),!1):!0,Cn=async()=>{if(!nA())throw new Error("Not connected to the server");try{await b.current?.startRecording({onChunks:async R=>{N(BA.PROCESSING),await ct({audio:R}),N(BA.TRANSCRIBING)},onError(R){N(BA.IDLE)}}),N(BA.LISTENING)}catch(R){throw N(BA.IDLE),R}},Ut=()=>{nA()&&b.current?.endRecording()},ut=async(R,K,le)=>{try{if(!nA())throw new Error("Not connected to the server");await b.current?.callTool(R,K,le)}catch(de){throw de}},yn=async()=>{rA(),await q(),await Pe(!0)},mr=async()=>{if(nA()){J(PA.CONNECTED);const R=u.current[u.current.length-1];if(R&&R.role===Lt.USER)try{b.current?.sendMessage({message:R.content,files:R.files||[],messageId:R.id,audio:R.audio})}catch{}}else if(J(PA.NOT_CONNECTED),m.current<2){m.current++;const{sessionId:R,sessionToken:K}=ze.getState();await eA(R,K)}else m.current===2?(m.current++,L(!0),Ae({title:"Trying to connect..."})):(Ae({title:"Something went wrong!",description:"Please start a new chat."}),Z(!0))};return{sendMessage:ct,startSession:Pe,incomingMessages:l,loading:f,endSession:OA,isReady:B,startRecording:Cn,stopRecording:Ut,handleRetry:mr,isValidFile:wn,handleStartNewConnection:yn,callTool:ut,handleInitialTaskClick:async R=>{if(!O?.suggestions?.length||!R)return;const K=O.suggestions.find(le=>le.value===R);if(!K||!K.response){await ct({message:R});return}c(le=>[...le,{id:Date.now().toString(),content:R,role:Lt.USER,timestamp:vi(Date.now()),isStored:!1}]),ge(!0),await Lx(1e3),ge(!1),c(le=>[...le,{id:Date.now().toString(),content:K.response||"Please try again",role:Lt.ASSISTANT,timestamp:vi(Date.now()),isStored:!1}]),v([{role:"user",text:R},{role:"assistant",text:K.response}])},handleToggleFeedback:async(R,K,le)=>{if(nA())try{await b.current?.sendFeedback(K,R,le)}catch{}},clearElicitationState:async(R,K)=>{const le=ze.getState().elicitationState,de=R?le[R]:void 0;try{await ct({message:K||"User aborted elicitation",tool_declined:!0,tool_result:de?.tool_result,tool_key:R})}catch{}finally{R&&de&&xe(R,{...de,active:!1,disabled:!0})}}}},KT=32,VT=100,GT=320;function zT(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function PT({messageCount:e,isStreaming:t,isFirstMessage:r,resolvedMode:i}){const s=x.useRef(null),l=x.useRef(null),[c,u]=x.useState(!1),f=x.useRef(null),h=x.useRef(!1),m=x.useRef("auto"),B=x.useRef(!0),C=x.useCallback(()=>s.current?.querySelector("[data-radix-scroll-area-viewport]")||null,[]),w=x.useCallback(U=>zT()?"auto":U,[]),v=x.useCallback(U=>{const Q=C();Q&&(Q.scrollTo({top:Q.scrollHeight,behavior:w(U)}),u(!1))},[C,w]),b=x.useCallback(U=>{h.current=!0,m.current=U,f.current===null&&(f.current=requestAnimationFrame(()=>{f.current=null,h.current&&(h.current=!1,v(m.current))}))},[v]);return x.useEffect(()=>()=>{f.current!==null&&(cancelAnimationFrame(f.current),f.current=null),h.current=!1},[]),x.useEffect(()=>{if(!e)return;b(t||r?"auto":"smooth")},[e,t,r,b]),x.useEffect(()=>{if(!e||!B.current)return;const U=setTimeout(()=>b("auto"),GT);return()=>clearTimeout(U)},[i,e,b]),x.useEffect(()=>{let U=!1,Q=null,I=null,M=0;const z=()=>{if(U)return;const j=C(),H=l.current?.parentElement;if(!j||!H){requestAnimationFrame(z);return}const k=()=>{const{scrollTop:ee,scrollHeight:V,clientHeight:se}=j;return V-ee-se<=KT};B.current=!0;let O=0;const $=()=>{if(O>0){O--;return}B.current=k()};j.addEventListener("scroll",$,{passive:!0}),I=()=>j.removeEventListener("scroll",$),Q=new ResizeObserver(()=>{if(!B.current)return;const ee=Date.now();ee-M<VT||(M=ee,O++,b("auto"))}),Q.observe(H)};return z(),()=>{U=!0,Q?.disconnect(),I?.()}},[C,b]),{scrollAreaRef:s,messagesEndRef:l,showScrollButton:c,scrollToBottom:v,scheduleScrollToBottom:b}}function YT({isOpen:e,agentId:t,config:r}){const{state:i,isMuted:s,connect:l,disconnect:c,reset:u,toggleMute:f}=NS(),h=()=>{i===fe.VOICE_AGENT_STATE.IDLE&&l()},m=i!==fe.VOICE_AGENT_STATE.IDLE,[B,C]=x.useState(""),[w,v]=x.useState(!1),b=ze(Qe=>Qe.setDisplayMode),[U,Q]=x.useState(r.displayMode==="full"?"full":"widget"),I=()=>Q(Qe=>Qe==="full"?"widget":"full"),z=d0()?"mobile":U,[j,F]=x.useState([]),H=x.useRef(!1),[k,O]=x.useState(!1),$=x.useRef(null),{setAgentId:ee,startNewConnection:V,showRetryButton:se,clearError:Ae,error:J,connectionStatus:L,recordingStatus:Z,isWaitingForResponse:te,isStreaming:ge,setError:T,sessionId:N,setContext:q,initialMessage:E,setInitialMessage:ne,setInitialDisplayMode:oe}=ze(),ue=ze(Qe=>Qe.elicitationState),{incomingMessages:pe,loading:Oe,sendMessage:xe,startSession:eA,isReady:Pe,startRecording:nA,stopRecording:OA,handleRetry:rA,isValidFile:VA,handleToggleFeedback:ct,clearElicitationState:wn}=jT({environment:r.environment,connectionType:r.connectionType,baseUrl:r.environment==="development"&&r.baseUrl?r.baseUrl:void 0,context:r?.context,...r?.auth&&{auth:r.auth}});x.useEffect(()=>{t&&($.current!==t&&(SS(t),QS(t),ee(t),(r.displayMode==="full"||r.displayMode==="widget")&&(b(r.displayMode),oe(r.displayMode)),r?.context&&Object.keys(r?.context||{}).length&&q(r.context),(r?.initialMessage?.text||r?.initialMessage?.suggestions?.length)&&ne(r.initialMessage),$.current=t),e&&Pe&&!H.current&&(H.current=!0,eA(!1)))},[e,Pe,t]),x.useEffect(()=>()=>{c()},[]);const Cn=pe.length>0,Ut=pe.length===1,ut=x.useMemo(()=>{const Qe=pe[pe.length-1],lA=Qe?.tool_keys?.[Qe.tool_keys.length-1];if(!lA)return null;const xA=ue[lA];return xA?.active?{...xA,tool_key:lA}:null},[pe,ue]),yn=x.useMemo(()=>{const Qe=r?.initialMessage;return!!Qe?.text||!!Qe?.suggestions?.length},[r?.initialMessage]),mr=x.useMemo(()=>yn&&pe?.length===0,[pe,yn]),Vi=x.useMemo(()=>ut?ut.component===fe.SYNAPSE_COMPONENTS.MOBILE||ut.component===fe.SYNAPSE_COMPONENTS.OTP||ut.component===fe.SYNAPSE_COMPONENTS.EMAIL:!1,[ut]),{scrollAreaRef:XA,messagesEndRef:Gi,showScrollButton:R,scrollToBottom:K}=PT({messageCount:pe.length,isStreaming:ge,isFirstMessage:Ut,resolvedMode:z}),le=L===fe.ConnectionStatus.CONNECTED,de=Oe||!le||te||ge,Ee=Oe||!le,Fe=x.useMemo(()=>Z===BA.IDLE?null:Z===BA.LISTENING?"Listening...":Z===BA.PROCESSING?"Processing...":Z===BA.TRANSCRIBING?"Transcribing...":null,[Z]),wA=Ee?"Connecting...":Fe&&Z!==BA.IDLE?Fe:te||ge?"Please wait for the response...":"Type a reply…",qe=async Qe=>{if(de)return;const lA=Qe?.message??B;(lA.trim()||w||k||Qe?.resend)&&(j.length>0?(await xe({files:j,message:lA.trim()}),F([]),O(!1)):lA.trim()?await xe({...Qe,message:lA.trim()}):Qe?.resend&&await xe(Qe),C(""),v(!1),O(!1))},Je=Qe=>{if(Qe&&Qe.length>0){const lA=Qe.filter(xA=>!!VA(xA));if(lA?.length+j.length>3){T({title:"You can only upload up to 3 files at a time",description:"Please remove some files and try again."});return}if(lA?.length>0&&lA.reduce((xA,Gt)=>xA+Gt.size,0)>10*1024*1024){T({title:`Total file size limit of ${XS} MB exceeded`,description:"Please reduce the size of the files or try again with less files"});return}if(lA?.length>0)Qe=lA;else return}F(lA=>(O((lA?.length??0)+(Qe?.length??0)>0),[...lA,...Qe]))},mA=Qe=>{F(lA=>{const xA=lA.filter((Gt,En)=>En!==Qe);return O(xA.length>0),xA})},Ye=async()=>{if(w)await OA(),v(!1);else{if(de)return;try{await nA(),v(!0)}catch{}}},fA={value:B,onChange:C,onSend:qe,onFileChange:Je,onRemoveFile:mA,onRecording:Ye,isRecording:w,hasAttachment:k,attachmentFiles:j,isDisabled:de,placeholder:wA,recordingStatus:Z,allowed:r.allowed,isVoiceAgentActive:m,handleVoiceMode:h};return{inputValue:B,setInputValue:C,isRecording:w,hasAttachment:k,attachmentFiles:j,showScrollButton:R,displayMode:U,setDisplayMode:Q,toggleDisplayMode:I,resolvedMode:z,currentDisplayMode:U,setCurrentDisplayMode:Q,scrollAreaRef:XA,messagesEndRef:Gi,startNewConnection:V,showRetryButton:se,clearError:Ae,error:J,connectionStatus:L,isStreaming:ge,sessionId:N,activeElicitation:ut,inConversation:Cn,isFirstMessage:Ut,isEmptyChat:mr,isAuthComponent:Vi,isConnected:le,isComposerDisabled:de,loading:Oe,initialMessage:E,incomingMessages:pe,sendMessage:xe,startSession:eA,handleToggleFeedback:ct,clearElicitationState:wn,handleRetry:rA,handleSendMessage:qe,handleFileChange:Je,handleRemoveFile:mA,handleRecording:Ye,scrollToBottom:K,chatComposerProps:fA,voiceAgentState:i,isMuted:s,isVoiceAgentActive:m,connectVoiceAgent:l,disconnectVoiceAgent:c,resetVoiceAgent:u,toggleMute:f,handleVoiceAgentClick:h}}const XT=x.lazy(()=>Promise.resolve().then(()=>P4)),kB=x.lazy(()=>Promise.resolve().then(()=>X4).then(e=>({default:e.ConnectionStatus})));function qT({isOpen:e,agentId:t,config:r}){const{toggleDisplayMode:i,resolvedMode:s,scrollAreaRef:l,messagesEndRef:c,showScrollButton:u,startNewConnection:f,showRetryButton:h,clearError:m,error:B,sessionId:C,activeElicitation:w,isAuthComponent:v,isConnected:b,loading:U,inConversation:Q,isFirstMessage:I,isEmptyChat:M,incomingMessages:z,sendMessage:j,startSession:F,handleToggleFeedback:H,clearElicitationState:k,handleRetry:O,scrollToBottom:$,chatComposerProps:ee,isComposerDisabled:V,voiceAgentState:se,isMuted:Ae,isVoiceAgentActive:J,disconnectVoiceAgent:L,resetVoiceAgent:Z,toggleMute:te}=YT({isOpen:e,agentId:t,config:r});return x.useEffect(()=>{z.length||$("auto")},[z.length,$]),g.jsx(GS,{enabled:!!r.resize,children:g.jsx(p0,{isOpen:e,onClose:r.onClose,showCloseButton:r.showCloseButton,title:r.title,showStartNewChatButton:f,titleImg:r.theme?.titleImg,tagline:r.theme?.tagline,iconUrl:r.iconUrl,onStartNewSession:()=>F(!0),sessionId:C,environment:r.environment,mode:s,onToggleDisplayMode:r.resize?i:void 0,theme:r.theme,hideWatermark:r.hideWatermark,isAuthComponent:v,activeElicitation:w,voiceAgentState:se,chatComposer:ee,fullScreenEmptyState:M?ge=>g.jsx(hQ,{title:r.title,description:r?.initialMessage?.text,suggestions:r?.initialMessage?.suggestions,onSendMessage:j,disabled:V,composer:ge.composer,composerFooter:ge.composerFooter,connectionBanner:g.jsx(kB,{onRetry:O,showRetryButton:h,startNewConnection:f,clearError:m,error:B,isConnected:b})}):void 0,children:J?g.jsx(fQ,{state:se,isMuted:Ae,onEndCall:L,onClose:Z,onToggleMute:te,agentName:r.title,iconUrl:r.iconUrl,textColor:r.theme?.textColor}):g.jsx(x.Suspense,{fallback:g.jsx(JT,{}),children:g.jsxs("div",{className:he("flex-1 flex flex-col min-h-0 overflow-hidden relative synapse-chat-window"),children:[g.jsxs("div",{className:"relative flex min-h-0 flex-1 flex-col overflow-hidden",children:[g.jsxs(Nm,{ref:l,className:"flex-1 min-h-0 [&>[data-radix-scroll-area-viewport]>div]:!flex [&>[data-radix-scroll-area-viewport]>div]:flex-col [&>[data-radix-scroll-area-viewport]>div]:min-h-full",children:[g.jsx("div",{className:"flex-1"}),g.jsxs("div",{className:he("transition-all duration-300 min-w-0 overflow-x-hidden",Q?"pt-4 px-4 space-y-3":"pt-4 px-4 space-y-4",s==="full"&&"max-w-2xl mx-auto w-full"),children:[I&&g.jsx("div",{className:"text-xs text-[var(--color-muted-foreground)] text-center mb-2",children:"Just now"}),!I&&g.jsx("div",{className:"text-xs text-[var(--color-muted-foreground)] text-center",children:new Date().toLocaleString("en-US",{weekday:"long",hour:"2-digit",minute:"2-digit",hour12:!0})}),g.jsx(HT,{messages:z,onSendMessage:j,iconUrl:r.iconUrl,onToggleFeedback:H,onClearElicitationState:k,isAuthComponent:v,isFullScreen:s==="full",initialMessage:r.initialMessage,disabled:!b||U}),g.jsx("div",{ref:c})]})]}),g.jsx(x.Suspense,{fallback:null,children:g.jsx(XT,{})})]}),u&&g.jsx("div",{className:"absolute bottom-[10px] left-1/2 transform -translate-x-1/2 z-10",children:g.jsx(Ie,{onClick:()=>$("smooth"),size:"icon",className:"h-10 w-10 rounded-full bg-surface/90 backdrop-blur-sm shadow-lg border border-border-subtle hover:bg-surface hover:shadow-xl transition-all duration-200",children:g.jsx(ts,{className:"w-5 h-5 text-text-primary"})})}),g.jsx(kB,{className:"mt-2",onRetry:O,showRetryButton:h,startNewConnection:f,clearError:m,error:B,isConnected:b})]})})})})}function JT(){return g.jsxs("div",{className:"flex-1 flex flex-col min-h-0 overflow-hidden bg-surface backdrop-blur-2xl animate-pulse",children:[g.jsxs("div",{className:"flex-1 p-6 space-y-4",children:[g.jsx("div",{className:"h-16 bg-surface/80 rounded-2xl border border-border-subtle/50"}),g.jsx("div",{className:"h-16 bg-surface/80 rounded-2xl border border-border-subtle/50"}),g.jsx("div",{className:"h-16 bg-surface/80 rounded-2xl border border-border-subtle/50"})]}),g.jsx("div",{className:"h-24 border-t border-border-subtle bg-surface/80"})]})}function Rf(e){if(e instanceof Error)return e;if(typeof e=="string")return new Error(e);try{return new Error(JSON.stringify(e))}catch{return new Error("Unknown error")}}class ZT extends x.Component{state={error:null};static getDerivedStateFromError(t){return{error:Rf(t)}}componentDidCatch(t,r){this.setState({componentStack:r?.componentStack})}render(){return this.state.error?g.jsx(e4,{error:this.state.error,componentStack:this.state.componentStack,title:this.props.title,titleImg:this.props.titleImg,iconUrl:this.props.iconUrl,onClose:this.props.onClose,showCloseButton:this.props.showCloseButton,environment:this.props.environment,displayMode:this.props.displayMode,theme:this.props.theme}):this.props.children}}function WT({error:e}){throw e}function $T(e){const[t,r]=x.useState(null);return x.useEffect(()=>{if(typeof window>"u")return;const i=l=>{!l?.error&&!l?.filename&&l?.message==="Script error."||(l?.error?r(Rf(l.error)):l?.message&&r(new Error(l.message)))},s=l=>{r(Rf(l.reason))};return window.addEventListener("error",i),window.addEventListener("unhandledrejection",s),()=>{window.removeEventListener("error",i),window.removeEventListener("unhandledrejection",s)}},[]),g.jsx(ZT,{...e,children:t?g.jsx(WT,{error:t}):e.children})}function e4({error:e,title:t,titleImg:r,iconUrl:i,onClose:s,showCloseButton:l,environment:c,displayMode:u,theme:f}){const h=()=>{typeof window<"u"&&window.location.reload()},m=t??"Medi Clinic",B=c??"production",C=x.useMemo(()=>f?.textColor==="white"?"text-white/60":"text-[var(--color-muted-foreground)]",[f?.textColor]);return g.jsx(p0,{isOpen:!0,onClose:s??(()=>{}),showCloseButton:l??!1,onStartNewSession:h,title:m,titleImg:r,iconUrl:i,environment:B,mode:u??"widget",theme:f,children:g.jsx("div",{className:"flex-1 min-h-0 overflow-hidden flex flex-col",children:g.jsx("div",{className:"flex-1 min-h-0 flex items-center justify-center p-6",children:g.jsxs("div",{className:"w-full max-w-[320px] text-center",children:[g.jsx("div",{className:"mx-auto mb-4 grid place-items-center",children:g.jsx("div",{className:"h-16 w-16 rounded-3xl bg-surface backdrop-blur border border-border-subtle grid place-items-center",children:g.jsx(wS,{className:"h-8 w-8",style:{color:f?.primary??"hsl(var(--primary))"}})})}),g.jsx("div",{className:"text-2xl font-semibold text-text-primary",children:"Uh-oh!"}),g.jsx("div",{className:["mt-2 text-sm",C].join(" "),children:"Something went wrong. Please try again."}),g.jsx("div",{className:["mt-4 rounded-2xl border border-border-subtle/60 bg-surface/60 backdrop-blur px-4 py-3","text-left text-[11px] leading-relaxed font-mono whitespace-pre-wrap break-words",C].join(" "),children:e?.message||String(e)}),g.jsx("div",{className:"mt-5 flex items-center justify-center gap-3",children:g.jsxs(Ie,{type:"button",onClick:h,className:"rounded-2xl",style:{backgroundColor:f?.primary??void 0},children:[g.jsx(mS,{className:"h-4 w-4 mr-2"}),"Retry"]})})]})})})})}function A4({agentId:e,config:t}){const[r,i]=x.useState(!1);x.useEffect(()=>{i(!0)},[]);const s=()=>{i(!1),t?.onClose?.()};return g.jsx($T,{title:t.title??"Medi Clinic",titleImg:t.theme?.titleImg,iconUrl:t.iconUrl??"https://cdn.eka.care/bot-icon.svg",onClose:s,showCloseButton:t.showCloseButton,environment:t.environment??"production",displayMode:t.displayMode,theme:t.theme,children:g.jsx(US,{children:g.jsx(qT,{isOpen:r,agentId:e,config:{...t,environment:t.environment??"production",onClose:s,title:t.title??"Medi Clinic",iconUrl:t.iconUrl??"https://cdn.eka.care/bot-icon.svg",theme:t.theme}})})})}const jB=(e,t,r)=>{const i=r||{},s=r1.createRoot(e);return s.render(g.jsx(x.StrictMode,{children:g.jsx(A4,{agentId:t,config:i})})),s};typeof window<"u"&&(window.renderMedAssist=jB);const Lf=x.forwardRef(({className:e,...t},r)=>g.jsx("textarea",{className:he("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...t}));Lf.displayName="Textarea";const gs=({className:e})=>g.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:g.jsx("path",{d:"M1.46875 0.09375L16.3125 6.9375C16.75 7.125 17 7.53125 17 8C17 8.46875 16.75 8.875 16.3125 9.0625L1.46875 15.9062C1.3125 15.9688 1.1875 16 1.03125 16C0.46875 16 0 15.5312 0 14.9688C0 14.8125 0.03125 14.6875 0.09375 14.5625L2.34375 9.5C2.5 9.15625 2.8125 8.9375 3.15625 8.90625L8.0625 8.46875C8.3125 8.46875 8.5 8.25 8.5 8C8.5 7.75 8.3125 7.5625 8.0625 7.53125L3.15625 7.09375C2.8125 7.0625 2.5 6.84375 2.34375 6.5L0.09375 1.4375C0.03125 1.3125 0 1.1875 0 1.03125C0 0.46875 0.46875 0 1.03125 0C1.1875 0 1.3125 0.03125 1.46875 0.09375Z",fill:"currentColor"})}),Df=x.forwardRef(({className:e,type:t,...r},i)=>{const s=e&&typeof e=="string"&&e.includes("placeholder:");return g.jsx("input",{type:t,className:he("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",!s&&"placeholder:text-muted-foreground",e),ref:i,...r})});Df.displayName="Input";const t4=()=>g.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},"aria-hidden":"true",children:[g.jsx("g",{clipPath:"url(#circleClip)",children:g.jsxs("g",{children:[g.jsx("path",{d:"M15.9766 0.0234375V5.31055H0.0234375V0.0234375H15.9766Z",fill:"#FF9933",stroke:"#1A1A1A","stroke-width":"0.046875"}),g.jsx("path",{d:"M15.9766 5.35779V10.642H0.0234375V5.35779H15.9766Z",fill:"white",stroke:"#1A1A1A","stroke-width":"0.046875"}),g.jsx("path",{d:"M0 10.6656H16V16H0V10.6656Z",fill:"#128807"}),g.jsx("path",{d:"M8.00101 10.1334C9.17921 10.1334 10.1343 9.17824 10.1343 8.00003C10.1343 6.82182 9.17921 5.8667 8.00101 5.8667C6.8228 5.8667 5.86768 6.82182 5.86768 8.00003C5.86768 9.17824 6.8228 10.1334 8.00101 10.1334Z",fill:"#000088"}),g.jsx("path",{d:"M8.00143 9.86663C9.03236 9.86663 9.8681 9.0309 9.8681 7.99997C9.8681 6.96904 9.03236 6.1333 8.00143 6.1333C6.9705 6.1333 6.13477 6.96904 6.13477 7.99997C6.13477 9.0309 6.9705 9.86663 8.00143 9.86663Z",fill:"white"}),g.jsx("path",{d:"M8.00126 8.37325C8.20745 8.37325 8.3746 8.20611 8.3746 7.99992C8.3746 7.79373 8.20745 7.62659 8.00126 7.62659C7.79508 7.62659 7.62793 7.79373 7.62793 7.99992C7.62793 8.20611 7.79508 8.37325 8.00126 8.37325Z",fill:"#000088"}),g.jsx("path",{d:"M9.84014 8.33936C9.8927 8.34628 9.94093 8.30928 9.94785 8.25671C9.95477 8.20415 9.91776 8.15593 9.8652 8.14901C9.81263 8.14208 9.76441 8.17909 9.75749 8.23165C9.75057 8.28422 9.78757 8.33244 9.84014 8.33936Z",fill:"#000088"}),g.jsx("path",{d:"M8.00199 9.86647L8.06599 8.74647L8.00199 8.21313L7.93799 8.74647L8.00199 9.86647Z",fill:"#000088"}),g.jsx("path",{d:"M9.69246 8.8036C9.74145 8.82389 9.7976 8.80063 9.81789 8.75165C9.83818 8.70266 9.81492 8.6465 9.76594 8.62622C9.71696 8.60593 9.6608 8.62919 9.64051 8.67817C9.62022 8.72715 9.64348 8.78331 9.69246 8.8036Z",fill:"#000088"}),g.jsx("path",{d:"M7.52209 9.80289L7.87379 8.73762L7.95 8.2059L7.75015 8.70449L7.52209 9.80289Z",fill:"#000088"}),g.jsx("path",{d:"M9.4251 9.21296C9.46716 9.24524 9.52743 9.2373 9.5597 9.19524C9.59198 9.15318 9.58405 9.09291 9.54198 9.06064C9.49992 9.02836 9.43966 9.0363 9.40738 9.07836C9.3751 9.12042 9.38304 9.18069 9.4251 9.21296Z",fill:"#000088"}),g.jsx("path",{d:"M7.06958 9.61654L7.68501 8.67859L7.89625 8.18471L7.57415 8.61459L7.06958 9.61654Z",fill:"#000088"}),g.jsx("path",{d:"M9.06041 9.53972C9.09269 9.58179 9.15295 9.58972 9.19502 9.55744C9.23708 9.52517 9.24501 9.4649 9.21274 9.42284C9.18046 9.38078 9.1202 9.37284 9.07814 9.40512C9.03607 9.4374 9.02814 9.49766 9.06041 9.53972Z",fill:"#000088"}),g.jsx("path",{d:"M6.68086 9.31981L7.51807 8.5731L7.84994 8.15072L7.42756 8.48259L6.68086 9.31981Z",fill:"#000088"}),g.jsx("path",{d:"M8.6284 9.76153C8.64869 9.81052 8.70484 9.83378 8.75383 9.81349C8.80281 9.7932 8.82607 9.73704 8.80578 9.68806C8.78549 9.63907 8.72933 9.61581 8.68035 9.6361C8.63137 9.65639 8.60811 9.71255 8.6284 9.76153Z",fill:"#000088"}),g.jsx("path",{d:"M6.38679 8.93324L7.38874 8.42867L7.81862 8.10657L7.32474 8.31781L6.38679 8.93324Z",fill:"#000088"}),g.jsx("path",{d:"M8.14737 9.86316C8.15429 9.91573 8.20251 9.95273 8.25508 9.94581C8.30764 9.93889 8.34465 9.89066 8.33773 9.8381C8.33081 9.78553 8.28258 9.74853 8.23002 9.75545C8.17745 9.76237 8.14045 9.81059 8.14737 9.86316Z",fill:"#000088"}),g.jsx("path",{d:"M6.19642 8.4829L7.29482 8.25484L7.79342 8.05498L7.2617 8.1312L6.19642 8.4829Z",fill:"#000088"}),g.jsx("path",{d:"M7.66381 9.83806C7.65689 9.89063 7.69389 9.93885 7.74646 9.94577C7.79903 9.95269 7.84725 9.91569 7.85417 9.86312C7.86109 9.81056 7.82409 9.76233 7.77152 9.75541C7.71895 9.74849 7.67073 9.7855 7.66381 9.83806Z",fill:"#000088"}),g.jsx("path",{d:"M6.13671 7.99991L7.25671 8.06391L7.79004 7.99991L7.25671 7.93591L6.13671 7.99991Z",fill:"#000088"}),g.jsx("path",{d:"M7.20092 9.68758C7.18063 9.73656 7.20389 9.79272 7.25287 9.81301C7.30185 9.8333 7.35801 9.81004 7.3783 9.76106C7.39859 9.71207 7.37533 9.65592 7.32635 9.63563C7.27736 9.61534 7.22121 9.6386 7.20092 9.68758Z",fill:"#000088"}),g.jsx("path",{d:"M6.20138 7.51684L7.26665 7.86854L7.79838 7.94475L7.29978 7.7449L6.20138 7.51684Z",fill:"#000088"}),g.jsx("path",{d:"M6.79363 9.42217C6.76135 9.46423 6.76929 9.5245 6.81135 9.55677C6.85341 9.58905 6.91368 9.58112 6.94595 9.53905C6.97823 9.49699 6.9703 9.43673 6.92823 9.40445C6.88617 9.37217 6.82591 9.38011 6.79363 9.42217Z",fill:"#000088"}),g.jsx("path",{d:"M6.39018 7.06677L7.32812 7.6822L7.822 7.89344L7.39212 7.57135L6.39018 7.06677Z",fill:"#000088"}),g.jsx("path",{d:"M6.46467 9.05968C6.42261 9.09196 6.41467 9.15222 6.44695 9.19428C6.47923 9.23635 6.53949 9.24428 6.58155 9.21201C6.62362 9.17973 6.63155 9.11947 6.59927 9.0774C6.567 9.03534 6.50673 9.02741 6.46467 9.05968Z",fill:"#000088"}),g.jsx("path",{d:"M6.68459 6.68013L7.43129 7.51734L7.85367 7.84921L7.5218 7.42683L6.68459 6.68013Z",fill:"#000088"}),g.jsx("path",{d:"M6.24115 8.6251C6.19217 8.64539 6.16891 8.70155 6.1892 8.75053C6.20949 8.79951 6.26564 8.82277 6.31463 8.80248C6.36361 8.7822 6.38687 8.72604 6.36658 8.67705C6.34629 8.62807 6.29014 8.60481 6.24115 8.6251Z",fill:"#000088"}),g.jsx("path",{d:"M7.06908 6.38338L7.57365 7.38532L7.89575 7.8152L7.68451 7.32132L7.06908 6.38338Z",fill:"#000088"}),g.jsx("path",{d:"M6.14294 8.14786C6.09038 8.15478 6.05338 8.203 6.0603 8.25557C6.06722 8.30813 6.11544 8.34513 6.168 8.33821C6.22057 8.33129 6.25757 8.28307 6.25065 8.2305C6.24373 8.17794 6.19551 8.14094 6.14294 8.14786Z",fill:"#000088"}),g.jsx("path",{d:"M7.52345 6.19703L7.75151 7.29543L7.95136 7.79403L7.87515 7.26231L7.52345 6.19703Z",fill:"#000088"}),g.jsx("path",{d:"M6.17061 7.66052C6.11804 7.6536 6.06982 7.6906 6.0629 7.74316C6.05598 7.79573 6.09298 7.84395 6.14554 7.85087C6.19811 7.85779 6.24633 7.82079 6.25325 7.76822C6.26017 7.71566 6.22317 7.66744 6.17061 7.66052Z",fill:"#000088"}),g.jsx("path",{d:"M8.00875 6.13341L7.94475 7.25341L8.00875 7.78674L8.07275 7.25341L8.00875 6.13341Z",fill:"#000088"}),g.jsx("path",{d:"M6.32316 7.19628C6.27418 7.17599 6.21802 7.19925 6.19773 7.24823C6.17744 7.29722 6.2007 7.35337 6.24969 7.37366C6.29867 7.39395 6.35483 7.37069 6.37512 7.32171C6.39541 7.27272 6.37215 7.21657 6.32316 7.19628Z",fill:"#000088"}),g.jsx("path",{d:"M8.49354 6.19699L8.14184 7.26226L8.06562 7.79398L8.26548 7.29539L8.49354 6.19699Z",fill:"#000088"}),g.jsx("path",{d:"M6.58174 6.78692C6.53967 6.75464 6.47941 6.76257 6.44713 6.80464C6.41486 6.8467 6.42279 6.90696 6.46485 6.93924C6.50692 6.97152 6.56718 6.96358 6.59946 6.92152C6.63173 6.87946 6.6238 6.81919 6.58174 6.78692Z",fill:"#000088"}),g.jsx("path",{d:"M8.93726 6.38334L8.32183 7.32129L8.11059 7.81517L8.43268 7.38529L8.93726 6.38334Z",fill:"#000088"}),g.jsx("path",{d:"M6.94642 6.46015C6.91415 6.41809 6.85388 6.41016 6.81182 6.44243C6.76976 6.47471 6.76182 6.53497 6.7941 6.57704C6.82637 6.6191 6.88664 6.62703 6.9287 6.59476C6.97076 6.56248 6.9787 6.50222 6.94642 6.46015Z",fill:"#000088"}),g.jsx("path",{d:"M9.32598 6.68007L8.48876 7.42678L8.15689 7.84915L8.57927 7.51729L9.32598 6.68007Z",fill:"#000088"}),g.jsx("path",{d:"M7.37649 6.23847C7.3562 6.18948 7.30004 6.16622 7.25106 6.18651C7.20207 6.2068 7.17881 6.26296 7.1991 6.31194C7.21939 6.36093 7.27555 6.38419 7.32453 6.3639C7.37352 6.34361 7.39678 6.28745 7.37649 6.23847Z",fill:"#000088"}),g.jsx("path",{d:"M9.61809 7.06676L8.61614 7.57133L8.18626 7.89343L8.68014 7.68219L9.61809 7.06676Z",fill:"#000088"}),g.jsx("path",{d:"M7.85751 6.13684C7.85059 6.08427 7.80237 6.04727 7.74981 6.05419C7.69724 6.06111 7.66024 6.10934 7.66716 6.1619C7.67408 6.21447 7.7223 6.25147 7.77487 6.24455C7.82743 6.23763 7.86443 6.18941 7.85751 6.13684Z",fill:"#000088"}),g.jsx("path",{d:"M9.80846 7.5171L8.71006 7.74516L8.21146 7.94502L8.74319 7.8688L9.80846 7.5171Z",fill:"#000088"}),g.jsx("path",{d:"M8.34302 6.16194C8.34994 6.10937 8.31294 6.06115 8.26038 6.05423C8.20781 6.04731 8.15959 6.08431 8.15267 6.13688C8.14575 6.18944 8.18275 6.23767 8.23532 6.24459C8.28788 6.25151 8.3361 6.2145 8.34302 6.16194Z",fill:"#000088"}),g.jsx("path",{d:"M9.87013 8.00009L8.75013 7.93609L8.2168 8.00009L8.75013 8.06409L9.87013 8.00009Z",fill:"#000088"}),g.jsx("path",{d:"M8.80592 6.31242C8.82621 6.26344 8.80295 6.20728 8.75396 6.18699C8.70498 6.1667 8.64882 6.18996 8.62853 6.23894C8.60824 6.28793 8.63151 6.34408 8.68049 6.36437C8.72947 6.38466 8.78563 6.3614 8.80592 6.31242Z",fill:"#000088"}),g.jsx("path",{d:"M9.80545 8.48316L8.74018 8.13146L8.20846 8.05525L8.70705 8.2551L9.80545 8.48316Z",fill:"#000088"}),g.jsx("path",{d:"M9.21614 6.57795C9.24841 6.53589 9.24048 6.47562 9.19842 6.44335C9.15635 6.41107 9.09609 6.41901 9.06381 6.46107C9.03154 6.50313 9.03947 6.5634 9.08153 6.59567C9.1236 6.62795 9.18386 6.62001 9.21614 6.57795Z",fill:"#000088"}),g.jsx("path",{d:"M9.61959 8.93335L8.68164 8.31792L8.18776 8.10668L8.61764 8.42878L9.61959 8.93335Z",fill:"#000088"}),g.jsx("path",{d:"M9.53875 6.94044C9.58081 6.90816 9.58874 6.8479 9.55647 6.80584C9.52419 6.76377 9.46393 6.75584 9.42186 6.78812C9.3798 6.82039 9.37187 6.88066 9.40414 6.92272C9.43642 6.96478 9.49668 6.97272 9.53875 6.94044Z",fill:"#000088"}),g.jsx("path",{d:"M9.31883 9.31999L8.57213 8.48278L8.14975 8.15091L8.48162 8.57329L9.31883 9.31999Z",fill:"#000088"}),g.jsx("path",{d:"M9.76715 7.37502C9.81613 7.35473 9.83939 7.29858 9.8191 7.24959C9.79881 7.20061 9.74266 7.17735 9.69367 7.19764C9.64469 7.21793 9.62143 7.27408 9.64172 7.32307C9.66201 7.37205 9.71816 7.39531 9.76715 7.37502Z",fill:"#000088"}),g.jsx("path",{d:"M8.93922 9.61662L8.43465 8.61468L8.11255 8.1848L8.3238 8.67868L8.93922 9.61662Z",fill:"#000088"}),g.jsx("path",{d:"M9.86682 7.85227C9.91939 7.84534 9.95639 7.79712 9.94947 7.74456C9.94255 7.69199 9.89433 7.65499 9.84176 7.66191C9.78919 7.66883 9.75219 7.71705 9.75911 7.76962C9.76603 7.82218 9.81426 7.85919 9.86682 7.85227Z",fill:"#000088"}),g.jsx("path",{d:"M8.48631 9.80309L8.25826 8.70469L8.0584 8.20609L8.13462 8.73782L8.48631 9.80309Z",fill:"#000088"})]})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"circleClip",children:g.jsx("circle",{cx:"8",cy:"8",r:"8"})})})]}),n4="+91";function r4(e){const t=e.replace(/\D/g,""),r=t.slice(0,5),i=t.slice(5,10);return i?`${r} ${i}`:r}function i4({value:e,onChange:t,onKeyDown:r,disabled:i,theme:s,isMobile:l,maxLength:c,isMobileValid:u,onSend:f}){return g.jsxs("div",{className:"px-2 pt-3 pb-2 space-y-2 w-full",children:[g.jsx("p",{className:"px-1 text-xs font-semibold tracking-wide text-foreground uppercase",children:"Enter your mobile number"}),g.jsxs("div",{className:"flex items-center gap-2 w-full",children:[g.jsxs("div",{className:he("inline-flex items-center gap-2 rounded-full px-3 shrink-0 py-2 min-h-[56px]",i&&"opacity-60",s?.textColor==="white"?"bg-white-100":"bg-black-100"),style:{fontSize:l?"16px":"14px"},children:[g.jsx(t4,{}),g.jsx("span",{className:"text-sm font-medium text-foreground",children:n4}),g.jsx(ts,{className:"h-4 w-4 text-muted-foreground","aria-hidden":!0})]}),g.jsxs("div",{className:he("flex items-center gap-1 rounded-full px-2 py-2 flex-1 min-w-0",i&&"opacity-60",s?.textColor==="white"?"bg-white-100":"bg-black-100"),children:[g.jsx(Df,{type:"tel",autoComplete:"tel-national",value:r4(e),onChange:t,onKeyDown:r,placeholder:"88888 88888",className:he("w-full h-full shadow-none border-0 outline-none focus-visible:ring-0 focus-visible:ring-offset-0","text-sm placeholder:text-muted-foreground/40 bg-transparent","disabled:cursor-not-allowed rounded-none break-words overflow-wrap-anywhere whitespace-pre-wrap","text-foreground px-3 py-2 pr-11 min-h-[40px]"),style:{fontSize:l?"16px":"14px"},maxLength:c?c+1:void 0,inputMode:"numeric",autoFocus:!i,disabled:i}),g.jsx(Ie,{type:"button",size:"icon",onClick:f,disabled:i||!u,variant:"ghost",className:`h-10 w-10 ${u?"bg-primary":"bg-none"} hover:bg-primary/90 rounded-full transition-all duration-200 shadow-lg hover:shadow-xl hover:scale-105 active:scale-95 shrink-0 disabled:opacity-50 disabled:pointer-events-none disabled:hover:scale-100`,title:u?"Submit mobile number":"Enter a valid mobile number","aria-label":u?"Submit mobile number":"Enter a valid mobile number",children:g.jsx(gs,{className:`w-4 h-4 ${u?"text-primary-foreground":"text-primary"}`})})]})]})]})}const a4=6,s4=30,l4=(e,t)=>e.disabled===t.disabled&&e.isMobile===t.isMobile&&e.validation?.pattern===t.validation?.pattern&&e.validation?.minLength===t.validation?.minLength&&e.validation?.maxLength===t.validation?.maxLength&&e.serverMessage===t.serverMessage&&e.theme?.textColor===t.theme?.textColor;function o4({disabled:e,isMobile:t,validation:r,onSubmit:i,onResendOtp:s,serverMessage:l}){const c=x.useRef([]),[u,f]=x.useState(0),[h,m]=x.useState(!1),B=x.useRef(!1),C=x.useRef(i),w=x.useRef(s),v=r?.maxLength??a4,b=x.useMemo(()=>new RegExp(r?.pattern??`^\\d{${v}}$`),[r?.pattern,v]);x.useEffect(()=>{C.current=i},[i]),x.useEffect(()=>{w.current=s},[s]),x.useEffect(()=>{if(!l)return;const V=l.toLowerCase();V.includes("otp")&&(V.includes("invalid")||V.includes("incorrect")||V.includes("wrong"))&&(B.current=!1,m(!1))},[l]);const U=x.useCallback(()=>c.current.map(V=>V?.value.replace(/\D/g,"").slice(-1)??""),[]),Q=x.useCallback(()=>{const V=U().join(""),se=V.length===v&&b.test(V);B.current!==se&&(B.current=se,m(se))},[v,b,U]),I=x.useCallback(V=>{V<v-1&&c.current[V+1]?.focus()},[v]),M=x.useCallback(V=>{V>0&&c.current[V-1]?.focus()},[]),z=x.useMemo(()=>Array.from({length:v},(V,se)=>se),[v]),j=x.useCallback(V=>{for(let Ae=0;Ae<v;Ae++){const J=c.current[Ae];J&&(J.value=V[Ae]??"")}Q();const se=Math.min(V.length,v-1);c.current[se]?.focus()},[Q,v]),F=x.useCallback((V,se)=>{const Ae=se.target.value.replace(/\D/g,"");if(Ae.length>1){j(Ae.slice(0,v));return}const J=Ae.slice(-1);se.target.value=J,Q(),J&&I(V)},[Q,j,I,v]),H=x.useCallback((V,se)=>{if(se.key==="Backspace"&&!c.current[V]?.value){M(V);return}if(se.key==="Enter"&&!se.shiftKey&&!e){se.preventDefault();const Ae=U().join("");if(Ae.length===v&&b.test(Ae))C.current(Ae);else{const L=U().findIndex(Z=>!Z);c.current[L===-1?0:L]?.focus()}}},[e,M,v,b,U]),k=x.useCallback(V=>{V.preventDefault();const se=V.clipboardData.getData("text").replace(/\D/g,"").slice(0,v);se&&j(se)},[j,v]),O=x.useCallback(()=>{if(e)return;const V=U().join("");V.length===v&&b.test(V)&&C.current(V)},[e,v,b,U]),$=x.useCallback(()=>{if(!(u>0||e)){for(const V of c.current)V&&(V.value="");B.current=!1,m(!1),c.current[0]?.focus(),w.current?.(),f(s4)}},[e,u]);x.useEffect(()=>{e||c.current[0]?.focus()},[e]),x.useEffect(()=>{if(h){u>0&&f(0);return}if(u<=0)return;const V=setTimeout(()=>f(se=>se-1),1e3);return()=>clearTimeout(V)},[h,u]);const ee=x.useMemo(()=>z.map(V=>g.jsx("input",{ref:se=>{c.current[V]=se},type:"text",inputMode:"numeric",maxLength:t&&V===0?v:1,onChange:se=>F(V,se),onKeyDown:se=>H(V,se),onPaste:k,disabled:e,tabIndex:0,style:{fontSize:t?"16px":"14px",backgroundColor:"var(--input-box-bg)"},className:he("h-10 w-10 rounded-full border text-center text-lg font-semibold text-foreground","border-border shadow-sm outline-none transition-colors","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-0 focus-visible:border-transparent","disabled:cursor-not-allowed disabled:opacity-50"),autoComplete:V===0?"one-time-code":"off","aria-label":`Digit ${V+1}`},V)),[e,z,F,H,k,t,v]);return g.jsx("div",{className:"px-4 pt-3 pb-2 space-y-3",children:g.jsxs("div",{className:"flex flex-col gap-3",children:[g.jsxs("div",{className:"flex items-center justify-between",children:[g.jsx("p",{className:"text-xs font-semibold tracking-wide text-foreground uppercase",children:"Please enter the OTP"}),!h&&g.jsxs("button",{type:"button",onClick:$,disabled:e||u>0,className:he("text-xs font-medium underline underline-offset-2","text-primary hover:opacity-90 disabled:opacity-50 disabled:no-underline disabled:cursor-not-allowed"),children:["Resend OTP",u>0?` (00:${String(u).padStart(2,"0")}s)`:""]})]}),g.jsxs("div",{className:"flex items-center w-full gap-2 justify-between",children:[g.jsx("div",{className:"flex items-center gap-2",children:ee}),g.jsx(Ie,{type:"button",size:"icon",onClick:O,disabled:e,variant:"ghost",className:`h-10 w-10 ${h?"bg-primary":"bg-none"} hover:bg-primary/90 rounded-full transition-all duration-200 shadow-lg hover:shadow-xl hover:scale-105 active:scale-95 shrink-0 disabled:opacity-50 disabled:pointer-events-none disabled:hover:scale-100`,title:h?"Submit OTP":"Enter the full OTP to submit","aria-label":h?"Submit OTP":"Enter the full OTP to submit",children:g.jsx(gs,{className:`w-4 h-4 ${h?"text-primary-foreground":"text-primary"}`})})]})]})})}const c4=x.memo(o4,l4);function u4({value:e,onChange:t,onKeyDown:r,placeholder:i,disabled:s,theme:l,isMobile:c,isEmailValid:u,onSend:f}){return g.jsxs("div",{className:"px-2 pt-3 pb-2 space-y-2 w-full",children:[g.jsx("p",{className:"px-1 text-xs font-semibold tracking-wide text-foreground uppercase",children:"Enter your email address"}),g.jsxs("div",{className:he("flex items-center gap-1 rounded-full px-2 py-2 w-full",s&&"opacity-60",l?.textColor==="white"?"bg-white-100":"bg-black-100"),children:[g.jsx(Df,{type:"email",autoComplete:"email",value:e,onChange:t,onKeyDown:r,placeholder:i??"username@example.com",className:he("w-full h-full shadow-none border-0 outline-none focus-visible:ring-0 focus-visible:ring-offset-0","text-sm placeholder:text-muted-foreground/40 bg-transparent","disabled:cursor-not-allowed rounded-none break-words overflow-wrap-anywhere whitespace-pre-wrap","text-foreground px-3 py-2 pr-11 min-h-[40px]"),style:{fontSize:c?"16px":"14px"},autoFocus:!s,disabled:s}),g.jsx(Ie,{type:"button",size:"icon",onClick:f,disabled:s||!u,variant:"ghost",className:`h-10 w-10 ${u?"bg-primary":"bg-none"} hover:bg-primary/90 rounded-full transition-all duration-200 shadow-lg hover:shadow-xl hover:scale-105 active:scale-95 shrink-0 disabled:opacity-50 disabled:pointer-events-none disabled:hover:scale-100`,title:u?"Submit email address":"Enter a valid email address","aria-label":u?"Submit email address":"Enter a valid email address",children:g.jsx(gs,{className:`w-4 h-4 ${u?"text-primary-foreground":"text-primary"}`})})]})]})}const KB=10,f4=10,d4=/^[6-9][0-9]{9}$/,h4=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function g4({elicitationEntry:e,value:t,onChange:r,isDisabled:i,theme:s,isMobile:l,onSend:c}){const{component:u,pattern:f,minLength:h,maxLength:m,description:B,disp_toast_msg:C,tool_key:w}=e??{},v=x.useMemo(()=>u===fe.SYNAPSE_COMPONENTS.MOBILE,[u]),b=x.useMemo(()=>u===fe.SYNAPSE_COMPONENTS.OTP,[u]),U=x.useMemo(()=>u===fe.SYNAPSE_COMPONENTS.EMAIL,[u]);if(!v&&!b&&!U)return null;const Q=C?.trim()??"",I=O=>{const $=O.target.value.replace(/\D/g,""),ee=m??KB;r($.slice(0,ee))},M=t.length===(h??f4)&&(f?new RegExp(f).test(t):d4.test(t)),z=f?new RegExp(f).test(t):h4.test(t),j=()=>{!z||i||c({toolCalled:!0,tool_key:w})},F=O=>{O.key==="Enter"&&(O.preventDefault(),j())},H=()=>{!M||i||c({toolCalled:!0,tool_key:w})},k=O=>{O.key==="Enter"&&(O.preventDefault(),H())};return g.jsxs(g.Fragment,{children:[v&&g.jsx(i4,{value:t,onChange:I,onSend:H,onKeyDown:k,placeholder:B??"Enter your mobile number",disabled:i,isMobileValid:M,theme:s,isMobile:l,maxLength:m??KB}),b&&g.jsx(c4,{disabled:i,isMobile:l,validation:{pattern:f,minLength:h,maxLength:m},onSubmit:O=>{c({message:O,toolCalled:!0,tool_key:w})},onResendOtp:()=>{c({toolCalled:!0,resend:!0,tool_key:w})},serverMessage:Q,theme:s}),U&&g.jsx(u4,{value:t,onChange:O=>r(O.target.value),onKeyDown:F,disabled:i,isEmailValid:z,theme:s,isMobile:l,placeholder:B,onSend:j})]})}const VB=({className:e})=>g.jsx("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:g.jsx("path",{d:"M6.875 0C7.375 0 7.75 0.40625 7.75 0.875V14.875C7.75 15.375 7.375 15.75 6.875 15.75C6.40625 15.75 6 15.375 6 14.875V0.875C6 0.40625 6.40625 0 6.875 0ZM12.875 2C13.375 2 13.75 2.40625 13.75 2.875V12.875C13.75 13.375 13.375 13.75 12.875 13.75C12.4062 13.75 12 13.375 12 12.875V2.875C12 2.40625 12.4062 2 12.875 2ZM3.875 3C4.375 3 4.75 3.40625 4.75 3.875V11.875C4.75 12.375 4.375 12.75 3.875 12.75C3.40625 12.75 3 12.375 3 11.875V3.875C3 3.40625 3.40625 3 3.875 3ZM9.875 4C10.375 4 10.75 4.40625 10.75 4.875V10.875C10.75 11.375 10.375 11.75 9.875 11.75C9.40625 11.75 9 11.375 9 10.875V4.875C9 4.40625 9.40625 4 9.875 4ZM0.875 6C1.375 6 1.75 6.40625 1.75 6.875V8.875C1.75 9.375 1.375 9.75 0.875 9.75C0.40625 9.75 0 9.375 0 8.875V6.875C0 6.40625 0.40625 6 0.875 6ZM15.875 6C16.375 6 16.75 6.40625 16.75 6.875V8.875C16.75 9.375 16.375 9.75 15.875 9.75C15.4062 9.75 15 9.375 15 8.875V6.875C15 6.40625 15.4062 6 15.875 6Z",fill:"currentColor"})});function p4({value:e,onChange:t,onSend:r,onFileChange:i,onRemoveFile:s,onRecording:l,isRecording:c,hasAttachment:u,attachmentFiles:f,isDisabled:h,placeholder:m,isMobile:B,recordingStatus:C,theme:w,allowed:v,showStartNewChatButton:b,onStartNewChat:U,isVoiceAgentActive:Q,handleVoiceMode:I,isAuthComponent:M,activeElicitationState:z,isFullScreen:j}){const F=x.useRef(null),H=x.useRef(null),k=e.trim().length>0||u,O=v===void 0||v.includes(fe.SYNAPSE_CONVERSATION.AUDIO),$=v===void 0||v.includes(fe.SYNAPSE_CONVERSATION.VOICE),ee=k||!O,V=k,se=v===void 0||v.includes(fe.SYNAPSE_CONVERSATION.FILE),Ae=(h||C!==BA.IDLE)&&!c,J=he("rounded-full transition-all duration-200 ",c?"bg-gradient-to-r from-rose-400 via-primary to-indigo-500 text-white ring-2 ring-white/60 animate-pulse shadow-[0_0_20px_rgba(139,92,246,0.45)]":Ae?"text-primary/50 cursor-not-allowed shadow-none":"text-foreground hover:bg-primary hover:text-primary-foreground"),L=N=>{const q=Array.from(N.target.files||[]);q.length>0&&i(q)},Z=()=>{h||F.current?.click()},te=N=>{N.key==="Enter"&&!N.shiftKey&&V&&!h&&(N.preventDefault(),r())},ge=N=>{N.style.height="auto",N.style.overflow="hidden";const q=N.scrollHeight,E=j?20:28,ne=120,oe=Math.max(E,Math.min(q,ne));N.style.height=oe+"px",q>ne?N.style.overflow="auto":N.style.overflow="hidden"},T=N=>{ge(N.currentTarget)};return x.useEffect(()=>{H.current&&ge(H.current)},[e]),x.useEffect(()=>{!h&&!B&&H.current?.focus()},[h]),b&&U?g.jsx("div",{className:"px-4 py-2 flex justify-unset",children:g.jsxs("button",{type:"button",onClick:U,className:he("px-6 py-3 bg-primary text-primary-foreground text-sm font-semibold rounded-lg transition-colors flex items-center justify-center gap-2 disabled:opacity-60 disabled:pointer-events-none w-full",!B&&"hover:bg-primary/90"),children:[g.jsx("span",{children:"Start new chat"}),g.jsx(Km,{className:"w-5 h-5","aria-hidden":!0})]})}):g.jsx(g.Fragment,{children:M?g.jsx(g4,{elicitationEntry:z,value:e,onChange:t,isDisabled:h,theme:w,isMobile:B,onSend:r}):j?g.jsx("div",{className:"mx-3 mb-3","data-name":"reply-box",children:g.jsxs("div",{className:"flex flex-col items-stretch w-full bg-elicitationBg",style:{border:"1px solid hsl(var(--primary) / 0.5)",borderRadius:24,padding:8},children:[u&&f.length>0&&g.jsx("div",{className:"mb-2 pb-2 border-b border-border-subtle",children:g.jsx(Of,{files:f,onRemoveFile:s,isPreview:!0})}),g.jsx("input",{ref:F,type:"file",multiple:!0,max:3,accept:"image/jpeg, image/png, image/jpg, application/pdf",className:"hidden",onChange:L,disabled:h,title:"Attach file","aria-label":"Attach file"}),g.jsx("div",{className:"flex items-center justify-between w-full",style:{padding:"12px 8px"},"data-name":"text-frame",children:g.jsx(Lf,{ref:H,onInput:T,placeholder:m,value:e,onChange:N=>t(N.target.value),rows:1,maxLength:1e3,autoFocus:!B,style:{wordBreak:"break-word",overflowWrap:"anywhere",minHeight:"20px",maxHeight:"120px",fontFamily:"Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",fontSize:14,lineHeight:"20px",fontWeight:400,padding:0},onKeyPress:te,title:"Enter your message","aria-label":"Enter your message",className:he("flex-1 min-w-0 shadow-none border-0 outline-none focus-visible:ring-0 focus-visible:ring-offset-0","bg-transparent disabled:cursor-not-allowed rounded-none break-words whitespace-pre-wrap","text-foreground resize-none placeholder:text-muted-foreground")})}),g.jsxs("div",{className:"flex items-center justify-between w-full","data-name":"cta-row",children:[g.jsx("div",{className:"flex items-start shrink-0","data-name":"input-left-cta",children:se&&C===BA.IDLE&&g.jsx(Ie,{type:"button",variant:"ghost",size:"icon",onClick:Z,disabled:h,className:he("rounded-full transition-all shrink-0 p-2 h-10 w-10",u?"bg-primary text-primary-foreground":"text-foreground",!B&&(u?"hover:bg-primary/15":"hover:bg-primary hover:text-primary-foreground")),title:"Attach file","aria-label":"Attach file",children:g.jsx(Vm,{className:"w-6 h-6",strokeWidth:1.5})})}),g.jsxs("div",{className:"flex gap-2 items-center shrink-0","data-name":"input-right-cta",children:[c?g.jsx(Ie,{type:"button",variant:"ghost",size:"icon",onClick:l,className:he("h-10 w-10 rounded-full bg-gradient-to-r from-red-400 to-rose-500 text-white shadow-lg transition-all duration-200 active:scale-95 shrink-0",!B&&"hover:from-red-500 hover:to-rose-600 hover:scale-105"),title:"Stop recording","aria-label":"Stop recording",children:g.jsx(Gm,{className:"w-4 h-4"})}):O&&g.jsx(Ie,{type:"button",variant:"ghost",size:"icon",onClick:l,disabled:Ae,className:he("h-10 w-10 shrink-0 p-2",J),title:"Start recording","aria-label":"Start recording",children:g.jsx(Lu,{className:"w-6 h-6",strokeWidth:1.5})}),ee&&!c?g.jsx(Ie,{type:"button",size:"icon",onClick:()=>r(),disabled:h||!V,variant:"ghost",className:he("h-10 w-10 rounded-full transition-all duration-200 shadow-lg shrink-0 p-2",V?"bg-primary hover:bg-primary/90 hover:shadow-xl hover:scale-105 active:scale-95":"bg-primary/40"),title:V?"Send message":"Type a message to send","aria-label":V?"Send message":"Type a message to send",children:g.jsx(gs,{className:"w-4 h-4 text-primary-foreground"})}):O&&$&&!c&&g.jsx(Ie,{type:"button",variant:"ghost",size:"icon",onClick:I,disabled:h||Q,className:"h-10 w-10 bg-primary text-primary-foreground hover:bg-primary/90 rounded-full transition-all duration-200 shadow-lg hover:shadow-xl hover:scale-105 active:scale-95 shrink-0 disabled:opacity-50 disabled:pointer-events-none disabled:hover:scale-100 p-2",title:"Enter voice mode","aria-label":"Enter voice mode",children:g.jsx(VB,{className:"w-4 h-4 text-primary-foreground"})})]})]})]})}):g.jsxs("div",{className:"px-3 pb-2 pt-1",children:[g.jsx("input",{ref:F,type:"file",multiple:!0,max:3,accept:"image/jpeg, image/png, image/jpg, application/pdf",className:"hidden",onChange:L,disabled:h,title:"Attach file","aria-label":"Attach file"}),g.jsxs("div",{className:"flex flex-col w-full bg-elicitationBg",style:{border:"1px solid hsl(var(--primary) / 0.3)",borderRadius:20,padding:"4px 8px"},children:[u&&f.length>0&&g.jsx("div",{className:"mb-2 pb-2 border-b border-border-subtle",children:g.jsx(Of,{files:f,onRemoveFile:s,isPreview:!0})}),g.jsx("div",{className:"px-2 pt-1 pb-0",children:g.jsx(Lf,{ref:H,onInput:T,placeholder:m,value:e,onChange:N=>t(N.target.value),rows:1,maxLength:1e3,autoFocus:!B,style:{wordBreak:"break-word",overflowWrap:"anywhere",minHeight:"28px",maxHeight:"120px",fontSize:"16px",lineHeight:"1.4"},onKeyPress:te,title:"Enter your message","aria-label":"Enter your message",className:he("w-full shadow-none border-0 outline-none focus-visible:ring-0 focus-visible:ring-offset-0","text-base placeholder:text-muted-foreground bg-transparent","disabled:cursor-not-allowed rounded-none break-words whitespace-pre-wrap text-foreground resize-none")})}),g.jsxs("div",{className:"flex items-center justify-between px-1",children:[g.jsx("div",{className:"flex items-center shrink-0",children:se&&C===BA.IDLE&&g.jsx(Ie,{type:"button",variant:"ghost",size:"icon",onClick:Z,disabled:h,className:he("h-10 w-10 rounded-full transition-all shrink-0",u?"bg-primary text-primary-foreground":"text-foreground",!B&&(u?"hover:bg-primary/15":"hover:bg-primary hover:text-primary-foreground")),title:"Attach file","aria-label":"Attach file",children:g.jsx(Vm,{className:"w-5 h-5",strokeWidth:1.5})})}),g.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[c?g.jsx(Ie,{type:"button",variant:"ghost",size:"icon",onClick:l,className:he("h-10 w-10 rounded-full bg-gradient-to-r from-red-400 to-rose-500 text-white shadow-lg transition-all duration-200 active:scale-95 shrink-0",!B&&"hover:from-red-500 hover:to-rose-600 hover:scale-105"),title:"Stop recording","aria-label":"Stop recording",children:g.jsx(Gm,{className:"w-4 h-4"})}):ee?g.jsx(Ie,{type:"button",size:"icon",onClick:()=>r(),disabled:h||!V,variant:"ghost",className:he("h-10 w-10 rounded-full transition-all duration-200 shadow-lg shrink-0",V?"bg-primary hover:bg-primary/90 hover:shadow-xl hover:scale-105 active:scale-95":"bg-primary/40"),title:V?"Send message":"Type a message to send","aria-label":V?"Send message":"Type a message to send",children:g.jsx(gs,{className:"w-4 h-4 text-primary-foreground"})}):O&&g.jsx(Ie,{type:"button",variant:"ghost",size:"icon",onClick:l,disabled:Ae,className:he("h-10 w-10 shrink-0",J),title:"Start recording","aria-label":"Start recording",children:g.jsx(Lu,{className:"w-5 h-5",strokeWidth:1.5})}),O&&$&&!c&&g.jsx(Ie,{type:"button",variant:"ghost",size:"icon",onClick:I,disabled:h||Q,className:"h-10 w-10 bg-primary text-primary-foreground hover:bg-primary/90 rounded-full transition-all duration-200 shadow-lg hover:shadow-xl hover:scale-105 active:scale-95 shrink-0 disabled:opacity-50 disabled:pointer-events-none disabled:hover:scale-100",title:"Enter voice mode","aria-label":"Enter voice mode",children:g.jsx(VB,{className:"w-4 h-4 text-primary-foreground"})})]})]})]})]})})}const m4=Object.freeze(Object.defineProperty({__proto__:null,default:p4},Symbol.toStringTag,{value:"Module"}));var B4=ep[" useInsertionEffect ".trim().toString()]||er;function w4({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){const[s,l,c]=C4({defaultProp:t,onChange:r}),u=e!==void 0,f=u?e:s;{const m=x.useRef(e!==void 0);x.useEffect(()=>{const B=m.current;if(B!==u){const C=B?"controlled":"uncontrolled",w=u?"controlled":"uncontrolled"}m.current=u},[u,i])}const h=x.useCallback(m=>{if(u){const B=y4(m)?m(e):m;B!==e&&c.current?.(B)}else l(m)},[u,e,l,c]);return[f,h]}function C4({defaultProp:e,onChange:t}){const[r,i]=x.useState(e),s=x.useRef(r),l=x.useRef(t);return B4(()=>{l.current=t},[t]),x.useEffect(()=>{s.current!==r&&(l.current?.(r),s.current=r)},[r,s]),[r,i,l]}function y4(e){return typeof e=="function"}function E4(e){const t=x.useRef({value:e,previous:e});return x.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function v4(e){const[t,r]=x.useState(void 0);return er(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const l=s[0];let c,u;if("borderBoxSize"in l){const f=l.borderBoxSize,h=Array.isArray(f)?f[0]:f;c=h.inlineSize,u=h.blockSize}else c=e.offsetWidth,u=e.offsetHeight;r({width:c,height:u})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else r(void 0)},[e]),t}var no="Checkbox",[b4]=lp(no),[x4,kf]=b4(no);function S4(e){const{__scopeCheckbox:t,checked:r,children:i,defaultChecked:s,disabled:l,form:c,name:u,onCheckedChange:f,required:h,value:m="on",internal_do_not_use_render:B}=e,[C,w]=w4({prop:r,defaultProp:s??!1,onChange:f,caller:no}),[v,b]=x.useState(null),[U,Q]=x.useState(null),I=x.useRef(!1),M=v?!!c||!!v.closest("form"):!0,z={checked:C,disabled:l,setChecked:w,control:v,setControl:b,name:u,form:c,value:m,hasConsumerStoppedPropagationRef:I,required:h,defaultChecked:sr(s)?!1:s,isFormControl:M,bubbleInput:U,setBubbleInput:Q};return g.jsx(x4,{scope:t,...z,children:Q4(B)?B(z):i})}var GB="CheckboxTrigger",zB=x.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...i},s)=>{const{control:l,value:c,disabled:u,checked:f,required:h,setControl:m,setChecked:B,hasConsumerStoppedPropagationRef:C,isFormControl:w,bubbleInput:v}=kf(GB,e),b=Qn(s,m),U=x.useRef(f);return x.useEffect(()=>{const Q=l?.form;if(Q){const I=()=>B(U.current);return Q.addEventListener("reset",I),()=>Q.removeEventListener("reset",I)}},[l,B]),g.jsx($n.button,{type:"button",role:"checkbox","aria-checked":sr(f)?"mixed":f,"aria-required":h,"data-state":JB(f),"data-disabled":u?"":void 0,disabled:u,value:c,...i,ref:b,onKeyDown:Un(t,Q=>{Q.key==="Enter"&&Q.preventDefault()}),onClick:Un(r,Q=>{B(I=>sr(I)?!0:!I),v&&w&&(C.current=Q.isPropagationStopped(),C.current||Q.stopPropagation())})})});zB.displayName=GB;var jf=x.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:i,checked:s,defaultChecked:l,required:c,disabled:u,value:f,onCheckedChange:h,form:m,...B}=e;return g.jsx(S4,{__scopeCheckbox:r,checked:s,defaultChecked:l,disabled:u,required:c,onCheckedChange:h,name:i,form:m,value:f,internal_do_not_use_render:({isFormControl:C})=>g.jsxs(g.Fragment,{children:[g.jsx(zB,{...B,ref:t,__scopeCheckbox:r}),C&&g.jsx(qB,{__scopeCheckbox:r})]})})});jf.displayName=no;var PB="CheckboxIndicator",YB=x.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:i,...s}=e,l=kf(PB,r);return g.jsx(Bi,{present:i||sr(l.checked)||l.checked===!0,children:g.jsx($n.span,{"data-state":JB(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:t,style:{pointerEvents:"none",...e.style}})})});YB.displayName=PB;var XB="CheckboxBubbleInput",qB=x.forwardRef(({__scopeCheckbox:e,...t},r)=>{const{control:i,hasConsumerStoppedPropagationRef:s,checked:l,defaultChecked:c,required:u,disabled:f,name:h,value:m,form:B,bubbleInput:C,setBubbleInput:w}=kf(XB,e),v=Qn(r,w),b=E4(l),U=v4(i);x.useEffect(()=>{const I=C;if(!I)return;const M=window.HTMLInputElement.prototype,j=Object.getOwnPropertyDescriptor(M,"checked").set,F=!s.current;if(b!==l&&j){const H=new Event("click",{bubbles:F});I.indeterminate=sr(l),j.call(I,sr(l)?!1:l),I.dispatchEvent(H)}},[C,b,l,s]);const Q=x.useRef(sr(l)?!1:l);return g.jsx($n.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??Q.current,required:u,disabled:f,name:h,value:m,form:B,...t,tabIndex:-1,ref:v,style:{...t.style,...U,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});qB.displayName=XB;function Q4(e){return typeof e=="function"}function sr(e){return e==="indeterminate"}function JB(e){return sr(e)?"indeterminate":e?"checked":"unchecked"}const Kf=x.forwardRef(({className:e,...t},r)=>g.jsx(jf,{ref:r,className:he("grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:g.jsx(YB,{className:he("grid place-content-center text-current"),children:g.jsx(Ru,{className:"h-4 w-4"})})}));Kf.displayName=jf.displayName;function U4({options:e,selectedValues:t,onSelectionChange:r,additionalOption:i,className:s,required:l=!0,maxSelections:c,disabled:u}){const f=i?{id:`extra-${i}`,label:i==="all_of_the_above"?"All of the above":"None of the above",value:i==="all_of_the_above"?"All of the above":"None of the above"}:null,h=b=>f?b.filter(U=>U!==f.value):b,m=b=>f?i==="none_of_the_above"?b?[f.value]:[]:i==="all_of_the_above"?b?[...e.map(U=>U.value),f.value]:h(t):b?[...t,f.value]:h(t):t,B=(b,U)=>{const Q=f?h(t):t;return U?c&&Q.length>=c?null:[...Q,b]:Q.filter(I=>I!==b)},C=b=>!(l&&b.length===0&&t.length===1),w=(b,U)=>{const I=f&&b===f.value?m(U):B(b,U);I!==null&&C(I)&&r(I)},v=f?t.filter(b=>b!==f.value).length:t.length;return e.length?g.jsxs("div",{className:he(s),children:[g.jsxs("div",{className:"space-y-3",children:[e.map(b=>{const U=u||c&&v>=c&&!t.includes(b.value);let Q=t.includes(b.value);return g.jsxs("div",{className:"flex items-center space-x-3",children:[g.jsx(Kf,{id:b.id,checked:Q,disabled:!!U,onCheckedChange:I=>w(b.value,!!I),className:"mt-0.5 border border-muted-foreground text-primary-foreground"}),g.jsx("label",{htmlFor:b.id,className:he("text-sm font-normal leading-4 cursor-pointer",U?"text-muted-foreground cursor-not-allowed":Q?"text-primary":"text-secondary-foreground"),children:b.label})]},b.id)}),f&&g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"border-t border-border-medium my-3"}),g.jsxs("div",{className:"flex items-center space-x-3",children:[g.jsx(Kf,{id:f.id,checked:t.includes(f.value),onCheckedChange:b=>w(f.value,b),className:"mt-0.5 border border-muted-foreground"}),g.jsx("label",{htmlFor:f.id,className:"text-sm font-medium leading-none cursor-pointer text-secondary-foreground",children:f.label})]})]})]}),c&&v>=c&&g.jsx("p",{className:"text-sm text-blue-600 mt-3",children:c===1?"You can select only 1 option":`Maximum ${c} selections allowed`})]}):null}const F4=Object.freeze(Object.defineProperty({__proto__:null,MultiSelectGroup:U4},Symbol.toStringTag,{value:"Module"})),ZB=12,T4=.76,N4=3;function WB({count:e,renderItem:t,className:r}){const[i,s]=x.useState(0),[l,c]=x.useState(0),[u,f]=x.useState(()=>Math.min(N4,e)),h=x.useRef(null),m=x.useRef(0),B=x.useRef(0);if(x.useEffect(()=>{f(U=>Math.max(U,Math.min(i+2,e)))},[i,e]),x.useLayoutEffect(()=>{const U=h.current;if(!U)return;c(U.clientWidth);const Q=new ResizeObserver(([I])=>c(I.contentRect.width));return Q.observe(U),()=>Q.disconnect()},[]),e===0)return null;const C=U=>s(Math.max(0,Math.min(e-1,U)));if(e===1)return g.jsx("div",{className:r??"mt-3",children:t(0,!0)});const w=l*T4,v=(l-w)/2,b=l>0?v-i*(w+ZB):0;return g.jsx("div",{ref:h,className:he("mt-3 w-full",r),children:l>0&&g.jsxs("div",{className:"relative w-full",children:[g.jsx("div",{className:"w-full overflow-hidden py-3",onTouchStart:U=>{m.current=U.touches[0].clientX,B.current=U.touches[0].clientY},onTouchEnd:U=>{const Q=U.changedTouches[0].clientX-m.current,I=U.changedTouches[0].clientY-B.current;Math.abs(Q)>Math.abs(I)&&Math.abs(Q)>50&&C(i+(Q<0?1:-1))},children:g.jsx("div",{className:"flex items-stretch",style:{transform:`translateX(${b}px)`,transition:"transform 400ms cubic-bezier(0.4, 0, 0.2, 1)",gap:`${ZB}px`},"aria-live":"polite",children:Array.from({length:u},(U,Q)=>{const I=Q===i;return g.jsx("div",{"aria-hidden":!I,style:{flex:`0 0 ${w}px`,position:"relative",opacity:I?1:.6,transform:I?"scale(1.05)":"scale(0.9)",zIndex:I?20:10,transition:"all 400ms cubic-bezier(0.4, 0, 0.2, 1)",borderRadius:12},children:t(Q,I)},Q)})})}),i>0&&g.jsx("button",{type:"button","aria-label":"Previous",onClick:()=>C(i-1),className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 h-10 w-10 p-2 flex items-center justify-center rounded-full bg-background/90 shadow-md border border-primary text-primary hover:bg-muted transition-colors",children:g.jsx(km,{size:18})}),i<e-1&&g.jsx("button",{type:"button","aria-label":"Next",onClick:()=>C(i+1),className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 h-10 w-10 p-2 flex items-center justify-center rounded-full bg-background/90 shadow-md border border-primary text-primary hover:bg-muted transition-colors",children:g.jsx(jm,{size:18})})]})})}const I4=Object.freeze(Object.defineProperty({__proto__:null,FocusCarousel:WB},Symbol.toStringTag,{value:"Module"}));function _4({value:e,onValueChange:t,placeholder:r="Select an option",className:i,triggerClassName:s,contentClassName:l,disabled:c=!1,options:u=[],size:f="default",icon:h}){const[m,B]=x.useState(!1),C=x.useRef(null),w=x.useRef(null),v=u.find(Q=>Q.value===e);x.useEffect(()=>{const Q=I=>{m&&I.key==="Escape"&&(B(!1),w.current?.focus())};return document.addEventListener("keydown",Q),()=>{document.removeEventListener("keydown",Q)}},[m]);const b=Q=>{t?.(Q),B(!1),w.current?.focus()},U=()=>{c||B(!m)};return g.jsxs("div",{className:he("relative w-full",i),children:[g.jsxs("button",{ref:w,type:"button",onClick:U,disabled:c,className:he('border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*="text-"])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-full items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 overflow-hidden',f==="default"?"min-h-9":"min-h-8",s),"aria-expanded":m,"aria-haspopup":"listbox",children:[h,g.jsx("span",{className:he("flex-1 text-left min-w-0 overflow-hidden break-words line-clamp-2",!v&&"text-muted-foreground"),children:v?v.label:r}),g.jsx(ts,{className:he("size-4 opacity-50 pointer-events-none shrink-0 transition-transform duration-200",m&&"rotate-180")})]}),m&&g.jsx("div",{ref:C,className:he("bg-surface text-foreground animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 relative z-50 max-h-[136px] min-w-[8rem] w-full overflow-x-hidden overflow-y-auto overscroll-contain rounded-md shadow-md mt-1",l),role:"listbox",children:g.jsx("div",{className:"p-1",children:u.length===0?g.jsx("div",{className:"px-3 py-2 text-sm text-muted-foreground text-center",children:"No options available"}):u.map(Q=>{const I=Q.value===e;return g.jsxs("div",{onClick:()=>b(Q.value),className:he("relative flex w-full cursor-pointer items-center gap-1 rounded-sm py-2.5 px-3 text-sm outline-none select-none transition-colors duration-150","hover:bg-accent hover:text-accent-foreground","focus-visible:bg-accent focus-visible:text-accent-foreground","active:bg-accent/80",I&&"bg-accent/50 text-foreground",c&&"pointer-events-none opacity-50 cursor-not-allowed"),role:"option","aria-selected":I,tabIndex:c?-1:0,onKeyDown:M=>{(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),c||b(Q.value))},children:[g.jsx("span",{className:"flex-1 text-left min-w-0 break-words line-clamp-2",children:Q.label}),I&&g.jsx("span",{className:"absolute right-3 flex size-4 items-center justify-center shrink-0 pointer-events-none",children:g.jsx(Ru,{className:"size-4 text-foreground"})})]},Q.value)})})})]})}function H4({doctor:e,doctorDetails:t,onSelect:r,disabled:i,isActive:s=!0}){const l=x.useMemo(()=>{if(t?.hospitals?.[0]?.hospital_id)return t?.hospitals?.[0]?.hospital_id},[t?.hospitals]),[c,u]=x.useState(l),[f,h]=x.useState(!1),[m,B]=x.useState(null),[C,w]=x.useState(null),[v,b]=x.useState(0),[U,Q]=x.useState(!1),[I,M]=x.useState(!1),[z,j]=x.useState(!1),[F,H]=x.useState(!1),[k,O]=x.useState(!1),$=x.useRef(!1),ee=x.useRef(null);x.useEffect(()=>{u(l)},[l]);const V=e.availability??[],se=x.useCallback(async()=>{if(!z&&(M(!0),!V.length&&r&&t)){j(!0);try{await r({...e,hospital_id:c})}finally{j(!1)}}},[I,z,r,t,V.length,c]),Ae=x.useCallback(E=>{t&&(u(E),B(null),w(null),b(0),$.current=!1,r?.({...e,hospital_id:E}))},[e,r,t]);x.useEffect(()=>{s||M(!1)},[s]),x.useEffect(()=>{if(!I||!V.length||$.current)return;$.current=!0;const E=e.preferred_date||V[0]?.date;E&&(B(oe=>oe??E),V.find(oe=>oe.date===E)?.slots?.length||r?.({...e,hospital_id:c,preferred_date:E}))},[V,I]);const J=x.useMemo(()=>V.find(E=>E.date===m)?.slots??[],[V,m]);x.useLayoutEffect(()=>{const E=ee.current;E&&(E.scrollTop=0,H(E.scrollHeight>E.clientHeight+2))},[m,J.length]);const L=x.useCallback(()=>{const E=ee.current;E&&H(E.scrollTop+E.clientHeight<E.scrollHeight-4)},[]),Z=()=>{ee.current?.scrollBy({top:120,behavior:"smooth"})},te=x.useMemo(()=>{if(!V.length)return[];const E=Math.min(v+3,V.length);return V.slice(v,E).map(ne=>{if(ne.date)return{...ne,...RT(ne.date)}})},[V,v]),ge=v>0,T=v<Math.max(0,(V||[]).length-3),N=x.useCallback(async E=>{B(E),w(null);const ne=V.find(oe=>oe.date===E);if(!(ne?.slots?.length||Array.isArray(ne?.slots)&&ne?.slots.length===0)){h(!0);try{await r?.({...e,hospital_id:c,preferred_date:E})}catch{}finally{h(!1)}}},[e,c,r,V]),q=()=>{if(!C||!m||U)return;Q(!0);const E=e.cta?.text;r?.({...e,hospital_id:c,preferred_date:m,preferred_slot_time:C},`${E||`I want to book an appointment with Dr. ${t?.name}`} on ${m} at ${C}.`,e.cta?.tool_result)};return t?g.jsxs(Tn,{className:"max-w-md h-full rounded-xl border border-black-200 dark:border-white-200 shadow-none p-0 bg-elicitationBg overflow-hidden",children:[g.jsxs(ju,{className:"flex flex-row items-center gap-3 bg-primary/[20%] rounded-t-xl p-2 border-b border-border-subtle overflow-hidden",children:[g.jsxs(Pu,{className:"h-12 w-12 ring-2 ring-primary/20 flex-shrink-0",children:[t.profile_pic&&g.jsx(o0,{src:t.profile_pic,alt:`${t.name} profile photo`,crossOrigin:"anonymous"}),g.jsx(Yu,{className:"bg-secondary text-primary",children:OT(t.name)})]}),g.jsxs("div",{className:"min-w-0",children:[g.jsxs("h3",{className:"font-bold text-slate-900 leading-tight",style:{fontSize:"0.95rem"},children:[g.jsx("span",{children:t.name}),t.profile_link&&g.jsx("a",{href:t.profile_link,target:"_blank",rel:"noreferrer","aria-label":"View profile",className:"inline-block align-middle ml-2 text-primary hover:text-primary/70 transition-colors",children:g.jsx(sS,{className:"h-3.5 w-3.5 inline","aria-hidden":!0})})]}),g.jsxs("p",{className:"mt-0.5 text-xs text-slate-600 line-clamp-1 hover:line-clamp-none hover:whitespace-normal cursor-help",title:`${t.specialty}${t.experience?` • ${t.experience}`:""}`,children:[t.specialty,t.experience&&g.jsxs(g.Fragment,{children:[" • ",t.experience]})]})]})]}),g.jsxs(Vl,{className:"px-3 py-2",children:[g.jsxs("div",{className:"grid gap-1 pb-2 border-b border-border-subtle",children:[t.timings&&g.jsxs("div",{className:"flex items-start gap-2 min-w-0",children:[g.jsx(tS,{className:"h-3.5 w-3.5 text-primary mt-0.5 flex-shrink-0","aria-hidden":!0}),g.jsx("span",{className:"text-text-secondary text-xs line-clamp-1 min-w-0",children:t.timings})]}),t.languages&&g.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[g.jsx(uS,{className:"h-3.5 w-3.5 text-primary flex-shrink-0","aria-hidden":!0}),g.jsx("span",{className:"text-text-secondary text-xs line-clamp-1 min-w-0",children:t.languages})]}),t.hospitals?.length>1&&c?g.jsx(_4,{options:t.hospitals.map(E=>({value:E.hospital_id,label:E.name||""})),placeholder:"Select Hospital",disabled:i,onValueChange:Ae,value:c,triggerClassName:"h-8 text-xs px-3 rounded-lg border-border text-primary font-medium",icon:g.jsx(kl,{className:"h-3.5 w-3.5 text-primary flex-shrink-0","aria-hidden":!0})}):g.jsxs("div",{className:"flex items-center gap-1.5 min-w-0",children:[g.jsx(kl,{className:"h-3.5 w-3.5 text-primary flex-shrink-0","aria-hidden":!0}),g.jsx("span",{className:"text-text-secondary text-xs line-clamp-1 min-w-0",children:t.hospitals?.[0]?.name||""})]}),t.info&&g.jsxs("div",{className:"flex items-start gap-2 min-w-0",children:[g.jsx(cS,{className:"h-3.5 w-3.5 text-primary flex-shrink-0","aria-hidden":!0}),g.jsxs("div",{className:"min-w-0 flex-1",children:[g.jsx("div",{className:he("text-text-secondary text-xs leading-snug prose prose-sm max-w-none prose-strong:font-semibold prose-p:my-0 break-words overflow-hidden",!k&&"line-clamp-1"),children:g.jsx(hs,{children:t.info})}),g.jsxs("button",{type:"button",onClick:()=>O(E=>!E),"aria-expanded":k,className:"mt-0.5 flex items-center gap-1 text-[11px] font-semibold text-primary hover:text-primary/80 transition-colors",children:[g.jsx(iS,{className:"h-3.5 w-3.5","aria-hidden":!0}),k?"View less":"View more"]})]})]})]}),I?z?g.jsx("p",{className:"pt-3 text-sm text-text-secondary text-center",children:"Loading..."}):V.length>0?g.jsxs("div",{className:"pt-3",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx(Ie,{type:"button",variant:"outline",size:"icon",onClick:()=>{b(E=>Math.max(0,E-3)),w(null)},disabled:i||!ge,"aria-label":"Previous 3 days",className:"h-8 w-8 flex-shrink-0 rounded-md border-primary/20 bg-surface text-primary hover:bg-surface-secondary disabled:opacity-50",children:g.jsx(km,{className:"h-4 w-4"})}),g.jsx("div",{className:"flex-1 grid grid-cols-3 gap-1 min-w-0",children:te.map((E,ne)=>{if(!E||!E.date)return null;const oe=m===E.date,ue=(E?.slots||[]).length>0;return g.jsxs(Ie,{type:"button",variant:"outline",onClick:()=>E.date&&N(E.date),disabled:i,"aria-current":oe?"date":void 0,className:he("flex flex-col items-center justify-center h-12 rounded-lg border-2 p-2 gap-0.5 min-w-0 transition-all",oe?"border-primary border-2 ring-2 ring-primary/20 bg-primary/[20%] shadow-sm hover:text-accent-foreground":ue?"border-primary/30 bg-elicitationBg hover:bg-primary/10 hover:text-accent-foreground hover:border-primary/40":"border-border bg-elicitationBg opacity-60 hover:bg-primary/10 hover:text-accent-foreground hover:border-primary/30"),children:[g.jsx("span",{className:he("text-[10px] tracking-wide w-full text-center font-medium"),children:E.weekday}),g.jsx("span",{className:he("text-xs font-bold w-full text-center"),children:E.dayNum})]},`${E.date}-${ne}`)})}),g.jsx(Ie,{type:"button",variant:"outline",size:"icon",onClick:()=>{b(E=>Math.min(Math.max(0,V.length-3),E+3)),w(null)},disabled:i||!T,"aria-label":"Next 3 days",className:"h-8 w-8 flex-shrink-0 rounded-md border-primary/20 bg-surface text-primary hover:bg-surface-secondary disabled:opacity-50",children:g.jsx(jm,{className:"h-4 w-4"})})]}),m&&g.jsx("div",{className:"mt-2",children:J.length>0?g.jsxs("div",{className:"relative",children:[g.jsx("div",{ref:ee,onScroll:L,className:"grid grid-cols-3 gap-2 overflow-y-auto overscroll-contain",style:{maxHeight:"108px"},children:J.map((E,ne)=>{if(!E)return null;const oe=C===E;return g.jsx(Ie,{type:"button",variant:"outline",onClick:()=>w(E),"aria-pressed":oe,disabled:i,className:he("h-9 rounded-lg px-2 text-xs font-medium transition-all",oe?"border-primary bg-primary/20 text-primary shadow-sm hover:bg-primary/10":"border-border bg-elicitationBg text-text-primary hover:bg-primary/10 hover:border-primary/30"),children:g.jsx("span",{children:E})},E||`slot-${ne}`)})}),F&&g.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-12 bg-gradient-to-t from-elicitationBg via-elicitationBg to-transparent pointer-events-none flex items-end justify-center pb-1",children:g.jsxs("button",{type:"button",onClick:Z,className:"pointer-events-auto flex items-center gap-1 text-xs font-semibold text-primary hover:text-primary/80 transition-colors",children:[g.jsx(ts,{className:"h-3.5 w-3.5","aria-hidden":!0}),"More slots"]})})]}):f?g.jsx("p",{className:"text-sm text-text-secondary px-1",children:"Fetching slots..."}):g.jsx("p",{className:"text-sm text-text-secondary px-1",children:"No slots available."})}),g.jsxs(Ie,{type:"button",onClick:q,disabled:!C||i||U,"aria-disabled":!C||U,className:`w-full h-10 gap-2 bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-60 shadow-sm font-semibold ${F?"":" mt-2"}`,children:[e.cta?.title||"Book appointment",g.jsx($x,{className:"h-4 w-4","aria-hidden":!0})]})]}):g.jsx("p",{className:"pt-3 text-sm text-text-secondary text-center",children:"No slots available."}):g.jsx("div",{className:"pt-3",children:g.jsxs(Ie,{type:"button",variant:"outline",onClick:se,disabled:i||z,className:"w-full h-8 gap-1.5 text-xs border-primary/40 text-primary hover:bg-primary/10 disabled:opacity-60 font-medium rounded-lg",children:[z?"Loading...":"Show available slots",g.jsx(ts,{className:"h-3.5 w-3.5","aria-hidden":!0})]})})]})]}):null}const M4=Object.freeze(Object.defineProperty({__proto__:null,DoctorCard:H4},Symbol.toStringTag,{value:"Module"})),O4={voucher:BS,pharmacy:Dm,hospital:Dm,map:fS,location_pin:kl,"location pin":kl,check:Ru,calendar:eS,rupee:oS,dollar:nS,euro:aS};function ro({name:e,className:t,size:r=16}){const i=e?.trim().toLowerCase().replace(/\s+/g,"_");if(!i)return null;const s=O4[i];if(s)return g.jsx(s,{className:t,size:r,"aria-hidden":!0})}function $B({card:e,onSelect:t,disabled:r=!1}){const{title:i,tags:s,icon:l,img:c,description:u,banner_text:f,items:h,primary_cta:m,secondary_cta:B}=e,C=v=>{if(!r&&(v.link&&window.open(v.link,"_blank","noopener,noreferrer"),v.text||v.title)){let b=!1;e?.primary_cta?.tool_result&&(b=!0),t?.({message:v.text||v.title,selectedCard:e?.title,selectedComponent:e,selected_id:e.card_id,...b?{tool_result:e.primary_cta?.tool_result}:{}})}},w=!!c;return g.jsxs(Tn,{className:"w-full h-full flex flex-col overflow-hidden rounded-xl border border-black-200 dark:border-white-200 bg-elicitationBg text-card-foreground shadow-none",children:[g.jsxs(ju,{className:`flex flex-row items-center justify-between gap-3 p-3 ${w?"bg-primary/[20%]":""}`,children:[g.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[i?g.jsx(qm,{className:"text-base font-bold leading-tight tracking-tight truncate",children:i}):null,s?g.jsx("p",{className:"mt-1 text-sm text-muted-foreground truncate",children:s}):null]}),w?g.jsx("div",{className:"shrink-0",children:g.jsx("img",{src:c,alt:i??"profile",className:"h-16 w-16 rounded-full object-cover border-2 border-background"})}):l?g.jsx("div",{className:"shrink-0 text-muted-foreground",children:g.jsx(ro,{name:l,size:24,className:"text-primary"})}):null]}),g.jsxs(Vl,{className:"flex-1 space-y-3 pt-3 overflow-hidden",children:[u?g.jsx("div",{className:"text-sm text-foreground leading-snug prose prose-sm max-w-none prose-strong:font-semibold prose-p:my-0 break-words",children:g.jsx(hs,{children:u})}):null,f?g.jsx("div",{className:"rounded-full px-4 py-2 text-center text-sm font-semibold bg-primary/15 text-primary truncate",children:f}):null,h?.length?g.jsx("div",{className:"flex flex-col gap-y-1",children:h.map((v,b)=>g.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-foreground min-w-0",children:[v.icon?g.jsx(ro,{name:v.icon,size:12,className:"shrink-0 text-muted-foreground"}):null,g.jsx("span",{className:"truncate",children:v.text})]},b))}):null]}),m?.title||B?.title?g.jsxs(Jm,{className:"flex justify-center flex-wrap gap-2 pt-0",children:[m&&g.jsxs(Ie,{type:"button",variant:"default",size:"sm",className:`gap-1.5 truncate ${B?"":"w-full"}`,disabled:r,onClick:()=>C(m),children:[m.icon?g.jsx(ro,{name:m.icon,size:14,className:"shrink-0"}):null,g.jsx("span",{className:"truncate",children:m.title})]}),B&&g.jsxs(Ie,{type:"button",variant:"outline",size:"sm",className:"gap-1.5 truncate",disabled:r,onClick:()=>C(B),children:[B.icon?g.jsx(ro,{name:B.icon,size:14,className:"shrink-0"}):null,g.jsx("span",{className:"truncate",children:B.title})]})]}):null]})}function R4({cards:e,onSelect:t,disabled:r=!1,className:i,orientation:s="vertical"}){const[l,c]=x.useState(!1),u=x.useRef(!1);if(!e?.length)return g.jsx("p",{className:"text-sm text-muted-foreground py-2",children:"No options available."});const f=async h=>{u.current||(u.current=!0,c(!0),await t?.(h))};return s!=="horizontal"?g.jsx("div",{className:i??"flex flex-col gap-3 mt-3",children:e.map((h,m)=>g.jsx($B,{card:h,onSelect:f,disabled:r||l},h.card_id||m))}):g.jsx(WB,{count:e.length,renderItem:h=>g.jsx($B,{card:e[h],onSelect:f,disabled:r||l})})}const L4=Object.freeze(Object.defineProperty({__proto__:null,CardList:R4},Symbol.toStringTag,{value:"Module"}));function ew(e){return e.toLowerCase().endsWith(".pdf")}function D4(e){const t=document?.createElement("a");t.href=e,t.download=e.split("/").pop()??"download.pdf",t.target="_blank",t.click(),document?.body?.removeChild(t)}async function k4(e){if(!e.current)return;const t=(await Promise.resolve().then(()=>ny)).default,r=await t(e.current,{useCORS:!0}),i=document.createElement("a");i.href=r.toDataURL("image/png"),i.download="card.png",i.click()}async function j4(e){if(!e.current)return;const t=(await Promise.resolve().then(()=>ny)).default,r=await t(e.current,{useCORS:!0}),i=document.createElement("a");i.href=r.toDataURL("image/png"),i.download=`screenshot-${Date.now()}.png`,i.click()}function K4({card:e}){const{title:t,description:r,tags_text:i,banner_text:s,action:l,link:c}=e,u=x.useRef(null),f=c&&!ew(c),h=()=>{l==="screenshot"?j4(u):l==="download"&&(c&&ew(c)?D4(c):k4(u))};return g.jsxs("div",{className:"flex flex-col gap-2",children:[g.jsx(Tn,{ref:u,className:"overflow-hidden rounded-xl border border-border bg-elicitationBg text-card-foreground shadow-sm",children:g.jsxs(Vl,{className:"p-3 space-y-2",children:[g.jsxs("div",{className:`flex items-start gap-3 ${f?"justify-between":"justify-center"}`,children:[g.jsxs("div",{className:`space-y-2 ${f?"min-w-0 flex-1":"flex flex-col items-center"}`,children:[t&&g.jsx("span",{className:"inline-block rounded-full px-3 py-1 text-sm font-semibold bg-primary text-primary-foreground",children:t}),r&&g.jsx("p",{className:`text-sm text-foreground leading-snug ${f?"":"text-center"}`,children:r}),s&&g.jsx("span",{className:"inline-block rounded-full px-3 py-1 text-xs font-semibold bg-green-600 text-white",children:s})]}),f&&g.jsx("div",{className:"shrink-0 h-24 w-24 rounded-lg overflow-hidden border border-border",children:g.jsx("img",{src:c,alt:t??"media",className:"h-full w-full object-cover"})})]}),i&&g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"border-t border-border"}),g.jsx("p",{className:"text-xs text-muted-foreground",children:i})]})]})}),l&&g.jsx("div",{className:"flex justify-end",children:g.jsxs(Ie,{type:"button",variant:"outline",size:"sm",className:"rounded-md px-5 gap-1.5",onClick:h,children:[l==="screenshot"?g.jsx(AS,{className:"h-4 w-4"}):g.jsx(rS,{className:"h-4 w-4"}),l==="screenshot"?"Screenshot":"Download"]})})]})}const V4=Object.freeze(Object.defineProperty({__proto__:null,MediaCard:K4},Symbol.toStringTag,{value:"Module"}));function G4({message:e,onDismiss:t}){return g.jsxs(g.Fragment,{children:[g.jsx("div",{className:"pointer-events-none absolute inset-0 z-[55] bg-black-600","aria-hidden":!0}),g.jsx("div",{className:"pointer-events-none absolute inset-x-3 top-3 z-[60]",role:"presentation",children:g.jsxs("div",{role:"alertdialog","aria-modal":"true","aria-labelledby":"synapse-disp-toast-msg",className:"pointer-events-auto flex w-full flex-row items-center gap-3 rounded-lg border border-border bg-surface p-3 text-left text-foreground opacity-100",onClick:r=>r.stopPropagation(),children:[g.jsx("p",{id:"synapse-disp-toast-msg",className:"min-w-0 flex-1 text-sm font-medium whitespace-pre-wrap",children:e}),g.jsx("button",{type:"button",onClick:t,className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-muted-foreground hover:bg-muted hover:text-foreground","aria-label":"Close",children:g.jsx(ns,{className:"h-4 w-4",strokeWidth:2.5})})]})})]})}function z4(){const e=ze(i=>i.toastMessage),t=ze(i=>i.setToastMessage),r=x.useCallback(()=>{t(null)},[t]);return x.useEffect(()=>{if(!e)return;const i=window.setTimeout(r,3e3);return()=>window.clearTimeout(i)},[e,r]),e?g.jsx(G4,{message:e,onDismiss:r}):null}const P4=Object.freeze(Object.defineProperty({__proto__:null,default:z4},Symbol.toStringTag,{value:"Module"}));function Y4({className:e="",onRetry:t,showRetryButton:r,startNewConnection:i,clearError:s,error:l,isConnected:c}){const{isOnline:u}=LB(),[f,h]=x.useState(!0);return x.useEffect(()=>{if(!i&&!r&&!!l){h(!0);const C=setTimeout(()=>h(!1),5e3);return()=>clearTimeout(C)}h(!0)},[l,i,r]),i?g.jsx("div",{className:he("flex flex-col items-center synapse-chat-widget-footer px-3 pt-3 pb-2 ",e),children:g.jsx("p",{className:"text-text-secondary text-sm max-w-sm mx-auto text-center w-250 mx-4 text-balance",children:"The conversation is now closed. Start a new session to continue."})}):r&&l?.title?g.jsx("div",{className:he("mx-4 mb-3 p-2 bg-surface border border-[#F7B500] rounded-lg",e),children:g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx("div",{className:"w-5 h-5 bg-[#F7B500] rounded-full flex items-center justify-center flex-shrink-0",children:g.jsx("span",{className:"text-primary-foreground text-sm font-bold",children:"!"})}),g.jsxs("div",{className:"flex-1",children:[g.jsx("div",{className:"text-text-primary font-semibold text-sm",children:l?.title}),g.jsx("div",{className:"text-text-secondary text-xs mt-1",children:l?.description??"Please check your connection and try again"})]}),g.jsxs("button",{onClick:()=>{s(),t?.()},className:"px-4 py-2 bg-primary text-primary-foreground text-sm font-semibold rounded-lg hover:bg-primary/90 transition-colors flex items-center gap-2 flex-shrink-0",children:[g.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:g.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),"Retry"]})]})}):c&&u&&!l?.title||!i&&!r&&!f||!c&&!l?.title?null:g.jsx("div",{className:he("mx-4 mb-3 p-2 bg-surface border border-border-subtle rounded-lg transition-opacity duration-500",e),children:g.jsxs("div",{className:"flex items-center gap-3",children:[g.jsx("div",{className:"w-5 h-5 bg-primary rounded-full flex items-center justify-center flex-shrink-0",children:g.jsx("span",{className:"text-primary-foreground text-sm font-bold",children:"!"})}),g.jsxs("div",{className:"flex-1",children:[g.jsx("div",{className:"text-text-primary font-semibold text-sm",children:u?l?.title:"No internet connection"}),g.jsx("div",{className:"text-text-secondary text-xs mt-1",children:u?l?.description??"Please wait while we try to connect":"Please check your internet connection"})]}),!u&&g.jsx("div",{className:"flex-shrink-0",children:g.jsx("div",{className:"w-6 h-6 border-2 border-primary border-t-transparent rounded-full animate-spin"})})]})})}const X4=Object.freeze(Object.defineProperty({__proto__:null,ConnectionStatus:Y4},Symbol.toStringTag,{value:"Module"}));var Vf=function(e,t){return Vf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},Vf(e,t)};function rn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Vf(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Gf=function(){return Gf=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(t[l]=r[l])}return t},Gf.apply(this,arguments)};function ft(e,t,r,i){function s(l){return l instanceof r?l:new r(function(c){c(l)})}return new(r||(r=Promise))(function(l,c){function u(m){try{h(i.next(m))}catch(B){c(B)}}function f(m){try{h(i.throw(m))}catch(B){c(B)}}function h(m){m.done?l(m.value):s(m.value).then(u,f)}h((i=i.apply(e,[])).next())})}function lt(e,t){var r={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,s,l,c;return c={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function u(h){return function(m){return f([h,m])}}function f(h){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,s&&(l=h[0]&2?s.return:h[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,h[1])).done)return l;switch(s=0,l&&(h=[h[0]&2,l.value]),h[0]){case 0:case 1:l=h;break;case 4:return r.label++,{value:h[1],done:!1};case 5:r.label++,s=h[1],h=[0];continue;case 7:h=r.ops.pop(),r.trys.pop();continue;default:if(l=r.trys,!(l=l.length>0&&l[l.length-1])&&(h[0]===6||h[0]===2)){r=0;continue}if(h[0]===3&&(!l||h[1]>l[0]&&h[1]<l[3])){r.label=h[1];break}if(h[0]===6&&r.label<l[1]){r.label=l[1],l=h;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(h);break}l[2]&&r.ops.pop(),r.trys.pop();continue}h=t.call(e,r)}catch(m){h=[6,m],s=0}finally{i=l=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}function S6(e,t,r){if(arguments.length===2)for(var i=0,s=t.length,l;i<s;i++)(l||!(i in t))&&(l||(l=Array.prototype.slice.call(t,0,i)),l[i]=t[i]);return e.concat(l||t)}for(var Nn=(function(){function e(t,r,i,s){this.left=t,this.top=r,this.width=i,this.height=s}return e.prototype.add=function(t,r,i,s){return new e(this.left+t,this.top+r,this.width+i,this.height+s)},e.fromClientRect=function(t,r){return new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height)},e.fromDOMRectList=function(t,r){var i=Array.from(r).find(function(s){return s.width!==0});return i?new e(i.left+t.windowBounds.left,i.top+t.windowBounds.top,i.width,i.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e})(),io=function(e,t){return Nn.fromClientRect(e,t.getBoundingClientRect())},q4=function(e){var t=e.body,r=e.documentElement;if(!t||!r)throw new Error("Unable to get document size");var i=Math.max(Math.max(t.scrollWidth,r.scrollWidth),Math.max(t.offsetWidth,r.offsetWidth),Math.max(t.clientWidth,r.clientWidth)),s=Math.max(Math.max(t.scrollHeight,r.scrollHeight),Math.max(t.offsetHeight,r.offsetHeight),Math.max(t.clientHeight,r.clientHeight));return new Nn(0,0,i,s)},ao=function(e){for(var t=[],r=0,i=e.length;r<i;){var s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<i){var l=e.charCodeAt(r++);(l&64512)===56320?t.push(((s&1023)<<10)+(l&1023)+65536):(t.push(s),r--)}else t.push(s)}return t},TA=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var i=[],s=-1,l="";++s<r;){var c=e[s];c<=65535?i.push(c):(c-=65536,i.push((c>>10)+55296,c%1024+56320)),(s+1===r||i.length>16384)&&(l+=String.fromCharCode.apply(String,i),i.length=0)}return l},Aw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",J4=typeof Uint8Array>"u"?[]:new Uint8Array(256),so=0;so<Aw.length;so++)J4[Aw.charCodeAt(so)]=so;for(var tw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ps=typeof Uint8Array>"u"?[]:new Uint8Array(256),lo=0;lo<tw.length;lo++)ps[tw.charCodeAt(lo)]=lo;for(var Z4=function(e){var t=e.length*.75,r=e.length,i,s=0,l,c,u,f;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var h=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),m=Array.isArray(h)?h:new Uint8Array(h);for(i=0;i<r;i+=4)l=ps[e.charCodeAt(i)],c=ps[e.charCodeAt(i+1)],u=ps[e.charCodeAt(i+2)],f=ps[e.charCodeAt(i+3)],m[s++]=l<<2|c>>4,m[s++]=(c&15)<<4|u>>2,m[s++]=(u&3)<<6|f&63;return h},W4=function(e){for(var t=e.length,r=[],i=0;i<t;i+=2)r.push(e[i+1]<<8|e[i]);return r},$4=function(e){for(var t=e.length,r=[],i=0;i<t;i+=4)r.push(e[i+3]<<24|e[i+2]<<16|e[i+1]<<8|e[i]);return r},Xr=5,zf=11,Pf=2,eN=zf-Xr,nw=65536>>Xr,AN=1<<Xr,Yf=AN-1,tN=1024>>Xr,nN=nw+tN,rN=nN,iN=32,aN=rN+iN,sN=65536>>zf,lN=1<<eN,oN=lN-1,rw=function(e,t,r){return e.slice?e.slice(t,r):new Uint16Array(Array.prototype.slice.call(e,t,r))},cN=function(e,t,r){return e.slice?e.slice(t,r):new Uint32Array(Array.prototype.slice.call(e,t,r))},uN=function(e,t){var r=Z4(e),i=Array.isArray(r)?$4(r):new Uint32Array(r),s=Array.isArray(r)?W4(r):new Uint16Array(r),l=24,c=rw(s,l/2,i[4]/2),u=i[5]===2?rw(s,(l+i[4])/2):cN(i,Math.ceil((l+i[4])/4));return new fN(i[0],i[1],i[2],i[3],c,u)},fN=(function(){function e(t,r,i,s,l,c){this.initialValue=t,this.errorValue=r,this.highStart=i,this.highValueIndex=s,this.index=l,this.data=c}return e.prototype.get=function(t){var r;if(t>=0){if(t<55296||t>56319&&t<=65535)return r=this.index[t>>Xr],r=(r<<Pf)+(t&Yf),this.data[r];if(t<=65535)return r=this.index[nw+(t-55296>>Xr)],r=(r<<Pf)+(t&Yf),this.data[r];if(t<this.highStart)return r=aN-sN+(t>>zf),r=this.index[r],r+=t>>Xr&oN,r=this.index[r],r=(r<<Pf)+(t&Yf),this.data[r];if(t<=1114111)return this.data[this.highValue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gAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHL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wh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHA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HUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglh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AAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHg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B4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAA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wBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwB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ACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQ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QAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB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AB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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cAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",aw=50,gN=1,sw=2,lw=3,pN=4,mN=5,ow=7,cw=8,uw=9,lr=10,Xf=11,fw=12,qf=13,BN=14,ms=15,Jf=16,co=17,Bs=18,wN=19,dw=20,Zf=21,ws=22,Wf=23,Ni=24,Qt=25,Cs=26,ys=27,Ii=28,CN=29,qr=30,yN=31,uo=32,fo=33,$f=34,ed=35,Ad=36,Es=37,td=38,ho=39,go=40,nd=41,hw=42,EN=43,vN=[9001,65288],gw="!",ke="×",po="÷",rd=uN(hN),In=[qr,Ad],id=[gN,sw,lw,mN],pw=[lr,cw],mw=[ys,Cs],bN=id.concat(pw),Bw=[td,ho,go,$f,ed],xN=[ms,qf],SN=function(e,t){t===void 0&&(t="strict");var r=[],i=[],s=[];return e.forEach(function(l,c){var u=rd.get(l);if(u>aw?(s.push(!0),u-=aw):s.push(!1),["normal","auto","loose"].indexOf(t)!==-1&&[8208,8211,12316,12448].indexOf(l)!==-1)return i.push(c),r.push(Jf);if(u===pN||u===Xf){if(c===0)return i.push(c),r.push(qr);var f=r[c-1];return bN.indexOf(f)===-1?(i.push(i[c-1]),r.push(f)):(i.push(c),r.push(qr))}if(i.push(c),u===yN)return r.push(t==="strict"?Zf:Es);if(u===hw||u===CN)return r.push(qr);if(u===EN)return l>=131072&&l<=196605||l>=196608&&l<=262141?r.push(Es):r.push(qr);r.push(u)}),[i,r,s]},ad=function(e,t,r,i){var s=i[r];if(Array.isArray(e)?e.indexOf(s)!==-1:e===s)for(var l=r;l<=i.length;){l++;var c=i[l];if(c===t)return!0;if(c!==lr)break}if(s===lr)for(var l=r;l>0;){l--;var u=i[l];if(Array.isArray(e)?e.indexOf(u)!==-1:e===u)for(var f=r;f<=i.length;){f++;var c=i[f];if(c===t)return!0;if(c!==lr)break}if(u!==lr)break}return!1},ww=function(e,t){for(var r=e;r>=0;){var i=t[r];if(i===lr)r--;else return i}return 0},QN=function(e,t,r,i,s){if(r[i]===0)return ke;var l=i-1;if(Array.isArray(s)&&s[l]===!0)return ke;var c=l-1,u=l+1,f=t[l],h=c>=0?t[c]:0,m=t[u];if(f===sw&&m===lw)return ke;if(id.indexOf(f)!==-1)return gw;if(id.indexOf(m)!==-1||pw.indexOf(m)!==-1)return ke;if(ww(l,t)===cw)return po;if(rd.get(e[l])===Xf||(f===uo||f===fo)&&rd.get(e[u])===Xf||f===ow||m===ow||f===uw||[lr,qf,ms].indexOf(f)===-1&&m===uw||[co,Bs,wN,Ni,Ii].indexOf(m)!==-1||ww(l,t)===ws||ad(Wf,ws,l,t)||ad([co,Bs],Zf,l,t)||ad(fw,fw,l,t))return ke;if(f===lr)return po;if(f===Wf||m===Wf)return ke;if(m===Jf||f===Jf)return po;if([qf,ms,Zf].indexOf(m)!==-1||f===BN||h===Ad&&xN.indexOf(f)!==-1||f===Ii&&m===Ad||m===dw||In.indexOf(m)!==-1&&f===Qt||In.indexOf(f)!==-1&&m===Qt||f===ys&&[Es,uo,fo].indexOf(m)!==-1||[Es,uo,fo].indexOf(f)!==-1&&m===Cs||In.indexOf(f)!==-1&&mw.indexOf(m)!==-1||mw.indexOf(f)!==-1&&In.indexOf(m)!==-1||[ys,Cs].indexOf(f)!==-1&&(m===Qt||[ws,ms].indexOf(m)!==-1&&t[u+1]===Qt)||[ws,ms].indexOf(f)!==-1&&m===Qt||f===Qt&&[Qt,Ii,Ni].indexOf(m)!==-1)return ke;if([Qt,Ii,Ni,co,Bs].indexOf(m)!==-1)for(var B=l;B>=0;){var C=t[B];if(C===Qt)return ke;if([Ii,Ni].indexOf(C)!==-1)B--;else break}if([ys,Cs].indexOf(m)!==-1)for(var B=[co,Bs].indexOf(f)!==-1?c:l;B>=0;){var C=t[B];if(C===Qt)return ke;if([Ii,Ni].indexOf(C)!==-1)B--;else break}if(td===f&&[td,ho,$f,ed].indexOf(m)!==-1||[ho,$f].indexOf(f)!==-1&&[ho,go].indexOf(m)!==-1||[go,ed].indexOf(f)!==-1&&m===go||Bw.indexOf(f)!==-1&&[dw,Cs].indexOf(m)!==-1||Bw.indexOf(m)!==-1&&f===ys||In.indexOf(f)!==-1&&In.indexOf(m)!==-1||f===Ni&&In.indexOf(m)!==-1||In.concat(Qt).indexOf(f)!==-1&&m===ws&&vN.indexOf(e[u])===-1||In.concat(Qt).indexOf(m)!==-1&&f===Bs)return ke;if(f===nd&&m===nd){for(var w=r[l],v=1;w>0&&(w--,t[w]===nd);)v++;if(v%2!==0)return ke}return f===uo&&m===fo?ke:po},UN=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var r=SN(e,t.lineBreak),i=r[0],s=r[1],l=r[2];(t.wordBreak==="break-all"||t.wordBreak==="break-word")&&(s=s.map(function(u){return[Qt,qr,hw].indexOf(u)!==-1?Es:u}));var c=t.wordBreak==="keep-all"?l.map(function(u,f){return u&&e[f]>=19968&&e[f]<=40959}):void 0;return[i,s,c]},FN=(function(){function e(t,r,i,s){this.codePoints=t,this.required=r===gw,this.start=i,this.end=s}return e.prototype.slice=function(){return TA.apply(void 0,this.codePoints.slice(this.start,this.end))},e})(),TN=function(e,t){var r=ao(e),i=UN(r,t),s=i[0],l=i[1],c=i[2],u=r.length,f=0,h=0;return{next:function(){if(h>=u)return{done:!0,value:null};for(var m=ke;h<u&&(m=QN(r,l,s,++h,c))===ke;);if(m!==ke||h===u){var B=new FN(r,m,f,h);return f=h,{value:B,done:!1}}return{done:!0,value:null}}}},NN=1,IN=2,vs=4,Cw=8,mo=10,yw=47,bs=92,_N=9,HN=32,Bo=34,xs=61,MN=35,ON=36,RN=37,wo=39,Co=40,Ss=41,LN=95,Bt=45,DN=33,kN=60,jN=62,KN=64,VN=91,GN=93,zN=61,PN=123,yo=63,YN=125,Ew=124,XN=126,qN=128,vw=65533,sd=42,Jr=43,JN=44,ZN=58,WN=59,Qs=46,$N=0,eI=8,AI=11,tI=14,nI=31,rI=127,pn=-1,bw=48,xw=97,Sw=101,iI=102,aI=117,sI=122,Qw=65,Uw=69,Fw=70,lI=85,oI=90,ot=function(e){return e>=bw&&e<=57},cI=function(e){return e>=55296&&e<=57343},_i=function(e){return ot(e)||e>=Qw&&e<=Fw||e>=xw&&e<=iI},uI=function(e){return e>=xw&&e<=sI},fI=function(e){return e>=Qw&&e<=oI},dI=function(e){return uI(e)||fI(e)},hI=function(e){return e>=qN},Eo=function(e){return e===mo||e===_N||e===HN},vo=function(e){return dI(e)||hI(e)||e===LN},Tw=function(e){return vo(e)||ot(e)||e===Bt},gI=function(e){return e>=$N&&e<=eI||e===AI||e>=tI&&e<=nI||e===rI},or=function(e,t){return e!==bs?!1:t!==mo},bo=function(e,t,r){return e===Bt?vo(t)||or(t,r):vo(e)?!0:!!(e===bs&&or(e,t))},ld=function(e,t,r){return e===Jr||e===Bt?ot(t)?!0:t===Qs&&ot(r):ot(e===Qs?t:e)},pI=function(e){var t=0,r=1;(e[t]===Jr||e[t]===Bt)&&(e[t]===Bt&&(r=-1),t++);for(var i=[];ot(e[t]);)i.push(e[t++]);var s=i.length?parseInt(TA.apply(void 0,i),10):0;e[t]===Qs&&t++;for(var l=[];ot(e[t]);)l.push(e[t++]);var c=l.length,u=c?parseInt(TA.apply(void 0,l),10):0;(e[t]===Uw||e[t]===Sw)&&t++;var f=1;(e[t]===Jr||e[t]===Bt)&&(e[t]===Bt&&(f=-1),t++);for(var h=[];ot(e[t]);)h.push(e[t++]);var m=h.length?parseInt(TA.apply(void 0,h),10):0;return r*(s+u*Math.pow(10,-c))*Math.pow(10,f*m)},mI={type:2},BI={type:3},wI={type:4},CI={type:13},yI={type:8},EI={type:21},vI={type:9},bI={type:10},xI={type:11},SI={type:12},QI={type:14},xo={type:23},UI={type:1},FI={type:25},TI={type:24},NI={type:26},II={type:27},_I={type:28},HI={type:29},MI={type:31},od={type:32},Nw=(function(){function e(){this._value=[]}return e.prototype.write=function(t){this._value=this._value.concat(ao(t))},e.prototype.read=function(){for(var t=[],r=this.consumeToken();r!==od;)t.push(r),r=this.consumeToken();return t},e.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case Bo:return this.consumeStringToken(Bo);case MN:var r=this.peekCodePoint(0),i=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Tw(r)||or(i,s)){var l=bo(r,i,s)?IN:NN,c=this.consumeName();return{type:5,value:c,flags:l}}break;case ON:if(this.peekCodePoint(0)===xs)return this.consumeCodePoint(),CI;break;case wo:return this.consumeStringToken(wo);case Co:return mI;case Ss:return BI;case sd:if(this.peekCodePoint(0)===xs)return this.consumeCodePoint(),QI;break;case Jr:if(ld(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case JN:return wI;case Bt:var u=t,f=this.peekCodePoint(0),h=this.peekCodePoint(1);if(ld(u,f,h))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(bo(u,f,h))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(f===Bt&&h===jN)return this.consumeCodePoint(),this.consumeCodePoint(),TI;break;case Qs:if(ld(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case yw:if(this.peekCodePoint(0)===sd)for(this.consumeCodePoint();;){var m=this.consumeCodePoint();if(m===sd&&(m=this.consumeCodePoint(),m===yw))return this.consumeToken();if(m===pn)return this.consumeToken()}break;case ZN:return NI;case WN:return II;case kN:if(this.peekCodePoint(0)===DN&&this.peekCodePoint(1)===Bt&&this.peekCodePoint(2)===Bt)return this.consumeCodePoint(),this.consumeCodePoint(),FI;break;case KN:var B=this.peekCodePoint(0),C=this.peekCodePoint(1),w=this.peekCodePoint(2);if(bo(B,C,w)){var c=this.consumeName();return{type:7,value:c}}break;case VN:return _I;case bs:if(or(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case GN:return HI;case zN:if(this.peekCodePoint(0)===xs)return this.consumeCodePoint(),yI;break;case PN:return xI;case YN:return SI;case aI:case lI:var v=this.peekCodePoint(0),b=this.peekCodePoint(1);return v===Jr&&(_i(b)||b===yo)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case Ew:if(this.peekCodePoint(0)===xs)return this.consumeCodePoint(),vI;if(this.peekCodePoint(0)===Ew)return this.consumeCodePoint(),EI;break;case XN:if(this.peekCodePoint(0)===xs)return this.consumeCodePoint(),bI;break;case pn:return od}return Eo(t)?(this.consumeWhiteSpace(),MI):ot(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):vo(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:TA(t)}},e.prototype.consumeCodePoint=function(){var t=this._value.shift();return typeof t>"u"?-1:t},e.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},e.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},e.prototype.consumeUnicodeRangeToken=function(){for(var t=[],r=this.consumeCodePoint();_i(r)&&t.length<6;)t.push(r),r=this.consumeCodePoint();for(var i=!1;r===yo&&t.length<6;)t.push(r),r=this.consumeCodePoint(),i=!0;if(i){var s=parseInt(TA.apply(void 0,t.map(function(f){return f===yo?bw:f})),16),l=parseInt(TA.apply(void 0,t.map(function(f){return f===yo?Fw:f})),16);return{type:30,start:s,end:l}}var c=parseInt(TA.apply(void 0,t),16);if(this.peekCodePoint(0)===Bt&&_i(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var u=[];_i(r)&&u.length<6;)u.push(r),r=this.consumeCodePoint();var l=parseInt(TA.apply(void 0,u),16);return{type:30,start:c,end:l}}else return{type:30,start:c,end:c}},e.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return t.toLowerCase()==="url"&&this.peekCodePoint(0)===Co?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Co?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},e.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===pn)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===wo||r===Bo){var i=this.consumeStringToken(this.consumeCodePoint());return i.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===pn||this.peekCodePoint(0)===Ss)?(this.consumeCodePoint(),{type:22,value:i.value}):(this.consumeBadUrlRemnants(),xo)}for(;;){var s=this.consumeCodePoint();if(s===pn||s===Ss)return{type:22,value:TA.apply(void 0,t)};if(Eo(s))return this.consumeWhiteSpace(),this.peekCodePoint(0)===pn||this.peekCodePoint(0)===Ss?(this.consumeCodePoint(),{type:22,value:TA.apply(void 0,t)}):(this.consumeBadUrlRemnants(),xo);if(s===Bo||s===wo||s===Co||gI(s))return this.consumeBadUrlRemnants(),xo;if(s===bs)if(or(s,this.peekCodePoint(0)))t.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),xo;else t.push(s)}},e.prototype.consumeWhiteSpace=function(){for(;Eo(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===Ss||t===pn)return;or(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(t){for(var r=5e4,i="";t>0;){var s=Math.min(r,t);i+=TA.apply(void 0,this._value.splice(0,s)),t-=s}return this._value.shift(),i},e.prototype.consumeStringToken=function(t){var r="",i=0;do{var s=this._value[i];if(s===pn||s===void 0||s===t)return r+=this.consumeStringSlice(i),{type:0,value:r};if(s===mo)return this._value.splice(0,i),UI;if(s===bs){var l=this._value[i+1];l!==pn&&l!==void 0&&(l===mo?(r+=this.consumeStringSlice(i),i=-1,this._value.shift()):or(s,l)&&(r+=this.consumeStringSlice(i),r+=TA(this.consumeEscapedCodePoint()),i=-1))}i++}while(!0)},e.prototype.consumeNumber=function(){var t=[],r=vs,i=this.peekCodePoint(0);for((i===Jr||i===Bt)&&t.push(this.consumeCodePoint());ot(this.peekCodePoint(0));)t.push(this.consumeCodePoint());i=this.peekCodePoint(0);var s=this.peekCodePoint(1);if(i===Qs&&ot(s))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),r=Cw;ot(this.peekCodePoint(0));)t.push(this.consumeCodePoint());i=this.peekCodePoint(0),s=this.peekCodePoint(1);var l=this.peekCodePoint(2);if((i===Uw||i===Sw)&&((s===Jr||s===Bt)&&ot(l)||ot(s)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),r=Cw;ot(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[pI(t),r]},e.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),r=t[0],i=t[1],s=this.peekCodePoint(0),l=this.peekCodePoint(1),c=this.peekCodePoint(2);if(bo(s,l,c)){var u=this.consumeName();return{type:15,number:r,flags:i,unit:u}}return s===RN?(this.consumeCodePoint(),{type:16,number:r,flags:i}):{type:17,number:r,flags:i}},e.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(_i(t)){for(var r=TA(t);_i(this.peekCodePoint(0))&&r.length<6;)r+=TA(this.consumeCodePoint());Eo(this.peekCodePoint(0))&&this.consumeCodePoint();var i=parseInt(r,16);return i===0||cI(i)||i>1114111?vw:i}return t===pn?vw:t},e.prototype.consumeName=function(){for(var t="";;){var r=this.consumeCodePoint();if(Tw(r))t+=TA(r);else if(or(r,this.peekCodePoint(0)))t+=TA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),t}},e})(),Iw=(function(){function e(t){this._tokens=t}return e.create=function(t){var r=new Nw;return r.write(t),new e(r.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===31;)t=this.consumeToken();if(t.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var r=this.consumeComponentValue();do t=this.consumeToken();while(t.type===31);if(t.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var t=[];;){var r=this.consumeComponentValue();if(r.type===32)return t;t.push(r),t.push()}},e.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},e.prototype.consumeSimpleBlock=function(t){for(var r={type:t,values:[]},i=this.consumeToken();;){if(i.type===32||RI(i,t))return r;this.reconsumeToken(i),r.values.push(this.consumeComponentValue()),i=this.consumeToken()}},e.prototype.consumeFunction=function(t){for(var r={name:t.value,values:[],type:18};;){var i=this.consumeToken();if(i.type===32||i.type===3)return r;this.reconsumeToken(i),r.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var t=this._tokens.shift();return typeof t>"u"?od:t},e.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},e})(),Us=function(e){return e.type===15},Hi=function(e){return e.type===17},sA=function(e){return e.type===20},OI=function(e){return e.type===0},cd=function(e,t){return sA(e)&&e.value===t},_w=function(e){return e.type!==31},Mi=function(e){return e.type!==31&&e.type!==4},mn=function(e){var t=[],r=[];return e.forEach(function(i){if(i.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");t.push(r),r=[];return}i.type!==31&&r.push(i)}),r.length&&t.push(r),t},RI=function(e,t){return t===11&&e.type===12||t===28&&e.type===29?!0:t===2&&e.type===3},cr=function(e){return e.type===17||e.type===15},MA=function(e){return e.type===16||cr(e)},Hw=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},$A={type:17,number:0,flags:vs},ud={type:16,number:50,flags:vs},ur={type:16,number:100,flags:vs},Fs=function(e,t,r){var i=e[0],s=e[1];return[pA(i,t),pA(typeof s<"u"?s:i,r)]},pA=function(e,t){if(e.type===16)return e.number/100*t;if(Us(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},Mw="deg",Ow="grad",Rw="rad",Lw="turn",So={name:"angle",parse:function(e,t){if(t.type===15)switch(t.unit){case Mw:return Math.PI*t.number/180;case Ow:return Math.PI/200*t.number;case Rw:return t.number;case Lw:return Math.PI*2*t.number}throw new Error("Unsupported angle type")}},Dw=function(e){return e.type===15&&(e.unit===Mw||e.unit===Ow||e.unit===Rw||e.unit===Lw)},kw=function(e){var t=e.filter(sA).map(function(r){return r.value}).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[$A,$A];case"to top":case"bottom":return kt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[$A,ur];case"to right":case"left":return kt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ur,ur];case"to bottom":case"top":return kt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ur,$A];case"to left":case"right":return kt(270)}return 0},kt=function(e){return Math.PI*e/180},fr={name:"color",parse:function(e,t){if(t.type===18){var r=LI[t.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return r(e,t.values)}if(t.type===5){if(t.value.length===3){var i=t.value.substring(0,1),s=t.value.substring(1,2),l=t.value.substring(2,3);return hr(parseInt(i+i,16),parseInt(s+s,16),parseInt(l+l,16),1)}if(t.value.length===4){var i=t.value.substring(0,1),s=t.value.substring(1,2),l=t.value.substring(2,3),c=t.value.substring(3,4);return hr(parseInt(i+i,16),parseInt(s+s,16),parseInt(l+l,16),parseInt(c+c,16)/255)}if(t.value.length===6){var i=t.value.substring(0,2),s=t.value.substring(2,4),l=t.value.substring(4,6);return hr(parseInt(i,16),parseInt(s,16),parseInt(l,16),1)}if(t.value.length===8){var i=t.value.substring(0,2),s=t.value.substring(2,4),l=t.value.substring(4,6),c=t.value.substring(6,8);return hr(parseInt(i,16),parseInt(s,16),parseInt(l,16),parseInt(c,16)/255)}}if(t.type===20){var u=_n[t.value.toUpperCase()];if(typeof u<"u")return u}return _n.TRANSPARENT}},dr=function(e){return(255&e)===0},YA=function(e){var t=255&e,r=255&e>>8,i=255&e>>16,s=255&e>>24;return t<255?"rgba("+s+","+i+","+r+","+t/255+")":"rgb("+s+","+i+","+r+")"},hr=function(e,t,r,i){return(e<<24|t<<16|r<<8|Math.round(i*255)<<0)>>>0},jw=function(e,t){if(e.type===17)return e.number;if(e.type===16){var r=t===3?1:255;return t===3?e.number/100*r:Math.round(e.number/100*r)}return 0},Kw=function(e,t){var r=t.filter(Mi);if(r.length===3){var i=r.map(jw),s=i[0],l=i[1],c=i[2];return hr(s,l,c,1)}if(r.length===4){var u=r.map(jw),s=u[0],l=u[1],c=u[2],f=u[3];return hr(s,l,c,f)}return 0};function fd(e,t,r){return r<0&&(r+=1),r>=1&&(r-=1),r<.16666666666666666?(t-e)*r*6+e:r<.5?t:r<.6666666666666666?(t-e)*6*(.6666666666666666-r)+e:e}var Vw=function(e,t){var r=t.filter(Mi),i=r[0],s=r[1],l=r[2],c=r[3],u=(i.type===17?kt(i.number):So.parse(e,i))/(Math.PI*2),f=MA(s)?s.number/100:0,h=MA(l)?l.number/100:0,m=typeof c<"u"&&MA(c)?pA(c,1):1;if(f===0)return hr(h*255,h*255,h*255,1);var B=h<=.5?h*(f+1):h+f-h*f,C=h*2-B,w=fd(C,B,u+1/3),v=fd(C,B,u),b=fd(C,B,u-1/3);return hr(w*255,v*255,b*255,m)},LI={hsl:Vw,hsla:Vw,rgb:Kw,rgba:Kw},Ts=function(e,t){return fr.parse(e,Iw.create(t).parseComponentValue())},_n={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},DI={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(r){if(sA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},kI={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Qo=function(e,t){var r=fr.parse(e,t[0]),i=t[1];return i&&MA(i)?{color:r,stop:i}:{color:r,stop:null}},Gw=function(e,t){var r=e[0],i=e[e.length-1];r.stop===null&&(r.stop=$A),i.stop===null&&(i.stop=ur);for(var s=[],l=0,c=0;c<e.length;c++){var u=e[c].stop;if(u!==null){var f=pA(u,t);f>l?s.push(f):s.push(l),l=f}else s.push(null)}for(var h=null,c=0;c<s.length;c++){var m=s[c];if(m===null)h===null&&(h=c);else if(h!==null){for(var B=c-h,C=s[h-1],w=(m-C)/(B+1),v=1;v<=B;v++)s[h+v-1]=w*v;h=null}}return e.map(function(b,U){var Q=b.color;return{color:Q,stop:Math.max(Math.min(1,s[U]/t),0)}})},jI=function(e,t,r){var i=t/2,s=r/2,l=pA(e[0],t)-i,c=s-pA(e[1],r);return(Math.atan2(c,l)+Math.PI*2)%(Math.PI*2)},KI=function(e,t,r){var i=typeof e=="number"?e:jI(e,t,r),s=Math.abs(t*Math.sin(i))+Math.abs(r*Math.cos(i)),l=t/2,c=r/2,u=s/2,f=Math.sin(i-Math.PI/2)*u,h=Math.cos(i-Math.PI/2)*u;return[s,l-h,l+h,c-f,c+f]},an=function(e,t){return Math.sqrt(e*e+t*t)},zw=function(e,t,r,i,s){var l=[[0,0],[0,t],[e,0],[e,t]];return l.reduce(function(c,u){var f=u[0],h=u[1],m=an(r-f,i-h);return(s?m<c.optimumDistance:m>c.optimumDistance)?{optimumCorner:u,optimumDistance:m}:c},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner},VI=function(e,t,r,i,s){var l=0,c=0;switch(e.size){case 0:e.shape===0?l=c=Math.min(Math.abs(t),Math.abs(t-i),Math.abs(r),Math.abs(r-s)):e.shape===1&&(l=Math.min(Math.abs(t),Math.abs(t-i)),c=Math.min(Math.abs(r),Math.abs(r-s)));break;case 2:if(e.shape===0)l=c=Math.min(an(t,r),an(t,r-s),an(t-i,r),an(t-i,r-s));else if(e.shape===1){var u=Math.min(Math.abs(r),Math.abs(r-s))/Math.min(Math.abs(t),Math.abs(t-i)),f=zw(i,s,t,r,!0),h=f[0],m=f[1];l=an(h-t,(m-r)/u),c=u*l}break;case 1:e.shape===0?l=c=Math.max(Math.abs(t),Math.abs(t-i),Math.abs(r),Math.abs(r-s)):e.shape===1&&(l=Math.max(Math.abs(t),Math.abs(t-i)),c=Math.max(Math.abs(r),Math.abs(r-s)));break;case 3:if(e.shape===0)l=c=Math.max(an(t,r),an(t,r-s),an(t-i,r),an(t-i,r-s));else if(e.shape===1){var u=Math.max(Math.abs(r),Math.abs(r-s))/Math.max(Math.abs(t),Math.abs(t-i)),B=zw(i,s,t,r,!1),h=B[0],m=B[1];l=an(h-t,(m-r)/u),c=u*l}break}return Array.isArray(e.size)&&(l=pA(e.size[0],i),c=e.size.length===2?pA(e.size[1],s):l),[l,c]},GI=function(e,t){var r=kt(180),i=[];return mn(t).forEach(function(s,l){if(l===0){var c=s[0];if(c.type===20&&c.value==="to"){r=kw(s);return}else if(Dw(c)){r=So.parse(e,c);return}}var u=Qo(e,s);i.push(u)}),{angle:r,stops:i,type:1}},Uo=function(e,t){var r=kt(180),i=[];return mn(t).forEach(function(s,l){if(l===0){var c=s[0];if(c.type===20&&["top","left","right","bottom"].indexOf(c.value)!==-1){r=kw(s);return}else if(Dw(c)){r=(So.parse(e,c)+kt(270))%kt(360);return}}var u=Qo(e,s);i.push(u)}),{angle:r,stops:i,type:1}},zI=function(e,t){var r=kt(180),i=[],s=1,l=0,c=3,u=[];return mn(t).forEach(function(f,h){var m=f[0];if(h===0){if(sA(m)&&m.value==="linear"){s=1;return}else if(sA(m)&&m.value==="radial"){s=2;return}}if(m.type===18){if(m.name==="from"){var B=fr.parse(e,m.values[0]);i.push({stop:$A,color:B})}else if(m.name==="to"){var B=fr.parse(e,m.values[0]);i.push({stop:ur,color:B})}else if(m.name==="color-stop"){var C=m.values.filter(Mi);if(C.length===2){var B=fr.parse(e,C[1]),w=C[0];Hi(w)&&i.push({stop:{type:16,number:w.number*100,flags:w.flags},color:B})}}}}),s===1?{angle:(r+kt(180))%kt(360),stops:i,type:s}:{size:c,shape:l,stops:i,position:u,type:s}},Pw="closest-side",Yw="farthest-side",Xw="closest-corner",qw="farthest-corner",Jw="circle",Zw="ellipse",Ww="cover",$w="contain",PI=function(e,t){var r=0,i=3,s=[],l=[];return mn(t).forEach(function(c,u){var f=!0;if(u===0){var h=!1;f=c.reduce(function(B,C){if(h)if(sA(C))switch(C.value){case"center":return l.push(ud),B;case"top":case"left":return l.push($A),B;case"right":case"bottom":return l.push(ur),B}else(MA(C)||cr(C))&&l.push(C);else if(sA(C))switch(C.value){case Jw:return r=0,!1;case Zw:return r=1,!1;case"at":return h=!0,!1;case Pw:return i=0,!1;case Ww:case Yw:return i=1,!1;case $w:case Xw:return i=2,!1;case qw:return i=3,!1}else if(cr(C)||MA(C))return Array.isArray(i)||(i=[]),i.push(C),!1;return B},f)}if(f){var m=Qo(e,c);s.push(m)}}),{size:i,shape:r,stops:s,position:l,type:2}},Fo=function(e,t){var r=0,i=3,s=[],l=[];return mn(t).forEach(function(c,u){var f=!0;if(u===0?f=c.reduce(function(m,B){if(sA(B))switch(B.value){case"center":return l.push(ud),!1;case"top":case"left":return l.push($A),!1;case"right":case"bottom":return l.push(ur),!1}else if(MA(B)||cr(B))return l.push(B),!1;return m},f):u===1&&(f=c.reduce(function(m,B){if(sA(B))switch(B.value){case Jw:return r=0,!1;case Zw:return r=1,!1;case $w:case Pw:return i=0,!1;case Yw:return i=1,!1;case Xw:return i=2,!1;case Ww:case qw:return i=3,!1}else if(cr(B)||MA(B))return Array.isArray(i)||(i=[]),i.push(B),!1;return m},f)),f){var h=Qo(e,c);s.push(h)}}),{size:i,shape:r,stops:s,position:l,type:2}},YI=function(e){return e.type===1},XI=function(e){return e.type===2},dd={name:"image",parse:function(e,t){if(t.type===22){var r={url:t.value,type:0};return e.cache.addImage(t.value),r}if(t.type===18){var i=eC[t.name];if(typeof i>"u")throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return i(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function qI(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!eC[e.name])}var eC={"linear-gradient":GI,"-moz-linear-gradient":Uo,"-ms-linear-gradient":Uo,"-o-linear-gradient":Uo,"-webkit-linear-gradient":Uo,"radial-gradient":PI,"-moz-radial-gradient":Fo,"-ms-radial-gradient":Fo,"-o-radial-gradient":Fo,"-webkit-radial-gradient":Fo,"-webkit-gradient":zI},JI={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(t.length===0)return[];var r=t[0];return r.type===20&&r.value==="none"?[]:t.filter(function(i){return Mi(i)&&qI(i)}).map(function(i){return dd.parse(e,i)})}},ZI={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(r){if(sA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},WI={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return mn(t).map(function(r){return r.filter(MA)}).map(Hw)}},$I={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return mn(t).map(function(r){return r.filter(sA).map(function(i){return i.value}).join(" ")}).map(e_)}},e_=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Oi;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(Oi||(Oi={}));var A_={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return mn(t).map(function(r){return r.filter(t_)})}},t_=function(e){return sA(e)||MA(e)},To=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},n_=To("top"),r_=To("right"),i_=To("bottom"),a_=To("left"),No=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(t,r){return Hw(r.filter(MA))}}},s_=No("top-left"),l_=No("top-right"),o_=No("bottom-right"),c_=No("bottom-left"),Io=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},u_=Io("top"),f_=Io("right"),d_=Io("bottom"),h_=Io("left"),_o=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,r){return Us(r)?r.number:0}}},g_=_o("top"),p_=_o("right"),m_=_o("bottom"),B_=_o("left"),w_={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},C_={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},y_={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(sA).reduce(function(r,i){return r|E_(i.value)},0)}},E_=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},v_={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},b_={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return t.type===20&&t.value==="normal"?0:t.type===17||t.type===15?t.number:0}},Ho;(function(e){e.NORMAL="normal",e.STRICT="strict"})(Ho||(Ho={}));var x_={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return Ho.STRICT;case"normal":default:return Ho.NORMAL}}},S_={name:"line-height",initialValue:"normal",prefix:!1,type:4},AC=function(e,t){return sA(e)&&e.value==="normal"?1.2*t:e.type===17?t*e.number:MA(e)?pA(e,t):t},Q_={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return t.type===20&&t.value==="none"?null:dd.parse(e,t)}},U_={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},hd={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Mo=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},F_=Mo("top"),T_=Mo("right"),N_=Mo("bottom"),I_=Mo("left"),__={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(sA).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},H_={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},Oo=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},M_=Oo("top"),O_=Oo("right"),R_=Oo("bottom"),L_=Oo("left"),D_={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},k_={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},j_={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&cd(t[0],"none")?[]:mn(t).map(function(r){for(var i={color:_n.TRANSPARENT,offsetX:$A,offsetY:$A,blur:$A},s=0,l=0;l<r.length;l++){var c=r[l];cr(c)?(s===0?i.offsetX=c:s===1?i.offsetY=c:i.blur=c,s++):i.color=fr.parse(e,c)}return i})}},K_={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},V_={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(t.type===20&&t.value==="none")return null;if(t.type===18){var r=P_[t.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return r(t.values)}return null}},G_=function(e){var t=e.filter(function(r){return r.type===17}).map(function(r){return r.number});return t.length===6?t:null},z_=function(e){var t=e.filter(function(f){return f.type===17}).map(function(f){return f.number}),r=t[0],i=t[1],s=t[4],l=t[5],c=t[12],u=t[13];return t.length===16?[r,i,s,l,c,u]:null},P_={matrix:G_,matrix3d:z_},tC={type:16,number:50,flags:vs},Y_=[tC,tC],X_={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var r=t.filter(MA);return r.length!==2?Y_:[r[0],r[1]]}},q_={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Ns;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(Ns||(Ns={}));for(var J_={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return Ns.BREAK_ALL;case"keep-all":return Ns.KEEP_ALL;case"normal":default:return Ns.NORMAL}}},Z_={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(t.type===20)return{auto:!0,order:0};if(Hi(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},nC={name:"time",parse:function(e,t){if(t.type===15)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},W_={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return Hi(t)?t.number:1}},$_={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},eH={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(sA).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}},AH={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var r=[],i=[];return t.forEach(function(s){switch(s.type){case 20:case 0:r.push(s.value);break;case 17:r.push(s.number.toString());break;case 4:i.push(r.join(" ")),r.length=0;break}}),r.length&&i.push(r.join(" ")),i.map(function(s){return s.indexOf(" ")===-1?s:"'"+s+"'"})}},tH={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},nH={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(Hi(t))return t.number;if(sA(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},rH={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(sA).map(function(r){return r.value})}},iH={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},KA=function(e,t){return(e&t)!==0},aH={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(t.length===0)return[];var r=t[0];return r.type===20&&r.value==="none"?[]:t}},sH={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return null;var r=t[0];if(r.type===20&&r.value==="none")return null;for(var i=[],s=t.filter(_w),l=0;l<s.length;l++){var c=s[l],u=s[l+1];if(c.type===20){var f=u&&Hi(u)?u.number:1;i.push({counter:c.value,increment:f})}}return i}},lH={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return[];for(var r=[],i=t.filter(_w),s=0;s<i.length;s++){var l=i[s],c=i[s+1];if(sA(l)&&l.value!=="none"){var u=c&&Hi(c)?c.number:0;r.push({counter:l.value,reset:u})}}return r}},oH={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Us).map(function(r){return nC.parse(e,r)})}},cH={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return null;var r=t[0];if(r.type===20&&r.value==="none")return null;var i=[],s=t.filter(OI);if(s.length%2!==0)return null;for(var l=0;l<s.length;l+=2){var c=s[l].value,u=s[l+1].value;i.push({open:c,close:u})}return i}},rC=function(e,t,r){if(!e)return"";var i=e[Math.min(t,e.length-1)];return i?r?i.open:i.close:""},uH={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&cd(t[0],"none")?[]:mn(t).map(function(r){for(var i={color:255,offsetX:$A,offsetY:$A,blur:$A,spread:$A,inset:!1},s=0,l=0;l<r.length;l++){var c=r[l];cd(c,"inset")?i.inset=!0:cr(c)?(s===0?i.offsetX=c:s===1?i.offsetY=c:s===2?i.blur=c:i.spread=c,s++):i.color=fr.parse(e,c)}return i})}},fH={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var r=[0,1,2],i=[];return t.filter(sA).forEach(function(s){switch(s.value){case"stroke":i.push(1);break;case"fill":i.push(0);break;case"markers":i.push(2);break}}),r.forEach(function(s){i.indexOf(s)===-1&&i.push(s)}),i}},dH={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},hH={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Us(t)?t.number:0}},gH=(function(){function e(t,r){var i,s;this.animationDuration=Be(t,oH,r.animationDuration),this.backgroundClip=Be(t,DI,r.backgroundClip),this.backgroundColor=Be(t,kI,r.backgroundColor),this.backgroundImage=Be(t,JI,r.backgroundImage),this.backgroundOrigin=Be(t,ZI,r.backgroundOrigin),this.backgroundPosition=Be(t,WI,r.backgroundPosition),this.backgroundRepeat=Be(t,$I,r.backgroundRepeat),this.backgroundSize=Be(t,A_,r.backgroundSize),this.borderTopColor=Be(t,n_,r.borderTopColor),this.borderRightColor=Be(t,r_,r.borderRightColor),this.borderBottomColor=Be(t,i_,r.borderBottomColor),this.borderLeftColor=Be(t,a_,r.borderLeftColor),this.borderTopLeftRadius=Be(t,s_,r.borderTopLeftRadius),this.borderTopRightRadius=Be(t,l_,r.borderTopRightRadius),this.borderBottomRightRadius=Be(t,o_,r.borderBottomRightRadius),this.borderBottomLeftRadius=Be(t,c_,r.borderBottomLeftRadius),this.borderTopStyle=Be(t,u_,r.borderTopStyle),this.borderRightStyle=Be(t,f_,r.borderRightStyle),this.borderBottomStyle=Be(t,d_,r.borderBottomStyle),this.borderLeftStyle=Be(t,h_,r.borderLeftStyle),this.borderTopWidth=Be(t,g_,r.borderTopWidth),this.borderRightWidth=Be(t,p_,r.borderRightWidth),this.borderBottomWidth=Be(t,m_,r.borderBottomWidth),this.borderLeftWidth=Be(t,B_,r.borderLeftWidth),this.boxShadow=Be(t,uH,r.boxShadow),this.color=Be(t,w_,r.color),this.direction=Be(t,C_,r.direction),this.display=Be(t,y_,r.display),this.float=Be(t,v_,r.cssFloat),this.fontFamily=Be(t,AH,r.fontFamily),this.fontSize=Be(t,tH,r.fontSize),this.fontStyle=Be(t,iH,r.fontStyle),this.fontVariant=Be(t,rH,r.fontVariant),this.fontWeight=Be(t,nH,r.fontWeight),this.letterSpacing=Be(t,b_,r.letterSpacing),this.lineBreak=Be(t,x_,r.lineBreak),this.lineHeight=Be(t,S_,r.lineHeight),this.listStyleImage=Be(t,Q_,r.listStyleImage),this.listStylePosition=Be(t,U_,r.listStylePosition),this.listStyleType=Be(t,hd,r.listStyleType),this.marginTop=Be(t,F_,r.marginTop),this.marginRight=Be(t,T_,r.marginRight),this.marginBottom=Be(t,N_,r.marginBottom),this.marginLeft=Be(t,I_,r.marginLeft),this.opacity=Be(t,W_,r.opacity);var l=Be(t,__,r.overflow);this.overflowX=l[0],this.overflowY=l[l.length>1?1:0],this.overflowWrap=Be(t,H_,r.overflowWrap),this.paddingTop=Be(t,M_,r.paddingTop),this.paddingRight=Be(t,O_,r.paddingRight),this.paddingBottom=Be(t,R_,r.paddingBottom),this.paddingLeft=Be(t,L_,r.paddingLeft),this.paintOrder=Be(t,fH,r.paintOrder),this.position=Be(t,k_,r.position),this.textAlign=Be(t,D_,r.textAlign),this.textDecorationColor=Be(t,$_,(i=r.textDecorationColor)!==null&&i!==void 0?i:r.color),this.textDecorationLine=Be(t,eH,(s=r.textDecorationLine)!==null&&s!==void 0?s:r.textDecoration),this.textShadow=Be(t,j_,r.textShadow),this.textTransform=Be(t,K_,r.textTransform),this.transform=Be(t,V_,r.transform),this.transformOrigin=Be(t,X_,r.transformOrigin),this.visibility=Be(t,q_,r.visibility),this.webkitTextStrokeColor=Be(t,dH,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=Be(t,hH,r.webkitTextStrokeWidth),this.wordBreak=Be(t,J_,r.wordBreak),this.zIndex=Be(t,Z_,r.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return dr(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return KA(this.display,4)||KA(this.display,33554432)||KA(this.display,268435456)||KA(this.display,536870912)||KA(this.display,67108864)||KA(this.display,134217728)},e})(),pH=(function(){function e(t,r){this.content=Be(t,aH,r.content),this.quotes=Be(t,cH,r.quotes)}return e})(),iC=(function(){function e(t,r){this.counterIncrement=Be(t,sH,r.counterIncrement),this.counterReset=Be(t,lH,r.counterReset)}return e})(),Be=function(e,t,r){var i=new Nw,s=r!==null&&typeof r<"u"?r.toString():t.initialValue;i.write(s);var l=new Iw(i.read());switch(t.type){case 2:var c=l.parseComponentValue();return t.parse(e,sA(c)?c.value:t.initialValue);case 0:return t.parse(e,l.parseComponentValue());case 1:return t.parse(e,l.parseComponentValues());case 4:return l.parseComponentValue();case 3:switch(t.format){case"angle":return So.parse(e,l.parseComponentValue());case"color":return fr.parse(e,l.parseComponentValue());case"image":return dd.parse(e,l.parseComponentValue());case"length":var u=l.parseComponentValue();return cr(u)?u:$A;case"length-percentage":var f=l.parseComponentValue();return MA(f)?f:$A;case"time":return nC.parse(e,l.parseComponentValue())}break}},mH="data-html2canvas-debug",BH=function(e){var t=e.getAttribute(mH);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},gd=function(e,t){var r=BH(e);return r===1||t===r},Bn=(function(){function e(t,r){this.context=t,this.textNodes=[],this.elements=[],this.flags=0,gd(r,3),this.styles=new gH(t,window.getComputedStyle(r,null)),Fd(r)&&(this.styles.animationDuration.some(function(i){return i>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=io(this.context,r),gd(r,4)&&(this.flags|=16)}return e})(),wH="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBl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QGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAA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OAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",aC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Is=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ro=0;Ro<aC.length;Ro++)Is[aC.charCodeAt(Ro)]=Ro;for(var CH=function(e){var t=e.length*.75,r=e.length,i,s=0,l,c,u,f;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var h=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),m=Array.isArray(h)?h:new Uint8Array(h);for(i=0;i<r;i+=4)l=Is[e.charCodeAt(i)],c=Is[e.charCodeAt(i+1)],u=Is[e.charCodeAt(i+2)],f=Is[e.charCodeAt(i+3)],m[s++]=l<<2|c>>4,m[s++]=(c&15)<<4|u>>2,m[s++]=(u&3)<<6|f&63;return h},yH=function(e){for(var t=e.length,r=[],i=0;i<t;i+=2)r.push(e[i+1]<<8|e[i]);return r},EH=function(e){for(var t=e.length,r=[],i=0;i<t;i+=4)r.push(e[i+3]<<24|e[i+2]<<16|e[i+1]<<8|e[i]);return r},Zr=5,pd=11,md=2,vH=pd-Zr,sC=65536>>Zr,bH=1<<Zr,Bd=bH-1,xH=1024>>Zr,SH=sC+xH,QH=SH,UH=32,FH=QH+UH,TH=65536>>pd,NH=1<<vH,IH=NH-1,lC=function(e,t,r){return e.slice?e.slice(t,r):new Uint16Array(Array.prototype.slice.call(e,t,r))},_H=function(e,t,r){return e.slice?e.slice(t,r):new Uint32Array(Array.prototype.slice.call(e,t,r))},HH=function(e,t){var r=CH(e),i=Array.isArray(r)?EH(r):new Uint32Array(r),s=Array.isArray(r)?yH(r):new Uint16Array(r),l=24,c=lC(s,l/2,i[4]/2),u=i[5]===2?lC(s,(l+i[4])/2):_H(i,Math.ceil((l+i[4])/4));return new MH(i[0],i[1],i[2],i[3],c,u)},MH=(function(){function e(t,r,i,s,l,c){this.initialValue=t,this.errorValue=r,this.highStart=i,this.highValueIndex=s,this.index=l,this.data=c}return e.prototype.get=function(t){var r;if(t>=0){if(t<55296||t>56319&&t<=65535)return r=this.index[t>>Zr],r=(r<<md)+(t&Bd),this.data[r];if(t<=65535)return r=this.index[sC+(t-55296>>Zr)],r=(r<<md)+(t&Bd),this.data[r];if(t<this.highStart)return r=FH-TH+(t>>pd),r=this.index[r],r+=t>>Zr&IH,r=this.index[r],r=(r<<md)+(t&Bd),this.data[r];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),oC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",OH=typeof Uint8Array>"u"?[]:new Uint8Array(256),Lo=0;Lo<oC.length;Lo++)OH[oC.charCodeAt(Lo)]=Lo;var RH=1,wd=2,Cd=3,cC=4,uC=5,LH=7,fC=8,yd=9,Ed=10,dC=11,hC=12,gC=13,pC=14,vd=15,DH=function(e){for(var t=[],r=0,i=e.length;r<i;){var s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<i){var l=e.charCodeAt(r++);(l&64512)===56320?t.push(((s&1023)<<10)+(l&1023)+65536):(t.push(s),r--)}else t.push(s)}return t},kH=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var i=[],s=-1,l="";++s<r;){var c=e[s];c<=65535?i.push(c):(c-=65536,i.push((c>>10)+55296,c%1024+56320)),(s+1===r||i.length>16384)&&(l+=String.fromCharCode.apply(String,i),i.length=0)}return l},jH=HH(wH),jt="×",bd="÷",KH=function(e){return jH.get(e)},VH=function(e,t,r){var i=r-2,s=t[i],l=t[r-1],c=t[r];if(l===wd&&c===Cd)return jt;if(l===wd||l===Cd||l===cC||c===wd||c===Cd||c===cC)return bd;if(l===fC&&[fC,yd,dC,hC].indexOf(c)!==-1||(l===dC||l===yd)&&(c===yd||c===Ed)||(l===hC||l===Ed)&&c===Ed||c===gC||c===uC||c===LH||l===RH)return jt;if(l===gC&&c===pC){for(;s===uC;)s=t[--i];if(s===pC)return jt}if(l===vd&&c===vd){for(var u=0;s===vd;)u++,s=t[--i];if(u%2===0)return jt}return bd},GH=function(e){var t=DH(e),r=t.length,i=0,s=0,l=t.map(KH);return{next:function(){if(i>=r)return{done:!0,value:null};for(var c=jt;i<r&&(c=VH(t,l,++i))===jt;);if(c!==jt||i===r){var u=kH.apply(null,t.slice(s,i));return s=i,{value:u,done:!1}}return{done:!0,value:null}}}},zH=function(e){for(var t=GH(e),r=[],i;!(i=t.next()).done;)i.value&&r.push(i.value.slice());return r},PH=function(e){var t=123;if(e.createRange){var r=e.createRange();if(r.getBoundingClientRect){var i=e.createElement("boundtest");i.style.height=t+"px",i.style.display="block",e.body.appendChild(i),r.selectNode(i);var s=r.getBoundingClientRect(),l=Math.round(s.height);if(e.body.removeChild(i),l===t)return!0}}return!1},YH=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var r=e.createRange();t.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var i=t.firstChild,s=ao(i.data).map(function(f){return TA(f)}),l=0,c={},u=s.every(function(f,h){r.setStart(i,l),r.setEnd(i,l+f.length);var m=r.getBoundingClientRect();l+=f.length;var B=m.x>c.x||m.y>c.y;return c=m,h===0?!0:B});return e.body.removeChild(t),u},XH=function(){return typeof new Image().crossOrigin<"u"},qH=function(){return typeof new XMLHttpRequest().responseType=="string"},JH=function(e){var t=new Image,r=e.createElement("canvas"),i=r.getContext("2d");if(!i)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{i.drawImage(t,0,0),r.toDataURL()}catch{return!1}return!0},mC=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},ZH=function(e){var t=e.createElement("canvas"),r=100;t.width=r,t.height=r;var i=t.getContext("2d");if(!i)return Promise.reject(!1);i.fillStyle="rgb(0, 255, 0)",i.fillRect(0,0,r,r);var s=new Image,l=t.toDataURL();s.src=l;var c=xd(r,r,0,0,s);return i.fillStyle="red",i.fillRect(0,0,r,r),BC(c).then(function(u){i.drawImage(u,0,0);var f=i.getImageData(0,0,r,r).data;i.fillStyle="red",i.fillRect(0,0,r,r);var h=e.createElement("div");return h.style.backgroundImage="url("+l+")",h.style.height=r+"px",mC(f)?BC(xd(r,r,0,0,h)):Promise.reject(!1)}).then(function(u){return i.drawImage(u,0,0),mC(i.getImageData(0,0,r,r).data)}).catch(function(){return!1})},xd=function(e,t,r,i,s){var l="http://www.w3.org/2000/svg",c=document.createElementNS(l,"svg"),u=document.createElementNS(l,"foreignObject");return c.setAttributeNS(null,"width",e.toString()),c.setAttributeNS(null,"height",t.toString()),u.setAttributeNS(null,"width","100%"),u.setAttributeNS(null,"height","100%"),u.setAttributeNS(null,"x",r.toString()),u.setAttributeNS(null,"y",i.toString()),u.setAttributeNS(null,"externalResourcesRequired","true"),c.appendChild(u),u.appendChild(s),c},BC=function(e){return new Promise(function(t,r){var i=new Image;i.onload=function(){return t(i)},i.onerror=r,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},et={get SUPPORT_RANGE_BOUNDS(){var e=PH(document);return Object.defineProperty(et,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=et.SUPPORT_RANGE_BOUNDS&&YH(document);return Object.defineProperty(et,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=JH(document);return Object.defineProperty(et,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?ZH(document):Promise.resolve(!1);return Object.defineProperty(et,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=XH();return Object.defineProperty(et,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=qH();return Object.defineProperty(et,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(et,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(et,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},_s=(function(){function e(t,r){this.text=t,this.bounds=r}return e})(),WH=function(e,t,r,i){var s=A3(t,r),l=[],c=0;return s.forEach(function(u){if(r.textDecorationLine.length||u.trim().length>0)if(et.SUPPORT_RANGE_BOUNDS){var f=wC(i,c,u.length).getClientRects();if(f.length>1){var h=Sd(u),m=0;h.forEach(function(C){l.push(new _s(C,Nn.fromDOMRectList(e,wC(i,m+c,C.length).getClientRects()))),m+=C.length})}else l.push(new _s(u,Nn.fromDOMRectList(e,f)))}else{var B=i.splitText(u.length);l.push(new _s(u,$H(e,i))),i=B}else et.SUPPORT_RANGE_BOUNDS||(i=i.splitText(u.length));c+=u.length}),l},$H=function(e,t){var r=t.ownerDocument;if(r){var i=r.createElement("html2canvaswrapper");i.appendChild(t.cloneNode(!0));var s=t.parentNode;if(s){s.replaceChild(i,t);var l=io(e,i);return i.firstChild&&s.replaceChild(i.firstChild,i),l}}return Nn.EMPTY},wC=function(e,t,r){var i=e.ownerDocument;if(!i)throw new Error("Node has no owner document");var s=i.createRange();return s.setStart(e,t),s.setEnd(e,t+r),s},Sd=function(e){if(et.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map(function(r){return r.segment})}return zH(e)},e3=function(e,t){if(et.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(e)).map(function(i){return i.segment})}return n3(e,t)},A3=function(e,t){return t.letterSpacing!==0?Sd(e):e3(e,t)},t3=[32,160,4961,65792,65793,4153,4241],n3=function(e,t){for(var r=TN(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap==="break-word"?"break-word":t.wordBreak}),i=[],s,l=function(){if(s.value){var c=s.value.slice(),u=ao(c),f="";u.forEach(function(h){t3.indexOf(h)===-1?f+=TA(h):(f.length&&i.push(f),i.push(TA(h)),f="")}),f.length&&i.push(f)}};!(s=r.next()).done;)l();return i},r3=(function(){function e(t,r,i){this.text=i3(r.data,i.textTransform),this.textBounds=WH(t,this.text,i,r)}return e})(),i3=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(a3,s3);case 2:return e.toUpperCase();default:return e}},a3=/(^|\s|:|-|\(|\))([a-z])/g,s3=function(e,t,r){return e.length>0?t+r.toUpperCase():e},CC=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this;return s.src=i.currentSrc||i.src,s.intrinsicWidth=i.naturalWidth,s.intrinsicHeight=i.naturalHeight,s.context.cache.addImage(s.src),s}return t})(Bn),yC=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this;return s.canvas=i,s.intrinsicWidth=i.width,s.intrinsicHeight=i.height,s}return t})(Bn),EC=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this,l=new XMLSerializer,c=io(r,i);return i.setAttribute("width",c.width+"px"),i.setAttribute("height",c.height+"px"),s.svg="data:image/svg+xml,"+encodeURIComponent(l.serializeToString(i)),s.intrinsicWidth=i.width.baseVal.value,s.intrinsicHeight=i.height.baseVal.value,s.context.cache.addImage(s.svg),s}return t})(Bn),vC=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this;return s.value=i.value,s}return t})(Bn),Qd=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this;return s.start=i.start,s.reversed=typeof i.reversed=="boolean"&&i.reversed===!0,s}return t})(Bn),l3=[{type:15,flags:0,unit:"px",number:3}],o3=[{type:16,flags:0,number:50}],c3=function(e){return e.width>e.height?new Nn(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new Nn(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},u3=function(e){var t=e.type===f3?new Array(e.value.length+1).join("•"):e.value;return t.length===0?e.placeholder||"":t},Do="checkbox",ko="radio",f3="password",bC=707406591,Ud=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this;switch(s.type=i.type.toLowerCase(),s.checked=i.checked,s.value=u3(i),(s.type===Do||s.type===ko)&&(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=c3(s.bounds)),s.type){case Do:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=l3;break;case ko:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=o3;break}return s}return t})(Bn),xC=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this,l=i.options[i.selectedIndex||0];return s.value=l&&l.text||"",s}return t})(Bn),SC=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this;return s.value=i.value,s}return t})(Bn),QC=(function(e){rn(t,e);function t(r,i){var s=e.call(this,r,i)||this;s.src=i.src,s.width=parseInt(i.width,10)||0,s.height=parseInt(i.height,10)||0,s.backgroundColor=s.styles.backgroundColor;try{if(i.contentWindow&&i.contentWindow.document&&i.contentWindow.document.documentElement){s.tree=FC(r,i.contentWindow.document.documentElement);var l=i.contentWindow.document.documentElement?Ts(r,getComputedStyle(i.contentWindow.document.documentElement).backgroundColor):_n.TRANSPARENT,c=i.contentWindow.document.body?Ts(r,getComputedStyle(i.contentWindow.document.body).backgroundColor):_n.TRANSPARENT;s.backgroundColor=dr(l)?dr(c)?s.styles.backgroundColor:c:l}}catch{}return s}return t})(Bn),d3=["OL","UL","MENU"],jo=function(e,t,r,i){for(var s=t.firstChild,l=void 0;s;s=l)if(l=s.nextSibling,TC(s)&&s.data.trim().length>0)r.textNodes.push(new r3(e,s,r.styles));else if(Ri(s))if(OC(s)&&s.assignedNodes)s.assignedNodes().forEach(function(u){return jo(e,u,r,i)});else{var c=UC(e,s);c.styles.isVisible()&&(h3(s,c,i)?c.flags|=4:g3(c.styles)&&(c.flags|=2),d3.indexOf(s.tagName)!==-1&&(c.flags|=8),r.elements.push(c),s.shadowRoot?jo(e,s.shadowRoot,c,i):!Vo(s)&&!NC(s)&&!Go(s)&&jo(e,s,c,i))}},UC=function(e,t){return Nd(t)?new CC(e,t):IC(t)?new yC(e,t):NC(t)?new EC(e,t):p3(t)?new vC(e,t):m3(t)?new Qd(e,t):B3(t)?new Ud(e,t):Go(t)?new xC(e,t):Vo(t)?new SC(e,t):HC(t)?new QC(e,t):new Bn(e,t)},FC=function(e,t){var r=UC(e,t);return r.flags|=4,jo(e,t,r,r),r},h3=function(e,t,r){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Td(e)&&r.styles.isTransparent()},g3=function(e){return e.isPositioned()||e.isFloating()},TC=function(e){return e.nodeType===Node.TEXT_NODE},Ri=function(e){return e.nodeType===Node.ELEMENT_NODE},Fd=function(e){return Ri(e)&&typeof e.style<"u"&&!Ko(e)},Ko=function(e){return typeof e.className=="object"},p3=function(e){return e.tagName==="LI"},m3=function(e){return e.tagName==="OL"},B3=function(e){return e.tagName==="INPUT"},w3=function(e){return e.tagName==="HTML"},NC=function(e){return e.tagName==="svg"},Td=function(e){return e.tagName==="BODY"},IC=function(e){return e.tagName==="CANVAS"},_C=function(e){return e.tagName==="VIDEO"},Nd=function(e){return e.tagName==="IMG"},HC=function(e){return e.tagName==="IFRAME"},MC=function(e){return e.tagName==="STYLE"},C3=function(e){return e.tagName==="SCRIPT"},Vo=function(e){return e.tagName==="TEXTAREA"},Go=function(e){return e.tagName==="SELECT"},OC=function(e){return e.tagName==="SLOT"},RC=function(e){return e.tagName.indexOf("-")>0},y3=(function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(t){var r=this.counters[t];return r&&r.length?r[r.length-1]:1},e.prototype.getCounterValues=function(t){var r=this.counters[t];return r||[]},e.prototype.pop=function(t){var r=this;t.forEach(function(i){return r.counters[i].pop()})},e.prototype.parse=function(t){var r=this,i=t.counterIncrement,s=t.counterReset,l=!0;i!==null&&i.forEach(function(u){var f=r.counters[u.counter];f&&u.increment!==0&&(l=!1,f.length||f.push(1),f[Math.max(0,f.length-1)]+=u.increment)});var c=[];return l&&s.forEach(function(u){var f=r.counters[u.counter];c.push(u.counter),f||(f=r.counters[u.counter]=[]),f.push(u.reset)}),c},e})(),LC={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},DC={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},E3={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},v3={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Li=function(e,t,r,i,s,l){return e<t||e>r?Ms(e,s,l.length>0):i.integers.reduce(function(c,u,f){for(;e>=u;)e-=u,c+=i.values[f];return c},"")+l},kC=function(e,t,r,i){var s="";do r||e--,s=i(e)+s,e/=t;while(e*t>=t);return s},NA=function(e,t,r,i,s){var l=r-t+1;return(e<0?"-":"")+(kC(Math.abs(e),l,i,function(c){return TA(Math.floor(c%l)+t)})+s)},Wr=function(e,t,r){r===void 0&&(r=". ");var i=t.length;return kC(Math.abs(e),i,!1,function(s){return t[Math.floor(s%i)]})+r},Di=1,gr=2,pr=4,Hs=8,Hn=function(e,t,r,i,s,l){if(e<-9999||e>9999)return Ms(e,4,s.length>0);var c=Math.abs(e),u=s;if(c===0)return t[0]+u;for(var f=0;c>0&&f<=4;f++){var h=c%10;h===0&&KA(l,Di)&&u!==""?u=t[h]+u:h>1||h===1&&f===0||h===1&&f===1&&KA(l,gr)||h===1&&f===1&&KA(l,pr)&&e>100||h===1&&f>1&&KA(l,Hs)?u=t[h]+(f>0?r[f-1]:"")+u:h===1&&f>0&&(u=r[f-1]+u),c=Math.floor(c/10)}return(e<0?i:"")+u},jC="十百千萬",KC="拾佰仟萬",VC="マイナス",Id="마이너스",Ms=function(e,t,r){var i=r?". ":"",s=r?"、":"",l=r?", ":"",c=r?" ":"";switch(t){case 0:return"•"+c;case 1:return"◦"+c;case 2:return"◾"+c;case 5:var u=NA(e,48,57,!0,i);return u.length<4?"0"+u:u;case 4:return Wr(e,"〇一二三四五六七八九",s);case 6:return Li(e,1,3999,LC,3,i).toLowerCase();case 7:return Li(e,1,3999,LC,3,i);case 8:return NA(e,945,969,!1,i);case 9:return NA(e,97,122,!1,i);case 10:return NA(e,65,90,!1,i);case 11:return NA(e,1632,1641,!0,i);case 12:case 49:return Li(e,1,9999,DC,3,i);case 35:return Li(e,1,9999,DC,3,i).toLowerCase();case 13:return NA(e,2534,2543,!0,i);case 14:case 30:return NA(e,6112,6121,!0,i);case 15:return Wr(e,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return Wr(e,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return Hn(e,"零一二三四五六七八九",jC,"負",s,gr|pr|Hs);case 47:return Hn(e,"零壹貳參肆伍陸柒捌玖",KC,"負",s,Di|gr|pr|Hs);case 42:return Hn(e,"零一二三四五六七八九",jC,"负",s,gr|pr|Hs);case 41:return Hn(e,"零壹贰叁肆伍陆柒捌玖",KC,"负",s,Di|gr|pr|Hs);case 26:return Hn(e,"〇一二三四五六七八九","十百千万",VC,s,0);case 25:return Hn(e,"零壱弐参四伍六七八九","拾百千万",VC,s,Di|gr|pr);case 31:return Hn(e,"영일이삼사오육칠팔구","십백천만",Id,l,Di|gr|pr);case 33:return Hn(e,"零一二三四五六七八九","十百千萬",Id,l,0);case 32:return Hn(e,"零壹貳參四五六七八九","拾百千",Id,l,Di|gr|pr);case 18:return NA(e,2406,2415,!0,i);case 20:return Li(e,1,19999,v3,3,i);case 21:return NA(e,2790,2799,!0,i);case 22:return NA(e,2662,2671,!0,i);case 22:return Li(e,1,10999,E3,3,i);case 23:return Wr(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Wr(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return NA(e,3302,3311,!0,i);case 28:return Wr(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return Wr(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return NA(e,3792,3801,!0,i);case 37:return NA(e,6160,6169,!0,i);case 38:return NA(e,4160,4169,!0,i);case 39:return NA(e,2918,2927,!0,i);case 40:return NA(e,1776,1785,!0,i);case 43:return NA(e,3046,3055,!0,i);case 44:return NA(e,3174,3183,!0,i);case 45:return NA(e,3664,3673,!0,i);case 46:return NA(e,3872,3881,!0,i);case 3:default:return NA(e,48,57,!0,i)}},GC="data-html2canvas-ignore",zC=(function(){function e(t,r,i){if(this.context=t,this.options=i,this.scrolledElements=[],this.referenceElement=r,this.counters=new y3,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(t,r){var i=this,s=b3(t,r);if(!s.contentWindow)return Promise.reject("Unable to find iframe window");var l=t.defaultView.pageXOffset,c=t.defaultView.pageYOffset,u=s.contentWindow,f=u.document,h=Q3(s).then(function(){return ft(i,void 0,void 0,function(){var m,B;return lt(this,function(C){switch(C.label){case 0:return this.scrolledElements.forEach(N3),u&&(u.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(u.scrollY!==r.top||u.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(u.scrollX-r.left,u.scrollY-r.top,0,0))),m=this.options.onclone,B=this.clonedReferenceElement,typeof B>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:f.fonts&&f.fonts.ready?[4,f.fonts.ready]:[3,2];case 1:C.sent(),C.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,S3(f)]:[3,4];case 3:C.sent(),C.label=4;case 4:return typeof m=="function"?[2,Promise.resolve().then(function(){return m(f,B)}).then(function(){return s})]:[2,s]}})})});return f.open(),f.write(F3(document.doctype)+"<html></html>"),T3(this.referenceElement.ownerDocument,l,c),f.replaceChild(f.adoptNode(this.documentElement),f.documentElement),f.close(),h},e.prototype.createElementClone=function(t){if(gd(t,2),IC(t))return this.createCanvasClone(t);if(_C(t))return this.createVideoClone(t);if(MC(t))return this.createStyleClone(t);var r=t.cloneNode(!1);return Nd(r)&&(Nd(t)&&t.currentSrc&&t.currentSrc!==t.src&&(r.src=t.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),RC(r)?this.createCustomElementClone(r):r},e.prototype.createCustomElementClone=function(t){var r=document.createElement("html2canvascustomelement");return _d(t.style,r),r},e.prototype.createStyleClone=function(t){try{var r=t.sheet;if(r&&r.cssRules){var i=[].slice.call(r.cssRules,0).reduce(function(l,c){return c&&typeof c.cssText=="string"?l+c.cssText:l},""),s=t.cloneNode(!1);return s.textContent=i,s}}catch(l){if(this.context.logger.error("Unable to access cssRules property",l),l.name!=="SecurityError")throw l}return t.cloneNode(!1)},e.prototype.createCanvasClone=function(t){var r;if(this.options.inlineImages&&t.ownerDocument){var i=t.ownerDocument.createElement("img");try{return i.src=t.toDataURL(),i}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var s=t.cloneNode(!1);try{s.width=t.width,s.height=t.height;var l=t.getContext("2d"),c=s.getContext("2d");if(c)if(!this.options.allowTaint&&l)c.putImageData(l.getImageData(0,0,t.width,t.height),0,0);else{var u=(r=t.getContext("webgl2"))!==null&&r!==void 0?r:t.getContext("webgl");if(u){var f=u.getContextAttributes();f?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}c.drawImage(t,0,0)}return s}catch{this.context.logger.info("Unable to clone canvas as it is tainted",t)}return s},e.prototype.createVideoClone=function(t){var r=t.ownerDocument.createElement("canvas");r.width=t.offsetWidth,r.height=t.offsetHeight;var i=r.getContext("2d");try{return i&&(i.drawImage(t,0,0,r.width,r.height),this.options.allowTaint||i.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",t)}var s=t.ownerDocument.createElement("canvas");return s.width=t.offsetWidth,s.height=t.offsetHeight,s},e.prototype.appendChildNode=function(t,r,i){(!Ri(r)||!C3(r)&&!r.hasAttribute(GC)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!Ri(r)||!MC(r))&&t.appendChild(this.cloneNode(r,i))},e.prototype.cloneChildNodes=function(t,r,i){for(var s=this,l=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;l;l=l.nextSibling)if(Ri(l)&&OC(l)&&typeof l.assignedNodes=="function"){var c=l.assignedNodes();c.length&&c.forEach(function(u){return s.appendChildNode(r,u,i)})}else this.appendChildNode(r,l,i)},e.prototype.cloneNode=function(t,r){if(TC(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var i=t.ownerDocument.defaultView;if(i&&Ri(t)&&(Fd(t)||Ko(t))){var s=this.createElementClone(t);s.style.transitionProperty="none";var l=i.getComputedStyle(t),c=i.getComputedStyle(t,":before"),u=i.getComputedStyle(t,":after");this.referenceElement===t&&Fd(s)&&(this.clonedReferenceElement=s),Td(s)&&H3(s);var f=this.counters.parse(new iC(this.context,l)),h=this.resolvePseudoContent(t,s,c,Os.BEFORE);RC(t)&&(r=!0),_C(t)||this.cloneChildNodes(t,s,r),h&&s.insertBefore(h,s.firstChild);var m=this.resolvePseudoContent(t,s,u,Os.AFTER);return m&&s.appendChild(m),this.counters.pop(f),(l&&(this.options.copyStyles||Ko(t))&&!HC(t)||r)&&_d(l,s),(t.scrollTop!==0||t.scrollLeft!==0)&&this.scrolledElements.push([s,t.scrollLeft,t.scrollTop]),(Vo(t)||Go(t))&&(Vo(s)||Go(s))&&(s.value=t.value),s}return t.cloneNode(!1)},e.prototype.resolvePseudoContent=function(t,r,i,s){var l=this;if(i){var c=i.content,u=r.ownerDocument;if(!(!u||!c||c==="none"||c==="-moz-alt-content"||i.display==="none")){this.counters.parse(new iC(this.context,i));var f=new pH(this.context,i),h=u.createElement("html2canvaspseudoelement");_d(i,h),f.content.forEach(function(B){if(B.type===0)h.appendChild(u.createTextNode(B.value));else if(B.type===22){var C=u.createElement("img");C.src=B.value,C.style.opacity="1",h.appendChild(C)}else if(B.type===18){if(B.name==="attr"){var w=B.values.filter(sA);w.length&&h.appendChild(u.createTextNode(t.getAttribute(w[0].value)||""))}else if(B.name==="counter"){var v=B.values.filter(Mi),b=v[0],U=v[1];if(b&&sA(b)){var Q=l.counters.getCounterValue(b.value),I=U&&sA(U)?hd.parse(l.context,U.value):3;h.appendChild(u.createTextNode(Ms(Q,I,!1)))}}else if(B.name==="counters"){var M=B.values.filter(Mi),b=M[0],z=M[1],U=M[2];if(b&&sA(b)){var j=l.counters.getCounterValues(b.value),F=U&&sA(U)?hd.parse(l.context,U.value):3,H=z&&z.type===0?z.value:"",k=j.map(function(ee){return Ms(ee,F,!1)}).join(H);h.appendChild(u.createTextNode(k))}}}else if(B.type===20)switch(B.value){case"open-quote":h.appendChild(u.createTextNode(rC(f.quotes,l.quoteDepth++,!0)));break;case"close-quote":h.appendChild(u.createTextNode(rC(f.quotes,--l.quoteDepth,!1)));break;default:h.appendChild(u.createTextNode(B.value))}}),h.className=Hd+" "+Md;var m=s===Os.BEFORE?" "+Hd:" "+Md;return Ko(r)?r.className.baseValue+=m:r.className+=m,h}}},e.destroy=function(t){return t.parentNode?(t.parentNode.removeChild(t),!0):!1},e})(),Os;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(Os||(Os={}));var b3=function(e,t){var r=e.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=t.width.toString(),r.height=t.height.toString(),r.scrolling="no",r.setAttribute(GC,"true"),e.body.appendChild(r),r},x3=function(e){return new Promise(function(t){if(e.complete){t();return}if(!e.src){t();return}e.onload=t,e.onerror=t})},S3=function(e){return Promise.all([].slice.call(e.images,0).map(x3))},Q3=function(e){return new Promise(function(t,r){var i=e.contentWindow;if(!i)return r("No window assigned for iframe");var s=i.document;i.onload=e.onload=function(){i.onload=e.onload=null;var l=setInterval(function(){s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(l),t(e))},50)}})},U3=["all","d","content"],_d=function(e,t){for(var r=e.length-1;r>=0;r--){var i=e.item(r);U3.indexOf(i)===-1&&t.style.setProperty(i,e.getPropertyValue(i))}return t},F3=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},T3=function(e,t,r){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||r!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,r)},N3=function(e){var t=e[0],r=e[1],i=e[2];t.scrollLeft=r,t.scrollTop=i},I3=":before",_3=":after",Hd="___html2canvas___pseudoelement_before",Md="___html2canvas___pseudoelement_after",PC=`{
|
|
103
103
|
content: "" !important;
|