@connekz/connekz-agent 2.2.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/README.md +27 -0
- package/dist/connekz-agent.es.js +416 -403
- package/dist/connekz-agent.umd.js +9 -9
- package/package.json +1 -1
- package/types.d.ts +26 -0
package/dist/connekz-agent.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
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 FF = Object.defineProperty;
|
|
3
3
|
var AF = (e, t, a) => t in e ? FF(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
4
|
-
var
|
|
4
|
+
var Xi = (e, t, a) => AF(e, typeof t != "symbol" ? t + "" : t, a);
|
|
5
5
|
var Rg = {};
|
|
6
6
|
/**
|
|
7
7
|
* @vue/shared v3.5.13
|
|
@@ -15,12 +15,12 @@ function fa(e) {
|
|
|
15
15
|
for (const a of e.split(",")) t[a] = 1;
|
|
16
16
|
return (a) => a in t;
|
|
17
17
|
}
|
|
18
|
-
const Pe = Rg.NODE_ENV !== "production" ? Object.freeze({}) : {},
|
|
18
|
+
const Pe = Rg.NODE_ENV !== "production" ? Object.freeze({}) : {}, Fi = Rg.NODE_ENV !== "production" ? Object.freeze([]) : [], Ue = () => {
|
|
19
19
|
}, hF = () => !1, Pr = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
20
20
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), sn = (e) => e.startsWith("onUpdate:"), Te = Object.assign, yf = (e, t) => {
|
|
21
21
|
const a = e.indexOf(t);
|
|
22
22
|
a > -1 && e.splice(a, 1);
|
|
23
|
-
}, cF = Object.prototype.hasOwnProperty, ve = (e, t) => cF.call(e, t), te = Array.isArray, Sa = (e) => Hn(e) === "[object Map]", Ng = (e) => Hn(e) === "[object Set]", ae = (e) => typeof e == "function", He = (e) => typeof e == "string", ua = (e) => typeof e == "symbol", we = (e) => e !== null && typeof e == "object", Df = (e) => (we(e) || ae(e)) && ae(e.then) && ae(e.catch), Jg = Object.prototype.toString, Hn = (e) => Jg.call(e), wf = (e) => Hn(e).slice(8, -1), Ig = (e) => Hn(e) === "[object Object]", kf = (e) => He(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e,
|
|
23
|
+
}, cF = Object.prototype.hasOwnProperty, ve = (e, t) => cF.call(e, t), te = Array.isArray, Sa = (e) => Hn(e) === "[object Map]", Ng = (e) => Hn(e) === "[object Set]", ae = (e) => typeof e == "function", He = (e) => typeof e == "string", ua = (e) => typeof e == "symbol", we = (e) => e !== null && typeof e == "object", Df = (e) => (we(e) || ae(e)) && ae(e.then) && ae(e.catch), Jg = Object.prototype.toString, Hn = (e) => Jg.call(e), wf = (e) => Hn(e).slice(8, -1), Ig = (e) => Hn(e) === "[object Object]", kf = (e) => He(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Zi = /* @__PURE__ */ fa(
|
|
24
24
|
// the leading comma is intentional so empty string "" is also included
|
|
25
25
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
26
26
|
), mF = /* @__PURE__ */ fa(
|
|
@@ -34,7 +34,7 @@ const Pe = Rg.NODE_ENV !== "production" ? Object.freeze({}) : {}, di = Rg.NODE_E
|
|
|
34
34
|
(e) => e.replace(bF, "-$1").toLowerCase()
|
|
35
35
|
), Ua = Xn((e) => e.charAt(0).toUpperCase() + e.slice(1)), za = Xn(
|
|
36
36
|
(e) => e ? `on${Ua(e)}` : ""
|
|
37
|
-
), Da = (e, t) => !Object.is(e, t),
|
|
37
|
+
), Da = (e, t) => !Object.is(e, t), fi = (e, ...t) => {
|
|
38
38
|
for (let a = 0; a < e.length; a++)
|
|
39
39
|
e[a](...t);
|
|
40
40
|
}, gn = (e, t, a, i = !1) => {
|
|
@@ -256,13 +256,13 @@ class Kg {
|
|
|
256
256
|
return Ho(this);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
let _g = 0,
|
|
259
|
+
let _g = 0, Yi, Ki;
|
|
260
260
|
function $g(e, t = !1) {
|
|
261
261
|
if (e.flags |= 8, t) {
|
|
262
|
-
e.next =
|
|
262
|
+
e.next = Ki, Ki = e;
|
|
263
263
|
return;
|
|
264
264
|
}
|
|
265
|
-
e.next =
|
|
265
|
+
e.next = Yi, Yi = e;
|
|
266
266
|
}
|
|
267
267
|
function Ef() {
|
|
268
268
|
_g++;
|
|
@@ -270,17 +270,17 @@ function Ef() {
|
|
|
270
270
|
function Bf() {
|
|
271
271
|
if (--_g > 0)
|
|
272
272
|
return;
|
|
273
|
-
if (
|
|
274
|
-
let t =
|
|
275
|
-
for (
|
|
273
|
+
if (Ki) {
|
|
274
|
+
let t = Ki;
|
|
275
|
+
for (Ki = void 0; t; ) {
|
|
276
276
|
const a = t.next;
|
|
277
277
|
t.next = void 0, t.flags &= -9, t = a;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
let e;
|
|
281
|
-
for (;
|
|
282
|
-
let t =
|
|
283
|
-
for (
|
|
281
|
+
for (; Yi; ) {
|
|
282
|
+
let t = Yi;
|
|
283
|
+
for (Yi = void 0; t; ) {
|
|
284
284
|
const a = t.next;
|
|
285
285
|
if (t.next = void 0, t.flags &= -9, t.flags & 1)
|
|
286
286
|
try {
|
|
@@ -312,9 +312,9 @@ function Ho(e) {
|
|
|
312
312
|
return !!e._dirty;
|
|
313
313
|
}
|
|
314
314
|
function al(e) {
|
|
315
|
-
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion ===
|
|
315
|
+
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === lr))
|
|
316
316
|
return;
|
|
317
|
-
e.globalVersion =
|
|
317
|
+
e.globalVersion = lr;
|
|
318
318
|
const t = e.dep;
|
|
319
319
|
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !Ho(e)) {
|
|
320
320
|
e.flags &= -3;
|
|
@@ -366,7 +366,7 @@ function yu(e) {
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
let
|
|
369
|
+
let lr = 0;
|
|
370
370
|
class TF {
|
|
371
371
|
constructor(t, a) {
|
|
372
372
|
this.sub = t, this.dep = a, this.version = a.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
@@ -396,7 +396,7 @@ class xf {
|
|
|
396
396
|
), a;
|
|
397
397
|
}
|
|
398
398
|
trigger(t) {
|
|
399
|
-
this.version++,
|
|
399
|
+
this.version++, lr++, this.notify(t);
|
|
400
400
|
}
|
|
401
401
|
notify(t) {
|
|
402
402
|
Ef();
|
|
@@ -434,7 +434,7 @@ const ln = /* @__PURE__ */ new WeakMap(), Qa = Symbol(
|
|
|
434
434
|
Ee.NODE_ENV !== "production" ? "Object iterate" : ""
|
|
435
435
|
), Xo = Symbol(
|
|
436
436
|
Ee.NODE_ENV !== "production" ? "Map keys iterate" : ""
|
|
437
|
-
),
|
|
437
|
+
), dr = Symbol(
|
|
438
438
|
Ee.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
439
439
|
);
|
|
440
440
|
function Ie(e, t, a) {
|
|
@@ -452,7 +452,7 @@ function Ie(e, t, a) {
|
|
|
452
452
|
function Mt(e, t, a, i, r, n) {
|
|
453
453
|
const o = ln.get(e);
|
|
454
454
|
if (!o) {
|
|
455
|
-
|
|
455
|
+
lr++;
|
|
456
456
|
return;
|
|
457
457
|
}
|
|
458
458
|
const f = (u) => {
|
|
@@ -472,10 +472,10 @@ function Mt(e, t, a, i, r, n) {
|
|
|
472
472
|
if (u && a === "length") {
|
|
473
473
|
const s = Number(i);
|
|
474
474
|
o.forEach((g, A) => {
|
|
475
|
-
(A === "length" || A ===
|
|
475
|
+
(A === "length" || A === dr || !ua(A) && A >= s) && f(g);
|
|
476
476
|
});
|
|
477
477
|
} else
|
|
478
|
-
switch ((a !== void 0 || o.has(void 0)) && f(o.get(a)), l && f(o.get(
|
|
478
|
+
switch ((a !== void 0 || o.has(void 0)) && f(o.get(a)), l && f(o.get(dr)), t) {
|
|
479
479
|
case "add":
|
|
480
480
|
u ? l && f(o.get("length")) : (f(o.get(Qa)), Sa(e) && f(o.get(Xo)));
|
|
481
481
|
break;
|
|
@@ -493,12 +493,12 @@ function qF(e, t) {
|
|
|
493
493
|
const a = ln.get(e);
|
|
494
494
|
return a && a.get(t);
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function ti(e) {
|
|
497
497
|
const t = oe(e);
|
|
498
|
-
return t === e ? t : (Ie(t, "iterate",
|
|
498
|
+
return t === e ? t : (Ie(t, "iterate", dr), ot(e) ? t : t.map(_e));
|
|
499
499
|
}
|
|
500
500
|
function zn(e) {
|
|
501
|
-
return Ie(e = oe(e), "iterate",
|
|
501
|
+
return Ie(e = oe(e), "iterate", dr), e;
|
|
502
502
|
}
|
|
503
503
|
const OF = {
|
|
504
504
|
__proto__: null,
|
|
@@ -506,8 +506,8 @@ const OF = {
|
|
|
506
506
|
return Yn(this, Symbol.iterator, _e);
|
|
507
507
|
},
|
|
508
508
|
concat(...e) {
|
|
509
|
-
return
|
|
510
|
-
...e.map((t) => te(t) ?
|
|
509
|
+
return ti(this).concat(
|
|
510
|
+
...e.map((t) => te(t) ? ti(t) : t)
|
|
511
511
|
);
|
|
512
512
|
},
|
|
513
513
|
entries() {
|
|
@@ -542,7 +542,7 @@ const OF = {
|
|
|
542
542
|
return Kn(this, "indexOf", e);
|
|
543
543
|
},
|
|
544
544
|
join(e) {
|
|
545
|
-
return
|
|
545
|
+
return ti(this).join(e);
|
|
546
546
|
},
|
|
547
547
|
// keys() iterator only reads `length`, no optimisation required
|
|
548
548
|
lastIndexOf(...e) {
|
|
@@ -552,10 +552,10 @@ const OF = {
|
|
|
552
552
|
return _t(this, "map", e, t, void 0, arguments);
|
|
553
553
|
},
|
|
554
554
|
pop() {
|
|
555
|
-
return
|
|
555
|
+
return zi(this, "pop");
|
|
556
556
|
},
|
|
557
557
|
push(...e) {
|
|
558
|
-
return
|
|
558
|
+
return zi(this, "push", e);
|
|
559
559
|
},
|
|
560
560
|
reduce(e, ...t) {
|
|
561
561
|
return Du(this, "reduce", e, t);
|
|
@@ -564,26 +564,26 @@ const OF = {
|
|
|
564
564
|
return Du(this, "reduceRight", e, t);
|
|
565
565
|
},
|
|
566
566
|
shift() {
|
|
567
|
-
return
|
|
567
|
+
return zi(this, "shift");
|
|
568
568
|
},
|
|
569
569
|
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
570
570
|
some(e, t) {
|
|
571
571
|
return _t(this, "some", e, t, void 0, arguments);
|
|
572
572
|
},
|
|
573
573
|
splice(...e) {
|
|
574
|
-
return
|
|
574
|
+
return zi(this, "splice", e);
|
|
575
575
|
},
|
|
576
576
|
toReversed() {
|
|
577
|
-
return
|
|
577
|
+
return ti(this).toReversed();
|
|
578
578
|
},
|
|
579
579
|
toSorted(e) {
|
|
580
|
-
return
|
|
580
|
+
return ti(this).toSorted(e);
|
|
581
581
|
},
|
|
582
582
|
toSpliced(...e) {
|
|
583
|
-
return
|
|
583
|
+
return ti(this).toSpliced(...e);
|
|
584
584
|
},
|
|
585
585
|
unshift(...e) {
|
|
586
|
-
return
|
|
586
|
+
return zi(this, "unshift", e);
|
|
587
587
|
},
|
|
588
588
|
values() {
|
|
589
589
|
return Yn(this, "values", _e);
|
|
@@ -623,11 +623,11 @@ function Du(e, t, a, i) {
|
|
|
623
623
|
}
|
|
624
624
|
function Kn(e, t, a) {
|
|
625
625
|
const i = oe(e);
|
|
626
|
-
Ie(i, "iterate",
|
|
626
|
+
Ie(i, "iterate", dr);
|
|
627
627
|
const r = i[t](...a);
|
|
628
|
-
return (r === -1 || r === !1) &&
|
|
628
|
+
return (r === -1 || r === !1) && Fr(a[0]) ? (a[0] = oe(a[0]), i[t](...a)) : r;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function zi(e, t, a = []) {
|
|
631
631
|
sa(), Ef();
|
|
632
632
|
const i = oe(e)[t].apply(e, a);
|
|
633
633
|
return Bf(), ga(), i;
|
|
@@ -673,7 +673,7 @@ class ol {
|
|
|
673
673
|
// its class methods
|
|
674
674
|
xe(t) ? t : i
|
|
675
675
|
);
|
|
676
|
-
return (ua(a) ? nl.has(a) : MF(a)) || (r || Ie(t, "get", a), n) ? f : xe(f) ? o && kf(a) ? f : f.value : we(f) ? r ? Fl(f) :
|
|
676
|
+
return (ua(a) ? nl.has(a) : MF(a)) || (r || Ie(t, "get", a), n) ? f : xe(f) ? o && kf(a) ? f : f.value : we(f) ? r ? Fl(f) : Pi(f) : f;
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
class fl extends ol {
|
|
@@ -881,7 +881,7 @@ function YF(e) {
|
|
|
881
881
|
function KF(e) {
|
|
882
882
|
return e.__v_skip || !Object.isExtensible(e) ? 0 : YF(wf(e));
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function Pi(e) {
|
|
885
885
|
return oa(e) ? e : qn(
|
|
886
886
|
e,
|
|
887
887
|
!1,
|
|
@@ -947,7 +947,7 @@ function oa(e) {
|
|
|
947
947
|
function ot(e) {
|
|
948
948
|
return !!(e && e.__v_isShallow);
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function Fr(e) {
|
|
951
951
|
return e ? !!e.__v_raw : !1;
|
|
952
952
|
}
|
|
953
953
|
function oe(e) {
|
|
@@ -957,7 +957,7 @@ function oe(e) {
|
|
|
957
957
|
function ba(e) {
|
|
958
958
|
return !ve(e, "__v_skip") && Object.isExtensible(e) && gn(e, "__v_skip", !0), e;
|
|
959
959
|
}
|
|
960
|
-
const _e = (e) => we(e) ?
|
|
960
|
+
const _e = (e) => we(e) ? Pi(e) : e, To = (e) => we(e) ? Fl(e) : e;
|
|
961
961
|
function xe(e) {
|
|
962
962
|
return e ? e.__v_isRef === !0 : !1;
|
|
963
963
|
}
|
|
@@ -1006,7 +1006,7 @@ function Al(e) {
|
|
|
1006
1006
|
return Ut(e) ? e : new Proxy(e, tA);
|
|
1007
1007
|
}
|
|
1008
1008
|
function ku(e) {
|
|
1009
|
-
Ee.NODE_ENV !== "production" && !
|
|
1009
|
+
Ee.NODE_ENV !== "production" && !Fr(e) && bt("toRefs() expects a reactive object but received a plain one.");
|
|
1010
1010
|
const t = te(e) ? new Array(e.length) : {};
|
|
1011
1011
|
for (const a in e)
|
|
1012
1012
|
t[a] = hl(e, a);
|
|
@@ -1044,7 +1044,7 @@ function hl(e, t, a) {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
class rA {
|
|
1046
1046
|
constructor(t, a, i) {
|
|
1047
|
-
this.fn = t, this.setter = a, this._value = void 0, this.dep = new xf(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion =
|
|
1047
|
+
this.fn = t, this.setter = a, this._value = void 0, this.dep = new xf(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = lr - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !a, this.isSSR = i;
|
|
1048
1048
|
}
|
|
1049
1049
|
/**
|
|
1050
1050
|
* @internal
|
|
@@ -1198,7 +1198,7 @@ function q(e, ...t) {
|
|
|
1198
1198
|
$n = !0, sa();
|
|
1199
1199
|
const a = Na.length ? Na[Na.length - 1].component : null, i = a && a.appContext.config.warnHandler, r = uA();
|
|
1200
1200
|
if (i)
|
|
1201
|
-
|
|
1201
|
+
Ei(
|
|
1202
1202
|
i,
|
|
1203
1203
|
a,
|
|
1204
1204
|
11,
|
|
@@ -1299,7 +1299,7 @@ const jf = {
|
|
|
1299
1299
|
15: "component update",
|
|
1300
1300
|
16: "app unmount cleanup function"
|
|
1301
1301
|
};
|
|
1302
|
-
function
|
|
1302
|
+
function Ei(e, t, a, i) {
|
|
1303
1303
|
try {
|
|
1304
1304
|
return i ? e(...i) : e();
|
|
1305
1305
|
} catch (r) {
|
|
@@ -1308,7 +1308,7 @@ function Pi(e, t, a, i) {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
function Et(e, t, a, i) {
|
|
1310
1310
|
if (ae(e)) {
|
|
1311
|
-
const r =
|
|
1311
|
+
const r = Ei(e, t, a, i);
|
|
1312
1312
|
return r && Df(r) && r.catch((n) => {
|
|
1313
1313
|
Br(n, t, a);
|
|
1314
1314
|
}), r;
|
|
@@ -1337,7 +1337,7 @@ function Br(e, t, a, i = !0) {
|
|
|
1337
1337
|
f = f.parent;
|
|
1338
1338
|
}
|
|
1339
1339
|
if (n) {
|
|
1340
|
-
sa(),
|
|
1340
|
+
sa(), Ei(n, null, 10, [
|
|
1341
1341
|
e,
|
|
1342
1342
|
u,
|
|
1343
1343
|
l
|
|
@@ -1361,8 +1361,8 @@ function FA(e, t, a, i = !0, r = !1) {
|
|
|
1361
1361
|
}
|
|
1362
1362
|
const at = [];
|
|
1363
1363
|
let Lt = -1;
|
|
1364
|
-
const
|
|
1365
|
-
let ha = null,
|
|
1364
|
+
const Ai = [];
|
|
1365
|
+
let ha = null, ui = 0;
|
|
1366
1366
|
const ml = /* @__PURE__ */ Promise.resolve();
|
|
1367
1367
|
let Fn = null;
|
|
1368
1368
|
const AA = 100;
|
|
@@ -1373,23 +1373,23 @@ function Pa(e) {
|
|
|
1373
1373
|
function hA(e) {
|
|
1374
1374
|
let t = Lt + 1, a = at.length;
|
|
1375
1375
|
for (; t < a; ) {
|
|
1376
|
-
const i = t + a >>> 1, r = at[i], n =
|
|
1376
|
+
const i = t + a >>> 1, r = at[i], n = Ar(r);
|
|
1377
1377
|
n < e || n === e && r.flags & 2 ? t = i + 1 : a = i;
|
|
1378
1378
|
}
|
|
1379
1379
|
return t;
|
|
1380
1380
|
}
|
|
1381
1381
|
function On(e) {
|
|
1382
1382
|
if (!(e.flags & 1)) {
|
|
1383
|
-
const t =
|
|
1383
|
+
const t = Ar(e), a = at[at.length - 1];
|
|
1384
1384
|
!a || // fast path when the job id is larger than the tail
|
|
1385
|
-
!(e.flags & 2) && t >=
|
|
1385
|
+
!(e.flags & 2) && t >= Ar(a) ? at.push(e) : at.splice(hA(t), 0, e), e.flags |= 1, pl();
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
1388
|
function pl() {
|
|
1389
1389
|
Fn || (Fn = ml.then(yl));
|
|
1390
1390
|
}
|
|
1391
1391
|
function bl(e) {
|
|
1392
|
-
te(e) ?
|
|
1392
|
+
te(e) ? Ai.push(...e) : ha && e.id === -1 ? ha.splice(ui + 1, 0, e) : e.flags & 1 || (Ai.push(e), e.flags |= 1), pl();
|
|
1393
1393
|
}
|
|
1394
1394
|
function Pu(e, t, a = Lt + 1) {
|
|
1395
1395
|
for (p.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); a < at.length; a++) {
|
|
@@ -1402,22 +1402,22 @@ function Pu(e, t, a = Lt + 1) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
1404
|
function vl(e) {
|
|
1405
|
-
if (
|
|
1406
|
-
const t = [...new Set(
|
|
1407
|
-
(a, i) =>
|
|
1405
|
+
if (Ai.length) {
|
|
1406
|
+
const t = [...new Set(Ai)].sort(
|
|
1407
|
+
(a, i) => Ar(a) - Ar(i)
|
|
1408
1408
|
);
|
|
1409
|
-
if (
|
|
1409
|
+
if (Ai.length = 0, ha) {
|
|
1410
1410
|
ha.push(...t);
|
|
1411
1411
|
return;
|
|
1412
1412
|
}
|
|
1413
|
-
for (ha = t, p.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()),
|
|
1414
|
-
const a = ha[
|
|
1413
|
+
for (ha = t, p.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), ui = 0; ui < ha.length; ui++) {
|
|
1414
|
+
const a = ha[ui];
|
|
1415
1415
|
p.NODE_ENV !== "production" && Hf(e, a) || (a.flags & 4 && (a.flags &= -2), a.flags & 8 || a(), a.flags &= -2);
|
|
1416
1416
|
}
|
|
1417
|
-
ha = null,
|
|
1417
|
+
ha = null, ui = 0;
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
|
-
const
|
|
1420
|
+
const Ar = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1421
1421
|
function yl(e) {
|
|
1422
1422
|
p.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
1423
1423
|
const t = p.NODE_ENV !== "production" ? (a) => Hf(e, a) : Ue;
|
|
@@ -1427,7 +1427,7 @@ function yl(e) {
|
|
|
1427
1427
|
if (a && !(a.flags & 8)) {
|
|
1428
1428
|
if (p.NODE_ENV !== "production" && t(a))
|
|
1429
1429
|
continue;
|
|
1430
|
-
a.flags & 4 && (a.flags &= -2),
|
|
1430
|
+
a.flags & 4 && (a.flags &= -2), Ei(
|
|
1431
1431
|
a,
|
|
1432
1432
|
a.i,
|
|
1433
1433
|
a.i ? 15 : 14
|
|
@@ -1439,7 +1439,7 @@ function yl(e) {
|
|
|
1439
1439
|
const a = at[Lt];
|
|
1440
1440
|
a && (a.flags &= -2);
|
|
1441
1441
|
}
|
|
1442
|
-
Lt = -1, at.length = 0, vl(e), Fn = null, (at.length ||
|
|
1442
|
+
Lt = -1, at.length = 0, vl(e), Fn = null, (at.length || Ai.length) && yl(e);
|
|
1443
1443
|
}
|
|
1444
1444
|
}
|
|
1445
1445
|
function Hf(e, t) {
|
|
@@ -1519,27 +1519,27 @@ function eo(e) {
|
|
|
1519
1519
|
}
|
|
1520
1520
|
};
|
|
1521
1521
|
}
|
|
1522
|
-
let St,
|
|
1522
|
+
let St, Ri = [], qo = !1;
|
|
1523
1523
|
function Cr(e, ...t) {
|
|
1524
|
-
St ? St.emit(e, ...t) : qo ||
|
|
1524
|
+
St ? St.emit(e, ...t) : qo || Ri.push({ event: e, args: t });
|
|
1525
1525
|
}
|
|
1526
1526
|
function wl(e, t) {
|
|
1527
1527
|
var a, i;
|
|
1528
|
-
St = e, St ? (St.enabled = !0,
|
|
1528
|
+
St = e, St ? (St.enabled = !0, Ri.forEach(({ event: r, args: n }) => St.emit(r, ...n)), Ri = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1529
1529
|
window.HTMLElement && // also exclude jsdom
|
|
1530
1530
|
// eslint-disable-next-line no-restricted-syntax
|
|
1531
1531
|
!((i = (a = window.navigator) == null ? void 0 : a.userAgent) != null && i.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((n) => {
|
|
1532
1532
|
wl(n, t);
|
|
1533
1533
|
}), setTimeout(() => {
|
|
1534
|
-
St || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, qo = !0,
|
|
1535
|
-
}, 3e3)) : (qo = !0,
|
|
1534
|
+
St || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, qo = !0, Ri = []);
|
|
1535
|
+
}, 3e3)) : (qo = !0, Ri = []);
|
|
1536
1536
|
}
|
|
1537
1537
|
function vA(e, t) {
|
|
1538
1538
|
Cr("app:init", e, t, {
|
|
1539
1539
|
Fragment: De,
|
|
1540
|
-
Text:
|
|
1540
|
+
Text: Bi,
|
|
1541
1541
|
Comment: Me,
|
|
1542
|
-
Static:
|
|
1542
|
+
Static: $i
|
|
1543
1543
|
});
|
|
1544
1544
|
}
|
|
1545
1545
|
function yA(e) {
|
|
@@ -1658,7 +1658,7 @@ function xl() {
|
|
|
1658
1658
|
isUnmounting: !1,
|
|
1659
1659
|
leavingVNodes: /* @__PURE__ */ new Map()
|
|
1660
1660
|
};
|
|
1661
|
-
return
|
|
1661
|
+
return $a(() => {
|
|
1662
1662
|
e.isMounted = !0;
|
|
1663
1663
|
}), Ll(() => {
|
|
1664
1664
|
e.isUnmounting = !0;
|
|
@@ -1701,7 +1701,7 @@ const ht = [Function, Array], jl = {
|
|
|
1701
1701
|
const u = Bu(n);
|
|
1702
1702
|
if (!u)
|
|
1703
1703
|
return to(n);
|
|
1704
|
-
let l =
|
|
1704
|
+
let l = hr(
|
|
1705
1705
|
u,
|
|
1706
1706
|
o,
|
|
1707
1707
|
i,
|
|
@@ -1712,7 +1712,7 @@ const ht = [Function, Array], jl = {
|
|
|
1712
1712
|
u.type !== Me && Wa(u, l);
|
|
1713
1713
|
let s = a.subTree && Bu(a.subTree);
|
|
1714
1714
|
if (s && s.type !== Me && !Oa(u, s) && Hl(a).type !== Me) {
|
|
1715
|
-
let g =
|
|
1715
|
+
let g = hr(
|
|
1716
1716
|
s,
|
|
1717
1717
|
o,
|
|
1718
1718
|
i,
|
|
@@ -1761,7 +1761,7 @@ function zl(e, t) {
|
|
|
1761
1761
|
let i = a.get(t.type);
|
|
1762
1762
|
return i || (i = /* @__PURE__ */ Object.create(null), a.set(t.type, i)), i;
|
|
1763
1763
|
}
|
|
1764
|
-
function
|
|
1764
|
+
function hr(e, t, a, i, r) {
|
|
1765
1765
|
const {
|
|
1766
1766
|
appear: n,
|
|
1767
1767
|
mode: o,
|
|
@@ -1833,7 +1833,7 @@ function Ar(e, t, a, i, r) {
|
|
|
1833
1833
|
N[k] = e, h ? W(h, [I, V]) : V();
|
|
1834
1834
|
},
|
|
1835
1835
|
clone(I) {
|
|
1836
|
-
const H =
|
|
1836
|
+
const H = hr(
|
|
1837
1837
|
I,
|
|
1838
1838
|
t,
|
|
1839
1839
|
a,
|
|
@@ -1905,7 +1905,7 @@ function cn(e, t, a, i, r = !1) {
|
|
|
1905
1905
|
);
|
|
1906
1906
|
return;
|
|
1907
1907
|
}
|
|
1908
|
-
if (
|
|
1908
|
+
if (hi(i) && !r) {
|
|
1909
1909
|
i.shapeFlag & 512 && i.type.__asyncResolved && i.component.subTree.component && cn(e, t, a, i.component.subTree);
|
|
1910
1910
|
return;
|
|
1911
1911
|
}
|
|
@@ -1920,7 +1920,7 @@ function cn(e, t, a, i, r = !1) {
|
|
|
1920
1920
|
`Template ref "${b}" used on a non-ref value. It will not work in the production build.`
|
|
1921
1921
|
), HA.has(A[b])) ? !1 : ve(A, b);
|
|
1922
1922
|
if (l != null && l !== u && (He(l) ? (s[l] = null, h(l) && (g[l] = null)) : xe(l) && (l.value = null)), ae(u))
|
|
1923
|
-
|
|
1923
|
+
Ei(u, f, 12, [o, s]);
|
|
1924
1924
|
else {
|
|
1925
1925
|
const b = He(u), m = xe(u);
|
|
1926
1926
|
if (b || m) {
|
|
@@ -1936,7 +1936,7 @@ function cn(e, t, a, i, r = !1) {
|
|
|
1936
1936
|
}
|
|
1937
1937
|
Er().requestIdleCallback;
|
|
1938
1938
|
Er().cancelIdleCallback;
|
|
1939
|
-
const
|
|
1939
|
+
const hi = (e) => !!e.type.__asyncLoader, xr = (e) => e.type.__isKeepAlive;
|
|
1940
1940
|
function XA(e, t) {
|
|
1941
1941
|
ql(e, "a", t);
|
|
1942
1942
|
}
|
|
@@ -1987,8 +1987,8 @@ function Ln(e, t, a = Ne, i = !1) {
|
|
|
1987
1987
|
}
|
|
1988
1988
|
}
|
|
1989
1989
|
const la = (e) => (t, a = Ne) => {
|
|
1990
|
-
(!
|
|
1991
|
-
}, qA = la("bm"),
|
|
1990
|
+
(!pr || e === "sp") && Ln(e, (...i) => t(...i), a);
|
|
1991
|
+
}, qA = la("bm"), $a = la("m"), OA = la(
|
|
1992
1992
|
"bu"
|
|
1993
1993
|
), Ol = la("u"), Ll = la(
|
|
1994
1994
|
"bum"
|
|
@@ -2070,7 +2070,7 @@ function Zt(e, t, a, i) {
|
|
|
2070
2070
|
return r;
|
|
2071
2071
|
}
|
|
2072
2072
|
function ao(e, t, a = {}, i, r) {
|
|
2073
|
-
if (Se.ce || Se.parent &&
|
|
2073
|
+
if (Se.ce || Se.parent && hi(Se.parent) && Se.parent.ce)
|
|
2074
2074
|
return t !== "default" && (a.name = t), O(), Ze(
|
|
2075
2075
|
De,
|
|
2076
2076
|
null,
|
|
@@ -2333,7 +2333,7 @@ function VA(e) {
|
|
|
2333
2333
|
"data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."
|
|
2334
2334
|
), !we(M))
|
|
2335
2335
|
p.NODE_ENV !== "production" && q("data() should return an object.");
|
|
2336
|
-
else if (e.data =
|
|
2336
|
+
else if (e.data = Pi(M), p.NODE_ENV !== "production")
|
|
2337
2337
|
for (const ee in M)
|
|
2338
2338
|
he("Data", ee), qf(ee[0]) || Object.defineProperty(i, ee, {
|
|
2339
2339
|
configurable: !0,
|
|
@@ -2374,7 +2374,7 @@ function VA(e) {
|
|
|
2374
2374
|
function se(M, ee) {
|
|
2375
2375
|
te(ee) ? ee.forEach((le) => M(le.bind(a))) : ee && M(ee.bind(a));
|
|
2376
2376
|
}
|
|
2377
|
-
if (se(qA, g), se(
|
|
2377
|
+
if (se(qA, g), se($a, A), se(OA, h), se(Ol, b), se(XA, m), se(zA, D), se(QA, de), se(SA, re), se(MA, W), se(Ll, z), se(jr, ue), se(LA, I), te(H))
|
|
2378
2378
|
if (H.length) {
|
|
2379
2379
|
const M = e.exposed || (e.exposed = {});
|
|
2380
2380
|
H.forEach((ee) => {
|
|
@@ -2391,11 +2391,11 @@ function WA(e, t, a = Ue) {
|
|
|
2391
2391
|
for (const i in e) {
|
|
2392
2392
|
const r = e[i];
|
|
2393
2393
|
let n;
|
|
2394
|
-
we(r) ? "default" in r ? n =
|
|
2394
|
+
we(r) ? "default" in r ? n = _i(
|
|
2395
2395
|
r.from || i,
|
|
2396
2396
|
r.default,
|
|
2397
2397
|
!0
|
|
2398
|
-
) : n =
|
|
2398
|
+
) : n = _i(r.from || i) : n = _i(r), xe(n) ? Object.defineProperty(t, i, {
|
|
2399
2399
|
enumerable: !0,
|
|
2400
2400
|
configurable: !0,
|
|
2401
2401
|
get: () => n.value,
|
|
@@ -2458,8 +2458,8 @@ const GA = {
|
|
|
2458
2458
|
props: Xu,
|
|
2459
2459
|
emits: Xu,
|
|
2460
2460
|
// objects
|
|
2461
|
-
methods:
|
|
2462
|
-
computed:
|
|
2461
|
+
methods: Ni,
|
|
2462
|
+
computed: Ni,
|
|
2463
2463
|
// lifecycle
|
|
2464
2464
|
beforeCreate: et,
|
|
2465
2465
|
created: et,
|
|
@@ -2476,8 +2476,8 @@ const GA = {
|
|
|
2476
2476
|
errorCaptured: et,
|
|
2477
2477
|
serverPrefetch: et,
|
|
2478
2478
|
// assets
|
|
2479
|
-
components:
|
|
2480
|
-
directives:
|
|
2479
|
+
components: Ni,
|
|
2480
|
+
directives: Ni,
|
|
2481
2481
|
// watch
|
|
2482
2482
|
watch: YA,
|
|
2483
2483
|
// provide / inject
|
|
@@ -2493,7 +2493,7 @@ function Hu(e, t) {
|
|
|
2493
2493
|
} : t : e;
|
|
2494
2494
|
}
|
|
2495
2495
|
function ZA(e, t) {
|
|
2496
|
-
return
|
|
2496
|
+
return Ni(Mo(e), Mo(t));
|
|
2497
2497
|
}
|
|
2498
2498
|
function Mo(e) {
|
|
2499
2499
|
if (te(e)) {
|
|
@@ -2507,7 +2507,7 @@ function Mo(e) {
|
|
|
2507
2507
|
function et(e, t) {
|
|
2508
2508
|
return e ? [...new Set([].concat(e, t))] : t;
|
|
2509
2509
|
}
|
|
2510
|
-
function
|
|
2510
|
+
function Ni(e, t) {
|
|
2511
2511
|
return e ? Te(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
2512
2512
|
}
|
|
2513
2513
|
function Xu(e, t) {
|
|
@@ -2643,7 +2643,7 @@ function $A(e, t) {
|
|
|
2643
2643
|
i === a && (a = Ne.provides = Object.create(i)), a[e] = t;
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
|
-
function
|
|
2646
|
+
function _i(e, t, a = !1) {
|
|
2647
2647
|
const i = Ne || Se;
|
|
2648
2648
|
if (i || Ia) {
|
|
2649
2649
|
const r = Ia ? Ia._context.provides : i ? i.parent == null ? i.vnode.appContext && i.vnode.appContext.provides : i.parent.provides : void 0;
|
|
@@ -2737,7 +2737,7 @@ function Zl(e, t, a, i) {
|
|
|
2737
2737
|
let o = !1, f;
|
|
2738
2738
|
if (t)
|
|
2739
2739
|
for (let u in t) {
|
|
2740
|
-
if (
|
|
2740
|
+
if (Zi(u))
|
|
2741
2741
|
continue;
|
|
2742
2742
|
const l = t[u];
|
|
2743
2743
|
let s;
|
|
@@ -2806,7 +2806,7 @@ function Yl(e, t, a = !1) {
|
|
|
2806
2806
|
!a && t.mixins.length && t.mixins.forEach(s), e.extends && s(e.extends), e.mixins && e.mixins.forEach(s);
|
|
2807
2807
|
}
|
|
2808
2808
|
if (!n && !u)
|
|
2809
|
-
return we(e) && i.set(e,
|
|
2809
|
+
return we(e) && i.set(e, Fi), Fi;
|
|
2810
2810
|
if (te(n))
|
|
2811
2811
|
for (let s = 0; s < n.length; s++) {
|
|
2812
2812
|
p.NODE_ENV !== "production" && !He(n[s]) && q("props must be strings when using array syntax.", n[s]);
|
|
@@ -2844,7 +2844,7 @@ function Yl(e, t, a = !1) {
|
|
|
2844
2844
|
return we(e) && i.set(e, l), l;
|
|
2845
2845
|
}
|
|
2846
2846
|
function zu(e) {
|
|
2847
|
-
return e[0] !== "$" && !
|
|
2847
|
+
return e[0] !== "$" && !Zi(e) ? !0 : (p.NODE_ENV !== "production" && q(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
2848
2848
|
}
|
|
2849
2849
|
function nh(e) {
|
|
2850
2850
|
return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
|
|
@@ -2965,11 +2965,11 @@ const _l = (e) => e[0] === "_" || e === "$stable", Of = (e) => te(e) ? e.map(wt)
|
|
|
2965
2965
|
for (const f in r)
|
|
2966
2966
|
!_l(f) && o[f] == null && delete r[f];
|
|
2967
2967
|
};
|
|
2968
|
-
let
|
|
2969
|
-
function
|
|
2968
|
+
let Ti, pa;
|
|
2969
|
+
function ai(e, t) {
|
|
2970
2970
|
e.appContext.config.performance && pn() && pa.mark(`vue-${t}-${e.uid}`), p.NODE_ENV !== "production" && PA(e, t, pn() ? pa.now() : Date.now());
|
|
2971
2971
|
}
|
|
2972
|
-
function
|
|
2972
|
+
function ii(e, t) {
|
|
2973
2973
|
if (e.appContext.config.performance && pn()) {
|
|
2974
2974
|
const a = `vue-${t}-${e.uid}`, i = a + ":end";
|
|
2975
2975
|
pa.mark(i), pa.measure(
|
|
@@ -2981,7 +2981,7 @@ function ai(e, t) {
|
|
|
2981
2981
|
p.NODE_ENV !== "production" && EA(e, t, pn() ? pa.now() : Date.now());
|
|
2982
2982
|
}
|
|
2983
2983
|
function pn() {
|
|
2984
|
-
return
|
|
2984
|
+
return Ti !== void 0 || (typeof window < "u" && window.performance ? (Ti = !0, pa = window.performance) : Ti = !1), Ti;
|
|
2985
2985
|
}
|
|
2986
2986
|
function Ah() {
|
|
2987
2987
|
const e = [];
|
|
@@ -3021,13 +3021,13 @@ function ch(e, t) {
|
|
|
3021
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
|
-
case
|
|
3024
|
+
case Bi:
|
|
3025
3025
|
D(d, F, c, P);
|
|
3026
3026
|
break;
|
|
3027
3027
|
case Me:
|
|
3028
3028
|
v(d, F, c, P);
|
|
3029
3029
|
break;
|
|
3030
|
-
case
|
|
3030
|
+
case $i:
|
|
3031
3031
|
d == null ? z(F, c, P, x) : p.NODE_ENV !== "production" && L(d, F, c, x);
|
|
3032
3032
|
break;
|
|
3033
3033
|
case De:
|
|
@@ -3163,7 +3163,7 @@ function ch(e, t) {
|
|
|
3163
3163
|
C
|
|
3164
3164
|
), ie && ja(d, null, P, "created"), de(X, d, d.scopeId, x, P), Z) {
|
|
3165
3165
|
for (const pe in Z)
|
|
3166
|
-
pe !== "value" && !
|
|
3166
|
+
pe !== "value" && !Zi(pe) && n(X, pe, null, Z[pe], B, P);
|
|
3167
3167
|
"value" in Z && n(X, "value", null, Z.value, B), (E = Z.onVnodeBeforeMount) && Tt(E, P, d);
|
|
3168
3168
|
}
|
|
3169
3169
|
p.NODE_ENV !== "production" && (gn(X, "__vnode", d, !0), gn(X, "__vueParentComponent", P, !0)), ie && ja(d, null, P, "beforeMount");
|
|
@@ -3275,7 +3275,7 @@ function ch(e, t) {
|
|
|
3275
3275
|
if (F !== c) {
|
|
3276
3276
|
if (F !== Pe)
|
|
3277
3277
|
for (const B in F)
|
|
3278
|
-
!
|
|
3278
|
+
!Zi(B) && !(B in c) && n(
|
|
3279
3279
|
d,
|
|
3280
3280
|
B,
|
|
3281
3281
|
F[B],
|
|
@@ -3284,7 +3284,7 @@ function ch(e, t) {
|
|
|
3284
3284
|
P
|
|
3285
3285
|
);
|
|
3286
3286
|
for (const B in c) {
|
|
3287
|
-
if (
|
|
3287
|
+
if (Zi(B)) continue;
|
|
3288
3288
|
const x = c[B], C = F[B];
|
|
3289
3289
|
x !== C && B !== "value" && n(d, B, C, x, w, P);
|
|
3290
3290
|
}
|
|
@@ -3361,7 +3361,7 @@ function ch(e, t) {
|
|
|
3361
3361
|
P,
|
|
3362
3362
|
w
|
|
3363
3363
|
);
|
|
3364
|
-
if (p.NODE_ENV !== "production" && C.type.__hmrId && cA(C), p.NODE_ENV !== "production" && (Ur(d),
|
|
3364
|
+
if (p.NODE_ENV !== "production" && C.type.__hmrId && cA(C), p.NODE_ENV !== "production" && (Ur(d), ai(C, "mount")), xr(d) && (C.ctx.renderer = ne), p.NODE_ENV !== "production" && ai(C, "init"), Mh(C, !1, x), p.NODE_ENV !== "production" && ii(C, "init"), C.asyncDep) {
|
|
3365
3365
|
if (p.NODE_ENV !== "production" && It && (d.el = null), w && w.registerDep(C, M, x), !d.el) {
|
|
3366
3366
|
const X = C.subTree = fe(Me);
|
|
3367
3367
|
v(null, X, F, c);
|
|
@@ -3376,7 +3376,7 @@ function ch(e, t) {
|
|
|
3376
3376
|
B,
|
|
3377
3377
|
x
|
|
3378
3378
|
);
|
|
3379
|
-
p.NODE_ENV !== "production" && (Vr(),
|
|
3379
|
+
p.NODE_ENV !== "production" && (Vr(), ii(C, "mount"));
|
|
3380
3380
|
}, se = (d, F, c) => {
|
|
3381
3381
|
const P = F.component = d.component;
|
|
3382
3382
|
if (Eh(d, F, c))
|
|
@@ -3401,11 +3401,11 @@ function ch(e, t) {
|
|
|
3401
3401
|
}
|
|
3402
3402
|
}
|
|
3403
3403
|
let ye = T, gt;
|
|
3404
|
-
p.NODE_ENV !== "production" && Ur(T || d.vnode), Ha(d, !1), T ? (T.el = pe.el, ee(d, T, x)) : T = pe, $ &&
|
|
3404
|
+
p.NODE_ENV !== "production" && Ur(T || d.vnode), Ha(d, !1), T ? (T.el = pe.el, ee(d, T, x)) : T = pe, $ && fi($), (gt = T.props && T.props.onVnodeBeforeUpdate) && Tt(gt, K, T, pe), Ha(d, !0), p.NODE_ENV !== "production" && ai(d, "render");
|
|
3405
3405
|
const ft = Lu(d);
|
|
3406
|
-
p.NODE_ENV !== "production" &&
|
|
3406
|
+
p.NODE_ENV !== "production" && ii(d, "render");
|
|
3407
3407
|
const Ht = d.subTree;
|
|
3408
|
-
d.subTree = ft, p.NODE_ENV !== "production" &&
|
|
3408
|
+
d.subTree = ft, p.NODE_ENV !== "production" && ai(d, "patch"), m(
|
|
3409
3409
|
Ht,
|
|
3410
3410
|
ft,
|
|
3411
3411
|
// parent may have changed if it's in a teleport
|
|
@@ -3415,18 +3415,18 @@ function ch(e, t) {
|
|
|
3415
3415
|
d,
|
|
3416
3416
|
w,
|
|
3417
3417
|
B
|
|
3418
|
-
), p.NODE_ENV !== "production" &&
|
|
3418
|
+
), p.NODE_ENV !== "production" && ii(d, "patch"), T.el = ft.el, ye === null && Bh(d, ft.el), ie && lt(ie, w), (gt = T.props && T.props.onVnodeUpdated) && lt(
|
|
3419
3419
|
() => Tt(gt, K, T, pe),
|
|
3420
3420
|
w
|
|
3421
3421
|
), p.NODE_ENV !== "production" && kl(d), p.NODE_ENV !== "production" && Vr();
|
|
3422
3422
|
} else {
|
|
3423
3423
|
let T;
|
|
3424
|
-
const { el: $, props: ie } = F, { bm: K, m: pe, parent: ye, root: gt, type: ft } = d, Ht =
|
|
3425
|
-
Ha(d, !1), K &&
|
|
3424
|
+
const { el: $, props: ie } = F, { bm: K, m: pe, parent: ye, root: gt, type: ft } = d, Ht = hi(F);
|
|
3425
|
+
Ha(d, !1), K && fi(K), !Ht && (T = ie && ie.onVnodeBeforeMount) && Tt(T, ye, F), Ha(d, !0);
|
|
3426
3426
|
{
|
|
3427
|
-
gt.ce && gt.ce._injectChildStyle(ft), p.NODE_ENV !== "production" &&
|
|
3427
|
+
gt.ce && gt.ce._injectChildStyle(ft), p.NODE_ENV !== "production" && ai(d, "render");
|
|
3428
3428
|
const Xt = d.subTree = Lu(d);
|
|
3429
|
-
p.NODE_ENV !== "production" &&
|
|
3429
|
+
p.NODE_ENV !== "production" && ii(d, "render"), p.NODE_ENV !== "production" && ai(d, "patch"), m(
|
|
3430
3430
|
null,
|
|
3431
3431
|
Xt,
|
|
3432
3432
|
c,
|
|
@@ -3434,7 +3434,7 @@ function ch(e, t) {
|
|
|
3434
3434
|
d,
|
|
3435
3435
|
w,
|
|
3436
3436
|
B
|
|
3437
|
-
), p.NODE_ENV !== "production" &&
|
|
3437
|
+
), p.NODE_ENV !== "production" && ii(d, "patch"), F.el = Xt.el;
|
|
3438
3438
|
}
|
|
3439
3439
|
if (pe && lt(pe, w), !Ht && (T = ie && ie.onVnodeMounted)) {
|
|
3440
3440
|
const Xt = F;
|
|
@@ -3443,14 +3443,14 @@ function ch(e, t) {
|
|
|
3443
3443
|
w
|
|
3444
3444
|
);
|
|
3445
3445
|
}
|
|
3446
|
-
(F.shapeFlag & 256 || ye &&
|
|
3446
|
+
(F.shapeFlag & 256 || ye && hi(ye.vnode) && ye.vnode.shapeFlag & 256) && d.a && lt(d.a, w), d.isMounted = !0, p.NODE_ENV !== "production" && DA(d), F = c = P = null;
|
|
3447
3447
|
}
|
|
3448
3448
|
};
|
|
3449
3449
|
d.scope.on();
|
|
3450
3450
|
const X = d.effect = new Kg(C);
|
|
3451
3451
|
d.scope.off();
|
|
3452
3452
|
const E = d.update = X.run.bind(X), Z = d.job = X.runIfDirty.bind(X);
|
|
3453
|
-
Z.i = d, Z.id = d.uid, X.scheduler = () => On(Z), Ha(d, !0), p.NODE_ENV !== "production" && (X.onTrack = d.rtc ? (T) =>
|
|
3453
|
+
Z.i = d, Z.id = d.uid, X.scheduler = () => On(Z), Ha(d, !0), p.NODE_ENV !== "production" && (X.onTrack = d.rtc ? (T) => fi(d.rtc, T) : void 0, X.onTrigger = d.rtg ? (T) => fi(d.rtg, T) : void 0), E();
|
|
3454
3454
|
}, ee = (d, F, c) => {
|
|
3455
3455
|
F.component = d;
|
|
3456
3456
|
const P = d.vnode.props;
|
|
@@ -3507,7 +3507,7 @@ function ch(e, t) {
|
|
|
3507
3507
|
X
|
|
3508
3508
|
));
|
|
3509
3509
|
}, Ye = (d, F, c, P, w, B, x, C, X) => {
|
|
3510
|
-
d = d ||
|
|
3510
|
+
d = d || Fi, F = F || Fi;
|
|
3511
3511
|
const E = d.length, Z = F.length, T = Math.min(E, Z);
|
|
3512
3512
|
let $;
|
|
3513
3513
|
for ($ = 0; $ < T; $++) {
|
|
@@ -3614,8 +3614,8 @@ function ch(e, t) {
|
|
|
3614
3614
|
let ye, gt = 0;
|
|
3615
3615
|
const ft = $ - K + 1;
|
|
3616
3616
|
let Ht = !1, Xt = 0;
|
|
3617
|
-
const
|
|
3618
|
-
for (E = 0; E < ft; E++)
|
|
3617
|
+
const Hi = new Array(ft);
|
|
3618
|
+
for (E = 0; E < ft; E++) Hi[E] = 0;
|
|
3619
3619
|
for (E = ie; E <= T; E++) {
|
|
3620
3620
|
const $e = d[E];
|
|
3621
3621
|
if (gt >= ft) {
|
|
@@ -3627,11 +3627,11 @@ function ch(e, t) {
|
|
|
3627
3627
|
zt = pe.get($e.key);
|
|
3628
3628
|
else
|
|
3629
3629
|
for (ye = K; ye <= $; ye++)
|
|
3630
|
-
if (
|
|
3630
|
+
if (Hi[ye - K] === 0 && Oa($e, F[ye])) {
|
|
3631
3631
|
zt = ye;
|
|
3632
3632
|
break;
|
|
3633
3633
|
}
|
|
3634
|
-
zt === void 0 ? Le($e, w, B, !0) : (
|
|
3634
|
+
zt === void 0 ? Le($e, w, B, !0) : (Hi[zt - K] = E + 1, zt >= Xt ? Xt = zt : Ht = !0, m(
|
|
3635
3635
|
$e,
|
|
3636
3636
|
F[zt],
|
|
3637
3637
|
c,
|
|
@@ -3643,10 +3643,10 @@ function ch(e, t) {
|
|
|
3643
3643
|
X
|
|
3644
3644
|
), gt++);
|
|
3645
3645
|
}
|
|
3646
|
-
const pu = Ht ? ph(
|
|
3646
|
+
const pu = Ht ? ph(Hi) : Fi;
|
|
3647
3647
|
for (ye = pu.length - 1, E = ft - 1; E >= 0; E--) {
|
|
3648
3648
|
const $e = K + E, zt = F[$e], bu = $e + 1 < Z ? F[$e + 1].el : P;
|
|
3649
|
-
|
|
3649
|
+
Hi[E] === 0 ? m(
|
|
3650
3650
|
null,
|
|
3651
3651
|
zt,
|
|
3652
3652
|
c,
|
|
@@ -3680,7 +3680,7 @@ function ch(e, t) {
|
|
|
3680
3680
|
i(d.anchor, F, c);
|
|
3681
3681
|
return;
|
|
3682
3682
|
}
|
|
3683
|
-
if (x ===
|
|
3683
|
+
if (x === $i) {
|
|
3684
3684
|
ue(d, F, c);
|
|
3685
3685
|
return;
|
|
3686
3686
|
}
|
|
@@ -3713,10 +3713,10 @@ function ch(e, t) {
|
|
|
3713
3713
|
F.ctx.deactivate(d);
|
|
3714
3714
|
return;
|
|
3715
3715
|
}
|
|
3716
|
-
const K = Z & 1 && $, pe = !
|
|
3716
|
+
const K = Z & 1 && $, pe = !hi(d);
|
|
3717
3717
|
let ye;
|
|
3718
3718
|
if (pe && (ye = x && x.onVnodeBeforeUnmount) && Tt(ye, F, d), Z & 6)
|
|
3719
|
-
|
|
3719
|
+
ei(d.component, c, P);
|
|
3720
3720
|
else {
|
|
3721
3721
|
if (Z & 128) {
|
|
3722
3722
|
d.suspense.unmount(c, P);
|
|
@@ -3753,7 +3753,7 @@ function ch(e, t) {
|
|
|
3753
3753
|
}) : xt(c, P);
|
|
3754
3754
|
return;
|
|
3755
3755
|
}
|
|
3756
|
-
if (F ===
|
|
3756
|
+
if (F === $i) {
|
|
3757
3757
|
N(d);
|
|
3758
3758
|
return;
|
|
3759
3759
|
}
|
|
@@ -3770,10 +3770,10 @@ function ch(e, t) {
|
|
|
3770
3770
|
for (; d !== F; )
|
|
3771
3771
|
c = A(d), r(d), d = c;
|
|
3772
3772
|
r(F);
|
|
3773
|
-
},
|
|
3773
|
+
}, ei = (d, F, c) => {
|
|
3774
3774
|
p.NODE_ENV !== "production" && d.type.__hmrId && mA(d);
|
|
3775
3775
|
const { bum: P, scope: w, job: B, subTree: x, um: C, m: X, a: E } = d;
|
|
3776
|
-
Ou(X), Ou(E), P &&
|
|
3776
|
+
Ou(X), Ou(E), P && fi(P), w.stop(), B && (B.flags |= 8, Le(x, d, F, c)), C && lt(C, F), lt(() => {
|
|
3777
3777
|
d.isUnmounted = !0;
|
|
3778
3778
|
}, F), F && F.pendingBranch && !F.isUnmounted && d.asyncDep && !d.asyncResolved && d.suspenseId === F.pendingId && (F.deps--, F.deps === 0 && F.resolve()), p.NODE_ENV !== "production" && kA(d);
|
|
3779
3779
|
}, jt = (d, F, c, P = !1, w = !1, B = 0) => {
|
|
@@ -3831,7 +3831,7 @@ function Gr(e, t, a = !1) {
|
|
|
3831
3831
|
for (let n = 0; n < i.length; n++) {
|
|
3832
3832
|
const o = i[n];
|
|
3833
3833
|
let f = r[n];
|
|
3834
|
-
f.shapeFlag & 1 && !f.dynamicChildren && ((f.patchFlag <= 0 || f.patchFlag === 32) && (f = r[n] = ma(r[n]), f.el = o.el), !a && f.patchFlag !== -2 && Gr(o, f)), f.type ===
|
|
3834
|
+
f.shapeFlag & 1 && !f.dynamicChildren && ((f.patchFlag <= 0 || f.patchFlag === 32) && (f = r[n] = ma(r[n]), f.el = o.el), !a && f.patchFlag !== -2 && Gr(o, f)), f.type === Bi && (f.el = o.el), p.NODE_ENV !== "production" && f.type === Me && !f.el && (f.el = o.el);
|
|
3835
3835
|
}
|
|
3836
3836
|
}
|
|
3837
3837
|
function ph(e) {
|
|
@@ -3866,7 +3866,7 @@ function Ou(e) {
|
|
|
3866
3866
|
}
|
|
3867
3867
|
const bh = Symbol.for("v-scx"), vh = () => {
|
|
3868
3868
|
{
|
|
3869
|
-
const e =
|
|
3869
|
+
const e = _i(bh);
|
|
3870
3870
|
return e || p.NODE_ENV !== "production" && q(
|
|
3871
3871
|
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
|
|
3872
3872
|
), e;
|
|
@@ -3890,7 +3890,7 @@ function a1(e, t, a = Pe) {
|
|
|
3890
3890
|
p.NODE_ENV !== "production" && (f.onWarn = q);
|
|
3891
3891
|
const u = t && i || !t && n !== "post";
|
|
3892
3892
|
let l;
|
|
3893
|
-
if (
|
|
3893
|
+
if (pr) {
|
|
3894
3894
|
if (n === "sync") {
|
|
3895
3895
|
const h = vh();
|
|
3896
3896
|
l = h.__watcherHandles || (h.__watcherHandles = []);
|
|
@@ -3911,7 +3911,7 @@ function a1(e, t, a = Pe) {
|
|
|
3911
3911
|
t && (h.flags |= 4), g && (h.flags |= 2, s && (h.id = s.uid, h.i = s));
|
|
3912
3912
|
};
|
|
3913
3913
|
const A = fA(e, t, f);
|
|
3914
|
-
return
|
|
3914
|
+
return pr && (l ? l.push(A) : u && A()), A;
|
|
3915
3915
|
}
|
|
3916
3916
|
function yh(e, t, a) {
|
|
3917
3917
|
const i = this.proxy, r = He(e) ? e.includes(".") ? i1(i, e) : () => i[e] : e.bind(i, i);
|
|
@@ -4068,7 +4068,7 @@ function Lu(e) {
|
|
|
4068
4068
|
), z = t.props ? f : kh(f);
|
|
4069
4069
|
}
|
|
4070
4070
|
} catch (N) {
|
|
4071
|
-
|
|
4071
|
+
er.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] = n1(v)), z && m !== !1) {
|
|
@@ -4182,20 +4182,20 @@ const o1 = (e) => e.__isSuspense;
|
|
|
4182
4182
|
function Ch(e, t) {
|
|
4183
4183
|
t && t.pendingBranch ? te(e) ? t.effects.push(...e) : t.effects.push(e) : bl(e);
|
|
4184
4184
|
}
|
|
4185
|
-
const De = Symbol.for("v-fgt"),
|
|
4185
|
+
const De = Symbol.for("v-fgt"), Bi = Symbol.for("v-txt"), Me = Symbol.for("v-cmt"), $i = Symbol.for("v-stc"), er = [];
|
|
4186
4186
|
let Ft = null;
|
|
4187
4187
|
function O(e = !1) {
|
|
4188
|
-
|
|
4188
|
+
er.push(Ft = e ? null : []);
|
|
4189
4189
|
}
|
|
4190
4190
|
function xh() {
|
|
4191
|
-
|
|
4191
|
+
er.pop(), Ft = er[er.length - 1] || null;
|
|
4192
4192
|
}
|
|
4193
|
-
let
|
|
4193
|
+
let cr = 1;
|
|
4194
4194
|
function Qu(e, t = !1) {
|
|
4195
|
-
|
|
4195
|
+
cr += e, e < 0 && Ft && t && (Ft.hasOnce = !0);
|
|
4196
4196
|
}
|
|
4197
4197
|
function f1(e) {
|
|
4198
|
-
return e.dynamicChildren =
|
|
4198
|
+
return e.dynamicChildren = cr > 0 ? Ft || Fi : null, xh(), cr > 0 && Ft && Ft.push(e), e;
|
|
4199
4199
|
}
|
|
4200
4200
|
function U(e, t, a, i, r, n) {
|
|
4201
4201
|
return f1(
|
|
@@ -4270,7 +4270,7 @@ function J(e, t = null, a = null, i = 0, r = null, n = e === De ? 0 : 1, o = !1,
|
|
|
4270
4270
|
appContext: null,
|
|
4271
4271
|
ctx: Se
|
|
4272
4272
|
};
|
|
4273
|
-
return f ? (Mf(u, a), n & 128 && e.normalize(u)) : a && (u.shapeFlag |= He(a) ? 8 : 16), p.NODE_ENV !== "production" && u.key !== u.key && q("VNode created with invalid key (NaN). VNode type:", u.type),
|
|
4273
|
+
return f ? (Mf(u, a), n & 128 && e.normalize(u)) : a && (u.shapeFlag |= He(a) ? 8 : 16), p.NODE_ENV !== "production" && u.key !== u.key && q("VNode created with invalid key (NaN). VNode type:", u.type), cr > 0 && // avoid a block node from tracking itself
|
|
4274
4274
|
!o && // has current parent block
|
|
4275
4275
|
Ft && // presence of a patch flag indicates this node needs patching on updates.
|
|
4276
4276
|
// component nodes also should always be patched, because even if the
|
|
@@ -4289,15 +4289,15 @@ function s1(e, t = null, a = null, i = 0, r = null, n = !1) {
|
|
|
4289
4289
|
!0
|
|
4290
4290
|
/* mergeRef: true */
|
|
4291
4291
|
);
|
|
4292
|
-
return a && Mf(f, a),
|
|
4292
|
+
return a && Mf(f, a), cr > 0 && !n && Ft && (f.shapeFlag & 6 ? Ft[Ft.indexOf(e)] = f : Ft.push(f)), f.patchFlag = -2, f;
|
|
4293
4293
|
}
|
|
4294
4294
|
if (F1(e) && (e = e.__vccOpts), t) {
|
|
4295
4295
|
t = Hh(t);
|
|
4296
4296
|
let { class: f, style: u } = t;
|
|
4297
|
-
f && !He(f) && (t.class = Ce(f)), we(u) && (
|
|
4297
|
+
f && !He(f) && (t.class = Ce(f)), we(u) && (Fr(u) && !te(u) && (u = Te({}, u)), t.style = ut(u));
|
|
4298
4298
|
}
|
|
4299
4299
|
const o = He(e) ? 1 : o1(e) ? 128 : Cl(e) ? 64 : we(e) ? 4 : ae(e) ? 2 : 0;
|
|
4300
|
-
return p.NODE_ENV !== "production" && o & 4 &&
|
|
4300
|
+
return p.NODE_ENV !== "production" && o & 4 && Fr(e) && (e = oe(e), q(
|
|
4301
4301
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
4302
4302
|
`
|
|
4303
4303
|
Component that was made reactive: `,
|
|
@@ -4314,7 +4314,7 @@ Component that was made reactive: `,
|
|
|
4314
4314
|
);
|
|
4315
4315
|
}
|
|
4316
4316
|
function Hh(e) {
|
|
4317
|
-
return e ?
|
|
4317
|
+
return e ? Fr(e) || Gl(e) ? Te({}, e) : e : null;
|
|
4318
4318
|
}
|
|
4319
4319
|
function Yt(e, t, a = !1, i = !1) {
|
|
4320
4320
|
const { props: r, ref: n, patchFlag: o, children: f, transition: u } = e, l = t ? zh(r || {}, t) : r, s = {
|
|
@@ -4369,11 +4369,11 @@ function g1(e) {
|
|
|
4369
4369
|
const t = Yt(e);
|
|
4370
4370
|
return te(e.children) && (t.children = e.children.map(g1)), t;
|
|
4371
4371
|
}
|
|
4372
|
-
function
|
|
4373
|
-
return fe(
|
|
4372
|
+
function mr(e = " ", t = 0) {
|
|
4373
|
+
return fe(Bi, null, e, t);
|
|
4374
4374
|
}
|
|
4375
4375
|
function Xh(e, t) {
|
|
4376
|
-
const a = fe(
|
|
4376
|
+
const a = fe($i, null, e);
|
|
4377
4377
|
return a.staticCount = t, a;
|
|
4378
4378
|
}
|
|
4379
4379
|
function Be(e = "", t = !1) {
|
|
@@ -4385,7 +4385,7 @@ function wt(e) {
|
|
|
4385
4385
|
null,
|
|
4386
4386
|
// #3666, avoid reference pollution when reusing vnode
|
|
4387
4387
|
e.slice()
|
|
4388
|
-
) : Ga(e) ? ma(e) : fe(
|
|
4388
|
+
) : Ga(e) ? ma(e) : fe(Bi, null, String(e));
|
|
4389
4389
|
}
|
|
4390
4390
|
function ma(e) {
|
|
4391
4391
|
return e.el === null && e.patchFlag !== -1 || e.memo ? e : Yt(e);
|
|
@@ -4407,7 +4407,7 @@ function Mf(e, t) {
|
|
|
4407
4407
|
const r = t._;
|
|
4408
4408
|
!r && !Gl(t) ? t._ctx = Se : r === 3 && Se && (Se.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
4409
4409
|
}
|
|
4410
|
-
else ae(t) ? (t = { default: t, _ctx: Se }, a = 32) : (t = String(t), i & 64 ? (a = 16, t = [
|
|
4410
|
+
else ae(t) ? (t = { default: t, _ctx: Se }, a = 32) : (t = String(t), i & 64 ? (a = 16, t = [mr(t)]) : a = 8);
|
|
4411
4411
|
e.children = t, e.shapeFlag |= a;
|
|
4412
4412
|
}
|
|
4413
4413
|
function zh(...e) {
|
|
@@ -4528,7 +4528,7 @@ let vn, No;
|
|
|
4528
4528
|
(a) => Ne = a
|
|
4529
4529
|
), No = t(
|
|
4530
4530
|
"__VUE_SSR_SETTERS__",
|
|
4531
|
-
(a) =>
|
|
4531
|
+
(a) => pr = a
|
|
4532
4532
|
);
|
|
4533
4533
|
}
|
|
4534
4534
|
const Hr = (e) => {
|
|
@@ -4547,7 +4547,7 @@ function Jo(e, { isNativeTag: t }) {
|
|
|
4547
4547
|
function l1(e) {
|
|
4548
4548
|
return e.vnode.shapeFlag & 4;
|
|
4549
4549
|
}
|
|
4550
|
-
let
|
|
4550
|
+
let pr = !1;
|
|
4551
4551
|
function Mh(e, t = !1, a = !1) {
|
|
4552
4552
|
t && No(t);
|
|
4553
4553
|
const { props: i, children: r } = e.vnode, n = l1(e);
|
|
@@ -4577,7 +4577,7 @@ function Sh(e, t) {
|
|
|
4577
4577
|
const { setup: r } = i;
|
|
4578
4578
|
if (r) {
|
|
4579
4579
|
sa();
|
|
4580
|
-
const n = e.setupContext = r.length > 1 ? Nh(e) : null, o = Hr(e), f =
|
|
4580
|
+
const n = e.setupContext = r.length > 1 ? Nh(e) : null, o = Hr(e), f = Ei(
|
|
4581
4581
|
r,
|
|
4582
4582
|
e,
|
|
4583
4583
|
0,
|
|
@@ -4586,7 +4586,7 @@ function Sh(e, t) {
|
|
|
4586
4586
|
n
|
|
4587
4587
|
]
|
|
4588
4588
|
), u = Df(f);
|
|
4589
|
-
if (ga(), o(), (u || e.sp) && !
|
|
4589
|
+
if (ga(), o(), (u || e.sp) && !hi(e) && Tl(e), u) {
|
|
4590
4590
|
if (f.then(Ru, Ru), t)
|
|
4591
4591
|
return f.then((l) => {
|
|
4592
4592
|
Nu(e, l, t);
|
|
@@ -4721,7 +4721,7 @@ function F1(e) {
|
|
|
4721
4721
|
return ae(e) && "__vccOpts" in e;
|
|
4722
4722
|
}
|
|
4723
4723
|
const Xe = (e, t) => {
|
|
4724
|
-
const a = nA(e, t,
|
|
4724
|
+
const a = nA(e, t, pr);
|
|
4725
4725
|
if (p.NODE_ENV !== "production") {
|
|
4726
4726
|
const i = Sn();
|
|
4727
4727
|
i && i.appContext.config.warnRecursiveComputed && (a._warnRecursive = !0);
|
|
@@ -4907,7 +4907,7 @@ const A1 = Io ? (e) => Io.createHTML(e) : (e) => e, Wh = "http://www.w3.org/2000
|
|
|
4907
4907
|
a ? a.previousSibling : t.lastChild
|
|
4908
4908
|
];
|
|
4909
4909
|
}
|
|
4910
|
-
}, da = "transition",
|
|
4910
|
+
}, da = "transition", qi = "animation", pi = Symbol("_vtc"), h1 = {
|
|
4911
4911
|
name: String,
|
|
4912
4912
|
type: String,
|
|
4913
4913
|
css: {
|
|
@@ -4928,7 +4928,7 @@ const A1 = Io ? (e) => Io.createHTML(e) : (e) => e, Wh = "http://www.w3.org/2000
|
|
|
4928
4928
|
{},
|
|
4929
4929
|
jl,
|
|
4930
4930
|
h1
|
|
4931
|
-
), Yh = (e) => (e.displayName = "Transition", e.props = c1, e),
|
|
4931
|
+
), Yh = (e) => (e.displayName = "Transition", e.props = c1, e), Oi = /* @__PURE__ */ Yh(
|
|
4932
4932
|
(e, { slots: t }) => Uh(jA, m1(e), t)
|
|
4933
4933
|
), Xa = (e, t = []) => {
|
|
4934
4934
|
te(e) ? e.forEach((a) => a(...t)) : e && e(...t);
|
|
@@ -5013,12 +5013,12 @@ function no(e) {
|
|
|
5013
5013
|
return vt.NODE_ENV !== "production" && dA(t, "<transition> explicit duration"), t;
|
|
5014
5014
|
}
|
|
5015
5015
|
function Ot(e, t) {
|
|
5016
|
-
t.split(/\s+/).forEach((a) => a && e.classList.add(a)), (e[
|
|
5016
|
+
t.split(/\s+/).forEach((a) => a && e.classList.add(a)), (e[pi] || (e[pi] = /* @__PURE__ */ new Set())).add(t);
|
|
5017
5017
|
}
|
|
5018
5018
|
function Fa(e, t) {
|
|
5019
5019
|
t.split(/\s+/).forEach((i) => i && e.classList.remove(i));
|
|
5020
|
-
const a = e[
|
|
5021
|
-
a && (a.delete(t), a.size || (e[
|
|
5020
|
+
const a = e[pi];
|
|
5021
|
+
a && (a.delete(t), a.size || (e[pi] = void 0));
|
|
5022
5022
|
}
|
|
5023
5023
|
function Gu(e) {
|
|
5024
5024
|
requestAnimationFrame(() => {
|
|
@@ -5047,9 +5047,9 @@ function Zu(e, t, a, i) {
|
|
|
5047
5047
|
}, f + 1), e.addEventListener(l, A);
|
|
5048
5048
|
}
|
|
5049
5049
|
function p1(e, t) {
|
|
5050
|
-
const a = window.getComputedStyle(e), i = (b) => (a[b] || "").split(", "), r = i(`${da}Delay`), n = i(`${da}Duration`), o = Yu(r, n), f = i(`${
|
|
5050
|
+
const a = window.getComputedStyle(e), i = (b) => (a[b] || "").split(", "), r = i(`${da}Delay`), n = i(`${da}Duration`), o = Yu(r, n), f = i(`${qi}Delay`), u = i(`${qi}Duration`), l = Yu(f, u);
|
|
5051
5051
|
let s = null, g = 0, A = 0;
|
|
5052
|
-
t === da ? o > 0 && (s = da, g = o, A = n.length) : t ===
|
|
5052
|
+
t === da ? o > 0 && (s = da, g = o, A = n.length) : t === qi ? l > 0 && (s = qi, g = l, A = u.length) : (g = Math.max(o, l), s = g > 0 ? o > l ? da : qi : null, A = s ? s === da ? n.length : u.length : 0);
|
|
5053
5053
|
const h = s === da && /\b(transform|all)(,|$)/.test(
|
|
5054
5054
|
i(`${da}Property`).toString()
|
|
5055
5055
|
);
|
|
@@ -5072,27 +5072,27 @@ function Uo() {
|
|
|
5072
5072
|
return document.body.offsetHeight;
|
|
5073
5073
|
}
|
|
5074
5074
|
function $h(e, t, a) {
|
|
5075
|
-
const i = e[
|
|
5075
|
+
const i = e[pi];
|
|
5076
5076
|
i && (t = (t ? [t, ...i] : [...i]).join(" ")), t == null ? e.removeAttribute("class") : a ? e.setAttribute("class", t) : e.className = t;
|
|
5077
5077
|
}
|
|
5078
5078
|
const yn = Symbol("_vod"), b1 = Symbol("_vsh"), v1 = {
|
|
5079
5079
|
beforeMount(e, { value: t }, { transition: a }) {
|
|
5080
|
-
e[yn] = e.style.display === "none" ? "" : e.style.display, a && t ? a.beforeEnter(e) :
|
|
5080
|
+
e[yn] = e.style.display === "none" ? "" : e.style.display, a && t ? a.beforeEnter(e) : Li(e, t);
|
|
5081
5081
|
},
|
|
5082
5082
|
mounted(e, { value: t }, { transition: a }) {
|
|
5083
5083
|
a && t && a.enter(e);
|
|
5084
5084
|
},
|
|
5085
5085
|
updated(e, { value: t, oldValue: a }, { transition: i }) {
|
|
5086
|
-
!t != !a && (i ? t ? (i.beforeEnter(e),
|
|
5087
|
-
|
|
5088
|
-
}) :
|
|
5086
|
+
!t != !a && (i ? t ? (i.beforeEnter(e), Li(e, !0), i.enter(e)) : i.leave(e, () => {
|
|
5087
|
+
Li(e, !1);
|
|
5088
|
+
}) : Li(e, t));
|
|
5089
5089
|
},
|
|
5090
5090
|
beforeUnmount(e, { value: t }) {
|
|
5091
|
-
|
|
5091
|
+
Li(e, t);
|
|
5092
5092
|
}
|
|
5093
5093
|
};
|
|
5094
5094
|
vt.NODE_ENV !== "production" && (v1.name = "show");
|
|
5095
|
-
function
|
|
5095
|
+
function Li(e, t) {
|
|
5096
5096
|
e.style.display = t ? e[yn] : "none", e[b1] = !t;
|
|
5097
5097
|
}
|
|
5098
5098
|
const e0 = Symbol(vt.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), t0 = /(^|;)\s*display\s*:/;
|
|
@@ -5190,7 +5190,7 @@ function as(e, t, a, i, r) {
|
|
|
5190
5190
|
}
|
|
5191
5191
|
o && e.removeAttribute(r || t);
|
|
5192
5192
|
}
|
|
5193
|
-
function
|
|
5193
|
+
function si(e, t, a, i) {
|
|
5194
5194
|
e.addEventListener(t, a, i);
|
|
5195
5195
|
}
|
|
5196
5196
|
function n0(e, t, a, i) {
|
|
@@ -5208,7 +5208,7 @@ function o0(e, t, a, i, r = null) {
|
|
|
5208
5208
|
vt.NODE_ENV !== "production" ? ns(i, t) : i,
|
|
5209
5209
|
r
|
|
5210
5210
|
);
|
|
5211
|
-
|
|
5211
|
+
si(e, f, l, u);
|
|
5212
5212
|
} else o && (n0(e, f, o, u), n[t] = void 0);
|
|
5213
5213
|
}
|
|
5214
5214
|
}
|
|
@@ -5311,7 +5311,7 @@ const y1 = /* @__PURE__ */ new WeakMap(), D1 = /* @__PURE__ */ new WeakMap(), Dn
|
|
|
5311
5311
|
const s = n[l];
|
|
5312
5312
|
s.el && s.el instanceof Element && (r.push(s), Wa(
|
|
5313
5313
|
s,
|
|
5314
|
-
|
|
5314
|
+
hr(
|
|
5315
5315
|
s,
|
|
5316
5316
|
f,
|
|
5317
5317
|
i,
|
|
@@ -5327,8 +5327,8 @@ const y1 = /* @__PURE__ */ new WeakMap(), D1 = /* @__PURE__ */ new WeakMap(), Dn
|
|
|
5327
5327
|
const s = n[l];
|
|
5328
5328
|
s.key != null ? Wa(
|
|
5329
5329
|
s,
|
|
5330
|
-
|
|
5331
|
-
) : vt.NODE_ENV !== "production" && s.type !==
|
|
5330
|
+
hr(s, f, i, a)
|
|
5331
|
+
) : vt.NODE_ENV !== "production" && s.type !== Bi && Vt("<TransitionGroup> children must be keyed.");
|
|
5332
5332
|
}
|
|
5333
5333
|
return fe(u, null, n);
|
|
5334
5334
|
};
|
|
@@ -5349,7 +5349,7 @@ function p0(e) {
|
|
|
5349
5349
|
}
|
|
5350
5350
|
}
|
|
5351
5351
|
function b0(e, t, a) {
|
|
5352
|
-
const i = e.cloneNode(), r = e[
|
|
5352
|
+
const i = e.cloneNode(), r = e[pi];
|
|
5353
5353
|
r && r.forEach((f) => {
|
|
5354
5354
|
f.split(/\s+/).forEach((u) => u && i.classList.remove(u));
|
|
5355
5355
|
}), a.split(/\s+/).forEach((f) => f && i.classList.add(f)), i.style.display = "none";
|
|
@@ -5360,7 +5360,7 @@ function b0(e, t, a) {
|
|
|
5360
5360
|
}
|
|
5361
5361
|
const us = (e) => {
|
|
5362
5362
|
const t = e.props["onUpdate:modelValue"] || !1;
|
|
5363
|
-
return te(t) ? (a) =>
|
|
5363
|
+
return te(t) ? (a) => fi(t, a) : t;
|
|
5364
5364
|
};
|
|
5365
5365
|
function v0(e) {
|
|
5366
5366
|
e.target.composing = !0;
|
|
@@ -5373,13 +5373,13 @@ const uo = Symbol("_assign"), w1 = {
|
|
|
5373
5373
|
created(e, { modifiers: { lazy: t, trim: a, number: i } }, r) {
|
|
5374
5374
|
e[uo] = us(r);
|
|
5375
5375
|
const n = i || r.props && r.props.type === "number";
|
|
5376
|
-
|
|
5376
|
+
si(e, t ? "change" : "input", (o) => {
|
|
5377
5377
|
if (o.target.composing) return;
|
|
5378
5378
|
let f = e.value;
|
|
5379
5379
|
a && (f = f.trim()), n && (f = jo(f)), e[uo](f);
|
|
5380
|
-
}), a &&
|
|
5380
|
+
}), a && si(e, "change", () => {
|
|
5381
5381
|
e.value = e.value.trim();
|
|
5382
|
-
}), t || (
|
|
5382
|
+
}), t || (si(e, "compositionstart", v0), si(e, "compositionend", ss), si(e, "change", ss));
|
|
5383
5383
|
},
|
|
5384
5384
|
// set value on mounted so it's after min/max for type="range"
|
|
5385
5385
|
mounted(e, { value: t }) {
|
|
@@ -5419,7 +5419,7 @@ const uo = Symbol("_assign"), w1 = {
|
|
|
5419
5419
|
right: "arrow-right",
|
|
5420
5420
|
down: "arrow-down",
|
|
5421
5421
|
delete: "backspace"
|
|
5422
|
-
},
|
|
5422
|
+
}, Mi = (e, t) => {
|
|
5423
5423
|
const a = e._withKeys || (e._withKeys = {}), i = t.join(".");
|
|
5424
5424
|
return a[i] || (a[i] = (r) => {
|
|
5425
5425
|
if (!("key" in r))
|
|
@@ -5668,7 +5668,7 @@ var ds = (0, R0.default)({ circles: !0 });
|
|
|
5668
5668
|
const V0 = {
|
|
5669
5669
|
trailing: !0
|
|
5670
5670
|
};
|
|
5671
|
-
function
|
|
5671
|
+
function bi(e, t = 25, a = {}) {
|
|
5672
5672
|
if (a = { ...V0, ...a }, !Number.isFinite(t))
|
|
5673
5673
|
throw new TypeError("Expected `wait` to be a finite number");
|
|
5674
5674
|
let i, r, n = [], o, f;
|
|
@@ -7378,7 +7378,7 @@ var X1 = "__vue-devtools-component-inspector__", z1 = "__vue-devtools-component-
|
|
|
7378
7378
|
fontSize: "12px",
|
|
7379
7379
|
opacity: 0.7
|
|
7380
7380
|
};
|
|
7381
|
-
function
|
|
7381
|
+
function Ci() {
|
|
7382
7382
|
return document.getElementById(X1);
|
|
7383
7383
|
}
|
|
7384
7384
|
function pc() {
|
|
@@ -7417,7 +7417,7 @@ function Uf(e) {
|
|
|
7417
7417
|
return n.id = q1, n.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(n.style, mc), i.appendChild(r), i.appendChild(n), a.appendChild(i), document.body.appendChild(a), a;
|
|
7418
7418
|
}
|
|
7419
7419
|
function Vf(e) {
|
|
7420
|
-
const t =
|
|
7420
|
+
const t = Ci(), a = pc(), i = vc(), r = bc();
|
|
7421
7421
|
t && (Object.assign(t.style, {
|
|
7422
7422
|
...O1,
|
|
7423
7423
|
...If(e.bounds)
|
|
@@ -7430,10 +7430,10 @@ function yc(e) {
|
|
|
7430
7430
|
if (!t.width && !t.height)
|
|
7431
7431
|
return;
|
|
7432
7432
|
const a = Nn(e);
|
|
7433
|
-
|
|
7433
|
+
Ci() ? Vf({ bounds: t, name: a }) : Uf({ bounds: t, name: a });
|
|
7434
7434
|
}
|
|
7435
7435
|
function L1() {
|
|
7436
|
-
const e =
|
|
7436
|
+
const e = Ci();
|
|
7437
7437
|
e && (e.style.display = "none");
|
|
7438
7438
|
}
|
|
7439
7439
|
var Zo = null;
|
|
@@ -7443,7 +7443,7 @@ function Yo(e) {
|
|
|
7443
7443
|
const a = t.__vueParentComponent;
|
|
7444
7444
|
if (a && (Zo = a, a.vnode.el)) {
|
|
7445
7445
|
const r = Za(a), n = Nn(a);
|
|
7446
|
-
|
|
7446
|
+
Ci() ? Vf({ bounds: r, name: n }) : Uf({ bounds: r, name: n });
|
|
7447
7447
|
}
|
|
7448
7448
|
}
|
|
7449
7449
|
}
|
|
@@ -7462,7 +7462,7 @@ function kc() {
|
|
|
7462
7462
|
function t(a) {
|
|
7463
7463
|
a.preventDefault(), a.stopPropagation(), Dc(a, (i) => {
|
|
7464
7464
|
window.removeEventListener("click", t, !0), kn = null, window.removeEventListener("mouseover", Yo);
|
|
7465
|
-
const r =
|
|
7465
|
+
const r = Ci();
|
|
7466
7466
|
r && (r.style.display = "none"), e(JSON.stringify({ id: i }));
|
|
7467
7467
|
});
|
|
7468
7468
|
}
|
|
@@ -7491,7 +7491,7 @@ function Pc(e) {
|
|
|
7491
7491
|
setTimeout(() => {
|
|
7492
7492
|
const i = Za(t);
|
|
7493
7493
|
if (i.width || i.height) {
|
|
7494
|
-
const r = Nn(t), n =
|
|
7494
|
+
const r = Nn(t), n = Ci();
|
|
7495
7495
|
n ? Vf({ ...e, name: r, bounds: i }) : Uf({ ...e, name: r, bounds: i }), setTimeout(() => {
|
|
7496
7496
|
n && (n.style.display = "none");
|
|
7497
7497
|
}, 1500);
|
|
@@ -7536,9 +7536,9 @@ function M1(e) {
|
|
|
7536
7536
|
function go(e) {
|
|
7537
7537
|
return !!(e && e.__v_isRef === !0);
|
|
7538
7538
|
}
|
|
7539
|
-
function
|
|
7539
|
+
function Ji(e) {
|
|
7540
7540
|
const t = e && e.__v_raw;
|
|
7541
|
-
return t ?
|
|
7541
|
+
return t ? Ji(t) : e;
|
|
7542
7542
|
}
|
|
7543
7543
|
var jc = class {
|
|
7544
7544
|
constructor() {
|
|
@@ -7572,9 +7572,9 @@ var jc = class {
|
|
|
7572
7572
|
}
|
|
7573
7573
|
createDefaultSetCallback(e) {
|
|
7574
7574
|
return (t, a, i) => {
|
|
7575
|
-
if ((e.remove || e.newKey) && (Array.isArray(t) ? t.splice(a, 1) :
|
|
7575
|
+
if ((e.remove || e.newKey) && (Array.isArray(t) ? t.splice(a, 1) : Ji(t) instanceof Map ? t.delete(a) : Ji(t) instanceof Set ? t.delete(Array.from(t.values())[a]) : Reflect.deleteProperty(t, a)), !e.remove) {
|
|
7576
7576
|
const r = t[e.newKey || a];
|
|
7577
|
-
this.refEditor.isRef(r) ? this.refEditor.set(r, i) :
|
|
7577
|
+
this.refEditor.isRef(r) ? this.refEditor.set(r, i) : Ji(t) instanceof Map ? t.set(e.newKey || a, i) : Ji(t) instanceof Set ? t.add(i) : t[e.newKey || a] = i;
|
|
7578
7578
|
}
|
|
7579
7579
|
};
|
|
7580
7580
|
}
|
|
@@ -7655,8 +7655,8 @@ var Wf = new Proxy(G.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
|
|
|
7655
7655
|
get(e, t, a) {
|
|
7656
7656
|
return Reflect.get(e, t, a);
|
|
7657
7657
|
}
|
|
7658
|
-
}), S1 =
|
|
7659
|
-
|
|
7658
|
+
}), S1 = bi(() => {
|
|
7659
|
+
xi.hooks.callHook("sendInspectorToClient", Q1());
|
|
7660
7660
|
});
|
|
7661
7661
|
function Oc(e, t) {
|
|
7662
7662
|
var a, i;
|
|
@@ -7693,7 +7693,7 @@ function Lc() {
|
|
|
7693
7693
|
e.hook("addInspector", ({ inspector: i, plugin: r }) => {
|
|
7694
7694
|
Oc(i, r.descriptor);
|
|
7695
7695
|
});
|
|
7696
|
-
const t =
|
|
7696
|
+
const t = bi(async ({ inspectorId: i, plugin: r }) => {
|
|
7697
7697
|
var n;
|
|
7698
7698
|
if (!i || !((n = r == null ? void 0 : r.descriptor) != null && n.app) || Ve.highPerfModeEnabled)
|
|
7699
7699
|
return;
|
|
@@ -7723,7 +7723,7 @@ function Lc() {
|
|
|
7723
7723
|
);
|
|
7724
7724
|
}, 120);
|
|
7725
7725
|
e.hook("sendInspectorTree", t);
|
|
7726
|
-
const a =
|
|
7726
|
+
const a = bi(async ({ inspectorId: i, plugin: r }) => {
|
|
7727
7727
|
var n;
|
|
7728
7728
|
if (!i || !((n = r == null ? void 0 : r.descriptor) != null && n.app) || Ve.highPerfModeEnabled)
|
|
7729
7729
|
return;
|
|
@@ -7811,11 +7811,11 @@ function Mc() {
|
|
|
7811
7811
|
}
|
|
7812
7812
|
var Hs, Xs;
|
|
7813
7813
|
(Xs = (Hs = G)[Ma]) != null || (Hs[Ma] = Mc());
|
|
7814
|
-
var Sc =
|
|
7815
|
-
|
|
7814
|
+
var Sc = bi((e) => {
|
|
7815
|
+
xi.hooks.callHook("devtoolsStateUpdated", { state: e });
|
|
7816
7816
|
});
|
|
7817
|
-
|
|
7818
|
-
|
|
7817
|
+
bi((e, t) => {
|
|
7818
|
+
xi.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
|
|
7819
7819
|
});
|
|
7820
7820
|
var Jn = new Proxy(G.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
|
|
7821
7821
|
get(e, t, a) {
|
|
@@ -7922,7 +7922,7 @@ function Uc(e, t, a) {
|
|
|
7922
7922
|
...n,
|
|
7923
7923
|
[t]: a
|
|
7924
7924
|
};
|
|
7925
|
-
localStorage.setItem(i, JSON.stringify(o)),
|
|
7925
|
+
localStorage.setItem(i, JSON.stringify(o)), xi.hooks.callHookWith(
|
|
7926
7926
|
(f) => {
|
|
7927
7927
|
f.forEach((u) => u({
|
|
7928
7928
|
pluginId: e,
|
|
@@ -8129,7 +8129,7 @@ function em(e, t) {
|
|
|
8129
8129
|
setupFn: i,
|
|
8130
8130
|
descriptor: a
|
|
8131
8131
|
},
|
|
8132
|
-
ctx:
|
|
8132
|
+
ctx: xi
|
|
8133
8133
|
});
|
|
8134
8134
|
a.packageName === "vuex" && r.on.editInspectorState((n) => {
|
|
8135
8135
|
r.sendInspectorState(n.inspectorId);
|
|
@@ -8142,22 +8142,22 @@ function U1(e, t) {
|
|
|
8142
8142
|
}
|
|
8143
8143
|
j();
|
|
8144
8144
|
j();
|
|
8145
|
-
var
|
|
8146
|
-
(Qs = (Ss = G)[
|
|
8145
|
+
var br = "__VUE_DEVTOOLS_ROUTER__", vi = "__VUE_DEVTOOLS_ROUTER_INFO__", Ss, Qs;
|
|
8146
|
+
(Qs = (Ss = G)[vi]) != null || (Ss[vi] = {
|
|
8147
8147
|
currentRoute: null,
|
|
8148
8148
|
routes: []
|
|
8149
8149
|
});
|
|
8150
8150
|
var Rs, Ns;
|
|
8151
|
-
(Ns = (Rs = G)[
|
|
8152
|
-
new Proxy(G[
|
|
8151
|
+
(Ns = (Rs = G)[br]) != null || (Rs[br] = {});
|
|
8152
|
+
new Proxy(G[vi], {
|
|
8153
8153
|
get(e, t) {
|
|
8154
|
-
return G[
|
|
8154
|
+
return G[vi][t];
|
|
8155
8155
|
}
|
|
8156
8156
|
});
|
|
8157
|
-
new Proxy(G[
|
|
8157
|
+
new Proxy(G[br], {
|
|
8158
8158
|
get(e, t) {
|
|
8159
8159
|
if (t === "value")
|
|
8160
|
-
return G[
|
|
8160
|
+
return G[br];
|
|
8161
8161
|
}
|
|
8162
8162
|
});
|
|
8163
8163
|
function tm(e) {
|
|
@@ -8196,14 +8196,14 @@ function im(e, t) {
|
|
|
8196
8196
|
var i;
|
|
8197
8197
|
const r = (i = e.app) == null ? void 0 : i.config.globalProperties.$router, n = am(r == null ? void 0 : r.currentRoute.value), o = Yf(tm(r)), f = console.warn;
|
|
8198
8198
|
console.warn = () => {
|
|
8199
|
-
}, G[
|
|
8199
|
+
}, G[vi] = {
|
|
8200
8200
|
currentRoute: n ? ds(n) : {},
|
|
8201
8201
|
routes: ds(o)
|
|
8202
|
-
}, G[
|
|
8202
|
+
}, G[br] = r, console.warn = f;
|
|
8203
8203
|
}
|
|
8204
|
-
a(), J1.on.componentUpdated(
|
|
8204
|
+
a(), J1.on.componentUpdated(bi(() => {
|
|
8205
8205
|
var i;
|
|
8206
|
-
((i = t.value) == null ? void 0 : i.app) === e.app && (a(), !Ve.highPerfModeEnabled &&
|
|
8206
|
+
((i = t.value) == null ? void 0 : i.app) === e.app && (a(), !Ve.highPerfModeEnabled && xi.hooks.callHook("routerInfoUpdated", { state: G[vi] }));
|
|
8207
8207
|
}, 200));
|
|
8208
8208
|
}
|
|
8209
8209
|
function rm(e) {
|
|
@@ -8333,7 +8333,7 @@ var Us = Lc(), Vs, Ws;
|
|
|
8333
8333
|
},
|
|
8334
8334
|
api: rm(Us)
|
|
8335
8335
|
});
|
|
8336
|
-
var
|
|
8336
|
+
var xi = G.__VUE_DEVTOOLS_KIT_CONTEXT__;
|
|
8337
8337
|
j();
|
|
8338
8338
|
nc(fc());
|
|
8339
8339
|
var Gs, Zs;
|
|
@@ -8430,7 +8430,7 @@ function gm(e, t) {
|
|
|
8430
8430
|
return n;
|
|
8431
8431
|
}
|
|
8432
8432
|
}
|
|
8433
|
-
function
|
|
8433
|
+
function yi(e, t) {
|
|
8434
8434
|
Object.entries(e).forEach(([a, i]) => t(i, a));
|
|
8435
8435
|
}
|
|
8436
8436
|
function _r(e, t) {
|
|
@@ -8459,9 +8459,9 @@ var lm = class {
|
|
|
8459
8459
|
};
|
|
8460
8460
|
j();
|
|
8461
8461
|
j();
|
|
8462
|
-
var dm = (e) => Object.prototype.toString.call(e).slice(8, -1), W1 = (e) => typeof e > "u", Fm = (e) => e === null,
|
|
8462
|
+
var dm = (e) => Object.prototype.toString.call(e).slice(8, -1), W1 = (e) => typeof e > "u", Fm = (e) => e === null, vr = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, _o = (e) => vr(e) && Object.keys(e).length === 0, Ea = (e) => Array.isArray(e), Am = (e) => typeof e == "string", hm = (e) => typeof e == "number" && !isNaN(e), cm = (e) => typeof e == "boolean", mm = (e) => e instanceof RegExp, yr = (e) => e instanceof Map, Dr = (e) => e instanceof Set, G1 = (e) => dm(e) === "Symbol", pm = (e) => e instanceof Date && !isNaN(e.valueOf()), bm = (e) => e instanceof Error, $s = (e) => typeof e == "number" && isNaN(e), vm = (e) => cm(e) || Fm(e) || W1(e) || hm(e) || Am(e) || G1(e), ym = (e) => typeof e == "bigint", Dm = (e) => e === 1 / 0 || e === -1 / 0, wm = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), km = (e) => e instanceof URL;
|
|
8463
8463
|
j();
|
|
8464
|
-
var Z1 = (e) => e.replace(/\./g, "\\."), lo = (e) => e.map(String).map(Z1).join("."),
|
|
8464
|
+
var Z1 = (e) => e.replace(/\./g, "\\."), lo = (e) => e.map(String).map(Z1).join("."), tr = (e) => {
|
|
8465
8465
|
const t = [];
|
|
8466
8466
|
let a = "";
|
|
8467
8467
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -8512,14 +8512,14 @@ var Y1 = [
|
|
|
8512
8512
|
return new RegExp(t, a);
|
|
8513
8513
|
}),
|
|
8514
8514
|
qt(
|
|
8515
|
-
|
|
8515
|
+
Dr,
|
|
8516
8516
|
"set",
|
|
8517
8517
|
// (sets only exist in es6+)
|
|
8518
8518
|
// eslint-disable-next-line es5/no-es6-methods
|
|
8519
8519
|
(e) => [...e.values()],
|
|
8520
8520
|
(e) => new Set(e)
|
|
8521
8521
|
),
|
|
8522
|
-
qt(
|
|
8522
|
+
qt(yr, "map", (e) => [...e.entries()], (e) => new Map(e)),
|
|
8523
8523
|
qt((e) => $s(e) || Dm(e), "number", (e) => $s(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
|
|
8524
8524
|
qt((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
|
|
8525
8525
|
qt(km, "URL", (e) => e.toString(), (e) => new URL(e))
|
|
@@ -8613,7 +8613,7 @@ var Bm = (e, t, a) => {
|
|
|
8613
8613
|
}
|
|
8614
8614
|
};
|
|
8615
8615
|
j();
|
|
8616
|
-
var
|
|
8616
|
+
var li = (e, t) => {
|
|
8617
8617
|
if (t > e.size)
|
|
8618
8618
|
throw new Error("index out of bounds");
|
|
8619
8619
|
const a = e.keys();
|
|
@@ -8633,10 +8633,10 @@ var Cm = (e, t) => {
|
|
|
8633
8633
|
id(t);
|
|
8634
8634
|
for (let a = 0; a < t.length; a++) {
|
|
8635
8635
|
const i = t[a];
|
|
8636
|
-
if (
|
|
8637
|
-
e =
|
|
8638
|
-
else if (
|
|
8639
|
-
const r = +i, n = +t[++a] == 0 ? "key" : "value", o =
|
|
8636
|
+
if (Dr(e))
|
|
8637
|
+
e = li(e, +i);
|
|
8638
|
+
else if (yr(e)) {
|
|
8639
|
+
const r = +i, n = +t[++a] == 0 ? "key" : "value", o = li(e, r);
|
|
8640
8640
|
switch (n) {
|
|
8641
8641
|
case "key":
|
|
8642
8642
|
e = o;
|
|
@@ -8658,15 +8658,15 @@ var Cm = (e, t) => {
|
|
|
8658
8658
|
if (Ea(i)) {
|
|
8659
8659
|
const f = +o;
|
|
8660
8660
|
i = i[f];
|
|
8661
|
-
} else if (
|
|
8661
|
+
} else if (vr(i))
|
|
8662
8662
|
i = i[o];
|
|
8663
|
-
else if (
|
|
8663
|
+
else if (Dr(i)) {
|
|
8664
8664
|
const f = +o;
|
|
8665
|
-
i =
|
|
8666
|
-
} else if (
|
|
8665
|
+
i = li(i, f);
|
|
8666
|
+
} else if (yr(i)) {
|
|
8667
8667
|
if (n === t.length - 2)
|
|
8668
8668
|
break;
|
|
8669
|
-
const u = +o, l = +t[++n] == 0 ? "key" : "value", s =
|
|
8669
|
+
const u = +o, l = +t[++n] == 0 ? "key" : "value", s = li(i, u);
|
|
8670
8670
|
switch (l) {
|
|
8671
8671
|
case "key":
|
|
8672
8672
|
i = s;
|
|
@@ -8678,12 +8678,12 @@ var Cm = (e, t) => {
|
|
|
8678
8678
|
}
|
|
8679
8679
|
}
|
|
8680
8680
|
const r = t[t.length - 1];
|
|
8681
|
-
if (Ea(i) ? i[+r] = a(i[+r]) :
|
|
8682
|
-
const n =
|
|
8681
|
+
if (Ea(i) ? i[+r] = a(i[+r]) : vr(i) && (i[r] = a(i[r])), Dr(i)) {
|
|
8682
|
+
const n = li(i, +r), o = a(n);
|
|
8683
8683
|
n !== o && (i.delete(n), i.add(o));
|
|
8684
8684
|
}
|
|
8685
|
-
if (
|
|
8686
|
-
const n = +t[t.length - 2], o =
|
|
8685
|
+
if (yr(i)) {
|
|
8686
|
+
const n = +t[t.length - 2], o = li(i, n);
|
|
8687
8687
|
switch (+r == 0 ? "key" : "value") {
|
|
8688
8688
|
case "key": {
|
|
8689
8689
|
const u = a(o);
|
|
@@ -8702,12 +8702,12 @@ function ef(e, t, a = []) {
|
|
|
8702
8702
|
if (!e)
|
|
8703
8703
|
return;
|
|
8704
8704
|
if (!Ea(e)) {
|
|
8705
|
-
|
|
8705
|
+
yi(e, (n, o) => ef(n, t, [...a, ...tr(o)]));
|
|
8706
8706
|
return;
|
|
8707
8707
|
}
|
|
8708
8708
|
const [i, r] = e;
|
|
8709
|
-
r &&
|
|
8710
|
-
ef(n, t, [...a, ...
|
|
8709
|
+
r && yi(r, (n, o) => {
|
|
8710
|
+
ef(n, t, [...a, ...tr(o)]);
|
|
8711
8711
|
}), t(i, a);
|
|
8712
8712
|
}
|
|
8713
8713
|
function xm(e, t, a) {
|
|
@@ -8717,21 +8717,21 @@ function xm(e, t, a) {
|
|
|
8717
8717
|
}
|
|
8718
8718
|
function jm(e, t) {
|
|
8719
8719
|
function a(i, r) {
|
|
8720
|
-
const n = Cm(e,
|
|
8721
|
-
i.map(
|
|
8720
|
+
const n = Cm(e, tr(r));
|
|
8721
|
+
i.map(tr).forEach((o) => {
|
|
8722
8722
|
e = $o(e, o, () => n);
|
|
8723
8723
|
});
|
|
8724
8724
|
}
|
|
8725
8725
|
if (Ea(t)) {
|
|
8726
8726
|
const [i, r] = t;
|
|
8727
8727
|
i.forEach((n) => {
|
|
8728
|
-
e = $o(e,
|
|
8729
|
-
}), r &&
|
|
8728
|
+
e = $o(e, tr(n), () => e);
|
|
8729
|
+
}), r && yi(r, a);
|
|
8730
8730
|
} else
|
|
8731
|
-
|
|
8731
|
+
yi(t, a);
|
|
8732
8732
|
return e;
|
|
8733
8733
|
}
|
|
8734
|
-
var Hm = (e, t) =>
|
|
8734
|
+
var Hm = (e, t) => vr(e) || Ea(e) || yr(e) || Dr(e) || $1(e, t);
|
|
8735
8735
|
function Xm(e, t, a) {
|
|
8736
8736
|
const i = a.get(e);
|
|
8737
8737
|
i ? i.push(t) : a.set(e, [t]);
|
|
@@ -8772,11 +8772,11 @@ var rd = (e, t, a, i, r = [], n = [], o = /* @__PURE__ */ new Map()) => {
|
|
|
8772
8772
|
transformedValue: null
|
|
8773
8773
|
};
|
|
8774
8774
|
const l = eg(e, a), s = (f = l == null ? void 0 : l.value) != null ? f : e, g = Ea(s) ? [] : {}, A = {};
|
|
8775
|
-
|
|
8775
|
+
yi(s, (b, m) => {
|
|
8776
8776
|
if (m === "__proto__" || m === "constructor" || m === "prototype")
|
|
8777
8777
|
throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);
|
|
8778
8778
|
const D = rd(b, t, a, i, [...r, m], [...n, e], o);
|
|
8779
|
-
g[m] = D.transformedValue, Ea(D.annotations) ? A[m] = D.annotations :
|
|
8779
|
+
g[m] = D.transformedValue, Ea(D.annotations) ? A[m] = D.annotations : vr(D.annotations) && yi(D.annotations, (v, z) => {
|
|
8780
8780
|
A[Z1(m) + "." + z] = v;
|
|
8781
8781
|
});
|
|
8782
8782
|
});
|
|
@@ -8929,8 +8929,8 @@ j();
|
|
|
8929
8929
|
j();
|
|
8930
8930
|
var ce = {};
|
|
8931
8931
|
const va = typeof window < "u";
|
|
8932
|
-
let
|
|
8933
|
-
const
|
|
8932
|
+
let Ii;
|
|
8933
|
+
const wr = (e) => Ii = e, od = ce.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
8934
8934
|
/* istanbul ignore next */
|
|
8935
8935
|
Symbol()
|
|
8936
8936
|
);
|
|
@@ -9190,7 +9190,7 @@ function Gm(e) {
|
|
|
9190
9190
|
return "unknown";
|
|
9191
9191
|
}
|
|
9192
9192
|
}
|
|
9193
|
-
let
|
|
9193
|
+
let di = !0;
|
|
9194
9194
|
const an = [], qa = "pinia:mutations", Ke = "pinia", { assign: Zm } = Object, Pn = (e) => "🍍 " + e;
|
|
9195
9195
|
function Ym(e, t) {
|
|
9196
9196
|
I1({
|
|
@@ -9308,7 +9308,7 @@ function Ym(e, t) {
|
|
|
9308
9308
|
if (!r)
|
|
9309
9309
|
return Ge(`store "${i.nodeId}" not found`, "error");
|
|
9310
9310
|
const { path: n } = i;
|
|
9311
|
-
_f(r) ? n.unshift("state") : (n.length !== 1 || !r._customProperties.has(n[0]) || n[0] in r.$state) && n.unshift("$state"),
|
|
9311
|
+
_f(r) ? n.unshift("state") : (n.length !== 1 || !r._customProperties.has(n[0]) || n[0] in r.$state) && n.unshift("$state"), di = !1, i.set(r, n, i.state.value), di = !0;
|
|
9312
9312
|
}
|
|
9313
9313
|
}), a.on.editComponentState((i) => {
|
|
9314
9314
|
if (i.type.startsWith("🍍")) {
|
|
@@ -9320,7 +9320,7 @@ function Ym(e, t) {
|
|
|
9320
9320
|
return Ge(`Invalid path for store "${r}":
|
|
9321
9321
|
${o}
|
|
9322
9322
|
Only state can be modified.`);
|
|
9323
|
-
o[0] = "$state",
|
|
9323
|
+
o[0] = "$state", di = !1, i.set(n, o, i.state.value), di = !0;
|
|
9324
9324
|
}
|
|
9325
9325
|
});
|
|
9326
9326
|
});
|
|
@@ -9399,7 +9399,7 @@ function Km(e, t) {
|
|
|
9399
9399
|
});
|
|
9400
9400
|
}, !0), t._customProperties.forEach((o) => {
|
|
9401
9401
|
Ae(() => be(t[o]), (f, u) => {
|
|
9402
|
-
a.notifyComponentUpdate(), a.sendInspectorState(Ke),
|
|
9402
|
+
a.notifyComponentUpdate(), a.sendInspectorState(Ke), di && a.addTimelineEvent({
|
|
9403
9403
|
layerId: qa,
|
|
9404
9404
|
event: {
|
|
9405
9405
|
time: i(),
|
|
@@ -9414,7 +9414,7 @@ function Km(e, t) {
|
|
|
9414
9414
|
});
|
|
9415
9415
|
}, { deep: !0 });
|
|
9416
9416
|
}), t.$subscribe(({ events: o, type: f }, u) => {
|
|
9417
|
-
if (a.notifyComponentUpdate(), a.sendInspectorState(Ke), !
|
|
9417
|
+
if (a.notifyComponentUpdate(), a.sendInspectorState(Ke), !di)
|
|
9418
9418
|
return;
|
|
9419
9419
|
const l = {
|
|
9420
9420
|
time: i(),
|
|
@@ -9494,7 +9494,7 @@ function $m() {
|
|
|
9494
9494
|
let a = [], i = [];
|
|
9495
9495
|
const r = ba({
|
|
9496
9496
|
install(n) {
|
|
9497
|
-
|
|
9497
|
+
wr(r), r._a = n, n.provide(od, r), n.config.globalProperties.$pinia = r, ce.NODE_ENV !== "production" && ce.NODE_ENV !== "test" && va && Ym(n, r), i.forEach((o) => a.push(o)), i = [];
|
|
9498
9498
|
},
|
|
9499
9499
|
use(n) {
|
|
9500
9500
|
return this._a ? a.push(n) : i.push(n), this;
|
|
@@ -9528,7 +9528,7 @@ function cg(e, t, a, i = cd) {
|
|
|
9528
9528
|
};
|
|
9529
9529
|
return !a && Pf() && Yg(r), r;
|
|
9530
9530
|
}
|
|
9531
|
-
function
|
|
9531
|
+
function ri(e, ...t) {
|
|
9532
9532
|
e.forEach((a) => {
|
|
9533
9533
|
a(...t);
|
|
9534
9534
|
});
|
|
@@ -9565,7 +9565,7 @@ function bg(e, t, a, i) {
|
|
|
9565
9565
|
ku(Q(r ? r() : {}).value)
|
|
9566
9566
|
) : ku(a.state.value[e]);
|
|
9567
9567
|
return ct(s, n, Object.keys(o || {}).reduce((g, A) => (ce.NODE_ENV !== "production" && A in s && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${A}" in store "${e}".`), g[A] = ba(Xe(() => {
|
|
9568
|
-
|
|
9568
|
+
wr(a);
|
|
9569
9569
|
const h = a._s.get(e);
|
|
9570
9570
|
return o[A].call(h, h);
|
|
9571
9571
|
})), g), {}));
|
|
@@ -9601,7 +9601,7 @@ function rf(e, t, a = {}, i, r, n) {
|
|
|
9601
9601
|
const y = D = Symbol();
|
|
9602
9602
|
Pa().then(() => {
|
|
9603
9603
|
D === y && (l = !0);
|
|
9604
|
-
}), s = !0,
|
|
9604
|
+
}), s = !0, ri(g, k, i.state.value[e]);
|
|
9605
9605
|
}
|
|
9606
9606
|
const z = n ? function() {
|
|
9607
9607
|
const { state: k } = a, y = k ? k() : {};
|
|
@@ -9621,7 +9621,7 @@ function rf(e, t, a = {}, i, r, n) {
|
|
|
9621
9621
|
if (mg in H)
|
|
9622
9622
|
return H[Fo] = k, H;
|
|
9623
9623
|
const y = function() {
|
|
9624
|
-
|
|
9624
|
+
wr(i);
|
|
9625
9625
|
const V = Array.from(arguments), _ = /* @__PURE__ */ new Set(), he = /* @__PURE__ */ new Set();
|
|
9626
9626
|
function se(le) {
|
|
9627
9627
|
_.add(le);
|
|
@@ -9629,7 +9629,7 @@ function rf(e, t, a = {}, i, r, n) {
|
|
|
9629
9629
|
function M(le) {
|
|
9630
9630
|
he.add(le);
|
|
9631
9631
|
}
|
|
9632
|
-
|
|
9632
|
+
ri(A, {
|
|
9633
9633
|
args: V,
|
|
9634
9634
|
name: y[Fo],
|
|
9635
9635
|
store: W,
|
|
@@ -9640,9 +9640,9 @@ function rf(e, t, a = {}, i, r, n) {
|
|
|
9640
9640
|
try {
|
|
9641
9641
|
ee = H.apply(this && this.$id === e ? this : W, V);
|
|
9642
9642
|
} catch (le) {
|
|
9643
|
-
throw
|
|
9643
|
+
throw ri(he, le), le;
|
|
9644
9644
|
}
|
|
9645
|
-
return ee instanceof Promise ? ee.then((le) => (
|
|
9645
|
+
return ee instanceof Promise ? ee.then((le) => (ri(_, le), le)).catch((le) => (ri(he, le), Promise.reject(le))) : (ri(_, ee), ee);
|
|
9646
9646
|
};
|
|
9647
9647
|
return y[mg] = !0, y[Fo] = k, y;
|
|
9648
9648
|
}, N = /* @__PURE__ */ ba({
|
|
@@ -9668,7 +9668,7 @@ function rf(e, t, a = {}, i, r, n) {
|
|
|
9668
9668
|
return y;
|
|
9669
9669
|
},
|
|
9670
9670
|
$dispose: L
|
|
9671
|
-
}, W =
|
|
9671
|
+
}, W = Pi(ce.NODE_ENV !== "production" || ce.NODE_ENV !== "production" && ce.NODE_ENV !== "test" && va ? ct(
|
|
9672
9672
|
{
|
|
9673
9673
|
_hmrPayload: N,
|
|
9674
9674
|
_customProperties: ba(/* @__PURE__ */ new Set())
|
|
@@ -9722,7 +9722,7 @@ function rf(e, t, a = {}, i, r, n) {
|
|
|
9722
9722
|
for (const k in H._hmrPayload.getters) {
|
|
9723
9723
|
const y = H._hmrPayload.getters[k], V = n ? (
|
|
9724
9724
|
// special handling of options api
|
|
9725
|
-
Xe(() => (
|
|
9725
|
+
Xe(() => (wr(i), y.call(W, W)))
|
|
9726
9726
|
) : y;
|
|
9727
9727
|
W[k] = //
|
|
9728
9728
|
V;
|
|
@@ -9773,11 +9773,11 @@ function $f(e, t, a) {
|
|
|
9773
9773
|
const u = eh();
|
|
9774
9774
|
if (o = // in test mode, ignore the argument provided as we can always retrieve a
|
|
9775
9775
|
// pinia instance with getActivePinia()
|
|
9776
|
-
(ce.NODE_ENV === "test" &&
|
|
9776
|
+
(ce.NODE_ENV === "test" && Ii && Ii._testing ? null : o) || (u ? _i(od, null) : null), o && wr(o), ce.NODE_ENV !== "production" && !Ii)
|
|
9777
9777
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
9778
9778
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
9779
9779
|
This will fail in production.`);
|
|
9780
|
-
o =
|
|
9780
|
+
o = Ii, o._s.has(e) || (r ? rf(e, t, i, o) : bg(e, i, o), ce.NODE_ENV !== "production" && (n._pinia = o));
|
|
9781
9781
|
const l = o._s.get(e);
|
|
9782
9782
|
if (ce.NODE_ENV !== "production" && f) {
|
|
9783
9783
|
const s = "__hot:" + e, g = r ? rf(s, t, i, o, !0) : bg(s, ct({}, i), o, !0);
|
|
@@ -9874,15 +9874,15 @@ function i3(e, t) {
|
|
|
9874
9874
|
Ao || (Ao = new TextEncoder()), t(Ao.encode(a));
|
|
9875
9875
|
});
|
|
9876
9876
|
}
|
|
9877
|
-
const Dg = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
|
9877
|
+
const Dg = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ui = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
|
|
9878
9878
|
for (let e = 0; e < Dg.length; e++)
|
|
9879
|
-
|
|
9879
|
+
Ui[Dg.charCodeAt(e)] = e;
|
|
9880
9880
|
const r3 = (e) => {
|
|
9881
9881
|
let t = e.length * 0.75, a = e.length, i, r = 0, n, o, f, u;
|
|
9882
9882
|
e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
|
|
9883
9883
|
const l = new ArrayBuffer(t), s = new Uint8Array(l);
|
|
9884
9884
|
for (i = 0; i < a; i += 4)
|
|
9885
|
-
n =
|
|
9885
|
+
n = Ui[e.charCodeAt(i)], o = Ui[e.charCodeAt(i + 1)], f = Ui[e.charCodeAt(i + 2)], u = Ui[e.charCodeAt(i + 3)], s[r++] = n << 2 | o >> 4, s[r++] = (o & 15) << 4 | f >> 2, s[r++] = (f & 3) << 6 | u & 63;
|
|
9886
9886
|
return l;
|
|
9887
9887
|
}, n3 = typeof ArrayBuffer == "function", au = (e, t) => {
|
|
9888
9888
|
if (typeof e != "string")
|
|
@@ -11859,10 +11859,10 @@ class xd extends Je {
|
|
|
11859
11859
|
}
|
|
11860
11860
|
}
|
|
11861
11861
|
}
|
|
11862
|
-
function
|
|
11862
|
+
function ji(e) {
|
|
11863
11863
|
e = e || {}, this.ms = e.min || 100, this.max = e.max || 1e4, this.factor = e.factor || 2, this.jitter = e.jitter > 0 && e.jitter <= 1 ? e.jitter : 0, this.attempts = 0;
|
|
11864
11864
|
}
|
|
11865
|
-
|
|
11865
|
+
ji.prototype.duration = function() {
|
|
11866
11866
|
var e = this.ms * Math.pow(this.factor, this.attempts++);
|
|
11867
11867
|
if (this.jitter) {
|
|
11868
11868
|
var t = Math.random(), a = Math.floor(t * this.jitter * e);
|
|
@@ -11870,22 +11870,22 @@ xi.prototype.duration = function() {
|
|
|
11870
11870
|
}
|
|
11871
11871
|
return Math.min(e, this.max) | 0;
|
|
11872
11872
|
};
|
|
11873
|
-
|
|
11873
|
+
ji.prototype.reset = function() {
|
|
11874
11874
|
this.attempts = 0;
|
|
11875
11875
|
};
|
|
11876
|
-
|
|
11876
|
+
ji.prototype.setMin = function(e) {
|
|
11877
11877
|
this.ms = e;
|
|
11878
11878
|
};
|
|
11879
|
-
|
|
11879
|
+
ji.prototype.setMax = function(e) {
|
|
11880
11880
|
this.max = e;
|
|
11881
11881
|
};
|
|
11882
|
-
|
|
11882
|
+
ji.prototype.setJitter = function(e) {
|
|
11883
11883
|
this.jitter = e;
|
|
11884
11884
|
};
|
|
11885
11885
|
class gf extends Je {
|
|
11886
11886
|
constructor(t, a) {
|
|
11887
11887
|
var i;
|
|
11888
|
-
super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (a = t, t = void 0), a = a || {}, a.path = a.path || "/socket.io", this.opts = a, Vn(this, a), this.reconnection(a.reconnection !== !1), this.reconnectionAttempts(a.reconnectionAttempts || 1 / 0), this.reconnectionDelay(a.reconnectionDelay || 1e3), this.reconnectionDelayMax(a.reconnectionDelayMax || 5e3), this.randomizationFactor((i = a.randomizationFactor) !== null && i !== void 0 ? i : 0.5), this.backoff = new
|
|
11888
|
+
super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (a = t, t = void 0), a = a || {}, a.path = a.path || "/socket.io", this.opts = a, Vn(this, a), this.reconnection(a.reconnection !== !1), this.reconnectionAttempts(a.reconnectionAttempts || 1 / 0), this.reconnectionDelay(a.reconnectionDelay || 1e3), this.reconnectionDelayMax(a.reconnectionDelayMax || 5e3), this.randomizationFactor((i = a.randomizationFactor) !== null && i !== void 0 ? i : 0.5), this.backoff = new ji({
|
|
11889
11889
|
min: this.reconnectionDelay(),
|
|
11890
11890
|
max: this.reconnectionDelayMax(),
|
|
11891
11891
|
jitter: this.randomizationFactor()
|
|
@@ -12120,29 +12120,29 @@ class gf extends Je {
|
|
|
12120
12120
|
this._reconnecting = !1, this.backoff.reset(), this.emitReserved("reconnect", t);
|
|
12121
12121
|
}
|
|
12122
12122
|
}
|
|
12123
|
-
const
|
|
12124
|
-
function
|
|
12123
|
+
const Si = {};
|
|
12124
|
+
function ar(e, t) {
|
|
12125
12125
|
typeof e == "object" && (t = e, e = void 0), t = t || {};
|
|
12126
|
-
const a = L3(e, t.path || "/socket.io"), i = a.source, r = a.id, n = a.path, o =
|
|
12126
|
+
const a = L3(e, t.path || "/socket.io"), i = a.source, r = a.id, n = a.path, o = Si[r] && n in Si[r].nsps, f = t.forceNew || t["force new connection"] || t.multiplex === !1 || o;
|
|
12127
12127
|
let u;
|
|
12128
|
-
return f ? u = new gf(i, t) : (
|
|
12128
|
+
return f ? u = new gf(i, t) : (Si[r] || (Si[r] = new gf(i, t)), u = Si[r]), a.query && !t.query && (t.query = a.queryKey), u.socket(a.path, t);
|
|
12129
12129
|
}
|
|
12130
|
-
Object.assign(
|
|
12130
|
+
Object.assign(ar, {
|
|
12131
12131
|
Manager: gf,
|
|
12132
12132
|
Socket: xd,
|
|
12133
|
-
io:
|
|
12134
|
-
connect:
|
|
12133
|
+
io: ar,
|
|
12134
|
+
connect: ar
|
|
12135
12135
|
});
|
|
12136
|
-
const
|
|
12136
|
+
const ci = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Ba = globalThis, ir = "10.22.0";
|
|
12137
12137
|
function ou() {
|
|
12138
12138
|
return fu(Ba), Ba;
|
|
12139
12139
|
}
|
|
12140
12140
|
function fu(e) {
|
|
12141
12141
|
const t = e.__SENTRY__ = e.__SENTRY__ || {};
|
|
12142
|
-
return t.version = t.version ||
|
|
12142
|
+
return t.version = t.version || ir, t[ir] = t[ir] || {};
|
|
12143
12143
|
}
|
|
12144
12144
|
function uu(e, t, a = Ba) {
|
|
12145
|
-
const i = a.__SENTRY__ = a.__SENTRY__ || {}, r = i[
|
|
12145
|
+
const i = a.__SENTRY__ = a.__SENTRY__ || {}, r = i[ir] = i[ir] || {};
|
|
12146
12146
|
return r[e] || (r[e] = t());
|
|
12147
12147
|
}
|
|
12148
12148
|
const Y3 = "Sentry Logger ", Pg = {};
|
|
@@ -12181,12 +12181,12 @@ function a2(...e) {
|
|
|
12181
12181
|
su("error", ...e);
|
|
12182
12182
|
}
|
|
12183
12183
|
function su(e, ...t) {
|
|
12184
|
-
|
|
12184
|
+
ci && jd() && K3(() => {
|
|
12185
12185
|
Ba.console[e](`${Y3}[${e}]:`, ...t);
|
|
12186
12186
|
});
|
|
12187
12187
|
}
|
|
12188
12188
|
function gu() {
|
|
12189
|
-
return
|
|
12189
|
+
return ci ? uu("loggerSettings", () => ({ enabled: !1 })) : { enabled: !1 };
|
|
12190
12190
|
}
|
|
12191
12191
|
const fn = {
|
|
12192
12192
|
/** Enable logging. */
|
|
@@ -12223,7 +12223,7 @@ function u2(e, t, a) {
|
|
|
12223
12223
|
configurable: !0
|
|
12224
12224
|
});
|
|
12225
12225
|
} catch {
|
|
12226
|
-
|
|
12226
|
+
ci && fn.log(`Failed to add non-enumerable property "${t}" to object`, e);
|
|
12227
12227
|
}
|
|
12228
12228
|
}
|
|
12229
12229
|
function s2() {
|
|
@@ -12234,7 +12234,7 @@ let mo;
|
|
|
12234
12234
|
function g2() {
|
|
12235
12235
|
return Math.random() * 16;
|
|
12236
12236
|
}
|
|
12237
|
-
function
|
|
12237
|
+
function rr(e = s2()) {
|
|
12238
12238
|
try {
|
|
12239
12239
|
if (e != null && e.randomUUID)
|
|
12240
12240
|
return e.randomUUID().replace(/-/g, "");
|
|
@@ -12264,7 +12264,7 @@ function d2() {
|
|
|
12264
12264
|
return (Eg ?? (Eg = l2()))();
|
|
12265
12265
|
}
|
|
12266
12266
|
function F2(e, t = {}) {
|
|
12267
|
-
if (t.user && (!e.ipAddress && t.user.ip_address && (e.ipAddress = t.user.ip_address), !e.did && !t.did && (e.did = t.user.id || t.user.email || t.user.username)), e.timestamp = t.timestamp || d2(), t.abnormal_mechanism && (e.abnormal_mechanism = t.abnormal_mechanism), t.ignoreDuration && (e.ignoreDuration = t.ignoreDuration), t.sid && (e.sid = t.sid.length === 32 ? t.sid :
|
|
12267
|
+
if (t.user && (!e.ipAddress && t.user.ip_address && (e.ipAddress = t.user.ip_address), !e.did && !t.did && (e.did = t.user.id || t.user.email || t.user.username)), e.timestamp = t.timestamp || d2(), t.abnormal_mechanism && (e.abnormal_mechanism = t.abnormal_mechanism), t.ignoreDuration && (e.ignoreDuration = t.ignoreDuration), t.sid && (e.sid = t.sid.length === 32 ? t.sid : rr()), t.init !== void 0 && (e.init = t.init), !e.did && t.did && (e.did = `${t.did}`), typeof t.started == "number" && (e.started = t.started), e.ignoreDuration)
|
|
12268
12268
|
e.duration = void 0;
|
|
12269
12269
|
else if (typeof t.duration == "number")
|
|
12270
12270
|
e.duration = t.duration;
|
|
@@ -12285,7 +12285,7 @@ function zd(e, t, a = 2) {
|
|
|
12285
12285
|
return i;
|
|
12286
12286
|
}
|
|
12287
12287
|
function Bg() {
|
|
12288
|
-
return
|
|
12288
|
+
return rr();
|
|
12289
12289
|
}
|
|
12290
12290
|
const lf = "_sentrySpan";
|
|
12291
12291
|
function Cg(e, t) {
|
|
@@ -12578,9 +12578,9 @@ class Ca {
|
|
|
12578
12578
|
* @returns {string} The id of the captured Sentry event.
|
|
12579
12579
|
*/
|
|
12580
12580
|
captureException(t, a) {
|
|
12581
|
-
const i = (a == null ? void 0 : a.event_id) ||
|
|
12581
|
+
const i = (a == null ? void 0 : a.event_id) || rr();
|
|
12582
12582
|
if (!this._client)
|
|
12583
|
-
return
|
|
12583
|
+
return ci && fn.warn("No client configured on scope - will not capture exception!"), i;
|
|
12584
12584
|
const r = new Error("Sentry syntheticException");
|
|
12585
12585
|
return this._client.captureException(
|
|
12586
12586
|
t,
|
|
@@ -12599,9 +12599,9 @@ class Ca {
|
|
|
12599
12599
|
* @returns {string} The id of the captured message.
|
|
12600
12600
|
*/
|
|
12601
12601
|
captureMessage(t, a, i) {
|
|
12602
|
-
const r = (i == null ? void 0 : i.event_id) ||
|
|
12602
|
+
const r = (i == null ? void 0 : i.event_id) || rr();
|
|
12603
12603
|
if (!this._client)
|
|
12604
|
-
return
|
|
12604
|
+
return ci && fn.warn("No client configured on scope - will not capture message!"), r;
|
|
12605
12605
|
const n = new Error(t);
|
|
12606
12606
|
return this._client.captureMessage(
|
|
12607
12607
|
t,
|
|
@@ -12621,8 +12621,8 @@ class Ca {
|
|
|
12621
12621
|
* @returns {string} The id of the captured event.
|
|
12622
12622
|
*/
|
|
12623
12623
|
captureEvent(t, a) {
|
|
12624
|
-
const i = (a == null ? void 0 : a.event_id) ||
|
|
12625
|
-
return this._client ? (this._client.captureEvent(t, { ...a, event_id: i }, this), i) : (
|
|
12624
|
+
const i = (a == null ? void 0 : a.event_id) || rr();
|
|
12625
|
+
return this._client ? (this._client.captureEvent(t, { ...a, event_id: i }, this), i) : (ci && fn.warn("No client configured on scope - will not capture event!"), i);
|
|
12626
12626
|
}
|
|
12627
12627
|
/**
|
|
12628
12628
|
* This will be called on every set call.
|
|
@@ -12705,19 +12705,19 @@ class m2 {
|
|
|
12705
12705
|
return this._stack.length <= 1 ? !1 : !!this._stack.pop();
|
|
12706
12706
|
}
|
|
12707
12707
|
}
|
|
12708
|
-
function
|
|
12708
|
+
function Di() {
|
|
12709
12709
|
const e = ou(), t = fu(e);
|
|
12710
12710
|
return t.stack = t.stack || new m2(h2(), c2());
|
|
12711
12711
|
}
|
|
12712
12712
|
function p2(e) {
|
|
12713
|
-
return
|
|
12713
|
+
return Di().withScope(e);
|
|
12714
12714
|
}
|
|
12715
12715
|
function b2(e, t) {
|
|
12716
|
-
const a =
|
|
12716
|
+
const a = Di();
|
|
12717
12717
|
return a.withScope(() => (a.getStackTop().scope = e, t(e)));
|
|
12718
12718
|
}
|
|
12719
12719
|
function jg(e) {
|
|
12720
|
-
return
|
|
12720
|
+
return Di().withScope(() => e(Di().getIsolationScope()));
|
|
12721
12721
|
}
|
|
12722
12722
|
function v2() {
|
|
12723
12723
|
return {
|
|
@@ -12725,8 +12725,8 @@ function v2() {
|
|
|
12725
12725
|
withScope: p2,
|
|
12726
12726
|
withSetScope: b2,
|
|
12727
12727
|
withSetIsolationScope: (e, t) => jg(t),
|
|
12728
|
-
getCurrentScope: () =>
|
|
12729
|
-
getIsolationScope: () =>
|
|
12728
|
+
getCurrentScope: () => Di().getScope(),
|
|
12729
|
+
getIsolationScope: () => Di().getIsolationScope()
|
|
12730
12730
|
};
|
|
12731
12731
|
}
|
|
12732
12732
|
function Td(e) {
|
|
@@ -12780,7 +12780,7 @@ function C2() {
|
|
|
12780
12780
|
});
|
|
12781
12781
|
} };
|
|
12782
12782
|
}
|
|
12783
|
-
var
|
|
12783
|
+
var Ka = /* @__PURE__ */ ((e) => (e.USER = "USER", e.CONNEKZ_AI = "CONNEKZ_AI", e.SYSTEM = "SYSTEM", e))(Ka || {}), df = /* @__PURE__ */ ((e) => (e.DRAFT = "DRAFT", e.PENDING = "PENDING", e.PROCESSING = "PROCESSING", e.SENT = "SENT", e.DELIVERED = "DELIVERED", e.READ = "READ", e.FAILED = "FAILED", e))(df || {});
|
|
12784
12784
|
const Bt = /* @__PURE__ */ $f("connekz", {
|
|
12785
12785
|
state: () => ({
|
|
12786
12786
|
status: "STOPPED",
|
|
@@ -13110,7 +13110,7 @@ function j2() {
|
|
|
13110
13110
|
localTimezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
13111
13111
|
};
|
|
13112
13112
|
e.clientId && (y.clientId = e.clientId), e.userIdentity && (y.userIdentity = e.userIdentity), e.platform && (y.platform = e.platform);
|
|
13113
|
-
const V =
|
|
13113
|
+
const V = ar(e.baseDomain || "https://api.connekz.com", {
|
|
13114
13114
|
query: y,
|
|
13115
13115
|
path: "/ws/",
|
|
13116
13116
|
reconnection: !1,
|
|
@@ -13223,7 +13223,7 @@ function j2() {
|
|
|
13223
13223
|
localTimezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
13224
13224
|
};
|
|
13225
13225
|
e.clientId && (V.clientId = e.clientId), e.userIdentity && (V.userIdentity = e.userIdentity), e.platform && (V.platform = e.platform);
|
|
13226
|
-
const _ =
|
|
13226
|
+
const _ = ar(e.baseDomain || "https://api.connekz.com", {
|
|
13227
13227
|
query: V,
|
|
13228
13228
|
path: "/ws/",
|
|
13229
13229
|
reconnection: !1,
|
|
@@ -13316,7 +13316,7 @@ async function z2(e) {
|
|
|
13316
13316
|
}
|
|
13317
13317
|
let bo = null;
|
|
13318
13318
|
function T2() {
|
|
13319
|
-
const e =
|
|
13319
|
+
const e = Pi({
|
|
13320
13320
|
audioContext: null,
|
|
13321
13321
|
agentVoiceAnalyser: null,
|
|
13322
13322
|
microphone: null,
|
|
@@ -13433,7 +13433,7 @@ function T2() {
|
|
|
13433
13433
|
}));
|
|
13434
13434
|
}, e.microphone = e.microphoneAudioContext.createMediaStreamSource(Y), e.muteGain = e.microphoneAudioContext.createGain(), e.muteGain.gain.value = 0, e.micGain = e.microphoneAudioContext.createGain(), e.micGain.gain.value = 1, await z2(e.microphoneAudioContext), e.workletNode = new AudioWorkletNode(e.microphoneAudioContext, "worklet-processor"), e.workletNode.port.onmessage = (ge) => {
|
|
13435
13435
|
const d = ge.data;
|
|
13436
|
-
b && n.value, v && v(d), f.value ||
|
|
13436
|
+
b && n.value, v && v(d), f.value || ei(d);
|
|
13437
13437
|
}, e.microphone.connect(e.micGain), e.micGain.connect(e.workletNode), e.workletNode.connect(e.muteGain), i.value = 1;
|
|
13438
13438
|
} catch (R) {
|
|
13439
13439
|
throw console.error("Microphone setup error:", R), i.value = null, R;
|
|
@@ -13579,7 +13579,7 @@ function T2() {
|
|
|
13579
13579
|
}
|
|
13580
13580
|
}), 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;
|
|
13581
13581
|
}
|
|
13582
|
-
function
|
|
13582
|
+
function ei(R) {
|
|
13583
13583
|
let Y = 0;
|
|
13584
13584
|
for (let ge = 0; ge < R.length; ge++)
|
|
13585
13585
|
Y += R[ge] * R[ge];
|
|
@@ -13641,8 +13641,8 @@ function T2() {
|
|
|
13641
13641
|
function lu() {
|
|
13642
13642
|
return bo || (bo = T2()), bo;
|
|
13643
13643
|
}
|
|
13644
|
-
const Ff = Q(3), Af = Q(null), hf = Q(!1),
|
|
13645
|
-
let un = null,
|
|
13644
|
+
const Ff = Q(3), Af = Q(null), hf = Q(!1), nr = Q(0), Ld = Q(!1), cf = Q(null), Hg = Q(null);
|
|
13645
|
+
let un = null, or = null, fr = null, ur = null;
|
|
13646
13646
|
function q2(e) {
|
|
13647
13647
|
return navigator.onLine ? e === null || e <= 100 ? 3 : e <= 250 ? 2 : e <= 500 ? 1 : 0 : 0;
|
|
13648
13648
|
}
|
|
@@ -13664,9 +13664,9 @@ async function L2(e = 3) {
|
|
|
13664
13664
|
}
|
|
13665
13665
|
return t.length === 0 ? null : (t.sort((a, i) => a - i), t[Math.floor(t.length / 2)]);
|
|
13666
13666
|
}
|
|
13667
|
-
async function
|
|
13667
|
+
async function gi() {
|
|
13668
13668
|
if (!navigator.onLine) {
|
|
13669
|
-
Af.value = null, cf.value = null, Hg.value = null, Ff.value = 0, hf.value = !0,
|
|
13669
|
+
Af.value = null, cf.value = null, Hg.value = null, Ff.value = 0, hf.value = !0, nr.value++;
|
|
13670
13670
|
return;
|
|
13671
13671
|
}
|
|
13672
13672
|
const e = navigator.connection;
|
|
@@ -13676,46 +13676,46 @@ async function si() {
|
|
|
13676
13676
|
const a = q2(t);
|
|
13677
13677
|
Ff.value = a;
|
|
13678
13678
|
const i = a <= 1;
|
|
13679
|
-
hf.value = i, i ?
|
|
13679
|
+
hf.value = i, i ? nr.value++ : nr.value = 0;
|
|
13680
13680
|
}
|
|
13681
13681
|
function M2(e) {
|
|
13682
|
-
Md(),
|
|
13682
|
+
Md(), gi(), un = setInterval(gi, e ? 1e4 : 3e4);
|
|
13683
13683
|
const a = navigator.connection;
|
|
13684
|
-
a && (
|
|
13684
|
+
a && (or = () => gi(), a.addEventListener("change", or)), fr = () => gi(), ur = () => gi(), window.addEventListener("online", fr), window.addEventListener("offline", ur);
|
|
13685
13685
|
}
|
|
13686
13686
|
function Md() {
|
|
13687
13687
|
un && (clearInterval(un), un = null);
|
|
13688
13688
|
const e = navigator.connection;
|
|
13689
|
-
e &&
|
|
13689
|
+
e && or && (e.removeEventListener("change", or), or = null), fr && (window.removeEventListener("online", fr), fr = null), ur && (window.removeEventListener("offline", ur), ur = null);
|
|
13690
13690
|
}
|
|
13691
13691
|
function S2() {
|
|
13692
|
-
|
|
13692
|
+
nr.value = 0, Ld.value = !1;
|
|
13693
13693
|
}
|
|
13694
13694
|
function Sd() {
|
|
13695
13695
|
return {
|
|
13696
13696
|
signalStrength: Ff,
|
|
13697
13697
|
speedMbps: Af,
|
|
13698
13698
|
isWeakForVoice: hf,
|
|
13699
|
-
consecutiveWeakCount:
|
|
13699
|
+
consecutiveWeakCount: nr,
|
|
13700
13700
|
hasSuggestedTextChat: Ld,
|
|
13701
13701
|
effectiveType: cf,
|
|
13702
|
-
checkSpeed:
|
|
13702
|
+
checkSpeed: gi,
|
|
13703
13703
|
startMonitoring: M2,
|
|
13704
13704
|
stopMonitoring: Md,
|
|
13705
13705
|
resetSession: S2
|
|
13706
13706
|
};
|
|
13707
13707
|
}
|
|
13708
|
-
const Q2 = 600,
|
|
13708
|
+
const Q2 = 600, _a = "cnkz-voice-agent", Qd = 3, Rd = 2e3, Rt = Pi({
|
|
13709
13709
|
behindTheScenesEvents: [],
|
|
13710
13710
|
currentAiTranscriptConversationId: 0,
|
|
13711
13711
|
aiTranscripts: {},
|
|
13712
13712
|
lastAgentUpdate: 0,
|
|
13713
13713
|
lastUserUpdate: 0
|
|
13714
|
-
}), ze = Q("STOPPED"), R2 = Q(-1), ka = Q(null),
|
|
13714
|
+
}), ze = Q("STOPPED"), R2 = Q(-1), ka = Q(null), sr = Q(null), N2 = Q(300), J2 = Q(1), Xg = Q(2);
|
|
13715
13715
|
let aa = null, Aa = 0;
|
|
13716
|
-
const
|
|
13717
|
-
let kt = null, vo = 0, yo = null, Do = null,
|
|
13718
|
-
const Fe = lu(), Nt = Sd(),
|
|
13716
|
+
const wi = Q(!1), kr = Q(null);
|
|
13717
|
+
let kt = null, vo = 0, yo = null, Do = null, mi = null, wo = null;
|
|
13718
|
+
const Fe = lu(), Nt = Sd(), Vi = Q(null), Bn = Q(null), gr = /* @__PURE__ */ new Set();
|
|
13719
13719
|
function Oe() {
|
|
13720
13720
|
return yo || (yo = Bt()), yo;
|
|
13721
13721
|
}
|
|
@@ -13775,7 +13775,7 @@ function V2(e, t) {
|
|
|
13775
13775
|
return;
|
|
13776
13776
|
}
|
|
13777
13777
|
try {
|
|
13778
|
-
t.isAnnouncement && (
|
|
13778
|
+
t.isAnnouncement && (wi.value || (wi.value = !0, kr.value = Fe.micStatus.value, kr.value === "active" && Fe.muteMic())), Fe.queueChunk(e, t.batchId, t.sequence, new Uint8Array(t.audioBuffer), t.itemId), I2(e);
|
|
13779
13779
|
} catch (a) {
|
|
13780
13780
|
console.error("Error handling audio event:", a);
|
|
13781
13781
|
}
|
|
@@ -13798,7 +13798,7 @@ function G2(e, t) {
|
|
|
13798
13798
|
console.warn("Received invalid user spoke data:", t);
|
|
13799
13799
|
return;
|
|
13800
13800
|
}
|
|
13801
|
-
|
|
13801
|
+
wi.value || (ze.value === "SPEAKING" && (console.log("[VoiceAgent] User spoke during agent speech, clearing queue"), Fe.clearQueue()), Fe.setCurrentConversationId(e));
|
|
13802
13802
|
}
|
|
13803
13803
|
function Z2(e) {
|
|
13804
13804
|
const t = e.data;
|
|
@@ -13806,7 +13806,7 @@ function Z2(e) {
|
|
|
13806
13806
|
console.warn("Received invalid agent status data:", t);
|
|
13807
13807
|
return;
|
|
13808
13808
|
}
|
|
13809
|
-
e.conversationId && t.status === "THINKING" && Fe.setCurrentConversationId(e.conversationId), t.status === "EXECUTING" && ze.value === "SPEAKING" ?
|
|
13809
|
+
e.conversationId && t.status === "THINKING" && Fe.setCurrentConversationId(e.conversationId), t.status === "EXECUTING" && ze.value === "SPEAKING" ? sr.value = "EXECUTING" : rt(t.status);
|
|
13810
13810
|
}
|
|
13811
13811
|
function Y2(e, t) {
|
|
13812
13812
|
if (!t || !e) {
|
|
@@ -13868,7 +13868,7 @@ function Ud(e) {
|
|
|
13868
13868
|
console.warn("Tool call data missing tool name:", a);
|
|
13869
13869
|
return;
|
|
13870
13870
|
}
|
|
13871
|
-
if (
|
|
13871
|
+
if (gr.size > 0) {
|
|
13872
13872
|
const i = {
|
|
13873
13873
|
arguments: {},
|
|
13874
13874
|
name: a.tool.name
|
|
@@ -13880,15 +13880,15 @@ function Ud(e) {
|
|
|
13880
13880
|
console.error("Invalid tool arguments JSON:", r), i.arguments = {};
|
|
13881
13881
|
}
|
|
13882
13882
|
else a.tool.arguments != null && typeof a.tool.arguments == "object" && (i.arguments = a.tool.arguments);
|
|
13883
|
-
for (const r of
|
|
13883
|
+
for (const r of gr)
|
|
13884
13884
|
r(i).then((n) => {
|
|
13885
|
-
At().emitEvent(
|
|
13885
|
+
At().emitEvent(_a, {
|
|
13886
13886
|
type: "tool-response",
|
|
13887
13887
|
toolCallId: a.tool.call_id,
|
|
13888
13888
|
response: n
|
|
13889
13889
|
});
|
|
13890
13890
|
}).catch((n) => {
|
|
13891
|
-
console.error("Tool handler error:", n), At().emitEvent(
|
|
13891
|
+
console.error("Tool handler error:", n), At().emitEvent(_a, {
|
|
13892
13892
|
type: "tool-response",
|
|
13893
13893
|
toolCallId: a.tool.call_id,
|
|
13894
13894
|
response: "Error executing tool: " + n.message
|
|
@@ -13912,11 +13912,11 @@ function Ud(e) {
|
|
|
13912
13912
|
}
|
|
13913
13913
|
function K2() {
|
|
13914
13914
|
const e = At();
|
|
13915
|
-
e.isConnected.value || e.connect(), e.onEvent("connect", Nd), e.onEvent("connect_error", Jd), e.onEvent("disconnect", Id), e.onEvent(
|
|
13915
|
+
e.isConnected.value || e.connect(), e.onEvent("connect", Nd), e.onEvent("connect_error", Jd), e.onEvent("disconnect", Id), e.onEvent(_a, Ud), Fe.setOnAudioDataReady(Gd), Fe.setOnQueueEmpty(Zd), Fe.setOnMicError(Wd);
|
|
13916
13916
|
}
|
|
13917
13917
|
function Fu() {
|
|
13918
13918
|
const e = At();
|
|
13919
|
-
e.offEvent("connect", Nd), e.offEvent("connect_error", Jd), e.offEvent("disconnect", Id), e.offEvent(
|
|
13919
|
+
e.offEvent("connect", Nd), e.offEvent("connect_error", Jd), e.offEvent("disconnect", Id), e.offEvent(_a, Ud);
|
|
13920
13920
|
}
|
|
13921
13921
|
async function Au(e = 0) {
|
|
13922
13922
|
try {
|
|
@@ -13949,7 +13949,7 @@ async function _2(e) {
|
|
|
13949
13949
|
async function $2() {
|
|
13950
13950
|
var e;
|
|
13951
13951
|
if (["DISCONNECTED", "ERROR", "STOPPED", "NOT_STARTED"].includes(ze.value)) {
|
|
13952
|
-
console.log("[VoiceAgent] Starting voice agent..."), Nt.resetSession(), Nt.startMonitoring(!0),
|
|
13952
|
+
console.log("[VoiceAgent] Starting voice agent..."), Nt.resetSession(), Nt.startMonitoring(!0), Vi.value = null, Bn.value = null, Oe().setIsManuallyStopped(!1), rt("INITIATING");
|
|
13953
13953
|
try {
|
|
13954
13954
|
if (Fu(), await Vd(), K2(), await Au(), Oe().setMicPermission("granted"), Fe.startMic(), Fe.micStatus.value === "muted" && Fe.toggleMic(), Oe().isManuallyStopped) return;
|
|
13955
13955
|
const t = At();
|
|
@@ -13967,7 +13967,7 @@ async function $2() {
|
|
|
13967
13967
|
async function Cn() {
|
|
13968
13968
|
Nt.stopMonitoring(), Oe().setIsManuallyStopped(!0);
|
|
13969
13969
|
try {
|
|
13970
|
-
At().emitEvent("stop_agent", null), ka.value && (clearTimeout(ka.value), ka.value = null), aa && (clearInterval(aa), aa = null),
|
|
13970
|
+
At().emitEvent("stop_agent", null), ka.value && (clearTimeout(ka.value), ka.value = null), aa && (clearInterval(aa), aa = null), mi && (clearInterval(mi), mi = null), wo && (clearInterval(wo), wo = null), kt && (clearTimeout(kt), kt = null), await Fe.cleanup(), Fu(), Rt.behindTheScenesEvents.length = 0, Rt.currentAiTranscriptConversationId = 0, Rt.aiTranscripts = {}, Rt.lastAgentUpdate = 0, Rt.lastUserUpdate = 0, Aa = 0, sr.value = null, R2.value = -1, wi.value = !1, kr.value = null, rt("STOPPED"), setTimeout(() => {
|
|
13971
13971
|
Oe().removeConnekzConversation("user"), Oe().removeConnekzConversation("ai");
|
|
13972
13972
|
}, 500);
|
|
13973
13973
|
} catch (e) {
|
|
@@ -13976,7 +13976,7 @@ async function Cn() {
|
|
|
13976
13976
|
}
|
|
13977
13977
|
function ep(e) {
|
|
13978
13978
|
const t = At();
|
|
13979
|
-
t.isConnected.value ? t.emitEvent(
|
|
13979
|
+
t.isConnected.value ? t.emitEvent(_a, {
|
|
13980
13980
|
type: "text-message",
|
|
13981
13981
|
messageText: e
|
|
13982
13982
|
}) : console.warn("Cannot inject message: Socket not connected");
|
|
@@ -14020,7 +14020,7 @@ function Gd(e) {
|
|
|
14020
14020
|
let a = e;
|
|
14021
14021
|
Fe.getSampleRate() !== 24e3 && (a = Fe.downsample(e, Fe.getSampleRate(), 24e3));
|
|
14022
14022
|
const i = Fe.convertFloat32ToInt16(a);
|
|
14023
|
-
t.emitEvent(
|
|
14023
|
+
t.emitEvent(_a, {
|
|
14024
14024
|
type: "audio",
|
|
14025
14025
|
buffer: i
|
|
14026
14026
|
});
|
|
@@ -14030,26 +14030,26 @@ function Gd(e) {
|
|
|
14030
14030
|
else Math.random() < 0.01 && console.log("[VoiceAgent] Audio not sent - socket not connected");
|
|
14031
14031
|
}
|
|
14032
14032
|
function Zd() {
|
|
14033
|
-
|
|
14033
|
+
mi && (clearInterval(mi), mi = null);
|
|
14034
14034
|
const e = At();
|
|
14035
|
-
e.isConnected.value && e.emitEvent(
|
|
14035
|
+
e.isConnected.value && e.emitEvent(_a, {
|
|
14036
14036
|
type: "playback-complete",
|
|
14037
14037
|
timestamp: Date.now()
|
|
14038
|
-
}), du(),
|
|
14038
|
+
}), du(), sr.value && (rt(sr.value), sr.value = null), wi.value && (wi.value = !1, kr.value === "active" && Fe.unmuteMic(), kr.value = null);
|
|
14039
14039
|
}
|
|
14040
14040
|
function hu() {
|
|
14041
|
-
vo++,
|
|
14041
|
+
vo++, $a(() => {
|
|
14042
14042
|
Wn();
|
|
14043
14043
|
}), jr(() => {
|
|
14044
|
-
vo--, vo <= 0 && (Fu(), Cn(), ka.value && clearTimeout(ka.value),
|
|
14044
|
+
vo--, vo <= 0 && (Fu(), Cn(), ka.value && clearTimeout(ka.value), gr.clear());
|
|
14045
14045
|
}), Ae(() => Oe().isManuallyStopped, (t) => {
|
|
14046
14046
|
t && rt("STOPPED");
|
|
14047
14047
|
}), Ae([Nt.isWeakForVoice, Nt.consecutiveWeakCount], ([t, a]) => {
|
|
14048
14048
|
if (!t || ze.value === "STOPPED") {
|
|
14049
|
-
|
|
14049
|
+
Vi.value = null;
|
|
14050
14050
|
return;
|
|
14051
14051
|
}
|
|
14052
|
-
a >= 3 && !Nt.hasSuggestedTextChat.value ? (Bn.value = "Internet too weak for voice. Try text chat instead.",
|
|
14052
|
+
a >= 3 && !Nt.hasSuggestedTextChat.value ? (Bn.value = "Internet too weak for voice. Try text chat instead.", Vi.value = null, Nt.hasSuggestedTextChat.value = !0) : a < 3 && (Vi.value = "Your internet connection is weak. Voice quality may be affected.");
|
|
14053
14053
|
});
|
|
14054
14054
|
const e = {
|
|
14055
14055
|
onAgentStatusChange: (t) => Ae(ze, t),
|
|
@@ -14057,7 +14057,7 @@ function hu() {
|
|
|
14057
14057
|
onUserWaveformUpdate: (t) => Ae(Fe.micVolume, t),
|
|
14058
14058
|
onAgentWaveformUpdate: (t) => Ae(Fe.agentVolume, t),
|
|
14059
14059
|
onTranscriptUpdate: (t) => Ae(() => Oe().connekzConversation, t, { deep: !0 }),
|
|
14060
|
-
onToolCall: (t) => (
|
|
14060
|
+
onToolCall: (t) => (gr.add(t), () => gr.delete(t))
|
|
14061
14061
|
};
|
|
14062
14062
|
return {
|
|
14063
14063
|
startAgent: $2,
|
|
@@ -14072,7 +14072,7 @@ function hu() {
|
|
|
14072
14072
|
toggleMic: Fe.toggleMic,
|
|
14073
14073
|
micStatus: Fe.micStatus,
|
|
14074
14074
|
signalStrength: Nt.signalStrength,
|
|
14075
|
-
connectionWarning:
|
|
14075
|
+
connectionWarning: Vi,
|
|
14076
14076
|
connectionError: Bn,
|
|
14077
14077
|
subscribe: e
|
|
14078
14078
|
};
|
|
@@ -14353,7 +14353,7 @@ const xn = /* @__PURE__ */ Qe(dp, [["render", Ap], ["__scopeId", "data-v-0d55de5
|
|
|
14353
14353
|
emits: ["update:modelValue", "triggerInputting", "triggerSend", "update:cursorPosition"],
|
|
14354
14354
|
setup(e, { emit: t }) {
|
|
14355
14355
|
const a = t, i = e, r = Q(null), n = Q("");
|
|
14356
|
-
|
|
14356
|
+
$a(() => {
|
|
14357
14357
|
i.modelValue !== n.value && (n.value = i.modelValue || "", f());
|
|
14358
14358
|
}), Ae(
|
|
14359
14359
|
() => i.modelValue,
|
|
@@ -14418,7 +14418,7 @@ function vp(e) {
|
|
|
14418
14418
|
}
|
|
14419
14419
|
const Yd = typeof window < "u" && typeof document < "u";
|
|
14420
14420
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
14421
|
-
const yp = Object.prototype.toString, Dp = (e) => yp.call(e) === "[object Object]",
|
|
14421
|
+
const yp = Object.prototype.toString, Dp = (e) => yp.call(e) === "[object Object]", ni = () => {
|
|
14422
14422
|
}, wp = /* @__PURE__ */ kp();
|
|
14423
14423
|
function kp() {
|
|
14424
14424
|
var e, t;
|
|
@@ -14438,12 +14438,12 @@ function Pp(e, t, a) {
|
|
|
14438
14438
|
);
|
|
14439
14439
|
}
|
|
14440
14440
|
const Kd = Yd ? window : void 0;
|
|
14441
|
-
function
|
|
14441
|
+
function Wi(e) {
|
|
14442
14442
|
var t;
|
|
14443
14443
|
const a = Ra(e);
|
|
14444
14444
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
14445
14445
|
}
|
|
14446
|
-
function
|
|
14446
|
+
function Qi(...e) {
|
|
14447
14447
|
const t = [], a = () => {
|
|
14448
14448
|
t.forEach((f) => f()), t.length = 0;
|
|
14449
14449
|
}, i = (f, u, l, s) => (f.addEventListener(u, l, s), () => f.removeEventListener(u, l, s)), r = Xe(() => {
|
|
@@ -14453,7 +14453,7 @@ function Si(...e) {
|
|
|
14453
14453
|
() => {
|
|
14454
14454
|
var f, u;
|
|
14455
14455
|
return [
|
|
14456
|
-
(u = (f = r.value) == null ? void 0 : f.map((l) =>
|
|
14456
|
+
(u = (f = r.value) == null ? void 0 : f.map((l) => Wi(l))) != null ? u : [Kd].filter((l) => l != null),
|
|
14457
14457
|
ko(Ra(r.value ? e[1] : e[0])),
|
|
14458
14458
|
ko(be(r.value ? e[2] : e[1])),
|
|
14459
14459
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
@@ -14482,18 +14482,18 @@ let Tg = !1;
|
|
|
14482
14482
|
function Ep(e, t, a = {}) {
|
|
14483
14483
|
const { window: i = Kd, ignore: r = [], capture: n = !0, detectIframe: o = !1, controls: f = !1 } = a;
|
|
14484
14484
|
if (!i)
|
|
14485
|
-
return f ? { stop:
|
|
14485
|
+
return f ? { stop: ni, cancel: ni, trigger: ni } : ni;
|
|
14486
14486
|
if (wp && !Tg) {
|
|
14487
14487
|
Tg = !0;
|
|
14488
14488
|
const D = { passive: !0 };
|
|
14489
|
-
Array.from(i.document.body.children).forEach((v) =>
|
|
14489
|
+
Array.from(i.document.body.children).forEach((v) => Qi(v, "click", ni, D)), Qi(i.document.documentElement, "click", ni, D);
|
|
14490
14490
|
}
|
|
14491
14491
|
let u = !0;
|
|
14492
14492
|
const l = (D) => Ra(r).some((v) => {
|
|
14493
14493
|
if (typeof v == "string")
|
|
14494
14494
|
return Array.from(i.document.querySelectorAll(v)).some((z) => z === D.target || D.composedPath().includes(z));
|
|
14495
14495
|
{
|
|
14496
|
-
const z =
|
|
14496
|
+
const z = Wi(v);
|
|
14497
14497
|
return z && (D.target === z || D.composedPath().includes(z));
|
|
14498
14498
|
}
|
|
14499
14499
|
});
|
|
@@ -14506,7 +14506,7 @@ function Ep(e, t, a = {}) {
|
|
|
14506
14506
|
return L == null || !Array.isArray(L) ? !1 : L.some((ue) => ue.el === v.target || v.composedPath().includes(ue.el));
|
|
14507
14507
|
}
|
|
14508
14508
|
const A = (D) => {
|
|
14509
|
-
const v =
|
|
14509
|
+
const v = Wi(e);
|
|
14510
14510
|
if (D.target != null && !(!(v instanceof Element) && s(e) && g(e, D)) && !(!v || v === D.target || D.composedPath().includes(v))) {
|
|
14511
14511
|
if ("detail" in D && D.detail === 0 && (u = !l(D)), !u) {
|
|
14512
14512
|
u = !0;
|
|
@@ -14517,19 +14517,19 @@ function Ep(e, t, a = {}) {
|
|
|
14517
14517
|
};
|
|
14518
14518
|
let h = !1;
|
|
14519
14519
|
const b = [
|
|
14520
|
-
|
|
14520
|
+
Qi(i, "click", (D) => {
|
|
14521
14521
|
h || (h = !0, setTimeout(() => {
|
|
14522
14522
|
h = !1;
|
|
14523
14523
|
}, 0), A(D));
|
|
14524
14524
|
}, { passive: !0, capture: n }),
|
|
14525
|
-
|
|
14526
|
-
const v =
|
|
14525
|
+
Qi(i, "pointerdown", (D) => {
|
|
14526
|
+
const v = Wi(e);
|
|
14527
14527
|
u = !l(D) && !!(v && !D.composedPath().includes(v));
|
|
14528
14528
|
}, { passive: !0 }),
|
|
14529
|
-
o &&
|
|
14529
|
+
o && Qi(i, "blur", (D) => {
|
|
14530
14530
|
setTimeout(() => {
|
|
14531
14531
|
var v;
|
|
14532
|
-
const z =
|
|
14532
|
+
const z = Wi(e);
|
|
14533
14533
|
((v = i.document.activeElement) == null ? void 0 : v.tagName) === "IFRAME" && !(z != null && z.contains(i.document.activeElement)) && t(D);
|
|
14534
14534
|
}, 0);
|
|
14535
14535
|
}, { passive: !0 })
|
|
@@ -14589,7 +14589,7 @@ function Op(e) {
|
|
|
14589
14589
|
if (t)
|
|
14590
14590
|
return JSON.parse(t);
|
|
14591
14591
|
}
|
|
14592
|
-
const
|
|
14592
|
+
const ki = { update: qp, set: $d, get: Op, setNamespace: Tp, setHandlers: zp }, Po = {
|
|
14593
14593
|
name: "a",
|
|
14594
14594
|
unified: "b",
|
|
14595
14595
|
non_qualified: "c",
|
|
@@ -14653,12 +14653,12 @@ const Lp = (e) => {
|
|
|
14653
14653
|
];
|
|
14654
14654
|
let pt, mu, bf = {};
|
|
14655
14655
|
function aF() {
|
|
14656
|
-
mu = !0, pt =
|
|
14656
|
+
mu = !0, pt = ki.get("frequently");
|
|
14657
14657
|
}
|
|
14658
14658
|
function Mp(e) {
|
|
14659
14659
|
mu || aF();
|
|
14660
14660
|
var { id: t } = e;
|
|
14661
|
-
pt || (pt = bf), pt[t] || (pt[t] = 0), pt[t] += 1,
|
|
14661
|
+
pt || (pt = bf), pt[t] || (pt[t] = 0), pt[t] += 1, ki.set("last", t), ki.set("frequently", pt);
|
|
14662
14662
|
}
|
|
14663
14663
|
function Sp(e) {
|
|
14664
14664
|
if (mu || aF(), !pt) {
|
|
@@ -14672,7 +14672,7 @@ function Sp(e) {
|
|
|
14672
14672
|
const t = e, a = [];
|
|
14673
14673
|
for (let o in pt)
|
|
14674
14674
|
pt.hasOwnProperty(o) && a.push(o);
|
|
14675
|
-
const r = a.sort((o, f) => pt[o] - pt[f]).reverse().slice(0, t), n =
|
|
14675
|
+
const r = a.sort((o, f) => pt[o] - pt[f]).reverse().slice(0, t), n = ki.get("last");
|
|
14676
14676
|
return n && r.indexOf(n) == -1 && (r.pop(), r.push(n)), r;
|
|
14677
14677
|
}
|
|
14678
14678
|
const vf = { add: Mp, get: Sp }, Qp = {
|
|
@@ -15561,11 +15561,11 @@ function q4(e, t, a, i, r, n) {
|
|
|
15561
15561
|
"aria-label": "Search for an emoji",
|
|
15562
15562
|
"aria-describedby": "emoji-mart-search-description",
|
|
15563
15563
|
onKeydown: [
|
|
15564
|
-
t[0] || (t[0] =
|
|
15565
|
-
t[1] || (t[1] =
|
|
15566
|
-
t[2] || (t[2] =
|
|
15567
|
-
t[3] || (t[3] =
|
|
15568
|
-
t[4] || (t[4] =
|
|
15564
|
+
t[0] || (t[0] = Mi((o) => e.$emit("arrowLeft", o), ["left"])),
|
|
15565
|
+
t[1] || (t[1] = Mi(() => e.$emit("arrowRight"), ["right"])),
|
|
15566
|
+
t[2] || (t[2] = Mi(() => e.$emit("arrowDown"), ["down"])),
|
|
15567
|
+
t[3] || (t[3] = Mi((o) => e.$emit("arrowUp", o), ["up"])),
|
|
15568
|
+
t[4] || (t[4] = Mi(() => e.$emit("enter"), ["enter"]))
|
|
15569
15569
|
],
|
|
15570
15570
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => r.value = o)
|
|
15571
15571
|
}, null, 40, T4), [
|
|
@@ -15703,7 +15703,7 @@ const S4 = {
|
|
|
15703
15703
|
emits: ["select", "skin-change"],
|
|
15704
15704
|
data() {
|
|
15705
15705
|
return {
|
|
15706
|
-
activeSkin: this.skin ||
|
|
15706
|
+
activeSkin: this.skin || ki.get("skin") || this.defaultSkin,
|
|
15707
15707
|
view: new M4(this)
|
|
15708
15708
|
};
|
|
15709
15709
|
},
|
|
@@ -15807,7 +15807,7 @@ const S4 = {
|
|
|
15807
15807
|
e.stopPropagation();
|
|
15808
15808
|
},
|
|
15809
15809
|
onSkinChange(e) {
|
|
15810
|
-
this.activeSkin = e,
|
|
15810
|
+
this.activeSkin = e, ki.update({ skin: e }), this.$emit("skin-change", e);
|
|
15811
15811
|
},
|
|
15812
15812
|
getCategoryComponent(e) {
|
|
15813
15813
|
let t = this.$refs["categories_" + e];
|
|
@@ -16180,7 +16180,7 @@ const U4 = /* @__PURE__ */ Qe(Q4, [["render", I4]]), V4 = /* @__PURE__ */ st({
|
|
|
16180
16180
|
], 8, ib));
|
|
16181
16181
|
}
|
|
16182
16182
|
}), nb = /* @__PURE__ */ Qe(rb, [["__scopeId", "data-v-3f35384f"]]);
|
|
16183
|
-
class
|
|
16183
|
+
class Gi {
|
|
16184
16184
|
// Example: "2023"
|
|
16185
16185
|
/**
|
|
16186
16186
|
* Time ago format (ex: 2 mins ago, or the date)
|
|
@@ -16255,9 +16255,9 @@ class Wi {
|
|
|
16255
16255
|
return t < 30 ? "a few seconds" : t < 60 ? `${Math.floor(t)} seconds` : a < 60 ? `${a} ${a > 1 ? "minutes" : "minute"}` : i < 24 ? `${i} ${i > 1 ? "hours" : "hour"}` : `${r} days`;
|
|
16256
16256
|
}
|
|
16257
16257
|
}
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
|
|
16258
|
+
Xi(Gi, "timeFormat", "h:mm a"), Xi(Gi, "dateFormat", { day: "numeric", month: "short" }), // Example: "23 Jan"
|
|
16259
|
+
Xi(Gi, "shortYearFormat", { year: "2-digit" }), // Example: ", 23"
|
|
16260
|
+
Xi(Gi, "longYearFormat", { year: "numeric" });
|
|
16261
16261
|
const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key: 0 }, sb = /* @__PURE__ */ st({
|
|
16262
16262
|
__name: "MessageLogItem",
|
|
16263
16263
|
props: {
|
|
@@ -16275,12 +16275,12 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16275
16275
|
let n = null;
|
|
16276
16276
|
function o() {
|
|
16277
16277
|
var l;
|
|
16278
|
-
(l = t.message) != null && l.createdAt && (i.value =
|
|
16278
|
+
(l = t.message) != null && l.createdAt && (i.value = Gi.timeAgo(
|
|
16279
16279
|
t.message.createdAt,
|
|
16280
16280
|
!0
|
|
16281
16281
|
));
|
|
16282
16282
|
}
|
|
16283
|
-
|
|
16283
|
+
$a(() => {
|
|
16284
16284
|
o(), n = setInterval(o, 6e4);
|
|
16285
16285
|
}), jr(() => {
|
|
16286
16286
|
n && clearInterval(n);
|
|
@@ -16288,7 +16288,7 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16288
16288
|
const f = Xe(() => {
|
|
16289
16289
|
var s;
|
|
16290
16290
|
let l = "message-item";
|
|
16291
|
-
return t.message ? (l += t.message.senderEntity ===
|
|
16291
|
+
return t.message ? (l += t.message.senderEntity === Ka.USER ? " mine" : " yours", l += ((s = a.chatMessages[t.messageKey - 1]) == null ? void 0 : s.senderEntity) !== t.message.senderEntity ? " last" : "", l) : l + " error";
|
|
16292
16292
|
}), u = () => {
|
|
16293
16293
|
var l;
|
|
16294
16294
|
!((l = t.message) != null && l.tempId) || r.value || (r.value = !0, a.retrySendMessage(t.message.tempId), setTimeout(() => {
|
|
@@ -16302,7 +16302,7 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16302
16302
|
class: Ce(f.value)
|
|
16303
16303
|
}, [
|
|
16304
16304
|
J("div", ob, [
|
|
16305
|
-
|
|
16305
|
+
mr(Re(e.message.message) + " ", 1),
|
|
16306
16306
|
J("div", fb, Re(i.value || "a few sec ago"), 1),
|
|
16307
16307
|
e.message.deliveryStatus === be(df).FAILED ? (O(), U("div", {
|
|
16308
16308
|
key: 0,
|
|
@@ -16417,7 +16417,7 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16417
16417
|
), Ae(
|
|
16418
16418
|
() => t.chatMessages,
|
|
16419
16419
|
(n) => {
|
|
16420
|
-
n.length > 0 && n[0].senderEntity ===
|
|
16420
|
+
n.length > 0 && n[0].senderEntity === Ka.CONNEKZ_AI && (a.value = !1, r());
|
|
16421
16421
|
},
|
|
16422
16422
|
{ deep: !0 }
|
|
16423
16423
|
), (n, o) => (O(), U("div", Fb, [
|
|
@@ -16460,8 +16460,8 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16460
16460
|
message: g,
|
|
16461
16461
|
messageKey: A,
|
|
16462
16462
|
class: Ce({
|
|
16463
|
-
"align-right": g.senderEntity === be(
|
|
16464
|
-
"align-left": g.senderEntity === be(
|
|
16463
|
+
"align-right": g.senderEntity === be(Ka).USER,
|
|
16464
|
+
"align-left": g.senderEntity === be(Ka).CONNEKZ_AI,
|
|
16465
16465
|
"last-message": A === 0
|
|
16466
16466
|
}),
|
|
16467
16467
|
onAnimated: (h) => u(g.tempId || g.id)
|
|
@@ -16505,7 +16505,7 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16505
16505
|
class: Ce(`${o.role === "user" ? "text-right" : " text-left text-primary"}`)
|
|
16506
16506
|
}, [
|
|
16507
16507
|
o.role === "user" ? (O(), U(De, { key: 0 }, [
|
|
16508
|
-
|
|
16508
|
+
mr(Re(o.combined), 1)
|
|
16509
16509
|
], 64)) : (O(), Ze(Vo, {
|
|
16510
16510
|
key: 1,
|
|
16511
16511
|
name: "word-fade",
|
|
@@ -16522,7 +16522,7 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16522
16522
|
})
|
|
16523
16523
|
], 512));
|
|
16524
16524
|
}
|
|
16525
|
-
}), lF = /* @__PURE__ */ Qe(Db, [["__scopeId", "data-v-4dd0de6e"]]), wb = ["src"],
|
|
16525
|
+
}), lF = /* @__PURE__ */ Qe(Db, [["__scopeId", "data-v-4dd0de6e"]]), wb = ["src"], oi = 36, Lg = 300, Mg = 3600, Sg = 6, Bo = 1, Qg = 1.09, Nr = 0.6, kb = /* @__PURE__ */ st({
|
|
16526
16526
|
__name: "AISphere",
|
|
16527
16527
|
props: {
|
|
16528
16528
|
baseHue: {},
|
|
@@ -16590,20 +16590,20 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16590
16590
|
function V(d, F, c) {
|
|
16591
16591
|
let P = 1, w = 1, B = c, x = 100, C = 70;
|
|
16592
16592
|
const X = 0, E = 0;
|
|
16593
|
-
let Z = 360 /
|
|
16593
|
+
let Z = 360 / oi;
|
|
16594
16594
|
const T = F;
|
|
16595
16595
|
switch (d) {
|
|
16596
16596
|
case "none":
|
|
16597
16597
|
P = 0, w = 0;
|
|
16598
16598
|
break;
|
|
16599
16599
|
case "idle":
|
|
16600
|
-
Z = 360 /
|
|
16600
|
+
Z = 360 / oi;
|
|
16601
16601
|
break;
|
|
16602
16602
|
case "start":
|
|
16603
16603
|
T < 2 && (w = de(T / 2), P = w);
|
|
16604
16604
|
break;
|
|
16605
16605
|
case "twinkle":
|
|
16606
|
-
Z = 360 /
|
|
16606
|
+
Z = 360 / oi * 1.2;
|
|
16607
16607
|
const $ = T % 2 / 2;
|
|
16608
16608
|
P = 0.7 + Math.sin($ * Math.PI * 2) * 0.3, C = 70 + Math.sin($ * Math.PI * 2) * 10;
|
|
16609
16609
|
break;
|
|
@@ -16614,7 +16614,7 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16614
16614
|
w = 1 - I(Math.min(T, 1)), P = w;
|
|
16615
16615
|
break;
|
|
16616
16616
|
case "pulse":
|
|
16617
|
-
Z = 360 /
|
|
16617
|
+
Z = 360 / oi * 0.8;
|
|
16618
16618
|
const ie = T % 1.5 / 1.5;
|
|
16619
16619
|
w = 0.95 + Math.sin(ie * Math.PI * 2) * 0.05, C = 70 + Math.sin(ie * Math.PI * 2 + Math.PI) * 10;
|
|
16620
16620
|
break;
|
|
@@ -16630,7 +16630,7 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16630
16630
|
Z = 360 / Mg, P = 0.35, x = 90, C = 100;
|
|
16631
16631
|
break;
|
|
16632
16632
|
case "speaking":
|
|
16633
|
-
Z = 360 /
|
|
16633
|
+
Z = 360 / oi * 0.5, w = 1;
|
|
16634
16634
|
break;
|
|
16635
16635
|
case "disconnected":
|
|
16636
16636
|
Z = 0, P = 0.3, x = 0, C = 100, w = 0.5;
|
|
@@ -16737,8 +16737,8 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16737
16737
|
})), Le = Xe(() => n.themeColor ? k(n.themeColor) : { h: n.baseHue ?? 340, s: 100, l: 70 }), Ct = Xe(() => {
|
|
16738
16738
|
const d = i.micVolume.value * 1;
|
|
16739
16739
|
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" };
|
|
16740
|
-
}), xt = Q(1),
|
|
16741
|
-
return
|
|
16740
|
+
}), xt = Q(1), ei = Q(0.8), jt = Q(n.baseHue ?? 215), R = Q(100), Y = Q(70), S = Q(0), ne = Q(0), ge = Q(0);
|
|
16741
|
+
return $a(() => {
|
|
16742
16742
|
if (!o.value || !f.value || !u.value) return;
|
|
16743
16743
|
M();
|
|
16744
16744
|
const d = new ResizeObserver(M);
|
|
@@ -16760,16 +16760,16 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16760
16760
|
const pe = H(K.hue, E.hue);
|
|
16761
16761
|
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;
|
|
16762
16762
|
}
|
|
16763
|
-
xt.value = E.opacity,
|
|
16763
|
+
xt.value = E.opacity, ei.value = E.scale, jt.value = E.hue, R.value = E.saturation, Y.value = E.lightness, S.value = E.posX, ne.value = E.posY;
|
|
16764
16764
|
let T = E.rotationSpeed;
|
|
16765
16765
|
if (x) {
|
|
16766
|
-
let K = 360 /
|
|
16766
|
+
let K = 360 / oi;
|
|
16767
16767
|
b === "sleep" && (K = 360 / Lg), b === "inactive" && (K = 360 / Mg), ["disconnected", "initiation", "stop"].includes(b) && (K = 0), T = K + (T - K) * C;
|
|
16768
16768
|
}
|
|
16769
16769
|
D += T * P, ge.value = D % 360;
|
|
16770
16770
|
const $ = `hue-rotate(${jt.value}deg) saturate(${R.value / 100}) brightness(${Y.value / 70})`;
|
|
16771
16771
|
u.value.style.filter = $;
|
|
16772
|
-
const ie = `scale(${
|
|
16772
|
+
const ie = `scale(${ei.value}) rotate(${ge.value}deg)`;
|
|
16773
16773
|
if (f.value.style.transform = ie, f.value.style.opacity = xt.value.toString(), s.value === "none") {
|
|
16774
16774
|
f.value.style.opacity = "0", z = requestAnimationFrame(F);
|
|
16775
16775
|
return;
|
|
@@ -16838,7 +16838,7 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16838
16838
|
]), l = Xe(() => ({
|
|
16839
16839
|
transform: o.value === "voice" ? "translateX(0)" : "translateX(-50%)"
|
|
16840
16840
|
}));
|
|
16841
|
-
|
|
16841
|
+
$a(() => {
|
|
16842
16842
|
setTimeout(() => {
|
|
16843
16843
|
f.value = !0;
|
|
16844
16844
|
}, 1e3);
|
|
@@ -16900,17 +16900,17 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16900
16900
|
class: "connekz-signal-indicator"
|
|
16901
16901
|
}, null, 8, ["strength"])),
|
|
16902
16902
|
J("div", zb, [
|
|
16903
|
-
fe(
|
|
16903
|
+
fe(Oi, { name: "fade" }, {
|
|
16904
16904
|
default: Qt(() => [
|
|
16905
16905
|
b.value && f.value ? (O(), U("div", Tb, [
|
|
16906
|
-
v[7] || (v[7] =
|
|
16906
|
+
v[7] || (v[7] = mr(" Reconnecting to Connekz")),
|
|
16907
16907
|
fe(xn)
|
|
16908
16908
|
])) : Be("", !0)
|
|
16909
16909
|
]),
|
|
16910
16910
|
_: 1
|
|
16911
16911
|
})
|
|
16912
16912
|
]),
|
|
16913
|
-
fe(
|
|
16913
|
+
fe(Oi, { name: "fade" }, {
|
|
16914
16914
|
default: Qt(() => [
|
|
16915
16915
|
be(t).showMicPermissionScreen ? (O(), U("div", qb, [
|
|
16916
16916
|
J("div", Ob, [
|
|
@@ -16976,27 +16976,27 @@ const ob = { class: "message-bubble" }, fb = { class: "message-at" }, ub = { key
|
|
|
16976
16976
|
}, null, 8, ["animationState"])
|
|
16977
16977
|
]),
|
|
16978
16978
|
J("div", Sb, [
|
|
16979
|
-
fe(
|
|
16979
|
+
fe(Oi, { name: "fade" }, {
|
|
16980
16980
|
default: Qt(() => [
|
|
16981
16981
|
m.value ? (O(), U("div", {
|
|
16982
16982
|
key: 0,
|
|
16983
16983
|
class: Ce(["connekz-status", be(t).status === "ERROR" ? "--error" : ""]),
|
|
16984
16984
|
onClick: v[2] || (v[2] = (z) => be(r).startAgent())
|
|
16985
16985
|
}, [
|
|
16986
|
-
|
|
16986
|
+
mr(Re(m.value), 1),
|
|
16987
16987
|
["Thinking", "Doing something", "Listening"].includes(m.value) ? (O(), Ze(xn, { key: 0 })) : Be("", !0)
|
|
16988
16988
|
], 2)) : Be("", !0)
|
|
16989
16989
|
]),
|
|
16990
16990
|
_: 1
|
|
16991
16991
|
})
|
|
16992
16992
|
]),
|
|
16993
|
-
fe(
|
|
16993
|
+
fe(Oi, { name: "fade" }, {
|
|
16994
16994
|
default: Qt(() => [
|
|
16995
16995
|
be(r).connectionWarning.value ? (O(), U("div", Qb, Re(be(r).connectionWarning.value), 1)) : Be("", !0)
|
|
16996
16996
|
]),
|
|
16997
16997
|
_: 1
|
|
16998
16998
|
}),
|
|
16999
|
-
fe(
|
|
16999
|
+
fe(Oi, { name: "fade" }, {
|
|
17000
17000
|
default: Qt(() => [
|
|
17001
17001
|
be(r).connectionError.value ? (O(), U("div", {
|
|
17002
17002
|
key: 0,
|
|
@@ -17125,6 +17125,19 @@ const Wb = (e) => {
|
|
|
17125
17125
|
stopCaptureTest: r.stopCaptureTest,
|
|
17126
17126
|
playCapturedAudio: r.playCapturedAudio,
|
|
17127
17127
|
toggleMic: r.toggleMic,
|
|
17128
|
+
// Full conversation history for the current thread — voice AND text turns,
|
|
17129
|
+
// seeded from server history and kept live. Returns a chronological snapshot.
|
|
17130
|
+
getConversation: () => o.chatMessages.map((m) => ({
|
|
17131
|
+
id: m.id,
|
|
17132
|
+
role: m.senderEntity === Ka.CONNEKZ_AI ? "ai" : m.senderEntity === Ka.USER ? "user" : "system",
|
|
17133
|
+
message: m.message,
|
|
17134
|
+
at: m.createdAt
|
|
17135
|
+
})).sort((m, D) => new Date(m.at).getTime() - new Date(D.at).getTime()),
|
|
17136
|
+
// Current chat thread id (null before a thread is established).
|
|
17137
|
+
getThreadId: () => {
|
|
17138
|
+
var m;
|
|
17139
|
+
return ((m = o.aiChatThread) == null ? void 0 : m.id) ?? null;
|
|
17140
|
+
},
|
|
17128
17141
|
subscribe: A
|
|
17129
17142
|
}
|
|
17130
17143
|
};
|