@asgard-js/react 0.2.55 → 0.2.56-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatbot-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-footer/chatbot-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAMV,MAAM,OAAO,CAAC;AA0Bf,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,SAAS,EAAE,CAAC;CAChC;AAED,wBAAgB,aAAa,CAAC,EAAE,gBAAgB,EAAE,GAAE,kBAAuB,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"chatbot-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-footer/chatbot-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAMV,MAAM,OAAO,CAAC;AA0Bf,UAAU,kBAAkB;IAC1B,gBAAgB,CAAC,EAAE,SAAS,EAAE,CAAC;CAChC;AAED,wBAAgB,aAAa,CAAC,EAAE,gBAAgB,EAAE,GAAE,kBAAuB,GAAG,SAAS,CA+3BtF"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Space+Grotesk:wght@300..700&display=swap";._api_key_input_7488d_1{width:360px;max-width:calc(100vw - 32px);background-color:var(--asg-color-bg);border-radius:12px;padding:24px;border:.5px solid var(--asg-color-border)}@media(max-width:480px){._api_key_input_7488d_1{width:100%;max-width:none;padding:20px;margin:0 16px}}._api_key_input__header_7488d_18{display:flex;flex-direction:column;gap:8px;align-items:center;margin-bottom:20px}._api_key_input__icon_7488d_26{width:40px;height:40px}._api_key_input__title_7488d_31{margin:0;font-size:20px;font-weight:500;color:#fff}._api_key_input__form_7488d_38{width:100%;display:flex;flex-direction:column;gap:20px}._api_key_input__label_7488d_45{display:block;font-size:14px;color:#ffffffb3;margin-bottom:8px}._api_key_input__input_wrapper_7488d_52{position:relative;width:100%}._api_key_input__input_7488d_52{width:100%;height:48px;padding:0 40px 0 12px;font-size:14px;font-weight:400;color:#fffc;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:6px;outline:none;transition:all .2s ease;box-sizing:border-box}@media(max-width:480px){._api_key_input__input_7488d_52{height:44px;font-size:16px}}._api_key_input__input_7488d_52::placeholder{color:#fff6}._api_key_input__input_7488d_52:focus{border-color:#ffffff4d;background:#ffffff14}._api_key_input__input--error_7488d_84{border-color:#ff4d4f;background:#ff4d4f0d}._api_key_input__input--disabled_7488d_88{opacity:.5;cursor:not-allowed}._api_key_input__toggle_button_7488d_93{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:#ffffff80;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}._api_key_input__toggle_button_7488d_93:hover:not(:disabled){color:#ffffffb3;background:#ffffff0d}._api_key_input__toggle_button_7488d_93:disabled{opacity:.3;cursor:not-allowed}._api_key_input__toggle_icon_7488d_118{width:16px;height:16px}._api_key_input__error_message_7488d_123{margin-top:6px;font-size:12px;color:#ff4d4f}._api_key_input__submit_button_7488d_129{width:100%;height:48px;border:none;border-radius:6px;background-color:#5856d6;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;outline:none}@media(max-width:480px){._api_key_input__submit_button_7488d_129{height:44px;font-size:16px}}._api_key_input__submit_button_7488d_129:disabled{opacity:.5;cursor:not-allowed;transform:none}._chatbot_header_luxt4_1{border-bottom:1px solid #434343}._chatbot_header_luxt4_1 ._chatbot_header__content_luxt4_4{margin:0 auto;max-width:1200px;padding:var(--asg-spacing-4);display:flex;justify-content:space-between}._chatbot_header__title_luxt4_12{display:flex;flex-direction:row;align-items:center;gap:var(--asg-spacing-2)}._chatbot_header__title_luxt4_12>h4{margin:0;color:#fff}._chatbot_header__extra_luxt4_23{display:flex;flex-direction:row;align-items:center;gap:var(--asg-spacing-3)}._chatbot_header__extra_luxt4_23>div{width:24px;height:24px;display:flex;justify-content:center;align-items:center}._chatbot_header__extra_luxt4_23>div>svg{width:15px;height:15px;cursor:pointer}._chatbot_header__extra_luxt4_23>div>svg:hover{opacity:.5}._chatbot_body_wrapper_13zns_1{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}._chatbot_body_13zns_1{flex:1;min-height:0;overflow-x:hidden;overflow-y:scroll;overscroll-behavior-y:contain}._chatbot_body_13zns_1 ._chatbot_body__content_13zns_16{margin:0 auto;display:flex;flex-direction:column;padding:16px;gap:16px;max-width:1200px}._template_box_rjm7y_1{width:100%;display:flex;gap:8px}._template_box--bot_rjm7y_7._template_box--horizontal_rjm7y_7{flex-direction:row}._template_box--bot_rjm7y_7._template_box--vertical_rjm7y_10{flex-direction:column}._template_box--user_rjm7y_14{flex-direction:row-reverse}._template_box--empty_rjm7y_18{margin-top:-8px}._template_box_content_fs2wk_1{width:100%;display:flex;flex-direction:column;gap:8px}._content_fs2wk_8{width:100%;display:flex;flex-direction:row;gap:8px}._quick_replies_box_zoq7y_1{display:flex;flex-wrap:wrap;gap:8px}._quick_reply_zoq7y_7{font:inherit;font-size:13px;padding:4px 8px;border-radius:8px;border:1px solid #434343;background:#58585833;color:#fff;cursor:pointer}._references_wrapper_qse5c_1{width:100%;display:flex;flex-direction:row;gap:8px;margin-top:4px}._references_box_qse5c_9{display:inline-block;padding:8px 12px;border-radius:8px;word-break:break-all}._references_box--bot_qse5c_16{max-width:70%;background:#585858;color:#fff;border-top-left-radius:0}._references_inner_qse5c_23{width:100%;display:flex;flex-direction:column}._references_header_qse5c_29{display:flex;align-items:center;gap:8px;margin-bottom:8px}._references_title_qse5c_36{font-size:inherit;font-weight:700;white-space:nowrap;color:#8c8c8c}._references_divider_qse5c_43{flex:1;height:1px;min-width:0;background-color:#3d3d3d}._references_list_qse5c_50{display:flex;flex-direction:column;gap:8px}._reference_item_text_qse5c_56,._reference_item_qse5c_56{font-size:.75em;word-break:break-all;color:inherit}._reference_item_qse5c_56{border:none;background:transparent;cursor:pointer;text-align:left;padding:0;transition:opacity .2s}._reference_item_qse5c_56:hover{opacity:.8}._reference_item_qse5c_56:active{opacity:.6}._reference_item_qse5c_56>span{word-break:break-all}._reference_link_qse5c_80{text-decoration:underline}._time_h4puu_1{display:flex;align-items:flex-end;font-size:12px;color:#8c8c8c}._message_actions_mnoya_1{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}._message_action_mnoya_1{font:inherit;font-size:13px;padding:0;border:none;background:transparent;color:#4a9eff;cursor:pointer;text-decoration:none}._message_action_mnoya_1:hover{text-decoration:underline}._bot_avatar_1ch7m_1{flex:0 0 auto;width:24px;height:24px;border-radius:50%}._bot_avatar--invisible_1ch7m_8{visibility:hidden}._card_root_1kvwl_1{width:255px;max-height:400px;border-radius:8px;background:#333;overflow:hidden;display:grid;grid-template-rows:max-content auto}._card_content_1kvwl_11{display:grid;grid-template-rows:max-content 1fr max-content;gap:var(--asg-spacing-2);padding:12px;line-height:1.5em}._card_title_1kvwl_19{color:#fff;margin:0;font-size:15px}._card_description_1kvwl_25{color:#8c8c8c;font-size:13px;font-weight:400;max-height:4.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-underline-position:from-font;text-decoration-skip-ink:none}._card_actions_1kvwl_40{display:flex;flex-direction:column;gap:8px}._card_actions_1kvwl_40>button{width:100%;height:32px;line-height:32px;text-align:center;border:none;border-radius:4px;background:#4767eb;color:#fff;font-size:15px;cursor:pointer}._text_609xr_1{display:inline-block;padding:8px 12px;border-radius:8px;color:#fff;word-break:break-all}._text_609xr_1>span{word-break:break-all}._text_609xr_1 p{margin:0 0 .5em}._text_609xr_1 p:last-child{margin-bottom:0}._text--user_609xr_18{max-width:75%;background:#4767eb;border-top-right-radius:0}._text--bot_609xr_24{max-width:70%;background:#585858;border-top-left-radius:0}._content_609xr_30{display:flex;flex-direction:column;gap:8px}._typing-indicator_609xr_36{display:inline-flex;align-items:flex-end;justify-content:center}._typing-indicator_609xr_36 ._dot_609xr_41{width:2px;height:2px;margin:0 2px;background-color:#fff;border-radius:50%;animation:_blink_609xr_1 1.4s infinite ease-in-out both}._typing-indicator_609xr_36 ._dot_609xr_41:nth-child(1){animation-delay:0s}._typing-indicator_609xr_36 ._dot_609xr_41:nth-child(2){animation-delay:.2s}._typing-indicator_609xr_36 ._dot_609xr_41:nth-child(3){animation-delay:.4s}._table_container_609xr_59{overflow-x:scroll}._table_container_609xr_59 table{width:100%;border-collapse:collapse;border-spacing:0;min-width:600px;font-size:14px;background-color:#1f1f1f;color:#ffffffd9;border:1px solid #333;border-radius:4px;overflow:hidden}._table_container_609xr_59 table thead{position:sticky;top:0;z-index:1;background-color:#141414}._table_container_609xr_59 table th,._table_container_609xr_59 table td{padding:12px 16px;border-bottom:1px solid #333;text-align:left;white-space:nowrap;transition:background-color .3s,color .3s}._table_container_609xr_59 table th{font-weight:600;color:#fffffff2}._table_container_609xr_59 table tbody tr:nth-child(odd){background-color:#1c1c1c}._table_container_609xr_59 table tbody tr:nth-child(2n){background-color:#111}._table_container_609xr_59 table tbody tr:hover td{background-color:#262626}._table_container_609xr_59 table tbody tr:last-child td{border-bottom:none}@keyframes _blink_609xr_1{0%,80%,to{opacity:.2;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}._h1_1y0bh_1{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1.875rem;line-height:2.25rem}._h2_1y0bh_9{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1.5rem;line-height:2rem}._h3_1y0bh_17{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1.25rem;line-height:1.75rem}._h4_1y0bh_25{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1.125rem;line-height:1.75rem}._h5_1y0bh_33{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1rem;line-height:1.5rem}._h6_1y0bh_41{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:.875rem;line-height:1.25rem}._p_1y0bh_49{margin-bottom:.75rem;line-height:1.6}._p_1y0bh_49:last-child{margin-bottom:0}._ul_1y0bh_57{margin-bottom:.75rem;padding-left:1.5rem;list-style-type:disc;list-style-position:inside;white-space:normal}._ul_1y0bh_57 ._ul_1y0bh_57,._ul_1y0bh_57 ._ol_1y0bh_65{padding-left:1.5rem}._ol_1y0bh_65{margin-bottom:.75rem;padding-left:1.5rem;list-style-type:decimal;list-style-position:inside;white-space:normal}._ol_1y0bh_65 ._ul_1y0bh_57,._ol_1y0bh_65 ._ol_1y0bh_65{padding-left:1.5rem}._li_1y0bh_81{padding:.25rem 0}._li_1y0bh_81>p{display:inline}._a_1y0bh_88{font-weight:500;color:var(--asgard-markdown-link, #3b82f6);text-decoration:underline;overflow-wrap:anywhere}._a_1y0bh_88:hover{color:var(--asgard-markdown-link-hover, #2563eb)}._blockquote_1y0bh_98{margin:.75rem 0;padding:.5rem 1rem;border-left:4px solid var(--asgard-markdown-blockquote-border, rgba(255, 255, 255, .3));color:var(--asgard-markdown-blockquote, rgba(255, 255, 255, .7));font-style:italic}._blockquote_1y0bh_98 p{margin:0}._hr_1y0bh_109{margin:1.5rem 0;border:none;border-top:1px solid var(--asgard-markdown-hr, rgba(255, 255, 255, .2))}._strong_1y0bh_115{font-weight:600}._em_1y0bh_119{font-style:italic}._code_1y0bh_123{padding:.15rem .4rem;font-size:.9em;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;background-color:var(--asgard-markdown-code-bg, rgba(255, 255, 255, .1));border-radius:4px}._pre_1y0bh_131{margin:.75rem 0;padding:.75rem 1rem;overflow-x:auto;font-size:.875rem;line-height:1.5;background-color:var(--asgard-markdown-pre-bg, #1a1a1a);border-radius:6px}._pre_1y0bh_131 code{padding:0;font-size:inherit;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;background-color:transparent;border-radius:0}._img_1y0bh_148{max-width:100%;height:auto;border-radius:4px}._table_1y0bh_154{width:100%;margin:.75rem 0;border-collapse:collapse;font-size:.9rem}._thead_1y0bh_161{background-color:var(--asgard-markdown-table-header-bg, rgba(255, 255, 255, .05))}._tbody_1y0bh_165 tr:nth-child(2n){background-color:var(--asgard-markdown-table-row-alt, rgba(255, 255, 255, .02))}._tr_1y0bh_169{border-bottom:1px solid var(--asgard-markdown-table-border, rgba(255, 255, 255, .2))}._th_1y0bh_161,._td_1y0bh_174{padding:.5rem .75rem;text-align:left;border:1px solid var(--asgard-markdown-table-border, rgba(255, 255, 255, .2))}._th_1y0bh_161{font-weight:600}._carousel_root_v06v3_1{width:100%;display:flex;flex-wrap:nowrap;overflow-x:scroll;gap:8px;align-items:stretch}._carousel_root_v06v3_1>div{flex:0 0 auto}._carousel_time_v06v3_13{justify-content:flex-end}._hint_root_1hmle_1{margin:0 auto;display:flex;flex-direction:column;align-items:center;padding:4px 12px;gap:4px;border-radius:2px;background:#58585833;font-size:13px;color:#fff;word-break:break-all}._hint_root_1hmle_1._hint_root__error_1hmle_14{color:var(--asg-color-error)}._hint_root_1hmle_1 ._error_hint_title_1hmle_17{display:flex;align-items:center;gap:var(--asg-spacing-2);color:var(--asg-color-error)}._hint_root_1hmle_1 ._error_hint_message_1hmle_23{font-size:12px;color:#fff}._hint_root_1hmle_1 ._error_hint_message_1hmle_23>span{border-bottom:1px solid white;cursor:pointer}._hint_text_1hmle_32{color:#fff}._time_1hmle_36{font-size:12px;color:#8c8c8c}._container_1erxu_1{display:flex;flex-direction:column;gap:12px;width:100%;background:#585858;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:12px}._header_1erxu_13{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}._title_box_1erxu_20{display:flex;flex-direction:column;gap:4px;min-width:0}._title_1erxu_20{font-size:14px;font-weight:600}._description_1erxu_32{font-size:13px;line-height:1.5;opacity:.75}._chart_select_1erxu_38{flex-shrink:0;font:inherit;font-size:13px;padding:6px 10px;border-radius:6px;border:1px solid rgba(255,255,255,.2);background:#ffffff0d;color:inherit;cursor:pointer}._chart_select_1erxu_38:hover{background:#ffffff1a}._chart_wrapper_1erxu_53{width:100%;overflow-x:auto;background:#fff;border-radius:6px;padding:8px}._chart_time_1erxu_61{justify-content:flex-end}._image_box_8cz9p_1{display:flex;align-items:center;justify-content:flex-start;max-width:80%;border-radius:8px;box-sizing:border-box}._image_box_8cz9p_1>img{width:100%;border-radius:8px}._time_8cz9p_14{justify-content:flex-end}._quick_replies_box_8cz9p_18{display:flex;flex-wrap:wrap;gap:8px}._full_screen_8cz9p_24{display:flex;align-items:center;justify-content:center;z-index:9999;position:fixed;top:0;left:0;background:#1e1e1ecc;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);width:100%;height:100%;overflow:hidden;box-sizing:border-box}._full_screen_8cz9p_24>._imageOrigin_8cz9p_39{width:100%;max-width:100%;height:100%;max-height:90%;border-radius:8px;background-repeat:no-repeat;background-size:contain;background-position:center}._full_screen_8cz9p_24>._full_screen_close_8cz9p_49{position:absolute;top:16px;right:16px;font-size:24px;cursor:pointer;z-index:9999}._quick_reply_8cz9p_58{font:inherit;font-size:13px;padding:4px 8px;border-radius:8px;border:1px solid #434343;background:#58585833;color:#fff;cursor:pointer}._video_box_119ne_1{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;max-width:80%;border-radius:8px;box-sizing:border-box;gap:8px}._video_preview_119ne_12{position:relative;width:100%;border-radius:8px;overflow:hidden;cursor:pointer;background:#000}._video_preview_119ne_12>img{width:100%;display:block;border-radius:8px}._video_preview_119ne_12:hover ._play_button_119ne_25{transform:translate(-50%,-50%) scale(1.1)}._play_button_119ne_25{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:transform .2s ease;pointer-events:none}._duration_badge_119ne_39{position:absolute;bottom:8px;right:8px;background:#000000b3;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}._video_player_wrapper_119ne_51{position:relative;border-radius:8px;overflow:hidden;background:#000;display:flex;align-items:center;justify-content:center}._video_player_119ne_51{width:100%;height:100%;display:block;border-radius:8px;object-fit:contain}._youtube_player_119ne_69{width:100%;height:100%;border-radius:8px;border:none}._video_text_119ne_76{font-size:14px;color:inherit;word-wrap:break-word}._time_119ne_82{justify-content:flex-end}._quick_replies_box_119ne_86{display:flex;flex-wrap:wrap;gap:8px}._quick_reply_119ne_92{font:inherit;font-size:13px;padding:4px 8px;border-radius:8px;border:1px solid #434343;background:#58585833;color:#fff;cursor:pointer}._audio_box_1y8ew_1{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;max-width:60%;min-width:250px;border-radius:8px;box-sizing:border-box;gap:8px}._audio_player_1y8ew_13{width:100%;min-width:250px;border-radius:8px}._audio_player_1y8ew_13::-webkit-media-controls-download-button{display:none}._audio_player_1y8ew_13::-webkit-media-controls-fullscreen-button{display:none}._audio_player_1y8ew_13::-webkit-media-controls-remote-playback-button{display:none}._card_root_1yq01_1{width:255px;max-height:400px;border-radius:8px;overflow:hidden;display:grid;grid-template-rows:max-content auto}._map_container_1yq01_10{width:100%;height:170px;overflow:hidden;position:relative}._map_iframe_1yq01_17{display:block;width:100%;height:100%;border:none;pointer-events:none}._card_content_1yq01_25{display:grid;grid-template-rows:1.5em auto;gap:var(--asg-spacing-2);padding:12px;line-height:1.5em;background:#333;border-radius:0 0 8px 8px}._card_title_1yq01_35{color:#fff;margin:0;font-size:15px;font-weight:600}._card_description_1yq01_42{color:#8c8c8c;font-size:13px;font-weight:400;max-height:4.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-underline-position:from-font;text-decoration-skip-ink:none}._message_wrapper_1cjr0_1{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:75%}._text_bubble_1cjr0_9{display:inline-block;padding:8px 12px;border-radius:8px;white-space:pre-wrap;word-break:break-word}._text_bubble--user_1cjr0_16{background:#4767eb;color:#fff;border-top-right-radius:0}._images_container_1cjr0_22{display:flex;flex-direction:column;gap:8px;width:100%}._image_wrapper_1cjr0_29{position:relative;width:300px;aspect-ratio:3/2;border-radius:8px;overflow:hidden;background:#0000000d;box-shadow:0 1px 2px #0000001a;align-self:flex-end}._uploaded_image_1cjr0_40{width:100%;height:100%;object-fit:cover;display:block;cursor:pointer;transition:opacity .2s ease}._uploaded_image_1cjr0_40:hover{opacity:.95}._documents_container_1cjr0_52{display:flex;flex-direction:column;gap:8px;width:100%;align-items:flex-end}._document_card_1cjr0_60{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:8px;max-width:300px}._document_icon_1cjr0_69{flex-shrink:0}._document_name_1cjr0_73{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._image_modal_1cjr0_80{position:fixed;inset:0;background-color:#000000e6;display:flex;align-items:center;justify-content:center;z-index:10000;cursor:pointer;padding:20px}._image_modal_1cjr0_80 ._modal_image_1cjr0_94{max-width:90vw;max-height:90vh;object-fit:contain;border-radius:8px;box-shadow:0 4px 20px #00000080}._tool_call_group_1rad3_1{width:100%;display:flex;flex-direction:column;gap:8px}._tool_call_group__header_1rad3_8{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}._tool_call_group__chevron_1rad3_16{width:16px;height:16px;color:var(--asgard-tool-call-icon, #8c8c8c);transition:transform .2s ease;flex-shrink:0}._tool_call_group__chevron--expanded_1rad3_24{transform:rotate(90deg)}._tool_call_group__title_1rad3_28{font-size:14px;font-weight:500;color:var(--asgard-tool-call-text, #fff)}._tool_call_group__content_1rad3_34{display:flex;flex-direction:column;gap:8px}._tool_call_item_1rad3_40{display:flex;flex-direction:column;background-color:var(--asgard-tool-call-item-bg, #1a1a1a);border-radius:8px;overflow:hidden}._tool_call_item__header_1rad3_48{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s ease}._tool_call_item__header_1rad3_48:hover{background-color:var(--asgard-tool-call-hover, rgba(255, 255, 255, .05))}._tool_call_item__left_1rad3_61{display:flex;align-items:center;gap:8px}._tool_call_item__chevron_1rad3_67{width:14px;height:14px;color:var(--asgard-tool-call-icon, #8c8c8c);transition:transform .2s ease;flex-shrink:0}._tool_call_item__chevron--expanded_1rad3_75{transform:rotate(90deg)}._tool_call_item__label_1rad3_79{font-size:14px;color:var(--asgard-tool-call-text, #fff)}._tool_call_item__status_1rad3_84{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0}._tool_call_item__status_icon_1rad3_93{width:20px;height:20px}._tool_call_item__status_icon--completed_1rad3_98{color:#52c41a}._tool_call_item__status_icon--error_1rad3_102{color:#ff4d4f}._tool_call_item__status_icon--pending_1rad3_106{color:#faad14;animation:_pulse_1rad3_1 1.5s ease-in-out infinite}@keyframes _pulse_1rad3_1{0%,to{opacity:1}50%{opacity:.5}}._tool_call_item__content_1rad3_119{padding:0 16px 12px 38px;display:flex;flex-direction:column;gap:8px}._json_viewer_1rad3_126{display:flex;flex-direction:column;border-radius:6px;overflow:hidden;background-color:var(--asgard-json-viewer-bg, #141414);border:1px solid var(--asgard-tool-call-border, #333)}._json_viewer__header_1rad3_135{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;background-color:var(--asgard-json-viewer-header-bg, #1f1f1f);border-bottom:1px solid var(--asgard-tool-call-border, #333)}._json_viewer__title_1rad3_144{font-size:12px;font-weight:500;color:var(--asgard-tool-call-text-secondary, #8c8c8c)}._json_viewer__actions_1rad3_150{display:flex;align-items:center;gap:4px}._json_viewer__action_btn_1rad3_156{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:var(--asgard-tool-call-icon, #8c8c8c);cursor:pointer;border-radius:4px;transition:all .2s ease}._json_viewer__action_btn_1rad3_156:hover{background-color:var(--asgard-tool-call-hover, rgba(255, 255, 255, .1));color:var(--asgard-tool-call-text, #fff)}._json_viewer__action_btn_1rad3_156 svg{width:14px;height:14px}._json_viewer__content_1rad3_178{padding:8px 10px;max-height:200px;overflow:auto}._json_viewer__code_1rad3_184{font-family:SF Mono,Monaco,Courier New,monospace;font-size:11px;line-height:1.5;color:var(--asgard-json-viewer-text, #d4d4d4);white-space:pre-wrap;word-break:break-all;margin:0}._json_token--key_1rad3_194{color:#9cdcfe}._json_token--string_1rad3_198{color:#ce9178}._json_token--number_1rad3_202{color:#b5cea8}._json_token--boolean_1rad3_206,._json_token--null_1rad3_210{color:#569cd6}._json_token--punctuation_1rad3_214{color:#d4d4d4}._json_modal__backdrop_1rad3_218{position:fixed;inset:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}._json_modal_1rad3_218{display:flex;flex-direction:column;width:100%;max-width:800px;max-height:80vh;background-color:var(--asgard-json-viewer-bg, #141414);border:1px solid var(--asgard-tool-call-border, #333);border-radius:8px;overflow:hidden;box-shadow:0 8px 32px #00000080}._json_modal__header_1rad3_245{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background-color:var(--asgard-json-viewer-header-bg, #1f1f1f);border-bottom:1px solid var(--asgard-tool-call-border, #333)}._json_modal__title_1rad3_254{font-size:14px;font-weight:500;color:var(--asgard-tool-call-text, #fff)}._json_modal__actions_1rad3_260{display:flex;align-items:center;gap:8px}._json_modal__action_btn_1rad3_266{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:var(--asgard-tool-call-icon, #8c8c8c);cursor:pointer;border-radius:4px;transition:all .2s ease}._json_modal__action_btn_1rad3_266:hover{background-color:var(--asgard-tool-call-hover, rgba(255, 255, 255, .1));color:var(--asgard-tool-call-text, #fff)}._json_modal__action_btn_1rad3_266 svg{width:16px;height:16px}._json_modal__content_1rad3_288{flex:1;padding:16px;overflow:auto}._json_modal__content_1rad3_288 ._json_viewer__code_1rad3_184{font-size:13px;line-height:1.6}._container_12tvo_1{display:flex;flex-direction:column;gap:8px;width:100%;position:relative;background:#585858;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:8px}._tabs_12tvo_13{display:flex;align-items:center;gap:4px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.12)}._tab_12tvo_13{padding:10px 8px;border:none;border-bottom:2px solid transparent;background:transparent;color:inherit;font-size:13px;font-weight:500;cursor:pointer;opacity:.6;transition:opacity .2s,border-color .2s}._tab_12tvo_13:hover{opacity:.85}._tab--active_12tvo_37{opacity:1;border-bottom-color:currentColor}._header_12tvo_42{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:8px 8px 0 0}._title_12tvo_50{font-size:14px;font-weight:600}._download_button_12tvo_55{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:6px;background:#ffffff1a;color:inherit;cursor:pointer;transition:background-color .2s}._download_button_12tvo_55:hover{background:#fff3}._download_button_12tvo_55:active{background:#ffffff4d}._download_12tvo_55{position:relative}._download_backdrop_12tvo_79{position:fixed;inset:0;z-index:1}._download_menu_12tvo_85{position:absolute;top:calc(100% + 4px);right:0;z-index:2;display:flex;flex-direction:column;min-width:120px;padding:4px;background:#282828fa;border:1px solid rgba(255,255,255,.15);border-radius:8px;box-shadow:0 4px 12px #0000004d}._download_menu_item_12tvo_100{padding:8px 12px;border:none;border-radius:4px;background:transparent;color:inherit;font-size:13px;text-align:left;cursor:pointer}._download_menu_item_12tvo_100:hover{background:#ffffff1a}._table_wrapper_12tvo_114{overflow-x:auto;border-radius:8px}._table_12tvo_114{width:100%;border-collapse:collapse;font-size:13px}._table_header_12tvo_125{background:#0003}._table_header_cell_12tvo_129{padding:10px 12px;text-align:left;font-weight:600;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.1)}._header_cell_content_12tvo_137{display:flex;flex-direction:column;gap:2px}._header_label_12tvo_143{font-size:13px;font-weight:600}._header_key_12tvo_148{font-size:11px;font-weight:400;opacity:.55}._table_row_12tvo_154:hover{background:#ffffff0d}._table_row_12tvo_154:not(:last-child){border-bottom:1px solid rgba(255,255,255,.1)}._table_cell_12tvo_161{padding:10px 12px;white-space:nowrap}._pagination_12tvo_166{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px}._pagination_button_12tvo_174{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:transparent;color:inherit;cursor:pointer;font-size:14px}._pagination_button_12tvo_174:hover:not(:disabled){background:#ffffff1a}._pagination_button_12tvo_174:disabled{opacity:.4;cursor:not-allowed}._pagination_page_12tvo_195{display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 8px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:transparent;color:inherit;font-size:13px;cursor:pointer}._pagination_page_12tvo_195:hover{background:#ffffff1a}._pagination_page--active_12tvo_213{background:#ffffff26;font-weight:600}._pagination_ellipsis_12tvo_218{padding:0 4px;font-size:13px;opacity:.6}._empty_state_12tvo_224{padding:24px;text-align:center;font-size:13px;opacity:.7}._sql_view_12tvo_231{display:flex;flex-direction:column;gap:12px;padding:0 12px 12px;font-size:13px}._sql_block_12tvo_239{overflow-x:auto}._sql_explanation_12tvo_243{padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:13px;line-height:1.6;opacity:.85}._time_12tvo_251{justify-content:flex-end}._snackbar_12tvo_255{position:absolute;bottom:-48px;left:0;right:0;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#282828f2;border-radius:8px;box-shadow:0 4px 12px #0000004d;animation:_slideUp_12tvo_1 .2s ease-out}@keyframes _slideUp_12tvo_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._snackbar_text_12tvo_280{flex:1;font-size:13px;color:#fff}._snackbar_action_12tvo_286{padding:4px 12px;border:none;border-radius:4px;background:transparent;color:#4fc3f7;font-size:13px;font-weight:500;cursor:pointer}._snackbar_action_12tvo_286:hover{background:#4fc3f71a}._snackbar_close_12tvo_300{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:4px;background:transparent;color:#fff9;font-size:18px;cursor:pointer}._snackbar_close_12tvo_300:hover{background:#ffffff1a;color:#fff}._root_1vqc7_1{display:flex;flex-direction:column;gap:8px;width:320px;max-width:100%}._chip_1vqc7_9{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:#333;border:none;text-align:left;cursor:pointer;color:inherit;font:inherit}._chip_1vqc7_9:hover{background:#404040}._chip_1vqc7_9:focus-visible{outline:2px solid rgb(71,103,235);outline-offset:2px}._icon_box_1vqc7_30{flex:0 0 auto;width:36px;height:36px;border-radius:8px;background:#4767eb;color:#fff;display:flex;align-items:center;justify-content:center}._icon_box_1vqc7_30>svg{width:20px;height:20px}._body_1vqc7_46{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}._title_1vqc7_54{color:#fff;font-size:14px;font-weight:600;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._text_1vqc7_64{color:#8c8c8c;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._download_button_1vqc7_73{flex:0 0 auto;width:32px;height:32px;border-radius:8px;background:transparent;border:none;color:#b4b4b4;display:flex;align-items:center;justify-content:center;cursor:pointer}._download_button_1vqc7_73>svg{width:18px;height:18px}._download_button_1vqc7_73:hover{background:#505050;color:#fff}._download_button_1vqc7_73:focus-visible{outline:2px solid rgb(71,103,235);outline-offset:2px}._chatbot_footer_1fl03_1{border-top:1px solid #434343}._chatbot_footer_1fl03_1 ._chatbot_footer__content_1fl03_4{display:grid;align-items:center;grid-template-columns:auto 1fr auto;margin:0 auto;max-width:1200px;padding:var(--asg-spacing-3) var(--asg-spacing-4);gap:var(--asg-spacing-2)}@keyframes _prevent_ios_focus_scroll_1fl03_1{0%{opacity:0}to{opacity:1}}._chatbot_textarea_1fl03_22{font:inherit;font-size:16px;height:40px!important;max-height:240px;padding:8px 8px 8px 12px;background:var(--asg-color-bg);border:1px solid rgb(67,67,67);border-radius:2px;color:#8c8c8c;resize:none;overflow:hidden}._chatbot_textarea_1fl03_22::placeholder{color:var(--asg-color-text-placeholder)}._chatbot_textarea_1fl03_22._chatbot_textarea--focused_1fl03_39{animation:_prevent_ios_focus_scroll_1fl03_1 .01s}._chatbot_submit_button_1fl03_43{font:inherit;width:24px;height:100%;max-height:38px;display:flex;justify-content:center;align-items:center;font-size:16px;border:none;background:transparent;border-radius:50%;color:#fff;cursor:pointer}._chatbot_submit_button_1fl03_43>svg{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:auto;min-width:16px;height:60%;max-height:38px;min-height:16px}._chatbot_submit_button_1fl03_43._chatbot_submit_button__disabled_1fl03_68{opacity:.6}._attachment_buttons_1fl03_72,._send_zone_1fl03_78{display:flex;gap:var(--asg-spacing-2);align-items:center}._attachment_menu_container_1fl03_84{position:relative}._attachment_menu_1fl03_84{position:absolute;bottom:100%;left:0;margin-bottom:8px;min-width:160px;border-radius:8px;border:1px solid var(--asg-color-border, #3d3d3d);background:var(--asg-color-bg, #1a1a1a);box-shadow:0 4px 12px #0000004d;overflow:hidden;z-index:100}._attachment_menu_item_1fl03_102{display:flex;align-items:center;gap:var(--asg-spacing-2, 8px);width:100%;padding:10px 14px;border:none;background:transparent;color:var(--asg-color-text, #e0e0e0);font:inherit;font-size:14px;cursor:pointer;transition:background-color .15s ease;text-align:left}._attachment_menu_item_1fl03_102:hover{background:#ffffff1a}._attachment_menu_item_1fl03_102>svg{width:18px;height:18px;flex-shrink:0}._attachment_menu_item_1fl03_102>span{white-space:nowrap}._attachment_button_1fl03_72{font:inherit;width:32px;height:32px;display:flex;justify-content:center;align-items:center;border:none;background:transparent;border-radius:6px;color:#fff;cursor:pointer;transition:all .2s ease;position:relative}._attachment_button_1fl03_72:disabled{opacity:.6;cursor:not-allowed}._attachment_button_1fl03_72>svg{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:18px;height:18px}._file_input_hidden_1fl03_156{display:none}._file_preview_container_1fl03_160{width:100%;max-width:1200px;overflow-x:auto;margin:0 auto;padding:var(--asg-spacing-3, 12px);padding-bottom:0}._file_preview_grid_1fl03_169{display:flex;gap:var(--asg-spacing-2, 8px);flex-wrap:nowrap}._file_preview_item_1fl03_175{position:relative;background:var(--asg-color-bg-secondary, #2d2d2d);border:1px solid var(--asg-color-border, #3d3d3d);border-radius:var(--asg-radius-md, 8px);overflow:hidden;width:100px;height:80px;flex-shrink:0}._file_preview_image_area_1fl03_186{width:100%;height:100%;background:var(--asg-color-bg-dark, #1a1a1a);display:flex;align-items:center;justify-content:center;position:relative}._file_preview_image_1fl03_186{max-width:100%;max-height:100%;object-fit:contain;cursor:pointer;transition:opacity .2s ease}._file_preview_image_1fl03_186:hover{opacity:.8}._file_remove_button_1fl03_207{position:absolute;top:var(--asg-spacing-1, 6px);right:var(--asg-spacing-1, 6px);width:20px;height:20px;border-radius:4px;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;border:1px solid rgba(255,255,255,.1);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;padding:0}._file_upload_overlay_1fl03_226{position:absolute;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center}@keyframes _spin_1fl03_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._file_upload_spinner_1fl03_243{width:24px;height:24px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:_spin_1fl03_1 .8s linear infinite}._file_preview_item__error_1fl03_252{border-color:#ef4444}._file_error_overlay_1fl03_256{position:absolute;inset:0;background:#ef444433;display:flex;align-items:center;justify-content:center}._file_error_icon_1fl03_265{width:24px;height:24px;color:#ef4444}._image_modal_1fl03_271{position:fixed;inset:0;background:#000c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999}._image_modal_content_1fl03_283{display:flex;flex-direction:column;align-items:center;gap:var(--asg-spacing-4, 16px)}._image_modal_image_1fl03_290{max-width:90vw;max-height:75vh;object-fit:contain;border-radius:var(--asg-radius-lg, 12px);box-shadow:0 20px 60px #0009;-webkit-user-select:none;user-select:none}._image_modal_close_button_1fl03_299{position:absolute;top:var(--asg-spacing-5, 20px);right:var(--asg-spacing-5, 20px);width:36px;height:36px;border-radius:50%;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;border:1px solid rgba(255,255,255,.2);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:20px;padding:0;transition:all .2s ease}._image_modal_close_button_1fl03_299:hover{background:#fff3;transform:scale(1.1)}._image_modal_close_button_1fl03_299:active{transform:scale(.95)}._document_preview_grid_1fl03_326{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:var(--asg-spacing-2, 8px)}@media(max-width:768px){._document_preview_grid_1fl03_326{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}._document_preview_item_1fl03_337{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--asg-spacing-2, 8px);padding:var(--asg-spacing-3, 12px);background:var(--asg-color-bg-secondary, #2d2d2d);border:1px solid var(--asg-color-border, #3d3d3d);border-radius:var(--asg-radius-md, 8px);aspect-ratio:3/2;max-width:250px}._document_preview_icon_wrapper_1fl03_352{display:flex;align-items:center;justify-content:center;flex:1}._document_preview_icon_1fl03_352{width:48px;height:48px;color:var(--asg-color-text-secondary, #a0a0a0)}._document_preview_name_1fl03_365{font-size:12px;color:var(--asg-color-text, #e0e0e0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;text-align:center}._chatbot_root_htsl5_2{--asg-color-blue-1: #edf0fd;--asg-color-blue-2: #d3dbfa;--asg-color-blue-3: #b0bef6;--asg-color-blue-4: #6882ef;--asg-color-blue-5: #8b9ff2;--asg-color-blue-6: #4767eb;--asg-color-blue-7: #3c58c8;--asg-color-blue-8: #3249a7;--asg-color-blue-9: #283b86;--asg-color-blue-10: #202e6a;--asg-color-orange-1: #ffeded;--asg-color-orange-2: #ffd4d5;--asg-color-orange-3: #ffb2b3;--asg-color-orange-4: #ff8f90;--asg-color-orange-5: #ff6d6f;--asg-color-orange-6: #ff4d4f;--asg-color-orange-7: #d94143;--asg-color-orange-8: #b53738;--asg-color-orange-9: #912c2d;--asg-color-orange-10: #732324;--asg-color-green-1: #eef9e8;--asg-color-green-2: #d5f1c8;--asg-color-green-3: #b5e69d;--asg-color-green-4: #92da6f;--asg-color-green-5: #71cf43;--asg-color-green-6: #52c41a;--asg-color-green-7: #46a716;--asg-color-green-8: #3a8b12;--asg-color-green-9: #2f700f;--asg-color-green-10: #25580c;--asg-color-yellow-1: #fef7eb;--asg-color-yellow-2: #fdebcf;--asg-color-yellow-3: #fcdba9;--asg-color-yellow-4: #facb82;--asg-color-yellow-5: #f8bb5c;--asg-color-yellow-6: #f7ac38;--asg-color-yellow-7: #d29230;--asg-color-yellow-8: #af7a28;--asg-color-yellow-9: #8d6220;--asg-color-yellow-10: #6f4d19;--asg-color-grey-1: #f3f3f3;--asg-color-grey-2: #e2e2e2;--asg-color-grey-3: #cbcbcb;--asg-color-grey-4: #b2b2b2;--asg-color-grey-5: #9b9b9b;--asg-color-grey-6: #585858;--asg-color-grey-7: #717171;--asg-color-grey-8: #5e5e5e;--asg-color-grey-9: #4c4c4c;--asg-color-grey-10: #3c3c3c;--asg-color-primary: #4767eb;--asg-color-primary-light: #8b9ff2;--asg-color-primary-dark: #3249a7;--asg-color-primary-on-primary: #ffffff;--asg-color-primary-hover-bg: rgba(139, 159, 242, .15);--asg-color-primary-selected-bg: rgba(71, 103, 235, .2);--asg-color-secondary: #585858;--asg-color-secondary-light: #b2b2b2;--asg-color-secondary-dark: #4c4c4c;--asg-color-secondary-on-secondary: #ffffff;--asg-color-secondary-hover-bg: rgba(178, 178, 178, .15);--asg-color-secondary-selected-bg: rgba(88, 88, 88, .2);--asg-color-error: #ff4d4f;--asg-color-error-light: #ff6d6f;--asg-color-error-dark: #d94143;--asg-color-error-on-error: #ffffff;--asg-color-error-hover-bg: rgba(255, 109, 111, .15);--asg-color-error-selected-bg: rgba(255, 77, 79, .2);--asg-color-warning: #f7ac38;--asg-color-warning-light: #f8bb5c;--asg-color-warning-dark: #af7a28;--asg-color-warning-on-warning: #ffffff;--asg-color-warning-hover-bg: rgba(248, 187, 92, .15);--asg-color-warning-selected-bg: rgba(247, 172, 56, .2);--asg-color-success: #52c41a;--asg-color-success-light: #71cf43;--asg-color-success-dark: #3a8b12;--asg-color-success-on-success: #ffffff;--asg-color-success-hover-bg: rgba(113, 207, 67, .15);--asg-color-success-selected-bg: rgba(82, 196, 26, .2);--asg-color-action-active: #ffffff;--asg-color-action-inactive: #8c8c8c;--asg-color-action-disabled: #595959;--asg-color-action-disabled-bg: #393939;--asg-color-text-primary: #ffffff;--asg-color-text-secondary: #8c8c8c;--asg-color-text-disabled: #595959;--asg-color-text-placeholder: #8c8c8c;--asg-color-bg: #141414;--asg-color-surface: #1f1f1f;--asg-color-divider: #333333;--asg-color-border: #434343;--asg-color-overlay-dark: rgba(0, 0, 0, .5);--asg-color-overlay-light: rgba(31, 31, 31, .9);--asg-radius-none: 0px;--asg-radius-xxs: 2px;--asg-radius-xs: 4px;--asg-radius-s: 6px;--asg-radius-md: 8px;--asg-radius-lg: 10px;--asg-radius-xl: 12px;--asg-radius-2xl: 16px;--asg-radius-3xl: 20px;--asg-radius-4xl: 24px;--asg-spacing-1: 4px;--asg-spacing-2: 8px;--asg-spacing-3: 12px;--asg-spacing-4: 16px;--asg-spacing-5: 24px;--asg-spacing-6: 32px;--asg-spacing-7: 40px;--asg-spacing-8: 48px;--asg-spacing-9: 64px;--asg-spacing-10: 96px;--asg-spacing-11: 160px;font-family:Space Grotesk,Noto Sans TC,sans-serif;height:100%;min-height:0}._chatbot_root_htsl5_2 *{line-height:1.5;box-sizing:border-box;min-width:0}._full_screen_htsl5_128{position:fixed;inset:0;background-color:var(--asg-color-bg)}._full_screen_htsl5_128 ._chatbot_container_htsl5_133{height:100%;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}._chatbot_container_htsl5_133{display:grid;grid-template-rows:max-content 1fr max-content max-content;background-color:var(--asg-color-bg);overflow:hidden;overscroll-behavior:contain;position:relative}._container_32b6s_1{display:flex;flex-direction:column;align-items:center;width:360px;max-width:calc(100vw - 32px);padding:24px;gap:20px;background-color:var(--asg-color-bg);border:.5px solid var(--asg-color-border);border-radius:12px}@media(max-width:480px){._container_32b6s_1{width:100%;max-width:none;padding:20px;margin:0 16px}}._avatar_32b6s_22{width:40px;height:40px;display:flex;align-items:center;justify-content:center}._avatar_32b6s_22 svg,._avatar_32b6s_22 img{width:100%;height:100%}._message_32b6s_35{color:#ffffffb3;font-size:14px;line-height:1.5;text-align:center}._overlay_1r6z5_1{position:absolute;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background-color:#00000026;pointer-events:none}._overlay__content_1r6z5_12{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 48px;border:2px dashed var(--asg-color-primary, #6366f1);border-radius:16px;background-color:#ffffffe6}._overlay__icon_1r6z5_23{color:var(--asg-color-primary, #6366f1)}._overlay__text_1r6z5_27{font-size:16px;font-weight:500;color:var(--asg-color-primary, #6366f1)}._backdrop_1dyy6_1{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}._modal_1dyy6_12{display:flex;flex-direction:column;width:100%;max-width:520px;max-height:85vh;background-color:var(--asgard-consent-modal-bg, var(--asg-color-surface, #1f1f1f));border-radius:12px;overflow:hidden;box-shadow:0 16px 48px #0000003d}._header_1dyy6_24{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--asgard-consent-modal-border, var(--asg-color-border, #434343))}._title_1dyy6_33{font-size:15px;font-weight:600;line-height:1.4;color:var(--asgard-consent-modal-headline, var(--asg-color-text-primary, #ffffff));word-break:break-word}._title_tool_1dyy6_41{color:var(--asgard-consent-modal-accent, var(--asg-color-primary, #4f46e5))}._close_btn_1dyy6_45{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;border:none;border-radius:6px;color:var(--asgard-consent-modal-muted, var(--asg-color-text-secondary, #8c8c8c));font-family:inherit;cursor:pointer;transition:background-color .15s ease}._close_btn_1dyy6_45:hover{background-color:#ffffff14}._close_btn_1dyy6_45 svg{width:16px;height:16px}._content_1dyy6_68{padding:16px 20px;display:flex;flex-direction:column;gap:12px;overflow-y:auto}._meta_row_1dyy6_76{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--asgard-consent-modal-muted, var(--asg-color-text-secondary, #8c8c8c))}._meta_row_1dyy6_76 strong{color:var(--asgard-consent-modal-title, var(--asg-color-text-primary, #ffffff));font-weight:500}._input_section_1dyy6_89{display:flex;flex-direction:column;gap:8px}._input_toggle_1dyy6_95{display:inline-flex;align-items:center;gap:6px;background:transparent;border:none;color:var(--asgard-consent-modal-muted, var(--asg-color-text-secondary, #8c8c8c));font-family:inherit;font-size:13px;font-weight:500;cursor:pointer;padding:0;align-self:flex-start}._input_toggle_1dyy6_95:hover{color:var(--asgard-consent-modal-title, var(--asg-color-text-primary, #ffffff))}._input_toggle_1dyy6_95 svg{width:14px;height:14px;transition:transform .2s ease}._input_toggle_expanded_1dyy6_118 svg{transform:rotate(90deg)}._input_viewer_1dyy6_122{background-color:var(--asgard-consent-modal-code-bg, #0f172a);border-radius:8px;overflow:hidden;border:1px solid var(--asgard-consent-modal-code-border, #1e293b)}._deny_reason_1dyy6_129{display:flex;flex-direction:column;gap:6px}._deny_reason_1dyy6_129 label{font-size:13px;font-weight:500;color:var(--asgard-consent-modal-title, var(--asg-color-text-primary, #ffffff))}._deny_reason_1dyy6_129 textarea{width:100%;min-height:72px;max-height:160px;padding:8px 10px;font-size:13px;line-height:1.5;border-radius:6px;border:1px solid var(--asgard-consent-modal-border, var(--asg-color-border, #434343));color:var(--asgard-consent-modal-title, var(--asg-color-text-primary, #ffffff));background-color:var(--asgard-consent-modal-input-bg, var(--asg-color-bg, #141414));resize:vertical;font-family:inherit}._deny_reason_1dyy6_129 textarea:focus{outline:none;border-color:var(--asgard-consent-modal-accent, var(--asg-color-primary, #4f46e5));box-shadow:0 0 0 3px color-mix(in srgb,var(--asgard-consent-modal-accent, var(--asg-color-primary, #4f46e5)) 15%,transparent)}._actions_1dyy6_161{display:flex;flex-direction:column;gap:8px;padding:12px 20px 20px}._action_btn_1dyy6_168{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;font-family:inherit;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;border:1px solid transparent;transition:background-color .15s ease,border-color .15s ease,color .15s ease}._action_btn_1dyy6_168:disabled{cursor:not-allowed;opacity:.6}._action_primary_1dyy6_186{background-color:var(--asgard-consent-modal-accent, var(--asg-color-primary, #4f46e5));color:var(--asgard-consent-modal-primary-fg, #000000)}._action_primary_1dyy6_186:hover:not(:disabled){background-color:var(--asgard-consent-modal-accent-hover, var(--asg-color-primary-dark, #4338ca))}._action_secondary_1dyy6_194{background-color:transparent;color:var(--asgard-consent-modal-accent, var(--asg-color-text-primary, #ffffff));border-color:transparent}._action_secondary_1dyy6_194:hover:not(:disabled){background-color:#ffffff0f}._action_danger_1dyy6_203{background-color:transparent;color:var(--asgard-consent-modal-danger, var(--asg-color-error, #dc2626));border-color:transparent}._action_danger_1dyy6_203:hover:not(:disabled){background-color:color-mix(in srgb,var(--asgard-consent-modal-danger, var(--asg-color-error, #dc2626)) 8%,transparent)}._pending_indicator_1dyy6_212{font-size:12px;color:var(--asgard-consent-modal-muted, var(--asg-color-text-secondary, #8c8c8c));padding:0 20px 8px}._chatbot__auth_state_container_1hs4h_1{display:flex;align-items:center;justify-content:center;flex:1;padding:20px}._chatbot__error_state_1hs4h_9{color:#ff6b6b}._chatbot__error_state__content_1hs4h_13{text-align:center}._chatbot__error_state__icon_1hs4h_17{font-size:16px;margin-bottom:8px}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Space+Grotesk:wght@300..700&display=swap";._api_key_input_7488d_1{width:360px;max-width:calc(100vw - 32px);background-color:var(--asg-color-bg);border-radius:12px;padding:24px;border:.5px solid var(--asg-color-border)}@media(max-width:480px){._api_key_input_7488d_1{width:100%;max-width:none;padding:20px;margin:0 16px}}._api_key_input__header_7488d_18{display:flex;flex-direction:column;gap:8px;align-items:center;margin-bottom:20px}._api_key_input__icon_7488d_26{width:40px;height:40px}._api_key_input__title_7488d_31{margin:0;font-size:20px;font-weight:500;color:#fff}._api_key_input__form_7488d_38{width:100%;display:flex;flex-direction:column;gap:20px}._api_key_input__label_7488d_45{display:block;font-size:14px;color:#ffffffb3;margin-bottom:8px}._api_key_input__input_wrapper_7488d_52{position:relative;width:100%}._api_key_input__input_7488d_52{width:100%;height:48px;padding:0 40px 0 12px;font-size:14px;font-weight:400;color:#fffc;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:6px;outline:none;transition:all .2s ease;box-sizing:border-box}@media(max-width:480px){._api_key_input__input_7488d_52{height:44px;font-size:16px}}._api_key_input__input_7488d_52::placeholder{color:#fff6}._api_key_input__input_7488d_52:focus{border-color:#ffffff4d;background:#ffffff14}._api_key_input__input--error_7488d_84{border-color:#ff4d4f;background:#ff4d4f0d}._api_key_input__input--disabled_7488d_88{opacity:.5;cursor:not-allowed}._api_key_input__toggle_button_7488d_93{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:#ffffff80;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}._api_key_input__toggle_button_7488d_93:hover:not(:disabled){color:#ffffffb3;background:#ffffff0d}._api_key_input__toggle_button_7488d_93:disabled{opacity:.3;cursor:not-allowed}._api_key_input__toggle_icon_7488d_118{width:16px;height:16px}._api_key_input__error_message_7488d_123{margin-top:6px;font-size:12px;color:#ff4d4f}._api_key_input__submit_button_7488d_129{width:100%;height:48px;border:none;border-radius:6px;background-color:#5856d6;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;outline:none}@media(max-width:480px){._api_key_input__submit_button_7488d_129{height:44px;font-size:16px}}._api_key_input__submit_button_7488d_129:disabled{opacity:.5;cursor:not-allowed;transform:none}._chatbot_header_luxt4_1{border-bottom:1px solid #434343}._chatbot_header_luxt4_1 ._chatbot_header__content_luxt4_4{margin:0 auto;max-width:1200px;padding:var(--asg-spacing-4);display:flex;justify-content:space-between}._chatbot_header__title_luxt4_12{display:flex;flex-direction:row;align-items:center;gap:var(--asg-spacing-2)}._chatbot_header__title_luxt4_12>h4{margin:0;color:#fff}._chatbot_header__extra_luxt4_23{display:flex;flex-direction:row;align-items:center;gap:var(--asg-spacing-3)}._chatbot_header__extra_luxt4_23>div{width:24px;height:24px;display:flex;justify-content:center;align-items:center}._chatbot_header__extra_luxt4_23>div>svg{width:15px;height:15px;cursor:pointer}._chatbot_header__extra_luxt4_23>div>svg:hover{opacity:.5}._chatbot_body_wrapper_13zns_1{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}._chatbot_body_13zns_1{flex:1;min-height:0;overflow-x:hidden;overflow-y:scroll;overscroll-behavior-y:contain}._chatbot_body_13zns_1 ._chatbot_body__content_13zns_16{margin:0 auto;display:flex;flex-direction:column;padding:16px;gap:16px;max-width:1200px}._template_box_rjm7y_1{width:100%;display:flex;gap:8px}._template_box--bot_rjm7y_7._template_box--horizontal_rjm7y_7{flex-direction:row}._template_box--bot_rjm7y_7._template_box--vertical_rjm7y_10{flex-direction:column}._template_box--user_rjm7y_14{flex-direction:row-reverse}._template_box--empty_rjm7y_18{margin-top:-8px}._template_box_content_fs2wk_1{width:100%;display:flex;flex-direction:column;gap:8px}._content_fs2wk_8{width:100%;display:flex;flex-direction:row;gap:8px}._quick_replies_box_zoq7y_1{display:flex;flex-wrap:wrap;gap:8px}._quick_reply_zoq7y_7{font:inherit;font-size:13px;padding:4px 8px;border-radius:8px;border:1px solid #434343;background:#58585833;color:#fff;cursor:pointer}._references_wrapper_qse5c_1{width:100%;display:flex;flex-direction:row;gap:8px;margin-top:4px}._references_box_qse5c_9{display:inline-block;padding:8px 12px;border-radius:8px;word-break:break-all}._references_box--bot_qse5c_16{max-width:70%;background:#585858;color:#fff;border-top-left-radius:0}._references_inner_qse5c_23{width:100%;display:flex;flex-direction:column}._references_header_qse5c_29{display:flex;align-items:center;gap:8px;margin-bottom:8px}._references_title_qse5c_36{font-size:inherit;font-weight:700;white-space:nowrap;color:#8c8c8c}._references_divider_qse5c_43{flex:1;height:1px;min-width:0;background-color:#3d3d3d}._references_list_qse5c_50{display:flex;flex-direction:column;gap:8px}._reference_item_text_qse5c_56,._reference_item_qse5c_56{font-size:.75em;word-break:break-all;color:inherit}._reference_item_qse5c_56{border:none;background:transparent;cursor:pointer;text-align:left;padding:0;transition:opacity .2s}._reference_item_qse5c_56:hover{opacity:.8}._reference_item_qse5c_56:active{opacity:.6}._reference_item_qse5c_56>span{word-break:break-all}._reference_link_qse5c_80{text-decoration:underline}._time_h4puu_1{display:flex;align-items:flex-end;font-size:12px;color:#8c8c8c}._message_actions_mnoya_1{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}._message_action_mnoya_1{font:inherit;font-size:13px;padding:0;border:none;background:transparent;color:#4a9eff;cursor:pointer;text-decoration:none}._message_action_mnoya_1:hover{text-decoration:underline}._bot_avatar_1ch7m_1{flex:0 0 auto;width:24px;height:24px;border-radius:50%}._bot_avatar--invisible_1ch7m_8{visibility:hidden}._card_root_1kvwl_1{width:255px;max-height:400px;border-radius:8px;background:#333;overflow:hidden;display:grid;grid-template-rows:max-content auto}._card_content_1kvwl_11{display:grid;grid-template-rows:max-content 1fr max-content;gap:var(--asg-spacing-2);padding:12px;line-height:1.5em}._card_title_1kvwl_19{color:#fff;margin:0;font-size:15px}._card_description_1kvwl_25{color:#8c8c8c;font-size:13px;font-weight:400;max-height:4.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-underline-position:from-font;text-decoration-skip-ink:none}._card_actions_1kvwl_40{display:flex;flex-direction:column;gap:8px}._card_actions_1kvwl_40>button{width:100%;height:32px;line-height:32px;text-align:center;border:none;border-radius:4px;background:#4767eb;color:#fff;font-size:15px;cursor:pointer}._text_609xr_1{display:inline-block;padding:8px 12px;border-radius:8px;color:#fff;word-break:break-all}._text_609xr_1>span{word-break:break-all}._text_609xr_1 p{margin:0 0 .5em}._text_609xr_1 p:last-child{margin-bottom:0}._text--user_609xr_18{max-width:75%;background:#4767eb;border-top-right-radius:0}._text--bot_609xr_24{max-width:70%;background:#585858;border-top-left-radius:0}._content_609xr_30{display:flex;flex-direction:column;gap:8px}._typing-indicator_609xr_36{display:inline-flex;align-items:flex-end;justify-content:center}._typing-indicator_609xr_36 ._dot_609xr_41{width:2px;height:2px;margin:0 2px;background-color:#fff;border-radius:50%;animation:_blink_609xr_1 1.4s infinite ease-in-out both}._typing-indicator_609xr_36 ._dot_609xr_41:nth-child(1){animation-delay:0s}._typing-indicator_609xr_36 ._dot_609xr_41:nth-child(2){animation-delay:.2s}._typing-indicator_609xr_36 ._dot_609xr_41:nth-child(3){animation-delay:.4s}._table_container_609xr_59{overflow-x:scroll}._table_container_609xr_59 table{width:100%;border-collapse:collapse;border-spacing:0;min-width:600px;font-size:14px;background-color:#1f1f1f;color:#ffffffd9;border:1px solid #333;border-radius:4px;overflow:hidden}._table_container_609xr_59 table thead{position:sticky;top:0;z-index:1;background-color:#141414}._table_container_609xr_59 table th,._table_container_609xr_59 table td{padding:12px 16px;border-bottom:1px solid #333;text-align:left;white-space:nowrap;transition:background-color .3s,color .3s}._table_container_609xr_59 table th{font-weight:600;color:#fffffff2}._table_container_609xr_59 table tbody tr:nth-child(odd){background-color:#1c1c1c}._table_container_609xr_59 table tbody tr:nth-child(2n){background-color:#111}._table_container_609xr_59 table tbody tr:hover td{background-color:#262626}._table_container_609xr_59 table tbody tr:last-child td{border-bottom:none}@keyframes _blink_609xr_1{0%,80%,to{opacity:.2;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}._h1_1y0bh_1{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1.875rem;line-height:2.25rem}._h2_1y0bh_9{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1.5rem;line-height:2rem}._h3_1y0bh_17{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1.25rem;line-height:1.75rem}._h4_1y0bh_25{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1.125rem;line-height:1.75rem}._h5_1y0bh_33{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:1rem;line-height:1.5rem}._h6_1y0bh_41{margin-top:1.5rem;margin-bottom:.5rem;font-weight:600;font-size:.875rem;line-height:1.25rem}._p_1y0bh_49{margin-bottom:.75rem;line-height:1.6}._p_1y0bh_49:last-child{margin-bottom:0}._ul_1y0bh_57{margin-bottom:.75rem;padding-left:1.5rem;list-style-type:disc;list-style-position:inside;white-space:normal}._ul_1y0bh_57 ._ul_1y0bh_57,._ul_1y0bh_57 ._ol_1y0bh_65{padding-left:1.5rem}._ol_1y0bh_65{margin-bottom:.75rem;padding-left:1.5rem;list-style-type:decimal;list-style-position:inside;white-space:normal}._ol_1y0bh_65 ._ul_1y0bh_57,._ol_1y0bh_65 ._ol_1y0bh_65{padding-left:1.5rem}._li_1y0bh_81{padding:.25rem 0}._li_1y0bh_81>p{display:inline}._a_1y0bh_88{font-weight:500;color:var(--asgard-markdown-link, #3b82f6);text-decoration:underline;overflow-wrap:anywhere}._a_1y0bh_88:hover{color:var(--asgard-markdown-link-hover, #2563eb)}._blockquote_1y0bh_98{margin:.75rem 0;padding:.5rem 1rem;border-left:4px solid var(--asgard-markdown-blockquote-border, rgba(255, 255, 255, .3));color:var(--asgard-markdown-blockquote, rgba(255, 255, 255, .7));font-style:italic}._blockquote_1y0bh_98 p{margin:0}._hr_1y0bh_109{margin:1.5rem 0;border:none;border-top:1px solid var(--asgard-markdown-hr, rgba(255, 255, 255, .2))}._strong_1y0bh_115{font-weight:600}._em_1y0bh_119{font-style:italic}._code_1y0bh_123{padding:.15rem .4rem;font-size:.9em;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;background-color:var(--asgard-markdown-code-bg, rgba(255, 255, 255, .1));border-radius:4px}._pre_1y0bh_131{margin:.75rem 0;padding:.75rem 1rem;overflow-x:auto;font-size:.875rem;line-height:1.5;background-color:var(--asgard-markdown-pre-bg, #1a1a1a);border-radius:6px}._pre_1y0bh_131 code{padding:0;font-size:inherit;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;background-color:transparent;border-radius:0}._img_1y0bh_148{max-width:100%;height:auto;border-radius:4px}._table_1y0bh_154{width:100%;margin:.75rem 0;border-collapse:collapse;font-size:.9rem}._thead_1y0bh_161{background-color:var(--asgard-markdown-table-header-bg, rgba(255, 255, 255, .05))}._tbody_1y0bh_165 tr:nth-child(2n){background-color:var(--asgard-markdown-table-row-alt, rgba(255, 255, 255, .02))}._tr_1y0bh_169{border-bottom:1px solid var(--asgard-markdown-table-border, rgba(255, 255, 255, .2))}._th_1y0bh_161,._td_1y0bh_174{padding:.5rem .75rem;text-align:left;border:1px solid var(--asgard-markdown-table-border, rgba(255, 255, 255, .2))}._th_1y0bh_161{font-weight:600}._carousel_root_v06v3_1{width:100%;display:flex;flex-wrap:nowrap;overflow-x:scroll;gap:8px;align-items:stretch}._carousel_root_v06v3_1>div{flex:0 0 auto}._carousel_time_v06v3_13{justify-content:flex-end}._hint_root_1hmle_1{margin:0 auto;display:flex;flex-direction:column;align-items:center;padding:4px 12px;gap:4px;border-radius:2px;background:#58585833;font-size:13px;color:#fff;word-break:break-all}._hint_root_1hmle_1._hint_root__error_1hmle_14{color:var(--asg-color-error)}._hint_root_1hmle_1 ._error_hint_title_1hmle_17{display:flex;align-items:center;gap:var(--asg-spacing-2);color:var(--asg-color-error)}._hint_root_1hmle_1 ._error_hint_message_1hmle_23{font-size:12px;color:#fff}._hint_root_1hmle_1 ._error_hint_message_1hmle_23>span{border-bottom:1px solid white;cursor:pointer}._hint_text_1hmle_32{color:#fff}._time_1hmle_36{font-size:12px;color:#8c8c8c}._container_1erxu_1{display:flex;flex-direction:column;gap:12px;width:100%;background:#585858;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:12px}._header_1erxu_13{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}._title_box_1erxu_20{display:flex;flex-direction:column;gap:4px;min-width:0}._title_1erxu_20{font-size:14px;font-weight:600}._description_1erxu_32{font-size:13px;line-height:1.5;opacity:.75}._chart_select_1erxu_38{flex-shrink:0;font:inherit;font-size:13px;padding:6px 10px;border-radius:6px;border:1px solid rgba(255,255,255,.2);background:#ffffff0d;color:inherit;cursor:pointer}._chart_select_1erxu_38:hover{background:#ffffff1a}._chart_wrapper_1erxu_53{width:100%;overflow-x:auto;background:#fff;border-radius:6px;padding:8px}._chart_time_1erxu_61{justify-content:flex-end}._image_box_8cz9p_1{display:flex;align-items:center;justify-content:flex-start;max-width:80%;border-radius:8px;box-sizing:border-box}._image_box_8cz9p_1>img{width:100%;border-radius:8px}._time_8cz9p_14{justify-content:flex-end}._quick_replies_box_8cz9p_18{display:flex;flex-wrap:wrap;gap:8px}._full_screen_8cz9p_24{display:flex;align-items:center;justify-content:center;z-index:9999;position:fixed;top:0;left:0;background:#1e1e1ecc;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);width:100%;height:100%;overflow:hidden;box-sizing:border-box}._full_screen_8cz9p_24>._imageOrigin_8cz9p_39{width:100%;max-width:100%;height:100%;max-height:90%;border-radius:8px;background-repeat:no-repeat;background-size:contain;background-position:center}._full_screen_8cz9p_24>._full_screen_close_8cz9p_49{position:absolute;top:16px;right:16px;font-size:24px;cursor:pointer;z-index:9999}._quick_reply_8cz9p_58{font:inherit;font-size:13px;padding:4px 8px;border-radius:8px;border:1px solid #434343;background:#58585833;color:#fff;cursor:pointer}._video_box_119ne_1{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;max-width:80%;border-radius:8px;box-sizing:border-box;gap:8px}._video_preview_119ne_12{position:relative;width:100%;border-radius:8px;overflow:hidden;cursor:pointer;background:#000}._video_preview_119ne_12>img{width:100%;display:block;border-radius:8px}._video_preview_119ne_12:hover ._play_button_119ne_25{transform:translate(-50%,-50%) scale(1.1)}._play_button_119ne_25{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:transform .2s ease;pointer-events:none}._duration_badge_119ne_39{position:absolute;bottom:8px;right:8px;background:#000000b3;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}._video_player_wrapper_119ne_51{position:relative;border-radius:8px;overflow:hidden;background:#000;display:flex;align-items:center;justify-content:center}._video_player_119ne_51{width:100%;height:100%;display:block;border-radius:8px;object-fit:contain}._youtube_player_119ne_69{width:100%;height:100%;border-radius:8px;border:none}._video_text_119ne_76{font-size:14px;color:inherit;word-wrap:break-word}._time_119ne_82{justify-content:flex-end}._quick_replies_box_119ne_86{display:flex;flex-wrap:wrap;gap:8px}._quick_reply_119ne_92{font:inherit;font-size:13px;padding:4px 8px;border-radius:8px;border:1px solid #434343;background:#58585833;color:#fff;cursor:pointer}._audio_box_1y8ew_1{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;max-width:60%;min-width:250px;border-radius:8px;box-sizing:border-box;gap:8px}._audio_player_1y8ew_13{width:100%;min-width:250px;border-radius:8px}._audio_player_1y8ew_13::-webkit-media-controls-download-button{display:none}._audio_player_1y8ew_13::-webkit-media-controls-fullscreen-button{display:none}._audio_player_1y8ew_13::-webkit-media-controls-remote-playback-button{display:none}._card_root_1yq01_1{width:255px;max-height:400px;border-radius:8px;overflow:hidden;display:grid;grid-template-rows:max-content auto}._map_container_1yq01_10{width:100%;height:170px;overflow:hidden;position:relative}._map_iframe_1yq01_17{display:block;width:100%;height:100%;border:none;pointer-events:none}._card_content_1yq01_25{display:grid;grid-template-rows:1.5em auto;gap:var(--asg-spacing-2);padding:12px;line-height:1.5em;background:#333;border-radius:0 0 8px 8px}._card_title_1yq01_35{color:#fff;margin:0;font-size:15px;font-weight:600}._card_description_1yq01_42{color:#8c8c8c;font-size:13px;font-weight:400;max-height:4.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-underline-position:from-font;text-decoration-skip-ink:none}._message_wrapper_1cjr0_1{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:75%}._text_bubble_1cjr0_9{display:inline-block;padding:8px 12px;border-radius:8px;white-space:pre-wrap;word-break:break-word}._text_bubble--user_1cjr0_16{background:#4767eb;color:#fff;border-top-right-radius:0}._images_container_1cjr0_22{display:flex;flex-direction:column;gap:8px;width:100%}._image_wrapper_1cjr0_29{position:relative;width:300px;aspect-ratio:3/2;border-radius:8px;overflow:hidden;background:#0000000d;box-shadow:0 1px 2px #0000001a;align-self:flex-end}._uploaded_image_1cjr0_40{width:100%;height:100%;object-fit:cover;display:block;cursor:pointer;transition:opacity .2s ease}._uploaded_image_1cjr0_40:hover{opacity:.95}._documents_container_1cjr0_52{display:flex;flex-direction:column;gap:8px;width:100%;align-items:flex-end}._document_card_1cjr0_60{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:8px;max-width:300px}._document_icon_1cjr0_69{flex-shrink:0}._document_name_1cjr0_73{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._image_modal_1cjr0_80{position:fixed;inset:0;background-color:#000000e6;display:flex;align-items:center;justify-content:center;z-index:10000;cursor:pointer;padding:20px}._image_modal_1cjr0_80 ._modal_image_1cjr0_94{max-width:90vw;max-height:90vh;object-fit:contain;border-radius:8px;box-shadow:0 4px 20px #00000080}._tool_call_group_1rad3_1{width:100%;display:flex;flex-direction:column;gap:8px}._tool_call_group__header_1rad3_8{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}._tool_call_group__chevron_1rad3_16{width:16px;height:16px;color:var(--asgard-tool-call-icon, #8c8c8c);transition:transform .2s ease;flex-shrink:0}._tool_call_group__chevron--expanded_1rad3_24{transform:rotate(90deg)}._tool_call_group__title_1rad3_28{font-size:14px;font-weight:500;color:var(--asgard-tool-call-text, #fff)}._tool_call_group__content_1rad3_34{display:flex;flex-direction:column;gap:8px}._tool_call_item_1rad3_40{display:flex;flex-direction:column;background-color:var(--asgard-tool-call-item-bg, #1a1a1a);border-radius:8px;overflow:hidden}._tool_call_item__header_1rad3_48{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s ease}._tool_call_item__header_1rad3_48:hover{background-color:var(--asgard-tool-call-hover, rgba(255, 255, 255, .05))}._tool_call_item__left_1rad3_61{display:flex;align-items:center;gap:8px}._tool_call_item__chevron_1rad3_67{width:14px;height:14px;color:var(--asgard-tool-call-icon, #8c8c8c);transition:transform .2s ease;flex-shrink:0}._tool_call_item__chevron--expanded_1rad3_75{transform:rotate(90deg)}._tool_call_item__label_1rad3_79{font-size:14px;color:var(--asgard-tool-call-text, #fff)}._tool_call_item__status_1rad3_84{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0}._tool_call_item__status_icon_1rad3_93{width:20px;height:20px}._tool_call_item__status_icon--completed_1rad3_98{color:#52c41a}._tool_call_item__status_icon--error_1rad3_102{color:#ff4d4f}._tool_call_item__status_icon--pending_1rad3_106{color:#faad14;animation:_pulse_1rad3_1 1.5s ease-in-out infinite}@keyframes _pulse_1rad3_1{0%,to{opacity:1}50%{opacity:.5}}._tool_call_item__content_1rad3_119{padding:0 16px 12px 38px;display:flex;flex-direction:column;gap:8px}._json_viewer_1rad3_126{display:flex;flex-direction:column;border-radius:6px;overflow:hidden;background-color:var(--asgard-json-viewer-bg, #141414);border:1px solid var(--asgard-tool-call-border, #333)}._json_viewer__header_1rad3_135{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;background-color:var(--asgard-json-viewer-header-bg, #1f1f1f);border-bottom:1px solid var(--asgard-tool-call-border, #333)}._json_viewer__title_1rad3_144{font-size:12px;font-weight:500;color:var(--asgard-tool-call-text-secondary, #8c8c8c)}._json_viewer__actions_1rad3_150{display:flex;align-items:center;gap:4px}._json_viewer__action_btn_1rad3_156{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:var(--asgard-tool-call-icon, #8c8c8c);cursor:pointer;border-radius:4px;transition:all .2s ease}._json_viewer__action_btn_1rad3_156:hover{background-color:var(--asgard-tool-call-hover, rgba(255, 255, 255, .1));color:var(--asgard-tool-call-text, #fff)}._json_viewer__action_btn_1rad3_156 svg{width:14px;height:14px}._json_viewer__content_1rad3_178{padding:8px 10px;max-height:200px;overflow:auto}._json_viewer__code_1rad3_184{font-family:SF Mono,Monaco,Courier New,monospace;font-size:11px;line-height:1.5;color:var(--asgard-json-viewer-text, #d4d4d4);white-space:pre-wrap;word-break:break-all;margin:0}._json_token--key_1rad3_194{color:#9cdcfe}._json_token--string_1rad3_198{color:#ce9178}._json_token--number_1rad3_202{color:#b5cea8}._json_token--boolean_1rad3_206,._json_token--null_1rad3_210{color:#569cd6}._json_token--punctuation_1rad3_214{color:#d4d4d4}._json_modal__backdrop_1rad3_218{position:fixed;inset:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}._json_modal_1rad3_218{display:flex;flex-direction:column;width:100%;max-width:800px;max-height:80vh;background-color:var(--asgard-json-viewer-bg, #141414);border:1px solid var(--asgard-tool-call-border, #333);border-radius:8px;overflow:hidden;box-shadow:0 8px 32px #00000080}._json_modal__header_1rad3_245{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background-color:var(--asgard-json-viewer-header-bg, #1f1f1f);border-bottom:1px solid var(--asgard-tool-call-border, #333)}._json_modal__title_1rad3_254{font-size:14px;font-weight:500;color:var(--asgard-tool-call-text, #fff)}._json_modal__actions_1rad3_260{display:flex;align-items:center;gap:8px}._json_modal__action_btn_1rad3_266{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:var(--asgard-tool-call-icon, #8c8c8c);cursor:pointer;border-radius:4px;transition:all .2s ease}._json_modal__action_btn_1rad3_266:hover{background-color:var(--asgard-tool-call-hover, rgba(255, 255, 255, .1));color:var(--asgard-tool-call-text, #fff)}._json_modal__action_btn_1rad3_266 svg{width:16px;height:16px}._json_modal__content_1rad3_288{flex:1;padding:16px;overflow:auto}._json_modal__content_1rad3_288 ._json_viewer__code_1rad3_184{font-size:13px;line-height:1.6}._container_12tvo_1{display:flex;flex-direction:column;gap:8px;width:100%;position:relative;background:#585858;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:8px}._tabs_12tvo_13{display:flex;align-items:center;gap:4px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.12)}._tab_12tvo_13{padding:10px 8px;border:none;border-bottom:2px solid transparent;background:transparent;color:inherit;font-size:13px;font-weight:500;cursor:pointer;opacity:.6;transition:opacity .2s,border-color .2s}._tab_12tvo_13:hover{opacity:.85}._tab--active_12tvo_37{opacity:1;border-bottom-color:currentColor}._header_12tvo_42{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:8px 8px 0 0}._title_12tvo_50{font-size:14px;font-weight:600}._download_button_12tvo_55{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:6px;background:#ffffff1a;color:inherit;cursor:pointer;transition:background-color .2s}._download_button_12tvo_55:hover{background:#fff3}._download_button_12tvo_55:active{background:#ffffff4d}._download_12tvo_55{position:relative}._download_backdrop_12tvo_79{position:fixed;inset:0;z-index:1}._download_menu_12tvo_85{position:absolute;top:calc(100% + 4px);right:0;z-index:2;display:flex;flex-direction:column;min-width:120px;padding:4px;background:#282828fa;border:1px solid rgba(255,255,255,.15);border-radius:8px;box-shadow:0 4px 12px #0000004d}._download_menu_item_12tvo_100{padding:8px 12px;border:none;border-radius:4px;background:transparent;color:inherit;font-size:13px;text-align:left;cursor:pointer}._download_menu_item_12tvo_100:hover{background:#ffffff1a}._table_wrapper_12tvo_114{overflow-x:auto;border-radius:8px}._table_12tvo_114{width:100%;border-collapse:collapse;font-size:13px}._table_header_12tvo_125{background:#0003}._table_header_cell_12tvo_129{padding:10px 12px;text-align:left;font-weight:600;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.1)}._header_cell_content_12tvo_137{display:flex;flex-direction:column;gap:2px}._header_label_12tvo_143{font-size:13px;font-weight:600}._header_key_12tvo_148{font-size:11px;font-weight:400;opacity:.55}._table_row_12tvo_154:hover{background:#ffffff0d}._table_row_12tvo_154:not(:last-child){border-bottom:1px solid rgba(255,255,255,.1)}._table_cell_12tvo_161{padding:10px 12px;white-space:nowrap}._pagination_12tvo_166{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px}._pagination_button_12tvo_174{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:transparent;color:inherit;cursor:pointer;font-size:14px}._pagination_button_12tvo_174:hover:not(:disabled){background:#ffffff1a}._pagination_button_12tvo_174:disabled{opacity:.4;cursor:not-allowed}._pagination_page_12tvo_195{display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 8px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:transparent;color:inherit;font-size:13px;cursor:pointer}._pagination_page_12tvo_195:hover{background:#ffffff1a}._pagination_page--active_12tvo_213{background:#ffffff26;font-weight:600}._pagination_ellipsis_12tvo_218{padding:0 4px;font-size:13px;opacity:.6}._empty_state_12tvo_224{padding:24px;text-align:center;font-size:13px;opacity:.7}._sql_view_12tvo_231{display:flex;flex-direction:column;gap:12px;padding:0 12px 12px;font-size:13px}._sql_block_12tvo_239{overflow-x:auto}._sql_explanation_12tvo_243{padding-top:12px;border-top:1px solid rgba(255,255,255,.12);font-size:13px;line-height:1.6;opacity:.85}._time_12tvo_251{justify-content:flex-end}._snackbar_12tvo_255{position:absolute;bottom:-48px;left:0;right:0;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#282828f2;border-radius:8px;box-shadow:0 4px 12px #0000004d;animation:_slideUp_12tvo_1 .2s ease-out}@keyframes _slideUp_12tvo_1{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}._snackbar_text_12tvo_280{flex:1;font-size:13px;color:#fff}._snackbar_action_12tvo_286{padding:4px 12px;border:none;border-radius:4px;background:transparent;color:#4fc3f7;font-size:13px;font-weight:500;cursor:pointer}._snackbar_action_12tvo_286:hover{background:#4fc3f71a}._snackbar_close_12tvo_300{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:4px;background:transparent;color:#fff9;font-size:18px;cursor:pointer}._snackbar_close_12tvo_300:hover{background:#ffffff1a;color:#fff}._root_1vqc7_1{display:flex;flex-direction:column;gap:8px;width:320px;max-width:100%}._chip_1vqc7_9{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:#333;border:none;text-align:left;cursor:pointer;color:inherit;font:inherit}._chip_1vqc7_9:hover{background:#404040}._chip_1vqc7_9:focus-visible{outline:2px solid rgb(71,103,235);outline-offset:2px}._icon_box_1vqc7_30{flex:0 0 auto;width:36px;height:36px;border-radius:8px;background:#4767eb;color:#fff;display:flex;align-items:center;justify-content:center}._icon_box_1vqc7_30>svg{width:20px;height:20px}._body_1vqc7_46{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}._title_1vqc7_54{color:#fff;font-size:14px;font-weight:600;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._text_1vqc7_64{color:#8c8c8c;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._download_button_1vqc7_73{flex:0 0 auto;width:32px;height:32px;border-radius:8px;background:transparent;border:none;color:#b4b4b4;display:flex;align-items:center;justify-content:center;cursor:pointer}._download_button_1vqc7_73>svg{width:18px;height:18px}._download_button_1vqc7_73:hover{background:#505050;color:#fff}._download_button_1vqc7_73:focus-visible{outline:2px solid rgb(71,103,235);outline-offset:2px}._chatbot_footer_1juw0_1{border-top:1px solid #434343}._chatbot_footer_1juw0_1 ._chatbot_footer__content_1juw0_4{display:grid;align-items:center;grid-template-columns:auto 1fr auto;margin:0 auto;max-width:1200px;padding:var(--asg-spacing-3) var(--asg-spacing-4);gap:var(--asg-spacing-2)}@keyframes _prevent_ios_focus_scroll_1juw0_1{0%{opacity:0}to{opacity:1}}._chatbot_textarea_1juw0_22{font:inherit;font-size:16px;height:40px;max-height:240px;padding:8px 8px 8px 12px;background:var(--asg-color-bg);border:1px solid rgb(67,67,67);border-radius:2px;color:#8c8c8c;resize:none;overflow:hidden}._chatbot_textarea_1juw0_22::placeholder{color:var(--asg-color-text-placeholder)}._chatbot_textarea_1juw0_22._chatbot_textarea--focused_1juw0_39{animation:_prevent_ios_focus_scroll_1juw0_1 .01s}._chatbot_submit_button_1juw0_43{font:inherit;width:24px;height:100%;max-height:38px;display:flex;justify-content:center;align-items:center;font-size:16px;border:none;background:transparent;border-radius:50%;color:#fff;cursor:pointer}._chatbot_submit_button_1juw0_43>svg{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:auto;min-width:16px;height:60%;max-height:38px;min-height:16px}._chatbot_submit_button_1juw0_43._chatbot_submit_button__disabled_1juw0_68{opacity:.6}._attachment_buttons_1juw0_72,._send_zone_1juw0_78{display:flex;gap:var(--asg-spacing-2);align-items:center}._attachment_menu_container_1juw0_84{position:relative}._attachment_menu_1juw0_84{position:absolute;bottom:100%;left:0;margin-bottom:8px;min-width:160px;border-radius:8px;border:1px solid var(--asg-color-border, #3d3d3d);background:var(--asg-color-bg, #1a1a1a);box-shadow:0 4px 12px #0000004d;overflow:hidden;z-index:100}._attachment_menu_item_1juw0_102{display:flex;align-items:center;gap:var(--asg-spacing-2, 8px);width:100%;padding:10px 14px;border:none;background:transparent;color:var(--asg-color-text, #e0e0e0);font:inherit;font-size:14px;cursor:pointer;transition:background-color .15s ease;text-align:left}._attachment_menu_item_1juw0_102:hover{background:#ffffff1a}._attachment_menu_item_1juw0_102>svg{width:18px;height:18px;flex-shrink:0}._attachment_menu_item_1juw0_102>span{white-space:nowrap}._attachment_button_1juw0_72{font:inherit;width:32px;height:32px;display:flex;justify-content:center;align-items:center;border:none;background:transparent;border-radius:6px;color:#fff;cursor:pointer;transition:all .2s ease;position:relative}._attachment_button_1juw0_72:disabled{opacity:.6;cursor:not-allowed}._attachment_button_1juw0_72>svg{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:18px;height:18px}._file_input_hidden_1juw0_156{display:none}._file_preview_container_1juw0_160{width:100%;max-width:1200px;overflow-x:auto;margin:0 auto;padding:var(--asg-spacing-3, 12px);padding-bottom:0}._file_preview_grid_1juw0_169{display:flex;gap:var(--asg-spacing-2, 8px);flex-wrap:nowrap}._file_preview_item_1juw0_175{position:relative;background:var(--asg-color-bg-secondary, #2d2d2d);border:1px solid var(--asg-color-border, #3d3d3d);border-radius:var(--asg-radius-md, 8px);overflow:hidden;width:100px;height:80px;flex-shrink:0}._file_preview_image_area_1juw0_186{width:100%;height:100%;background:var(--asg-color-bg-dark, #1a1a1a);display:flex;align-items:center;justify-content:center;position:relative}._file_preview_image_1juw0_186{max-width:100%;max-height:100%;object-fit:contain;cursor:pointer;transition:opacity .2s ease}._file_preview_image_1juw0_186:hover{opacity:.8}._file_remove_button_1juw0_207{position:absolute;top:var(--asg-spacing-1, 6px);right:var(--asg-spacing-1, 6px);width:20px;height:20px;border-radius:4px;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;border:1px solid rgba(255,255,255,.1);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;padding:0}._file_upload_overlay_1juw0_226{position:absolute;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center}@keyframes _spin_1juw0_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._file_upload_spinner_1juw0_243{width:24px;height:24px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:_spin_1juw0_1 .8s linear infinite}._file_preview_item__error_1juw0_252{border-color:#ef4444}._file_error_overlay_1juw0_256{position:absolute;inset:0;background:#ef444433;display:flex;align-items:center;justify-content:center}._file_error_icon_1juw0_265{width:24px;height:24px;color:#ef4444}._image_modal_1juw0_271{position:fixed;inset:0;background:#000c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999}._image_modal_content_1juw0_283{display:flex;flex-direction:column;align-items:center;gap:var(--asg-spacing-4, 16px)}._image_modal_image_1juw0_290{max-width:90vw;max-height:75vh;object-fit:contain;border-radius:var(--asg-radius-lg, 12px);box-shadow:0 20px 60px #0009;-webkit-user-select:none;user-select:none}._image_modal_close_button_1juw0_299{position:absolute;top:var(--asg-spacing-5, 20px);right:var(--asg-spacing-5, 20px);width:36px;height:36px;border-radius:50%;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;border:1px solid rgba(255,255,255,.2);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:20px;padding:0;transition:all .2s ease}._image_modal_close_button_1juw0_299:hover{background:#fff3;transform:scale(1.1)}._image_modal_close_button_1juw0_299:active{transform:scale(.95)}._document_preview_grid_1juw0_326{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:var(--asg-spacing-2, 8px)}@media(max-width:768px){._document_preview_grid_1juw0_326{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}._document_preview_item_1juw0_337{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--asg-spacing-2, 8px);padding:var(--asg-spacing-3, 12px);background:var(--asg-color-bg-secondary, #2d2d2d);border:1px solid var(--asg-color-border, #3d3d3d);border-radius:var(--asg-radius-md, 8px);aspect-ratio:3/2;max-width:250px}._document_preview_icon_wrapper_1juw0_352{display:flex;align-items:center;justify-content:center;flex:1}._document_preview_icon_1juw0_352{width:48px;height:48px;color:var(--asg-color-text-secondary, #a0a0a0)}._document_preview_name_1juw0_365{font-size:12px;color:var(--asg-color-text, #e0e0e0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;text-align:center}._chatbot_root_htsl5_2{--asg-color-blue-1: #edf0fd;--asg-color-blue-2: #d3dbfa;--asg-color-blue-3: #b0bef6;--asg-color-blue-4: #6882ef;--asg-color-blue-5: #8b9ff2;--asg-color-blue-6: #4767eb;--asg-color-blue-7: #3c58c8;--asg-color-blue-8: #3249a7;--asg-color-blue-9: #283b86;--asg-color-blue-10: #202e6a;--asg-color-orange-1: #ffeded;--asg-color-orange-2: #ffd4d5;--asg-color-orange-3: #ffb2b3;--asg-color-orange-4: #ff8f90;--asg-color-orange-5: #ff6d6f;--asg-color-orange-6: #ff4d4f;--asg-color-orange-7: #d94143;--asg-color-orange-8: #b53738;--asg-color-orange-9: #912c2d;--asg-color-orange-10: #732324;--asg-color-green-1: #eef9e8;--asg-color-green-2: #d5f1c8;--asg-color-green-3: #b5e69d;--asg-color-green-4: #92da6f;--asg-color-green-5: #71cf43;--asg-color-green-6: #52c41a;--asg-color-green-7: #46a716;--asg-color-green-8: #3a8b12;--asg-color-green-9: #2f700f;--asg-color-green-10: #25580c;--asg-color-yellow-1: #fef7eb;--asg-color-yellow-2: #fdebcf;--asg-color-yellow-3: #fcdba9;--asg-color-yellow-4: #facb82;--asg-color-yellow-5: #f8bb5c;--asg-color-yellow-6: #f7ac38;--asg-color-yellow-7: #d29230;--asg-color-yellow-8: #af7a28;--asg-color-yellow-9: #8d6220;--asg-color-yellow-10: #6f4d19;--asg-color-grey-1: #f3f3f3;--asg-color-grey-2: #e2e2e2;--asg-color-grey-3: #cbcbcb;--asg-color-grey-4: #b2b2b2;--asg-color-grey-5: #9b9b9b;--asg-color-grey-6: #585858;--asg-color-grey-7: #717171;--asg-color-grey-8: #5e5e5e;--asg-color-grey-9: #4c4c4c;--asg-color-grey-10: #3c3c3c;--asg-color-primary: #4767eb;--asg-color-primary-light: #8b9ff2;--asg-color-primary-dark: #3249a7;--asg-color-primary-on-primary: #ffffff;--asg-color-primary-hover-bg: rgba(139, 159, 242, .15);--asg-color-primary-selected-bg: rgba(71, 103, 235, .2);--asg-color-secondary: #585858;--asg-color-secondary-light: #b2b2b2;--asg-color-secondary-dark: #4c4c4c;--asg-color-secondary-on-secondary: #ffffff;--asg-color-secondary-hover-bg: rgba(178, 178, 178, .15);--asg-color-secondary-selected-bg: rgba(88, 88, 88, .2);--asg-color-error: #ff4d4f;--asg-color-error-light: #ff6d6f;--asg-color-error-dark: #d94143;--asg-color-error-on-error: #ffffff;--asg-color-error-hover-bg: rgba(255, 109, 111, .15);--asg-color-error-selected-bg: rgba(255, 77, 79, .2);--asg-color-warning: #f7ac38;--asg-color-warning-light: #f8bb5c;--asg-color-warning-dark: #af7a28;--asg-color-warning-on-warning: #ffffff;--asg-color-warning-hover-bg: rgba(248, 187, 92, .15);--asg-color-warning-selected-bg: rgba(247, 172, 56, .2);--asg-color-success: #52c41a;--asg-color-success-light: #71cf43;--asg-color-success-dark: #3a8b12;--asg-color-success-on-success: #ffffff;--asg-color-success-hover-bg: rgba(113, 207, 67, .15);--asg-color-success-selected-bg: rgba(82, 196, 26, .2);--asg-color-action-active: #ffffff;--asg-color-action-inactive: #8c8c8c;--asg-color-action-disabled: #595959;--asg-color-action-disabled-bg: #393939;--asg-color-text-primary: #ffffff;--asg-color-text-secondary: #8c8c8c;--asg-color-text-disabled: #595959;--asg-color-text-placeholder: #8c8c8c;--asg-color-bg: #141414;--asg-color-surface: #1f1f1f;--asg-color-divider: #333333;--asg-color-border: #434343;--asg-color-overlay-dark: rgba(0, 0, 0, .5);--asg-color-overlay-light: rgba(31, 31, 31, .9);--asg-radius-none: 0px;--asg-radius-xxs: 2px;--asg-radius-xs: 4px;--asg-radius-s: 6px;--asg-radius-md: 8px;--asg-radius-lg: 10px;--asg-radius-xl: 12px;--asg-radius-2xl: 16px;--asg-radius-3xl: 20px;--asg-radius-4xl: 24px;--asg-spacing-1: 4px;--asg-spacing-2: 8px;--asg-spacing-3: 12px;--asg-spacing-4: 16px;--asg-spacing-5: 24px;--asg-spacing-6: 32px;--asg-spacing-7: 40px;--asg-spacing-8: 48px;--asg-spacing-9: 64px;--asg-spacing-10: 96px;--asg-spacing-11: 160px;font-family:Space Grotesk,Noto Sans TC,sans-serif;height:100%;min-height:0}._chatbot_root_htsl5_2 *{line-height:1.5;box-sizing:border-box;min-width:0}._full_screen_htsl5_128{position:fixed;inset:0;background-color:var(--asg-color-bg)}._full_screen_htsl5_128 ._chatbot_container_htsl5_133{height:100%;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}._chatbot_container_htsl5_133{display:grid;grid-template-rows:max-content 1fr max-content max-content;background-color:var(--asg-color-bg);overflow:hidden;overscroll-behavior:contain;position:relative}._container_32b6s_1{display:flex;flex-direction:column;align-items:center;width:360px;max-width:calc(100vw - 32px);padding:24px;gap:20px;background-color:var(--asg-color-bg);border:.5px solid var(--asg-color-border);border-radius:12px}@media(max-width:480px){._container_32b6s_1{width:100%;max-width:none;padding:20px;margin:0 16px}}._avatar_32b6s_22{width:40px;height:40px;display:flex;align-items:center;justify-content:center}._avatar_32b6s_22 svg,._avatar_32b6s_22 img{width:100%;height:100%}._message_32b6s_35{color:#ffffffb3;font-size:14px;line-height:1.5;text-align:center}._overlay_1r6z5_1{position:absolute;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background-color:#00000026;pointer-events:none}._overlay__content_1r6z5_12{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 48px;border:2px dashed var(--asg-color-primary, #6366f1);border-radius:16px;background-color:#ffffffe6}._overlay__icon_1r6z5_23{color:var(--asg-color-primary, #6366f1)}._overlay__text_1r6z5_27{font-size:16px;font-weight:500;color:var(--asg-color-primary, #6366f1)}._backdrop_1dyy6_1{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}._modal_1dyy6_12{display:flex;flex-direction:column;width:100%;max-width:520px;max-height:85vh;background-color:var(--asgard-consent-modal-bg, var(--asg-color-surface, #1f1f1f));border-radius:12px;overflow:hidden;box-shadow:0 16px 48px #0000003d}._header_1dyy6_24{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--asgard-consent-modal-border, var(--asg-color-border, #434343))}._title_1dyy6_33{font-size:15px;font-weight:600;line-height:1.4;color:var(--asgard-consent-modal-headline, var(--asg-color-text-primary, #ffffff));word-break:break-word}._title_tool_1dyy6_41{color:var(--asgard-consent-modal-accent, var(--asg-color-primary, #4f46e5))}._close_btn_1dyy6_45{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;border:none;border-radius:6px;color:var(--asgard-consent-modal-muted, var(--asg-color-text-secondary, #8c8c8c));font-family:inherit;cursor:pointer;transition:background-color .15s ease}._close_btn_1dyy6_45:hover{background-color:#ffffff14}._close_btn_1dyy6_45 svg{width:16px;height:16px}._content_1dyy6_68{padding:16px 20px;display:flex;flex-direction:column;gap:12px;overflow-y:auto}._meta_row_1dyy6_76{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--asgard-consent-modal-muted, var(--asg-color-text-secondary, #8c8c8c))}._meta_row_1dyy6_76 strong{color:var(--asgard-consent-modal-title, var(--asg-color-text-primary, #ffffff));font-weight:500}._input_section_1dyy6_89{display:flex;flex-direction:column;gap:8px}._input_toggle_1dyy6_95{display:inline-flex;align-items:center;gap:6px;background:transparent;border:none;color:var(--asgard-consent-modal-muted, var(--asg-color-text-secondary, #8c8c8c));font-family:inherit;font-size:13px;font-weight:500;cursor:pointer;padding:0;align-self:flex-start}._input_toggle_1dyy6_95:hover{color:var(--asgard-consent-modal-title, var(--asg-color-text-primary, #ffffff))}._input_toggle_1dyy6_95 svg{width:14px;height:14px;transition:transform .2s ease}._input_toggle_expanded_1dyy6_118 svg{transform:rotate(90deg)}._input_viewer_1dyy6_122{background-color:var(--asgard-consent-modal-code-bg, #0f172a);border-radius:8px;overflow:hidden;border:1px solid var(--asgard-consent-modal-code-border, #1e293b)}._deny_reason_1dyy6_129{display:flex;flex-direction:column;gap:6px}._deny_reason_1dyy6_129 label{font-size:13px;font-weight:500;color:var(--asgard-consent-modal-title, var(--asg-color-text-primary, #ffffff))}._deny_reason_1dyy6_129 textarea{width:100%;min-height:72px;max-height:160px;padding:8px 10px;font-size:13px;line-height:1.5;border-radius:6px;border:1px solid var(--asgard-consent-modal-border, var(--asg-color-border, #434343));color:var(--asgard-consent-modal-title, var(--asg-color-text-primary, #ffffff));background-color:var(--asgard-consent-modal-input-bg, var(--asg-color-bg, #141414));resize:vertical;font-family:inherit}._deny_reason_1dyy6_129 textarea:focus{outline:none;border-color:var(--asgard-consent-modal-accent, var(--asg-color-primary, #4f46e5));box-shadow:0 0 0 3px color-mix(in srgb,var(--asgard-consent-modal-accent, var(--asg-color-primary, #4f46e5)) 15%,transparent)}._actions_1dyy6_161{display:flex;flex-direction:column;gap:8px;padding:12px 20px 20px}._action_btn_1dyy6_168{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;font-family:inherit;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;border:1px solid transparent;transition:background-color .15s ease,border-color .15s ease,color .15s ease}._action_btn_1dyy6_168:disabled{cursor:not-allowed;opacity:.6}._action_primary_1dyy6_186{background-color:var(--asgard-consent-modal-accent, var(--asg-color-primary, #4f46e5));color:var(--asgard-consent-modal-primary-fg, #000000)}._action_primary_1dyy6_186:hover:not(:disabled){background-color:var(--asgard-consent-modal-accent-hover, var(--asg-color-primary-dark, #4338ca))}._action_secondary_1dyy6_194{background-color:transparent;color:var(--asgard-consent-modal-accent, var(--asg-color-text-primary, #ffffff));border-color:transparent}._action_secondary_1dyy6_194:hover:not(:disabled){background-color:#ffffff0f}._action_danger_1dyy6_203{background-color:transparent;color:var(--asgard-consent-modal-danger, var(--asg-color-error, #dc2626));border-color:transparent}._action_danger_1dyy6_203:hover:not(:disabled){background-color:color-mix(in srgb,var(--asgard-consent-modal-danger, var(--asg-color-error, #dc2626)) 8%,transparent)}._pending_indicator_1dyy6_212{font-size:12px;color:var(--asgard-consent-modal-muted, var(--asg-color-text-secondary, #8c8c8c));padding:0 20px 8px}._chatbot__auth_state_container_1hs4h_1{display:flex;align-items:center;justify-content:center;flex:1;padding:20px}._chatbot__error_state_1hs4h_9{color:#ff6b6b}._chatbot__error_state__content_1hs4h_13{text-align:center}._chatbot__error_state__icon_1hs4h_17{font-size:16px;margin-bottom:8px}
|
package/dist/index.js
CHANGED
|
@@ -26880,7 +26880,7 @@ function $8(e, t, n) {
|
|
|
26880
26880
|
return r;
|
|
26881
26881
|
}
|
|
26882
26882
|
function A8(e, t) {
|
|
26883
|
-
return ee(e).reduce((n, r) => (n.field.push(
|
|
26883
|
+
return ee(e).reduce((n, r) => (n.field.push(Z(r, t)), n.order.push(r.sort ?? "ascending"), n), { field: [], order: [] });
|
|
26884
26884
|
}
|
|
26885
26885
|
function M8(e, t) {
|
|
26886
26886
|
const n = [...e];
|
|
@@ -27407,7 +27407,7 @@ function bce(e, t) {
|
|
|
27407
27407
|
return e.map((n) => wi(n, t));
|
|
27408
27408
|
}
|
|
27409
27409
|
function X8(e, t = !0) {
|
|
27410
|
-
const { field: n } = e, r = Xt(e.timeUnit), { unit: i, binned: o } = r || {}, s =
|
|
27410
|
+
const { field: n } = e, r = Xt(e.timeUnit), { unit: i, binned: o } = r || {}, s = Z(e, { expr: "datum" }), a = i ? (
|
|
27411
27411
|
// For timeUnit, cast into integer with time() so we can use ===, inrange, indexOf to compare values directly.
|
|
27412
27412
|
// TODO: We calculate timeUnit on the fly here. Consider if we would like to consolidate this with timeUnit pipeline
|
|
27413
27413
|
// TODO: support utc
|
|
@@ -27907,7 +27907,7 @@ function l9({ scaleChannel: e, channelDef: t, scale: n, scaleName: r, markDef: i
|
|
|
27907
27907
|
if (a && u === "show") {
|
|
27908
27908
|
const c = o.scale.invalid?.[e] ?? "zero-or-min";
|
|
27909
27909
|
return {
|
|
27910
|
-
test: M0(
|
|
27910
|
+
test: M0(Z(a, { expr: "datum" }), !1),
|
|
27911
27911
|
...efe(c, n, r)
|
|
27912
27912
|
};
|
|
27913
27913
|
}
|
|
@@ -27944,7 +27944,7 @@ function $a(e, t, n, r) {
|
|
|
27944
27944
|
const { datum: o } = e;
|
|
27945
27945
|
yl(o) ? i.signal = Va(o) : le(o) ? i.signal = o.signal : Ud(o) ? i.signal = o.expr : i.value = o;
|
|
27946
27946
|
} else
|
|
27947
|
-
i.field =
|
|
27947
|
+
i.field = Z(e, n);
|
|
27948
27948
|
if (r) {
|
|
27949
27949
|
const { offset: o, band: s } = r;
|
|
27950
27950
|
o && (i.offset = o), s && (i.band = s);
|
|
@@ -27952,7 +27952,7 @@ function $a(e, t, n, r) {
|
|
|
27952
27952
|
return i;
|
|
27953
27953
|
}
|
|
27954
27954
|
function Ug({ scaleName: e, fieldOrDatumDef: t, fieldOrDatumDef2: n, offset: r, startSuffix: i, endSuffix: o = "end", bandPosition: s = 0.5 }) {
|
|
27955
|
-
const a = !le(s) && 0 < s && s < 1 ? "datum" : void 0, l =
|
|
27955
|
+
const a = !le(s) && 0 < s && s < 1 ? "datum" : void 0, l = Z(t, { expr: a, suffix: i }), u = n !== void 0 ? Z(n, { expr: a }) : Z(t, { suffix: o, expr: a }), c = {};
|
|
27956
27956
|
if (s === 0 || s === 1) {
|
|
27957
27957
|
c.scale = e;
|
|
27958
27958
|
const f = s === 0 ? l : u;
|
|
@@ -27964,7 +27964,7 @@ function Ug({ scaleName: e, fieldOrDatumDef: t, fieldOrDatumDef2: n, offset: r,
|
|
|
27964
27964
|
return r && (c.offset = r), c;
|
|
27965
27965
|
}
|
|
27966
27966
|
function nfe({ scaleName: e, fieldDef: t }) {
|
|
27967
|
-
const n =
|
|
27967
|
+
const n = Z(t, { expr: "datum" }), r = Z(t, { expr: "datum", suffix: "end" });
|
|
27968
27968
|
return `abs(scale("${e}", ${r}) - scale("${e}", ${n}))`;
|
|
27969
27969
|
}
|
|
27970
27970
|
function nC({ channel: e, channelDef: t, channel2Def: n, markDef: r, config: i, scaleName: o, scale: s, stack: a, offset: l, defaultRef: u, bandPosition: c }) {
|
|
@@ -28082,7 +28082,7 @@ function rC({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeSt
|
|
|
28082
28082
|
return f ? { signal: f } : void 0;
|
|
28083
28083
|
}
|
|
28084
28084
|
if (t = Yb({ type: a, specifiedFormat: t, config: o, normalizeStack: i }), V(e) && nt(e.bin)) {
|
|
28085
|
-
const u =
|
|
28085
|
+
const u = Z(e, { expr: r, binSuffix: "end" });
|
|
28086
28086
|
return {
|
|
28087
28087
|
signal: qd(s, u, t, n, o)
|
|
28088
28088
|
};
|
|
@@ -28091,15 +28091,15 @@ function rC({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeSt
|
|
|
28091
28091
|
} : { signal: `isValid(${s}) ? ${s} : ""+${s}` };
|
|
28092
28092
|
}
|
|
28093
28093
|
function c9(e, t, n) {
|
|
28094
|
-
return V(e) ? n ? `${
|
|
28094
|
+
return V(e) ? n ? `${Z(e, { expr: t, suffix: "end" })}-${Z(e, {
|
|
28095
28095
|
expr: t,
|
|
28096
28096
|
suffix: "start"
|
|
28097
|
-
})}` :
|
|
28097
|
+
})}` : Z(e, { expr: t }) : tfe(e);
|
|
28098
28098
|
}
|
|
28099
28099
|
function ti({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeStack: i, config: o, field: s }) {
|
|
28100
28100
|
if (s ??= c9(e, r, i), s !== "datum.value" && // For axis/legend, we can't correctly know the end of the bin from `datum`
|
|
28101
28101
|
V(e) && nt(e.bin)) {
|
|
28102
|
-
const a =
|
|
28102
|
+
const a = Z(e, { expr: r, binSuffix: "end" });
|
|
28103
28103
|
return {
|
|
28104
28104
|
signal: qd(s, a, t, n, o)
|
|
28105
28105
|
};
|
|
@@ -28299,7 +28299,7 @@ function cfe(e) {
|
|
|
28299
28299
|
function ffe(e) {
|
|
28300
28300
|
return W(e, "op");
|
|
28301
28301
|
}
|
|
28302
|
-
function
|
|
28302
|
+
function Z(e, t = {}) {
|
|
28303
28303
|
let n = e.field;
|
|
28304
28304
|
const r = t.prefix;
|
|
28305
28305
|
let i = t.suffix, o = "";
|
|
@@ -28954,7 +28954,7 @@ function N9(e, t) {
|
|
|
28954
28954
|
const { field: u, aggregate: c, bin: f, timeUnit: d, ...h } = a;
|
|
28955
28955
|
if (c || d || f) {
|
|
28956
28956
|
const g = sC(a)?.title;
|
|
28957
|
-
let m =
|
|
28957
|
+
let m = Z(a, { forAs: !0 });
|
|
28958
28958
|
const y = {
|
|
28959
28959
|
// Only add title if it doesn't exist
|
|
28960
28960
|
...g ? [] : { title: eu(a, t, { allowDisabling: !0 }) },
|
|
@@ -28964,7 +28964,7 @@ function N9(e, t) {
|
|
|
28964
28964
|
};
|
|
28965
28965
|
if (c) {
|
|
28966
28966
|
let _;
|
|
28967
|
-
if (Hs(c) ? (_ = "argmax", m =
|
|
28967
|
+
if (Hs(c) ? (_ = "argmax", m = Z({ op: "argmax", field: c.argmax }, { forAs: !0 }), y.field = `${m}.${u}`) : Do(c) ? (_ = "argmin", m = Z({ op: "argmin", field: c.argmin }, { forAs: !0 }), y.field = `${m}.${u}`) : c !== "boxplot" && c !== "errorbar" && c !== "errorband" && (_ = c), _) {
|
|
28968
28968
|
const b = {
|
|
28969
28969
|
op: _,
|
|
28970
28970
|
as: m
|
|
@@ -28972,7 +28972,7 @@ function N9(e, t) {
|
|
|
28972
28972
|
u && (b.field = u), o.push(b);
|
|
28973
28973
|
}
|
|
28974
28974
|
} else if (n.push(m), Pn(a) && nt(f)) {
|
|
28975
|
-
if (r.push({ bin: f, field: u, as: m }), n.push(
|
|
28975
|
+
if (r.push({ bin: f, field: u, as: m }), n.push(Z(a, { binSuffix: "end" })), Vd(a, l) && n.push(Z(a, { binSuffix: "range" })), Mt(l)) {
|
|
28976
28976
|
const _ = {
|
|
28977
28977
|
field: `${m}_end`
|
|
28978
28978
|
};
|
|
@@ -29143,7 +29143,7 @@ function F9(e, t) {
|
|
|
29143
29143
|
const i = t[r];
|
|
29144
29144
|
if (B(i) || V(i))
|
|
29145
29145
|
for (const o of ee(i))
|
|
29146
|
-
o.aggregate || n.push(
|
|
29146
|
+
o.aggregate || n.push(Z(o, {}));
|
|
29147
29147
|
return n;
|
|
29148
29148
|
}
|
|
29149
29149
|
case Bo:
|
|
@@ -29160,7 +29160,7 @@ function F9(e, t) {
|
|
|
29160
29160
|
case Ws:
|
|
29161
29161
|
case qs: {
|
|
29162
29162
|
const i = ui(t[r]);
|
|
29163
|
-
return i && !i.aggregate && n.push(
|
|
29163
|
+
return i && !i.aggregate && n.push(Z(i, {})), n;
|
|
29164
29164
|
}
|
|
29165
29165
|
}
|
|
29166
29166
|
}, []);
|
|
@@ -30456,12 +30456,12 @@ function J9(e, t) {
|
|
|
30456
30456
|
const i = M3(t, "x", n) || M3(t, "theta", n);
|
|
30457
30457
|
if (!i)
|
|
30458
30458
|
return null;
|
|
30459
|
-
const o = t[i], s = V(o) ?
|
|
30459
|
+
const o = t[i], s = V(o) ? Z(o, {}) : void 0, a = _de(i), l = [], u = /* @__PURE__ */ new Set();
|
|
30460
30460
|
if (t[a]) {
|
|
30461
|
-
const g = t[a], m = V(g) ?
|
|
30461
|
+
const g = t[a], m = V(g) ? Z(g, {}) : void 0;
|
|
30462
30462
|
m && m !== s && (l.push(a), u.add(m));
|
|
30463
30463
|
}
|
|
30464
|
-
const c = a === "x" ? "xOffset" : "yOffset", f = t[c], d = V(f) ?
|
|
30464
|
+
const c = a === "x" ? "xOffset" : "yOffset", f = t[c], d = V(f) ? Z(f, {}) : void 0;
|
|
30465
30465
|
d && d !== s && (l.push(c), u.add(d));
|
|
30466
30466
|
const h = kle.reduce((g, m) => {
|
|
30467
30467
|
if (m !== "tooltip" && Aa(t, m)) {
|
|
@@ -30470,7 +30470,7 @@ function J9(e, t) {
|
|
|
30470
30470
|
const b = ui(_);
|
|
30471
30471
|
if (b.aggregate)
|
|
30472
30472
|
continue;
|
|
30473
|
-
const v =
|
|
30473
|
+
const v = Z(b, {});
|
|
30474
30474
|
// if fielddef is a repeat, just include it in the stack by
|
|
30475
30475
|
(!v || // otherwise, the field must be different from the groupBy fields.
|
|
30476
30476
|
!u.has(v)) && g.push({ channel: m, fieldDef: b });
|
|
@@ -31467,7 +31467,7 @@ class Oi extends Je {
|
|
|
31467
31467
|
}
|
|
31468
31468
|
} else
|
|
31469
31469
|
u = {
|
|
31470
|
-
as:
|
|
31470
|
+
as: Z(o, { forAs: !0 }),
|
|
31471
31471
|
field: a,
|
|
31472
31472
|
timeUnit: l
|
|
31473
31473
|
};
|
|
@@ -32141,7 +32141,7 @@ function wL(e, t, n, { reactiveGeom: r } = {}) {
|
|
|
32141
32141
|
if (Mt(f)) {
|
|
32142
32142
|
const y = f === "x" ? "x2" : "y2", _ = ui(e[y]);
|
|
32143
32143
|
if (Jt(h.bin) && _) {
|
|
32144
|
-
const b =
|
|
32144
|
+
const b = Z(h, { expr: s }), v = Z(_, { expr: s }), { format: x, formatType: E } = Fu(h);
|
|
32145
32145
|
m = qd(b, v, x, E, i), o.add(y);
|
|
32146
32146
|
}
|
|
32147
32147
|
}
|
|
@@ -32631,7 +32631,7 @@ function Fhe({ fieldDef: e, fieldDef2: t, channel: n, model: r }) {
|
|
|
32631
32631
|
return {
|
|
32632
32632
|
[y]: A,
|
|
32633
32633
|
[m]: {
|
|
32634
|
-
signal: `scale("${l}", ${
|
|
32634
|
+
signal: `scale("${l}", ${Z(e, { expr: "datum" })} + ${e.bin.step})`,
|
|
32635
32635
|
offset: E
|
|
32636
32636
|
}
|
|
32637
32637
|
};
|
|
@@ -33455,7 +33455,7 @@ class Lu extends Je {
|
|
|
33455
33455
|
}
|
|
33456
33456
|
}
|
|
33457
33457
|
function Iu(e, t, n) {
|
|
33458
|
-
return
|
|
33458
|
+
return Z(e, { prefix: t, suffix: "sort_index", ...n });
|
|
33459
33459
|
}
|
|
33460
33460
|
function V0(e, t) {
|
|
33461
33461
|
return Ie(["top", "bottom"], t) ? "column" : Ie(["left", "right"], t) || e === "row" ? "row" : "column";
|
|
@@ -33516,13 +33516,13 @@ function ipe(e, t) {
|
|
|
33516
33516
|
function ope(e, t) {
|
|
33517
33517
|
const { sort: n } = e;
|
|
33518
33518
|
return $o(n) ? {
|
|
33519
|
-
field:
|
|
33519
|
+
field: Z(n, { expr: "datum" }),
|
|
33520
33520
|
order: n.order ?? "ascending"
|
|
33521
33521
|
} : B(n) ? {
|
|
33522
33522
|
field: Iu(e, t, { expr: "datum" }),
|
|
33523
33523
|
order: "ascending"
|
|
33524
33524
|
} : {
|
|
33525
|
-
field:
|
|
33525
|
+
field: Z(e, { expr: "datum" }),
|
|
33526
33526
|
order: n ?? "ascending"
|
|
33527
33527
|
};
|
|
33528
33528
|
}
|
|
@@ -33536,7 +33536,7 @@ function av(e, t, n) {
|
|
|
33536
33536
|
}).signal, c = V0(t, a);
|
|
33537
33537
|
return {
|
|
33538
33538
|
text: {
|
|
33539
|
-
signal: l ? Wa(Wa(l, "datum.label", u), "datum.value",
|
|
33539
|
+
signal: l ? Wa(Wa(l, "datum.label", u), "datum.value", Z(e, { expr: "parent" })) : u
|
|
33540
33540
|
},
|
|
33541
33541
|
...t === "row" ? { orient: "left" } : {},
|
|
33542
33542
|
style: "guide-label",
|
|
@@ -34050,9 +34050,9 @@ function Mpe(e, t) {
|
|
|
34050
34050
|
}
|
|
34051
34051
|
function Tpe(e, t, n, r) {
|
|
34052
34052
|
if (Vd(t, n)) {
|
|
34053
|
-
const i = ft(e) ? e.axis(n) ?? e.legend(n) ?? {} : {}, o =
|
|
34053
|
+
const i = ft(e) ? e.axis(n) ?? e.legend(n) ?? {} : {}, o = Z(t, { expr: "datum" }), s = Z(t, { expr: "datum", binSuffix: "end" });
|
|
34054
34054
|
return {
|
|
34055
|
-
formulaAs:
|
|
34055
|
+
formulaAs: Z(t, { binSuffix: "range", forAs: !0 }),
|
|
34056
34056
|
formula: qd(o, s, i.format, i.formatType, r)
|
|
34057
34057
|
};
|
|
34058
34058
|
}
|
|
@@ -34076,7 +34076,7 @@ function Fpe(e) {
|
|
|
34076
34076
|
}
|
|
34077
34077
|
function tM(e, t, n) {
|
|
34078
34078
|
let r, i;
|
|
34079
|
-
Fpe(e) ? r = Q(e.as) ? [e.as, `${e.as}_end`] : [e.as[0], e.as[1]] : r = [
|
|
34079
|
+
Fpe(e) ? r = Q(e.as) ? [e.as, `${e.as}_end`] : [e.as[0], e.as[1]] : r = [Z(e, { forAs: !0 }), Z(e, { binSuffix: "end", forAs: !0 })];
|
|
34080
34080
|
const o = { ...I0(t, void 0) }, s = i7(o, e.field), { signal: a, extentSignal: l } = Npe(n, s);
|
|
34081
34081
|
if (S0(o.extent)) {
|
|
34082
34082
|
const c = o.extent;
|
|
@@ -34164,7 +34164,7 @@ class Ii extends Je {
|
|
|
34164
34164
|
for (let u = 0; u < 2; u++)
|
|
34165
34165
|
n.push({
|
|
34166
34166
|
type: "formula",
|
|
34167
|
-
expr:
|
|
34167
|
+
expr: Z({ field: r[u] }, { expr: "datum" }),
|
|
34168
34168
|
as: l[u]
|
|
34169
34169
|
});
|
|
34170
34170
|
return t.formula && n.push({
|
|
@@ -34178,14 +34178,14 @@ class Ii extends Je {
|
|
|
34178
34178
|
function Dpe(e, t, n, r) {
|
|
34179
34179
|
const i = ft(r) ? r.encoding[ro(t)] : void 0;
|
|
34180
34180
|
if (Pn(n) && ft(r) && m9(n, i, r.markDef, r.config)) {
|
|
34181
|
-
e.add(
|
|
34181
|
+
e.add(Z(n, {})), e.add(Z(n, { suffix: "end" }));
|
|
34182
34182
|
const { mark: o, markDef: s, config: a } = r, l = Ts({ fieldDef: n, markDef: s, config: a });
|
|
34183
|
-
Jf(o) && l !== 0.5 && Mt(t) && (e.add(
|
|
34183
|
+
Jf(o) && l !== 0.5 && Mt(t) && (e.add(Z(n, { suffix: W0 })), e.add(Z(n, { suffix: H0 }))), n.bin && Vd(n, t) && e.add(Z(n, { binSuffix: "range" }));
|
|
34184
34184
|
} else if (h8(t)) {
|
|
34185
34185
|
const o = d8(t);
|
|
34186
34186
|
e.add(r.getName(o));
|
|
34187
34187
|
} else
|
|
34188
|
-
e.add(
|
|
34188
|
+
e.add(Z(n));
|
|
34189
34189
|
return bl(n) && Tce(n.scale?.range) && e.add(n.scale.range.field), e;
|
|
34190
34190
|
}
|
|
34191
34191
|
function Rpe(e, t) {
|
|
@@ -34221,14 +34221,14 @@ class ri extends Je {
|
|
|
34221
34221
|
const { aggregate: l, field: u } = s;
|
|
34222
34222
|
if (l)
|
|
34223
34223
|
if (l === "count")
|
|
34224
|
-
i["*"] ??= {}, i["*"].count = /* @__PURE__ */ new Set([
|
|
34224
|
+
i["*"] ??= {}, i["*"].count = /* @__PURE__ */ new Set([Z(s, { forAs: !0 })]);
|
|
34225
34225
|
else {
|
|
34226
34226
|
if (Do(l) || Hs(l)) {
|
|
34227
34227
|
const c = Do(l) ? "argmin" : "argmax", f = l[c];
|
|
34228
|
-
i[f] ??= {}, i[f][c] = /* @__PURE__ */ new Set([
|
|
34228
|
+
i[f] ??= {}, i[f][c] = /* @__PURE__ */ new Set([Z({ op: c, field: f }, { forAs: !0 })]);
|
|
34229
34229
|
} else
|
|
34230
|
-
i[u] ??= {}, i[u][l] = /* @__PURE__ */ new Set([
|
|
34231
|
-
io(a) && n.scaleDomain(a) === "unaggregated" && (i[u] ??= {}, i[u].min = /* @__PURE__ */ new Set([
|
|
34230
|
+
i[u] ??= {}, i[u][l] = /* @__PURE__ */ new Set([Z(s, { forAs: !0 })]);
|
|
34231
|
+
io(a) && n.scaleDomain(a) === "unaggregated" && (i[u] ??= {}, i[u].min = /* @__PURE__ */ new Set([Z({ field: u, aggregate: "min" }, { forAs: !0 })]), i[u].max = /* @__PURE__ */ new Set([Z({ field: u, aggregate: "max" }, { forAs: !0 })]));
|
|
34232
34232
|
}
|
|
34233
34233
|
else
|
|
34234
34234
|
Dpe(o, a, s, n);
|
|
@@ -34238,7 +34238,7 @@ class ri extends Je {
|
|
|
34238
34238
|
const r = /* @__PURE__ */ new Set(), i = {};
|
|
34239
34239
|
for (const o of n.aggregate) {
|
|
34240
34240
|
const { op: s, field: a, as: l } = o;
|
|
34241
|
-
s && (s === "count" ? (i["*"] ??= {}, i["*"].count = /* @__PURE__ */ new Set([l ||
|
|
34241
|
+
s && (s === "count" ? (i["*"] ??= {}, i["*"].count = /* @__PURE__ */ new Set([l || Z(o, { forAs: !0 })])) : (i[a] ??= {}, i[a][s] ??= /* @__PURE__ */ new Set(), i[a][s].add(l || Z(o, { forAs: !0 }))));
|
|
34242
34242
|
}
|
|
34243
34243
|
for (const o of n.groupby ?? [])
|
|
34244
34244
|
r.add(o);
|
|
@@ -34301,7 +34301,7 @@ class uc extends Je {
|
|
|
34301
34301
|
const { bin: a, sort: l } = s;
|
|
34302
34302
|
this[o] = {
|
|
34303
34303
|
name: n.getName(`${o}_domain`),
|
|
34304
|
-
fields: [
|
|
34304
|
+
fields: [Z(s), ...nt(a) ? [Z(s, { binSuffix: "end" })] : []],
|
|
34305
34305
|
...$o(l) ? { sortField: l } : B(l) ? { sortIndexField: Iu(s, o) } : {}
|
|
34306
34306
|
};
|
|
34307
34307
|
}
|
|
@@ -34355,7 +34355,7 @@ class uc extends Je {
|
|
|
34355
34355
|
const { sortField: l, sortIndexField: u } = this[t];
|
|
34356
34356
|
if (l) {
|
|
34357
34357
|
const { op: c = R0, field: f } = l;
|
|
34358
|
-
o.push(f), s.push(c), a.push(
|
|
34358
|
+
o.push(f), s.push(c), a.push(Z(l, { forAs: !0 }));
|
|
34359
34359
|
} else u && (o.push(u), s.push("max"), a.push(u));
|
|
34360
34360
|
return {
|
|
34361
34361
|
name: this[t].name,
|
|
@@ -34923,7 +34923,7 @@ class xl extends Je {
|
|
|
34923
34923
|
return new Set(this.transform.joinaggregate.map(this.getDefaultName));
|
|
34924
34924
|
}
|
|
34925
34925
|
getDefaultName(t) {
|
|
34926
|
-
return t.as ??
|
|
34926
|
+
return t.as ?? Z(t);
|
|
34927
34927
|
}
|
|
34928
34928
|
hash() {
|
|
34929
34929
|
return `JoinAggregateTransform ${$e(this.transform)}`;
|
|
@@ -34984,7 +34984,7 @@ class zu extends Je {
|
|
|
34984
34984
|
*/
|
|
34985
34985
|
assemble() {
|
|
34986
34986
|
const t = q(this.filter).reduce((n, r) => {
|
|
34987
|
-
const i = this.filter[r], o =
|
|
34987
|
+
const i = this.filter[r], o = Z(i, { expr: "datum" });
|
|
34988
34988
|
return i !== null && (i.type === "temporal" ? n.push(`(isDate(${o}) || (${uv(o)}))`) : i.type === "quantitative" && n.push(uv(o))), n;
|
|
34989
34989
|
}, []);
|
|
34990
34990
|
return t.length > 0 ? {
|
|
@@ -34998,7 +34998,7 @@ function uv(e) {
|
|
|
34998
34998
|
}
|
|
34999
34999
|
function Kpe(e) {
|
|
35000
35000
|
return e.stack.stackBy.reduce((t, n) => {
|
|
35001
|
-
const r = n.fieldDef, i =
|
|
35001
|
+
const r = n.fieldDef, i = Z(r);
|
|
35002
35002
|
return i && t.push(i), t;
|
|
35003
35003
|
}, []);
|
|
35004
35004
|
}
|
|
@@ -35080,11 +35080,11 @@ class Mo extends Je {
|
|
|
35080
35080
|
}
|
|
35081
35081
|
getGroupbyFields() {
|
|
35082
35082
|
const { dimensionFieldDefs: t, impute: n, groupby: r } = this._stack;
|
|
35083
|
-
return t.length > 0 ? t.map((i) => i.bin ? n ? [
|
|
35083
|
+
return t.length > 0 ? t.map((i) => i.bin ? n ? [Z(i, { binSuffix: "mid" })] : [
|
|
35084
35084
|
// For binned group by field without impute, we need both bin (start) and bin_end
|
|
35085
|
-
|
|
35086
|
-
|
|
35087
|
-
] : [
|
|
35085
|
+
Z(i, {}),
|
|
35086
|
+
Z(i, { binSuffix: "end" })
|
|
35087
|
+
] : [Z(i)]).flat() : r ?? [];
|
|
35088
35088
|
}
|
|
35089
35089
|
assemble() {
|
|
35090
35090
|
const t = [], { facetby: n, dimensionFieldDefs: r, stackField: i, stackby: o, sort: s, offset: a, impute: l, as: u } = this._stack;
|
|
@@ -35092,18 +35092,18 @@ class Mo extends Je {
|
|
|
35092
35092
|
for (const c of r) {
|
|
35093
35093
|
const { bandPosition: f = 0.5, bin: d } = c;
|
|
35094
35094
|
if (d) {
|
|
35095
|
-
const h =
|
|
35095
|
+
const h = Z(c, { expr: "datum" }), p = Z(c, { expr: "datum", binSuffix: "end" });
|
|
35096
35096
|
t.push({
|
|
35097
35097
|
type: "formula",
|
|
35098
35098
|
expr: `${uv(h)} ? ${f}*${h}+${1 - f}*${p} : ${h}`,
|
|
35099
|
-
as:
|
|
35099
|
+
as: Z(c, { binSuffix: "mid", forAs: !0 })
|
|
35100
35100
|
});
|
|
35101
35101
|
}
|
|
35102
35102
|
t.push({
|
|
35103
35103
|
type: "impute",
|
|
35104
35104
|
field: i,
|
|
35105
35105
|
groupby: [...o, ...n],
|
|
35106
|
-
key:
|
|
35106
|
+
key: Z(c, { binSuffix: "mid" }),
|
|
35107
35107
|
method: "value",
|
|
35108
35108
|
value: 0
|
|
35109
35109
|
});
|
|
@@ -35137,7 +35137,7 @@ class cc extends Je {
|
|
|
35137
35137
|
return new Set(this.transform.window.map(this.getDefaultName));
|
|
35138
35138
|
}
|
|
35139
35139
|
getDefaultName(t) {
|
|
35140
|
-
return t.as ??
|
|
35140
|
+
return t.as ?? Z(t);
|
|
35141
35141
|
}
|
|
35142
35142
|
hash() {
|
|
35143
35143
|
return `WindowTransform ${$e(this.transform)}`;
|
|
@@ -35359,11 +35359,11 @@ function Xo(e, t, n, r) {
|
|
|
35359
35359
|
return rr([
|
|
35360
35360
|
{
|
|
35361
35361
|
data: n.requestDataName(d),
|
|
35362
|
-
field:
|
|
35362
|
+
field: Z({ field: g, aggregate: "min" })
|
|
35363
35363
|
},
|
|
35364
35364
|
{
|
|
35365
35365
|
data: n.requestDataName(d),
|
|
35366
|
-
field:
|
|
35366
|
+
field: Z({ field: g, aggregate: "max" })
|
|
35367
35367
|
}
|
|
35368
35368
|
]);
|
|
35369
35369
|
} else if (nt(p.bin)) {
|
|
@@ -35463,7 +35463,7 @@ function sge(e, t, n) {
|
|
|
35463
35463
|
const { encoding: a, order: l } = i, u = e.fieldDef(a), { aggregate: c, field: f } = u, d = o && !s.has(f);
|
|
35464
35464
|
if (Do(c) || Hs(c))
|
|
35465
35465
|
return Ty({
|
|
35466
|
-
field:
|
|
35466
|
+
field: Z(u),
|
|
35467
35467
|
order: l
|
|
35468
35468
|
}, d);
|
|
35469
35469
|
if (FE(c) || !c)
|
|
@@ -36610,7 +36610,7 @@ class PC {
|
|
|
36610
36610
|
if (Et(o) && ml(s)) {
|
|
36611
36611
|
const a = i.get("name"), l = el(this, r), u = LC(l);
|
|
36612
36612
|
if (u) {
|
|
36613
|
-
const c =
|
|
36613
|
+
const c = Z({ aggregate: "distinct", field: u }, { expr: "datum" });
|
|
36614
36614
|
return {
|
|
36615
36615
|
signal: YL(a, i, c)
|
|
36616
36616
|
};
|
|
@@ -36698,7 +36698,7 @@ class w7 extends PC {
|
|
|
36698
36698
|
vgField(t, n = {}) {
|
|
36699
36699
|
const r = this.fieldDef(t);
|
|
36700
36700
|
if (r)
|
|
36701
|
-
return
|
|
36701
|
+
return Z(r, n);
|
|
36702
36702
|
}
|
|
36703
36703
|
reduceFieldDef(t, n) {
|
|
36704
36704
|
return $fe(this.getMapping(), (r, i, o) => {
|
|
@@ -37395,7 +37395,7 @@ function nme(e, t) {
|
|
|
37395
37395
|
}
|
|
37396
37396
|
}
|
|
37397
37397
|
function gv(e, t, n) {
|
|
37398
|
-
return
|
|
37398
|
+
return Z(t, { suffix: `by_${Z(e)}`, ...n });
|
|
37399
37399
|
}
|
|
37400
37400
|
class $f extends w7 {
|
|
37401
37401
|
facet;
|
|
@@ -37501,7 +37501,7 @@ class $f extends w7 {
|
|
|
37501
37501
|
update: {
|
|
37502
37502
|
// TODO(https://github.com/vega/vega-lite/issues/2759):
|
|
37503
37503
|
// Correct the signal for facet of concat of facet_column
|
|
37504
|
-
columns: { field:
|
|
37504
|
+
columns: { field: Z(this.facet.column, { prefix: "distinct" }) }
|
|
37505
37505
|
}
|
|
37506
37506
|
}
|
|
37507
37507
|
} : {},
|
|
@@ -37515,7 +37515,7 @@ class $f extends w7 {
|
|
|
37515
37515
|
const t = [], n = [], r = [];
|
|
37516
37516
|
if (this.child instanceof $f) {
|
|
37517
37517
|
if (this.child.channelHasField("column")) {
|
|
37518
|
-
const i =
|
|
37518
|
+
const i = Z(this.child.facet.column);
|
|
37519
37519
|
t.push(i), n.push("distinct"), r.push(`distinct_${i}`);
|
|
37520
37520
|
}
|
|
37521
37521
|
} else
|
|
@@ -37536,9 +37536,9 @@ class $f extends w7 {
|
|
|
37536
37536
|
for (const c of Ar) {
|
|
37537
37537
|
const f = this.facet[c];
|
|
37538
37538
|
if (f) {
|
|
37539
|
-
l.push(
|
|
37539
|
+
l.push(Z(f));
|
|
37540
37540
|
const { bin: d, sort: h } = f;
|
|
37541
|
-
if (nt(d) && l.push(
|
|
37541
|
+
if (nt(d) && l.push(Z(f, { binSuffix: "end" })), $o(h)) {
|
|
37542
37542
|
const { field: p, op: g = R0 } = h, m = gv(f, h);
|
|
37543
37543
|
r && i ? (o.push(m), s.push("max"), a.push(m)) : (o.push(p), s.push(g), a.push(m));
|
|
37544
37544
|
} else if (B(h)) {
|
|
@@ -37562,7 +37562,7 @@ class $f extends w7 {
|
|
|
37562
37562
|
}
|
|
37563
37563
|
facetSortFields(t) {
|
|
37564
37564
|
const { facet: n } = this, r = n[t];
|
|
37565
|
-
return r ? $o(r.sort) ? [gv(r, r.sort, { expr: "datum" })] : B(r.sort) ? [Iu(r, t, { expr: "datum" })] : [
|
|
37565
|
+
return r ? $o(r.sort) ? [gv(r, r.sort, { expr: "datum" })] : B(r.sort) ? [Iu(r, t, { expr: "datum" })] : [Z(r, { expr: "datum" })] : [];
|
|
37566
37566
|
}
|
|
37567
37567
|
facetSortOrder(t) {
|
|
37568
37568
|
const { facet: n } = this, r = n[t];
|
|
@@ -37626,7 +37626,7 @@ function rme(e, t) {
|
|
|
37626
37626
|
as: gv(o, o.sort, { forAs: !0 })
|
|
37627
37627
|
}
|
|
37628
37628
|
],
|
|
37629
|
-
groupby: [
|
|
37629
|
+
groupby: [Z(o)]
|
|
37630
37630
|
});
|
|
37631
37631
|
}
|
|
37632
37632
|
return i;
|
|
@@ -38170,7 +38170,7 @@ const bme = {
|
|
|
38170
38170
|
type: "geoshape",
|
|
38171
38171
|
projection: e.projectionName(),
|
|
38172
38172
|
// as: 'shape',
|
|
38173
|
-
...n && V(n) && n.type === sc ? { field:
|
|
38173
|
+
...n && V(n) && n.type === sc ? { field: Z(n, { expr: "datum" }) } : {}
|
|
38174
38174
|
}];
|
|
38175
38175
|
}
|
|
38176
38176
|
}, Eme = {
|
|
@@ -38450,8 +38450,8 @@ function Pme(e) {
|
|
|
38450
38450
|
const a = [];
|
|
38451
38451
|
if (e.stack.groupbyChannels?.length > 0)
|
|
38452
38452
|
for (const u of e.stack.groupbyChannels) {
|
|
38453
|
-
const c = e.fieldDef(u), f =
|
|
38454
|
-
f && a.push(f), (c?.bin || c?.timeUnit) && a.push(
|
|
38453
|
+
const c = e.fieldDef(u), f = Z(c);
|
|
38454
|
+
f && a.push(f), (c?.bin || c?.timeUnit) && a.push(Z(c, { binSuffix: "end" }));
|
|
38455
38455
|
}
|
|
38456
38456
|
return o = [
|
|
38457
38457
|
"stroke",
|
|
@@ -42389,11 +42389,11 @@ function cbe() {
|
|
|
42389
42389
|
}
|
|
42390
42390
|
) });
|
|
42391
42391
|
}
|
|
42392
|
-
const fbe = "
|
|
42392
|
+
const fbe = "_chatbot_footer_1juw0_1", dbe = "_chatbot_footer__content_1juw0_4", hbe = "_chatbot_textarea_1juw0_22", pbe = "_chatbot_submit_button_1juw0_43", gbe = "_chatbot_submit_button__disabled_1juw0_68", mbe = "_attachment_buttons_1juw0_72", ybe = "_send_zone_1juw0_78", _be = "_attachment_menu_container_1juw0_84", bbe = "_attachment_menu_1juw0_84", vbe = "_attachment_menu_item_1juw0_102", xbe = "_attachment_button_1juw0_72", wbe = "_file_input_hidden_1juw0_156", Ebe = "_file_preview_container_1juw0_160", Cbe = "_file_preview_grid_1juw0_169", kbe = "_file_preview_item_1juw0_175", Sbe = "_file_preview_image_area_1juw0_186", $be = "_file_preview_image_1juw0_186", Abe = "_file_remove_button_1juw0_207", Mbe = "_file_upload_overlay_1juw0_226", Tbe = "_file_upload_spinner_1juw0_243", Nbe = "_file_preview_item__error_1juw0_252", Fbe = "_file_error_overlay_1juw0_256", Dbe = "_file_error_icon_1juw0_265", Rbe = "_image_modal_1juw0_271", Obe = "_image_modal_content_1juw0_283", Lbe = "_image_modal_image_1juw0_290", Ibe = "_image_modal_close_button_1juw0_299", Pbe = "_document_preview_grid_1juw0_326", zbe = "_document_preview_item_1juw0_337", Bbe = "_document_preview_icon_wrapper_1juw0_352", Ube = "_document_preview_icon_1juw0_352", jbe = "_document_preview_name_1juw0_365", ge = {
|
|
42393
42393
|
chatbot_footer: fbe,
|
|
42394
42394
|
chatbot_footer__content: dbe,
|
|
42395
42395
|
chatbot_textarea: hbe,
|
|
42396
|
-
"chatbot_textarea--focused": "_chatbot_textarea--
|
|
42396
|
+
"chatbot_textarea--focused": "_chatbot_textarea--focused_1juw0_39",
|
|
42397
42397
|
chatbot_submit_button: pbe,
|
|
42398
42398
|
chatbot_submit_button__disabled: gbe,
|
|
42399
42399
|
attachment_buttons: mbe,
|
|
@@ -42630,10 +42630,10 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42630
42630
|
pendingInputValue: d,
|
|
42631
42631
|
setPendingInputValue: h
|
|
42632
42632
|
} = Rt(), { data: p } = Ev(), { chatbot: g } = yt(), m = be(() => s !== void 0 ? s : p.annotations?.embedConfig?.enableUpload ?? !1, [s, p.annotations?.embedConfig?.enableUpload]), y = be(() => a !== void 0 ? a : p.annotations?.embedConfig?.enableExport ?? !1, [a, p.annotations?.embedConfig?.enableExport]), _ = be(() => l !== void 0 ? l : p.annotations?.embedConfig?.enableDocumentUpload ?? !1, [l, p.annotations?.embedConfig?.enableDocumentUpload]), b = be(() => p.annotations?.embedConfig?.title || c || "Bot", [p.annotations?.embedConfig?.title, c]), [v, x] = _e(""), [E, w] = _e(!1), [k, $] = _e([]), [A, N] = _e(null), [F, D] = _e([]), [T, S] = _e(!1), M = lt(null), R = lt(null), I = lt(null), O = be(
|
|
42633
|
-
() => k.some((
|
|
42633
|
+
() => k.some((K) => K.uploadStatus === "uploading"),
|
|
42634
42634
|
[k]
|
|
42635
42635
|
), H = be(
|
|
42636
|
-
() => F.some((
|
|
42636
|
+
() => F.some((K) => K.uploadStatus === "uploading"),
|
|
42637
42637
|
[F]
|
|
42638
42638
|
), se = !t, ie = be(
|
|
42639
42639
|
() => se || n || O || H || !v.trim() && k.length === 0 && F.length === 0,
|
|
@@ -42669,20 +42669,20 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42669
42669
|
}),
|
|
42670
42670
|
[g]
|
|
42671
42671
|
), Ct = be(() => {
|
|
42672
|
-
let
|
|
42673
|
-
return y &&
|
|
42672
|
+
let K = 0;
|
|
42673
|
+
return y && K++, m && K++, _ && K++, K;
|
|
42674
42674
|
}, [y, m, _]) >= 3;
|
|
42675
42675
|
Le(() => {
|
|
42676
|
-
const
|
|
42676
|
+
const K = (ke) => {
|
|
42677
42677
|
I.current && !I.current.contains(ke.target) && S(!1);
|
|
42678
42678
|
};
|
|
42679
|
-
return T && document.addEventListener("mousedown",
|
|
42680
|
-
document.removeEventListener("mousedown",
|
|
42679
|
+
return T && document.addEventListener("mousedown", K), () => {
|
|
42680
|
+
document.removeEventListener("mousedown", K);
|
|
42681
42681
|
};
|
|
42682
42682
|
}, [T]);
|
|
42683
|
-
const te = re((
|
|
42684
|
-
const ke =
|
|
42685
|
-
ke.style.height = "
|
|
42683
|
+
const te = re((K) => {
|
|
42684
|
+
const ke = K.target, Ae = ke.value;
|
|
42685
|
+
ke.style.height = "40px", Ae && (ke.style.height = `${ke.scrollHeight}px`), x(K.target.value);
|
|
42686
42686
|
}, []), [ye, we] = _e(!1), j = re(() => {
|
|
42687
42687
|
we(!0), setTimeout(() => {
|
|
42688
42688
|
f("smooth");
|
|
@@ -42691,30 +42691,30 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42691
42691
|
we(!1);
|
|
42692
42692
|
}, []), Fe = re(() => {
|
|
42693
42693
|
if (!E && !n) {
|
|
42694
|
-
const
|
|
42694
|
+
const K = v.trim(), ke = k.filter(
|
|
42695
42695
|
(Te) => Te.uploadStatus === "success" && Te.blobId !== void 0
|
|
42696
42696
|
), Ae = F.filter(
|
|
42697
42697
|
(Te) => Te.uploadStatus === "success" && Te.blobId !== void 0
|
|
42698
42698
|
), De = [...ke.map((Te) => Te.blobId), ...Ae.map((Te) => Te.blobId)], Nt = ke.map((Te) => Te.previewUrl);
|
|
42699
|
-
if (
|
|
42699
|
+
if (K || De.length > 0 || Nt.length > 0 || Ae.length > 0) {
|
|
42700
42700
|
const Te = {
|
|
42701
|
-
text:
|
|
42701
|
+
text: K || ""
|
|
42702
42702
|
};
|
|
42703
42703
|
De.length > 0 && (Te.blobIds = De), Nt.length > 0 && (Te.filePreviewUrls = Nt), Ae.length > 0 && (Te.documentNames = Ae.map((Vs) => Vs.file.name)), t?.(Te);
|
|
42704
42704
|
}
|
|
42705
|
-
x(""), $([]), D([]), M.current && (M.current.style.height = "
|
|
42705
|
+
x(""), $([]), D([]), M.current && (M.current.style.height = "40px");
|
|
42706
42706
|
}
|
|
42707
42707
|
}, [E, n, t, v, k, F]), _t = re(
|
|
42708
|
-
(
|
|
42709
|
-
|
|
42708
|
+
(K) => {
|
|
42709
|
+
K.key === "Enter" && !K.shiftKey && !E && !n && (v.trim() || k.length > 0 || F.length > 0) && (K.preventDefault(), Fe());
|
|
42710
42710
|
},
|
|
42711
42711
|
[E, n, v, k.length, F.length, Fe]
|
|
42712
42712
|
), kt = re(
|
|
42713
|
-
async (
|
|
42713
|
+
async (K, ke) => {
|
|
42714
42714
|
if (!i?.uploadFile || !o) {
|
|
42715
42715
|
$(
|
|
42716
42716
|
(Ae) => Ae.map(
|
|
42717
|
-
(De) => De.id ===
|
|
42717
|
+
(De) => De.id === K ? { ...De, uploadStatus: "error", error: "上傳服務不可用" } : De
|
|
42718
42718
|
)
|
|
42719
42719
|
);
|
|
42720
42720
|
return;
|
|
@@ -42723,21 +42723,21 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42723
42723
|
const De = (await i.uploadFile(ke, o)).data?.[0];
|
|
42724
42724
|
De?.blobId ? $(
|
|
42725
42725
|
(Nt) => Nt.map(
|
|
42726
|
-
(Te) => Te.id ===
|
|
42726
|
+
(Te) => Te.id === K ? { ...Te, uploadStatus: "success", blobId: De.blobId } : Te
|
|
42727
42727
|
)
|
|
42728
42728
|
) : $(
|
|
42729
|
-
(Nt) => Nt.map((Te) => Te.id ===
|
|
42729
|
+
(Nt) => Nt.map((Te) => Te.id === K ? { ...Te, uploadStatus: "error", error: "上傳失敗" } : Te)
|
|
42730
42730
|
);
|
|
42731
42731
|
} catch {
|
|
42732
42732
|
$(
|
|
42733
|
-
(Ae) => Ae.map((De) => De.id ===
|
|
42733
|
+
(Ae) => Ae.map((De) => De.id === K ? { ...De, uploadStatus: "error", error: "上傳失敗" } : De)
|
|
42734
42734
|
);
|
|
42735
42735
|
}
|
|
42736
42736
|
},
|
|
42737
42737
|
[i, o]
|
|
42738
42738
|
), jt = re(
|
|
42739
|
-
(
|
|
42740
|
-
const { validFiles: ke, errors: Ae } = Xbe(
|
|
42739
|
+
(K) => {
|
|
42740
|
+
const { validFiles: ke, errors: Ae } = Xbe(K);
|
|
42741
42741
|
if (Ae.length > 0 && alert(`檔案驗證錯誤:
|
|
42742
42742
|
` + Ae.join(`
|
|
42743
42743
|
`)), ke.length > 0) {
|
|
@@ -42763,9 +42763,9 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42763
42763
|
},
|
|
42764
42764
|
[k.length, kt]
|
|
42765
42765
|
), wl = re(
|
|
42766
|
-
(
|
|
42767
|
-
const ke =
|
|
42768
|
-
ke && ke.length > 0 && jt(Array.from(ke)),
|
|
42766
|
+
(K) => {
|
|
42767
|
+
const ke = K.target.files;
|
|
42768
|
+
ke && ke.length > 0 && jt(Array.from(ke)), K.target.value = "";
|
|
42769
42769
|
},
|
|
42770
42770
|
[jt]
|
|
42771
42771
|
), hc = re(() => {
|
|
@@ -42774,14 +42774,14 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42774
42774
|
return;
|
|
42775
42775
|
}
|
|
42776
42776
|
R.current?.click();
|
|
42777
|
-
}, [k.length]), En = re((
|
|
42778
|
-
$((ke) => ke.filter((Ae) => Ae.id !==
|
|
42777
|
+
}, [k.length]), En = re((K) => {
|
|
42778
|
+
$((ke) => ke.filter((Ae) => Ae.id !== K));
|
|
42779
42779
|
}, []), pc = re(
|
|
42780
|
-
async (
|
|
42780
|
+
async (K, ke) => {
|
|
42781
42781
|
if (!i?.uploadFile || !o) {
|
|
42782
42782
|
D(
|
|
42783
42783
|
(Ae) => Ae.map(
|
|
42784
|
-
(De) => De.id ===
|
|
42784
|
+
(De) => De.id === K ? { ...De, uploadStatus: "error", error: "上傳服務不可用" } : De
|
|
42785
42785
|
)
|
|
42786
42786
|
);
|
|
42787
42787
|
return;
|
|
@@ -42790,21 +42790,21 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42790
42790
|
const De = (await i.uploadFile(ke, o)).data?.[0];
|
|
42791
42791
|
De?.blobId ? D(
|
|
42792
42792
|
(Nt) => Nt.map(
|
|
42793
|
-
(Te) => Te.id ===
|
|
42793
|
+
(Te) => Te.id === K ? { ...Te, uploadStatus: "success", blobId: De.blobId } : Te
|
|
42794
42794
|
)
|
|
42795
42795
|
) : D(
|
|
42796
|
-
(Nt) => Nt.map((Te) => Te.id ===
|
|
42796
|
+
(Nt) => Nt.map((Te) => Te.id === K ? { ...Te, uploadStatus: "error", error: "上傳失敗" } : Te)
|
|
42797
42797
|
);
|
|
42798
42798
|
} catch {
|
|
42799
42799
|
D(
|
|
42800
|
-
(Ae) => Ae.map((De) => De.id ===
|
|
42800
|
+
(Ae) => Ae.map((De) => De.id === K ? { ...De, uploadStatus: "error", error: "上傳失敗" } : De)
|
|
42801
42801
|
);
|
|
42802
42802
|
}
|
|
42803
42803
|
},
|
|
42804
42804
|
[i, o]
|
|
42805
42805
|
), gc = re(
|
|
42806
|
-
(
|
|
42807
|
-
const { validFiles: ke, errors: Ae } = Z7(
|
|
42806
|
+
(K) => {
|
|
42807
|
+
const { validFiles: ke, errors: Ae } = Z7(K);
|
|
42808
42808
|
if (Ae.length > 0 && alert(`檔案驗證錯誤:
|
|
42809
42809
|
` + Ae.join(`
|
|
42810
42810
|
`)), ke.length > 0) {
|
|
@@ -42826,15 +42826,15 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42826
42826
|
), { droppedFiles: l1, clearDroppedFiles: tk } = Cv();
|
|
42827
42827
|
Le(() => {
|
|
42828
42828
|
if (l1.length === 0) return;
|
|
42829
|
-
const
|
|
42829
|
+
const K = [], ke = [];
|
|
42830
42830
|
for (const Ae of l1)
|
|
42831
|
-
Ae.type.startsWith("image/") ?
|
|
42832
|
-
|
|
42831
|
+
Ae.type.startsWith("image/") ? K.push(Ae) : ke.push(Ae);
|
|
42832
|
+
K.length > 0 && m ? jt(K) : ke.length > 0 && _ ? gc(ke) : K.length > 0 && !m && _ && gc(K), tk();
|
|
42833
42833
|
}, [l1, tk, m, _, jt, gc]);
|
|
42834
42834
|
const J7 = re(
|
|
42835
|
-
(
|
|
42835
|
+
(K) => {
|
|
42836
42836
|
if (!m) return;
|
|
42837
|
-
const ke =
|
|
42837
|
+
const ke = K.clipboardData?.items;
|
|
42838
42838
|
if (!ke) return;
|
|
42839
42839
|
const Ae = [];
|
|
42840
42840
|
for (let De = 0; De < ke.length; De++)
|
|
@@ -42842,12 +42842,12 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42842
42842
|
const Nt = ke[De].getAsFile();
|
|
42843
42843
|
Nt && Ae.push(Nt);
|
|
42844
42844
|
}
|
|
42845
|
-
Ae.length > 0 && (
|
|
42845
|
+
Ae.length > 0 && (K.preventDefault(), jt(Ae));
|
|
42846
42846
|
},
|
|
42847
42847
|
[m, jt]
|
|
42848
42848
|
);
|
|
42849
42849
|
Le(() => {
|
|
42850
|
-
d !== null && (x(d), h(null), M.current && (M.current.style.height = "
|
|
42850
|
+
d !== null && (x(d), h(null), M.current && (M.current.style.height = "40px", M.current.style.height = `${M.current.scrollHeight}px`, M.current.focus()));
|
|
42851
42851
|
}, [d, h]);
|
|
42852
42852
|
const nk = re(async () => {
|
|
42853
42853
|
if (!u) {
|
|
@@ -42855,13 +42855,13 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42855
42855
|
return;
|
|
42856
42856
|
}
|
|
42857
42857
|
try {
|
|
42858
|
-
const { exportConversationToMarkdown:
|
|
42858
|
+
const { exportConversationToMarkdown: K, downloadMarkdown: ke } = await import("./export-conversation-OB-woSvk.js"), Ae = K(u, {
|
|
42859
42859
|
customChannelId: o,
|
|
42860
42860
|
botName: b
|
|
42861
42861
|
});
|
|
42862
42862
|
ke(Ae, { botName: b });
|
|
42863
|
-
} catch (
|
|
42864
|
-
console.error("下載對話紀錄失敗:",
|
|
42863
|
+
} catch (K) {
|
|
42864
|
+
console.error("下載對話紀錄失敗:", K), alert("下載失敗,請重試");
|
|
42865
42865
|
}
|
|
42866
42866
|
}, [u, o, b]);
|
|
42867
42867
|
return Le(() => {
|
|
@@ -42876,27 +42876,27 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42876
42876
|
className: ge.file_preview_container,
|
|
42877
42877
|
style: { maxWidth: ae.maxWidth },
|
|
42878
42878
|
"data-scrollable": "true",
|
|
42879
|
-
children: /* @__PURE__ */ C("div", { className: ge.file_preview_grid, children: k.map((
|
|
42879
|
+
children: /* @__PURE__ */ C("div", { className: ge.file_preview_grid, children: k.map((K) => /* @__PURE__ */ C(
|
|
42880
42880
|
"div",
|
|
42881
42881
|
{
|
|
42882
42882
|
className: Ee(
|
|
42883
42883
|
ge.file_preview_item,
|
|
42884
|
-
|
|
42884
|
+
K.uploadStatus === "error" && ge.file_preview_item__error
|
|
42885
42885
|
),
|
|
42886
42886
|
children: /* @__PURE__ */ U("div", { className: ge.file_preview_image_area, children: [
|
|
42887
42887
|
/* @__PURE__ */ C(
|
|
42888
42888
|
"img",
|
|
42889
42889
|
{
|
|
42890
|
-
src:
|
|
42891
|
-
alt:
|
|
42890
|
+
src: K.previewUrl,
|
|
42891
|
+
alt: K.file.name,
|
|
42892
42892
|
className: ge.file_preview_image,
|
|
42893
42893
|
onClick: () => {
|
|
42894
|
-
N({ url:
|
|
42894
|
+
N({ url: K.previewUrl, name: K.file.name });
|
|
42895
42895
|
}
|
|
42896
42896
|
}
|
|
42897
42897
|
),
|
|
42898
|
-
|
|
42899
|
-
|
|
42898
|
+
K.uploadStatus === "uploading" && /* @__PURE__ */ C("div", { className: ge.file_upload_overlay, children: /* @__PURE__ */ C("div", { className: ge.file_upload_spinner }) }),
|
|
42899
|
+
K.uploadStatus === "error" && /* @__PURE__ */ C("div", { className: ge.file_error_overlay, children: /* @__PURE__ */ U(
|
|
42900
42900
|
"svg",
|
|
42901
42901
|
{
|
|
42902
42902
|
className: ge.file_error_icon,
|
|
@@ -42917,7 +42917,7 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42917
42917
|
/* @__PURE__ */ C(
|
|
42918
42918
|
"button",
|
|
42919
42919
|
{
|
|
42920
|
-
onClick: () => En(
|
|
42920
|
+
onClick: () => En(K.id),
|
|
42921
42921
|
className: ge.file_remove_button,
|
|
42922
42922
|
"aria-label": "移除",
|
|
42923
42923
|
children: "×"
|
|
@@ -42925,7 +42925,7 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42925
42925
|
)
|
|
42926
42926
|
] })
|
|
42927
42927
|
},
|
|
42928
|
-
|
|
42928
|
+
K.id
|
|
42929
42929
|
)) })
|
|
42930
42930
|
}
|
|
42931
42931
|
),
|
|
@@ -42935,12 +42935,12 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42935
42935
|
className: ge.file_preview_container,
|
|
42936
42936
|
style: { maxWidth: ae.maxWidth },
|
|
42937
42937
|
"data-scrollable": "true",
|
|
42938
|
-
children: /* @__PURE__ */ C("div", { className: ge.document_preview_grid, children: F.map((
|
|
42938
|
+
children: /* @__PURE__ */ C("div", { className: ge.document_preview_grid, children: F.map((K) => /* @__PURE__ */ U(
|
|
42939
42939
|
"div",
|
|
42940
42940
|
{
|
|
42941
42941
|
className: Ee(
|
|
42942
42942
|
ge.document_preview_item,
|
|
42943
|
-
|
|
42943
|
+
K.uploadStatus === "error" && ge.file_preview_item__error
|
|
42944
42944
|
),
|
|
42945
42945
|
style: pe,
|
|
42946
42946
|
children: [
|
|
@@ -42967,9 +42967,9 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42967
42967
|
]
|
|
42968
42968
|
}
|
|
42969
42969
|
) }),
|
|
42970
|
-
/* @__PURE__ */ C("span", { className: ge.document_preview_name, style: rt, title:
|
|
42971
|
-
|
|
42972
|
-
|
|
42970
|
+
/* @__PURE__ */ C("span", { className: ge.document_preview_name, style: rt, title: K.file.name, children: K.file.name }),
|
|
42971
|
+
K.uploadStatus === "uploading" && /* @__PURE__ */ C("div", { className: ge.file_upload_overlay, children: /* @__PURE__ */ C("div", { className: ge.file_upload_spinner }) }),
|
|
42972
|
+
K.uploadStatus === "error" && /* @__PURE__ */ C("div", { className: ge.file_error_overlay, children: /* @__PURE__ */ U(
|
|
42973
42973
|
"svg",
|
|
42974
42974
|
{
|
|
42975
42975
|
className: ge.file_error_icon,
|
|
@@ -42990,7 +42990,7 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42990
42990
|
/* @__PURE__ */ C(
|
|
42991
42991
|
"button",
|
|
42992
42992
|
{
|
|
42993
|
-
onClick: () => D((ke) => ke.filter((Ae) => Ae.id !==
|
|
42993
|
+
onClick: () => D((ke) => ke.filter((Ae) => Ae.id !== K.id)),
|
|
42994
42994
|
className: ge.file_remove_button,
|
|
42995
42995
|
"aria-label": "移除",
|
|
42996
42996
|
children: "×"
|
|
@@ -42998,7 +42998,7 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
42998
42998
|
)
|
|
42999
42999
|
]
|
|
43000
43000
|
},
|
|
43001
|
-
|
|
43001
|
+
K.id
|
|
43002
43002
|
)) })
|
|
43003
43003
|
}
|
|
43004
43004
|
),
|
|
@@ -43037,11 +43037,11 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
43037
43037
|
className: ge.attachment_menu_item,
|
|
43038
43038
|
style: { color: g?.primaryComponent?.secondaryColor },
|
|
43039
43039
|
onClick: () => {
|
|
43040
|
-
const
|
|
43041
|
-
|
|
43040
|
+
const K = document.createElement("input");
|
|
43041
|
+
K.type = "file", K.multiple = !0, K.accept = [...X7, ...ek].join(","), K.onchange = (ke) => {
|
|
43042
43042
|
const Ae = ke.target.files;
|
|
43043
43043
|
Ae && Ae.length > 0 && gc(Ae);
|
|
43044
|
-
},
|
|
43044
|
+
}, K.click(), S(!1);
|
|
43045
43045
|
},
|
|
43046
43046
|
children: [
|
|
43047
43047
|
/* @__PURE__ */ C(QC, {}),
|
|
@@ -43105,7 +43105,7 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
43105
43105
|
Jbe,
|
|
43106
43106
|
{
|
|
43107
43107
|
currentCount: F.length,
|
|
43108
|
-
onDocumentsChange: (
|
|
43108
|
+
onDocumentsChange: (K) => gc(K),
|
|
43109
43109
|
className: ge.attachment_button,
|
|
43110
43110
|
style: g.footer?.attachmentButton?.style
|
|
43111
43111
|
}
|
|
@@ -43165,14 +43165,14 @@ function Qbe({ footerEndActions: e } = {}) {
|
|
|
43165
43165
|
src: A.url,
|
|
43166
43166
|
alt: A.name,
|
|
43167
43167
|
className: ge.image_modal_image,
|
|
43168
|
-
onClick: (
|
|
43168
|
+
onClick: (K) => K.stopPropagation()
|
|
43169
43169
|
}
|
|
43170
43170
|
) }),
|
|
43171
43171
|
/* @__PURE__ */ C(
|
|
43172
43172
|
"button",
|
|
43173
43173
|
{
|
|
43174
|
-
onClick: (
|
|
43175
|
-
|
|
43174
|
+
onClick: (K) => {
|
|
43175
|
+
K.stopPropagation(), A.url && URL.revokeObjectURL(A.url), N(null);
|
|
43176
43176
|
},
|
|
43177
43177
|
className: ge.image_modal_close_button,
|
|
43178
43178
|
"aria-label": "關閉預覽",
|