@connekz/connekz-agent 1.5.0 → 2.0.0

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,4 +1,4 @@
1
- (function(){try{var d=document,s=d.createElement("style");s.setAttribute("data-connekz-agent","");s.textContent=":root{--connekz-primary: #008fd7;--connekz-secondary: #00D0EF;--connekz-content: #404040}@media (prefers-color-scheme: dark){:root{--connekz-primary: #008fd7;--connekz-secondary: #00D0EF;--connekz-content: #f8f8f8}}.connekz_glass-panel{background:linear-gradient(to bottom,#051b270d,#18364c78);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);box-shadow:0 4px 12px #0003}.connekz_glass-panel.selectable{cursor:pointer}.connekz_glass-panel.selectable:hover{background:linear-gradient(to bottom,#051b271a,#18364c7a);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:0 6px 16px #00000026;transform:scale(1.02);transition:all .2s ease}.connekz_clickable-scale{cursor:pointer;transition:transform .2s ease;scale:1}.connekz_clickable-scale:hover{scale:1.02}.connekz_btn-ghost:hover{background-color:transparent;box-shadow:none;outline:none;border:none}.connekz_btn{border:unset;transition:all .2s ease;cursor:pointer;color:var(--connekz-content)}.connekz_btn:hover,.connekz_btn.--active{color:var(--connekz-primary)}.connekz_btn:disabled{cursor:not-allowed;opacity:.6}.connekz_btn:disabled:hover{color:var(--connekz-content)}.connekz_btn.connekz_btn-ghost{background:transparent;border:none}.connekz_rounded{border-radius:50%}.connekz_color-primary{color:var(--connekz-primary)}.connekz_color-secondary{color:var(--connekz-secondary)}.connekz_bg-primary{background-color:var(--connekz-primary)}.connekz_bg-secondary{background-color:var(--connekz-secondary)}svg[data-v-bca4cf53]{display:inline-block}svg[data-v-bca4cf53] *{fill:currentColor}.connekz_switch[data-v-a7848b10]{width:fit-content;border-radius:10px;padding:4px 12px;display:flex;gap:8px;justify-content:space-between}.dot-animation-wrapper .dot[data-v-0d55de5f]{font-size:18px;opacity:0;animation:fadeInOut-0d55de5f 1.5s infinite}.dot-animation-wrapper .dot[data-v-0d55de5f]:nth-child(1){animation-delay:0s}.dot-animation-wrapper .dot[data-v-0d55de5f]:nth-child(2){animation-delay:.3s}.dot-animation-wrapper .dot[data-v-0d55de5f]:nth-child(3){animation-delay:.6s}@keyframes fadeInOut-0d55de5f{0%,to{opacity:0}50%{opacity:1}}.text-message-input[data-v-5d23ab16]{padding-left:8px}.text-message-input .textarea[data-v-5d23ab16]{width:100%;max-height:4.5rem;line-height:22px;font-size:16px;font-family:Inter,sans-serif;color:var(--connekz-content);padding:0 8px 0 2px;min-height:unset;background-color:transparent;outline:none;resize:none;border:none;overflow-x:hidden;overflow-y:auto;height:fit-content;box-shadow:unset}.text-message-input .textarea[data-v-5d23ab16]:hover,.text-message-input .textarea[data-v-5d23ab16]:focus,.text-message-input .textarea[data-v-5d23ab16]:active{background-color:transparent;outline:none;border:none;box-shadow:unset}.emoji-mart,.emoji-mart *{box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:flex;flex-direction:column;height:420px;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart-emoji{padding:6px;position:relative;display:inline-block;font-size:0;border:none;background:none;box-shadow:none}.emoji-mart-emoji span{display:inline-block}.emoji-mart-preview-emoji .emoji-mart-emoji span{width:38px;height:38px;font-size:32px}.emoji-type-native{font-family:\"Segoe UI Emoji\",Segoe UI Symbol,Segoe UI,\"Apple Color Emoji\",Twemoji Mozilla,\"Noto Color Emoji\",EmojiOne Color,\"Android Emoji\";word-break:keep-all}.emoji-type-image{background-size:6100%}.emoji-type-image.emoji-set-apple{background-image:url(https://unpkg.com/emoji-datasource-apple@15.0.1/img/apple/sheets-256/64.png)}.emoji-type-image.emoji-set-facebook{background-image:url(https://unpkg.com/emoji-datasource-facebook@15.0.1/img/facebook/sheets-256/64.png)}.emoji-type-image.emoji-set-google{background-image:url(https://unpkg.com/emoji-datasource-google@15.0.1/img/google/sheets-256/64.png)}.emoji-type-image.emoji-set-twitter{background-image:url(https://unpkg.com/emoji-datasource-twitter@15.0.1/img/twitter/sheets-256/64.png)}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-scroll{position:relative;overflow-y:scroll;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-anchors{display:flex;flex-direction:row;justify-content:space-between;padding:0 6px;color:#858585;line-height:0}.emoji-mart-anchor{position:relative;display:block;flex:1 1 auto;text-align:center;padding:12px 4px;overflow:hidden;transition:color .1s ease-out;border:none;background:none;box-shadow:none}.emoji-mart-anchor:hover,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg{fill:currentColor;max-height:18px}.emoji-mart .scroller{height:250px;position:relative;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-search{margin-top:6px;padding:0 6px}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:.2em .6em;border-radius:25px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search-results{height:250px;overflow-y:scroll}.emoji-mart-category{position:relative}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{z-index:0;content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%;opacity:0}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{opacity:1}.emoji-mart-category-label{position:sticky;top:0}.emoji-mart-static .emoji-mart-category-label{z-index:2;position:relative}.emoji-mart-category-label h3{display:block;font-size:16px;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:21px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;transition-property:width,padding;transition-duration:.125s;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){transition-delay:.15s}.emoji-mart-skin-swatch-selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch-selected:after{content:\"\";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;transition:opacity .2s ease-out}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart .vue-recycle-scroller{position:relative}.emoji-mart .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal{display:flex}.emoji-mart .vue-recycle-scroller__slot{flex:auto 0 0}.emoji-mart .vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.emoji-mart .vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.emoji-mart .vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.emoji-mart .vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.emoji-mart .vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.emoji-mart .vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.emoji-mart .resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.emoji-mart .resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.emoji-mart-search .hidden{display:none;visibility:hidden}.emoji-message-input .emoji-picker[data-v-e5162b25]{position:absolute;opacity:0;overflow:hidden;width:0;height:0;transform:translate(-16px,24px);transition:all .2s ease;z-index:99}.emoji-message-input .emoji-picker.--open[data-v-e5162b25]{width:338px;height:420px;transform:translate(0);opacity:1}.emoji-mart-preview,.emoji-mart-bar.emoji-mart-bar-preview,.emoji-mart-search{display:none!important}.emoji-mart.emoji-mart-static{background:linear-gradient(to bottom,#051b27cc,#18364c);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:4px;box-shadow:0 4px 12px #0003;border:1px solid rgba(255,255,255,.2);border-top:1px solid rgba(255,255,255,.1);border-bottom:2px solid rgba(255,255,255,.4);border-radius:12px}.emoji-btn-icon{margin-top:2px}.emoji-mart-anchor{color:#fff!important}.emoji-mart-category-label{background-color:transparent!important;color:#fff!important}.message-input-wrapper[data-v-08883d50]{display:flex;align-items:center;border-radius:16px;gap:0;padding:2px 4px}.message-input-wrapper>div[data-v-08883d50]:first-child{flex:1}.message-input-wrapper .message-send-button[data-v-08883d50]{display:flex;justify-content:center;align-items:center;background-color:var(--connekz-primary);color:#fff;width:32px;height:32px}.connekz-controls-container[data-v-c1ad6b65]{width:100%;height:80px;display:flex;justify-content:space-between;gap:12px;align-items:center}.connekz-controls-container .control-btn[data-v-c1ad6b65]{width:40px;height:40px;padding:0}.connekz-controls-container .control-btn-large[data-v-c1ad6b65]{width:60px;height:60px}.ai-keyboard-input[data-v-c1ad6b65]{position:absolute;right:16px;opacity:1;width:calc(100% - 88px);transition:all .2s ease-out}.ai-keyboard-input.--hidden[data-v-c1ad6b65]{opacity:0;width:0}.signal-strength .bar-active[data-v-3f35384f]{fill:var(--connekz-primary, #6366f1)}.signal-strength .bar-weak[data-v-3f35384f]{fill:#ef4444}.signal-strength .bar-inactive[data-v-3f35384f]{fill:var(--connekz-content, #9ca3af);opacity:.3}.connekz-message-item-wrapper[data-v-797e7322]{width:100%;display:flex}.connekz-message-item-wrapper.failed-message[data-v-797e7322]{padding-bottom:20px}.connekz-message-item-wrapper.align-right[data-v-797e7322]{justify-content:flex-end}.connekz-message-item-wrapper.align-right .message-item[data-v-797e7322]{margin-right:12px}.connekz-message-item-wrapper.align-left[data-v-797e7322]{margin-left:12px}.connekz-message-item-wrapper.last-message[data-v-797e7322]{margin-bottom:72px}.connekz-message-item-wrapper .message-item[data-v-797e7322]{border-radius:20px;margin-top:5px;margin-bottom:5px;display:inline-block;position:relative}.connekz-message-item-wrapper .message-item.yours[data-v-797e7322]{margin-right:25%}.connekz-message-item-wrapper .message-item.yours .message-bubble[data-v-797e7322]{background-color:#eee}.connekz-message-item-wrapper .message-item.yours.last[data-v-797e7322]:before{content:\"\";position:absolute;z-index:-1;bottom:0;left:-7px;height:20px;width:20px;background:#eee;border-bottom-right-radius:15px}.connekz-message-item-wrapper .message-item.yours.last[data-v-797e7322]:after{content:\"\";position:absolute;z-index:0;bottom:0;left:-10px;width:10px;height:20px;background:#fff;border-bottom-right-radius:10px}.connekz-message-item-wrapper .message-item.mine[data-v-797e7322]{color:#fff;margin-left:25%}.connekz-message-item-wrapper .message-item.mine .message-bubble[data-v-797e7322]{background:linear-gradient(to bottom,#00d0ea,#0085d1);background-attachment:fixed;color:#fff}.connekz-message-item-wrapper .message-item.mine.last[data-v-797e7322]:before{content:\"\";position:absolute;z-index:-1;bottom:0;right:-8px;height:20px;width:20px;background:linear-gradient(to bottom,#00d0ea,#0085d1);background-attachment:fixed;border-bottom-left-radius:15px}.connekz-message-item-wrapper .message-item.mine.last[data-v-797e7322]:after{content:\"\";position:absolute;z-index:0;bottom:0;right:-10px;width:10px;height:20px;background:#fff;border-bottom-left-radius:10px}.connekz-message-item-wrapper .message-item .message-bubble[data-v-797e7322]{padding:8px 15px;border-radius:20px;position:relative;z-index:1}.connekz-message-item-wrapper .message-item .message-bubble .message-at[data-v-797e7322]{width:100%;text-align:right;font-size:10px;margin-top:4px;opacity:.5}.connekz-message-item-wrapper .message-item .message-bubble .send-failed[data-v-797e7322]{position:absolute;color:red;bottom:-20px;right:12px;width:fit-content;display:flex;justify-content:flex-end;text-wrap:nowrap;cursor:pointer}.connekz-message-item-wrapper .message-item .message-bubble .send-failed[data-v-797e7322]:hover{text-decoration:underline}.bot-enter-active,.bot-leave-active{transition:opacity .3s ease,scale .6s ease}.bot-enter-from,.bot-leave-to{opacity:0;scale:0}.ai-bot-visualization{position:relative;display:flex;justify-content:center;align-items:center}.ai-bot-visualization.--disabled{opacity:.7;filter:grayscale(100%)}.ai-bot-visualization .inner-avatar{position:absolute;display:flex;justify-content:center;align-items:center;border-radius:50%}.ai-bot-visualization img.bot-image{cursor:pointer;scale:1;object-fit:cover;border-radius:50%;width:100%;height:100%}.ai-bot-visualization img.bot-image.grayscale{filter:grayscale(100%)}.ai-bot-visualization img.bot-image.--heart-beat{animation:animateHeart 1.5s infinite}.ai-bot-visualization img.bot-image.--spinning{animation-name:spin;animation-duration:6s;animation-iteration-count:infinite;animation-timing-function:ease-in-out}.ai-bot-visualization img.bot-image.--pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.ai-bot-visualization img.bot-image.--bounce{animation:bounce 1s ease infinite;transform-origin:center bottom}.ai-bot-visualization img.bot-image.--greyscale{transition:filter .5s ease-in-out;filter:grayscale(100%)}.ai-bot-visualization img.bot-image.--shake{animation:shake .82s cubic-bezier(.36,.07,.19,.97) infinite;transform:translateZ(0);backface-visibility:hidden;perspective:1000px}.ai-bot-visualization img.bot-image.--glow{animation:glow 2s ease-in-out infinite alternate;filter:drop-shadow(0 0 4px rgba(0,119,255,.7))}.ai-bot-visualization img.bot-image.--float{animation:float 3s ease-in-out infinite}.ai-bot-visualization img.bot-image.--wiggle{animation:wiggle 1s ease-in-out infinite}.ai-bot-visualization img.bot-image.--fade{animation:fade 2.5s ease-in-out infinite}.ai-bot-visualization img.bot-image.--zoom{animation:zoom 1.8s ease-in-out infinite}.ai-bot-visualization.size-2xs,.ai-bot-visualization .inner-avatar.size-2xs{width:18px;height:18px}.ai-bot-visualization.size-xs,.ai-bot-visualization .inner-avatar.size-xs{width:36px;height:36px}.ai-bot-visualization.size-sm,.ai-bot-visualization .inner-avatar.size-sm{width:42px;height:42px}.ai-bot-visualization.size-md,.ai-bot-visualization .inner-avatar.size-md{width:58px;height:58px}.ai-bot-visualization.size-lg,.ai-bot-visualization .inner-avatar.size-lg{width:72px;height:72px}.ai-bot-visualization.size-xl,.ai-bot-visualization .inner-avatar.size-xl{width:96px;height:96px}.ai-bot-visualization.size-2xl,.ai-bot-visualization .inner-avatar.size-2xl{width:120px;height:120px}.ai-bot-visualization.size-3xl,.ai-bot-visualization .inner-avatar.size-3xl{width:160px;height:160px}.ai-bot-visualization.size-4xl,.ai-bot-visualization .inner-avatar.size-4xl{width:200px;height:200px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes animateHeart{0%{transform:scale(.9)}5%{transform:scale(1.1)}10%{transform:scale(.9)}15%{transform:scale(1.2)}50%{transform:scale(.9)}to{transform:scale(.9)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(.95)}}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-10px)}60%{transform:translateY(-5px)}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-3px,0,0)}40%,60%{transform:translate3d(3px,0,0)}}@keyframes glow{0%{filter:drop-shadow(0 0 2px rgba(0,119,255,.3))}to{filter:drop-shadow(0 0 10px rgba(0,119,255,.8))}}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-8px)}to{transform:translateY(0)}}@keyframes wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}@keyframes fade{0%,to{opacity:1}50%{opacity:.5}}@keyframes zoom{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.user-inputting-indicator .inputting-indicator-inner[data-v-bdcc33e1]{display:flex;gap:2px}.connekz-message-log[data-v-066f5474]{max-height:100%;height:100%;position:relative;overflow:hidden}.connekz-message-log .chat-messages[data-v-066f5474]{z-index:0;width:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;position:relative;display:flex;flex-direction:column-reverse;align-items:flex-start}.connekz-message-log .chat-messages .connekz-inputting-indicator[data-v-066f5474]{position:absolute;bottom:12px;left:12px;z-index:1}.new-message[data-v-066f5474]{animation:slideIn-066f5474 .2s ease forwards}@keyframes slideIn-066f5474{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.connekz-transcriptions-container[data-v-4dd0de6e]{padding:12px 16px;overflow-y:auto;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 10%);mask-image:linear-gradient(to bottom,transparent 0%,black 10%);display:flex;flex-direction:column}.connekz-transcriptions-container .message-group[data-v-4dd0de6e]{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;height:100%;font-size:16px;line-height:1.4;overflow:hidden}.connekz-transcriptions-container .message-group .text-primary[data-v-4dd0de6e]{color:var(--connekz-primary)}.connekz-transcriptions-container .message-group .text-right[data-v-4dd0de6e]{text-align:right}.connekz-transcriptions-container .message-group .text-left[data-v-4dd0de6e]{text-align:left}.chat-item-enter-active[data-v-4dd0de6e],.chat-item-leave-active[data-v-4dd0de6e]{transition:all .3s ease}.chat-item-enter-from[data-v-4dd0de6e],.chat-item-leave-to[data-v-4dd0de6e]{opacity:0;transform:translateY(10px)}.chat-item-enter-to[data-v-4dd0de6e],.chat-item-leave-from[data-v-4dd0de6e]{opacity:1;transform:translateY(0)}.scrollbar-hidden[data-v-4dd0de6e]::-webkit-scrollbar{display:none}.scrollbar-hidden[data-v-4dd0de6e]{-ms-overflow-style:none;scrollbar-width:none}.globe[data-v-21fbc7d8]{width:100%;height:100%;padding:16px;position:relative}.glow[data-v-21fbc7d8]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;border-radius:50%}.sphere-wrapper[data-v-21fbc7d8]{position:absolute;border-radius:50%;overflow:hidden;transition:opacity .3s ease;opacity:1}.sphere[data-v-21fbc7d8]{-webkit-user-drag:none!important;position:absolute;object-fit:cover}.connekz-window[data-v-acc8247b]{font-family:Inter,sans-serif;font-size:14px;color:var(--connekz-content);width:100%;height:100%;max-width:100%;max-height:100%;overflow:hidden}.connekz-window .connekz-signal-indicator[data-v-acc8247b]{position:absolute;right:12px;top:12px;flex-shrink:0}.connekz-window .connekz-loader[data-v-acc8247b]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.connekz-window .connekz-loader .skeleton[data-v-acc8247b]{width:100%;height:100%;background:var(--connekz-content);opacity:.1;animation:shimmer-acc8247b 2s infinite ease-in-out}@keyframes shimmer-acc8247b{0%,to{opacity:.1}50%{opacity:0}}.connekz-window .connekz-connection-error-page[data-v-acc8247b]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;gap:16px;text-align:center}.connekz-window .connekz-connection-error-page .connekz-error-icon[data-v-acc8247b]{color:#dc2626;opacity:.8}.connekz-window .connekz-connection-error-page .connekz-error-message[data-v-acc8247b]{font-size:14px;line-height:1.5;color:var(--connekz-content);opacity:.8;max-width:280px;margin:0}.connekz-window .connekz-connection-error-page .connekz-error-retry-btn[data-v-acc8247b]{margin-top:4px;padding:8px 24px;font-size:13px;font-weight:500;color:#fff;background:var(--connekz-primary, #008fd7);border:none;border-radius:8px;cursor:pointer;transition:opacity .2s}.connekz-window .connekz-connection-error-page .connekz-error-retry-btn[data-v-acc8247b]:hover{opacity:.85}.connekz-window .connekz-connection-error-page .connekz-error-retry-btn[data-v-acc8247b]:active{opacity:.7}.connekz-window .connekz-connection-error-page .connekz-error-code[data-v-acc8247b]{font-size:11px;opacity:.4;font-family:monospace}.connekz-window .connekz-init-error[data-v-acc8247b]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.connekz-window .connekz-init-error span[data-v-acc8247b]{width:fit-content;height:24px;background:#ff00001a;display:flex;align-items:center;justify-content:center;padding:4px 12px;border-radius:8px;color:#f00c}.connekz-window .connekz-mic-permission-screen[data-v-acc8247b]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;align-items:center;justify-content:center;background:var(--connekz-bg, #fff)}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-content[data-v-acc8247b]{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px;gap:12px;max-width:320px}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-icon[data-v-acc8247b]{color:var(--connekz-primary, #008fd7);opacity:.8;margin-bottom:4px}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-title[data-v-acc8247b]{font-size:16px;font-weight:600;margin:0;color:var(--connekz-content)}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-message[data-v-acc8247b]{font-size:13px;line-height:1.5;color:var(--connekz-content);opacity:.7;margin:0}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-hint[data-v-acc8247b]{font-size:12px;line-height:1.4;color:var(--connekz-content);opacity:.5;font-style:italic;margin:0}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-allow-btn[data-v-acc8247b]{margin-top:4px;padding:10px 28px;font-size:14px;font-weight:500;color:#fff;background:var(--connekz-primary, #008fd7);border:none;border-radius:8px;cursor:pointer;transition:opacity .2s}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-allow-btn[data-v-acc8247b]:hover{opacity:.85}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-allow-btn[data-v-acc8247b]:active{opacity:.7}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-chat-btn[data-v-acc8247b]{padding:8px 20px;font-size:13px;font-weight:500;color:var(--connekz-primary, #008fd7);background:transparent;border:1px solid var(--connekz-primary, #008fd7);border-radius:8px;cursor:pointer;transition:all .2s}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-chat-btn[data-v-acc8247b]:hover{background:#008fd70f}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-chat-btn[data-v-acc8247b]:active{opacity:.7}.connekz-window .connekz-loaded-window[data-v-acc8247b]{width:100%;height:100%;max-width:100%;max-height:100%;position:relative;overflow:hidden}.connekz-window .connekz-loaded-window .conversation-type-switcher[data-v-acc8247b]{width:100%;height:fit-content;display:flex;justify-content:center;align-items:center}.connekz-window .connekz-loaded-window .reconnecting-message-wrapper[data-v-acc8247b]{height:32px;overflow:hidden}.connekz-window .connekz-loaded-window .reconnecting-message-wrapper .reconnecting-message[data-v-acc8247b]{display:flex;width:100%;justify-content:center;align-items:center;margin-top:12px;font-style:italic;opacity:.7;color:red}.connekz-window .connekz-loaded-window .connekz-main[data-v-acc8247b]{overflow:hidden;max-height:100%;display:flex;flex-direction:row;width:200%;height:calc(100% - (78px + env(safe-area-inset-top) + env(safe-area-inset-bottom)));transition:transform .3s ease}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper[data-v-acc8247b],.connekz-window .connekz-loaded-window .connekz-main .connekz-chat-wrapper[data-v-acc8247b]{width:50%;min-width:50%;max-width:50%;max-height:100%;position:relative;overflow:hidden}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper[data-v-acc8247b]{display:flex;flex-direction:column;height:100%;overflow:hidden}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-sphere-wrapper[data-v-acc8247b]{width:100%;padding:12px 0;height:fit-content;display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-sphere-wrapper .connekz-sphere[data-v-acc8247b]{width:72px;height:72px}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-status-wrapper[data-v-acc8247b]{margin-top:8px;width:100%;height:32px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-status-wrapper .connekz-status[data-v-acc8247b]{opacity:.7;display:flex;justify-content:center;align-items:center;gap:6px}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-status-wrapper .connekz-status.--error[data-v-acc8247b]{color:red}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-connection-warning[data-v-acc8247b]{display:flex;width:100%;justify-content:center;align-items:center;padding:6px 12px;font-size:12px;font-style:italic;color:#b45309;background:#f59e0b1a;border-radius:6px;margin:4px 8px;width:calc(100% - 16px)}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-connection-error[data-v-acc8247b]{display:flex;width:100%;justify-content:center;align-items:center;padding:6px 12px;font-size:12px;font-style:italic;color:#dc2626;background:#ef44441a;border-radius:6px;margin:4px 8px;width:calc(100% - 16px);cursor:pointer}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-transcriptions[data-v-acc8247b]{flex:1;overflow-y:auto;overflow-x:hidden}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-controls-wrapper[data-v-acc8247b]{max-width:100%;display:flex;justify-content:center;align-items:center;margin-top:12px;padding:0 12px;flex-shrink:0}.connekz-window .connekz-loaded-window .connekz-main .connekz-chat-wrapper[data-v-acc8247b]{display:flex;flex-direction:column;height:100%}.connekz-window .connekz-loaded-window .connekz-main .connekz-chat-wrapper .message-log[data-v-acc8247b]{flex:1;overflow-y:auto;overflow-x:hidden}.connekz-window .connekz-loaded-window .connekz-main .connekz-chat-wrapper .message-inputs[data-v-acc8247b]{flex-shrink:0}\n";d.head.appendChild(s)}catch(e){console.warn("[connekz-agent] Failed to inject styles:",e)}})();
1
+ (function(){try{var d=document,s=d.createElement("style");s.setAttribute("data-connekz-agent","");s.textContent=":root{--connekz-primary: #008fd7;--connekz-secondary: #00D0EF;--connekz-content: #404040}@media (prefers-color-scheme: dark){:root{--connekz-primary: #008fd7;--connekz-secondary: #00D0EF;--connekz-content: #f8f8f8}}.connekz_glass-panel{background:linear-gradient(to bottom,#051b270d,#18364c78);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);box-shadow:0 4px 12px #0003}.connekz_glass-panel.selectable{cursor:pointer}.connekz_glass-panel.selectable:hover{background:linear-gradient(to bottom,#051b271a,#18364c7a);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:0 6px 16px #00000026;transform:scale(1.02);transition:all .2s ease}.connekz_clickable-scale{cursor:pointer;transition:transform .2s ease;scale:1}.connekz_clickable-scale:hover{scale:1.02}.connekz_btn-ghost:hover{background-color:transparent;box-shadow:none;outline:none;border:none}.connekz_btn{border:unset;transition:all .2s ease;cursor:pointer;color:var(--connekz-content)}.connekz_btn:hover,.connekz_btn.--active{color:var(--connekz-primary)}.connekz_btn:disabled{cursor:not-allowed;opacity:.6}.connekz_btn:disabled:hover{color:var(--connekz-content)}.connekz_btn.connekz_btn-ghost{background:transparent;border:none}.connekz_rounded{border-radius:50%}.connekz_color-primary{color:var(--connekz-primary)}.connekz_color-secondary{color:var(--connekz-secondary)}.connekz_bg-primary{background-color:var(--connekz-primary)}.connekz_bg-secondary{background-color:var(--connekz-secondary)}svg[data-v-887fcaa7]{display:inline-block}svg[data-v-887fcaa7] *{fill:currentColor}.connekz_switch[data-v-a7848b10]{width:fit-content;border-radius:10px;padding:4px 12px;display:flex;gap:8px;justify-content:space-between}.dot-animation-wrapper .dot[data-v-0d55de5f]{font-size:18px;opacity:0;animation:fadeInOut-0d55de5f 1.5s infinite}.dot-animation-wrapper .dot[data-v-0d55de5f]:nth-child(1){animation-delay:0s}.dot-animation-wrapper .dot[data-v-0d55de5f]:nth-child(2){animation-delay:.3s}.dot-animation-wrapper .dot[data-v-0d55de5f]:nth-child(3){animation-delay:.6s}@keyframes fadeInOut-0d55de5f{0%,to{opacity:0}50%{opacity:1}}.text-message-input[data-v-5d23ab16]{padding-left:8px}.text-message-input .textarea[data-v-5d23ab16]{width:100%;max-height:4.5rem;line-height:22px;font-size:16px;font-family:Inter,sans-serif;color:var(--connekz-content);padding:0 8px 0 2px;min-height:unset;background-color:transparent;outline:none;resize:none;border:none;overflow-x:hidden;overflow-y:auto;height:fit-content;box-shadow:unset}.text-message-input .textarea[data-v-5d23ab16]:hover,.text-message-input .textarea[data-v-5d23ab16]:focus,.text-message-input .textarea[data-v-5d23ab16]:active{background-color:transparent;outline:none;border:none;box-shadow:unset}.emoji-mart,.emoji-mart *{box-sizing:border-box;line-height:1.15}.emoji-mart{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;display:flex;flex-direction:column;height:420px;color:#222427;border:1px solid #d9d9d9;border-radius:5px;background:#fff}.emoji-mart-emoji{padding:6px;position:relative;display:inline-block;font-size:0;border:none;background:none;box-shadow:none}.emoji-mart-emoji span{display:inline-block}.emoji-mart-preview-emoji .emoji-mart-emoji span{width:38px;height:38px;font-size:32px}.emoji-type-native{font-family:\"Segoe UI Emoji\",Segoe UI Symbol,Segoe UI,\"Apple Color Emoji\",Twemoji Mozilla,\"Noto Color Emoji\",EmojiOne Color,\"Android Emoji\";word-break:keep-all}.emoji-type-image{background-size:6100%}.emoji-type-image.emoji-set-apple{background-image:url(https://unpkg.com/emoji-datasource-apple@15.0.1/img/apple/sheets-256/64.png)}.emoji-type-image.emoji-set-facebook{background-image:url(https://unpkg.com/emoji-datasource-facebook@15.0.1/img/facebook/sheets-256/64.png)}.emoji-type-image.emoji-set-google{background-image:url(https://unpkg.com/emoji-datasource-google@15.0.1/img/google/sheets-256/64.png)}.emoji-type-image.emoji-set-twitter{background-image:url(https://unpkg.com/emoji-datasource-twitter@15.0.1/img/twitter/sheets-256/64.png)}.emoji-mart-bar{border:0 solid #d9d9d9}.emoji-mart-bar:first-child{border-bottom-width:1px;border-top-left-radius:5px;border-top-right-radius:5px}.emoji-mart-bar:last-child{border-top-width:1px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.emoji-mart-scroll{position:relative;overflow-y:scroll;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-anchors{display:flex;flex-direction:row;justify-content:space-between;padding:0 6px;color:#858585;line-height:0}.emoji-mart-anchor{position:relative;display:block;flex:1 1 auto;text-align:center;padding:12px 4px;overflow:hidden;transition:color .1s ease-out;border:none;background:none;box-shadow:none}.emoji-mart-anchor:hover,.emoji-mart-anchor-selected{color:#464646}.emoji-mart-anchor-selected .emoji-mart-anchor-bar{bottom:0}.emoji-mart-anchor-bar{position:absolute;bottom:-3px;left:0;width:100%;height:3px;background-color:#464646}.emoji-mart-anchors i{display:inline-block;width:100%;max-width:22px}.emoji-mart-anchors svg{fill:currentColor;max-height:18px}.emoji-mart .scroller{height:250px;position:relative;flex:1;padding:0 6px 6px;z-index:0;will-change:transform;-webkit-overflow-scrolling:touch}.emoji-mart-search{margin-top:6px;padding:0 6px}.emoji-mart-search input{font-size:16px;display:block;width:100%;padding:.2em .6em;border-radius:25px;border:1px solid #d9d9d9;outline:0}.emoji-mart-search-results{height:250px;overflow-y:scroll}.emoji-mart-category{position:relative}.emoji-mart-category .emoji-mart-emoji span{z-index:1;position:relative;text-align:center;cursor:default}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{z-index:0;content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#f4f4f4;border-radius:100%;opacity:0}.emoji-mart-category .emoji-mart-emoji:hover:before,.emoji-mart-emoji-selected:before{opacity:1}.emoji-mart-category-label{position:sticky;top:0}.emoji-mart-static .emoji-mart-category-label{z-index:2;position:relative}.emoji-mart-category-label h3{display:block;font-size:16px;width:100%;font-weight:500;padding:5px 6px;background-color:#fff;background-color:#fffffff2}.emoji-mart-emoji{position:relative;display:inline-block;font-size:0}.emoji-mart-no-results{font-size:14px;text-align:center;padding-top:70px;color:#858585}.emoji-mart-no-results .emoji-mart-category-label{display:none}.emoji-mart-no-results .emoji-mart-no-results-label{margin-top:.2em}.emoji-mart-no-results .emoji-mart-emoji:hover:before{content:none}.emoji-mart-preview{position:relative;height:70px}.emoji-mart-preview-emoji,.emoji-mart-preview-data,.emoji-mart-preview-skins{position:absolute;top:50%;transform:translateY(-50%)}.emoji-mart-preview-emoji{left:12px}.emoji-mart-preview-data{left:68px;right:12px;word-break:break-all}.emoji-mart-preview-skins{right:30px;text-align:right}.emoji-mart-preview-name{font-size:14px}.emoji-mart-preview-shortname{font-size:12px;color:#888}.emoji-mart-preview-shortname+.emoji-mart-preview-shortname,.emoji-mart-preview-shortname+.emoji-mart-preview-emoticon,.emoji-mart-preview-emoticon+.emoji-mart-preview-emoticon{margin-left:.5em}.emoji-mart-preview-emoticon{font-size:11px;color:#bbb}.emoji-mart-title span{display:inline-block;vertical-align:middle}.emoji-mart-title .emoji-mart-emoji{padding:0}.emoji-mart-title-label{color:#999a9c;font-size:21px;font-weight:300}.emoji-mart-skin-swatches{font-size:0;padding:2px 0;border:1px solid #d9d9d9;border-radius:12px;background-color:#fff}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch{width:16px;padding:0 2px}.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after{opacity:.75}.emoji-mart-skin-swatch{display:inline-block;width:0;vertical-align:middle;transition-property:width,padding;transition-duration:.125s;transition-timing-function:ease-out}.emoji-mart-skin-swatch:nth-child(1){transition-delay:0s}.emoji-mart-skin-swatch:nth-child(2){transition-delay:.03s}.emoji-mart-skin-swatch:nth-child(3){transition-delay:.06s}.emoji-mart-skin-swatch:nth-child(4){transition-delay:.09s}.emoji-mart-skin-swatch:nth-child(5){transition-delay:.12s}.emoji-mart-skin-swatch:nth-child(6){transition-delay:.15s}.emoji-mart-skin-swatch-selected{position:relative;width:16px;padding:0 2px}.emoji-mart-skin-swatch-selected:after{content:\"\";position:absolute;top:50%;left:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background-color:#fff;border-radius:100%;pointer-events:none;opacity:0;transition:opacity .2s ease-out}.emoji-mart-skin{display:inline-block;width:100%;padding-top:100%;max-width:12px;border-radius:100%}.emoji-mart-skin-tone-1{background-color:#ffc93a}.emoji-mart-skin-tone-2{background-color:#fadcbc}.emoji-mart-skin-tone-3{background-color:#e0bb95}.emoji-mart-skin-tone-4{background-color:#bf8f68}.emoji-mart-skin-tone-5{background-color:#9b643d}.emoji-mart-skin-tone-6{background-color:#594539}.emoji-mart .vue-recycle-scroller{position:relative}.emoji-mart .vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.emoji-mart .vue-recycle-scroller.direction-horizontal{display:flex}.emoji-mart .vue-recycle-scroller__slot{flex:auto 0 0}.emoji-mart .vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.emoji-mart .vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.emoji-mart .vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.emoji-mart .vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.emoji-mart .vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.emoji-mart .vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.emoji-mart .resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.emoji-mart .resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.emoji-mart-search .hidden{display:none;visibility:hidden}.emoji-message-input .emoji-picker[data-v-e5162b25]{position:absolute;opacity:0;overflow:hidden;width:0;height:0;transform:translate(-16px,24px);transition:all .2s ease;z-index:99}.emoji-message-input .emoji-picker.--open[data-v-e5162b25]{width:338px;height:420px;transform:translate(0);opacity:1}.emoji-mart-preview,.emoji-mart-bar.emoji-mart-bar-preview,.emoji-mart-search{display:none!important}.emoji-mart.emoji-mart-static{background:linear-gradient(to bottom,#051b27cc,#18364c);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:4px;box-shadow:0 4px 12px #0003;border:1px solid rgba(255,255,255,.2);border-top:1px solid rgba(255,255,255,.1);border-bottom:2px solid rgba(255,255,255,.4);border-radius:12px}.emoji-btn-icon{margin-top:2px}.emoji-mart-anchor{color:#fff!important}.emoji-mart-category-label{background-color:transparent!important;color:#fff!important}.message-input-wrapper[data-v-08883d50]{display:flex;align-items:center;border-radius:16px;gap:0;padding:2px 4px}.message-input-wrapper>div[data-v-08883d50]:first-child{flex:1}.message-input-wrapper .message-send-button[data-v-08883d50]{display:flex;justify-content:center;align-items:center;background-color:var(--connekz-primary);color:#fff;width:32px;height:32px}.connekz-controls-container[data-v-c1ad6b65]{width:100%;height:80px;display:flex;justify-content:space-between;gap:12px;align-items:center}.connekz-controls-container .control-btn[data-v-c1ad6b65]{width:40px;height:40px;padding:0}.connekz-controls-container .control-btn-large[data-v-c1ad6b65]{width:60px;height:60px}.ai-keyboard-input[data-v-c1ad6b65]{position:absolute;right:16px;opacity:1;width:calc(100% - 88px);transition:all .2s ease-out}.ai-keyboard-input.--hidden[data-v-c1ad6b65]{opacity:0;width:0}.signal-strength .bar-active[data-v-3f35384f]{fill:var(--connekz-primary, #6366f1)}.signal-strength .bar-weak[data-v-3f35384f]{fill:#ef4444}.signal-strength .bar-inactive[data-v-3f35384f]{fill:var(--connekz-content, #9ca3af);opacity:.3}.connekz-message-item-wrapper[data-v-797e7322]{width:100%;display:flex}.connekz-message-item-wrapper.failed-message[data-v-797e7322]{padding-bottom:20px}.connekz-message-item-wrapper.align-right[data-v-797e7322]{justify-content:flex-end}.connekz-message-item-wrapper.align-right .message-item[data-v-797e7322]{margin-right:12px}.connekz-message-item-wrapper.align-left[data-v-797e7322]{margin-left:12px}.connekz-message-item-wrapper.last-message[data-v-797e7322]{margin-bottom:72px}.connekz-message-item-wrapper .message-item[data-v-797e7322]{border-radius:20px;margin-top:5px;margin-bottom:5px;display:inline-block;position:relative}.connekz-message-item-wrapper .message-item.yours[data-v-797e7322]{margin-right:25%}.connekz-message-item-wrapper .message-item.yours .message-bubble[data-v-797e7322]{background-color:#eee}.connekz-message-item-wrapper .message-item.yours.last[data-v-797e7322]:before{content:\"\";position:absolute;z-index:-1;bottom:0;left:-7px;height:20px;width:20px;background:#eee;border-bottom-right-radius:15px}.connekz-message-item-wrapper .message-item.yours.last[data-v-797e7322]:after{content:\"\";position:absolute;z-index:0;bottom:0;left:-10px;width:10px;height:20px;background:#fff;border-bottom-right-radius:10px}.connekz-message-item-wrapper .message-item.mine[data-v-797e7322]{color:#fff;margin-left:25%}.connekz-message-item-wrapper .message-item.mine .message-bubble[data-v-797e7322]{background:linear-gradient(to bottom,#00d0ea,#0085d1);background-attachment:fixed;color:#fff}.connekz-message-item-wrapper .message-item.mine.last[data-v-797e7322]:before{content:\"\";position:absolute;z-index:-1;bottom:0;right:-8px;height:20px;width:20px;background:linear-gradient(to bottom,#00d0ea,#0085d1);background-attachment:fixed;border-bottom-left-radius:15px}.connekz-message-item-wrapper .message-item.mine.last[data-v-797e7322]:after{content:\"\";position:absolute;z-index:0;bottom:0;right:-10px;width:10px;height:20px;background:#fff;border-bottom-left-radius:10px}.connekz-message-item-wrapper .message-item .message-bubble[data-v-797e7322]{padding:8px 15px;border-radius:20px;position:relative;z-index:1}.connekz-message-item-wrapper .message-item .message-bubble .message-at[data-v-797e7322]{width:100%;text-align:right;font-size:10px;margin-top:4px;opacity:.5}.connekz-message-item-wrapper .message-item .message-bubble .send-failed[data-v-797e7322]{position:absolute;color:red;bottom:-20px;right:12px;width:fit-content;display:flex;justify-content:flex-end;text-wrap:nowrap;cursor:pointer}.connekz-message-item-wrapper .message-item .message-bubble .send-failed[data-v-797e7322]:hover{text-decoration:underline}.bot-enter-active,.bot-leave-active{transition:opacity .3s ease,scale .6s ease}.bot-enter-from,.bot-leave-to{opacity:0;scale:0}.ai-bot-visualization{position:relative;display:flex;justify-content:center;align-items:center}.ai-bot-visualization.--disabled{opacity:.7;filter:grayscale(100%)}.ai-bot-visualization .inner-avatar{position:absolute;display:flex;justify-content:center;align-items:center;border-radius:50%}.ai-bot-visualization img.bot-image{cursor:pointer;scale:1;object-fit:cover;border-radius:50%;width:100%;height:100%}.ai-bot-visualization img.bot-image.grayscale{filter:grayscale(100%)}.ai-bot-visualization img.bot-image.--heart-beat{animation:animateHeart 1.5s infinite}.ai-bot-visualization img.bot-image.--spinning{animation-name:spin;animation-duration:6s;animation-iteration-count:infinite;animation-timing-function:ease-in-out}.ai-bot-visualization img.bot-image.--pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.ai-bot-visualization img.bot-image.--bounce{animation:bounce 1s ease infinite;transform-origin:center bottom}.ai-bot-visualization img.bot-image.--greyscale{transition:filter .5s ease-in-out;filter:grayscale(100%)}.ai-bot-visualization img.bot-image.--shake{animation:shake .82s cubic-bezier(.36,.07,.19,.97) infinite;transform:translateZ(0);backface-visibility:hidden;perspective:1000px}.ai-bot-visualization img.bot-image.--glow{animation:glow 2s ease-in-out infinite alternate;filter:drop-shadow(0 0 4px rgba(0,119,255,.7))}.ai-bot-visualization img.bot-image.--float{animation:float 3s ease-in-out infinite}.ai-bot-visualization img.bot-image.--wiggle{animation:wiggle 1s ease-in-out infinite}.ai-bot-visualization img.bot-image.--fade{animation:fade 2.5s ease-in-out infinite}.ai-bot-visualization img.bot-image.--zoom{animation:zoom 1.8s ease-in-out infinite}.ai-bot-visualization.size-2xs,.ai-bot-visualization .inner-avatar.size-2xs{width:18px;height:18px}.ai-bot-visualization.size-xs,.ai-bot-visualization .inner-avatar.size-xs{width:36px;height:36px}.ai-bot-visualization.size-sm,.ai-bot-visualization .inner-avatar.size-sm{width:42px;height:42px}.ai-bot-visualization.size-md,.ai-bot-visualization .inner-avatar.size-md{width:58px;height:58px}.ai-bot-visualization.size-lg,.ai-bot-visualization .inner-avatar.size-lg{width:72px;height:72px}.ai-bot-visualization.size-xl,.ai-bot-visualization .inner-avatar.size-xl{width:96px;height:96px}.ai-bot-visualization.size-2xl,.ai-bot-visualization .inner-avatar.size-2xl{width:120px;height:120px}.ai-bot-visualization.size-3xl,.ai-bot-visualization .inner-avatar.size-3xl{width:160px;height:160px}.ai-bot-visualization.size-4xl,.ai-bot-visualization .inner-avatar.size-4xl{width:200px;height:200px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes animateHeart{0%{transform:scale(.9)}5%{transform:scale(1.1)}10%{transform:scale(.9)}15%{transform:scale(1.2)}50%{transform:scale(.9)}to{transform:scale(.9)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(.95)}}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-10px)}60%{transform:translateY(-5px)}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-3px,0,0)}40%,60%{transform:translate3d(3px,0,0)}}@keyframes glow{0%{filter:drop-shadow(0 0 2px rgba(0,119,255,.3))}to{filter:drop-shadow(0 0 10px rgba(0,119,255,.8))}}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-8px)}to{transform:translateY(0)}}@keyframes wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}@keyframes fade{0%,to{opacity:1}50%{opacity:.5}}@keyframes zoom{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.user-inputting-indicator .inputting-indicator-inner[data-v-bdcc33e1]{display:flex;gap:2px}.connekz-message-log[data-v-066f5474]{max-height:100%;height:100%;position:relative;overflow:hidden}.connekz-message-log .chat-messages[data-v-066f5474]{z-index:0;width:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;position:relative;display:flex;flex-direction:column-reverse;align-items:flex-start}.connekz-message-log .chat-messages .connekz-inputting-indicator[data-v-066f5474]{position:absolute;bottom:12px;left:12px;z-index:1}.new-message[data-v-066f5474]{animation:slideIn-066f5474 .2s ease forwards}@keyframes slideIn-066f5474{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.connekz-transcriptions-container[data-v-4dd0de6e]{padding:12px 16px;overflow-y:auto;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 10%);mask-image:linear-gradient(to bottom,transparent 0%,black 10%);display:flex;flex-direction:column}.connekz-transcriptions-container .message-group[data-v-4dd0de6e]{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;height:100%;font-size:16px;line-height:1.4;overflow:hidden}.connekz-transcriptions-container .message-group .text-primary[data-v-4dd0de6e]{color:var(--connekz-primary)}.connekz-transcriptions-container .message-group .text-right[data-v-4dd0de6e]{text-align:right}.connekz-transcriptions-container .message-group .text-left[data-v-4dd0de6e]{text-align:left}.chat-item-enter-active[data-v-4dd0de6e],.chat-item-leave-active[data-v-4dd0de6e]{transition:all .3s ease}.chat-item-enter-from[data-v-4dd0de6e],.chat-item-leave-to[data-v-4dd0de6e]{opacity:0;transform:translateY(10px)}.chat-item-enter-to[data-v-4dd0de6e],.chat-item-leave-from[data-v-4dd0de6e]{opacity:1;transform:translateY(0)}.scrollbar-hidden[data-v-4dd0de6e]::-webkit-scrollbar{display:none}.scrollbar-hidden[data-v-4dd0de6e]{-ms-overflow-style:none;scrollbar-width:none}.globe[data-v-21fbc7d8]{width:100%;height:100%;padding:16px;position:relative}.glow[data-v-21fbc7d8]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;border-radius:50%}.sphere-wrapper[data-v-21fbc7d8]{position:absolute;border-radius:50%;overflow:hidden;transition:opacity .3s ease;opacity:1}.sphere[data-v-21fbc7d8]{-webkit-user-drag:none!important;position:absolute;object-fit:cover}.connekz-window[data-v-acc8247b]{font-family:Inter,sans-serif;font-size:14px;color:var(--connekz-content);width:100%;height:100%;max-width:100%;max-height:100%;overflow:hidden}.connekz-window .connekz-signal-indicator[data-v-acc8247b]{position:absolute;right:12px;top:12px;flex-shrink:0}.connekz-window .connekz-loader[data-v-acc8247b]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.connekz-window .connekz-loader .skeleton[data-v-acc8247b]{width:100%;height:100%;background:var(--connekz-content);opacity:.1;animation:shimmer-acc8247b 2s infinite ease-in-out}@keyframes shimmer-acc8247b{0%,to{opacity:.1}50%{opacity:0}}.connekz-window .connekz-connection-error-page[data-v-acc8247b]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;gap:16px;text-align:center}.connekz-window .connekz-connection-error-page .connekz-error-icon[data-v-acc8247b]{color:#dc2626;opacity:.8}.connekz-window .connekz-connection-error-page .connekz-error-message[data-v-acc8247b]{font-size:14px;line-height:1.5;color:var(--connekz-content);opacity:.8;max-width:280px;margin:0}.connekz-window .connekz-connection-error-page .connekz-error-retry-btn[data-v-acc8247b]{margin-top:4px;padding:8px 24px;font-size:13px;font-weight:500;color:#fff;background:var(--connekz-primary, #008fd7);border:none;border-radius:8px;cursor:pointer;transition:opacity .2s}.connekz-window .connekz-connection-error-page .connekz-error-retry-btn[data-v-acc8247b]:hover{opacity:.85}.connekz-window .connekz-connection-error-page .connekz-error-retry-btn[data-v-acc8247b]:active{opacity:.7}.connekz-window .connekz-connection-error-page .connekz-error-code[data-v-acc8247b]{font-size:11px;opacity:.4;font-family:monospace}.connekz-window .connekz-init-error[data-v-acc8247b]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.connekz-window .connekz-init-error span[data-v-acc8247b]{width:fit-content;height:24px;background:#ff00001a;display:flex;align-items:center;justify-content:center;padding:4px 12px;border-radius:8px;color:#f00c}.connekz-window .connekz-mic-permission-screen[data-v-acc8247b]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;align-items:center;justify-content:center;background:var(--connekz-bg, #fff)}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-content[data-v-acc8247b]{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px;gap:12px;max-width:320px}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-icon[data-v-acc8247b]{color:var(--connekz-primary, #008fd7);opacity:.8;margin-bottom:4px}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-title[data-v-acc8247b]{font-size:16px;font-weight:600;margin:0;color:var(--connekz-content)}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-message[data-v-acc8247b]{font-size:13px;line-height:1.5;color:var(--connekz-content);opacity:.7;margin:0}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-hint[data-v-acc8247b]{font-size:12px;line-height:1.4;color:var(--connekz-content);opacity:.5;font-style:italic;margin:0}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-allow-btn[data-v-acc8247b]{margin-top:4px;padding:10px 28px;font-size:14px;font-weight:500;color:#fff;background:var(--connekz-primary, #008fd7);border:none;border-radius:8px;cursor:pointer;transition:opacity .2s}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-allow-btn[data-v-acc8247b]:hover{opacity:.85}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-allow-btn[data-v-acc8247b]:active{opacity:.7}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-chat-btn[data-v-acc8247b]{padding:8px 20px;font-size:13px;font-weight:500;color:var(--connekz-primary, #008fd7);background:transparent;border:1px solid var(--connekz-primary, #008fd7);border-radius:8px;cursor:pointer;transition:all .2s}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-chat-btn[data-v-acc8247b]:hover{background:#008fd70f}.connekz-window .connekz-mic-permission-screen .connekz-mic-permission-chat-btn[data-v-acc8247b]:active{opacity:.7}.connekz-window .connekz-loaded-window[data-v-acc8247b]{width:100%;height:100%;max-width:100%;max-height:100%;position:relative;overflow:hidden}.connekz-window .connekz-loaded-window .conversation-type-switcher[data-v-acc8247b]{width:100%;height:fit-content;display:flex;justify-content:center;align-items:center}.connekz-window .connekz-loaded-window .reconnecting-message-wrapper[data-v-acc8247b]{height:32px;overflow:hidden}.connekz-window .connekz-loaded-window .reconnecting-message-wrapper .reconnecting-message[data-v-acc8247b]{display:flex;width:100%;justify-content:center;align-items:center;margin-top:12px;font-style:italic;opacity:.7;color:red}.connekz-window .connekz-loaded-window .connekz-main[data-v-acc8247b]{overflow:hidden;max-height:100%;display:flex;flex-direction:row;width:200%;height:calc(100% - (78px + env(safe-area-inset-top) + env(safe-area-inset-bottom)));transition:transform .3s ease}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper[data-v-acc8247b],.connekz-window .connekz-loaded-window .connekz-main .connekz-chat-wrapper[data-v-acc8247b]{width:50%;min-width:50%;max-width:50%;max-height:100%;position:relative;overflow:hidden}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper[data-v-acc8247b]{display:flex;flex-direction:column;height:100%;overflow:hidden}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-sphere-wrapper[data-v-acc8247b]{width:100%;padding:12px 0;height:fit-content;display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-sphere-wrapper .connekz-sphere[data-v-acc8247b]{width:72px;height:72px}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-status-wrapper[data-v-acc8247b]{margin-top:8px;width:100%;height:32px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-status-wrapper .connekz-status[data-v-acc8247b]{opacity:.7;display:flex;justify-content:center;align-items:center;gap:6px}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-status-wrapper .connekz-status.--error[data-v-acc8247b]{color:red}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-connection-warning[data-v-acc8247b]{display:flex;width:100%;justify-content:center;align-items:center;padding:6px 12px;font-size:12px;font-style:italic;color:#b45309;background:#f59e0b1a;border-radius:6px;margin:4px 8px;width:calc(100% - 16px)}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-connection-error[data-v-acc8247b]{display:flex;width:100%;justify-content:center;align-items:center;padding:6px 12px;font-size:12px;font-style:italic;color:#dc2626;background:#ef44441a;border-radius:6px;margin:4px 8px;width:calc(100% - 16px);cursor:pointer}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-transcriptions[data-v-acc8247b]{flex:1;overflow-y:auto;overflow-x:hidden}.connekz-window .connekz-loaded-window .connekz-main .connekz-voice-wrapper .connekz-controls-wrapper[data-v-acc8247b]{max-width:100%;display:flex;justify-content:center;align-items:center;margin-top:12px;padding:0 12px;flex-shrink:0}.connekz-window .connekz-loaded-window .connekz-main .connekz-chat-wrapper[data-v-acc8247b]{display:flex;flex-direction:column;height:100%}.connekz-window .connekz-loaded-window .connekz-main .connekz-chat-wrapper .message-log[data-v-acc8247b]{flex:1;overflow-y:auto;overflow-x:hidden}.connekz-window .connekz-loaded-window .connekz-main .connekz-chat-wrapper .message-inputs[data-v-acc8247b]{flex-shrink:0}\n";d.head.appendChild(s)}catch(e){console.warn("[connekz-agent] Failed to inject styles:",e)}})();
2
2
  var lF = Object.defineProperty;
3
3
  var dF = (e, t, a) => t in e ? lF(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
4
4
  var Hi = (e, t, a) => dF(e, typeof t != "symbol" ? t + "" : t, a);
@@ -1081,22 +1081,22 @@ function rA(e, t = !1, a = Ta) {
1081
1081
  );
1082
1082
  }
1083
1083
  function nA(e, t, a = Pe) {
1084
- const { immediate: i, deep: r, once: n, scheduler: o, augmentJob: f, call: u } = a, l = (R) => {
1084
+ const { immediate: i, deep: r, once: n, scheduler: o, augmentJob: f, call: u } = a, l = (N) => {
1085
1085
  (a.onWarn || bt)(
1086
1086
  "Invalid watch source: ",
1087
- R,
1087
+ N,
1088
1088
  "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
1089
1089
  );
1090
- }, s = (R) => r ? R : ot(R) || r === !1 || r === 0 ? ra(R, 1) : ra(R);
1090
+ }, s = (N) => r ? N : ot(N) || r === !1 || r === 0 ? ra(N, 1) : ra(N);
1091
1091
  let g, A, h, b, m = !1, D = !1;
1092
- if (xe(e) ? (A = () => e.value, m = ot(e)) : Ut(e) ? (A = () => s(e), m = !0) : te(e) ? (D = !0, m = e.some((R) => Ut(R) || ot(R)), A = () => e.map((R) => {
1093
- if (xe(R))
1094
- return R.value;
1095
- if (Ut(R))
1096
- return s(R);
1097
- if (ae(R))
1098
- return u ? u(R, 2) : R();
1099
- Ee.NODE_ENV !== "production" && l(R);
1092
+ if (xe(e) ? (A = () => e.value, m = ot(e)) : Ut(e) ? (A = () => s(e), m = !0) : te(e) ? (D = !0, m = e.some((N) => Ut(N) || ot(N)), A = () => e.map((N) => {
1093
+ if (xe(N))
1094
+ return N.value;
1095
+ if (Ut(N))
1096
+ return s(N);
1097
+ if (ae(N))
1098
+ return u ? u(N, 2) : N();
1099
+ Ee.NODE_ENV !== "production" && l(N);
1100
1100
  })) : ae(e) ? t ? A = u ? () => u(e, 2) : e : A = () => {
1101
1101
  if (h) {
1102
1102
  sa();
@@ -1106,29 +1106,29 @@ function nA(e, t, a = Pe) {
1106
1106
  ga();
1107
1107
  }
1108
1108
  }
1109
- const R = Ta;
1109
+ const N = Ta;
1110
1110
  Ta = g;
1111
1111
  try {
1112
1112
  return u ? u(e, 3, [b]) : e(b);
1113
1113
  } finally {
1114
- Ta = R;
1114
+ Ta = N;
1115
1115
  }
1116
1116
  } : (A = Ue, Ee.NODE_ENV !== "production" && l(e)), t && r) {
1117
- const R = A, re = r === !0 ? 1 / 0 : r;
1118
- A = () => ra(R(), re);
1117
+ const N = A, re = r === !0 ? 1 / 0 : r;
1118
+ A = () => ra(N(), re);
1119
1119
  }
1120
1120
  const v = kf(), z = () => {
1121
1121
  g.stop(), v && v.active && vf(v.effects, g);
1122
1122
  };
1123
1123
  if (n && t) {
1124
- const R = t;
1124
+ const N = t;
1125
1125
  t = (...re) => {
1126
- R(...re), z();
1126
+ N(...re), z();
1127
1127
  };
1128
1128
  }
1129
1129
  let L = D ? new Array(e.length).fill(Or) : Or;
1130
- const ue = (R) => {
1131
- if (!(!(g.flags & 1) || !g.dirty && !R))
1130
+ const ue = (N) => {
1131
+ if (!(!(g.flags & 1) || !g.dirty && !N))
1132
1132
  if (t) {
1133
1133
  const re = g.run();
1134
1134
  if (r || m || (D ? re.some((W, de) => Da(W, L[de])) : Da(re, L))) {
@@ -1153,13 +1153,13 @@ function nA(e, t, a = Pe) {
1153
1153
  } else
1154
1154
  g.run();
1155
1155
  };
1156
- return f && f(ue), g = new Zg(A), g.scheduler = o ? () => o(ue, !1) : ue, b = (R) => rA(R, !1, g), h = g.onStop = () => {
1157
- const R = ln.get(g);
1158
- if (R) {
1156
+ return f && f(ue), g = new Zg(A), g.scheduler = o ? () => o(ue, !1) : ue, b = (N) => rA(N, !1, g), h = g.onStop = () => {
1157
+ const N = ln.get(g);
1158
+ if (N) {
1159
1159
  if (u)
1160
- u(R, 4);
1160
+ u(N, 4);
1161
1161
  else
1162
- for (const re of R) re();
1162
+ for (const re of N) re();
1163
1163
  ln.delete(g);
1164
1164
  }
1165
1165
  }, Ee.NODE_ENV !== "production" && (g.onTrack = a.onTrack, g.onTrigger = a.onTrigger), t ? i ? ue(!0) : L = g.run() : o ? o(ue.bind(null, !0), !0) : g.run(), z.pause = g.pause.bind(g), z.resume = g.resume.bind(g), z.stop = z, z;
@@ -1778,7 +1778,7 @@ function Ar(e, t, a, i, r) {
1778
1778
  onAppear: v,
1779
1779
  onAfterAppear: z,
1780
1780
  onAppearCancelled: L
1781
- } = t, ue = String(e.key), R = Hl(a, e), re = (I, H) => {
1781
+ } = t, ue = String(e.key), N = Hl(a, e), re = (I, H) => {
1782
1782
  I && Et(
1783
1783
  I,
1784
1784
  i,
@@ -1802,7 +1802,7 @@ function Ar(e, t, a, i, r) {
1802
1802
  !0
1803
1803
  /* cancelled */
1804
1804
  );
1805
- const k = R[ue];
1805
+ const k = N[ue];
1806
1806
  k && Oa(e, k) && k.el[ca] && k.el[ca](), re(H, [I]);
1807
1807
  },
1808
1808
  enter(I) {
@@ -1828,9 +1828,9 @@ function Ar(e, t, a, i, r) {
1828
1828
  re(A, [I]);
1829
1829
  let y = !1;
1830
1830
  const V = I[ca] = (_) => {
1831
- y || (y = !0, H(), _ ? re(m, [I]) : re(b, [I]), I[ca] = void 0, R[k] === e && delete R[k]);
1831
+ y || (y = !0, H(), _ ? re(m, [I]) : re(b, [I]), I[ca] = void 0, N[k] === e && delete N[k]);
1832
1832
  };
1833
- R[k] = e, h ? W(h, [I, V]) : V();
1833
+ N[k] = e, h ? W(h, [I, V]) : V();
1834
1834
  },
1835
1835
  clone(I) {
1836
1836
  const H = Ar(
@@ -2293,7 +2293,7 @@ function IA(e) {
2293
2293
  beforeUnmount: z,
2294
2294
  destroyed: L,
2295
2295
  unmounted: ue,
2296
- render: R,
2296
+ render: N,
2297
2297
  renderTracked: re,
2298
2298
  renderTriggered: W,
2299
2299
  errorCaptured: de,
@@ -2384,7 +2384,7 @@ function IA(e) {
2384
2384
  });
2385
2385
  });
2386
2386
  } else e.exposed || (e.exposed = {});
2387
- R && e.render === Ue && (e.render = R), k != null && (e.inheritAttrs = k), y && (e.components = y), V && (e.directives = V), I && Xl(e);
2387
+ N && e.render === Ue && (e.render = N), k != null && (e.inheritAttrs = k), y && (e.components = y), V && (e.directives = V), I && Xl(e);
2388
2388
  }
2389
2389
  function UA(e, t, a = Ue) {
2390
2390
  te(e) && (e = Lo(e));
@@ -3018,7 +3018,7 @@ function Ah(e, t) {
3018
3018
  } = e, m = (d, F, c, P = null, w = null, B = null, x = void 0, C = null, X = p.NODE_ENV !== "production" && It ? !1 : !!F.dynamicChildren) => {
3019
3019
  if (d === F)
3020
3020
  return;
3021
- d && !Oa(d, F) && (P = N(d), Le(d, w, B, !0), d = null), F.patchFlag === -2 && (X = !1, F.dynamicChildren = null);
3021
+ d && !Oa(d, F) && (P = R(d), Le(d, w, B, !0), d = null), F.patchFlag === -2 && (X = !1, F.dynamicChildren = null);
3022
3022
  const { type: E, ref: Z, shapeFlag: T } = F;
3023
3023
  switch (E) {
3024
3024
  case Ei:
@@ -3107,7 +3107,7 @@ function Ah(e, t) {
3107
3107
  }, L = (d, F, c, P) => {
3108
3108
  if (F.children !== d.children) {
3109
3109
  const w = A(d.anchor);
3110
- R(d), [F.el, F.anchor] = b(
3110
+ N(d), [F.el, F.anchor] = b(
3111
3111
  F.children,
3112
3112
  c,
3113
3113
  w,
@@ -3120,7 +3120,7 @@ function Ah(e, t) {
3120
3120
  for (; d && d !== F; )
3121
3121
  w = A(d), i(d, c, P), d = w;
3122
3122
  i(F, c, P);
3123
- }, R = ({ el: d, anchor: F }) => {
3123
+ }, N = ({ el: d, anchor: F }) => {
3124
3124
  let c;
3125
3125
  for (; d && d !== F; )
3126
3126
  c = A(d), r(d), d = c;
@@ -3411,7 +3411,7 @@ function Ah(e, t) {
3411
3411
  // parent may have changed if it's in a teleport
3412
3412
  g(Ht.el),
3413
3413
  // anchor may have changed if it's in a fragment
3414
- N(Ht),
3414
+ R(Ht),
3415
3415
  d,
3416
3416
  w,
3417
3417
  B
@@ -3754,7 +3754,7 @@ function Ah(e, t) {
3754
3754
  return;
3755
3755
  }
3756
3756
  if (F === _i) {
3757
- R(d);
3757
+ N(d);
3758
3758
  return;
3759
3759
  }
3760
3760
  const B = () => {
@@ -3779,9 +3779,9 @@ function Ah(e, t) {
3779
3779
  }, jt = (d, F, c, P = !1, w = !1, B = 0) => {
3780
3780
  for (let x = B; x < d.length; x++)
3781
3781
  Le(d[x], F, c, P, w);
3782
- }, N = (d) => {
3782
+ }, R = (d) => {
3783
3783
  if (d.shapeFlag & 6)
3784
- return N(d.component.subTree);
3784
+ return R(d.component.subTree);
3785
3785
  if (d.shapeFlag & 128)
3786
3786
  return d.suspense.next();
3787
3787
  const F = A(d.anchor || d.el), c = F && F[EA];
@@ -3807,7 +3807,7 @@ function Ah(e, t) {
3807
3807
  mc: I,
3808
3808
  pc: le,
3809
3809
  pbc: k,
3810
- n: N,
3810
+ n: R,
3811
3811
  o: e
3812
3812
  };
3813
3813
  return {
@@ -4029,7 +4029,7 @@ function Ou(e) {
4029
4029
  p.NODE_ENV !== "production" && (Qo = !1);
4030
4030
  try {
4031
4031
  if (a.shapeFlag & 4) {
4032
- const R = r || i, re = p.NODE_ENV !== "production" && h.__isScriptSetup ? new Proxy(R, {
4032
+ const N = r || i, re = p.NODE_ENV !== "production" && h.__isScriptSetup ? new Proxy(N, {
4033
4033
  get(W, de, I) {
4034
4034
  return q(
4035
4035
  `Property '${String(
@@ -4037,11 +4037,11 @@ function Ou(e) {
4037
4037
  )}' was accessed via 'this'. Avoid using 'this' in templates.`
4038
4038
  ), Reflect.get(W, de, I);
4039
4039
  }
4040
- }) : R;
4040
+ }) : N;
4041
4041
  v = wt(
4042
4042
  l.call(
4043
4043
  re,
4044
- R,
4044
+ N,
4045
4045
  s,
4046
4046
  p.NODE_ENV !== "production" ? Jt(g) : g,
4047
4047
  h,
@@ -4050,9 +4050,9 @@ function Ou(e) {
4050
4050
  )
4051
4051
  ), z = f;
4052
4052
  } else {
4053
- const R = t;
4053
+ const N = t;
4054
4054
  p.NODE_ENV !== "production" && f === g && pn(), v = wt(
4055
- R.length > 1 ? R(
4055
+ N.length > 1 ? N(
4056
4056
  p.NODE_ENV !== "production" ? Jt(g) : g,
4057
4057
  p.NODE_ENV !== "production" ? {
4058
4058
  get attrs() {
@@ -4061,21 +4061,21 @@ function Ou(e) {
4061
4061
  slots: o,
4062
4062
  emit: u
4063
4063
  } : { attrs: f, slots: o, emit: u }
4064
- ) : R(
4064
+ ) : N(
4065
4065
  p.NODE_ENV !== "production" ? Jt(g) : g,
4066
4066
  null
4067
4067
  )
4068
4068
  ), z = t.props ? f : Dh(f);
4069
4069
  }
4070
- } catch (R) {
4071
- $i.length = 0, Br(R, e, 1), v = fe(Me);
4070
+ } catch (N) {
4071
+ $i.length = 0, Br(N, e, 1), v = fe(Me);
4072
4072
  }
4073
4073
  let L = v, ue;
4074
4074
  if (p.NODE_ENV !== "production" && v.patchFlag > 0 && v.patchFlag & 2048 && ([L, ue] = i1(v)), z && m !== !1) {
4075
- const R = Object.keys(z), { shapeFlag: re } = L;
4076
- if (R.length) {
4075
+ const N = Object.keys(z), { shapeFlag: re } = L;
4076
+ if (N.length) {
4077
4077
  if (re & 7)
4078
- n && R.some(un) && (z = wh(
4078
+ n && N.some(un) && (z = wh(
4079
4079
  z,
4080
4080
  n
4081
4081
  )), L = Yt(L, z, !1, !0);
@@ -4957,7 +4957,7 @@ function h1(e) {
4957
4957
  onEnter: z,
4958
4958
  onEnterCancelled: L,
4959
4959
  onLeave: ue,
4960
- onLeaveCancelled: R,
4960
+ onLeaveCancelled: N,
4961
4961
  onBeforeAppear: re = v,
4962
4962
  onAppear: W = z,
4963
4963
  onAppearCancelled: de = L
@@ -4994,7 +4994,7 @@ function h1(e) {
4994
4994
  I(y, !0, void 0, !0), Xa(de, [y]);
4995
4995
  },
4996
4996
  onLeaveCancelled(y) {
4997
- H(y), Xa(R, [y]);
4997
+ H(y), Xa(N, [y]);
4998
4998
  }
4999
4999
  });
5000
5000
  }
@@ -7178,11 +7178,11 @@ var K0 = Object.create, B1 = Object.defineProperty, _0 = Object.getOwnPropertyDe
7178
7178
  "¤": "tien te"
7179
7179
  }
7180
7180
  }, u = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), l = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), s = [".", "!", "~", "*", "'", "(", ")"].join(""), g = function(D, v) {
7181
- var z = "-", L = "", ue = "", R = !0, re = {}, W, de, I, H, k, y, V, _, he, se, M, ee, le, Ye, We = "";
7181
+ var z = "-", L = "", ue = "", N = !0, re = {}, W, de, I, H, k, y, V, _, he, se, M, ee, le, Ye, We = "";
7182
7182
  if (typeof D != "string")
7183
7183
  return "";
7184
7184
  if (typeof v == "string" && (z = v), V = f.en, _ = o.en, typeof v == "object") {
7185
- W = v.maintainCase || !1, re = v.custom && typeof v.custom == "object" ? v.custom : re, I = +v.truncate > 1 && v.truncate || !1, H = v.uric || !1, k = v.uricNoSlash || !1, y = v.mark || !1, R = !(v.symbols === !1 || v.lang === !1), z = v.separator || z, H && (We += u), k && (We += l), y && (We += s), V = v.lang && f[v.lang] && R ? f[v.lang] : R ? f.en : {}, _ = v.lang && o[v.lang] ? o[v.lang] : v.lang === !1 || v.lang === !0 ? {} : o.en, v.titleCase && typeof v.titleCase.length == "number" && Array.prototype.toString.call(v.titleCase) ? (v.titleCase.forEach(function(qe) {
7185
+ W = v.maintainCase || !1, re = v.custom && typeof v.custom == "object" ? v.custom : re, I = +v.truncate > 1 && v.truncate || !1, H = v.uric || !1, k = v.uricNoSlash || !1, y = v.mark || !1, N = !(v.symbols === !1 || v.lang === !1), z = v.separator || z, H && (We += u), k && (We += l), y && (We += s), V = v.lang && f[v.lang] && N ? f[v.lang] : N ? f.en : {}, _ = v.lang && o[v.lang] ? o[v.lang] : v.lang === !1 || v.lang === !0 ? {} : o.en, v.titleCase && typeof v.titleCase.length == "number" && Array.prototype.toString.call(v.titleCase) ? (v.titleCase.forEach(function(qe) {
7186
7186
  re[qe + ""] = qe + "";
7187
7187
  }), de = !0) : de = !!v.titleCase, v.custom && typeof v.custom.length == "number" && Array.prototype.toString.call(v.custom) && v.custom.forEach(function(qe) {
7188
7188
  re[qe + ""] = qe + "";
@@ -9645,7 +9645,7 @@ function af(e, t, a = {}, i, r, n) {
9645
9645
  return ee instanceof Promise ? ee.then((le) => (ii(_, le), le)).catch((le) => (ii(he, le), Promise.reject(le))) : (ii(_, ee), ee);
9646
9646
  };
9647
9647
  return y[cg] = !0, y[lo] = k, y;
9648
- }, R = /* @__PURE__ */ ba({
9648
+ }, N = /* @__PURE__ */ ba({
9649
9649
  actions: {},
9650
9650
  getters: {},
9651
9651
  state: [],
@@ -9670,7 +9670,7 @@ function af(e, t, a = {}, i, r, n) {
9670
9670
  $dispose: L
9671
9671
  }, W = ki(ce.NODE_ENV !== "production" || ce.NODE_ENV !== "production" && ce.NODE_ENV !== "test" && va ? ct(
9672
9672
  {
9673
- _hmrPayload: R,
9673
+ _hmrPayload: N,
9674
9674
  _customProperties: ba(/* @__PURE__ */ new Set())
9675
9675
  // devtools custom properties
9676
9676
  },
@@ -9683,11 +9683,11 @@ function af(e, t, a = {}, i, r, n) {
9683
9683
  for (const H in I) {
9684
9684
  const k = I[H];
9685
9685
  if (xe(k) && !mg(k) || Ut(k))
9686
- ce.NODE_ENV !== "production" && r ? m.value[H] = Kn(I, H) : n || (b && e3(k) && (xe(k) ? k.value = b[H] : tf(k, b[H])), i.state.value[e][H] = k), ce.NODE_ENV !== "production" && R.state.push(H);
9686
+ ce.NODE_ENV !== "production" && r ? m.value[H] = Kn(I, H) : n || (b && e3(k) && (xe(k) ? k.value = b[H] : tf(k, b[H])), i.state.value[e][H] = k), ce.NODE_ENV !== "production" && N.state.push(H);
9687
9687
  else if (typeof k == "function") {
9688
9688
  const y = ce.NODE_ENV !== "production" && r ? k : ue(k, H);
9689
- I[H] = y, ce.NODE_ENV !== "production" && (R.actions[H] = k), f.actions[H] = k;
9690
- } else ce.NODE_ENV !== "production" && mg(k) && (R.getters[H] = n ? (
9689
+ I[H] = y, ce.NODE_ENV !== "production" && (N.actions[H] = k), f.actions[H] = k;
9690
+ } else ce.NODE_ENV !== "production" && mg(k) && (N.getters[H] = n ? (
9691
9691
  // @ts-expect-error
9692
9692
  a.getters[H]
9693
9693
  ) : k, va && (I._getters || // @ts-expect-error: same
@@ -13113,7 +13113,11 @@ function C2() {
13113
13113
  const V = tr(e.baseDomain || "https://api.connekz.com", {
13114
13114
  query: y,
13115
13115
  path: "/ws/",
13116
- reconnection: !1
13116
+ reconnection: !1,
13117
+ // Send the AWS ALB stickiness cookie (AWSALBCORS; SameSite=None) on cross-origin
13118
+ // requests so polling stays pinned to one backend instance behind the load balancer.
13119
+ // Without this, multi-instance polling sessions return 400 ("Session ID unknown").
13120
+ withCredentials: !0
13117
13121
  });
13118
13122
  window.wsocket = V, V.on("connect", () => {
13119
13123
  i.value = !0, r.value = !1, t.setIsConnected(!0), t.setIsConnecting(!1), o.value = 0, n.value = null, t.setConnectionError(null), g = null, m(), z(V);
@@ -13222,8 +13226,10 @@ function C2() {
13222
13226
  const _ = tr(e.baseDomain || "https://api.connekz.com", {
13223
13227
  query: V,
13224
13228
  path: "/ws/",
13225
- reconnection: !1
13229
+ reconnection: !1,
13226
13230
  // We handle reconnection ourselves to control retry budget
13231
+ // See note above: required for ALB sticky-session cookie on cross-origin polling.
13232
+ withCredentials: !0
13227
13233
  });
13228
13234
  window.wsocket = _, _.on("connect", () => {
13229
13235
  i.value = !0, r.value = !1, t.setIsConnected(!0), t.setIsConnecting(!1), o.value = 0, n.value = null, t.setConnectionError(null), g = null, m();
@@ -13244,7 +13250,7 @@ function C2() {
13244
13250
  function ue() {
13245
13251
  window.wsocket && (window.wsocket.off(), window.wsocket.disconnect(), window.wsocket = null, i.value = !1, t.setIsConnected(!1), r.value = !1, t.setIsConnecting(!1)), f.value && clearTimeout(f.value), u.value && clearInterval(u.value), m(), o.value = 0, g = null;
13246
13252
  }
13247
- function R(k, y) {
13253
+ function N(k, y) {
13248
13254
  s.has(k) || s.set(k, /* @__PURE__ */ new Set()), s.get(k).add(y), window.wsocket && window.wsocket.on(k, y);
13249
13255
  }
13250
13256
  function re(k, y) {
@@ -13282,7 +13288,7 @@ function C2() {
13282
13288
  connectionError: n,
13283
13289
  connect: L,
13284
13290
  disconnect: ue,
13285
- onEvent: R,
13291
+ onEvent: N,
13286
13292
  offEvent: re,
13287
13293
  emitEvent: W,
13288
13294
  cleanup: I
@@ -13330,35 +13336,35 @@ function H2() {
13330
13336
  requestedChunks: /* @__PURE__ */ new Set()
13331
13337
  }), t = 800, a = 5, i = Q(null), r = Q("active"), n = Q(!1), o = Q(-1), f = Q(!1), u = Q(48e3), l = Q(0), s = Q(0), g = Q(null), A = Q("listening"), h = 1024, b = !1, m = !1, D = 0.03;
13332
13338
  let v = null, z = null, L = null;
13333
- function ue(N) {
13334
- const Y = N.length, S = new Int16Array(Y);
13339
+ function ue(R) {
13340
+ const Y = R.length, S = new Int16Array(Y);
13335
13341
  for (let ne = 0; ne < Y; ne++) {
13336
- let ge = N[ne];
13342
+ let ge = R[ne];
13337
13343
  ge = ge < -1 ? -1 : ge > 1 ? 1 : ge, S[ne] = ge * 32767;
13338
13344
  }
13339
13345
  return S;
13340
13346
  }
13341
- function R(N, Y, S) {
13342
- if (Y === S) return N;
13343
- const ne = Y / S, ge = Math.round(N.length / ne), d = new Float32Array(ge);
13347
+ function N(R, Y, S) {
13348
+ if (Y === S) return R;
13349
+ const ne = Y / S, ge = Math.round(R.length / ne), d = new Float32Array(ge);
13344
13350
  let F = 0, c = 0;
13345
13351
  for (; F < d.length; ) {
13346
13352
  const P = Math.round((F + 1) * ne);
13347
13353
  let w = 0, B = 0;
13348
- for (let x = c; x < P && x < N.length; x++)
13349
- w += N[x], B++;
13354
+ for (let x = c; x < P && x < R.length; x++)
13355
+ w += R[x], B++;
13350
13356
  d[F] = w / B || 0, F++, c = P;
13351
13357
  }
13352
13358
  return d;
13353
13359
  }
13354
- function re(N) {
13355
- let Y = N.byteLength;
13360
+ function re(R) {
13361
+ let Y = R.byteLength;
13356
13362
  if (Y % 2 !== 0) {
13357
13363
  Y++;
13358
13364
  const ge = new Uint8Array(Y);
13359
- ge.set(new Uint8Array(N), 0), N = ge.buffer;
13365
+ ge.set(new Uint8Array(R), 0), R = ge.buffer;
13360
13366
  }
13361
- const S = new Int16Array(N), ne = S.length;
13367
+ const S = new Int16Array(R), ne = S.length;
13362
13368
  if (ne !== 0)
13363
13369
  try {
13364
13370
  const ge = e.audioContext.createBuffer(1, ne, 24e3), d = ge.getChannelData(0);
@@ -13374,11 +13380,11 @@ function H2() {
13374
13380
  console.error("Error creating audio buffer:", ge);
13375
13381
  }
13376
13382
  }
13377
- function W(N, Y) {
13378
- const S = N.duration;
13383
+ function W(R, Y) {
13384
+ const S = R.duration;
13379
13385
  if (isNaN(S) || !isFinite(S) || Y < e.currentConversationId) return null;
13380
13386
  const ne = e.audioContext.createBufferSource();
13381
- ne.buffer = N;
13387
+ ne.buffer = R;
13382
13388
  const ge = e.audioContext.createGain();
13383
13389
  ne.connect(ge), ge.connect(e.agentVoiceAnalyser);
13384
13390
  const d = e.audioContext.currentTime;
@@ -13393,15 +13399,15 @@ function H2() {
13393
13399
  }
13394
13400
  function de() {
13395
13401
  if (e.audioBufferQueue.length === 0 || !e.audioContext || !e.agentVoiceAnalyser) return;
13396
- const { buffer: N, duration: Y, conversationId: S } = e.audioBufferQueue.shift();
13402
+ const { buffer: R, duration: Y, conversationId: S } = e.audioBufferQueue.shift();
13397
13403
  if (S < e.currentConversationId) return;
13398
- const ne = W(N, S);
13404
+ const ne = W(R, S);
13399
13405
  ne && e.scheduledAudioSources.push(ne), e.audioBufferQueue.length > 0 && setTimeout(de, (Y - D) * 1e3);
13400
13406
  }
13401
13407
  async function I() {
13402
13408
  i.value = 0;
13403
13409
  try {
13404
- const N = { audio: { noiseSuppression: m } }, Y = await navigator.mediaDevices.getUserMedia(N);
13410
+ const R = { audio: { noiseSuppression: m } }, Y = await navigator.mediaDevices.getUserMedia(R);
13405
13411
  e.microphoneStream = Y;
13406
13412
  const S = Y.getAudioTracks()[0];
13407
13413
  S && (S.onended = () => {
@@ -13423,14 +13429,14 @@ function H2() {
13423
13429
  const F = d.data;
13424
13430
  b && n.value, v && v(F), f.value || $a(F);
13425
13431
  }, e.microphone.connect(e.micGain), e.micGain.connect(e.workletNode), e.workletNode.connect(e.muteGain), i.value = 1;
13426
- } catch (N) {
13427
- throw console.error("Microphone setup error:", N), i.value = null, N;
13432
+ } catch (R) {
13433
+ throw console.error("Microphone setup error:", R), i.value = null, R;
13428
13434
  }
13429
13435
  }
13430
13436
  function H() {
13431
- var N, Y;
13437
+ var R, Y;
13432
13438
  if (i.value !== 2 && e.microphone && e.workletNode && e.microphoneAudioContext && e.muteGain && e.micGain) {
13433
- const S = (N = e.microphoneStream) == null ? void 0 : N.getAudioTracks();
13439
+ const S = (R = e.microphoneStream) == null ? void 0 : R.getAudioTracks();
13434
13440
  if (!S || S.length === 0 || ((Y = S[0]) == null ? void 0 : Y.readyState) === "ended") {
13435
13441
  console.warn("[VoiceIO] Cannot start mic - stream tracks are ended or missing"), i.value = null, L && L(new Error("Microphone stream ended before start"));
13436
13442
  return;
@@ -13444,7 +13450,7 @@ function H2() {
13444
13450
  e.microphoneAudioContext && e.microphoneAudioContext.state !== "suspended" && e.microphoneAudioContext.suspend();
13445
13451
  }
13446
13452
  function y() {
13447
- e.microphoneStream && (e.microphoneStream.getTracks().forEach((N) => N.stop()), e.microphoneStream = null), e.workletNode && (e.workletNode.port.onmessage = null, e.workletNode.disconnect(), e.workletNode = null), e.microphone && (e.microphone.disconnect(), e.microphone = null), e.micGain && (e.micGain.disconnect(), e.micGain = null), e.muteGain && (e.muteGain.disconnect(), e.muteGain = null), e.microphoneAudioContext && e.microphoneAudioContext.state !== "closed" && (e.microphoneAudioContext.close(), e.microphoneAudioContext = null), i.value = null;
13453
+ e.microphoneStream && (e.microphoneStream.getTracks().forEach((R) => R.stop()), e.microphoneStream = null), e.workletNode && (e.workletNode.port.onmessage = null, e.workletNode.disconnect(), e.workletNode = null), e.microphone && (e.microphone.disconnect(), e.microphone = null), e.micGain && (e.micGain.disconnect(), e.micGain = null), e.muteGain && (e.muteGain.disconnect(), e.muteGain = null), e.microphoneAudioContext && e.microphoneAudioContext.state !== "closed" && (e.microphoneAudioContext.close(), e.microphoneAudioContext = null), i.value = null;
13448
13454
  }
13449
13455
  function V() {
13450
13456
  return e.micGain && (r.value = r.value === "active" ? "muted" : "active", e.micGain.gain.value = r.value === "active" ? 1 : 0), r.value;
@@ -13455,21 +13461,21 @@ function H2() {
13455
13461
  function he() {
13456
13462
  e.micGain && (e.micGain.gain.value = 1, r.value = "active");
13457
13463
  }
13458
- function se(N, Y) {
13459
- return `${N}:${Y}`;
13464
+ function se(R, Y) {
13465
+ return `${R}:${Y}`;
13460
13466
  }
13461
- function M(N, Y, S) {
13462
- const ne = se(N, S);
13467
+ function M(R, Y, S) {
13468
+ const ne = se(R, S);
13463
13469
  if (e.requestedChunks.has(ne) || e.playedChunks.has(ne))
13464
13470
  return;
13465
13471
  e.requestedChunks.add(ne), xa().emitEvent("cnkz-voice-agent", {
13466
13472
  type: "request_audio_chunk",
13467
13473
  itemId: Y,
13468
13474
  seq: S
13469
- }), console.log(`[VoiceIO] Requested missing chunk: batchId=${N}, seq=${S}`);
13475
+ }), console.log(`[VoiceIO] Requested missing chunk: batchId=${R}, seq=${S}`);
13470
13476
  }
13471
- function ee(N, Y, S, ne, ge) {
13472
- if (N !== e.currentConversationId)
13477
+ function ee(R, Y, S, ne, ge) {
13478
+ if (R !== e.currentConversationId)
13473
13479
  return;
13474
13480
  const d = se(Y, S);
13475
13481
  if (e.playedChunks.has(d)) {
@@ -13522,13 +13528,13 @@ function H2() {
13522
13528
  }
13523
13529
  function le() {
13524
13530
  for (; e.chunks.has(e.expectedSequence); ) {
13525
- const N = se(e.currentBatchId, e.expectedSequence);
13526
- if (e.playedChunks.has(N)) {
13531
+ const R = se(e.currentBatchId, e.expectedSequence);
13532
+ if (e.playedChunks.has(R)) {
13527
13533
  console.warn(`[VoiceIO] Chunk already played in processPendingChunks: seq=${e.expectedSequence}`), e.chunks.delete(e.expectedSequence), e.expectedSequence++;
13528
13534
  continue;
13529
13535
  }
13530
13536
  const Y = e.chunks.get(e.expectedSequence);
13531
- e.playedChunks.add(N);
13537
+ e.playedChunks.add(R);
13532
13538
  const S = re(Y.buffer);
13533
13539
  S && (e.audioBufferQueue.push({
13534
13540
  buffer: S,
@@ -13540,13 +13546,13 @@ function H2() {
13540
13546
  }
13541
13547
  }
13542
13548
  function Ye() {
13543
- for (const N of e.scheduledAudioSources)
13549
+ for (const R of e.scheduledAudioSources)
13544
13550
  try {
13545
- N.stop(0);
13551
+ R.stop(0);
13546
13552
  } catch (Y) {
13547
13553
  console.error("Error stopping audio source:", Y);
13548
13554
  }
13549
- e.scheduledAudioSources.length = 0, e.audioBufferQueue.length = 0, e.chunks.clear(), e.currentBatchId = 0, e.expectedSequence = 1, e.lastSequence = 0, e.currentItemId = "", e.pendingGaps.clear(), e.timeouts.forEach((N) => clearTimeout(N)), e.timeouts.clear(), e.playedChunks.clear(), e.requestedChunks.clear(), o.value = -1, g.value && (clearInterval(g.value), g.value = null), s.value = 0, f.value = !1;
13555
+ e.scheduledAudioSources.length = 0, e.audioBufferQueue.length = 0, e.chunks.clear(), e.currentBatchId = 0, e.expectedSequence = 1, e.lastSequence = 0, e.currentItemId = "", e.pendingGaps.clear(), e.timeouts.forEach((R) => clearTimeout(R)), e.timeouts.clear(), e.playedChunks.clear(), e.requestedChunks.clear(), o.value = -1, g.value && (clearInterval(g.value), g.value = null), s.value = 0, f.value = !1;
13550
13556
  }
13551
13557
  function We() {
13552
13558
  }
@@ -13559,29 +13565,29 @@ function H2() {
13559
13565
  }
13560
13566
  async function xt() {
13561
13567
  e.microphoneStream && (e.microphoneStream.getTracks().forEach((Y) => Y.stop()), e.microphoneStream = null), e.workletNode && (e.workletNode.port.onmessage = null, e.workletNode.disconnect(), e.workletNode = null), e.microphone && (e.microphone.disconnect(), e.microphone = null), e.muteGain && (e.muteGain.disconnect(), e.muteGain = null), e.micGain && (e.micGain.disconnect(), e.micGain = null), e.agentVoiceAnalyser && (e.agentVoiceAnalyser.disconnect(), e.agentVoiceAnalyser = null), e.lowPassFilter && (e.lowPassFilter.disconnect(), e.lowPassFilter = null);
13562
- const N = [];
13563
- e.audioContext && e.audioContext.state !== "closed" && N.push(e.audioContext.close()), e.microphoneAudioContext && e.microphoneAudioContext.state !== "closed" && N.push(e.microphoneAudioContext.close()), await Promise.all(N), e.audioContext = null, e.microphoneAudioContext = null, e.scheduledAudioSources.forEach((Y) => {
13568
+ const R = [];
13569
+ e.audioContext && e.audioContext.state !== "closed" && R.push(e.audioContext.close()), e.microphoneAudioContext && e.microphoneAudioContext.state !== "closed" && R.push(e.microphoneAudioContext.close()), await Promise.all(R), e.audioContext = null, e.microphoneAudioContext = null, e.scheduledAudioSources.forEach((Y) => {
13564
13570
  try {
13565
13571
  Y.stop();
13566
13572
  } catch {
13567
13573
  }
13568
13574
  }), e.scheduledAudioSources.length = 0, e.audioBufferQueue.length = 0, e.chunks.clear(), e.capturedAudioData.length = 0, e.currentConversationId = 0, e.currentBatchId = 0, e.expectedSequence = 1, e.pendingGaps.clear(), e.timeouts.forEach((Y) => clearTimeout(Y)), e.timeouts.clear(), e.lastSequence = 0, e.currentItemId = "", e.playedChunks.clear(), e.requestedChunks.clear(), i.value = null, r.value = "active", o.value = -1, n.value = !1, l.value = 0, s.value = 0, g.value && (clearInterval(g.value), g.value = null), v = null, z = null, L = null, f.value = !1;
13569
13575
  }
13570
- function $a(N) {
13576
+ function $a(R) {
13571
13577
  let Y = 0;
13572
- for (let ge = 0; ge < N.length; ge++)
13573
- Y += N[ge] * N[ge];
13574
- let S = Math.sqrt(Y / N.length);
13578
+ for (let ge = 0; ge < R.length; ge++)
13579
+ Y += R[ge] * R[ge];
13580
+ let S = Math.sqrt(Y / R.length);
13575
13581
  S < 0.01 ? S = 0 : (S = S * Math.sqrt(2.5), S = Math.min(1, S)), l.value = S;
13576
13582
  }
13577
13583
  function jt() {
13578
13584
  if (!e.agentVoiceAnalyser) return;
13579
- const N = new Float32Array(e.agentVoiceAnalyser.fftSize);
13580
- e.agentVoiceAnalyser.getFloatTimeDomainData(N);
13585
+ const R = new Float32Array(e.agentVoiceAnalyser.fftSize);
13586
+ e.agentVoiceAnalyser.getFloatTimeDomainData(R);
13581
13587
  let Y = 0;
13582
- for (let ge = 0; ge < N.length; ge++)
13583
- Y += N[ge] * N[ge];
13584
- let S = Math.sqrt(Y / N.length);
13588
+ for (let ge = 0; ge < R.length; ge++)
13589
+ Y += R[ge] * R[ge];
13590
+ let S = Math.sqrt(Y / R.length);
13585
13591
  S < 0.01 ? S = 0 : (S = S * Math.sqrt(2), S = Math.min(1, S)), s.value = S;
13586
13592
  }
13587
13593
  return Ae([f, i, r], () => {
@@ -13601,25 +13607,25 @@ function H2() {
13601
13607
  stopCaptureTest: qe,
13602
13608
  playCapturedAudio: Le,
13603
13609
  cleanup: xt,
13604
- setOnAudioDataReady: (N) => {
13605
- v = N;
13610
+ setOnAudioDataReady: (R) => {
13611
+ v = R;
13606
13612
  },
13607
- setOnQueueEmpty: (N) => {
13608
- z = N;
13613
+ setOnQueueEmpty: (R) => {
13614
+ z = R;
13609
13615
  },
13610
- setOnMicError: (N) => {
13611
- L = N;
13616
+ setOnMicError: (R) => {
13617
+ L = R;
13612
13618
  },
13613
13619
  getCurrentConversationId: () => e.currentConversationId,
13614
- setCurrentConversationId: (N) => {
13615
- console.log(`[VoiceIO] Setting conversation ID: ${N}`), e.currentConversationId = N, e.currentBatchId = 0, e.expectedSequence = 1, e.lastSequence = 0, e.currentItemId = "", e.chunks.clear(), e.pendingGaps.clear(), e.timeouts.forEach((Y) => clearTimeout(Y)), e.timeouts.clear(), e.playedChunks.clear(), e.requestedChunks.clear();
13620
+ setCurrentConversationId: (R) => {
13621
+ R !== e.currentConversationId && (console.log(`[VoiceIO] Setting conversation ID: ${R}`), e.currentConversationId = R, e.currentBatchId = 0, e.expectedSequence = 1, e.lastSequence = 0, e.currentItemId = "", e.chunks.clear(), e.pendingGaps.clear(), e.timeouts.forEach((Y) => clearTimeout(Y)), e.timeouts.clear(), e.playedChunks.clear(), e.requestedChunks.clear());
13616
13622
  },
13617
- setLastSequence: (N) => {
13618
- e.lastSequence = N;
13623
+ setLastSequence: (R) => {
13624
+ e.lastSequence = R;
13619
13625
  },
13620
13626
  micStatus: r,
13621
13627
  convertFloat32ToInt16: ue,
13622
- downsample: R,
13628
+ downsample: N,
13623
13629
  getSampleRate: () => u.value,
13624
13630
  micVolume: l,
13625
13631
  agentVolume: s,
@@ -14092,7 +14098,7 @@ const ap = ["width", "height", "innerHTML"], ip = /* @__PURE__ */ st({
14092
14098
  for (const [i, r] of t)
14093
14099
  a[i] = r;
14094
14100
  return a;
14095
- }, ia = /* @__PURE__ */ Qe(ip, [["__scopeId", "data-v-bca4cf53"]]), rp = { class: "connekz_switch connekz_glass-panel" }, np = ["onClick"], op = { key: 1 }, fp = /* @__PURE__ */ st({
14101
+ }, ia = /* @__PURE__ */ Qe(ip, [["__scopeId", "data-v-887fcaa7"]]), rp = { class: "connekz_switch connekz_glass-panel" }, np = ["onClick"], op = { key: 1 }, fp = /* @__PURE__ */ st({
14096
14102
  __name: "Switch",
14097
14103
  props: {
14098
14104
  modelValue: {},
@@ -16522,7 +16528,7 @@ const ib = { class: "message-bubble" }, rb = { class: "message-at" }, nb = { key
16522
16528
  posX: 0,
16523
16529
  posY: 0
16524
16530
  }, D = 0, v = performance.now(), z, L = 400, ue = 400;
16525
- const R = Q(0), re = Q(0);
16531
+ const N = Q(0), re = Q(0);
16526
16532
  function W(d) {
16527
16533
  return d < 0.5 ? 2 * d * d : 1 - Math.pow(-2 * d + 2, 2) / 2;
16528
16534
  }
@@ -16715,7 +16721,7 @@ const ib = { class: "message-bubble" }, rb = { class: "message-at" }, nb = { key
16715
16721
  })), Le = Xe(() => n.themeColor ? k(n.themeColor) : { h: n.baseHue ?? 340, s: 100, l: 70 }), Ct = Xe(() => {
16716
16722
  const d = i.micVolume.value * 1;
16717
16723
  return { background: d > 0 ? `radial-gradient(circle at ${le.value}% ${Ye.value}%, hsla(${Le.value.h * 20}, ${Le.value.s}%, ${Le.value.l}%, ${d}) 0%, transparent 80%)` : "transparent" };
16718
- }), xt = Q(1), $a = Q(0.8), jt = Q(n.baseHue ?? 215), N = Q(100), Y = Q(70), S = Q(0), ne = Q(0), ge = Q(0);
16724
+ }), xt = Q(1), $a = Q(0.8), jt = Q(n.baseHue ?? 215), R = Q(100), Y = Q(70), S = Q(0), ne = Q(0), ge = Q(0);
16719
16725
  return _a(() => {
16720
16726
  if (!o.value || !f.value || !u.value) return;
16721
16727
  M();
@@ -16730,22 +16736,22 @@ const ib = { class: "message-bubble" }, rb = { class: "message-at" }, nb = { key
16730
16736
  const K = B / Eo;
16731
16737
  s.value === "disconnected" ? C = de(K) : b === "disconnected" ? C = I(K) : C = W(K);
16732
16738
  }
16733
- R.value = R.value * (1 - Rr) + i.agentVolume.value * Rr, re.value = re.value * (1 - Rr) + i.micVolume.value * Rr;
16734
- const X = Le.value.h, E = V(s.value, w, X), Z = (1 + R.value * 0.5) * (1 - re.value * 0.5);
16739
+ N.value = N.value * (1 - Rr) + i.agentVolume.value * Rr, re.value = re.value * (1 - Rr) + i.micVolume.value * Rr;
16740
+ const X = Le.value.h, E = V(s.value, w, X), Z = (1 + N.value * 0.5) * (1 - re.value * 0.5);
16735
16741
  if (E.scale *= Z, x) {
16736
16742
  const K = m;
16737
16743
  E.opacity = K.opacity + (E.opacity - K.opacity) * C, E.scale = K.scale + (E.scale - K.scale) * C;
16738
16744
  const pe = H(K.hue, E.hue);
16739
16745
  E.hue = (K.hue + pe * C + 360) % 360, E.saturation = K.saturation + (E.saturation - K.saturation) * C, E.lightness = K.lightness + (E.lightness - K.lightness) * C, E.posX = K.posX + (E.posX - K.posX) * C, E.posY = K.posY + (E.posY - K.posY) * C;
16740
16746
  }
16741
- xt.value = E.opacity, $a.value = E.scale, jt.value = E.hue, N.value = E.saturation, Y.value = E.lightness, S.value = E.posX, ne.value = E.posY;
16747
+ xt.value = E.opacity, $a.value = E.scale, jt.value = E.hue, R.value = E.saturation, Y.value = E.lightness, S.value = E.posX, ne.value = E.posY;
16742
16748
  let T = E.rotationSpeed;
16743
16749
  if (x) {
16744
16750
  let K = 360 / ni;
16745
16751
  b === "sleep" && (K = 360 / qg), b === "inactive" && (K = 360 / Og), ["disconnected", "initiation", "stop"].includes(b) && (K = 0), T = K + (T - K) * C;
16746
16752
  }
16747
16753
  D += T * P, ge.value = D % 360;
16748
- const $ = `hue-rotate(${jt.value}deg) saturate(${N.value / 100}) brightness(${Y.value / 70})`;
16754
+ const $ = `hue-rotate(${jt.value}deg) saturate(${R.value / 100}) brightness(${Y.value / 70})`;
16749
16755
  u.value.style.filter = $;
16750
16756
  const ie = `scale(${$a.value}) rotate(${ge.value}deg)`;
16751
16757
  if (f.value.style.transform = ie, f.value.style.opacity = xt.value.toString(), s.value === "none") {
@@ -17018,7 +17024,7 @@ function Jb(e, t) {
17018
17024
  $f(t).setConfigs({
17019
17025
  baseDomain: e.baseUrl ? e.baseUrl : "https://api.connekz.com",
17020
17026
  baseUrl: e.baseUrl ? `${e.baseUrl}/v1/api` : "https://api.connekz.com/v1/api",
17021
- clientId: i ? null : e.clientId,
17027
+ clientId: i ? e.clientId || null : e.clientId,
17022
17028
  clientSecret: i || e.clientSecret,
17023
17029
  userIdentity: e.userIdentity,
17024
17030
  platform: e._platform || null