zignal-stencil-library 1.1.111 → 1.1.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/autocomplete-address_43.cjs.entry.js +81 -77
- package/dist/cjs/quick-message-app.cjs.entry.js +1 -1
- package/dist/collection/components/autocomplete-address/autocomplete-address.css +1 -1
- package/dist/collection/components/autocomplete-multiple-select/autocomplete-multiple-select.css +1 -1
- package/dist/collection/components/autocomplete-select/autocomplete-select.css +1 -1
- package/dist/collection/components/channel-box/channel-box.css +1 -1
- package/dist/collection/components/chat-app/chat-app.css +1 -1
- package/dist/collection/components/chat-app/chat-app.js +1 -1
- package/dist/collection/components/chat-app/chat-app.js.map +1 -1
- package/dist/collection/components/chat-header/chat-header.css +1 -1
- package/dist/collection/components/chat-input/chat-input.css +1 -1
- package/dist/collection/components/checkbox-list/checkbox-list.css +1 -1
- package/dist/collection/components/dialog-bill-editor/dialog-bill-editor.css +1 -1
- package/dist/collection/components/dialog-editor/dialog-editor.css +1 -1
- package/dist/collection/components/dialog-preview-media/dialog-preview-media.css +1 -1
- package/dist/collection/components/dialog-search/dialog-search.css +1 -1
- package/dist/collection/components/menu-chat-channel/menu-chat-channel.css +1 -1
- package/dist/collection/components/menu-chat-type/menu-chat-type.css +1 -1
- package/dist/collection/components/menu-list/menu-list.css +1 -1
- package/dist/collection/components/message-box/message-box.css +1 -1
- package/dist/collection/components/message-content/message-content.css +1 -1
- package/dist/collection/components/message-item/message-item.css +1 -1
- package/dist/collection/components/message-media/message-media.css +1 -1
- package/dist/collection/components/profile-history/profile-history.css +1 -1
- package/dist/collection/components/profile-history/profile-history.js +3 -3
- package/dist/collection/components/profile-history/profile-history.js.map +1 -1
- package/dist/collection/components/profile-info/profile-info.css +1 -1
- package/dist/collection/components/profile-info/profile-info.js +2 -3
- package/dist/collection/components/profile-info/profile-info.js.map +1 -1
- package/dist/collection/components/profile-info/user-info-section.js +15 -10
- package/dist/collection/components/profile-info/user-info-section.js.map +1 -1
- package/dist/collection/components/profile-media/profile-media.css +1 -1
- package/dist/collection/components/profile-media/profile-media.js +1 -1
- package/dist/collection/components/profile-tabs/profile-tabs.css +1 -1
- package/dist/collection/components/profile-tabs/profile-tabs.js +2 -2
- package/dist/collection/components/quick-message-add-template/quick-message-add-template.css +1 -1
- package/dist/collection/components/quick-message-add-template/quick-message-add-template.js +3 -3
- package/dist/collection/components/quick-message-add-template/quick-message-text-content.js +1 -1
- package/dist/collection/components/quick-message-app/quick-message-app.js +1 -1
- package/dist/collection/components/quick-message-file/quick-message-file.css +1 -1
- package/dist/collection/components/quick-message-file/quick-message-file.js +1 -1
- package/dist/collection/components/quick-message-image/quick-message-image.css +1 -1
- package/dist/collection/components/quick-message-image/quick-message-image.js +1 -1
- package/dist/collection/components/quick-message-modal/quick-message-modal.css +1 -1
- package/dist/collection/components/quick-message-modal/quick-message-modal.js +1 -1
- package/dist/collection/components/quick-message-template/quick-message-template.css +1 -1
- package/dist/collection/components/quick-message-template/quick-message-template.js +3 -3
- package/dist/collection/components/search-box/search-box.css +1 -1
- package/dist/collection/components/search-box/search-box.js +1 -1
- package/dist/collection/components/status-badge/status-badge.css +1 -1
- package/dist/collection/components/status-badge/status-badge.js +2 -2
- package/dist/collection/components/tag-list/tag-list.css +1 -1
- package/dist/collection/components/tag-list/tag-list.js +1 -1
- package/dist/collection/components/tag-or-status-item/tag-or-status-item.css +1 -1
- package/dist/collection/components/tag-or-status-item/tag-or-status-item.js +2 -2
- package/dist/collection/components/tag-popper/tag-popper.css +1 -1
- package/dist/collection/components/tag-popper/tag-popper.js +2 -2
- package/dist/collection/components/typography-clamp/typography-clamp.css +1 -1
- package/dist/collection/components/typography-clamp/typography-clamp.js +2 -2
- package/dist/collection/components/z-avatar/z-avatar.css +1 -1
- package/dist/collection/components/z-dialog/z-dialog.css +1 -1
- package/dist/components/autocomplete-address.js +1 -1
- package/dist/components/autocomplete-multiple-select.js +1 -1
- package/dist/components/autocomplete-select.js +1 -1
- package/dist/components/channel-box.js +1 -1
- package/dist/components/chat-app.js +40 -40
- package/dist/components/chat-app.js.map +1 -1
- package/dist/components/chat-header.js +1 -1
- package/dist/components/chat-input.js +1 -1
- package/dist/components/checkbox-list.js +1 -1
- package/dist/components/dialog-bill-editor.js +1 -1
- package/dist/components/dialog-editor.js +1 -1
- package/dist/components/dialog-preview-media.js +1 -1
- package/dist/components/dialog-search.js +1 -1
- package/dist/components/menu-chat-channel.js +1 -1
- package/dist/components/menu-chat-type.js +1 -1
- package/dist/components/menu-list.js +1 -1
- package/dist/components/message-box.js +1 -1
- package/dist/components/message-content.js +1 -1
- package/dist/components/message-item.js +1 -1
- package/dist/components/message-media.js +1 -1
- package/dist/components/p-3XaRlwMZ.js +161 -0
- package/dist/components/p-3XaRlwMZ.js.map +1 -0
- package/dist/components/{p-CgTZtTmT.js → p-B19Afqpk.js} +19 -19
- package/dist/components/{p-CgTZtTmT.js.map → p-B19Afqpk.js.map} +1 -1
- package/dist/components/{p--gZqhhLL.js → p-B2ay8yxa.js} +3 -3
- package/dist/components/{p--gZqhhLL.js.map → p-B2ay8yxa.js.map} +1 -1
- package/dist/components/{p-tkW40LmD.js → p-BHr52dZJ.js} +4 -4
- package/dist/components/{p-tkW40LmD.js.map → p-BHr52dZJ.js.map} +1 -1
- package/dist/components/{p-DGC5KYEl.js → p-BVLGLAQM.js} +9 -9
- package/dist/components/{p-DGC5KYEl.js.map → p-BVLGLAQM.js.map} +1 -1
- package/dist/components/{p-C0MuZqgR.js → p-Baq4FLMS.js} +3 -3
- package/dist/components/{p-C0MuZqgR.js.map → p-Baq4FLMS.js.map} +1 -1
- package/dist/components/{p-BrKDVlCP.js → p-Be5X3t5w.js} +3 -3
- package/dist/components/{p-BrKDVlCP.js.map → p-Be5X3t5w.js.map} +1 -1
- package/dist/components/{p-kbTcbS6Y.js → p-BsV8XOdl.js} +18 -18
- package/dist/components/{p-kbTcbS6Y.js.map → p-BsV8XOdl.js.map} +1 -1
- package/dist/components/{p-Cy-sLMQG.js → p-Bt12179Z.js} +4 -4
- package/dist/components/{p-Cy-sLMQG.js.map → p-Bt12179Z.js.map} +1 -1
- package/dist/components/{p-htsjbc2A.js → p-BuZJtX19.js} +3 -3
- package/dist/components/{p-htsjbc2A.js.map → p-BuZJtX19.js.map} +1 -1
- package/dist/components/{p-3jt5iBgO.js → p-BzogxNIa.js} +3 -3
- package/dist/components/{p-3jt5iBgO.js.map → p-BzogxNIa.js.map} +1 -1
- package/dist/components/p-CJAs00I8.js +161 -0
- package/dist/components/{p-mVYojO3m.js.map → p-CJAs00I8.js.map} +1 -1
- package/dist/components/p-CS4KatwS.js +79 -0
- package/dist/components/{p-DHM0YbIt.js.map → p-CS4KatwS.js.map} +1 -1
- package/dist/components/{p-B7CuMj9y.js → p-C_rJguGq.js} +4 -4
- package/dist/components/{p-B7CuMj9y.js.map → p-C_rJguGq.js.map} +1 -1
- package/dist/components/p-CcPJkDzX.js +35 -0
- package/dist/components/{p-Bj6H7JrX.js.map → p-CcPJkDzX.js.map} +1 -1
- package/dist/components/{p-Cw5rK8nZ.js → p-ChfkflWC.js} +5 -5
- package/dist/components/{p-Cw5rK8nZ.js.map → p-ChfkflWC.js.map} +1 -1
- package/dist/components/{p-maYXfa3o.js → p-Ci1wlgXw.js} +5 -5
- package/dist/components/{p-maYXfa3o.js.map → p-Ci1wlgXw.js.map} +1 -1
- package/dist/components/{p-DG0KCn3k.js → p-CrvmYhih.js} +4 -4
- package/dist/components/{p-DG0KCn3k.js.map → p-CrvmYhih.js.map} +1 -1
- package/dist/components/p-CvyJbTb9.js +145 -0
- package/dist/components/p-CvyJbTb9.js.map +1 -0
- package/dist/components/{p-My1l3OBd.js → p-D0EnDE_o.js} +3 -3
- package/dist/components/{p-My1l3OBd.js.map → p-D0EnDE_o.js.map} +1 -1
- package/dist/components/{p-p3q1OJSb.js → p-D5h0nLE5.js} +9 -9
- package/dist/components/{p-p3q1OJSb.js.map → p-D5h0nLE5.js.map} +1 -1
- package/dist/components/{p-D-75lLYc.js → p-DN1ugCly.js} +3 -3
- package/dist/components/{p-D-75lLYc.js.map → p-DN1ugCly.js.map} +1 -1
- package/dist/components/{p-av8MQL9x.js → p-DW8sC5rc.js} +5 -5
- package/dist/components/{p-av8MQL9x.js.map → p-DW8sC5rc.js.map} +1 -1
- package/dist/components/{p-Dv5lS2bl.js → p-DkVyQai5.js} +7 -7
- package/dist/components/{p-Dv5lS2bl.js.map → p-DkVyQai5.js.map} +1 -1
- package/dist/components/{p-drInZwO0.js → p-DrW4vKrV.js} +4 -4
- package/dist/components/{p-drInZwO0.js.map → p-DrW4vKrV.js.map} +1 -1
- package/dist/components/{p-CBGDhDhT.js → p-DuPV1DzK.js} +6 -6
- package/dist/components/{p-CBGDhDhT.js.map → p-DuPV1DzK.js.map} +1 -1
- package/dist/components/{p-8qMMsvE2.js → p-Dvfar-8p.js} +5 -5
- package/dist/components/{p-8qMMsvE2.js.map → p-Dvfar-8p.js.map} +1 -1
- package/dist/components/{p-CjdpcyF4.js → p-Dx0yXDO_.js} +8 -8
- package/dist/components/{p-CjdpcyF4.js.map → p-Dx0yXDO_.js.map} +1 -1
- package/dist/components/{p-D-3sn9sH.js → p-Dz4G6Q1l.js} +3 -3
- package/dist/components/{p-D-3sn9sH.js.map → p-Dz4G6Q1l.js.map} +1 -1
- package/dist/components/p-EGKFhNRS.js +127 -0
- package/dist/components/{p-BOrhSlbo.js.map → p-EGKFhNRS.js.map} +1 -1
- package/dist/components/{p-C9OqpwzA.js → p-F1r0ydKy.js} +15 -16
- package/dist/components/p-F1r0ydKy.js.map +1 -0
- package/dist/components/{p-Bo_qpOg-.js → p-LQISNowV.js} +3 -3
- package/dist/components/{p-Bo_qpOg-.js.map → p-LQISNowV.js.map} +1 -1
- package/dist/components/{p-C7n7EjKD.js → p-ZXZKAhiz.js} +3 -3
- package/dist/components/{p-C7n7EjKD.js.map → p-ZXZKAhiz.js.map} +1 -1
- package/dist/components/{p-DCmuKByr.js → p-jGwKbBta.js} +5 -5
- package/dist/components/{p-DCmuKByr.js.map → p-jGwKbBta.js.map} +1 -1
- package/dist/components/{p-CH39HrFZ.js → p-nEOSV6qt.js} +4 -4
- package/dist/components/{p-CH39HrFZ.js.map → p-nEOSV6qt.js.map} +1 -1
- package/dist/components/{p-XunATCgp.js → p-sBGx8qre.js} +7 -7
- package/dist/components/{p-XunATCgp.js.map → p-sBGx8qre.js.map} +1 -1
- package/dist/components/{p-C-hvo0Uo.js → p-ufmeP0E5.js} +8 -8
- package/dist/components/{p-C-hvo0Uo.js.map → p-ufmeP0E5.js.map} +1 -1
- package/dist/components/{p-CeHDqun7.js → p-yhRJRzUn.js} +3 -3
- package/dist/components/{p-CeHDqun7.js.map → p-yhRJRzUn.js.map} +1 -1
- package/dist/components/profile-history.js +1 -1
- package/dist/components/profile-info.js +1 -1
- package/dist/components/profile-media.js +1 -1
- package/dist/components/profile-tabs.js +1 -1
- package/dist/components/quick-message-add-template.js +1 -1
- package/dist/components/quick-message-app.js +7 -7
- package/dist/components/quick-message-file.js +1 -1
- package/dist/components/quick-message-image.js +1 -1
- package/dist/components/quick-message-modal.js +1 -1
- package/dist/components/quick-message-template.js +1 -1
- package/dist/components/quick-message-text-content.js +1 -1
- package/dist/components/search-box.js +1 -1
- package/dist/components/status-badge.js +1 -1
- package/dist/components/summarize-message-section.js +1 -1
- package/dist/components/tag-list.js +1 -1
- package/dist/components/tag-or-status-item.js +1 -1
- package/dist/components/tag-popper.js +1 -1
- package/dist/components/typography-clamp.js +1 -1
- package/dist/components/user-info-section.js +1 -1
- package/dist/components/z-avatar.js +1 -1
- package/dist/components/z-dialog.js +1 -1
- package/dist/esm/autocomplete-address_43.entry.js +81 -77
- package/dist/esm/quick-message-app.entry.js +1 -1
- package/dist/zignal-stencil-library/{p-c349823b.entry.js → p-3cea211f.entry.js} +168 -168
- package/dist/zignal-stencil-library/p-3cea211f.entry.js.map +1 -0
- package/dist/zignal-stencil-library/{p-4976f186.entry.js → p-cdcb0c65.entry.js} +2 -2
- package/dist/zignal-stencil-library/zignal-stencil-library.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-BNblLfcs.js +0 -161
- package/dist/components/p-BNblLfcs.js.map +0 -1
- package/dist/components/p-BOrhSlbo.js +0 -127
- package/dist/components/p-Bj6H7JrX.js +0 -35
- package/dist/components/p-C9OqpwzA.js.map +0 -1
- package/dist/components/p-DHM0YbIt.js +0 -79
- package/dist/components/p-Dnb_md64.js +0 -140
- package/dist/components/p-Dnb_md64.js.map +0 -1
- package/dist/components/p-mVYojO3m.js +0 -161
- package/dist/zignal-stencil-library/p-c349823b.entry.js.map +0 -1
- /package/dist/zignal-stencil-library/{p-4976f186.entry.js.map → p-cdcb0c65.entry.js.map} +0 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment } from './p-D_ltSEZy.js';
|
|
2
|
+
import { b as displayDate } from './p-CWHeSqYk.js';
|
|
3
|
+
import { u as useTranslation } from './p-GPPFvEYq.js';
|
|
4
|
+
import { Z as ZIconButton } from './p-CDPdfHLJ.js';
|
|
5
|
+
import { Z as ZTagOrStatusItem } from './p-CtIwL686.js';
|
|
6
|
+
import { Z as ZButton } from './p-PLHiwThd.js';
|
|
7
|
+
import { I as Icon } from './p-CErcZoEr.js';
|
|
8
|
+
import { g as getChatPicture, h as handleGetUserStatuses } from './p-CZRPZKJ-.js';
|
|
9
|
+
import { c as configStore, s as selectedChatStore } from './p-x8gJGTdZ.js';
|
|
10
|
+
import { k as syncUser } from './p-CB09ePCJ.js';
|
|
11
|
+
import { h as handleError } from './p-C2YAe0Ke.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './p-Dz4G6Q1l.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-BzogxNIa.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-Ci1wlgXw.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-ChfkflWC.js';
|
|
16
|
+
import { d as defineCustomElement$1 } from './p-Be5X3t5w.js';
|
|
17
|
+
|
|
18
|
+
const profileInfoCss = "@layer base{*,::backdrop,:after,:before{--tw-space-y-reverse:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-drop-shadow-alpha:100%;border:0 solid;box-sizing:border-box;margin:0;padding:0}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid;--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-space-y-reverse:0;--tw-leading:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-duration:initial}}}@layer theme{:host,:root{--container-3xs:16rem;--container-xl:36rem;--color-yellow-300:oklch(90.5% .182 98.111);--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-900:oklch(20.8% .042 265.755);--container-md:28rem;--text-2xl:1.5rem;--text-2xl--line-height:1.33333;--color-slate-500:oklch(55.4% .046 257.417);--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--color-yellow-500:oklch(79.5% .184 86.047);--container-xs:20rem;--container-sm:24rem;--color-red-700:oklch(50.5% .213 27.518);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-blue-500:oklch(62.3% .214 259.815);--font-weight-bold:700;--animate-spin:spin 1s linear infinite;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-blue-600:oklch(54.6% .245 262.881);--color-pink-100:oklch(94.8% .028 342.258);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:1.33333;--text-sm:.875rem;--text-sm--line-height:1.42857;--text-base:1rem;--text-base--line-height:1.5;--text-lg:1.125rem;--text-lg--line-height:1.55556;--font-weight-medium:500;--font-weight-semibold:600;--radius-xs:.125rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:\"Kanit\",var(--default-font);--default-mono-font-family:var(--font-mono);--default-font:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--color-primary:#e02848;--color-secondary:#023761;--color-background:#fff;--color-primary-dark:#b50f30;--color-secondary-dark:#fff;--color-background-dark:#23292d}}@layer base{::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-meridiem-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-color:oklch(55.1% .027 264.364);border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);border-color:oklch(54.6% .245 262.881);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}input::placeholder,textarea::placeholder{color:oklch(55.1% .027 264.364);opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;color:oklch(54.6% .245 262.881);print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-color:oklch(55.1% .027 264.364);border-width:1px;display:inline-block;flex-shrink:0;height:1rem;padding:0;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0'/%3E%3C/svg%3E\")}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components{.dialog-backdrop{align-items:center;background-color:#0006;display:flex;inset:calc(var(--spacing)*0);justify-content:center;position:fixed;z-index:50}@supports (color:color-mix(in lab,red,red)){.dialog-backdrop{background-color:color-mix(in oklab,var(--color-black)40%,transparent);background-color:color-mix(in srgb,#00040%,transparent)}}.chat-item{border-radius:var(--radius-xl);cursor:pointer;margin-block:calc(var(--spacing)*1);margin-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);align-items:flex-start;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:flex;position:relative}:where(.chat-item>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.chat-item .chat-item-pin{position:absolute;right:-12px;top:calc(var(--spacing)*1)}.chat-item .chat-item-pin-icon{fill:currentColor;height:calc(var(--spacing)*3);rotate:45deg;width:calc(var(--spacing)*3)}.chat-item .chat-item-content-container{display:flex;flex-direction:row;width:100%}:where(.chat-item .chat-item-content-container>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.chat-item .chat-item-avatar-wrapper{align-self:center;flex-shrink:0;position:relative}.chat-item .chat-item-avatar-badge{bottom:-2px;position:absolute;right:-2px}.chat-item .chat-item-content-wrapper{min-height:calc(var(--spacing)*18);width:100%}.chat-item .chat-item-content-main{align-items:center;display:flex}:where(.chat-item .chat-item-content-main>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*1*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*1*var(--tw-space-x-reverse))}.chat-item .chat-item-content-main-image{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.chat-item .chat-item-content-main-name{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.chat-item .chat-item-content-main-name,.chat-item .chat-item-content-main-time{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-main-time{color:var(--color-gray-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-left:auto}.chat-item .chat-item-content-secondary{align-items:flex-start;display:flex;flex-direction:row;width:100%}.chat-item .chat-item-content-secondary-nickname{font-size:var(--text-base);-webkit-line-clamp:1;line-height:var(--tw-leading,var(--text-base--line-height));-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-secondary-message{color:var(--color-gray-600);font-size:var(--text-sm);-webkit-line-clamp:1;line-height:var(--tw-leading,var(--text-sm--line-height));-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-unread{background-color:var(--color-primary);border-radius:3.40282e+38px;color:var(--color-white);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-left:auto}.chat-item .chat-item-content-unread-mark{display:inline-block;height:calc(var(--spacing)*2.5);width:calc(var(--spacing)*2.5)}.chat-item .chat-item-content-unread-count{padding-block:calc(var(--spacing)*.5);padding-inline:calc(var(--spacing)*2)}.z-icon-button{cursor:pointer;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);align-items:center;border-radius:3.40282e+38px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-icon-button:focus{--tw-outline-style:none;outline-style:none}.z-icon-button-primary{background-color:var(--color-primary);color:var(--color-white)}.z-icon-button-outlined{border-color:var(--color-primary);border-style:var(--tw-border-style);border-width:1px}.z-icon-button-outlined,.z-icon-button-text{color:var(--color-primary)}.z-icon-button-disabled{cursor:not-allowed;opacity:.5}.z-button{cursor:pointer;--tw-font-weight:var(--font-weight-medium);align-items:center;border-radius:3.40282e+38px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-button:focus{--tw-outline-style:none;outline-style:none}.z-button-small{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2)}.z-button-medium{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*3)}.z-button-large{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4)}.z-button-primary{background-color:var(--color-primary);color:var(--color-white)}.z-button-outlined{border-color:var(--color-primary);border-style:var(--tw-border-style);border-width:1px;color:var(--color-primary)}.z-button-disabled{cursor:not-allowed;opacity:.5}.z-button-text{margin-inline:calc(var(--spacing)*2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.z-input-area-label{margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-input-area-input,.z-input-area-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input-area-input{border-radius:var(--radius-lg);border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);--tw-ring-color:var(--color-primary);border-width:1px;width:100%}.z-input-area-input:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-input-area-error{color:var(--color-red-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-top:calc(var(--spacing)*1)}.z-input-label{margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-input,.z-input-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input{border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);--tw-ring-color:var(--color-primary);border-radius:3.40282e+38px;border-width:1px;width:100%}.z-input:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-input-error{color:var(--color-red-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-top:calc(var(--spacing)*1)}.z-select-input-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-tag-or-status-item{align-items:center;border-radius:var(--radius-2xl);gap:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*3);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:inline-flex}.z-tag-or-status-item .z-tag-or-status-item-name{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));max-width:calc(var(--spacing)*20)}.z-tag-or-status-item .z-tag-or-status-item-icon{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.z-context-input{align-items:center;display:flex;flex-direction:row;margin-block:calc(var(--spacing)*1)}.z-context-input-key{border-bottom-left-radius:var(--radius-3xl);border-style:var(--tw-border-style);border-top-left-radius:var(--radius-3xl);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);width:100%;--tw-ring-color:var(--color-primary);border-width:1px;flex:1}.z-context-input-key:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-context-input-value{border-bottom-right-radius:var(--radius-3xl);border-style:var(--tw-border-style);border-top-right-radius:var(--radius-3xl);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));min-height:2.4rem;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);width:100%;--tw-ring-color:var(--color-primary);border-width:1px;flex:2}.z-context-input-value:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-text-with-link{color:var(--color-blue-600);text-decoration-line:underline}}@layer utilities{.hidden{display:none}.hidden\\!{display:none!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.scroll-container::-webkit-scrollbar{background:#0000001a;height:8px;width:8px}.scroll-container:active::-webkit-scrollbar,.scroll-container:hover::-webkit-scrollbar{background:#0003}.scroll-container:active::-webkit-scrollbar-thumb,.scroll-container:hover::-webkit-scrollbar-thumb{background:#0006;border-radius:4px}.z-text-light{color:var(--color-black)}.z-text-dark{color:var(--color-white)}.z-text-primary-light{color:var(--color-primary)}.z-text-primary-dark{color:var(--color-primary-dark)}.z-text-gray-light{color:var(--color-gray-500)}.z-text-gray-dark{color:var(--color-gray-300)}.z-text-background-light{color:var(--color-background)}.z-text-background-dark{color:var(--color-background-dark)}.z-border-light{border-color:var(--color-black)}.z-border-dark{border-color:var(--color-white)}.z-border-primary-light{border-color:var(--color-primary)}.z-border-primary-dark{border-color:var(--color-primary-dark)}.z-border-divider-light{border-color:var(--color-gray-400)}.z-border-divider-dark{border-color:var(--color-gray-300)}.z-search-input-background-light{background-color:var(--color-gray-200)}.z-search-input-background-dark{background-color:var(--color-gray-500)}.z-chat-input-background-light{background-color:var(--color-white)}.z-chat-input-background-dark{background-color:var(--color-gray-700)}.z-placeholder-light::placeholder{color:var(--color-gray-500)}.z-placeholder-dark::placeholder{color:var(--color-gray-200)}.z-background-primary-light{background-color:var(--color-primary)}.z-background-primary-dark{background-color:var(--color-primary-dark)}.z-background-light{background-color:var(--color-background)}.z-background-dark{background-color:var(--color-background-dark)}.z-paper-light{background-color:var(--color-gray-100)}.z-paper-dark{background-color:var(--color-gray-700)}.z-bg-gray-light{background-color:var(--color-gray-500)}.z-bg-gray-dark{background-color:var(--color-gray-300)}.z-width-100{width:100%}.z-width-90{width:90%}.z-width-75{width:75%}.z-width-50{width:50%}.z-width-25{width:25%}.z-width-0{width:0}.z-animate-width{transition-duration:.5s;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.z-animate-grid-template-cols{transition:grid-template-rows .5s}[type=checkbox]{background-color:var(--color-gray-300);border-color:var(--color-gray-300);border-radius:4px;cursor:pointer}[type=checkbox]:checked,[type=checkbox]:indeterminate{background-color:var(--color-primary);border-color:var(--color-primary);border-radius:4px;cursor:pointer}[type=checkbox]:focus{offset:0;outline-offset:0;--tw-ring-color:var(--color-primary);outline:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.grid-cols-1{grid-template-columns:1fr}.grid-cols-1_3{grid-template-columns:1fr 3fr}.grid-cols-1_2_1{grid-template-columns:1fr 2fr 1fr}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{.relative{position:relative}.size-5{height:calc(var(--spacing)*5);width:calc(var(--spacing)*5)}.rotate-45{rotate:45deg}.text-blue-500{color:var(--color-blue-500)}.text-green-500{color:var(--color-green-500)}.container{width:100%}.cursor-pointer{cursor:pointer}.mb-2{margin-bottom:calc(var(--spacing)*2)}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*2*var(--tw-space-y-reverse))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.mx-auto{margin-inline:auto}.size-18{height:calc(var(--spacing)*18);width:calc(var(--spacing)*18)}.mt-auto{margin-top:auto}.mb-auto{margin-bottom:auto}.text-black{color:var(--color-black)}.m-auto{margin:auto}.size-32{height:calc(var(--spacing)*32);width:calc(var(--spacing)*32)}.w-xl{width:var(--container-xl)}.w-xs{width:var(--container-xs)}.col-span-2{grid-column:span 2/span 2}.my-2{margin-block:calc(var(--spacing)*2)}.\\!hidden{display:none!important}.bg-pink-100{background-color:var(--color-pink-100)}.visible{visibility:visible}.-top-12{top:calc(var(--spacing)*-12)}.-top-24{top:calc(var(--spacing)*-24)}.mt-10{margin-top:calc(var(--spacing)*10)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.inline-block{display:inline-block}.p-4{padding:calc(var(--spacing)*4)}.px-4{padding-inline:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.mt-1{margin-top:calc(var(--spacing)*1)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.size-3{height:calc(var(--spacing)*3);width:calc(var(--spacing)*3)}.size-4{height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.size-8{height:calc(var(--spacing)*8);width:calc(var(--spacing)*8)}.max-w-3xs{max-width:var(--container-3xs)}.max-w-sm{max-width:var(--container-sm)}.resize{resize:both}.rounded-br-\\[0\\]{border-bottom-right-radius:0}.rounded-bl-\\[0\\]{border-bottom-left-radius:0}.bg-black{background-color:var(--color-black)}.bg-white{background-color:var(--color-white)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.px-3{padding-inline:calc(var(--spacing)*3)}.py-2{padding-block:calc(var(--spacing)*2)}.text-white{color:var(--color-white)}.underline{text-decoration-line:underline}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.absolute{position:absolute}.right-full{right:100%}.-bottom-2{bottom:calc(var(--spacing)*-2)}.left-full{left:100%}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-2\\.5{margin-bottom:calc(var(--spacing)*2.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.flex{display:flex}.size-6{height:calc(var(--spacing)*6);width:calc(var(--spacing)*6)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.rounded-full{border-radius:3.40282e+38px}.bg-yellow-300{background-color:var(--color-yellow-300)}.text-left{text-align:left}.text-right{text-align:right}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.size-42{height:calc(var(--spacing)*42);width:calc(var(--spacing)*42)}.h-20{height:calc(var(--spacing)*20)}.w-42{width:calc(var(--spacing)*42)}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.-bottom-0\\.5{bottom:calc(var(--spacing)*-.5)}.col-span-3{grid-column:span 3/span 3}.mt-2{margin-top:calc(var(--spacing)*2)}.w-full{width:100%}.flex-wrap{flex-wrap:wrap}.gap-y-1{row-gap:calc(var(--spacing)*1)}.border-b-\\[0\\.5px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:.5px}.fill-current{fill:currentColor}.pt-2{padding-top:calc(var(--spacing)*2)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.truncate,.whitespace-nowrap{white-space:nowrap}.truncate{overflow:hidden;text-overflow:ellipsis}.border-transparent{border-color:#0000}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.inset-0{inset:calc(var(--spacing)*0)}.top-3{top:calc(var(--spacing)*3)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.bottom-3{bottom:calc(var(--spacing)*3)}.left-3{left:calc(var(--spacing)*3)}.z-10{z-index:10}.z-\\[80\\]{z-index:80}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.contents{display:contents}.grid{display:grid}.inline-flex{display:inline-flex}.aspect-square{aspect-ratio:1}.size-12{height:calc(var(--spacing)*12);width:calc(var(--spacing)*12)}.size-14{height:calc(var(--spacing)*14);width:calc(var(--spacing)*14)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-\\[180px\\]{height:180px}.h-\\[220px\\]{height:220px}.h-\\[280px\\]{height:280px}.h-full{height:100%}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-\\[200px\\]{width:200px}.w-\\[250px\\]{width:250px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-xs{max-width:var(--container-xs)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[18px\\]{border-radius:18px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-b-\\[1\\.5px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1.5px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-current{border-color:currentColor}.border-red-500{border-color:var(--color-red-500)}.bg-slate-900\\/40{background-color:#0f172b66}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities;/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/40{background-color:color-mix(in oklab,var(--color-slate-900)40%,transparent)}}.bg-slate-900\\/60{background-color:#0f172b99}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/60{background-color:color-mix(in oklab,var(--color-slate-900)60%,transparent)}}.bg-transparent{background-color:#0000}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\\/90{background-color:color-mix(in srgb,#fff90%,transparent);background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-12{padding-block:calc(var(--spacing)*12)}.pr-16{padding-right:calc(var(--spacing)*16)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-\\[13px\\]{font-size:13px}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-red-500{color:var(--color-red-500)}.text-slate-700{color:var(--color-slate-700)}.opacity-0{opacity:0}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.shadow,.shadow-sm,.shadow-xl{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)}.ring-primary{--tw-ring-color:var(--color-primary)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-all,.transition-colors{transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-opacity{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.focus\\:border-red-500:focus{border-color:var(--color-red-500)}.focus\\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)}.focus\\:ring-0:focus,.focus\\:ring-2:focus{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)}.focus\\:ring-red-200:focus{--tw-ring-color:var(--color-red-200)}.focus\\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\\:ring-slate-200:focus{--tw-ring-color:var(--color-slate-200)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}}@keyframes spin{to{transform:rotate(1turn)}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{.top-1\\/2{top:50%}.right-2{right:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.h-10{height:calc(var(--spacing)*10)}.min-h-0{min-height:calc(var(--spacing)*0)}.w-10{width:calc(var(--spacing)*10)}.min-w-0{min-width:calc(var(--spacing)*0)}.-translate-y-1\\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.overflow-y-auto{overflow-y:auto}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.pr-9{padding-right:calc(var(--spacing)*9)}.break-words{overflow-wrap:break-word}.text-gray-400{color:var(--color-gray-400)}.focus\\:border-primary:focus{border-color:var(--color-primary)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.col-span-full{grid-column:1/-1}.h-16{height:calc(var(--spacing)*16)}.w-16{width:calc(var(--spacing)*16)}.auto-rows-auto{grid-auto-rows:auto}.content-start{align-content:flex-start}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.size-10{height:calc(var(--spacing)*10);width:calc(var(--spacing)*10)}.h-\\[160px\\]{height:160px}.h-\\[200px\\]{height:200px}.w-\\[240px\\]{width:240px}.shrink-0{flex-shrink:0}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.self-end{align-self:flex-end}.py-1{padding-block:calc(var(--spacing)*1)}.py-10{padding-block:calc(var(--spacing)*10)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.whitespace-pre-line{white-space:pre-line}.text-slate-500{color:var(--color-slate-500)}.opacity-70{opacity:.7}.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\]{--tw-shadow:0 8px 24px var(--tw-shadow-color,#0f172a14)}.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\],.shadow-sm{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.size-16{height:calc(var(--spacing)*16);width:calc(var(--spacing)*16)}.size-\\[8px\\]{height:8px;width:8px}.size-\\[10px\\]{height:10px;width:10px}.text-yellow-500{color:var(--color-yellow-500)}.col-span-1{grid-column:span 1/span 1}.m-2{margin:calc(var(--spacing)*2)}.mx-4{margin-inline:calc(var(--spacing)*4)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.w-1\\/2{width:50%}.max-w-32{max-width:calc(var(--spacing)*32)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0)}.translate-y-0,.translate-y-full{translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%}.text-green-700{color:var(--color-green-700)}.text-primary{color:var(--color-primary)}.text-red-700{color:var(--color-red-700)}.capitalize{text-transform:capitalize}.opacity-100{opacity:1}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities;/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components{.chat-item .chat-item-content-main-name,.chat-item .chat-item-content-main-time{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.z-icon-button-outlined,.z-icon-button-text{color:var(--color-primary)}.z-input,.z-input-area-input,.z-input-area-label,.z-input-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@layer utilities{.truncate,.whitespace-nowrap{white-space:nowrap}.focus\\:ring-0:focus,.focus\\:ring-2:focus,.shadow,.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\],.shadow-sm,.shadow-xl{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.translate-y-0,.translate-y-full{translate:var(--tw-translate-x)var(--tw-translate-y)}}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}:host{display:block}.profile-info-user-wrapper{display:grid;grid-auto-flow:dense;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(1,minmax(0,1fr));margin-bottom:calc(var(--spacing)*2);padding:calc(var(--spacing)*4);width:100%}.profile-info-avatar-wrapper{grid-column:span 1/span 1;margin-block:auto;margin-right:calc(var(--spacing)*1)}.profile-info-avatar-box{position:relative;text-align:center;width:100%}.profile-info-avatar-badge{bottom:-2px;position:absolute;right:-2px}.profile-info-name-wrapper{display:flex;flex-direction:column;grid-column:span 2/span 2}.profile-info-box-wrapper{align-items:center;display:flex;flex-direction:row;gap:calc(var(--spacing)*1)}.profile-info-nickname{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.profile-info-summarize-wrapper{align-items:center;display:flex;flex-direction:row;grid-column:span 3/span 3;justify-content:space-between;margin-top:calc(var(--spacing)*2)}.profile-info-summarize-text{grid-column:span 3/span 3;margin-top:calc(var(--spacing)*1)}.profile-info-connection-wrapper{align-items:center;display:flex}:where(.profile-info-connection-wrapper>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*1*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*1*var(--tw-space-x-reverse))}.profile-info-avatar{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.profile-info-content-wrapper-baseline{align-items:last baseline;display:flex;flex-direction:row;gap:calc(var(--spacing)*1);grid-column:span 2/span 2}.profile-info-pre-line{white-space:pre-line}.profile-info-capitalize,.profile-info-pre-line{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.profile-info-capitalize{text-transform:capitalize}.profile-info-tag-wrapper{grid-column:span 3/span 3;max-height:calc(var(--spacing)*60);overflow-y:auto;width:100%}.profile-info-status-wrapper{margin-inline:auto;margin-top:calc(var(--spacing)*2);width:fit-content}.profile-info-status-bottom-wrapper{margin-inline:auto;margin-top:calc(var(--spacing)*4);width:fit-content}.profile-info-avatar-box-merge{display:flex;justify-content:center;margin-top:-40px}.profile-info{height:100%;position:relative}.profile-info-compare-wrapper{align-items:center;display:flex;flex-direction:row;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));margin-top:-16px;padding-top:calc(var(--spacing)*3)}.profile-info-compare-remark-wrapper{padding-inline:calc(var(--spacing)*3);padding-bottom:calc(var(--spacing)*3)}.profile-info-compare-remark{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));white-space:pre-line}.profile-info-match-user-wrapper{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:calc(var(--spacing)*3)}.profile-info-match-user-container{border-radius:var(--radius-xl);margin-block:calc(var(--spacing)*2);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);overflow:clip;width:100%}.profile-info-match-user-box{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:calc(var(--spacing)*2)}.profile-info-match-user-action-wrapper{align-items:center;display:flex;flex-direction:row;justify-content:space-around}.profile-info-match-user-name-wrapper{border-radius:var(--radius-xl);margin-block:calc(var(--spacing)*2);margin-inline:calc(var(--spacing)*4);overflow:auto hidden}.profile-info-match-user-table{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));table-layout:auto;width:100%}.profile-info-match-user-table-header{background-color:var(--color-pink-100);height:calc(var(--spacing)*10);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.profile-info-match-user-table-label{margin-left:calc(var(--spacing)*2);margin-top:calc(var(--spacing)*2);white-space:nowrap}.profile-info-match-user-table-value{margin-left:calc(var(--spacing)*2);margin-top:calc(var(--spacing)*2);white-space:pre-line}.profile-info-match-user-suggest-wrapper{align-items:center;color:var(--color-white);display:flex;flex-direction:row;font-size:var(--text-sm);justify-content:space-between;line-height:var(--tw-leading,var(--text-sm--line-height));margin-bottom:calc(var(--spacing)*2);margin-top:-16px;padding:calc(var(--spacing)*3)}.profile-info-match-user-suggest-button{cursor:pointer;font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));text-decoration-line:underline}.profile-info-match-user-suggest-user-wrapper{border-radius:3.40282e+38px;border-style:var(--tw-border-style);border-width:2px;display:flex;margin-inline:auto;margin-bottom:calc(var(--spacing)*1);overflow:hidden;padding:calc(var(--spacing)*.5);width:fit-content}.profile-info-associated-user-wrapper{align-items:center;border-bottom-style:var(--tw-border-style);border-bottom-width:.5px;border-radius:var(--radius-xs);display:flex;flex-direction:row;gap:calc(var(--spacing)*1);padding-block:calc(var(--spacing)*1);padding-inline:calc(var(--spacing)*2)}.profile-info-associated-user-action-wrapper{align-items:center;display:flex;flex-direction:row;justify-content:flex-end;width:100%}.profile-info-drawer-backdrop{inset:calc(var(--spacing)*0);right:calc(var(--spacing)*0);transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));--tw-duration:.3s;background-color:#0006;left:auto!important;position:fixed;transition-duration:.3s}@supports (color:color-mix(in lab,red,red)){.profile-info-drawer-backdrop{background-color:color-mix(in srgb,#00040%,transparent);background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.profile-info-drawer-wrapper{border-top-left-radius:var(--radius-2xl);border-top-right-radius:var(--radius-2xl);bottom:calc(var(--spacing)*0);right:calc(var(--spacing)*0);--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));--tw-duration:.3s;position:fixed;transition-duration:.3s}.profile-info-drawer-content{max-height:90vh;overflow-y:auto;padding:calc(var(--spacing)*2);position:relative}.profile-info-drawer-content-close{position:absolute;right:calc(var(--spacing)*2);top:calc(var(--spacing)*2)}.profile-info-bill{grid-column:span 3/span 3;margin-inline:auto;margin-top:calc(var(--spacing)*2)}.profile-info-bill-icon{fill:currentColor;height:calc(var(--spacing)*2);rotate:180deg;width:calc(var(--spacing)*2)}.profile-info-jump-chat-sign{align-items:center;display:flex;flex-direction:row;gap:calc(var(--spacing)*4);justify-content:center}.profile-info-section-wrapper{border-bottom-style:var(--tw-border-style);border-bottom-width:.5px;min-height:calc(var(--spacing)*20);padding-top:calc(var(--spacing)*0);position:relative}.profile-info-refresh-user-button{align-items:center;display:flex;flex-direction:row;justify-content:flex-end;width:100%}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@media (forced-colors:active){[type=checkbox]:checked,[type=radio]:checked{appearance:auto}[type=checkbox]:indeterminate{appearance:auto}[type=checkbox]:checked,[type=checkbox]:indeterminate,[type=radio]:checked{appearance:auto}}@media (hover:hover){.hover\\:brightness-110:hover,.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-white:hover{background-color:var(--color-white)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:opacity-100:hover{opacity:1}.hover\\:brightness-110:hover,.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}@media screen and (min-width:0){.z-max-height{height:calc(100vh - 56px)}}@media screen and (min-width:600px){.z-max-height{height:calc(100vh - 64px)}}@media (min-width:40rem){.container{max-width:40rem}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\\:min-w-0{min-width:calc(var(--spacing)*0)}.sm\\:flex-row{flex-direction:row}}@media (min-width:48rem){.container{max-width:48rem}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:64rem){.container{max-width:64rem}.lg\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}@media not all and (min-width:40rem){.max-sm\\:hidden{display:none}}";
|
|
19
|
+
|
|
20
|
+
const UserInfoSection = /*@__PURE__*/ proxyCustomElement(class UserInfoSection extends H {
|
|
21
|
+
constructor(registerHost) {
|
|
22
|
+
super();
|
|
23
|
+
if (registerHost !== false) {
|
|
24
|
+
this.__registerHost();
|
|
25
|
+
}
|
|
26
|
+
this.openDialogEditor = createEvent(this, "openDialogEditor");
|
|
27
|
+
this.editStatus = createEvent(this, "editStatus");
|
|
28
|
+
this.closeStatus = createEvent(this, "closeStatus");
|
|
29
|
+
this.removeStatus = createEvent(this, "removeStatus");
|
|
30
|
+
this.saveUserStatus = createEvent(this, "saveUserStatus");
|
|
31
|
+
this.statusSelecting = createEvent(this, "statusSelecting");
|
|
32
|
+
this.createUserStatusRequest = createEvent(this, "createUserStatusRequest");
|
|
33
|
+
this.createBill = createEvent(this, "createBill");
|
|
34
|
+
this.syncUser = createEvent(this, "syncUser");
|
|
35
|
+
}
|
|
36
|
+
user;
|
|
37
|
+
readOnly = false;
|
|
38
|
+
isEditStatus;
|
|
39
|
+
statusId;
|
|
40
|
+
openDialogEditor;
|
|
41
|
+
editStatus;
|
|
42
|
+
closeStatus;
|
|
43
|
+
removeStatus;
|
|
44
|
+
saveUserStatus;
|
|
45
|
+
statusSelecting;
|
|
46
|
+
createUserStatusRequest;
|
|
47
|
+
createBill;
|
|
48
|
+
syncUser;
|
|
49
|
+
showDialogBill = false;
|
|
50
|
+
isSyncUserLoading = false;
|
|
51
|
+
render() {
|
|
52
|
+
const t = useTranslation();
|
|
53
|
+
const theme = configStore.get('theme');
|
|
54
|
+
const selectedChat = selectedChatStore.get('selectedChat');
|
|
55
|
+
const handleOpenDialogBillEditor = () => {
|
|
56
|
+
this.showDialogBill = true;
|
|
57
|
+
};
|
|
58
|
+
const handleCloseDialogBillEditor = () => {
|
|
59
|
+
this.showDialogBill = false;
|
|
60
|
+
};
|
|
61
|
+
const handleCreateDialogBillEditor = (value) => {
|
|
62
|
+
this.createBill.emit(value);
|
|
63
|
+
this.showDialogBill = false;
|
|
64
|
+
};
|
|
65
|
+
const handleSyncUser = async (isLoadUserOnly) => {
|
|
66
|
+
try {
|
|
67
|
+
this.isSyncUserLoading = true;
|
|
68
|
+
if (!isLoadUserOnly) {
|
|
69
|
+
const id = this.user.id;
|
|
70
|
+
const channel = this.user.channel;
|
|
71
|
+
const response = await syncUser({ channel, id });
|
|
72
|
+
if (response.code === 'user-synced') {
|
|
73
|
+
this.syncUser.emit();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
this.syncUser.emit();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (error) {
|
|
81
|
+
handleError(error, 'Failed to SyncUser');
|
|
82
|
+
}
|
|
83
|
+
finally {
|
|
84
|
+
this.isSyncUserLoading = false;
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
return (h(Fragment, { key: '9dad94e01035dd094b4bb3bc463d375927c0337c' }, selectedChat.type === 'user' &&
|
|
88
|
+
h("div", { key: 'ae9933a21063afb41b7bea16d7dbcc0d2caf1be1', class: "profile-info-refresh-user-button" }, h(ZIconButton, { key: 'c5610f07d9fa486286cf0a6cdda84cca38887e43', variant: "text", iconName: "RotateCw", addClassIcon: "size-4", isLoading: this.isSyncUserLoading, onClick: () => handleSyncUser(this.user.channel === 'zignal'), noPaddingY: true })), h("div", { key: '3e78912b9d2e948b2034bc225b4d4e0f19981a64', class: `profile-info-user-wrapper profile-info-section-wrapper z-border-divider-${theme}` }, h("div", { key: '68ea6facc9c910f42d7175ade512398a96d00c14', class: "profile-info-avatar-wrapper" }, h("div", { key: '90d7b7e9ce0c370db18f75994cf80a196e1ef1ad', class: "profile-info-avatar-box" }, h("z-avatar", { key: 'be623279dda66ea8cf89ac0e531ccd9f989c2642', pictureUrl: getChatPicture(selectedChat) }), selectedChat.type === 'group' &&
|
|
89
|
+
h("div", { key: 'a0db28a64fe28c23966e78dc6b51e755e08d6b08', class: "profile-info-avatar-badge" }, h("z-avatar", { key: '441476db7b336bc85781c130c8a98adf243d9855', size: "x-small" })))), h("div", { key: 'e9a2f6b71ebaf4490bc038b93d219389cec05da2', class: "profile-info-name-wrapper" }, h("span", { key: 'f1c5e1b866d027c2a15f275e2fec22587df19568', class: `text-base z-text-${theme}` }, this.user.name), h("div", { key: '8ff0b38bea076dc0d7bef7bcfdba7cdde2641038', class: "profile-info-box-wrapper" }, h("span", { key: '96bda6e138bca4e83d6d1ad64ae46018e3518a45', class: `profile-info-nickname z-text-${theme}` }, this.user.nickname || '-'), !this.readOnly && (h(ZIconButton, { key: '5c90a0faa4340379c5515af2368950a2013a3442', variant: "text", iconName: "Pencil", addClassIcon: "size-4", onClick: () => this.openDialogEditor.emit({ label: 'Nickname', field: 'nickname', value: this.user.nickname }) }))), this.isEditStatus ? (h("div", { class: "profile-info-box-wrapper" }, this.user.status && this.user.status?.id === this.statusId ? (h(ZTagOrStatusItem, { item: this.user.status, onDelete: () => this.removeStatus.emit() })) : (h("autocomplete-select", { value: this.user.status?.id === this.statusId ? this.user.status?.name : '', fetchItems: handleGetUserStatuses, createItem: name => new Promise(resolve => {
|
|
90
|
+
this.createUserStatusRequest.emit({ name, callback: resolve });
|
|
91
|
+
}), onSelecting: item => this.statusSelecting.emit(item.detail.id), referenceSelector: "profile-status" })), h(ZIconButton, { variant: "text", iconName: "X", addClassIcon: "size-4", onClick: () => this.closeStatus.emit() }), h(ZIconButton, { variant: "text", iconName: "Save", addClassIcon: "size-4", onClick: () => this.saveUserStatus.emit() }))) : (h("div", { class: "profile-info-box-wrapper" }, h("span", { class: `text-sm z-text-${theme}` }, t('status'), "\u00A0:\u00A0", this.user.status ? (h("tag-or-status-item", { item: this.user.status, chatId: `profile-status-${selectedChat.id}-${this.readOnly ? 'readonly' : ''}` })) : ('-')), !this.readOnly && h(ZIconButton, { variant: "text", iconName: "Pencil", addClassIcon: "size-4", onClick: () => this.editStatus.emit() })))), this.user.summarized_message && (h("div", { key: 'b2cf7357161562a8c255e22112afdc67feb1e5f3', class: "col-span-3" }, h("div", { key: '6fe0e8f3c178c5c79171c12d80d12cc7374c62a0', class: "profile-info-summarize-wrapper" }, h("span", { key: '712624615b1af8989db9c88a19903c6bc79bec8a', class: `profile-info-box-wrapper z-text-${theme}` }, t('profile_tab.ai_summary'), h("svg", { key: 'ab478308d84cbe1cb198a701b57305383a7d9af8', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: 'cbf5e3aee1f53b26f5d8aa04423b74ac4434aef6', d: "M4.55306 2.724C4.85206 1.849 6.06106 1.8225 6.41556 2.6445L6.44556 2.7245L6.84906 3.9045C6.94154 4.17512 7.09097 4.42276 7.28728 4.63071C7.48359 4.83867 7.72222 5.00211 7.98706 5.11L8.09556 5.1505L9.27556 5.5535C10.1506 5.8525 10.1771 7.0615 9.35556 7.416L9.27556 7.446L8.09556 7.8495C7.82485 7.94191 7.57712 8.09131 7.36907 8.28763C7.16103 8.48394 6.99751 8.7226 6.88956 8.9875L6.84906 9.0955L6.44606 10.276C6.14706 11.151 4.93806 11.1775 4.58406 10.356L4.55306 10.276L4.15006 9.096C4.05765 8.82529 3.90825 8.57755 3.71193 8.36951C3.51562 8.16146 3.27696 7.99795 3.01206 7.89L2.90406 7.8495L1.72406 7.4465C0.848564 7.1475 0.822064 5.9385 1.64406 5.5845L1.72406 5.5535L2.90406 5.1505C3.17468 5.05803 3.42232 4.9086 3.63028 4.71229C3.83823 4.51597 4.00167 4.27735 4.10956 4.0125L4.15006 3.9045L4.55306 2.724ZM9.49956 1C9.5931 1 9.68477 1.02624 9.76414 1.07574C9.84351 1.12523 9.90741 1.196 9.94856 1.28L9.97256 1.3385L10.1476 1.8515L10.6611 2.0265C10.7548 2.05835 10.837 2.11731 10.8972 2.19591C10.9574 2.27451 10.9929 2.36921 10.9992 2.46801C11.0055 2.56681 10.9824 2.65527 10.9327 2.75089C10.883 2.83652 10.809 2.90547 10.7201 2.949L10.6611 2.973L10.1481 3.148L9.97306 3.6615C9.94116 3.75521 9.88216 3.83735 9.80353 3.8975C9.7249 3.95764 9.63018 3.9931 9.53138 3.99936C9.43259 4.00563 9.33415 3.98242 9.24856 3.93269C9.16296 3.88296 9.09405 3.80893 9.05056 3.72L9.02656 3.6615L8.85156 3.1485L8.33806 2.9735C8.24432 2.94165 8.16215 2.88269 8.10195 2.80409C8.04175 2.72549 8.00624 2.63079 7.99993 2.53199C7.99361 2.43319 8.01676 2.33473 8.06645 2.24911C8.11615 2.16348 8.19014 2.09453 8.27906 2.051L8.33806 2.027L8.85106 1.852L9.02606 1.3385C9.05978 1.23971 9.12357 1.15395 9.20848 1.09325C9.2934 1.03254 9.39518 0.999937 9.49956 1Z", fill: "#E02847" }))), h("span", { key: '30a4cd3a486061e2fa52078e23745826ddb0a21f', class: `text-xs z-text-gray-${theme}` }, t('profile_tab.last_update'), " ", displayDate(this.user.summarized_message.created_at))), h("div", { key: '5b0e8dfec2cd5d99314362d2df3a5fa65f281437', class: "profile-info-summarize-text" }, h("typography-clamp", { key: 'f49aa21a71aa6066cfb0a5a73b371eab750902c7', text: this.user.summarized_message.text })))), (configStore.get('connectionList').find((connection) => connection.id === selectedChat.connection.id)?.type === 'zwiz') && (h("div", { key: 'f2237d1617cd90ba826bdaac242bffe365f0f7bd', class: "profile-info-bill" }, h(ZButton, { key: 'faacd0b35e8e9ed517ebf6475f675eece60a4194', label: "\u0E40\u0E1B\u0E34\u0E14\u0E1A\u0E34\u0E25", title: "\u0E40\u0E1B\u0E34\u0E14\u0E1A\u0E34\u0E25", startIcon: h(Icon, { name: "ShoppingCart", addClass: "size-5 fill-current" }), endIcon: h(Icon, { name: "Triangle", addClass: "profile-info-bill-icon" }), onClick: () => handleOpenDialogBillEditor() }))), this.showDialogBill && (h("div", { key: '3b2058e1726164d05bb76df1222ede16a00743b1', class: "dialog-backdrop" }, h("dialog-bill-editor", { key: '0967dfbd4e8910ad3a541565d7edf98d898fcda1', onCancel: handleCloseDialogBillEditor, onCreate: (event) => handleCreateDialogBillEditor(event?.detail) }))))));
|
|
92
|
+
}
|
|
93
|
+
static get style() { return profileInfoCss; }
|
|
94
|
+
}, [256, "user-info-section", {
|
|
95
|
+
"user": [16],
|
|
96
|
+
"readOnly": [4, "read-only"],
|
|
97
|
+
"isEditStatus": [4, "is-edit-status"],
|
|
98
|
+
"statusId": [1, "status-id"],
|
|
99
|
+
"showDialogBill": [32],
|
|
100
|
+
"isSyncUserLoading": [32]
|
|
101
|
+
}]);
|
|
102
|
+
function defineCustomElement() {
|
|
103
|
+
if (typeof customElements === "undefined") {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
const components = ["user-info-section", "autocomplete-select", "dialog-bill-editor", "tag-or-status-item", "typography-clamp", "z-avatar"];
|
|
107
|
+
components.forEach(tagName => { switch (tagName) {
|
|
108
|
+
case "user-info-section":
|
|
109
|
+
if (!customElements.get(tagName)) {
|
|
110
|
+
customElements.define(tagName, UserInfoSection);
|
|
111
|
+
}
|
|
112
|
+
break;
|
|
113
|
+
case "autocomplete-select":
|
|
114
|
+
if (!customElements.get(tagName)) {
|
|
115
|
+
defineCustomElement$5();
|
|
116
|
+
}
|
|
117
|
+
break;
|
|
118
|
+
case "dialog-bill-editor":
|
|
119
|
+
if (!customElements.get(tagName)) {
|
|
120
|
+
defineCustomElement$4();
|
|
121
|
+
}
|
|
122
|
+
break;
|
|
123
|
+
case "tag-or-status-item":
|
|
124
|
+
if (!customElements.get(tagName)) {
|
|
125
|
+
defineCustomElement$3();
|
|
126
|
+
}
|
|
127
|
+
break;
|
|
128
|
+
case "typography-clamp":
|
|
129
|
+
if (!customElements.get(tagName)) {
|
|
130
|
+
defineCustomElement$2();
|
|
131
|
+
}
|
|
132
|
+
break;
|
|
133
|
+
case "z-avatar":
|
|
134
|
+
if (!customElements.get(tagName)) {
|
|
135
|
+
defineCustomElement$1();
|
|
136
|
+
}
|
|
137
|
+
break;
|
|
138
|
+
} });
|
|
139
|
+
}
|
|
140
|
+
defineCustomElement();
|
|
141
|
+
|
|
142
|
+
export { UserInfoSection as U, defineCustomElement as d };
|
|
143
|
+
//# sourceMappingURL=p-CvyJbTb9.js.map
|
|
144
|
+
|
|
145
|
+
//# sourceMappingURL=p-CvyJbTb9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-CvyJbTb9.js","mappings":";;;;;;;;;;;;;;;;;AAAA,MAAM,cAAc,GAAG,mq1DAAmq1D;;MCiB7q1D,eAAe,iBAAAA,kBAAA,CAAA,MAAA,eAAA,SAAAC,CAAA,CAAA;;;;;;;;;;;;;;;;AAClB,IAAA,IAAI;IACJ,QAAQ,GAAa,KAAK;AAC1B,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;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/profile-info/profile-info.css?tag=user-info-section","src/components/profile-info/user-info-section.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.profile-info-user-wrapper {\n @apply grid grid-flow-row-dense grid-cols-3 grid-rows-1 w-full p-4 mb-2\n}\n\n.profile-info-avatar-wrapper {\n @apply col-span-1 my-auto mr-1\n}\n\n.profile-info-avatar-box {\n @apply relative w-full text-center\n}\n\n.profile-info-avatar-badge {\n @apply absolute bottom-[-2px] right-[-2px];\n}\n\n.profile-info-name-wrapper {\n @apply col-span-2 flex flex-col\n}\n\n.profile-info-box-wrapper {\n @apply flex flex-row gap-1 items-center\n}\n\n.profile-info-nickname {\n @apply font-semibold text-base\n}\n\n.profile-info-summarize-wrapper {\n @apply col-span-3 flex flex-row items-center justify-between mt-2\n}\n\n.profile-info-summarize-text {\n @apply col-span-3 mt-1\n}\n\n.profile-info-connection-wrapper {\n @apply flex items-center space-x-1\n}\n\n.profile-info-avatar {\n @apply size-4 rounded-full\n}\n\n.profile-info-content-wrapper-baseline {\n @apply col-span-2 flex flex-row gap-1 items-baseline-last\n}\n\n.profile-info-pre-line {\n @apply text-sm whitespace-pre-line\n}\n\n.profile-info-capitalize {\n @apply text-sm capitalize\n}\n\n.profile-info-tag-wrapper {\n @apply col-span-3 w-full max-h-60 overflow-y-auto\n}\n\n.profile-info-status-wrapper {\n @apply w-fit mt-2 mx-auto\n}\n\n.profile-info-status-bottom-wrapper {\n @apply w-fit mt-4 mx-auto\n}\n\n.profile-info-avatar-box-merge {\n @apply mt-[-40px] flex justify-center\n}\n\n.profile-info {\n @apply relative h-full\n}\n\n.profile-info-compare-wrapper {\n @apply flex flex-row items-center pt-3 mt-[-16px] text-sm\n}\n\n.profile-info-compare-remark-wrapper {\n @apply px-3 pb-3\n}\n\n.profile-info-compare-remark {\n @apply text-xs whitespace-pre-line\n}\n\n.profile-info-match-user-wrapper {\n @apply flex flex-row items-center justify-between mb-3\n}\n\n.profile-info-match-user-container {\n @apply rounded-xl shadow-md w-full my-2 overflow-clip\n}\n\n.profile-info-match-user-box {\n @apply grid grid-cols-2 mb-2\n}\n\n.profile-info-match-user-action-wrapper {\n @apply flex flex-row items-center justify-around\n}\n\n.profile-info-match-user-name-wrapper {\n @apply rounded-xl my-2 mx-4 overflow-x-auto overflow-y-hidden\n}\n\n.profile-info-match-user-table {\n @apply table-auto w-full text-sm\n}\n\n.profile-info-match-user-table-header {\n @apply bg-pink-100 h-10 shadow-sm\n}\n\n.profile-info-match-user-table-label {\n @apply ml-2 mt-2 whitespace-nowrap\n}\n\n.profile-info-match-user-table-value {\n @apply ml-2 mt-2 whitespace-pre-line\n}\n\n.profile-info-match-user-suggest-wrapper {\n @apply flex flex-row items-center justify-between p-3 mt-[-16px] mb-2 text-sm text-white\n}\n\n.profile-info-match-user-suggest-button {\n @apply text-xs underline cursor-pointer\n}\n\n.profile-info-match-user-suggest-user-wrapper {\n @apply flex border-2 rounded-full overflow-hidden w-fit mx-auto p-0.5 mb-1\n}\n\n.profile-info-associated-user-wrapper {\n @apply flex flex-row gap-1 px-2 py-1 items-center border-b-[0.5px] rounded-xs\n}\n\n.profile-info-associated-user-action-wrapper {\n @apply flex flex-row items-center justify-end w-full\n}\n\n.profile-info-drawer-backdrop {\n @apply fixed inset-0 bg-black/40 !left-auto right-0 transition-opacity duration-300\n}\n\n.profile-info-drawer-wrapper {\n @apply fixed right-0 bottom-0 rounded-t-2xl shadow-lg transition-transform duration-300\n}\n\n.profile-info-drawer-content {\n @apply p-2 relative overflow-y-auto max-h-[90vh]\n}\n\n.profile-info-drawer-content-close {\n @apply absolute top-2 right-2\n}\n\n.profile-info-bill {\n @apply col-span-3 mx-auto mt-2\n}\n\n.profile-info-bill-icon {\n @apply rotate-180 size-2 fill-current\n}\n\n.profile-info-jump-chat-sign {\n @apply flex flex-row items-center justify-center gap-4\n}\n\n.profile-info-section-wrapper {\n @apply border-b-[0.5px] pt-0 min-h-20 relative\n}\n\n.profile-info-refresh-user-button {\n @apply flex flex-row items-center justify-end w-full\n}","import { Component, Prop, State, h, Event, EventEmitter, Fragment } from '@stencil/core';\nimport { BillingItem, UserItem, TTagOrStatusItem } from '../../store/type';\nimport { displayDate } from '../../utils/dayjs';\nimport { useTranslation } from '../../utils/utils';\nimport { ZIconButton } from '../internal-component/z-icon-button';\nimport { ZTagOrStatusItem } from '../internal-component/z-tag-or-status-item';\nimport { ZButton } from '../internal-component/z-button';\nimport { Icon } from '../internal-component/icon';\nimport { getChatPicture, handleGetUserStatuses } from '../../store/chat';\nimport { configStore, selectedChatStore } from '../../store/store';\nimport { syncUser } from '../../api';\nimport { handleError } from '../../store/dialog';\n\n@Component({\n tag: 'user-info-section',\n styleUrl: 'profile-info.css',\n})\nexport class UserInfoSection {\n @Prop() user: UserItem;\n @Prop() readOnly?: boolean = false;\n @Prop() isEditStatus: boolean;\n @Prop() statusId?: string;\n\n @Event() openDialogEditor: EventEmitter<{ label: string; field: string; value: string }>;\n @Event() editStatus: EventEmitter<void>;\n @Event() closeStatus: EventEmitter<void>;\n @Event() removeStatus: EventEmitter<void>;\n @Event() saveUserStatus: EventEmitter<void>;\n @Event() statusSelecting: EventEmitter<string>;\n @Event() createUserStatusRequest: EventEmitter<{ name: string; callback: (value: TTagOrStatusItem) => void }>;\n @Event() createBill: EventEmitter<BillingItem>;\n @Event() syncUser: EventEmitter<void>;\n\n @State() showDialogBill: boolean = false;\n @State() isSyncUserLoading = false;\n\n render() {\n const t = useTranslation();\n const theme = configStore.get('theme');\n const selectedChat = selectedChatStore.get('selectedChat');\n\n const handleOpenDialogBillEditor = () => {\n this.showDialogBill = true;\n };\n\n const handleCloseDialogBillEditor = () => {\n this.showDialogBill = false;\n };\n\n const handleCreateDialogBillEditor = (value: BillingItem) => {\n this.createBill.emit(value);\n this.showDialogBill = false;\n };\n\n const handleSyncUser = async (isLoadUserOnly?: boolean) => {\n try {\n this.isSyncUserLoading = true;\n if (!isLoadUserOnly) {\n const id = this.user.id;\n const channel = this.user.channel;\n const response = await syncUser({ channel, id });\n\n if (response.code === 'user-synced') {\n this.syncUser.emit();\n }\n } else {\n this.syncUser.emit();\n }\n } catch (error) {\n handleError(error, 'Failed to SyncUser');\n } finally {\n this.isSyncUserLoading = false;\n }\n };\n\n return (\n <Fragment>\n {selectedChat.type === 'user' &&\n <div class=\"profile-info-refresh-user-button\">\n <ZIconButton\n variant=\"text\"\n iconName=\"RotateCw\"\n addClassIcon=\"size-4\"\n isLoading={this.isSyncUserLoading}\n onClick={() => handleSyncUser(this.user.channel === 'zignal')}\n noPaddingY\n />\n </div>\n }\n <div class={`profile-info-user-wrapper profile-info-section-wrapper z-border-divider-${theme}`}>\n\n <div class=\"profile-info-avatar-wrapper\">\n <div class=\"profile-info-avatar-box\">\n <z-avatar pictureUrl={getChatPicture(selectedChat)} />\n {selectedChat.type === 'group' &&\n <div class=\"profile-info-avatar-badge\">\n <z-avatar size=\"x-small\" />\n </div>\n }\n </div>\n </div>\n <div class=\"profile-info-name-wrapper\">\n <span class={`text-base z-text-${theme}`}>{this.user.name}</span>\n <div class=\"profile-info-box-wrapper\">\n <span class={`profile-info-nickname z-text-${theme}`}>{this.user.nickname || '-'}</span>\n {!this.readOnly && (\n <ZIconButton\n variant=\"text\"\n iconName=\"Pencil\"\n addClassIcon=\"size-4\"\n onClick={() => this.openDialogEditor.emit({ label: 'Nickname', field: 'nickname', value: this.user.nickname })}\n />\n )}\n </div>\n {this.isEditStatus ? (\n <div class=\"profile-info-box-wrapper\">\n {this.user.status && this.user.status?.id === this.statusId ? (\n <ZTagOrStatusItem item={this.user.status} onDelete={() => this.removeStatus.emit()} />\n ) : (\n <autocomplete-select\n value={this.user.status?.id === this.statusId ? this.user.status?.name : ''}\n fetchItems={handleGetUserStatuses}\n createItem={name => new Promise<TTagOrStatusItem>(resolve => {\n this.createUserStatusRequest.emit({ name, callback: resolve });\n })}\n onSelecting={item => this.statusSelecting.emit(item.detail.id)}\n referenceSelector=\"profile-status\"\n />\n )}\n <ZIconButton variant=\"text\" iconName=\"X\" addClassIcon=\"size-4\" onClick={() => this.closeStatus.emit()} />\n <ZIconButton variant=\"text\" iconName=\"Save\" addClassIcon=\"size-4\" onClick={() => this.saveUserStatus.emit()} />\n </div>\n ) : (\n <div class=\"profile-info-box-wrapper\">\n <span class={`text-sm z-text-${theme}`}>\n {t('status')} : \n {this.user.status ? (\n <tag-or-status-item item={this.user.status} chatId={`profile-status-${selectedChat.id}-${this.readOnly ? 'readonly' : ''}`} />\n ) : (\n '-'\n )}\n </span>\n {!this.readOnly && <ZIconButton variant=\"text\" iconName=\"Pencil\" addClassIcon=\"size-4\" onClick={() => this.editStatus.emit()} />}\n </div>\n )}\n </div>\n\n {this.user.summarized_message && (\n <div class=\"col-span-3\">\n <div class=\"profile-info-summarize-wrapper\">\n <span class={`profile-info-box-wrapper z-text-${theme}`}>\n {t('profile_tab.ai_summary')}\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\">\n <path\n d=\"M4.55306 2.724C4.85206 1.849 6.06106 1.8225 6.41556 2.6445L6.44556 2.7245L6.84906 3.9045C6.94154 4.17512 7.09097 4.42276 7.28728 4.63071C7.48359 4.83867 7.72222 5.00211 7.98706 5.11L8.09556 5.1505L9.27556 5.5535C10.1506 5.8525 10.1771 7.0615 9.35556 7.416L9.27556 7.446L8.09556 7.8495C7.82485 7.94191 7.57712 8.09131 7.36907 8.28763C7.16103 8.48394 6.99751 8.7226 6.88956 8.9875L6.84906 9.0955L6.44606 10.276C6.14706 11.151 4.93806 11.1775 4.58406 10.356L4.55306 10.276L4.15006 9.096C4.05765 8.82529 3.90825 8.57755 3.71193 8.36951C3.51562 8.16146 3.27696 7.99795 3.01206 7.89L2.90406 7.8495L1.72406 7.4465C0.848564 7.1475 0.822064 5.9385 1.64406 5.5845L1.72406 5.5535L2.90406 5.1505C3.17468 5.05803 3.42232 4.9086 3.63028 4.71229C3.83823 4.51597 4.00167 4.27735 4.10956 4.0125L4.15006 3.9045L4.55306 2.724ZM9.49956 1C9.5931 1 9.68477 1.02624 9.76414 1.07574C9.84351 1.12523 9.90741 1.196 9.94856 1.28L9.97256 1.3385L10.1476 1.8515L10.6611 2.0265C10.7548 2.05835 10.837 2.11731 10.8972 2.19591C10.9574 2.27451 10.9929 2.36921 10.9992 2.46801C11.0055 2.56681 10.9824 2.65527 10.9327 2.75089C10.883 2.83652 10.809 2.90547 10.7201 2.949L10.6611 2.973L10.1481 3.148L9.97306 3.6615C9.94116 3.75521 9.88216 3.83735 9.80353 3.8975C9.7249 3.95764 9.63018 3.9931 9.53138 3.99936C9.43259 4.00563 9.33415 3.98242 9.24856 3.93269C9.16296 3.88296 9.09405 3.80893 9.05056 3.72L9.02656 3.6615L8.85156 3.1485L8.33806 2.9735C8.24432 2.94165 8.16215 2.88269 8.10195 2.80409C8.04175 2.72549 8.00624 2.63079 7.99993 2.53199C7.99361 2.43319 8.01676 2.33473 8.06645 2.24911C8.11615 2.16348 8.19014 2.09453 8.27906 2.051L8.33806 2.027L8.85106 1.852L9.02606 1.3385C9.05978 1.23971 9.12357 1.15395 9.20848 1.09325C9.2934 1.03254 9.39518 0.999937 9.49956 1Z\"\n fill=\"#E02847\"\n />\n </svg>\n </span>\n <span class={`text-xs z-text-gray-${theme}`}>\n {t('profile_tab.last_update')} {displayDate(this.user.summarized_message.created_at)}\n </span>\n </div>\n <div class=\"profile-info-summarize-text\">\n <typography-clamp text={this.user.summarized_message.text} />\n </div>\n </div>\n )}\n\n {(configStore.get('connectionList').find((connection) => connection.id === selectedChat.connection.id)?.type === 'zwiz') && (\n <div class=\"profile-info-bill\">\n <ZButton\n label=\"เปิดบิล\"\n title=\"เปิดบิล\"\n startIcon={<Icon name=\"ShoppingCart\" addClass=\"size-5 fill-current\" />}\n endIcon={<Icon name=\"Triangle\" addClass=\"profile-info-bill-icon\" />}\n onClick={() => handleOpenDialogBillEditor()}\n />\n </div>\n )}\n\n {this.showDialogBill && (\n <div class=\"dialog-backdrop\">\n <dialog-bill-editor onCancel={handleCloseDialogBillEditor} onCreate={(event) => handleCreateDialogBillEditor(event?.detail)} />\n </div>\n )}\n </div>\n </Fragment>\n );\n }\n}\n"],"version":3}
|
|
@@ -23,7 +23,7 @@ const QuickMessageTextContentComponent = /*@__PURE__*/ proxyCustomElement(class
|
|
|
23
23
|
render() {
|
|
24
24
|
const text = this.content?.text ?? '';
|
|
25
25
|
const theme = configStore.get('theme');
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: 'b52cb973c0a30637810a08d7c67496ebf2bc6d19', class: "flex justify-end" }, h("div", { key: '0f32ba9cff0e8441fe1a17ac293c30030c2f03ef', class: "relative w-full max-w-md" }, h("textarea", { key: '13154e9c31311308da5508801c0444057174a0ed', value: text, onInput: this.handleInput, placeholder: this.placeholder, class: `w-full p-4 pr-16 pb-8 border-[1.5px] z-border-primary-${theme} rounded-xl focus:outline-none ring-primary text-sm z-background-${theme}`, maxLength: this.maxLength, rows: 3 }), h("div", { key: 'd1340227a528f5cc65dd18193f60a41c593753ad', class: `absolute bottom-3 right-4 text-sm z-text-gray-${theme}` }, text.length, "/", this.maxLength))));
|
|
27
27
|
}
|
|
28
28
|
}, [256, "quick-message-text-content", {
|
|
29
29
|
"content": [16],
|
|
@@ -46,6 +46,6 @@ function defineCustomElement() {
|
|
|
46
46
|
defineCustomElement();
|
|
47
47
|
|
|
48
48
|
export { QuickMessageTextContentComponent as Q, defineCustomElement as d };
|
|
49
|
-
//# sourceMappingURL=p-
|
|
49
|
+
//# sourceMappingURL=p-D0EnDE_o.js.map
|
|
50
50
|
|
|
51
|
-
//# sourceMappingURL=p-
|
|
51
|
+
//# sourceMappingURL=p-D0EnDE_o.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-D0EnDE_o.js","mappings":";;;MAOa,gCAAgC,iBAAAA,kBAAA,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;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/quick-message-add-template/quick-message-text-content.tsx"],"sourcesContent":["import { Component, Event, EventEmitter, Prop, h } from '@stencil/core';\nimport { QuickMessageTemplateContent } from '../../store/type';\nimport { configStore } from '../../store/store';\n\n@Component({\n tag: 'quick-message-text-content',\n})\nexport class QuickMessageTextContentComponent {\n @Prop() content: QuickMessageTemplateContent;\n @Prop() maxLength: number = 2000;\n @Prop() placeholder: string = 'พิมพ์ข้อความที่นี่';\n\n @Event({ bubbles: true, composed: true }) contentChange!: EventEmitter<QuickMessageTemplateContent>;\n\n private readonly handleInput = (event: Event) => {\n const target = event.target as HTMLTextAreaElement;\n if (!this.content) {\n return;\n }\n\n this.contentChange.emit({ ...this.content, text: target.value });\n };\n\n render() {\n const text = this.content?.text ?? '';\n const theme = configStore.get('theme');\n\n return (\n <div class=\"flex justify-end\">\n <div class=\"relative w-full max-w-md\">\n <textarea\n value={text}\n onInput={this.handleInput}\n placeholder={this.placeholder}\n class={`w-full p-4 pr-16 pb-8 border-[1.5px] z-border-primary-${theme} rounded-xl focus:outline-none ring-primary text-sm z-background-${theme}`}\n maxLength={this.maxLength}\n rows={3}\n />\n <div class={`absolute bottom-3 right-4 text-sm z-text-gray-${theme}`}>\n {text.length}/{this.maxLength}\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|